include("nav1.php3"); include("db.inc"); require("sfn_lib.php3"); ?>
|
||
|
$breakid ? '' : $breakid = '9999';
$sql = "SELECT * FROM sfn_up_content, sfn_autor, sfn_up_kat where id_up < '$breakid' && up_id_typ = '1' && up_id_autor = id_autor && up_id_kat = id_kat order by id_up desc";
if(!$result = mysql_query($sql,$dbh)) { print"DATENBANKFEHLER: ";} while($row=mysql_fetch_array($result)) { $i++; if ($i == 4) break; (time()-$row["up_date"]) < $neu_limit ? $neu = ' ' : $neu = '';
$row["up_target"] ? $target = 'target="linkout"' : '';
$row["up_link"] ? $link = $row["up_link"] : $link = '#';
echo ''.$row["kat_name"].'
...'.$row["up_text"].' |