} else { echo "This record has been deleted"; } } else { show_error(1); } ?> ## modify.php require "func.php"; if (check_user_password($jl_forum[name],$jl_forum[password])) { $name=$jl_forum[name]; $password=$jl_forum[password]; $sql="select * from user where name='$name'"; $sql_result=mysql_query($sql); $sql_row=mysql_fetch_array($sql_result); ?>
} ?> ## oper.php require "func.php"; if (adminok()) { if (isset($add_board)) { if (isset($name) and isset($chinesename) and !is_board_exits($name)) { create_board_table($name,$chinesename); } else { echo "出现错误!(可能版面已经存在)"; $founderr=1; } } elseif (isset($del_board)) { if (isset($board)) { drop_board_table($board); } else { echo "出现错误!(请选择要删除的版面)"; $founderr=1; } } elseif (isset($modify)) { if (isset($name) and isset($chinesename)) { update_board($name,$chinesename); } else { echo "出现错误!(请填写完整)"; $founderr=1; } } elseif (isset($add_admin)) { if (is_user_exits($name) and isset($board)) { add_admin($board,$name); } else { echo "出现错误!(极有可能是用户不存在)"; $founderr=1; } } elseif (isset($delete_admin)) { if (is_user_exits($name)) { del_admin($name); } else { echo "出现错误!(极有可能是用户不存在)"; $founderr=1; } } else { echo "你要干什么?"; $founderr=1; } if (!$founderr) { redirect2("admin.php"); } } else { show_error(1); } ?>
http://www.bkjia.com/PHPjc/316370.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/316370.htmlTechArticle## manage_read.php ?php require (func.php); if (check_admin_password()) { $board=$jl_forum[board]; switch ($job){ case setgood: set_good($jl_forum[board],$uid); $work=1; break; case...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn