$tt=$result*222; //echo $tt; if (!checkpass($tt,$action,$db_name,$table_name_control,$id_link)) { if ($action=="delete") echo "对不起,你没有删除留言的权限!!! "; else if ($action="huifu") echo "对不起,你暂时还不能恢复,现在只有版主有这权限!!! "; else echo "对不起,你没有管理留言本的权限!!!"; exit; }
}
if ($action=="delete") { //printf("delete"); //echo $key_liuyan; $str_sql="delete from $table_name where key_liuyan=$key_liuyan"; $re=mysql_db_query($db_name,$str_sql,$id_link);