Файловый менеджер - Редактировать - /var/www/iplanru/data/www/i-plan.ru/components/com_pay/views/payment/tmpl/default.php
Назад
<?php // No direct access defined( '_JEXEC' ) or die; JHTML::_( 'behavior.tooltip' ); JHTML::_( 'behavior.keepalive' ); JHTML::_( 'behavior.formvalidation' ); JHtml::_('formbehavior.chosen', 'select'); //get param $app = JFactory::getApplication(); $componentParams = $app->getParams('com_pay'); $db = JFactory::getDbo(); if ($this->form->getValue( 'method')<>'') $method=$this->form->getValue( 'method' ); if ($this->form->getValue( 'matid' )<>'') $matid=$this->form->getValue( 'matid' ); $jinput = JFactory::getApplication()->input; if ($jinput->getString( 'method', '' )<>'') $method=$jinput->getString( 'method', '' ); if ($jinput->getInt( 'item_id', 0 )<>0) $matid=$jinput->getInt( 'item_id', 0 ); //meta tags $doc =& JFactory::getDocument(); $doc->setTitle($componentParams->get('title_'.$method, '')); $doc->setMetaData( 'description', $componentParams->get('description_'.$method, '') ); $doc->setMetaData( 'keywords', $componentParams->get('keywords_'.$method, '') ); if ($matid) { $list = $db->setQuery( 'SELECT name FROM #__zoo_item where id='.$matid )->loadAssoc(); $name_mat=$list[name]; unset($list); if ($method=='bpn' or $method=='bpg' or $method=='bpo') $cap_name_mat="Название <br>бизнес-плана"; if ($method=='min' or $method=='mig' or $method=='mio') $cap_name_mat="Название <br>маркетингового <br>исследования"; } if ($method=='bpo' or $method=='mio') include('methodol.php'); else include('methodall.php'); ?>
| ver. 1.4 |
Github
|
.
| PHP 5.4.45-1~dotdeb+6.1 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка