Demo 1 Demo 2 Demo 3 Demo 4 Demo 5


<?php
/* Include this before your html code */
include_once
"./poll_cookie.php"
;
?>

<?php

/* path */
$poll_path = dirname(__FILE__);

require_once $poll_path."/include/config.inc.php";
require_once $poll_path."/include/$POLLDB[class]";
require_once $poll_path."/include/class_poll.php";
require_once $poll_path."/include/class_pollcomment.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$php_poll = new pollcomment();

/* poll */
$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length(125);
$php_poll->set_max_bar_height(10);
echo $php_poll->view_poll_result(1);


/* poll comments */
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(5);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(1);
echo $php_poll->get_comment_pages(1);

?>
     
Which OS is your Website running on?
  Linux 40.06 % (57878)
  WindowsNT 18.49 % (26716)
  other 10.91 % (15765)
  Unix 10.29 % (14875)
  FreeBSD 8.02 % (11585)
  Solaris 6.56 % (9476)
  BSD 5.67 % (8197)
Total votes: 144492

Send comment
Version 2.09
test test@mail.com - 08/07/2013 07:47
183.177.138.169.ap.gmobb-fix.jp
nya
 
stefan muckebruder@gmx.de - 01/07/2013 10:32
p579BFA94.dip0.t-ipconnect.de
test
 
sasa - 22/06/2013 12:41
178.163.55.108
702739
 
aaa aaaa@mail.ru - 22/06/2013 12:40
178.163.55.108
45be62
 
test test@test.com - 13/06/2013 22:55
pool-71-106-226-123.lsanca.dsl-w.verizon.net
aaa
 
<  11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |  >