hallöchen
ich habe versucht einen adventskalender so zu programmieren,
dass er am jeweiligen tag das aktuelle und die vorangegangenen türchen öffnen lässt.
design etc hab ich alles hochgeladen auf meinen server und die index.php dazu,
was ich aber nun nur noch sehe, ist weisser desktop...
ich mache das zum ersten mal und hab mich durchgefragt und was zusammengereimt...sicher wisst ihr sofort, woran es liegt.
wenn ich die index.html ohne das php hochgeladen hatte, war alles ok, nur eben alle türchen waren verfügbar, darum hab ich die dann umzuschreiben versucht.
danke für eure qualifizierte hilfe!!!
-----------
hier mal der link zu der site:
http://www.kupka-kids.de/advent
------------
hier der quelltext meiner index.php
<?php
$time = time();
$date = date("d", $time);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META CONTENT="text/html; charset=iso-8859-1" HTTP-EQUIV="Content-Type">
<META NAME="Generator" CONTENT="PhotoImpact">
</HEAD>
<BODY TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD><div align="center">
<a href="<?php if ("7" <=$date) {
echo"7.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_1.jpg" WIDTH="133" BORDER="0" HEIGHT="149"></a></div></TD>
<TD><a href="<?php if ("15" <=$date) {
echo"15.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_2.jpg" WIDTH="126" BORDER="0" HEIGHT="149"></a></TD>
<TD><a href="<?php if ("22" <=$date) {
echo"22.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_3.jpg" WIDTH="141" BORDER="0" HEIGHT="149"></a></TD>
<TD><a href="<?php if ("6" <=$date) {
echo"6.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_4.jpg" WIDTH="134" BORDER="0" HEIGHT="149"></a></TD>
<TD><a href="<?php if ("10" <=$date) {
echo"10.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_5.jpg" WIDTH="129" BORDER="0" HEIGHT="149"></a></TD>
<TD><a href="<?php if ("3" <=$date) {
echo"3.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_6.jpg" WIDTH="137" BORDER="0" HEIGHT="149"></a></TD>
</TR>
<TR>
<TD><a href="<?php if ("19" <=$date) {
echo"19.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_7.jpg" WIDTH="133" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("17" <=$date) {
echo"17.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_8.jpg" WIDTH="126" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("4" <=$date) {
echo"4.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_9.jpg" WIDTH="141" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("5" <=$date) {
echo"5.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_10.jpg" WIDTH="134" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("14" <=$date) {
echo"14.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_11.jpg" WIDTH="129" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("23" <=$date) {
echo"23.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_12.jpg" WIDTH="137" BORDER="0" HEIGHT="140"></a></TD>
</TR>
<TR>
<TD><a href="<?php if ("24" <=$date) {
echo"24.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_13.jpg" WIDTH="133" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("11" <=$date) {
echo"11.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_14.jpg" WIDTH="126" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("9" <=$date) {
echo"9.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_15.jpg" WIDTH="141" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("13" <=$date) {
echo"13.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_16.jpg" WIDTH="134" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("21" <=$date) {
echo"21.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_17.jpg" WIDTH="129" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("16" <=$date) {
echo"16.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_18.jpg" WIDTH="137" BORDER="0" HEIGHT="127"></a></TD>
</TR>
<TR>
<TD><a href="<?php if ("20" <=$date) {
echo"20.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_19.jpg" WIDTH="133" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("2" <=$date) {
echo"2.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_20.jpg" WIDTH="126" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("18" <=$date) {
echo"18.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_21.jpg" WIDTH="141" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("8" <=$date) {
echo"8.zip";
}
else {
echo"#";
<IMG SRC="images/advent_22.jpg" WIDTH="134" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("1" <=$date) {
echo"1.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_23.jpg" WIDTH="129" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("12" <=$date) {
echo"12.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_24.jpg" WIDTH="137" BORDER="0" HEIGHT="128"></a></TD>
</TR>
<TR>
<TD COLSPAN="6"><a href="http://opexdesign.blogspot.com" target="_blank"><IMG SRC="images/advent_25.jpg" WIDTH="800" BORDER="0" HEIGHT="56"></a></TD>
</TR>
</TABLE>
</BODY>
</HTML>
ich habe versucht einen adventskalender so zu programmieren,
dass er am jeweiligen tag das aktuelle und die vorangegangenen türchen öffnen lässt.
design etc hab ich alles hochgeladen auf meinen server und die index.php dazu,
was ich aber nun nur noch sehe, ist weisser desktop...
ich mache das zum ersten mal und hab mich durchgefragt und was zusammengereimt...sicher wisst ihr sofort, woran es liegt.
wenn ich die index.html ohne das php hochgeladen hatte, war alles ok, nur eben alle türchen waren verfügbar, darum hab ich die dann umzuschreiben versucht.
danke für eure qualifizierte hilfe!!!
-----------
hier mal der link zu der site:
http://www.kupka-kids.de/advent
------------
hier der quelltext meiner index.php
<?php
$time = time();
$date = date("d", $time);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META CONTENT="text/html; charset=iso-8859-1" HTTP-EQUIV="Content-Type">
<META NAME="Generator" CONTENT="PhotoImpact">
</HEAD>
<BODY TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD><div align="center">
<a href="<?php if ("7" <=$date) {
echo"7.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_1.jpg" WIDTH="133" BORDER="0" HEIGHT="149"></a></div></TD>
<TD><a href="<?php if ("15" <=$date) {
echo"15.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_2.jpg" WIDTH="126" BORDER="0" HEIGHT="149"></a></TD>
<TD><a href="<?php if ("22" <=$date) {
echo"22.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_3.jpg" WIDTH="141" BORDER="0" HEIGHT="149"></a></TD>
<TD><a href="<?php if ("6" <=$date) {
echo"6.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_4.jpg" WIDTH="134" BORDER="0" HEIGHT="149"></a></TD>
<TD><a href="<?php if ("10" <=$date) {
echo"10.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_5.jpg" WIDTH="129" BORDER="0" HEIGHT="149"></a></TD>
<TD><a href="<?php if ("3" <=$date) {
echo"3.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_6.jpg" WIDTH="137" BORDER="0" HEIGHT="149"></a></TD>
</TR>
<TR>
<TD><a href="<?php if ("19" <=$date) {
echo"19.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_7.jpg" WIDTH="133" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("17" <=$date) {
echo"17.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_8.jpg" WIDTH="126" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("4" <=$date) {
echo"4.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_9.jpg" WIDTH="141" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("5" <=$date) {
echo"5.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_10.jpg" WIDTH="134" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("14" <=$date) {
echo"14.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_11.jpg" WIDTH="129" BORDER="0" HEIGHT="140"></a></TD>
<TD><a href="<?php if ("23" <=$date) {
echo"23.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_12.jpg" WIDTH="137" BORDER="0" HEIGHT="140"></a></TD>
</TR>
<TR>
<TD><a href="<?php if ("24" <=$date) {
echo"24.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_13.jpg" WIDTH="133" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("11" <=$date) {
echo"11.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_14.jpg" WIDTH="126" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("9" <=$date) {
echo"9.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_15.jpg" WIDTH="141" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("13" <=$date) {
echo"13.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_16.jpg" WIDTH="134" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("21" <=$date) {
echo"21.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_17.jpg" WIDTH="129" BORDER="0" HEIGHT="127"></a></TD>
<TD><a href="<?php if ("16" <=$date) {
echo"16.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_18.jpg" WIDTH="137" BORDER="0" HEIGHT="127"></a></TD>
</TR>
<TR>
<TD><a href="<?php if ("20" <=$date) {
echo"20.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_19.jpg" WIDTH="133" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("2" <=$date) {
echo"2.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_20.jpg" WIDTH="126" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("18" <=$date) {
echo"18.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_21.jpg" WIDTH="141" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("8" <=$date) {
echo"8.zip";
}
else {
echo"#";
<IMG SRC="images/advent_22.jpg" WIDTH="134" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("1" <=$date) {
echo"1.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_23.jpg" WIDTH="129" BORDER="0" HEIGHT="128"></a></TD>
<TD><a href="<?php if ("12" <=$date) {
echo"12.zip";
}
else {
echo"#";
} ?>"><IMG SRC="images/advent_24.jpg" WIDTH="137" BORDER="0" HEIGHT="128"></a></TD>
</TR>
<TR>
<TD COLSPAN="6"><a href="http://opexdesign.blogspot.com" target="_blank"><IMG SRC="images/advent_25.jpg" WIDTH="800" BORDER="0" HEIGHT="56"></a></TD>
</TR>
</TABLE>
</BODY>
</HTML>
Comment