1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32: | <?php
echo '<table width="640" border="0" cellpadding="0" cellspacing="0">';
echo '<tr>';
echo '<td valign="top" width="20" height="50"><img src="../pics/pixel.gif" width="20" height="50"></td>';
$tag = date('j');
for ($i = 1; $i <= 24; $i++) {
$loop_tag = sprintf('%02d', $i);
if ($tag >= $loop_tag) {
echo '<td valign="top" width="50" height="50">';
echo '<img src="pics-vorschau/'.$loop_tag.'.gif" width="50" height="50" onClick="MM_openBrWindow(\'html/'.$loop_tag.'.html\',\''.$loop_tag.'\',\'width=600,height=500\')">';
echo '</td>';
} else {
echo '<td valign="top" width="50" height="50">';
echo '<img src="pics-vorschau/'.$loop_tag.'-2.gif" width="50" height="50">';
echo '</td>';
}
if ($loop_tag == 12) {
echo '<td valign="top" width="20" height="50"><img src="../pics/pixel.gif" width="20" height="50"></td>';
echo '</tr>';
echo '<tr>';
echo '<td valign="top" width="20" height="50"><img src="../pics/pixel.gif" width="20" height="50"></td>';
}
}
echo '<td valign="top" width="20" height="50"><img src="../pics/pixel.gif" width="20" height="50"></td>';
echo '</tr>';
echo '</table>';
?> |