include_once("../wartung/config.php"); if(!isset($id)) { $sql2="SELECT * FROM hunde where owner='$userid' and mother='0' order by reihe ASC"; $res2=mysql_query($sql2,$conn); if(mysql_num_rows($res2)==0) die ("Es wurden noch keine Seiten angelegt!"); else { $dat2=mysql_fetch_array($res2); $id=$dat2['id']; } } $sql="SELECT * FROM hunde where id='$id'"; $res=mysql_query($sql,$conn); $dat=mysql_fetch_array($res); if($dat['type']=="2") header("location:templ2.php?id=$id"); ?>
![]() |
||||
if($dat['bild']!="")
{
?>
} ?> if($dat['text']!="") { ?>
|