1. <label id="emcwg"></label>
      2. <dd id="emcwg"><strong id="emcwg"></strong></dd>

      3. ?<\/p>


        ????
        ??????
        ??????
        ????

      4. ??????
        <\/div>
        ????<\/td>
        ??<\/tr>
        ??
        ??
        ??????
        班級管理<\/div>
        ????<\/td>
        ??<\/tr>
        ??
        ??
        ??????

        ????????添加成員<\/a>

        ????????
        顯示、刪除成員<\/a>

        ????????
        修改成員信息<\/a>

        ????????
        班級留言管理<\/a>

        ????????
        客人留言管理<\/a><\/div>
        ?????????????????????????????????????????????????????????????????????\/addmember.php
        session_start();
        if(!session_is_registered(\"superlogin\"))\/\/Check whether it is registered
        {
        echo \"
        Please log in as administrator again
        \";
        exit;
        }
        include \"..\/config.php\";
        if ($submit){
        if (!$username||!$name){???????????????????????????????????????????????????????????????????????????????????????????‐?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????{ ;a href='javascript:history.back()'>Return<\/a>\";
        exit;
        }
        $username=trim($username);
        $psw= trim($psw);
        $name=trim($name);
        $birth=$year.'-'.$month.'-'.$day;
        $work=trim($ work);
        $ad=trim($ad);
        $post=trim($post);
        $ph=trim($ph);
        $bp=trim($bp) ;
        $email=trim($email);
        $oicq=trim($oicq);
        \/\/Check whether this name has been registered
        $result = mysql_query(\"SELECT name FROM user where name='$name'\",$db);
        if (mysql_num_rows($result)!=0){
        echo \"This name has already been registered! \".\"
        Refill<\/a> \".\"Forgot your password? Ask the administrator for password<\/a>\";
        exit;
        }
        \/\/Check whether the user name is used
        $result = mysql_query(\"SELECT user FROM user where user='$username'\",$db);\/\/If the number of columns returned is not 0, indicating that this username is already used.
        if (mysql_num_rows($result)!=0){
        echo \"This username is already used!\".\"
        重新填寫<\/a>\";
        exit;
        }
        \/\/寫入數(shù)據(jù)庫
        ??$sql=\"INSERT INTO user (user,psw,name,sex,birth,work,ad,post,ph,bp,email,oicq) VALUES ('$username','$psw','$name','$sex','$birth','$work','$ad','$post','$ph','$bp','$email','$oicq')\";
        $result = mysql_query($sql,$db);
        mysql_close($db);
        echo \"添加成功\";??
        exit;
        }
        ?>



        添加成員 <\/TITLE> <br><\/HEAD> <br><BODY BGCOLOR=\"#FFFFFF\"> <h1><a href="http://m.miracleart.cn/">国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂</a></h1> <br> <form method='post' action='<? echo $PHP_SELF;?>'> <br><br>??<table width=\"51%\" border=\"1\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\" bordercolor=\"#FFCC00\"> <br>????<tr> <br>????????????<td height=\"153\" width=\"60%\"><br> <br>??????????????用戶名:??<br>??????????????<input type='Text' name='username' size='12' maxlength='12'> <br>??????????????*<br> <br>??????????????(英文字母或加數(shù)字,長度不超過12)<br> <br>??????????密碼:??<br>??????????<input type='password' name='psw' size='8' maxlength='8'> <br>??????????????<br> <br>??????????????(英文字母或加數(shù)字,長度不超過8個字符)<br> <br>??????????姓名:??<br>??????????<input type='Text' name='name' size='8' maxlength='8'> <br>??????????*<br> <br>??????????性別:男??<br>??????????<input type='radio' name='sex' value='男' checked> <br>??????????女??<br>??????????<input type='radio' name='sex' value='女'> <br>??????????<br> <br>??????????生日:??<br>??????????<select name='year'> <br>????????????<option selected>1991<\/option> <br>????????????<option>1990<\/option> <br>????????????<option>1989<\/option> <br>????????????<option>1988<\/option> <br>????????????<option>1987<\/option> <br>????????????<option>1986<\/option> <br>????????????<option>1985<\/option> <br>????????????<option>1984<\/option> <br>????????????<option>1983<\/option> <br>????????????<option>1982<\/option> <br>????????????<option>1981<\/option> <br>????????????<option>1980<\/option> <br>????????????<option>1979<\/option> <br>????????????<option>1978<\/option> <br>????????????<option>1977<\/option> <br>????????????<option>1976<\/option> <br>????????????<option>1975<\/option> <br>????????????<option>1974<\/option> <br>????????????<option>1973<\/option> <br>????????????<option>1972<\/option> <br>????????????<option>1971<\/option> <br>????????????<option>1970<\/option> <br>????????????<option>1969<\/option> <br>????????????<option>1968<\/option> <br>????????????<option>1967<\/option> <br>????????????<option>1966<\/option> <br>????????????<option>1965<\/option> <br>????????????<option>1964<\/option> <br>????????????<option>1963<\/option> <br>????????????<option>1962<\/option> <br>????????????<option>1961<\/option> <br>????????????<option>1960<\/option> <br>????????????<option>1959<\/option> <br>????????????<option>1958<\/option> <br>????????????<option>1957<\/option> <br>????????????<option>1956<\/option> <br>????????????<option>1955<\/option> <br>????????????<option>1954<\/option> <br>??????????<\/select> <br>??????????年??<br>??????????<select name='month'> <br>????????????<option selected>01<\/option> <br>????????????<option>02<\/option> <br>????????????<option>03<\/option> <br>????????????<option>04<\/option> <br>????????????<option>05<\/option> <br>????????????<option>06<\/option> <br>????????????<option>07<\/option> <br>????????????<option>08<\/option> <br>????????????<option>09<\/option> <br>????????????<option>10<\/option> <br>????????????<option>11<\/option> <br>????????????<option>12<\/option> <br>??????????<\/select> <br>??????????月??<br>??????????<select name='day'> <br>????????????<option selected>01<\/option> <br>????????????<option>02<\/option> <br>????????????<option>03<\/option> <br>????????????<option>04<\/option> <br>????????????<option>05<\/option> <br>????????????<option>06<\/option> <br>????????????<option>07<\/option> <br>????????????<option>08<\/option> <br>????????????<option>09<\/option> <br>????????????<option>10<\/option> <br>????????????<option>11<\/option> <br>????????????<option>12<\/option> <br>????????????<option>13<\/option> <br>????????????<option>14<\/option> <br>????????????<option>15<\/option> <br>????????????<option>16<\/option> <br>????????????<option>17<\/option> <br>????????????<option>18<\/option> <br>????????????<option>19<\/option> <br>????????????<option>20<\/option> <br>????????????<option>21<\/option> <br>????????????<option>22<\/option> <br>????????????<option>23<\/option> <br>????????????<option>24<\/option> <br>????????????<option>25<\/option> <br>????????????<option>26<\/option> <br>????????????<option>27<\/option> <br>????????????<option>28<\/option> <br>????????????<option>29<\/option> <br>????????????<option>30<\/option> <br>????????????<option>31<\/option> <br>??????????<\/select> <br>??????????日<br> <br>??????????工作單位:??<br>??????????<input type='Text' name='work' size='30' maxlength='50'> <br>??????????<br> <br>??????????通訊地址:??<br>??????????<input type='Text' name='ad' size='30' maxlength='50'> <br>??????????<br> <br>??????????郵編:??<br>??????????<input type='Text' name='post' size='6' maxlength='6'> <br>??????????<br> <br>??????????電話:??<br>??????????<input type='Text' name='ph' size='15' maxlength='30'> <br>??????????<br> <br>??????????傳呼:??<br>??????????<input type='Text' name='bp' size='15' maxlength='20'> <br>??????????<br> <br>??????????Email:??<br>??????????<input type='Text' name='email' size='15' maxlength='35'> <br>??????????<br> <br>??????????oicq:??<br>??????????<input type='Text' name='oicq' size='12' maxlength='12'> <br>??????????<br> <br>???????????<\/td> <\/tr> <\/table> <br>?????????????<div align=\"center\"> <br>??????????<br> <br>??????????<input type='Submit' name='submit' value='提交'> <br>??????????<input type='reset' name='Reset' value='重寫 '> <br>????????<\/div> <br>??????<\/form> <br><br><br><\/BODY> <br><\/HTML> <br>顯示、刪除成員:class\/admin\/member.php <br><? <br>session_start(); <br>if(!session_is_registered(\"superlogin\"))\/\/檢查是否注冊 <br>{ <br>echo \"<a href='..\/..\/superadmin.php'>請重新進行管理員登陸<BR>\"; <br>exit; <br>} <br>include \"..\/config.php\"; <br>if ($del==1){ <br> mysql_query(\"delete from user where user='$user'\",$db); \/\/刪除 <br> echo \"刪除成功!\";} <br>?> <br><html> <br><head> <br><title>成員列表<\/title> <br><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=gb2312\"> <br><\/head> <br><br><body bgcolor=\"#FFFFFF\" text=\"#000000\"> <br><table width=\"91%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"139\" align=\"center\"> <br>??<tr>??<br>????<td>??<br>??????<div align=\"center\"><img src=\"..\/image\/classlogo.gif\" width=\"224\" height=\"60\"><\/div> <br>????<\/td> <br>??<\/tr> <br>??<tr> <br>????<td height=\"28\"> <br>??????<div align=\"center\">成員列表<\/div> <br>????<\/td> <br>??<\/tr> <br>??<tr>??<br>????<td height=\"163\"> <br>??????<table width=\"95%\" border=\"1\" cellspacing=\"1\" cellpadding=\"0\"> <br>????????<tr>??<br>??????????<td>??<br>????????????<div align=\"center\">用戶名<\/div> <br>??????????<\/td> <br>??????????<td> <br>????????????<div align=\"center\">密碼<\/div> <br>??????????<\/td> <br>??????????<td> <br>????????????<div align=\"center\">姓名<\/div> <br>??????????<\/td> <br>??????????<td> <br>????????????<div align=\"center\">刪除<\/div> <br>??????????<\/td> <br>????????<\/tr> <br>????????<? <br>??????????$result = mysql_query(\"SELECT * FROM user\",$db); <br>??????????$row=mysql_num_rows($result);\/\/查看結(jié)果有多少行 <br>???????????for ($i=0;$i<=($row-1);$i++) { <br>???$name=mysql_result($result,$i,'name'); <br>???$user=mysql_result($result,$i,'user'); <br>???$psw=mysql_result($result,$i,'psw'); <br>???echo \"<tr>\"; <br>???echo \"<td>$name<\/td>\"; <br>???echo \"<td>$psw<\/td>\"; <br>???echo \"<td>$name<\/td>\"; <br>???echo \"<td><a href='$PHP_SELF?del=1&user=$user'>刪除<\/a><\/td>\"; <br>???echo \"<\/tr>\";??<br>????????} <br>???????????> <br>????????<\/table> <br>????<\/td> <br>??<\/tr> <br><\/table> <br><\/body> <br><\/html> <br>修改成員資料:class\/admin\/editmember.php <br><? <br>session_start(); <br>if(!session_is_registered(\"superlogin\"))\/\/檢查是否注冊 <br>{ <br>echo \"<a href='..\/..\/superadmin.php'>請重新進行管理員登陸<BR>\"; <br>exit; <br>} <br>?> <br><html> <br><head> <br><title>修改成員資料<\/title> <br><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=gb2312\"> <br><\/head> <br><br><body bgcolor=\"#FFFFFF\" text=\"#000000\"> <br><form name=\"form1\" method=\"post\" action=\"editmember_step2.php\"> <br>??<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <br>????<tr>??<br>??????<td height=\"117\" width=\"49%\">??<br>????????<div align=\"center\">您要修改誰的資料?<br> <br>??????????<select name=\"member\"> <br>??????????<?php <br>????????????include \"..\/config.php\"; <br>????????????$result = mysql_query(\"SELECT * FROM user\",$db); <br>????????????$row=mysql_num_rows($result);\/\/查看結(jié)果有多少行,即成員人數(shù) <br>????????????for ($i=0;$i<=($row-1);$i++){ <br>?????????????$name=mysql_result($result,$i,'name'); <br>?????????????echo \"<option>\",$name,\"<\/option>\"; <br>????????????} <br>???????????>?????????????<br>??????????<\/select> <br>??????????<br> <br>??????????<input type=\"submit\" name=\"Submit\" value=\"確定\"> <br>??????????<input type=\"reset\" name=\"cancel\" value=\"重置\"> <br>????????<\/div> <br>??????<\/td> <br>????<\/tr> <br>??<\/table> <br><\/form> <br><\/body> <br><\/html> <br>修改成員資料步驟2:class\/admin\/editmember_step2.php <br><? <br>session_start(); <br>if(!session_is_registered(\"superlogin\"))\/\/檢查是否注冊 <br>{ <br>echo \"<a href='..\/..\/superadmin.php'>請重新進行管理員登陸<BR>\"; <br>exit; <br>} <br>?> <br><HTML> <br><HEAD> <br><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=gb2312\"> <br><TITLE>修改成員資料<\/TITLE> <br><\/HEAD> <br><BODY BGCOLOR=\"#FFFFFF\"> <br><?php <br>include \"..\/config.php\"; <br>if ($submit){ <br> $user=trim($username); <br> $psw=trim($psw); <br> $name=trim($name); <br> $birth=trim($birth); <br> $work=trim($work); <br> $ad=trim($ad); <br> $post=trim($post); <br> $ph=trim($ph); <br> $bp=trim($bp); <br> $email=trim($email); <br> $oicq=trim($oicq); <br> $photoname=trim($photoname); <br> $account=strip_tags(trim($account));\/\/去掉首尾空格及html標記 <br> $signature=strip_tags(trim($signature)); <br> \/\/寫入數(shù)據(jù)庫 <br> $sql=\"UPDATE user SET user='$user',psw='$psw',name='$name',sex='$sex',birth='$birth',work='$work',ad='$ad',post='$post',ph='$ph',bp='$bp',email='$email',oicq='$oicq',account='$account',signature='$signature',photo='$photoname',face='$face' where name='$member'\"; <br> $result = mysql_query($sql,$db); <br> mysql_close($db); <br> echo \"恭喜您修改成功!\"; <br> exit; <br>} <br>$result = mysql_query(\"SELECT * FROM user where name='$member'\",$db); <br>$user=mysql_result($result,0,\"user\"); <br>$psw=mysql_result($result,0,\"psw\"); <br>$sex=mysql_result($result,0,\"sex\"); <br>$birth=mysql_result($result,0,\"birth\"); <br>$work=mysql_result($result,0,\"work\"); <br>$ad=mysql_result($result,0,\"ad\"); <br>$post=mysql_result($result,0,\"post\"); <br>$ph=mysql_result($result,0,\"ph\"); <br>$bp=mysql_result($result,0,\"bp\"); <br>$email=mysql_result($result,0,\"email\"); <br>$oicq=mysql_result($result,0,\"oicq\"); <br>$photo=mysql_result($result,0,\"photo\"); <br>$account=mysql_result($result,0,\"account\"); <br>$signature=mysql_result($result,0,\"signature\"); <br>$photo=mysql_result($result,0,\"photo\"); <br>$face=mysql_result($result,0,\"face\"); <br>mysql_close($db); <br>?> <br><table width='95%' border='0' cellspacing='0' cellpadding='0' align='center'> <br>??<tr>??<br>????<td colspan=\"2\">??<br>??????<div align=\"center\"><img src=\"..\/image\/classlogo.gif\" width=\"224\" height=\"60\"><\/div> <br>????<\/td> <br>??<\/tr> <br>??<tr>??<br>????<td>??<br>??????<div align=\"center\">修改成員資料<\/div> <br>???????? <\/td>??????????????????????????????????????????????????????'<? echo $PHP_SELF,'?member=',$member;?>'> <br>???????????? <table width=\"95%\" border=\"1\" cellspacing=\"1\" cellpadding=\"0\" align=\"center\" bordercolor=\"#FFCC00\"> ??> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?>?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????\"<? echo $psw; ?>\"> <br>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????<input type='Text' name='name' size='8' maxlength='8' value=\"<? echo $member; ?>\"> <br> *<br> <br> Gender: Male <br>???<br>??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????>> <br>??????????<br> <br>??????????生日:<input type=\"text\" name=\"birth\" size=\"12\" maxlength=\"12\" value=\"<? echo $birth; ?>\"><br> <br>??????????工作單位:??<br>??????????<input type='Text' name='work' size='30' maxlength='50' value=\"<? echo $work; ?>\"> <br>??????????<br> <br>??????????通訊地址:??<br>??????????<input type='Text' name='ad' size='30' maxlength='50' value=\"<? echo $ad; ?>\"> <br>??????????????<br> <br>??????????郵編:??<br>??????????<input type='Text' name='post' size='6' maxlength='6' value=\"<? echo $post; ?>\"> <br>??????????<br> <br>??????????電話:??<br>??????????<input type='Text' name='ph' size='15' maxlength='30' value=\"<? echo $ph; ?>\"> <br>??????????????<br> <br>??????????傳呼:??<br>??????????<input type='Text' name='bp' size='15' maxlength='20' value=\"<? echo $bp; ?>\"> <br>??????????<br> <br>??????????Email:??<br>??????????<input type='Text' name='email' size='15' maxlength='35' value=\"<? echo $email; ?>\"> <br>??????????????<br> <br>??????????oicq:??<br>??????????<input type='Text' name='oicq' size='12' maxlength='12' value=\"<? echo $oicq; ?>\"> <br>??????????????<br> <br>??????????????個人照片: <br>??????????????<input type='text' name='photoname' value=\"<? echo $photo; ?>\"> <br>??????????????<br> <br>??????????個人說明:(在通訊錄里顯示,不超過125個漢字)<BR> <br>??????????<textarea name='account' cols='50' rows='5'><? echo $account; ?><\/textarea> <br>??????????<br> <br>??????????個人簽名:(在留言簿的自動簽名,不超過125個漢字)<br> <br>??????????????<textarea name=\"signature\" cols=\"50\" rows=\"5\"><? echo $signature; ?><\/textarea> <br>????????????<\/td> <br>????????????<td height=\"153\" width=\"40%\"><br> <br>??????????????選擇一個自己喜歡的頭像:<br> <br>??????????<? <br>???????????for ($i=1;$i<=64;$i++){ <br>????????????echo \"<img src='..\/image\/face\/icon\".$i.\".gif' width='32' height='32'>\";??<br>????????????echo \"<input type='radio' name='face' value='$i' \"; <br>????????????if ($face==$i){ <br>????????????echo \"checked\"; <br>????????????} <br>????????????echo \">\"; <br>????????????if (($i%4)==0){ \/\/隔4行,換行 <br>?????????????echo \"<br>\"; <br>????????????} <br>???????????} <br>????????????><br> <br>????????????<\/td> <br>??????????<\/tr> <br>????????<\/table> <br>????????<div align=\"center\"> <br>??????????<br> <br>??????????<input type='Submit' name='submit' value='提交'> <br>??????????<input type='reset' name='Reset' value='重寫 '> <br>????????<\/div> <br>??????<\/form> <br>????<\/td> <br>??<\/tr> <br><\/table> <br><\/BODY> <br><\/HTML>?\n<\/p>\n<p align=\"left\"><\/p>\n<div style=\"display:none;\">\n<span id=\"url\" itemprop=\"url\">http:\/\/www.bkjia.com\/PHPjc\/316062.html<\/span><span id=\"indexUrl\" itemprop=\"indexUrl\">www.bkjia.com<\/span><span id=\"isOriginal\" itemprop=\"isOriginal\">true<\/span><span id=\"isBasedOnUrl\" itemprop=\"isBasedOnUrl\">http:\/\/www.bkjia.com\/PHPjc\/316062.html<\/span><span id=\"genre\" itemprop=\"genre\">TechArticle<\/span><span id=\"description\" itemprop=\"description\">班級管理部分: 首頁:superadmin.php ?php include (class\/config.php); if ($superadmin){\/\/如果已經(jīng)進行管理員登陸,進行密碼驗證 if (!($supername==$superviso...<\/span>\n<\/div>\n<div id="377j5v51b" class=\"art_confoot\"><\/div>"} </script> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Control" content="no-siteapp" /> <script>var V_PATH="/";window.onerror=function(){ return true; };</script> </head> <body data-commit-time="2023-12-28T14:50:12+08:00" class="editor_body body2_2"> <link rel="stylesheet" type="text/css" href="/static/csshw/stylehw.css"> <header> <div id="377j5v51b" class="head"> <div id="377j5v51b" class="haed_left"> <div id="377j5v51b" class="haed_logo"> <a href="http://m.miracleart.cn/" title="" class="haed_logo_a"> <img src="/static/imghw/logo.png" alt="" class="haed_logoimg"> </a> </div> <div id="377j5v51b" class="head_nav"> <div id="377j5v51b" class="head_navs"> <a href="javascript:;" title="Community" class="head_nava head_nava-template1">Community</a> <div class="377j5v51b" id="dropdown-template1" style="display: none;"> <div id="377j5v51b" class="languagechoose"> <a href="http://m.miracleart.cn/article.html" title="Articles" class="languagechoosea on">Articles</a> <a href="http://m.miracleart.cn/faq/zt" title="Topics" class="languagechoosea">Topics</a> <a href="http://m.miracleart.cn/wenda.html" title="Q&A" class="languagechoosea">Q&A</a> </div> </div> </div> <div id="377j5v51b" class="head_navs"> <a href="javascript:;" title="Learn" class="head_nava head_nava-template1_1">Learn</a> <div class="377j5v51b" id="dropdown-template1_1" style="display: none;"> <div id="377j5v51b" class="languagechoose"> <a href="http://m.miracleart.cn/course.html" title="Course" class="languagechoosea on">Course</a> <a href="http://m.miracleart.cn/dic/" title="Programming Dictionary" class="languagechoosea">Programming Dictionary</a> </div> </div> </div> <div id="377j5v51b" class="head_navs"> <a href="javascript:;" title="Tools Library" class="head_nava head_nava-template1_2">Tools Library</a> <div class="377j5v51b" id="dropdown-template1_2" style="display: none;"> <div id="377j5v51b" class="languagechoose"> <a href="http://m.miracleart.cn/toolset/development-tools" title="Development tools" class="languagechoosea on">Development tools</a> <a href="http://m.miracleart.cn/toolset/website-source-code" title="Website Source Code" class="languagechoosea">Website Source Code</a> <a href="http://m.miracleart.cn/toolset/php-libraries" title="PHP Libraries" class="languagechoosea">PHP Libraries</a> <a href="http://m.miracleart.cn/toolset/js-special-effects" title="JS special effects" class="languagechoosea on">JS special effects</a> <a href="http://m.miracleart.cn/toolset/website-materials" title="Website Materials" class="languagechoosea on">Website Materials</a> <a href="http://m.miracleart.cn/toolset/extension-plug-ins" title="Extension plug-ins" class="languagechoosea on">Extension plug-ins</a> </div> </div> </div> <div id="377j5v51b" class="head_navs"> <a href="http://m.miracleart.cn/ai" title="AI Tools" class="head_nava head_nava-template1_3">AI Tools</a> </div> <div id="377j5v51b" class="head_navs"> <a href="javascript:;" title="Leisure" class="head_nava head_nava-template1_3">Leisure</a> <div class="377j5v51b" id="dropdown-template1_3" style="display: none;"> <div id="377j5v51b" class="languagechoose"> <a href="http://m.miracleart.cn/game" title="Game Download" class="languagechoosea on">Game Download</a> <a href="http://m.miracleart.cn/mobile-game-tutorial/" title="Game Tutorials" class="languagechoosea">Game Tutorials</a> </div> </div> </div> </div> </div> <div id="377j5v51b" class="head_search"> <input id="key_words" onkeydown="if (event.keyCode == 13) searchs('en')" class="search-input" type="text" autocomplete="off" name="keywords" required="required" placeholder="Block,address,transaction,news" value=""> <a href="javascript:;" title="search" onclick="searchs('en')"><img src="/static/imghw/find.png" alt="search"></a> </div> <div id="377j5v51b" class="head_right"> <div id="377j5v51b" class="haed_language"> <a href="javascript:;" class="layui-btn haed_language_btn">English<i class="layui-icon layui-icon-triangle-d"></i></a> <div class="377j5v51b" id="dropdown-template" style="display: none;"> <div id="377j5v51b" class="languagechoose"> <a href="javascript:setlang('zh-cn');" title="簡體中文" class="languagechoosea">簡體中文</a> <a href="javascript:;" title="English" class="languagechoosea">English</a> <a href="javascript:setlang('zh-tw');" title="繁體中文" class="languagechoosea">繁體中文</a> <a href="javascript:setlang('ja');" title="日本語" class="languagechoosea">日本語</a> <a href="javascript:setlang('ko');" title="???" class="languagechoosea">???</a> <a href="javascript:setlang('ms');" title="Melayu" class="languagechoosea">Melayu</a> <a href="javascript:setlang('fr');" title="Fran?ais" class="languagechoosea">Fran?ais</a> <a href="javascript:setlang('de');" title="Deutsch" class="languagechoosea">Deutsch</a> </div> </div> </div> <span id="377j5v51b" class="head_right_line"></span> <div style="display: block;" id="login" class="haed_login "> <a href="javascript:;" title="Login" class="haed_logina ">Login</a> </div> <div style="display: block;" id="reg" class="head_signup login"> <a href="javascript:;" title="singup" class="head_signupa">singup</a> </div> </div> </div> </header> <main> <div id="377j5v51b" class="Article_Details_main"> <div id="377j5v51b" class="Article_Details_main1"> <div id="377j5v51b" class="Article_Details_main1M"> <div id="377j5v51b" class="phpgenera_Details_mainL1"> <a href="http://m.miracleart.cn/" title="Home" class="phpgenera_Details_mainL1a">Home</a> <img src="/static/imghw/top_right.png" alt="" /> <a href="http://m.miracleart.cn/be/" class="phpgenera_Details_mainL1a">Backend Development</a> <img src="/static/imghw/top_right.png" alt="" /> <a href="http://m.miracleart.cn/php-weizijiaocheng.html" class="phpgenera_Details_mainL1a">PHP Tutorial</a> <img src="/static/imghw/top_right.png" alt="" /> <span>Xinglin classmates (8)_PHP tutorial</span> </div> <div id="377j5v51b" class="Articlelist_txts"> <div id="377j5v51b" class="Articlelist_txts_info"> <h1 class="Articlelist_txts_title">Xinglin classmates (8)_PHP tutorial</h1> <div id="377j5v51b" class="Articlelist_txts_info_head"> <div id="377j5v51b" class="author_info"> <a href="http://m.miracleart.cn/member/887227.html" class="author_avatar"> <img class="lazy" data-src="https://img.php.cn/upload/avatar/000/887/227/63bb7851c9547215.jpg" src="/static/imghw/default1.png" alt="WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB"> </a> <div id="377j5v51b" class="author_detail"> <a href="http://m.miracleart.cn/member/887227.html" class="author_name">WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB</a> </div> </div> </div> <span id="377j5v51b" class="Articlelist_txts_time">Jul 21, 2016 pm 04:04 PM</span> <div id="377j5v51b" class="Articlelist_txts_infos"> <span id="377j5v51b" class="Articlelist_txts_infoss on">class</span> <span id="377j5v51b" class="Articlelist_txts_infoss ">config</span> <span id="377j5v51b" class="Articlelist_txts_infoss ">include</span> <span id="377j5v51b" class="Articlelist_txts_infoss ">php</span> <span id="377j5v51b" class="Articlelist_txts_infoss ">class</span> <span id="377j5v51b" class="Articlelist_txts_infoss ">manage</span> <span id="377j5v51b" class="Articlelist_txts_infoss ">part</span> <span id="377j5v51b" class="Articlelist_txts_infoss ">front page</span> </div> </div> </div> <hr /> <div id="377j5v51b" class="article_main php-article"> <div id="377j5v51b" class="article-list-left detail-content-wrap content"> <ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-5902227090019525" data-ad-slot="3461856641"> </ins> <p> 班級管理部分: <br>???首頁:superadmin.php <br><?php <br>include ("class/config.php"); <br>if ($superadmin){ //如果已經(jīng)進行管理員登陸,進行密碼驗證 <br> if (!($supername==$supervisor)||!($superpass==$superpsw)){ <br> echo "密碼錯誤"; <br> exit; <br> }else{ //用session記錄管理員登陸 <br> session_start(); // 開始session <br> session_register("superlogin"); <br> $superlogin=$supername; <br> } <br>}else{ //管理員登陸 <br>echo "<form name='form1' method='post' action='$PHP_SELF'>"; <br>echo "<div align='center'> 請輸入管理員密碼<br>"; <br>echo "管理員";??<br>echo "<input type='text' name='supername'><br>"; <br>echo "密碼"; <br>echo "<input type='password' name='superpass'><br>"; <br>echo "<input type='submit' name='superadmin' value='進入'><br>"; <br>echo "<input type='reset' name='cancel' value='重寫'></div>";???<br>echo "</form>"; <br>exit; <br>} <br>?> <br><html> <br><head> <br><title>班級管理




        ?



        ????
        ????
        ??
        ????
        ????
        ??
        ????
        ????
        ??

        ??????

        ????
        ??
        ??????
        班級管理

        ????
        ??
        ??????
        ?????????????????????????????????????????????????????????????????????/addmember.php
        session_start();
        if(!session_is_registered("superlogin"))//Check whether it is registered
        {
        echo "Please log in as administrator again
        ";
        exit;
        }
        include "../config.php";
        if ($submit){
        if (!$username||!$name){???????????????????????????????????????????????????????????????????????????????????????????‐?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????{ ;a href='javascript:history.back()'>Return
        ";
        exit;
        }
        $username=trim($username);
        $psw= trim($psw);
        $name=trim($name);
        $birth=$year.'-'.$month.'-'.$day;
        $work=trim($ work);
        $ad=trim($ad);
        $post=trim($post);
        $ph=trim($ph);
        $bp=trim($bp) ;
        $email=trim($email);
        $oicq=trim($oicq);
        //Check whether this name has been registered
        $result = mysql_query("SELECT name FROM user where name='$name'",$db);
        if (mysql_num_rows($result)!=0){
        echo "This name has already been registered! "."Refill "."Forgot your password? Ask the administrator for password";
        exit;
        }
        //Check whether the user name is used
        $result = mysql_query("SELECT user FROM user where user='$username'",$db);//If the number of columns returned is not 0, indicating that this username is already used.
        if (mysql_num_rows($result)!=0){
        echo "This username is already used!"."重新填寫";
        exit;
        }
        //寫入數(shù)據(jù)庫
        ??$sql="INSERT INTO user (user,psw,name,sex,birth,work,ad,post,ph,bp,email,oicq) VALUES ('$username','$psw','$name','$sex','$birth','$work','$ad','$post','$ph','$bp','$email','$oicq')";
        $result = mysql_query($sql,$db);
        mysql_close($db);
        echo "添加成功";??
        exit;
        }
        ?>



        添加成員




        ??
        ????
        ????????????


        ??????????????用戶名:??
        ??????????????
        ??????????????*

        ??????????????(英文字母或加數(shù)字,長度不超過12)

        ??????????密碼:??
        ??????????
        ??????????????

        ??????????????(英文字母或加數(shù)字,長度不超過8個字符)

        ??????????姓名:??
        ??????????
        ??????????*

        ??????????性別:男??
        ??????????
        ??????????女??
        ??????????
        ??????????

        ??????????生日:??
        ??????????
        ??????????年??
        ??????????
        ??????????月??
        ??????????
        ??????????日

        ??????????工作單位:??
        ??????????
        ??????????

        ??????????通訊地址:??
        ??????????
        ??????????

        ??????????郵編:??
        ??????????
        ??????????

        ??????????電話:??
        ??????????
        ??????????

        ??????????傳呼:??
        ??????????
        ??????????

        ??????????Email:??
        ??????????
        ??????????

        ??????????oicq:??
        ??????????
        ??????????

        ???????????

        ?????????????

        ??????????

        ??????????
        ??????????
        ????????

        ??????





        顯示、刪除成員:class/admin/member.php
        session_start();
        if(!session_is_registered("superlogin"))//檢查是否注冊
        {
        echo "請重新進行管理員登陸
        ";
        exit;
        }
        include "../config.php";
        if ($del==1){
        mysql_query("delete from user where user='$user'",$db); //刪除
        echo "刪除成功!";}
        ?>


        成員列表





        ????
        ????
        ??
        ??
        ????
        ??
        ????
        ????
        ??
        ??
        ??????

        ????

        ??????
        成員列表

        ????

        ??????
        ??????????
        ??????????
        ??????????
        ??????????
        ??????????
        ????????
        ??????????????????$result = mysql_query("SELECT * FROM user",$db);
        ??????????$row=mysql_num_rows($result);//查看結(jié)果有多少行
        ???????????for ($i=0;$i<=($row-1);$i++) {
        ???$name=mysql_result($result,$i,'name');
        ???$user=mysql_result($result,$i,'user');
        ???$psw=mysql_result($result,$i,'psw');
        ???echo "";
        ???echo "";
        ???echo "";
        ???echo "";
        ???echo "";
        ???echo "";??
        ????????}
        ???????????>
        ????????
        ??
        ????????????
        用戶名

        ??????????

        ????????????
        密碼

        ??????????

        ????????????
        姓名

        ??????????

        ????????????
        刪除

        ??????????
        $name$psw$name刪除

        ????



        修改成員資料:class/admin/editmember.php
        session_start();
        if(!session_is_registered("superlogin"))//檢查是否注冊
        {
        echo "
        請重新進行管理員登陸
        ";
        exit;
        }
        ?>


        修改成員資料





        ??
        ??????
        ??????
        ????
        ??
        ??
        ????????
        您要修改誰的資料?

        ??????????
        ??????????

        ??????????
        ??????????
        ????????

        ??????




        修改成員資料步驟2:class/admin/editmember_step2.php
        session_start();
        if(!session_is_registered("superlogin"))//檢查是否注冊
        {
        echo "
        請重新進行管理員登陸
        ";
        exit;
        }
        ?>



        修改成員資料


        include "../config.php";
        if ($submit){
        $user=trim($username);
        $psw=trim($psw);
        $name=trim($name);
        $birth=trim($birth);
        $work=trim($work);
        $ad=trim($ad);
        $post=trim($post);
        $ph=trim($ph);
        $bp=trim($bp);
        $email=trim($email);
        $oicq=trim($oicq);
        $photoname=trim($photoname);
        $account=strip_tags(trim($account));//去掉首尾空格及html標記
        $signature=strip_tags(trim($signature));
        //寫入數(shù)據(jù)庫
        $sql="UPDATE user SET user='$user',psw='$psw',name='$name',sex='$sex',birth='$birth',work='$work',ad='$ad',post='$post',ph='$ph',bp='$bp',email='$email',oicq='$oicq',account='$account',signature='$signature',photo='$photoname',face='$face' where name='$member'";
        $result = mysql_query($sql,$db);
        mysql_close($db);
        echo "恭喜您修改成功!";
        exit;
        }
        $result = mysql_query("SELECT * FROM user where name='$member'",$db);
        $user=mysql_result($result,0,"user");
        $psw=mysql_result($result,0,"psw");
        $sex=mysql_result($result,0,"sex");
        $birth=mysql_result($result,0,"birth");
        $work=mysql_result($result,0,"work");
        $ad=mysql_result($result,0,"ad");
        $post=mysql_result($result,0,"post");
        $ph=mysql_result($result,0,"ph");
        $bp=mysql_result($result,0,"bp");
        $email=mysql_result($result,0,"email");
        $oicq=mysql_result($result,0,"oicq");
        $photo=mysql_result($result,0,"photo");
        $account=mysql_result($result,0,"account");
        $signature=mysql_result($result,0,"signature");
        $photo=mysql_result($result,0,"photo");
        $face=mysql_result($result,0,"face");
        mysql_close($db);
        ?>

        ????
        ????
        ??
        ????
        ??????????????????????????????????????????????????????????''>
        ????????????
        ??
        ??????

        ????
        ??
        ??????
        修改成員資料

        ????????
        ??> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?>?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????"">
        ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
        *

        Gender: Male
        ???
        ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????>>
        ??????????

        ??????????生日:

        ??????????工作單位:??
        ??????????
        ??????????

        ??????????通訊地址:??
        ??????????
        ??????????????

        ??????????郵編:??
        ??????????
        ??????????

        ??????????電話:??
        ??????????
        ??????????????

        ??????????傳呼:??
        ??????????
        ??????????

        ??????????Email:??
        ??????????
        ??????????????

        ??????????oicq:??
        ??????????
        ??????????????

        ??????????????個人照片:
        ??????????????
        ??????????????

        ??????????個人說明:(在通訊錄里顯示,不超過125個漢字)

        ??????????
        ??????????

        ??????????個人簽名:(在留言簿的自動簽名,不超過125個漢字)

        ??????????????
        ????????????
        ????????????
        ??????????
        ????????


        ??????????????選擇一個自己喜歡的頭像:

        ?????????????????????for ($i=1;$i<=64;$i++){
        ????????????echo "";??
        ????????????echo "????????????if ($face==$i){
        ????????????echo "checked";
        ????????????}
        ????????????echo ">";
        ????????????if (($i%4)==0){ //隔4行,換行
        ?????????????echo "
        ";
        ????????????}
        ???????????}
        ????????????>

        ????????????

        ????????

        ??????????

        ??????????
        ??????????
        ????????

        ??????
        ????


        ?

        www.bkjia.comtruehttp://www.bkjia.com/PHPjc/316062.htmlTechArticle班級管理部分: 首頁:superadmin.php ?php include (class/config.php); if ($superadmin){//如果已經(jīng)進行管理員登陸,進行密碼驗證 if (!($supername==$superviso...
        Statement of this Website
        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

        Hot AI Tools

        Undress AI Tool

        Undress AI Tool

        Undress images for free

        Undresser.AI Undress

        Undresser.AI Undress

        AI-powered app for creating realistic nude photos

        AI Clothes Remover

        AI Clothes Remover

        Online AI tool for removing clothes from photos.

        Clothoff.io

        Clothoff.io

        AI clothes remover

        Video Face Swap

        Video Face Swap

        Swap faces in any video effortlessly with our completely free AI face swap tool!

        Hot Tools

        Notepad++7.3.1

        Notepad++7.3.1

        Easy-to-use and free code editor

        SublimeText3 Chinese version

        SublimeText3 Chinese version

        Chinese version, very easy to use

        Zend Studio 13.0.1

        Zend Studio 13.0.1

        Powerful PHP integrated development environment

        Dreamweaver CS6

        Dreamweaver CS6

        Visual web development tools

        SublimeText3 Mac version

        SublimeText3 Mac version

        God-level code editing software (SublimeText3)

        How to get the current session ID in PHP? How to get the current session ID in PHP? Jul 13, 2025 am 03:02 AM

        The method to get the current session ID in PHP is to use the session_id() function, but you must call session_start() to successfully obtain it. 1. Call session_start() to start the session; 2. Use session_id() to read the session ID and output a string similar to abc123def456ghi789; 3. If the return is empty, check whether session_start() is missing, whether the user accesses for the first time, or whether the session is destroyed; 4. The session ID can be used for logging, security verification and cross-request communication, but security needs to be paid attention to. Make sure that the session is correctly enabled and the ID can be obtained successfully.

        PHP get substring from a string PHP get substring from a string Jul 13, 2025 am 02:59 AM

        To extract substrings from PHP strings, you can use the substr() function, which is syntax substr(string$string,int$start,?int$length=null), and if the length is not specified, it will be intercepted to the end; when processing multi-byte characters such as Chinese, you should use the mb_substr() function to avoid garbled code; if you need to intercept the string according to a specific separator, you can use exploit() or combine strpos() and substr() to implement it, such as extracting file name extensions or domain names.

        How do you perform unit testing for php code? How do you perform unit testing for php code? Jul 13, 2025 am 02:54 AM

        UnittestinginPHPinvolvesverifyingindividualcodeunitslikefunctionsormethodstocatchbugsearlyandensurereliablerefactoring.1)SetupPHPUnitviaComposer,createatestdirectory,andconfigureautoloadandphpunit.xml.2)Writetestcasesfollowingthearrange-act-assertpat

        How to split a string into an array in PHP How to split a string into an array in PHP Jul 13, 2025 am 02:59 AM

        In PHP, the most common method is to split the string into an array using the exploit() function. This function divides the string into multiple parts through the specified delimiter and returns an array. The syntax is exploit(separator, string, limit), where separator is the separator, string is the original string, and limit is an optional parameter to control the maximum number of segments. For example $str="apple,banana,orange";$arr=explode(",",$str); The result is ["apple","bana

        JavaScript Data Types: Primitive vs Reference JavaScript Data Types: Primitive vs Reference Jul 13, 2025 am 02:43 AM

        JavaScript data types are divided into primitive types and reference types. Primitive types include string, number, boolean, null, undefined, and symbol. The values are immutable and copies are copied when assigning values, so they do not affect each other; reference types such as objects, arrays and functions store memory addresses, and variables pointing to the same object will affect each other. Typeof and instanceof can be used to determine types, but pay attention to the historical issues of typeofnull. Understanding these two types of differences can help write more stable and reliable code.

        Using std::chrono in C Using std::chrono in C Jul 15, 2025 am 01:30 AM

        std::chrono is used in C to process time, including obtaining the current time, measuring execution time, operation time point and duration, and formatting analysis time. 1. Use std::chrono::system_clock::now() to obtain the current time, which can be converted into a readable string, but the system clock may not be monotonous; 2. Use std::chrono::steady_clock to measure the execution time to ensure monotony, and convert it into milliseconds, seconds and other units through duration_cast; 3. Time point (time_point) and duration (duration) can be interoperable, but attention should be paid to unit compatibility and clock epoch (epoch)

        How does PHP handle Environment Variables? How does PHP handle Environment Variables? Jul 14, 2025 am 03:01 AM

        ToaccessenvironmentvariablesinPHP,usegetenv()orthe$_ENVsuperglobal.1.getenv('VAR_NAME')retrievesaspecificvariable.2.$_ENV['VAR_NAME']accessesvariablesifvariables_orderinphp.iniincludes"E".SetvariablesviaCLIwithVAR=valuephpscript.php,inApach

        How to pass a session variable to another page in PHP? How to pass a session variable to another page in PHP? Jul 13, 2025 am 02:39 AM

        In PHP, to pass a session variable to another page, the key is to start the session correctly and use the same $_SESSION key name. 1. Before using session variables for each page, it must be called session_start() and placed in the front of the script; 2. Set session variables such as $_SESSION['username']='JohnDoe' on the first page; 3. After calling session_start() on another page, access the variables through the same key name; 4. Make sure that session_start() is called on each page, avoid outputting content in advance, and check that the session storage path on the server is writable; 5. Use ses

        See all articles