| Server IP : 180.180.241.3 / Your IP : 216.73.216.216 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/administrator/components/com_youtubegallery/views/linkslist/tmpl/ |
Upload File : |
<?php defined('_JEXEC') or die('Restricted access'); ?>
<p style="text-align:left;">Upgrade to <a href="http://joomlaboat.com/youtube-gallery#pro-version" target="_blank">PRO version</a> to get more features</p>
<form action="index.php" method="post" name="adminForm">
<!--controller=list&-->
<table>
<tr>
<td align="left" width="100%">
<?php echo JText::_( 'Filter' ); ?>:
<input type="text" name="search" id="search" value="<?php echo $this->lists['search'];?>" class="text_area" onchange="document.adminForm.submit();" />
<button onclick="this.form.submit();"><?php echo JText::_( 'Go' ); ?></button>
<button onclick="document.getElementById('search').value='';this.form.getElementById('levellimit').value='10';this.form.getElementById('filter_state').value='';this.form.submit();"><?php echo JText::_( 'Reset' ); ?></button>
<a href="http://joomlaboat.com/contact-us" target="_blank" style="font-weight: bold;margin-left:20px;">Help (Contact Tech-Support)</a>
</td>
<td nowrap="nowrap">
<?php
echo JText::_( 'Category' ).' ';
echo $this->lists['categories'].' ';
?>
</td>
</tr>
</table>
<table class="adminlist">
<thead>
<tr>
<th width="20">
<?php echo JText::_( 'ID' ); ?>
</th>
<th width="20">
<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($this->items); ?>);" />
</th>
<th class="title">
<?php echo JHTML::_('grid.sort', 'List Name', 'listname', @$this->lists['order_Dir'], @$this->lists['order'] ); ?>
</th>
<th class="title">
Category
</th>
<th class="title">
Last Update
</th>
<th class="title">
Videos
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="6">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php
$k = 0;
$i = 0;
$n = count( $this->items );
$rows = &$this->items;
foreach ($rows as $row)
{
$checked = JHTML::_('grid.checkedout', $row, $i );
$link_edittable='index.php?option=com_youtubegallery&controller=linkslist&task=edit&cid[]='.$row->id;
$link2videolist='index.php?option=com_youtubegallery&controller=videolist&listid='.$row->id;
?>
<tr class="<?php echo "row$k"; ?>">
<td>
<?php echo $row->id;?>
</td>
<td>
<?php echo $checked; ?>
</td>
<td nowrap="nowrap">
<?php echo '<a href="'.$link_edittable.'">'.$row->listname.'</a>'; ?>
</td>
<td nowrap="nowrap">
<?php echo $row->the_categoryname; ?>
</td>
<td nowrap="nowrap">
<span style="">
<?php
if($row->updateperiod>=1)
echo JText::sprintf('Last update: %s, update period: <i>every %s day(s)</i>',$row->lastplaylistupdate,$row->updateperiod);
else
{
$hours=round((24*$row->updateperiod),0);
echo JText::sprintf('Last update: %s, update period: <i>every %s hour(s)</i>',$row->lastplaylistupdate,$hours);
}
?>
</span>
</td>
<td>
<a href="<?php echo $link2videolist; ?>"><?php echo $row->number_of_videos; ?></a>
</td>
</tr>
<?php
$k = 1 - $k;
$i++;
}
?>
</tbody>
</table>
<input type="hidden" name="option" value="com_youtubegallery" />
<input type="hidden" name="controller" value="linkslist" />
<input type="hidden" name="task" value="view" />
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="filter_order" value="<?php echo $this->lists['order']; ?>" />
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->lists['order_Dir']; ?>" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>