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 |
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 27/09/2005 15:47:36
|
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!
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 27/09/2005 21:10:22
|
Webmaster
Site Admin
![[Avatar]](/forum/images/avatar/c81e728d9d4c2f636f067f89cc14862c.png)
Joined: 10/01/2002 23:32:17
Messages: 82
Offline
|
was steht alles im footer (footer.php) ?
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 28/09/2005 08:09:11
|
quattro
Newbie
Joined: 27/09/2005 15:38:51
Messages: 2
Offline
|
die footer.php sieht wie folgt aus:
- </td>
-
- <td width="150" style="border-left: 1px solid #000000; border-right: 1px solid #000000;" align="center" valign="top" height="100%">
-
- <table align="center" cellspacing="0" cellpadding="0" bgcolor="#ffffff" height="100%">
- <tr>
- <td height="20"></td>
- </tr>
- <tr>
- <td valign=top align=center>
- <?php include("poll/poll.php"); ?>
- </td>
- </tr>
- <tr>
- <td height=15 valign=top align=center></td>
- </tr>
- <tr>
- <td valign=top align=center>
- <?php
- include "http://www.scab.ch/ligastats1/minitable.php";
- ?>
- </td>
- </tr>
- <tr>
- <td height="100%" align="center" valign="top">
- <br><br><a href="http://spreadfirefox.com/community/?q=affiliates&id=0&t=82" target="_child"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://www.scab.ch/img/firefox.gif"></a>
- </td>
- </tr>
- </table>
-
- </td>
- </tr>
-
- </table>
-
- <table width=852 align=center cellspacing=0 cellpadding=0 background="http://www.scab.ch/img/footer.gif" style="border:1px solid #000000">
-
- <tr>
- <td height="20" width="150"> <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>
- </td>
- <td width="552" height=20 style="font-size:10px" align="center">
- <?php
- $Wochentage = array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");
- if(date(w)==0)
- {
- echo$Wochentage[0];
- }
- elseif(date(w)==1)
- {
- echo$Wochentage[1];
- }
- elseif(date(w)==2)
- {
- echo$Wochentage[2];
- }
- elseif(date(w)==3)
- {
- echo$Wochentage[3];
- }
- elseif(date(w)==4)
- {
- echo$Wochentage[4];
- }
- elseif(date(w)==5)
- {
- echo$Wochentage[5];
- }
- else
- {
- echo$Wochentage[6];
- }
- echo date(", d.m.Y");
- ?>
- </td>
- <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> </td>
- </tr>
- </table>
-
- <br><br>
-
- </body>
- </html>
ich hoffe, dass dies weiter hilft ...
|
|
|
|
|
|
Based on the open source JForum
|