Your IP : 216.73.216.240


Current Path : /home/juvelize/www/administrator/components/com_myrssreader/views/advertisement/tmpl/
Upload File :
Current File : /home/juvelize/www/administrator/components/com_myrssreader/views/advertisement/tmpl/default.php

<?php 
/**
* @package      Data Organizer
* @copyright    Copyright (C) 2010 FalsinSoft. All rights reserved.
* @license      GNU/GPL
* @website      http://falsinsoft-joomla.blogspot.com
* @email        falsinsoft@gmail.com
* 
*/

defined('_JEXEC') or die('Restricted access'); 

?>

<style type="text/css">
#radio_option label,
#radio_option input
{
display: inline !important;
float: none !important;
}
</style>

<form action="index.php" method="post" name="adminForm">

<div class="col width-50">
    <fieldset class="adminform">
        <legend><?php echo JText::_('COM_MYRSSREADER_ADVERTISEMENT_DETAILS'); ?></legend>

        <table class="admintable">
        <tr>
            <td width="100" align="right" class="key">
                <label for="title">
                    <?php echo JText::_('COM_MYRSSREADER_ADVERTISEMENT_NAME'); ?>:
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="title" id="title" size="64" maxlength="64" value="<?php echo $this->advertisement_details->title;?>" />
            </td>
        </tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="title">
                    <?php echo JText::_('COM_MYRSSREADER_ADVERTISEMENT_HTML_CODE'); ?>:
                </label>
            </td>
            <td>
                <textarea class="text_area" cols="44" rows="5" name="html_code" id="ads_code"><?php echo $this->advertisement_details->html_code; ?></textarea>
            </td>
        </tr>
		<?php
		if(count($this->category_list) > 0)
		{
		?>
			<tr>
				<td width="100" align="right" class="key">
					<label for="title">
						<?php echo JText::_('COM_MYRSSREADER_ADVERTISEMENT_CATEGORIES'); ?>:
					</label>
				</td>
				<td>
					<?php
					$options = array();
					foreach($this->category_list as $category)
					{
						$options[] = JHTML::_('select.option', $category->id, $category->title);
					}
					echo JHTML::_('select.genericlist', 
								  $options, 
								  'category_id_list[]',  
								  'class="inputbox" size="6" multiple="multiple"', 
								  'value', 
								  'text', 
								  $this->advertisement_details->category_id_list,
								  'category_id_list'
								  );
					?>
					&nbsp;&nbsp;
					<?php echo JHTML::_('tooltip', JText::_('COM_MYRSSREADER_ADVERTISEMENT_CATEGORIES_TOOLTIP')); ?>
				</td>
			</tr>
		<?php
		}
		?>
        <tr>
            <td width="100" align="right" class="key">
				<label for="title">
					<?php echo JText::_('COM_MYRSSREADER_ADVERTISEMENT_PUBLISHED'); ?>:
				</label>
            </td>
            <td id="radio_option">
                <?php echo JHTML::_('select.booleanlist',  'published', 'class="inputbox"', $this->advertisement_details->published); ?>
            </td>
        </tr>
    </table>
    </fieldset>
</div>

<input type="hidden" name="option" value="com_myrssreader" />
<input type="hidden" name="task" value="advertisement" />
<input type="hidden" name="id" value="<?php echo $this->advertisement_details->id ?>" />
<?php echo JHTML::_('form.token') ?>

</form>