//////////////////////////////////////////
// Script News Version : 2.0 //
// Programms BY : Mr.php-ar //
// http://www.php-ar.com //
// File Name : View.php //
//////////////////////////////////////////
include ("connect.php");
include ("function.php");
ss(" Zeiad Habbab Page ");
$htmlheader=InCludePageHtml("template/header.html");
eval("echo stripslashes(\"$htmlheader\");");
$NewsID = $_GET['NewsID'];
IF(!$NewsID){
ECHO" لم تقم باختيار اي خبر لعرضه ";
GoTo("javascript:history.back()");
EXIT;
}
$phpar = mysql_query("SELECT * FROM phpar_news where (NewsID='$NewsID')");
while($Rows = mysql_fetch_array($phpar)){
extract($Rows);
}
$N_News = nl2br($N_News);
$N_News=str_replace('(:',"
",$N_News);
$N_News=str_replace('|:',"
",$N_News);
$N_News=str_replace('O:',"
",$N_News);
$N_News=str_replace('?:',"
",$N_News);
$N_News=str_replace('!:',"
",$N_News);
$N_News=str_replace('X:',"
",$N_News);
$N_News=str_replace(':S',"
",$N_News);
$N_News=str_replace('L:',"
",$N_News);
$N_News=str_replace('Y:',"
",$N_News);
$N_News=str_replace('V:',"
",$N_News);
$N_News=str_replace(';)',"
",$N_News);
$html=InCludePageHtml("template/View.html");
eval("echo stripslashes(\"$html\");");
$Uv = mysql_query("UPDATE phpar_news SET N_show=N_show+1 WHERE (NewsID='$NewsID') ");
ECHO"