| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 59465 | 2005-07-03 09:36:00 | PHP shenanigans | flying_green_leprachaun (1767) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 368979 | 2005-07-03 09:36:00 | display_head <table width="$pollvars[table_width]" border="0" cellspacing="0" cellpadding="1" bgcolor="$pollvars[bgcolor_fr]"> <tr align="center"> <td> <style type="text/css"> <!-- . input { font-family: $pollvars[font_face]; font-size: 8pt} --> </style> <font face="$pollvars[font_face]" size="-1" color="#FFFFFF"><b>$pollvars[title]</b></font> </td> </tr> <tr align="center"> <td> <table width="100%" border="0" cellspacing="0" cellpadding="2" align="center" bgcolor="$pollvars[bgcolor_tab]"> <tr> <td height="40" valign="middle"> <font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><b>$question</b></font> </td> </tr> <tr align="right" valign="top"> <td> <form method="post" action="$this->form_forward"> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr valign="top" align="center"> <td> <table width="100%" border="0" cellspacing="0" cellpadding="1" align="center"> display_loop <tr> <td width="15%"><input type="radio" name="option_id" value="$data[option_id]"> </td> <td width="85%"> <font face="$pollvars[font_face]" size="1" color="$pollvars[font_color]" >$data[option_text]</font> </td> </tr> display_foot </table> <input type="hidden" name="action" value="vote"> <input type="hidden" name="poll_ident" value="$poll_id"> <input type="submit" value="$pollvars[vote_button]" class="input"> <br> <br> <font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><a href="$this->form_forward?action=results&poll_ident=$poll_id">$pollvars[result_text]</a></font> </td> </tr> </table> </form> </td> </tr> </table> </td> </tr> </table> related to the poll I have here ( . notforsale . co . nz/2005/07/02/where-are-you/" target="_blank">www . notforsale . co . nz) (@ My Blog) When viewed from the index of the blog, it functions as expected . When viewed from its permalink the code adds /index . php & tries to reload & fails . Same issue trying to simply view results . Any idea how to modify the code to reference its current page rather than just adding /index . php? There is more code for the results, but I don't believe thats relevant to my question here . I've tried using the online reference material, but that just confuses me at the moment . (getting my hands on some dead tree format help in the next week, so any assitance is gravy) |
flying_green_leprachaun (1767) | ||
| 368980 | 2005-07-03 11:40:00 | In aid of this endeavour, I've removed dupe checking, so you can vote as often as you like. :badpc: | flying_green_leprachaun (1767) | ||
| 1 | |||||