Your IP : 216.73.216.68


Current Path : /home/sunflowe/www2/j15/administrator/components/com_easycaptcha/views/easycaptcha/tmpl/
Upload File :
Current File : /home/sunflowe/www2/j15/administrator/components/com_easycaptcha/views/easycaptcha/tmpl/default.php

<?php defined('_JEXEC') or die('Restricted access');
 ?>
<form action="index.php" method="post" name="adminForm">
<div id="editcell">
    <table class="adminlist">
    <thead>
        
        <tr>
            <th width="20">
    			&nbsp;
			</th>
			<th width="20%">
                <?php echo JText::_( 'Name' ); ?>
            </th>
            <th width="20%">
            	<?php echo JText::_('Preview'); ?>
            </th>
            <th width="50%">
            	<?php echo JText::_('Description'); ?>
            </th>
            <th>
                <?php echo JText::_( 'In Use' ); ?>
            </th>
        </tr>            
    </thead>
    <?php
    $k = 0;
    for ($i=0, $n=count( $this->items ); $i < $n; $i++)
    {
        $row =& $this->items[$i];
        $published 	= JHTML::_('grid.published', $row, $i );
        $link = JRoute::_( 'index.php?option=com_easycaptcha&controller=captcha&task=edit&cid[]='. $row->id );
        $image = '<img src="'.JURI::base().'../components/com_easycaptcha/captchas/'.$row->name.'/preview.jpg" alt="'.JTEXT::_('Captcha').'" />';
        ?>
        <tr class="<?php echo "row$k"; ?>">
            <td>
  				  		<input type="radio" id="cb<?php echo $i;?>" name="cid[]" value="<?php echo $row->id; ?>" onclick="isChecked(this.checked);"  />
			</td>
            <td>
                       <a href="<?php echo $link; ?>">
						<?php echo $row->name; ?></a>
            </td>
            <td>
               <?php echo $image; ?>
            </td>
            <td>
               <?php echo $row->description; ?>
            </td>
            <td>
                <?php echo $published; ?>
            </td>
        </tr>
        <?php
        $k = 1 - $k;
    }
    ?>
    <tfoot>
		<tr>
			<td colspan="7">
				<?php echo $this->pagination->getListFooter(); ?>
			</td>
		</tr>
	</tfoot>
    </table>
</div>

<input type="hidden" name="option" value="com_easycaptcha" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="controller" value="captcha" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>
<div class="padding">
</div>

<div style="margin: 0 auto; width: 600px; text-align: center; background-color: #F3F3F3; padding: 7px; border: 1px solid #999999;">
	<span align="center"><?php echo $this->version; ?></span>
</div>