📄 initiatemeet.php
字号:
<?
include("pwdsuper.php");
include("connect.inc.php");
include("char.inc.php");
if (isset($flag)){
$pubdate=$year."年".$month."月".$day."日".$hour."时".$minute."分";
if(isset($checkbox)){
$initiator=$initname;
}else{
$fromquery=@mysql_query("select name from zmis41197 where studentnumber=".$userid,$conn)or die(mysql_error());
$fromarray=mysql_fetch_array($fromquery);
$initiator=$fromarray["name"];
}
$query="insert into meet (initiator,meetdt,address,pubdate,title,userid,memo) values ('$initiator','$pubdate','$address',CURDATE(),'$title',$userid,'$memo')";
if(mysql_query($query))
//echo "<center>已成功完成消息的广播!</center><br>";
echo "<center></center>";
else
echo "<center>".mysql_error()."</center><br>";
}
?>
<html>
<head>
<SCRIPT LANGUAGE="JavaScript"><!--
function cbclick(){
if(form1.checkbox.checked==1) form1.initname.disabled=0
else form1.initname.disabled=1
}
function ok_onclick(){
var text=""
var temp=""
if(form1.checkbox.checked==1) temp=form1.initname.value
else temp="notnull"
if(form1.title.value!="" && form1.memo.value!="" && form1.address.value!="" && form1.year.value!="" && form1.month.value!="" && form1.day.value!="" && form1.hour.value!="" && form1.minute.value!="" && temp!="") form1.submit()
else text="你没有填写"
if (form1.title.value=="") text=text+" 标题"
if (form1.memo.value=="") text=text+" 内容"
if (form1.address.value=="") text=text+" 地址"
if (form1.year.value=="") text=text+" 年"
if (form1.month.value=="") text=text+" 月"
if (form1.day.value=="") text=text+" 日"
if (form1.hour.value=="") text=text+" 小时"
if (form1.minute.value=="") text=text+" 分钟"
if (temp=="") text=text+" 发起人"
if(form1.title.value=="" || form1.memo.value=="" || form1.address.value=="" || form1.year.value=="" || form1.month.value=="" || form1.day.value=="" || form1.hour.value=="" || form1.minute.value=="" || temp=="") alert(text)
}
//-->
</SCRIPT>
<style type="text/css">
<!--
td{font-size:12px;line-height:17px;}
a:active {text-decoration: none;}
a:link {text-decoration: none;}
a:hover{text-decoration: underline;}
a:visited {text-decoration: none;}
BODY{font-size:12px;line-height:17px;SCROLLBAR-FACE-COLOR: #83d160; SCROLLBAR-HIGHLIGHT-COLOR: #CCFF00; SCROLLBAR-SHADOW-COLOR: #CCFF00; SCROLLBAR-3DLIGHT-COLOR: #009900; SCROLLBAR-ARROW-COLOR: #006600; SCROLLBAR-TRACK-COLOR: ##99FF00; SCROLLBAR-DARKSHADOW-COLOR: #009900; }
-->
</style>
<title>::::发起聚会::::</title>
<meta http-equiv="Content-Type" content="text/html;">
<!-- Fireworks 4.0 Dreamweaver 4.0 target. Created Wed Mar 20 14:48:27 GMT+0800 (?D1ú±ê×?ê±??) 2002-->
</head>
<body bgcolor="#dcf6ce" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" text="#666600" link="#009900" alink="#00FF00" vlink="#006600">
<table border="0" cellpadding="0" cellspacing="0" width="621">
<!-- fwtable fwsrc="无标题" fwbase="right.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="15" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="2" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="38" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="55" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="82" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="96" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="87" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="115" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="65" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="30" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="15" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td colspan="15" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="621" height="5" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="5" border="0"></td>
</tr>
<tr>
<td colspan="4" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="27" height="19" border="0"></td>
<td colspan="3"><img name="right_r2_c5" src="images/right_r2_c5.gif" width="175" height="19" border="0"></td>
<td colspan="8" bgcolor="#dcf6ce">::::发起聚会:::: </td>
<td><img src="images/spacer.gif" width="1" height="19" border="0"></td>
</tr>
<tr>
<td rowspan="9" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="5" height="425" border="0"></td>
<td colspan="3"><img name="right_r3_c2" src="images/right_r3_c2.gif" width="22" height="16" border="0"></td>
<td colspan="2" bgcolor="#83d160"><img src="images/spacer.gif" width="93" height="16" border="0"></td>
<td><img name="right_r3_c7" src="images/right_r3_c7.gif" width="82" height="16" border="0"></td>
<td><img name="right_r3_c8" src="images/right_r3_c8.gif" width="96" height="16" border="0"></td>
<td><img name="right_r3_c9" src="images/right_r3_c9.gif" width="87" height="16" border="0"></td>
<td><img name="right_r3_c10" src="images/right_r3_c10.gif" width="115" height="16" border="0"></td>
<td colspan="3"><img name="right_r3_c11" src="images/right_r3_c11.gif" width="100" height="16" border="0"></td>
<td><img name="right_r3_c14" src="images/right_r3_c14.gif" width="15" height="16" border="0"></td>
<td rowspan="9" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="6" height="425" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="16" border="0"></td>
</tr>
<tr>
<td colspan="3"><img name="right_r4_c2" src="images/right_r4_c2.gif" width="22" height="60" border="0"></td>
<td><img name="right_r4_c5" src="images/right_r4_c5.gif" width="38" height="60" border="0"></td>
<td colspan="6" bgcolor="#dcf6ce"><img src="images/ad.gif" width="500" height="60" border="0"></td>
<td colspan="2"><img name="right_r4_c12" src="images/right_r4_c12.gif" width="35" height="60" border="0"></td>
<td><img name="right_r4_c14" src="images/right_r4_c14.gif" width="15" height="60" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="60" border="0"></td>
</tr>
<tr>
<td colspan="3"><img name="right_r5_c2" src="images/right_r5_c2.gif" width="22" height="19" border="0"></td>
<td colspan="3"><img name="right_r5_c5" src="images/right_r5_c5.gif" width="175" height="19" border="0"></td>
<td><img name="right_r5_c8" src="images/right_r5_c8.gif" width="96" height="19" border="0"></td>
<td><img name="right_r5_c9" src="images/right_r5_c9.gif" width="87" height="19" border="0"></td>
<td><img name="right_r5_c10" src="images/right_r5_c10.gif" width="115" height="19" border="0"></td>
<td colspan="3"><img name="right_r5_c11" src="images/right_r5_c11.gif" width="100" height="19" border="0"></td>
<td><img name="right_r5_c14" src="images/right_r5_c14.gif" width="15" height="19" border="0"></td>
<td><img src="images/spacer.gif" width="1" height="19" border="0"></td>
</tr>
<tr>
<td rowspan="6" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="15" height="330" border="0"></td>
<td rowspan="2" background="images/box2.gif"><img name="right_r6_c3" src="images/right_r6_c3.gif" width="5" height="302" border="0"></td>
<td rowspan="2" colspan="9" bgcolor="#dcf6ce" valign="top" align="center">
<table width="550" border="0" cellspacing="0" cellpadding="0" height="322">
<tr>
<td width="46" height="62"><img src="images/ren_t_b.gif" width="46" height="62"></td>
<td colspan="2" height="62"><img src="images/ren_top.gif" width="69" height="62"></td>
<td height="62"></td>
<td width="4" height="62"><img src="images/spacer.gif" width="4" height="4"></td>
<td width="46" height="62"></td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -