无为清净楼资源网 Design By www.qnjia.com
post.php(发新贴子)
<HTML><HEAD><TITLE>疑难问题</TITLE>
<LINK href="mypic/style.css" rel=STYLESHEET type=text/css></HEAD>
<?php
if (!$cookie_user)
{echo "<script language='javascript'>";
echo "parent.location.href='index.php'";
echo "</script>";}
else {include ("connect.inc.php");
$query = "select * from my_user where user='".$cookie_user."' and password='".$cookie_password."'";
$res = mysql_query($query);
if (!$res)
{echo "<script language='javascript'>";
echo "parent.location.href='index.php'";
echo "</script>";}
include "connect.inc.php";
if ($theme) {$content=htmlspecialchars($content);
$content=nl2br($content);
$theme=htmlspecialchars($theme);
$theme=nl2br($theme);
$query = "INSERT INTO guestbook (name,type,theme,content,icon,time_open,time_close,answer_count,answer_name) VALUES ('".$cookie_user."',1,'".$theme."','".$content."',".$icon.",now(),now(),1,'".$cookie_user."')";
$res = mysql_query($query);
if ($res)
{echo "<script language='javascript'>";
echo "parent.location.href='post_end.php'";
echo "</script>";}
else echo $query;}}
?>
<SCRIPT language=JavaScript>
<!--
var submitcount=0;
function check_com(){
if(document.form.theme.value.length ==0){
submitcount--;
alert("主题不能为空!nYou must supply a subject.");
return false;
}
if(document.form.content.value.length == 0){
submitcount--;
alert("加贴内容不能为空!nYou must supply a message.");
return false;
}
return true;
}
//-->
</SCRIPT>
<BODY bgColor=#cccc99 bottomMargin=0 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%" class=body_br>
<TBODY>
<SCRIPT language=JavaScript
src="mypic/x.js"></SCRIPT>
<TR>
<TD vAlign=top>
<FORM action=post.php?forum_id=11 method=post name=form
onsubmit="return check_com()">
<TABLE align=center border=0 cellPadding=4 cellSpacing=0 width=100%>
<TBODY>
<TR>
<TD class=mid width=20%>主 题</TD>
<TD><INPUT maxLength=30 name=theme size=50> </TD>
<TR>
<TD class=mid vAlign=top>表情图标</TD>
<TD><INPUT CHECKED name=icon type=radio value=1> <IMG
align=ABSCENTER height=18
src="mypic/icon1.gif"
width=18><INPUT name=icon type=radio value=2> <IMG
align=ABSCENTER height=18
src="mypic/icon2.gif"
width=18><INPUT name=icon type=radio value=3> <IMG
align=ABSCENTER height=18
src="mypic/icon3.gif"
width=18><INPUT name=icon type=radio value=4> <IMG
align=ABSCENTER height=18
src="mypic/icon4.gif"
width=18><INPUT name=icon type=radio value=5> <IMG
align=ABSCENTER height=18
src="mypic/icon5.gif"
width=18><INPUT name=icon type=radio value=6> <IMG
align=ABSCENTER height=18
src="mypic/icon6.gif"
width=18><INPUT name=icon type=radio value=7> <IMG
align=ABSCENTER height=18
src="mypic/icon7.gif"
width=18><BR><INPUT name=icon type=radio value=8> <IMG
align=ABSCENTER height=18
src="mypic/icon8.gif"
width=18><INPUT name=icon type=radio value=9> <IMG
align=ABSCENTER height=18
src="mypic/icon9.gif"
width=18><INPUT name=icon type=radio value=10> <IMG
align=ABSCENTER height=18
src="mypic/icon10.gif"
width=18><INPUT name=icon type=radio value=11> <IMG
align=ABSCENTER height=18
src="mypic/icon11.gif"
width=18><INPUT name=icon type=radio value=12> <IMG
align=ABSCENTER height=18
src="mypic/icon12.gif"
width=18><INPUT name=icon type=radio value=13> <IMG
align=ABSCENTER height=18
src="mypic/icon13.gif"
width=18><INPUT name=icon type=radio value=14> <IMG
align=ABSCENTER height=18
src="mypic/icon14.gif"
width=18></TD></TR>
<TR>
<TD class=mid vAlign=top>加贴内容</TD>
<TD><TEXTAREA cols=50 name=content rows=6></TEXTAREA> </TD></TR>
<TR>
<TD> </TD>
<TD><INPUT name=submit onclick="return checkSubmit()" type=submit value=" 发 表 ">
<INPUT name=reset type=reset value=" 清 除 "> </TD></TR>
</TBODY></TABLE></FORM></TD></TR>
</TBODY></TABLE>
</FORM>
</html>
【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】
<HTML><HEAD><TITLE>疑难问题</TITLE>
<LINK href="mypic/style.css" rel=STYLESHEET type=text/css></HEAD>
<?php
if (!$cookie_user)
{echo "<script language='javascript'>";
echo "parent.location.href='index.php'";
echo "</script>";}
else {include ("connect.inc.php");
$query = "select * from my_user where user='".$cookie_user."' and password='".$cookie_password."'";
$res = mysql_query($query);
if (!$res)
{echo "<script language='javascript'>";
echo "parent.location.href='index.php'";
echo "</script>";}
include "connect.inc.php";
if ($theme) {$content=htmlspecialchars($content);
$content=nl2br($content);
$theme=htmlspecialchars($theme);
$theme=nl2br($theme);
$query = "INSERT INTO guestbook (name,type,theme,content,icon,time_open,time_close,answer_count,answer_name) VALUES ('".$cookie_user."',1,'".$theme."','".$content."',".$icon.",now(),now(),1,'".$cookie_user."')";
$res = mysql_query($query);
if ($res)
{echo "<script language='javascript'>";
echo "parent.location.href='post_end.php'";
echo "</script>";}
else echo $query;}}
?>
<SCRIPT language=JavaScript>
<!--
var submitcount=0;
function check_com(){
if(document.form.theme.value.length ==0){
submitcount--;
alert("主题不能为空!nYou must supply a subject.");
return false;
}
if(document.form.content.value.length == 0){
submitcount--;
alert("加贴内容不能为空!nYou must supply a message.");
return false;
}
return true;
}
//-->
</SCRIPT>
<BODY bgColor=#cccc99 bottomMargin=0 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%" class=body_br>
<TBODY>
<SCRIPT language=JavaScript
src="mypic/x.js"></SCRIPT>
<TR>
<TD vAlign=top>
<FORM action=post.php?forum_id=11 method=post name=form
onsubmit="return check_com()">
<TABLE align=center border=0 cellPadding=4 cellSpacing=0 width=100%>
<TBODY>
<TR>
<TD class=mid width=20%>主 题</TD>
<TD><INPUT maxLength=30 name=theme size=50> </TD>
<TR>
<TD class=mid vAlign=top>表情图标</TD>
<TD><INPUT CHECKED name=icon type=radio value=1> <IMG
align=ABSCENTER height=18
src="mypic/icon1.gif"
width=18><INPUT name=icon type=radio value=2> <IMG
align=ABSCENTER height=18
src="mypic/icon2.gif"
width=18><INPUT name=icon type=radio value=3> <IMG
align=ABSCENTER height=18
src="mypic/icon3.gif"
width=18><INPUT name=icon type=radio value=4> <IMG
align=ABSCENTER height=18
src="mypic/icon4.gif"
width=18><INPUT name=icon type=radio value=5> <IMG
align=ABSCENTER height=18
src="mypic/icon5.gif"
width=18><INPUT name=icon type=radio value=6> <IMG
align=ABSCENTER height=18
src="mypic/icon6.gif"
width=18><INPUT name=icon type=radio value=7> <IMG
align=ABSCENTER height=18
src="mypic/icon7.gif"
width=18><BR><INPUT name=icon type=radio value=8> <IMG
align=ABSCENTER height=18
src="mypic/icon8.gif"
width=18><INPUT name=icon type=radio value=9> <IMG
align=ABSCENTER height=18
src="mypic/icon9.gif"
width=18><INPUT name=icon type=radio value=10> <IMG
align=ABSCENTER height=18
src="mypic/icon10.gif"
width=18><INPUT name=icon type=radio value=11> <IMG
align=ABSCENTER height=18
src="mypic/icon11.gif"
width=18><INPUT name=icon type=radio value=12> <IMG
align=ABSCENTER height=18
src="mypic/icon12.gif"
width=18><INPUT name=icon type=radio value=13> <IMG
align=ABSCENTER height=18
src="mypic/icon13.gif"
width=18><INPUT name=icon type=radio value=14> <IMG
align=ABSCENTER height=18
src="mypic/icon14.gif"
width=18></TD></TR>
<TR>
<TD class=mid vAlign=top>加贴内容</TD>
<TD><TEXTAREA cols=50 name=content rows=6></TEXTAREA> </TD></TR>
<TR>
<TD> </TD>
<TD><INPUT name=submit onclick="return checkSubmit()" type=submit value=" 发 表 ">
<INPUT name=reset type=reset value=" 清 除 "> </TD></TR>
</TBODY></TABLE></FORM></TD></TR>
</TBODY></TABLE>
</FORM>
</html>
【本文版权归作者与奥索网共同拥有,如需转载,请注明作者及出处】
无为清净楼资源网 Design By www.qnjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
无为清净楼资源网 Design By www.qnjia.com
暂无评论...
更新日志
2024年11月15日
2024年11月15日
- 群星.2002-恋爱物语情歌对唱精选2CD(引进版)【滚石】【WAV+CUE】
- 群星《闽南情24K德国HD金碟》2CD[WAV+CUE]
- 周传雄《恋人创世纪》环球唱片[WAV+CUE]
- 关淑怡-《真假情话K2HD》(日本压制)【WAV+CUE】
- 王菲 -《Faye Wong》雨果LPCD45 [WAV+分轨][1G]
- 陈百强《世纪10星·永恒篇》环球[WAV+CUE][1G]
- 陈奕迅《黑·白·灰》台湾版[WAV+CUE][400M]
- 张尕怂.2024-甘肃娃娃【FLAC分轨】
- 张惠妹.2011-A.MEI.ACOUSTIC.BEST.2CD【丰华】【WAV+CUE】
- ZEN.1996-珍惜所有【华纳】【WAV+CUE】
- 群星《环球国语元素》香港首版[WAV+CUE][1G]
- 周慧敏《玉女天后》原音母版1:1直刻[WAV+CUE][1G]
- 谭咏麟《20世纪中华歌坛名人百集珍藏版》[WAV+CUE][1G]
- 炉石传说40轮盘术最新卡组代码在哪找 标准40轮盘术卡组代码分享
- 炉石传说亲王贼怎么玩 2024亲王贼最新卡组代码分享