mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
@@ -1,21 +1,21 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
+ ----------------------------------------------------------------------------+
|
+ ----------------------------------------------------------------------------+
|
||||||
| e107 website system
|
| e107 website system
|
||||||
|
|
|
|
||||||
| <EFBFBD>Steve Dunstan 2001-2002
|
| ©Steve Dunstan 2001-2002
|
||||||
| http://e107.org
|
| http://e107.org
|
||||||
| jalist@e107.org
|
| jalist@e107.org
|
||||||
|
|
|
|
||||||
| Released under the terms and conditions of the
|
| Released under the terms and conditions of the
|
||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/oldpolls.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/oldpolls.php,v $
|
||||||
| $Revision: 1.5 $
|
| $Revision: 1.6 $
|
||||||
| $Date: 2009-03-22 20:16:23 $
|
| $Date: 2009-08-20 10:16:04 $
|
||||||
| $Author: e107steved $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
require_once("../../class2.php");
|
require_once("../../class2.php");
|
||||||
if (!plugInstalled('poll'))
|
if (!plugInstalled('poll'))
|
||||||
{
|
{
|
||||||
@@ -28,10 +28,7 @@ $cobj = new comment;
|
|||||||
$gen = new convert;
|
$gen = new convert;
|
||||||
if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); }
|
if(!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); }
|
||||||
|
|
||||||
|
include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
|
||||||
@include(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
|
|
||||||
@include(e_PLUGIN."poll/languages/English.php");
|
|
||||||
|
|
||||||
|
|
||||||
if(e_QUERY)
|
if(e_QUERY)
|
||||||
{
|
{
|
||||||
@@ -78,12 +75,17 @@ if(e_QUERY)
|
|||||||
|
|
||||||
foreach($optionArray as $option)
|
foreach($optionArray as $option)
|
||||||
{
|
{
|
||||||
$text .= "<tr>
|
$text .= "
|
||||||
|
<tr>
|
||||||
<td style='width:40%; text-align: right' class='mediumtext'><b>".$tp -> toHTML($option)."</b> </td>
|
<td style='width:40%; text-align: right' class='mediumtext'><b>".$tp -> toHTML($option)."</b> </td>
|
||||||
<td class='smalltext'>
|
<td class='smalltext'>
|
||||||
|
<div style='background-image: url($barl); width: 5px; height: 14px; float: left;'>
|
||||||
|
</div>
|
||||||
<div style='background-image: url($barl); width: 5px; height: 14px; float: left;'></div><div style='background-image: url($bar); width: ".(floor($percentage[$count]) != 100 ? floor($percentage[$count]) : 95)."%; height: 14px; float: left;'></div><div style='background-image: url($barr); width: 5px; height: 14px; float: left;'></div>".$percentage[$count]."% [".POLLAN_31.": ".$voteArray[$count]."]</div>
|
<div style='background-image: url($bar); width: ".(floor($percentage[$count]) != 100 ? floor($percentage[$count]) : 95)."%; height: 14px; float: left;'>
|
||||||
|
</div>
|
||||||
|
<div style='background-image: url($barr); width: 5px; height: 14px; float: left;'>
|
||||||
|
</div>
|
||||||
|
".$percentage[$count]."% [".POLLAN_31.": ".$voteArray[$count]."]
|
||||||
</td>
|
</td>
|
||||||
</tr>\n";
|
</tr>\n";
|
||||||
$count++;
|
$count++;
|
||||||
|
Reference in New Issue
Block a user