############################
include ("config.snabl");
#############################
?>
شركة بدوي - سجل الزوار
if ($admin == edit) {
include ("edit.snabl");
}else
if ($admin == del) {
$sql = "DELETE FROM $tbl_name WHERE `id` = '$id'";
mysql_query($sql) or die (mysql_error());
if ($sql) {
echo"
تم حذف التعليق بنجاح";
echo"";
} else {echo"
لم يتم حذف التعليق بنجاح";}
echo"";
exit;
}else
if ($admin == showyes OR $admin == showno) {
$sql = "UPDATE $tbl_name SET
`show` = '$show'
WHERE id = $id LIMIT 1 ";
mysql_query($sql) or die (mysql_error());
if ($sql) {
if ($admin == showyes){
echo"
تم إظهار التعليق";
}else{
echo"
تم إخفاء التعليق";
}
echo"";
} else {
echo"
لم يتم إظهار التعليق، يرجى إعلام الإدارة";
echo"";
}
}else
############################
if ($addcomment) {
include ("add.snabl");
#############################
echo"";
}else
if ($editcomment) {
include ("edit.snabl");
include ("form.snabl");
#############################
#echo"";
}else{
include ("form.snabl");
}
?>