?? edit.asp
字號:
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<%
if Request.Cookies("globalec")("globalecmaster")="" or Request.Cookies("globalec")("masterflag")="" then
response.write "<script language='javascript'>"
response.write"this.location.href='../login.asp';</SCRIPT>"
response.end
end if
if instr(Request.Cookies("globalec")("masterflag"),"81")=0 then
response.redirect "../err.asp"
response.end
end if
if Chkrequest(request("id")) then
id=request("id")
else
response.Redirect("../../login/chklogin.asp?login=4")
response.end
end if
sql="select * from expo where id="&id&""
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof then
response.Redirect("expo.asp?pass=0")
response.end
else
%>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../css/style.css">
<body>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center class="tableBorder">
<tr>
<th class="tableHeaderText" colspan=2 height=25>展會信息管理</th>
</tr>
<tr>
<td class="forumRowHighlight" colspan=2><p><B>注意</B>:<BR><font color=red>①任何的刪除操作都是不可逆的,執行刪除時請慎重。</font><BR>
<font color=blue>②點擊<font color=red>未審核</font>與<font color=red>已審核</font>即可進行審核操作。</font>
<br>
</td>
</tr>
<FORM name=searchForm action="select.asp" method=post>
<tr>
<td width="19%" height=25 class="forumRowHighlight">
<B>管理操作選項</B></td>
<td width="81%" class=forumRowHighlight>關鍵字:<input name="keywords" type="text" value="<%=keywords%>">
用戶組:<select name="which">
<option value="0" <%if action ="0" then Response.Write "selected"%>>待審展會信息</option>
<option value="1" <%if action ="1" then Response.Write "selected"%>>已審待審展會</option>
</select> <input type="submit" value="立刻查找" id=submit name=submit> [<a href="javascript:location.reload()">刷新頁面</a>]</td>
</tr>
</form>
</table>
<br>
<form action="Save_Edit.asp" name="form" method="post">
<input type='hidden' name='id' value="<%=id%>">
<input type='hidden' name="picture" value = "<%=rs("picture")%>">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableBorder"><tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="content_border">
<tr>
<td>
<script language="JavaScript" src="../../js/calendar.js"> </script>
<table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#5D86D6" style="border-bottom:#E7E7E7 5 solid;">
<tr>
<td width="180" align="middle" class=M><font color="#FFFFFF">展會基本信息</font></td>
<td bgcolor="#FFFFFF" align="right"> 標有 <font color="#FF0000">*</font> 為必填項</td>
</tr>
<tr>
<td bgcolor="#f6f6f6" colspan="3"></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="2">
<tr>
<td width="180" align="right" class=forumRow><span id="advance">圖片標題:</span></td>
<td valign="top" class=forumRow><input name="pic_on" type="checkbox" id="pic_on" value="1" onClick=showadv()></td>
</tr>
<TR>
<td class="Forumrow"></td>
<TD class="Forumrow">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id=adv style="DISPLAY: none">
<tr>
<td width="92%">
<IFRAME name="upload" MARGINHEIGHT=0 MARGINWIDTH=0 Frameborder=0 SCROLLING=no width=100% height=35 bordercolor="#f1f3f5" Src="AdvUploadPicture.asp"></IFRAME>
</td>
</tr>
</table></TD>
</TR>
<tr>
<td align="right" class=forumRow><font color="#FF0000">*</font> 展會名稱:</td>
<td valign="top" class=forumRow><input name="title" size="60" value="<%=rs("title")%>" maxlength="64"></td>
</tr>
<tr>
<td align="right" class=forumRow> <font color="#FF0000">*</font> 舉辦國家:</td>
<td valign="top" class=forumRow> <select name="holdCountry">
<option value="" selected >--選擇國家與地區--</option>
<option value="CN" <%if rs("holdCountry")="CN" then response.write"selected"%>>中國大陸</option>
<option value="HK" <%if rs("holdCountry")="HK" then response.write"selected"%>>中國香港</option>
<option value="MO" <%if rs("holdCountry")="MO" then response.write"selected"%>>中國澳門</option>
<option value="TW" <%if rs("holdCountry")="TW" then response.write"selected"%>>中國臺灣</option>
<option value="QT" <%if rs("holdCountry")="QT" then response.write"selected"%>>--其他國家--</option>
</select> </td>
</tr>
<tr>
<td align="right" class=forumRow> <font color="#FF0000">*</font> 參展日期:</td>
<td valign="top" class=forumRow> <input type="text" name="beginDate" size="16" maxlength="16" value="<%=rs("beginDate")%>" onfocus="calendar()" >
~
<input type="text" name="endDate" size="16" maxlength="16" value="<%=rs("endDate")%>" onfocus="calendar()" >
<br>
<font color="#999999">(日期格式:2004-10-01) </font></td>
</tr>
<tr>
<td width="180" align="right" class=forumRow> <font color="#FF0000">*</font> 報名截止:</td>
<td class=forumRow> <input type="text" name="expireDate" size="16" maxlength="16" value="<%=rs("expireDate")%>" onfocus="calendar()" >
<br>
<font color="#999999">(日期格式:2004-10-01) </font></td>
</tr>
<tr>
<td align="right" class=forumRow> <font color="#FF0000">*</font> 參展地(展館):</td>
<td valign="top" class=forumRow> <input name="place" size="45" maxlength="64" value="<%=rs("place")%>"> </td>
</tr>
<tr>
<td align="right" class=forumRow> 批準單位:</td>
<td valign="top" class=forumRow> <input type="text" name="authorize" size="45" value="<%=rs("authorize")%>" maxlength="64"> </td>
</tr>
<tr>
<td align="right" class=forumRow> <font color="#FF0000">*</font> 主辦單位:</td>
<td valign="top" class=forumRow> <textarea name="frontFor" cols="60" rows="4"><%=rs("frontFor")%></textarea> </td>
</tr>
<tr>
<td align="right" class=forumRow> 承辦單位:</td>
<td valign="top" class=forumRow> <textarea name="undertake" cols="60" rows="8"><%=rs("undertake")%></textarea> </td>
</tr>
<tr>
<td align="right" class=forumRow> 支持協辦單位:</td>
<td valign="top" class=forumRow> <textarea name="aidance" cols="60" rows="8"><%=rs("aidance")%></textarea> </td>
</tr>
</table>
<br>
<table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#5D86D6" style="border-bottom:#E7E7E7 5 solid;">
<tr>
<td width="180" align="center" class=M><font color="#ffffff">展會簡介</font></td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td bgcolor="#f6f6f6" colspan="2"></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="2">
<tr>
<td width="180" align="right" class=forumRow><font color="#FF0000">* </font>展會簡介 </td>
<td valign="top" class=forumRow> <textarea name="brief" rows="8" cols="60"><%=rs("brief")%></textarea></td>
</tr>
</table>
<br>
<table border="0" width="100%" cellpadding="4" cellspacing="0" align="center" bgcolor="#5D86D6" style="border-bottom:#E7E7E7 5 solid;">
<tr>
<td width="180" align="center" class=M><font color="#ffffff">參展范圍</font></td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td bgcolor="#f6f6f6" colspan="2"></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="2">
<tr>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -