Keine Verbindung zur Datenbank!"; exit; } while (list($key,$value) = each($_GET)) { $$key=$value; } while (list($key,$value) = each($_POST)) { $$key=$value; } mysql_select_db($db_dsn, $db); if ($id) { $sql = "select * from samples where id = ".$id." and category_id = ".$cat." "; $result = mysql_query($sql) or die (mysql_error()); } ?> Wolfgang Thede | Grafik-Design · Typografie · Computertraining
',$eintrag['text_e'],'
'; } else { echo ''; } } echo ''; $sql = "select * from categories where id = ".$cat." "; $result = mysql_query($sql) or die (mysql_error()); $eintrag = mysql_fetch_array($result); $dir = $eintrag['imagepath']; //determine number of entries in that category $sql = "select * from samples where category_id = ".$cat." "; $result = mysql_query($sql) or die (mysql_error()); $num_rows = mysql_num_rows($result); ?>
<'; $zoomwidth = $eintrag['hsize600']; } if ($zoomwidth == 0) {$zoomwidth = '600';} ?>
"; } else { if ($eintrag['link_d']) { $img = ""; } else { $img = ""; } } echo $img; ?>
>'; } ?>
',$theheadline,''; echo '

',$thetext,'

'; if ($eintrag['link_e']) { $thelink = "".Original." ".Page.""; echo ''; } ?>
"; echo $img; } ?>
'; } else { echo ''; } ?>