Sun, 24 Nov 2024
Total Visits
35384606
Visitors today:
71
Main Menu
Home
Free Scripts
Forum
Guestbook
Repository
Contact
Our Sponsors
Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
Search
Hottest Topics
Member Listing
FAQ
Register
/
Login
Messages posted by: HaveNoFear
Forum Index
»
Profile for HaveNoFear
»
Messages posted by HaveNoFear
Author
Message
Support Forum
»
Display Results of all Polls
»
Go to message
Thx, It will help.
And now a new question:
How Can i display Resulit for only
active
polls
?
Support Forum
»
Display Results of all Polls
»
Go to message
Hello. I need to display all results of my polls at one page.
Here my php code for the future include:
<?php /* path */ $poll_path = "/home/teamlea5/public_html/poll"; require $poll_path."/include/config.inc.php"; require $poll_path."/include/class_poll.php"; require $poll_path."/include/class_pollcomment.php"; $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); echo $php_poll->view_poll_result(2); echo $php_poll->view_poll_result(3); echo $php_poll->view_poll_result(4); echo $php_poll->view_poll_result(5); echo $php_poll->view_poll_result(6); echo $php_poll->view_poll_result(7); /* 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); ?>
And here is result -
http://teamleague.ru/pages/showbets.php
But including
echo $php_poll->view_poll_result(x);
for each poll it's not perfect.. How can i modify my code?
P.S. Sorry for my english
Forum Index
»
Profile for HaveNoFear
»
Messages posted by HaveNoFear
Go to:
Select a forum
General Discussion
Support Forum
German Forum
Advanced Guestbook Forum
Advanced Guestbook Modifications
Based on the open source
JForum