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
|
|
|
Author |
Message |
02/10/2002 17:00:28
|
Anonymous
|
If an item in a poll has not been voted on yet blank.gif is included in polling results. For some reason blank.gif not being found when results displayed. Polling working fine except when results displayed cannot find blank.gif for not voted on items. Items voted on show horizonatl bar & %. Items not yet voted on show a missing GIF and %. I've checked and can see blank.gif in the image file under textfile. I am using version 2.02
Following is my php file....Thoughts how to resolve??
<?php
/* Include this before your html code */
include "/home/warrenmo/public_html/Poll/textfile/poll_cookie.php";
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2</title>
<meta name="Microsoft Border" content="none">
</head>
<body>
<?php
/* path */
$poll_path =
"/home/warrenmo/public_html/Poll/textfile";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/class_poll.php";
?>
<table border="0" cellpadding="3" cellspacing="3" width="480">
<tr>
<td width="160" align="center" valign="top">
<?php
$php_poll = new poll();
$poll_path = "/home/warrenmo/public_html/Poll/textfile";
echo $php_poll->poll_process(4);
?>
</td>
<td width="160" align="center" valign="top">
<?php
$php_poll = new poll();
$poll_path = "/home/warrenmo/public_html/Poll/textfile";
echo $php_poll->poll_process(6);
?>
</td>
<td width="160" align="center" valign="top">
<?php
$php_poll = new poll();
$poll_path = "/home/warrenmo/public_html/Poll/textfile";
echo $php_poll->poll_process(5);
?>
</td>
</tr>
</table>
</body>
</html>
|
|
|
|
|
|
Based on the open source JForum
|