| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/icd/templates/ja_purity_ii/html/com_poll/poll/ |
Upload File : |
<?php
/*
#------------------------------------------------------------------------
JA Purity II for Joomla 1.5
#------------------------------------------------------------------------
#Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
#@license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html
#Author: J.O.O.M Solutions Co., Ltd
#Websites: http://www.joomlart.com - http://www.joomlancers.com
#------------------------------------------------------------------------
*/
defined('_JEXEC') or die('Restricted access');
?>
<dl class="poll clearfix">
<dt><?php echo JText::_( 'Number of Voters' ); ?>:</dt>
<dd><?php echo $this->votes[0]->voters; ?></dd>
<dt><?php echo JText::_( 'First Vote' ); ?>:</dt>
<dd><?php echo $this->first_vote; ?></dd>
<dt><?php echo JText::_( 'Last Vote' ); ?>:</dt>
<dd><?php echo $this->last_vote; ?></dd>
</dl>
<h3>
<?php echo $this->escape($this->poll->title); ?>
</h3>
<table class="pollstableborder">
<tr class="sectiontableheader">
<th id="itema" class="td_1"><?php echo JText::_( 'Hits' ); ?></th>
<th id="itemb" class="td_2"><?php echo JText::_( 'Percent' ); ?></th>
<th id="itemc" class="td_3"><?php echo JText::_( 'Graph' ); ?></th>
</tr>
<?php for ( $row = 0; $row < count( $this->votes ); $row++ ) :
$vote = $this->votes[$row];
?>
<tr>
<td colspan="3" id="question<?php echo $row; ?>" class="question">
<?php echo $vote->text; ?>
</td>
</tr>
<tr class="sectiontableentry<?php echo $vote->odd; ?>">
<td headers="itema question<?php echo $row; ?>" class="td_1">
<?php echo $vote->hits; ?>
</td>
<td headers="itemb question<?php echo $row; ?>" class="td_2">
<?php echo $vote->percent.'%' ?>
</td>
<td headers="itemc question<?php echo $row; ?>" class="td_3">
<div class="<?php echo $vote->class; ?>" style="height:<?php echo $vote->barheight; ?>px;width:<?php echo $vote->percent; ?>% !important"></div>
</td>
</tr>
<?php endfor; ?>
</table>