If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Problem mit Advanced Poll  XML
Forum Index » German Forum
Author Message
quattro
Newbie

Joined: 27/09/2005 15:38:51
Messages: 2
Offline

mein pProblem wurde in diesem forum schon ein paar male angesprochen, aber die lösung schien bis anhin noch niemand gehabt zu haben ... also, folgendes:

meine Seite http://www.scab.ch/test.php besteht aus aus der test.php, in welcher eine header.php und eine footer.php includet sind. in der footer.php habe ich zudem - wie beschrieben - den poll eingebaut.

nun kann ich aber leider weder voten noch die resultate direkt in der footer.php ausführen. woran kann das liegen und hat jemand eine ahnung, wie man dies beheben könnte.

sorry, habe aber von php so gut wie keine ahnung ...

vielen dank im voraus!
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

was steht alles im footer (footer.php) ?
[Email] [WWW]
quattro
Newbie

Joined: 27/09/2005 15:38:51
Messages: 2
Offline

die footer.php sieht wie folgt aus:

  1. </td>  
  2.   
  3. <td width="150" style="border-left: 1px solid #000000; border-right: 1px solid #000000;" align="center" valign="top" height="100%">  
  4.   
  5. <table align="center" cellspacing="0" cellpadding="0" bgcolor="#ffffff" height="100%">  
  6. <tr>  
  7. <td height="20"></td>  
  8. </tr>  
  9. <tr>  
  10. <td valign=top align=center>  
  11. <?php include("poll/poll.php"); ?>  
  12. </td>  
  13. </tr>  
  14. <tr>  
  15. <td height=15 valign=top align=center></td>  
  16. </tr>  
  17. <tr>  
  18. <td valign=top align=center>  
  19. <?php  
  20. include "http://www.scab.ch/ligastats1/minitable.php";  
  21. ?>  
  22. </td>  
  23. </tr>  
  24. <tr>  
  25. <td height="100%" align="center" valign="top">  
  26. <br><br><a href="http://spreadfirefox.com/community/?q=affiliates&amp;id=0&amp;t=82" target="_child"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://www.scab.ch/img/firefox.gif"></a>  
  27. </td>  
  28. </tr>  
  29. </table>  
  30.   
  31. </td>  
  32. </tr>  
  33.   
  34. </table>  
  35.   
  36. <table width=852 align=center cellspacing=0 cellpadding=0 background="http://www.scab.ch/img/footer.gif" style="border:1px solid #000000">  
  37.   
  38. <tr>  
  39. <td height="20" width="150">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="menu" href="mailto:info@scab.ch"><img src="http://www.scab.ch/img/mail.gif" border=0 title="Email an den SCAB"> info@scab.ch</a>  
  40. </td>  
  41. <td width="552" height=20 style="font-size:10px" align="center">  
  42. <?php  
  43. $Wochentage = array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");  
  44. if(date(w)==0)  
  45. {  
  46. echo$Wochentage[0];  
  47. }  
  48. elseif(date(w)==1)  
  49. {  
  50. echo$Wochentage[1];  
  51. }  
  52. elseif(date(w)==2)  
  53. {  
  54. echo$Wochentage[2];  
  55. }  
  56. elseif(date(w)==3)  
  57. {  
  58. echo$Wochentage[3];  
  59. }  
  60. elseif(date(w)==4)  
  61. {  
  62. echo$Wochentage[4];  
  63. }  
  64. elseif(date(w)==5)  
  65. {  
  66. echo$Wochentage[5];  
  67. }  
  68. else  
  69. {  
  70. echo$Wochentage[6];  
  71. }  
  72. echo date(", d.m.Y");   
  73. ?>  
  74. </td>  
  75. <td height="20" width="150" align="right"><a href="http://www.scab.ch/admin/login.php" target="_child"><img src="http://www.scab.ch/img/key.gif" border=0 title="Site-Administration"></a>&nbsp;&nbsp;&nbsp;</td>  
  76. </tr>  
  77. </table>  
  78.   
  79. <br><br>  
  80.   
  81. </body>  
  82. </html>  


ich hoffe, dass dies weiter hilft ...
 
Forum Index » German Forum
Go to:   
Based on the open source JForum