Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/news/modules/mod_poll/tmpl/ |
Upload File : |
<?php // no direct access defined('_JEXEC') or die('Restricted access'); ?> <form action="index.php" method="post" name="form2"> <table width="95%" border="0" cellspacing="0" cellpadding="1" align="center" class="poll<?php echo $params->get('moduleclass_sfx'); ?>"> <thead> <tr> <td style="font-weight: bold;"> <?php echo $poll->title; ?> </td> </tr> </thead> <tr> <td align="center"> <table class="pollstableborder<?php echo $params->get('moduleclass_sfx'); ?>" cellspacing="0" cellpadding="0" border="0"> <?php for ($i = 0, $n = count($options); $i < $n; $i ++) : ?> <tr> <td class="<?php echo $tabclass_arr[$tabcnt]; ?><?php echo $params->get('moduleclass_sfx'); ?>" valign="top"> <input type="radio" name="voteid" id="voteid<?php echo $options[$i]->id;?>" value="<?php echo $options[$i]->id;?>" alt="<?php echo $options[$i]->id;?>" /> </td> <td class="<?php echo $tabclass_arr[$tabcnt]; ?><?php echo $params->get('moduleclass_sfx'); ?>" valign="top"> <label for="voteid<?php echo $options[$i]->id;?>"> <?php echo $options[$i]->text; ?> </label> </td> </tr> <?php $tabcnt = 1 - $tabcnt; ?> <?php endfor; ?> </table> </td> </tr> <tr> <td> <div align="center"> <input type="submit" name="task_button" class="button" value="<?php echo JText::_('Vote'); ?>" /> <input type="button" name="option" class="button" value="<?php echo JText::_('Results'); ?>" onclick="document.location.href='<?php echo JRoute::_("index.php?option=com_poll&id=$poll->slug".$itemid); ?>'" /> </div> </td> </tr> </table> <input type="hidden" name="option" value="com_poll" /> <input type="hidden" name="task" value="vote" /> <input type="hidden" name="id" value="<?php echo $poll->id;?>" /> <?php echo JHTML::_( 'form.token' ); ?> </form>