澳门新葡亰平台游戏网站BBS(php amp;amp;amp; mysql)完整版(一)

第多个页面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(!$resultState of Qatar echo 该呢称已被别人占用 请重新填写; 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 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:2form name=form1 method=post
action=?echo $PHP_SELF??action=ok pinput type=text name=nick size=12
maxlength=20 /p pinput type=text name=passwd size=12 maxlength=20 input
type=hidden name=userid value=?echo $userid ;? /p pselect 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客户呢称/div div id=Layer4
style=position:absolute; left:72px; top:99px; width:71px; height:23px;
z-index:4客户密码/div div id=Layer5 style=position:absolute; left:82px;
top:139px; width:58px; height:20px; z-index:5性别/div /body /html

//此页面为say.php ? include signup/mysql.inc; if($id1卡塔尔{ $sql=select *
from $table where id=’$id1′;//突显回复标题 $result=mysql_query($sql)or
die(mysql_error()); $row=mysql_fetch_array($result);
$title=RE:.$row[title]; } $ip=$REMOTE_ADDR; $sql=select * from
user_stus where ip=’$ip’;//查询当前客商名 $result=mysql_query($sql)or
die(mysql_error()); $row=mysql_fetch_array($result);
if(!$rowState of Qatar//判别客商是或不是登入 { echo htmldiv id=Layer2 z-index:1BRBRBRBOdyssey;
echo div id=Layer3 z-index:2img src=pic/3.gif width=15 height=15/div;
echodiv ;echo pfont size=2 color=#FF33CC嘻嘻!! 请首先登场录/font/p;
echopfont size=2 color=#FF33CCa
href=’.$PHP_SELF.?p=1&&table=$table’返回/a/font/p /div /html; exit(); }
else $userid=$row[userid]; if($ok卡塔尔(قطر‎ { if($title==||$content==卡塔尔国 { echo
BPAJERO请你添完整后交给; } else{ $id=time(卡塔尔;//提交小说 $date1=date(Y/m/d卡塔尔国;
$title=htmlspecialchars($title卡塔尔; $content=htmlspecialchars($contentState of Qatar;
$sql=select * from .$table; $result=mysql_query($sql)or
die(mysql_error()); $row1=mysql_num_rows($result); $row1++; if($id1){
$sql=insert into bbs_re
(id,userid,date1,title,content)values(‘$id’,’$userid’,’$date1′,’$title’,’$content’);
mysql_query($sql)or die(mysql_error()); $sql=select * from .$table.
where id=’$id1′; $result=mysql_query($sql)or die(mysql_error());
$lin=mysql_fetch_array($result); for($i=1;$i6;$i++) { $re=r.$i;
if(!$lin[$re]) break; } $sql=update .$table. set .$re.=’$id’ where
id=’$id1′; } else$sql=insert into .$table.
(id,userid,date1,title,content,row)values(‘$id’,’$userid’,’$date1′,’$title’,’$content’,’$row1′);
$result=mysql_query($sql)or die(mysql_error()); if($result) {
header(Location:php3.php?p=1&&table=$table); exit ; } } } ? html head
titlexiaoyang/title meta content=text/html; charset=gb2312 script
language=JavaScript1.2 src=js/menu_comment.js/script script
language=JavaScript1.2 src=js/fw_menu.js/script 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:31px; top:1px;
width:560px; height:46px; z-index:10 script
language=JavaScript1.2fwLoadMenus();/script/div div id=Layer6
style=position:absolute; left:409px; top:29px; width:118px; height:17px;
z-index:6/div div id=Layer5 style=position:absolute; left:86px;
top:63px; width:464px; height:303px; z-index:7form name=form1
method=post action=? echo $PHP_SELF ? table width=98% border=1
cellspacing=0 cellpadding=0 bordercolor=#FF99FF trtd width=26%
height=42div align=centerfont size=2 color=#FF33FF题目/font/div /td td
width=74% height=42input type=text name=title size=40 value=?echo $title
;? onMouseover=this.document.form1.title.focus();return true input
type=hidden name=table value=?echo $table ;? input type=hidden name=id1
value=? echo $id1 ;? br /td /tr trtd width=26% height=172div
align=centerfont size=2 color=#FF33FF内容/font/div /td td width=74%
height=172textarea name=content cols=40 rows=10 wrap=physical
value=?echo $content ;?
onMouseOver=this.document.form1.content.focus()/textarea /td /tr tr td
width=26% div align=center input type=reset name=Submit2 value=重写 /div
/td td width=74% div align=center input type=submit name=ok value=发表
/div /td /tr /table p/p /form /div div id=back style=position:absolute;
left:455px; top:30px; width:85px; height:3px; z-index:8hr color=#ff9999
noshade /div div id=goback style=position:absolute; left:461px;
top:23px; width:120px; height:16px; z-index:9div align=centera
href=php3.php?p=1&&table=?echo $table ;? target=_self
onMouseover=window.status=” ;return truefont size=2
color=#FF33FF返回/font/a/div /div p/p p/p /body /html

You can leave a response, or trackback from your own site.

Leave a Reply

网站地图xml地图