当前位置:澳门新葡亰登入 > 热门新闻 > repal.php回复用的页面

repal.php回复用的页面

文章作者:热门新闻 上传时间:2020-04-24

repal.php回复用的页面,因为回复能够不须即使顾客,所以没加客商身份校验 html head title回复论题:? echo $zt;?/title meta content=text/html; charset=gb2312 STYLE type=text/css P {FONT-FAMILY: normal; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt} DIV {FONT-FAMILY: normal; FONT-SIZE: 9pt; LINE-HEIGHT: 14pt} /STYLE LINK href=js/cpcw.css rel=stylesheet /LINK ?php include linkfox.inc.php;//包蕴进文件 include info.inc.php; function yy($fState of Qatar { $oldmess=@file($f卡塔尔;//引用原来的书文管理 for ($i=0;$icount($oldmess卡塔尔(قطر‎;$i++卡塔尔 { if (ord(substr($oldmess[$i],0,1State of Qatar卡塔尔==161卡塔尔(قطر‎//第一人是或不是全角空格 $mess=$mess.$oldmess[$i]澳门新葡亰网站所有平台,; else $mess=$mess. .trim($oldmess[$i]); } return $mess; } function mesput($query,$use,$id){ $req=mysql_query($query卡塔尔; if ($req卡塔尔 { echo script language='JavaScript' alert('多谢你的恢复!系统将重回论题!'卡塔尔(قطر‎; /script; echo script language='JavaScript' javascript:location.href='dispbbs.php?id=.$id.&use=.$use.'; /script;; echo div align='center'a href='dispbbs.php?id=.$id.&use=.$use.'如若系统还未有反应,请点击/a/a; } else echoscript language='JavaScript' alert('写入战败!'卡塔尔; /script; } function usehf($message,$useinfo,$id,$use,$ft,$mess,$c卡塔尔(قطر‎//客户回复就直接从表里调出客商新闻{ $query=select * from useinfo where usename='.$useinfo[0].'; $req=mysql_query($query); if ($req) { $useinfo=mysql_fetch_array($req); $fo=fopen($ft,a); $message=str_replace(,,str_replace(,,$message)); $message=nl2br($message); $gip=getenv(REMOTE_ADDR); $messages=$message.ㄞㄚㄓ.$useinfo[2].ㄞㄚㄓ.$useinfo[3].ㄞㄚㄓ.$useinfo[9].ㄞㄚㄓ.$useinfo[8].ㄞㄚㄓ.$useinfo[14].ㄞㄚㄓ.$useinfo[11].ㄞㄚㄓ.$time.ㄞㄚㄓ.$gip.δεζ; if($c==dd卡塔尔国//就算是引用回复,加上原作内容 { $messages=font color='999999'.$mess.div align='center'★原来的著作……★……引用★/div/fontbr.$messages; } $fp=fputs($fo,$messages卡塔尔国; $time=date(Y年n月j日G时i分State of Qatar;//大旨回复数加一,覆盖上叁回复人与时光 $query=update foxbbs set hfnum=hfnum+1,hfname='.$ft.',hfusename='.$useinfo[2].',hfdate='.$time.' where id='.$id.'; mesput($query,$use,$id卡塔尔国; } else { echo script language='JavaScript' alert('数据库错误:104号'State of Qatar; /script; } } function gr($ft,$message,$youname,$youmail,$youoicq,$youweb,$youaddr,$youbq,$id,$use,$mess,$c卡塔尔(قطر‎//非注册用户{ if (!uinfo($youmail,mail卡塔尔||strlen($youmail卡塔尔国12卡塔尔(قطر‎//校验MAIL { echo script language='JavaScript' alert('请输入准确的MAIL地址!'State of Qatar; /script; } else if (!uinfo($youoicq,oicq卡塔尔国||strlen($youoicq卡塔尔国12)//校验OICQ,只可以推断是或不是数字和位数,假使有更加好的方式就好。 { echo script language='JavaScript' alert('请输入精确的OICQ号!'卡塔尔(قطر‎; /script; } else { if (uinfo($youweb,web卡塔尔==OK&&substr($youweb,0,3State of Qatar!=httState of Qatar $youweb=$youweb; else if (uinfo($youweb,web卡塔尔国==OK&&substr($youweb,0,3卡塔尔(قطر‎==htt)$youweb=$youweb; else $youweb=不告诉您; $time=date(Y年n月j日G时i分卡塔尔(قطر‎;//取当前时光 $message=str_replace(,,str_replace(,,$message)); $message=nl2br($message); $gip=getenv(REMOTE_ADD纳瓦拉State of Qatar; $messages=$message.ㄞㄚㄓ.$youname.ㄞㄚㄓ.$youoicq.ㄞㄚㄓ.$youweb.ㄞㄚㄓ.$youmail.ㄞㄚㄓ.$youbq.ㄞㄚㄓ.$youaddr.ㄞㄚㄓ.$time.ㄞㄚㄓ.$gip.δεζ; if($c==dd卡塔尔//若是是援引回复 { $messages=font color='999999'.$mess.div align='center'★原作……★……引用★/div/fontbr.$messages; } $fo=fopen($ft,a卡塔尔; $fp=fputs($fo,$messagesState of Qatar; $query=update foxbbs set hfnum=hfnum+1,hfname='.$ft.',hfusename='.$youname.',hfdate='.$time.' where id='.$id.'; mesput($query,$use,$id卡塔尔(قطر‎; } } ? /head body bgcolor=#FFFFFF ? $tem=$HTTP_COOKIE_VARS[FlyFoxNet]; $temp=explode(|,$tem); $cookiem=$temp[0]; $useinfo=cuser($cookiem,$action); if (!$useinfo[0]){$useinfo[2]=游客; $usename=1;} $query=select mesname from foxbbs where id='.$id.'; $req=mysql_query($query); if ($req) { $f=mysql_fetch_array($req); $mess=yy($f[0]); if ($message&&$action=add) { $ft=foxbbs/.$f[0]..bbs; if (ord(substr($message,0,1))!=161) $message= .$message; for ($i=0;$i10;$i++) { if ($bq[$i]) $youbq=$bq[$i]; } if ($usename卡塔尔gr($ft,$message,$youname,$youmail,$youoicq,$youweb,$youaddr,$youbq,$id,$use,$mess,$c卡塔尔(قطر‎; else usehf($message,$useinfo,$id,$use,$ft,$mess,$cState of Qatar; } } else echo script language='JavaScript' alert('张开文件八花九裂!也许服务器忙,请稍候再试!'卡塔尔国; /script; ? table width=百分之百 cellpadding=4 cellspacing=0 border=0 tr td height=20 div align=right/div /td td height=20 width=75/td td height=20 width=75/td td height=20 width=75/td td height=20 width=75/td /tr tr td height=20 div align=right/div /td td height=20 width=百分之十 div align=centera href=reguse.php?action=xyimg src=images/top_register.gif width=74 height=21 border=0/a/div /td td height=20 width=10% div align=centera href=useinfo.php?action=findimg src=images/top_members.gif width=74 height=21 border=0/a/div /td td height=20 width=10%a href=useinfo.php?action=editimg src=images/top_profile.gif width=74 height=21 border=0/a/td td height=20 width=10%a href=okey.php?d=qimg src=images/top_logout.gif width=74 height=21 border=0/a/td /tr tr td height=20 div align=left当前岗位:font color=#0000FF狐网─狐网论坛─回复主旨:?echo font color='ff0000'.$zt./font;?/font/div /td tddiv align=centera href=foxbbs.phpimg src=images/index.gif width=70 height=20 border=0 align=middle/a/div /td td height=20 width=一成 div align=centera href=superuse.phpimg src=images/super.gif width=70 height=20 border=0 align=middle/a/div /td td height=20 width=一成 div align=centera href=reguse.php?action=xyimg src=images/dl.gif width=70 height=20 border=0 align=middle/a/div /td td height=20 width=百分之十 div align=centera href=../index.phpimg src=images/fox.gif width=70 height=20 border=0 align=middle/a/div /td/tr /table script language=JavaScript !-- var submitcount=0; function checkSubmit(卡塔尔 { if (submitcount == 0卡塔尔国 { submitcount++; return true; } else { if (submitcount0State of Qatar{ alert(帖子已成功交付了,别急,等等!卡塔尔(قطر‎; return false; } } } function check_com(卡塔尔(قطر‎{ if(document.form.youname.value.length ==0卡塔尔{ submitcount--; alert(名字不可能为空!快填上吗!卡塔尔国; return false; } if(document.form.youmail.value.length ==0卡塔尔{ submitcount--; alert(EMAIL不可能为空!快填上吧!卡塔尔; return false; } if(document.form.youoicq.value.length ==0卡塔尔国{ submitcount--; alert(OICQ不能为空!快填上吗!卡塔尔(قطر‎; return false; } if(document.form.message.value.length == 0卡塔尔国{ submitcount--; alert(内容无法为空!卡塔尔; return false; } return true; } //-- /script table width='百分之七十' border='0' cellspacing='0' cellpadding='0' bgcolor='#000000' align='center' tr td table width='100%' border='0' cellspacing='0' cellpadding='0' tr bgcolor='#006699' tddiv align=centerfont color=ffffff? echo font color='00ff00'.$useinfo[2]./font; ? 你正在复苏的核心是:[? echo $zt; ?]/font/div/td /tr tr bgcolor='#eeeeee' td form name=form onSubmit=return check_com(卡塔尔(قطر‎ method=postdiv align=center ? if ($usenameState of Qatar//不是注册顾客就呈现输入框输入游客音讯。 { echo 你的大名:input onFocus='this.select(State of Qatar' style='BACKGROUND-COLOLAND: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youname' size='30' maxlength='30' value='.$youname.'; echo OICQ:input onFocus='this.select()' style='BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youoicq' size='16' maxlength='16' value='.$youoicq.'br; echo 来自哪里:input onFocus='this.select(卡塔尔(قطر‎' style='BACKGROUND-COLO中华V: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youaddr' size='55' value='.$youaddr.'br; echo 电子信箱:input onFocus='this.select(State of Qatar' style='BACKGROUND-COLOTucson: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youmail' size='55' value='.$youmail.'br; echo 个人主页:input onFocus='this.select(State of Qatar' style='BACKGROUND-COLOENCORE: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' type='text' name='youweb' size='55' value='.$youweb.'br; echo 表情brinput type='radio' name='bq[0]' value='a'img src='images/a.gif'input type='radio' name='bq[1]' value='1'img src='images/1.gif'; echo input type='radio' name='bq[2]' value='2'img src='images/2.gif'input type='radio' name='bq[3]' value='3'img src='images/3.gif'; echo input type='radio' name='bq[4]' value='4'img src='images/4.gif'input type='radio' name='bq[5]' value='5'img src='images/5.gif'; echo input type='radio' name='bq[6]' value='6'img src='images/6.gif'input type='radio' name='bq[7]' value='7'img src='images/7.gif'; echo input type='radio' name='bq[8]' value='8'img src='images/8.gif'input type='radio' name='bq[9]' value='9'img src='images/9.gif'br; } echo div align='center'回复内容br; echo textarea onFocus='this.select(卡塔尔' style='BACKGROUND-COLO奇骏: #ffffff; BORDER-BOTTOM: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed;' name='message' cols='64' rows='5' wrap='VIRTUAL'.$message./textareabr; ? input type=submit name=Submit value=确定 onClick=return checkSubmit() input type=reset name=Submit2 value=重写/div/div/form /td /tr tr bgcolor='#eeeeee'//假设是援用原来的书文就呈现 tddiv align=center? if ($c==dd卡塔尔国echo 原著如下brdiv align='left'.$mess;?/div/td /tr /table /td /tr /table /body /html

本文由澳门新葡亰登入发布于热门新闻,转载请注明出处:repal.php回复用的页面

关键词: