HEX
Server: LiteSpeed
System: Linux lp015.web24.net.au 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
User: pgkdistr (10190)
PHP: 8.1.32
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/pgkdistribution.com.au/citisolar.com.au/tmp/admin/views/prod/tmpl/form.php
<?php
/**
* @Copyright Freestyle Joomla (C) 2010
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
*     
* This file is part of Freestyle Testimonials
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* 
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
**/
?>
<?php defined('_JEXEC') or die('Restricted access'); ?>

<?php echo JHTML::_( 'form.token' ); ?>

<script language="javascript" type="text/javascript">
<!--
function submitbutton(pressbutton) {
        var form = document.adminForm;
        if (pressbutton == 'cancel') {
                submitform( pressbutton );
                return;
        }

        <?php
                $editor =& JFactory::getEditor();
        echo $editor->save( 'description' );
        ?>
        submitform(pressbutton);
}
//-->
</script>

<form action="index.php" method="post" name="adminForm" id="adminForm">
<div class="col100 width-100">
	<fieldset class="adminform">
		<legend><?php echo JText::_("DETAILS"); ?></legend>

		<table class="admintable">
		<tr>
			<td width="135" align="right" class="key">
				<label for="title">
					<?php echo JText::_("TITLE"); ?>:
				</label>
			</td>
			<td>
				<input class="text_area" type="text" name="title" id="title" size="32" maxlength="250" value="<?php echo JView::escape($this->prod->title);?>" />
			</td>
		</tr>
		<tr>
			<td width="135" align="right" class="key">
				<label for="image">
					<?php echo JText::_("IMAGE"); ?>:
				</label>
			</td>
			<td>
				<?php echo $this->lists['images']; ?>
				<?php echo JText::_("FOUND_IN_IMAGES_FST_PRODUCTS"); ?>
			</td>
		</tr>		
		<tr>
			<td width="135" align="right" class="key">
				<label for="description">
					<?php echo JText::_("DESCRIPTION"); ?>:
				</label>
			</td>
			<td>
				<?php
				$editor =& JFactory::getEditor();
				echo $editor->display('description', $this->prod->description, '550', '200', '60', '20', array('pagebreak', 'readmore'));
				?>
            </td>

		</tr>
		<tr>
			<td width="135" align="right" class="key">
				<label for="description">
					<?php echo JText::_("EXTRA_PANEL_TEXT"); ?>:
				</label>
			</td>
			<td>
				<?php
				$editor =& JFactory::getEditor();
				echo $editor->display('extratext', $this->prod->extratext, '550', '200', '60', '20', array('pagebreak', 'readmore'));
				?>
            </td>

		</tr>
<!---->
		<tr <?php if (JRequest::getVar('option') == "com_fst") { echo "style='display:none;'"; } ?>>
			<td width="150" align="right" class="key">
				<label for="description">
					<?php echo JText::_("SHOW_IN_TEST"); ?>:
				</label>
			</td>
			<td>
				<input type='checkbox' name='intest' value='1' <?php if ($this->prod->intest) { echo " checked='yes' "; } ?>><br>
            </td>
		</tr>
	</table>
	</fieldset>
</div>
<div class="clr"></div>

<input type="hidden" name="option" value="com_fst" />
<input type="hidden" name="id" value="<?php echo $this->prod->id; ?>" />
<input type="hidden" name="ordering" value="<?php echo $this->prod->ordering; ?>" />
<input type="hidden" name="published" value="<?php echo $this->prod->published; ?>" />
<input type="hidden" name="task" value="save" />
<input type="hidden" name="controller" value="prod" />
</form>