";
}
else
{
$d_pic='';
}
}
else
{
$d_pic='';
}
$introtext=nl2br(str_replace('../','',$rj[bodytext]));
$cid=$rj[cid];
$da=$rj[timestamp];
$n_da =@localtime($da);
$n_da[4] += 1;
$n_da[5] += 1900;
$created="$n_da[5]-$n_da[4]-$n_da[3]";
$view=$rj[counter];
$querf=mysql_query("SELECT id,sub,title from all_cat where id=".$cid."");
while($rk=@mysql_fetch_array($querf))
{
$c_type=$rk[sub];
if($c_type==0)
{
$c_title=$rk[title];
$c_id=$rk[id];
echo "
";
}
else
if($c_type>0)
{
$s_title=$rk[title];
$s_id=$rk[id];
$quer=mysql_query("SELECT id,title,N_NUM from all_cat where id='$c_type'");
while($rowv=@mysql_fetch_array($quer))
{
$c_title=$rowv[title];
$c_id=$rowv[id];
$c_num=$rowv['N_NUM'];
echo "
";
}
}
}
}
echo "
".$created."
View :".$view."
".$d_pic."
".
$introtext."
";
}
else
{
echo"الاختيار غير صحيح ...!";
}
}
else
{
echo" الطلب غير موجود";
}
echo '