最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

聊天室php&mysql(五)

 更新時(shí)間:2006年10月09日 00:00:00   作者:  
第五個(gè)頁(yè)面name="changenick.php"


<?   
include "../signup/mysql.php";
//echo $userid;
if($action=="ok")
{
$sql="select * from chat_user_list where userid='$nick'";
$result=mysql_query($sql) or die(mysql_error());
if(!$result) echo "該呢稱(chēng)已被他人占用 請(qǐng)重新填寫(xiě)";
else   
    {
$sql="update chat_user_list set id='$nick',passwd='$passwd',sex='$sex' where userid='$userid'";
$result=mysql_query($sql)or die(mysql_error());

$sql="update chat_user set id='$nick',passwd='$passwd',sex='$sex' where userid='$userid'";
$result=mysql_query($sql)or die(mysql_error());
     }
if($result){
           echo "<script language='JavaScript'> window.close() </script>";
           }

}


?>

<html>
<head>
<title>:::FEIT聊天室:::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>

<body bgcolor="#ffffff" text="#000000">

<div id="Layer1" style="position:absolute; left:40px; top:28px; width:293px; height:202px; z-index:1; background-color: #6699FF; layer-background-color: #6699FF; border: 1px none #000000"></div>
<div id="Layer2" style="position:absolute; left:144px; top:54px; width:126px; height:70px; z-index:2">  
  <form name="form1" method="post" action="<?echo $PHP_SELF?>?action=ok">
    <p>  
      <input type="text" name="nick" size="12" maxlength="20">
    </p>
    <p>  
      <input type="text" name="passwd" size="12" maxlength="20">
      <input type="hidden" name="userid" value="<?echo $userid ;?>">
    </p>
    <p>  
      <select name="sex">
        <option value="帥哥">帥哥</option>
        <option value="妹妹">美眉</option>
      </select>
    </p>
    <p>
      <input type="submit" name="ok" value="更改" align="center">
    </p>
  </form>
</div>
<div id="Layer3" style="position:absolute; left:72px; top:58px; width:72px; height:20px; z-index:3">用戶(hù)呢稱(chēng)</div>
<div id="Layer4" style="position:absolute; left:72px; top:99px; width:71px; height:23px; z-index:4">用戶(hù)密碼</div>
<div id="Layer5" style="position:absolute; left:82px; top:139px; width:58px; height:20px; z-index:5">性別</div>
</body>
</html>

相關(guān)文章

最新評(píng)論

嵊州市| 德钦县| 余姚市| 潮州市| 兴仁县| 弋阳县| 牙克石市| 柳河县| 乌鲁木齐县| 板桥市| 紫阳县| 安阳县| 泽州县| 合川市| 武安市| 枣庄市| 秀山| 揭东县| 昌江| 平顶山市| 星子县| 辛集市| 建瓯市| 田东县| 靖州| 兴仁县| 沙坪坝区| 吴忠市| 敦化市| 余江县| 江永县| 莱阳市| 乌拉特中旗| 武城县| 临安市| 东丰县| 通辽市| 马公市| 尼木县| 开鲁县| 高州市|