예제 #1
0
파일: default.php 프로젝트: annggeel/tienda
defined('_JEXEC') or die('Restricted access');
$state = @$this->state;
$rows = @$this->get('List');
$form = @$this->form;
JHTML::_('behavior.modal');
JHTML::_('behavior.tooltip');
$model = $this->getModel();
$page = $this->get('Pagination');
?>
<form action="<?php 
echo JRoute::_(@$form['action'] . '&tmpl=component&object=' . $this->object);
?>
" method="post" name="adminForm">
<div class="pull-left">
	<?php 
echo TiendaSelect::productstates(@$state->filter_state, 'product_state', array('class' => 'inputbox', 'onchange' => 'this.form.submit();'));
?>
</div>
<?php 
echo TiendaGrid::searchform(@$state->filter, JText::_('COM_TIENDA_SEARCH'), JText::_('COM_TIENDA_RESET'));
?>

<table class="dsc-clear table table-striped">
	<thead>
		<tr>
			<th width="2%" class="title">
				<?php 
echo DSCGrid::sort('ID', 'tbl.product_id', @$state->direction, @$state->order);
?>
			</th>
			<th style="width:50px;">