uawdijnntqw1x1x1
IP : 216.73.216.155
Hostname : vm5018.vps.agava.net
Kernel : Linux vm5018.vps.agava.net 3.10.0-1127.8.2.vz7.151.14 #1 SMP Tue Jun 9 12:58:54 MSK 2020 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
var
/
www
/
iplanru
/
data
/
.
/
mod-tmp
/
..
/
www
/
.
/
iplan.5018.vps.agava.net
/
modules
/
mod_poll
/
tmpl
/
default.php
/
/
<?php // No direct access defined( '_JEXEC' ) or die; $db = JFactory::getDbo(); $app = JFactory::getApplication(); $componentParams = $app->getParams('com_poll'); $jinput = JFactory::getApplication()->input; $option=$jinput->get( 'option', '' ); $view=$jinput->get( 'view', '' ); //user identification $new_user=true; $inputCookie = JFactory::getApplication()->input->cookie; $chash = $inputCookie->get($name = 'chash', $defaultValue = null); $ans=$db->setQuery('SELECT * FROM jos_pollanswers where cookie="'.$chash.'"')->loadAssoc(); if (count($ans)<>0){$new_user=false;}else{unset($ans);} if ($new_user) { $document =& JFactory::getDocument(); $document->addStyleSheet("/modules/mod_poll/css/poll.css",'text/css',"screen"); //JHtml::script(Juri::base() . 'modules/mod_poll/js/modal.js'); //JHtml::script(Juri::base() . 'modules/mod_poll/js/jquery.simplemodal.js'); //JHtml::script(Juri::base() . 'modules/mod_poll/js/jquery.min.js'); //JHtml::script(Juri::base() . 'modules/mod_poll/js/init.js'); if ($option=="com_pool" and $view=="poolans") { header( 'Location: /pool.php' ); } } else { if ($option=="com_pool" and $view=="pool") { header( 'Location: /index.php/opros/pollans' ); } } ?> <?php if ($new_user): ?> <div id="poll-text-nap"> <span><?php print $params->get( 'text_nap', '' ); ?></span> <a href="<?php echo JRoute::_('index.php?option=com_poll&view=poll&Itemid=271'); ?>" > <img src="/images/newstyle/opros/pool3.jpg"/ width=100%> </a> <a href="<?php echo JRoute::_('index.php?option=com_poll&view=poll&Itemid=271'); ?>" > <div><span>Определите тему</span></div> </a> </div> <div style="display: none; padding: 20px;" id="exit_content"> содержимое всплывающего окна </div> <?php else: ?> <div id="poll-text-ap"> <img src="/images/newstyle/opros/mod_opros.jpg"/> <span><?php print str_replace('{code}','<span class="pool-code">'.$ans['code'].'</span>',$params->get( 'text_ap', '' )); ?></span> </div> <?php endif ?>
/var/www/iplanru/data/./mod-tmp/../www/./iplan.5018.vps.agava.net/modules/mod_poll/tmpl/default.php