Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/j3/components/com_rsticketspro/views/search/tmpl/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/j3/components/com_rsticketspro/views/search/tmpl/default.php

<?php
/**
 * @package    RSTickets! Pro
 *
 * @copyright  (c) 2010 - 2016 RSJoomla!
 * @link       https://www.rsjoomla.com
 * @license    GNU General Public License
http://www.gnu.org/licenses/gpl-3.0.en.html
 */

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

JHtml::_('behavior.keepalive');

if ($this->params->get('show_page_heading', 1))
{
	?>
	<h1><?php echo
$this->escape($this->params->get('page_heading',
$this->params->get('page_title'))); ?></h1>
	<?php
}

echo $this->globalMessage;
?>

<form id="rsticketspro_form" action="<?php echo
RSTicketsProHelper::route('index.php?option=com_rsticketspro&view=tickets'.$this->itemid);
?>" method="post" name="searchForm">
	<?php
	foreach ($this->form->getFieldsets() as $fieldset)
	{
		echo $this->form->renderFieldset($fieldset->name);
	}
	?>
	
	<div class="form-actions">
		<button type="submit" class="btn
btn-primary"><?php echo JText::_('RST_SEARCH');
?></button>
		<?php
		if (!$this->advanced)
		{
			?>
			<a class="btn btn-secondary" href="<?php echo
RSTicketsProHelper::route('index.php?option=com_rsticketspro&view=search&advanced=true');
?>"><?php echo
JText::_('RST_OPEN_ADVANCED_SEARCH'); ?></a>
			<?php
		}
		?>
	</div>

	<?php
	if ($this->show_footer)
	{
		echo $this->footer;
	}

	if (!$this->advanced)
	{
		?>
		<input type="hidden" name="customer"
id="customer" value="" />
		<input type="hidden" name="staff"
id="staff" value="" />
		<input type="hidden" name="status_id"
id="status_id" value="" />
		<?php
	}
	?>
	<input type="hidden" name="option"
value="com_rsticketspro" />
	<input type="hidden" name="task"
value="search" />
</form>