? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/board/tmp/install_52baa401645d2/site/views/edit/tmpl/
File Upload :
Current File : /home/admin/public_html/old/board/tmp/install_52baa401645d2/site/views/edit/tmpl/default.php

<?php defined('_JEXEC') or die('Direct Access to this location is not allowed.');
echo $this->loadTemplate('header'); ?>
  <script language="javascript" type="text/javascript">
  Joomla.submitbutton = function(task)
  {
    if(document.formvalidator.isValid(document.id('adminForm'))) {
      <?php echo $this->form->getField('imgtext')->save(); ?>
      Joomla.submitform(task, document.getElementById('adminForm'));
    }
    else {
      var msg = new Array();
      msg.push('<?php echo $this->escape(JText::_('JGLOBAL_VALIDATION_FORM_FAILED'));?>');
      if(document.adminForm.imgtitle.hasClass('invalid')) {
          msg.push('<?php echo $this->escape(JText::_("COM_JOOMGALLERY_COMMON_ALERT_IMAGE_MUST_HAVE_TITLE"));?>');
      }
      if(document.adminForm.catid.hasClass('invalid')) {
        msg.push('<?php echo $this->escape(JText::_("COM_JOOMGALLERY_COMMON_ALERT_YOU_MUST_SELECT_CATEGORY"));?>');
      }
      alert(msg.join('\n'));
    }
  }
  </script>
  <div class="edit">
    <form action = "<?php echo JRoute::_('index.php?task=image.save'.$this->redirect.$this->slimitstart); ?>" method="post" name="adminForm" id="adminForm" class="form-validate">
      <fieldset>
        <legend><?php echo JText::_('COM_JOOMGALLERY_EDIT_EDIT_IMAGE'); ?></legend>
        <div class="formelm">
          <?php echo $this->form->getLabel('imgtitle'); ?>
          <?php echo $this->form->getInput('imgtitle'); ?>
        </div>
        <div class="formelm">
          <?php echo $this->form->getLabel('alias'); ?>
          <?php echo $this->form->getInput('alias'); ?>
        </div>
        <div class="formelm">
          <?php echo $this->form->getLabel('imgtext'); ?>
          <?php echo $this->form->getInput('imgtext'); ?>
        </div>
        <div class="jg_clearboth">
          &nbsp;
        </div>
        <div class="formelm">
          <?php echo $this->form->getLabel('owner'); ?>
          <b><?php echo JHTML::_('joomgallery.displayname', $this->image->owner) ?></b>
        </div>
        <div class="formelm">
          <?php echo $this->form->getLabel('imagelib'); ?>
          <?php echo $this->form->getInput('imagelib'); ?>
        </div>
      </fieldset>
      <fieldset>
        <legend><?php echo JText::_('COM_JOOMGALLERY_EDIT_PUBLISHING'); ?></legend>
        <div class="formelm">
          <?php echo $this->form->getLabel('catid'); ?>
          <?php echo $this->form->getInput('catid'); ?>
        </div>
        <div class="formelm">
          <?php echo $this->form->getLabel('imgauthor'); ?>
          <?php echo $this->form->getInput('imgauthor'); ?>
        </div>
        <div class="formelm">
          <?php echo $this->form->getLabel('published'); ?>
          <?php echo $this->form->getInput('published'); ?>
        </div>
        <div class="formelm">
          <?php echo $this->form->getLabel('access'); ?>
          <?php echo $this->form->getInput('access'); ?>
        </div>
      </fieldset>
<?php $fieldSets = $this->form->getFieldsets();
      foreach($fieldSets as $name => $fieldSet):
        if($name != ''): ?>
      <fieldset>
        <legend><?php echo JText::_($fieldSet->label); ?></legend>
<?php     if(isset($fieldSet->description) && trim($fieldSet->description)): ?>
        <p class="readonly"><?php echo $this->escape(JText::_($fieldSet->description)); ?></p>
<?php     endif;
          foreach($this->form->getFieldset($name) as $field): ?>
        <div class="formelm">
          <?php echo $field->label; ?>
          <?php echo $field->input; ?>
        </div>
<?php     endforeach; ?>
      </fieldset>
<?php   endif;
      endforeach; ?>
      <div class="jg_up_buttons">
        <button type="button" class="button" onclick="Joomla.submitbutton()">
          <?php echo JText::_('COM_JOOMGALLERY_COMMON_SAVE'); ?>
        </button>
        <?php $url = !empty($this->redirecturl) ? JRoute::_($this->redirecturl) : JRoute::_('index.php?view=userpanel'.$this->slimitstart, false); ?>
        <button type="button" class="button" onclick="javascript:location.href='<?php echo $url; ?>';">
          <?php echo JText::_('COM_JOOMGALLERY_COMMON_CANCEL'); ?>
        </button>
      </div>
      <?php echo $this->form->getInput('id'); ?>
    </form>
  </div>
<?php JHtml::_('behavior.formvalidation');
      JHTML::_('behavior.tooltip');
echo $this->loadTemplate('footer');

T1KUS90T
  root-grov@210.1.60.28:~$