// require ("./inc/dbconnect.inc.php"); require ("./inc/functions.inc"); require ("./inc/head.inc"); if (!isset($what)): echo ("
    Es wurde nicht angegeben, was gedruckt werden soll!
    Bitte benutzen Sie den Zurück-Button Ihres Browsers, oder klicken Sie unten auf "zurück"

"); elseif ($what == "news"): echo ("
    Ein Newsbeitrag von ".$config["page_titel"]."
    Powered by APP - Another PHP Programs

"); $query2 = "SELECT * FROM page_news WHERE id='".$id."'"; $query2 = mysql_query($query2); echo mysql_error(); $news = mysql_fetch_array($query2); $id = $news["id"]; $head = $news["head"]; $text = $news["text"]; $date = $news["date"]; $userid = $news["userid"]; $views = $news["views"]; $time = HackDate($date); $query3 = "SELECT * FROM page_user WHERE id='".$userid."'"; $query3 = mysql_query($query3); $you = mysql_fetch_array($query3); $text = RemoveCrap($text); $template1 = GetTemp("oben"); $template1 = str_replace("{TITEL}",$head, $template1); echo $template1; echo "
".$text; if ($you["show_email"] == "1") { if ($you["email"] == "") { $mail1 = ""; $mail2 = ""; $mailgif = ""; } if ($you["email"] != "") { $mail1 = ""; $mail2 = ""; $mailgif = $mail1."\"Dem".$mail2; } } else { $mail1 = ""; $mail2 = ""; $mailgif = ""; } if ($you["username"] == "") { $thisuser = "*deleted*"; } if ($you["username"] != "") { $thisuser = $mail1.$you["username"].$mail2; } $printgif = "  \"Diesen"; $moregif = "  \"Mehr"; $commentgif = "  \"Kommentar"; echo ""; echo "
 

posted by ".$thisuser." @ ".$time."".$mailgif.$printgif.$moregif.$commentgif.$editgif.$deletegif."   
"; $template2 = GetTemp("unten"); echo $template2; endif; ?>

[ - zurück - ]