%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/old/modules/mod_sp_poll/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/old/modules/mod_sp_poll/tmpl/default.php
<?php 
/*------------------------------------------------------------------------
# mod_sp_poll - Ajax poll module by JoomShaper.com
# ------------------------------------------------------------------------
# author    JoomShaper http://www.joomshaper.com
# Copyright (C) 2010 - 2016 JoomShaper.com. All Rights Reserved.
# License - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.joomshaper.com
-------------------------------------------------------------------------*/
defined ('_JEXEC') or die('resticted aceess');
$doc = JFactory::getDocument();
$doc->addScriptDeclaration("var base_url = '" . JUri::base() . "index.php?option=com_sppolls'");

$cookie = JFactory::getApplication()->input->cookie;
$vote = $cookie->get('sp_poll_voted_' . $module->id, null);
if(!is_null($vote))	
	$vote = base64_decode($vote);
?>
<div class="module   item-ppao clearfix">
<div class="modcontent clearfix">
<div class="mod-sppoll <?php echo $moduleclass_sfx;?> clearfix">
	<?php if(isset($poll)) { ?>
		<strong><?php echo $poll->title; ?></strong>
		<?php $polls = json_decode($poll->polls); ?>
		<form class="form-sppoll" data-id="<?php echo $poll->id; ?>" data-module_id="<?php echo $module->id; ?>" style="margin: 10px !important;">
			<?php foreach ($polls as $key=>$value) {?>
			<div class="radio">
				<label>
					
					<input type="radio" name="question" value="<?php echo $key; ?>" <?php echo !is_null($vote) && ($value->poll == $vote) ? 'checked': ($key==0 ? 'checked': ''); ?>>
					<?php echo $value->poll; ?>
				</label>
			</div>
			<?php } ?>
			<input type="submit" class="btn btn-default" value="ส่งแบบสอบถาม">
			<?php if (!is_null($vote)){ ?>
			<input type="button" class="btn btn-success btn-poll-result" data-result_id="<?php echo $poll->id; ?>" value="ข้อมูล">
			<?php } ?>
		</form>
		<div class="sppoll-results"></div>
	<?php } else { ?>
		<p class="alert alert-warning"><?php echo JText::_('MOD_SP_POLL_NO_RECORDS'); ?></p>
	<?php } ?>
</div>
</div>
</div>

Anon7 - 2022
AnonSec Team