Server : LiteSpeed System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : alsaif ( 1057) PHP Version : 7.4.33 Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/alsaif/public_html/administrator/components/com_allvideoshare/views/players/tmpl/ |
<?php
/*
* @version $Id: default.php 3.5.0 2020-01-25 $
* @package All Video Share
* @copyright Copyright (C) 2012-2020 MrVinoth
* @license GNU/GPL http://www.gnu.org/licenses/gpl-2.0.html
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' ); ?>
<div id="avs-players" class="avs players">
<form action="index.php?option=com_allvideoshare&view=players" method="post" name="adminForm" id="adminForm">
<div id="filter-bar" class="btn-toolbar">
<div class="filter-search btn-group pull-left">
<input type="text" name="search" id="search" placeholder="<?php echo JText::_( 'JSEARCH_FILTER' ); ?>" value="<?php echo $this->lists['search'] ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText( 'FILTER_BY_NAME' ); ?>" />
</div>
<div class="btn-group pull-left">
<button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText( 'JSEARCH_FILTER_SUBMIT' ); ?>"><i class="icon-search"></i></button>
<button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText( 'JSEARCH_FILTER_CLEAR' ); ?>" onclick="document.getElementById('search').value=''; document.getElementById('filter_state').value=-1; this.form.submit();"><i class="icon-remove"></i></button>
</div>
<div class="btn-group pull-right hidden-phone">
<?php echo $this->pagination->getLimitBox(); ?>
</div>
<div class="btn-group pull-right hidden-phone">
<?php echo $this->lists['state']; ?>
</div>
<div class="clearfix"></div>
</div>
<table class="table table-striped">
<thead>
<tr>
<th class="center hidden-phone" width="5%">#</th>
<th class="center" width="5%"><input type="checkbox" name="toggle" value="" onClick="Joomla.checkAll( this );" /></th>
<th><?php echo JText::_( 'PLAYER_NAME' ); ?></th>
<th class="center" width="8%"><?php echo JText::_( 'PUBLISHED' ); ?></th>
<th class="center hidden-phone" width="8%"><?php echo JText::_( 'PLAYER_ID' ); ?></th>
</tr>
</thead>
<tbody>
<?php
foreach ( $this->items as $key => $item ) {
$editLink = JRoute::_( 'index.php?option=com_allvideoshare&view=players&task=edit&' . JSession::getFormToken() . '=1&cid[]=' . $item->id );
if ( $item->id == 1 ) {
$checked = '<input type="checkbox" value="1" disabled="disabled" />';
$published = 'Always';
} else {
$checked = JHTML::_( 'grid.id', $key, $item->id );
$published = JHTML::_( 'grid.published', $item, $key );
}
?>
<tr>
<td class="center hidden-phone"><?php echo ( $this->limitstart + $key + 1 ); ?></td>
<td class="center"><?php echo $checked; ?></td>
<td><a href="<?php echo $editLink; ?>"> <?php echo $item->name; ?></a></td>
<td class="center"><?php echo $published; ?></td>
<td class="center hidden-phone"><?php echo $item->id; ?></td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan="7"><?php echo $this->pagination->getListFooter(); ?></td>
</tr>
</tfoot>
</table>
<input type="hidden" name="boxchecked" value="0" />
<input type="hidden" name="option" value="com_allvideoshare" />
<input type="hidden" name="view" value="players" />
<input type="hidden" name="task" value="" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>
</div>