nö ich fands einfacher einfach noch nen <br> in das 2te template reinzuschreiben
warum welchen unterschied macht das ?
warum welchen unterschied macht das ?
<td width=3%>
<tr>
<td>
<a href="fotos/test/karate1.jpg" target="blank"><img src="fotos/test/karate1.jpg" width="50" height="70"></a>
</td>
</tr>
</td>
<td width=3%>
<tr>
<td>
<a href="fotos/test/karate2.jpg" target="blank"><img src="fotos/test/karate2.jpg" width="50" height="70"></a>
</td>
</tr>
</td>
<td width=3%>
<tr>
<td>
<a href="fotos/test/karate4.jpg" target="blank"><img src="fotos/test/karate4.jpg" width="50" height="70"></a>
</td>
</tr>
</td>
<td width=3%>
<tr>
<td>
<a href="fotos/test/karate3.jpg" target="blank"><img src="fotos/test/karate3.jpg" width="50" height="70"></a>
</td>
</tr>
</td>
<td width=3%>
<tr>
<td>
<a href="fotos/test/karate5.jpg" target="blank"><img src="fotos/test/karate5.jpg" width="50" height="70"></a>
</td>
</tr>
</td>
<td width=3%>
<tr>
<td>
<a href="fotos/test/karate6.jpg" target="blank"><img src="fotos/test/karate6.jpg" width="50" height="70"></a>
</td>
</tr>
</td>
<br>
<td width=3%>
<tr>
<td>
<a href="fotos/test/karate7.jpg" target="blank"><img src="fotos/test/karate7.jpg" width="50" height="70"></a>
</td>
</tr>
</td>
//eine Standarttabelle sieht so ungefähr aus:
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
//6x rechts 6x nach unten
<table border="2" cellspacing="2" cellpadding="1">
<tr valign="top">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr valign="top">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr valign="top">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr valign="top">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr valign="top">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr valign="top">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
if($jahr != $old_jahr) {
include("test.php");
}
<?
$do = $_GET['do'];
$do = "go";
if ($do != "") {
$events = mysql_query( "SELECT * FROM foto");
while ($eventz = mysql_fetch_array($events)) {
$old_event = $eventz["event"];
$old_jahr = $eventz["jahr"];
$old_picurl = $eventz["fotourl"];
$old_id = $eventz["id"];
include("templates/anzeigen-jahr.php");
}
}
?>
<tr width=3%>
<td>
<a href="index.php?jahr=<? echo $old_jahr ?>"><? echo $old_jahr; ?><br></a>
</td>
</tr>
if ($do != "") {
$events = mysql_query( "SELECT * FROM foto");
while ($eventz = mysql_fetch_array($events)) {
$old_event = $eventz["event"];
$array1[] = $eventz["jahr"];
$old_picurl = $eventz["fotourl"];
$old_id = $eventz["id"];
}
if($array1[0] == $array1[1]) {
array_pop($array1[]);
}
else {
include("templates/anzeigen-jahr.php");
}
}
Kommentar