?? manage_culturenewsadd.asp
字號:
<!--#include file="conn.asp"-->
<!--#include file="admin.asp"-->
<!--#include file="../Inc/articleCHAR.INC"-->
<%
title=server.htmlencode(Trim(Request("title")))
content=server.htmlencode(Trim(Request("content")))
%>
<%if Request.QueryString("mark")="southidc" then%>
<%
If title="" Then
response.write "SORRY <br>"
response.write "請輸入更新內(nèi)容的標題!!<a href=""javascript:history.go(-1)"">返回重輸</a>"
response.end
end if
If content="" Then
response.write "SORRY <br>"
response.write "內(nèi)容不能為空!!<a href=""javascript:history.go(-1)"">返回重輸</a>"
response.end
end if
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from Culturewygk "
rs.open sql,conn,1,3
rs.addnew
rs("title")=title
rs("content")=content
rs("counter")=0
rs("time")=Date()
rs.update
rs.close
response.redirect "Manage_culture.asp"
end if
%>
<!-- #include file="Inc/Head.asp" -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"> <br> <strong><br>
</strong> <br> <br>
<table width="560" border="0" cellpadding="2" cellspacing="1" class="table_southidc">
<tr>
<td class="back_southidc" height="25"> <div align="center"><strong>添加企業(yè)文化文章
<br>
</strong></div></td>
</tr>
<tr>
<form method="post" action="Manage_cultureNewsAdd.asp?mark=southidc">
<td><div align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr bgcolor="#E7E7E7">
<td width="8%" height="25" bgcolor="#ECF5FF">
<div align="center">標 題</div></td>
<td width="62%" bgcolor="#ECF5FF">
<input type="text" name="title" class="inputtext" maxlength="30" size="25">
</td>
</tr>
<tr bgcolor="#E7E7E7">
<td height="22" bgcolor="#ECF5FF">
<div align="center">UBB代碼</div></td>
<td bgcolor="#ECF5FF">
<script src=../Inc/eshopcode.js></script>
<!--#include file=../Inc/Ubb.inc -->
</td>
</tr>
<tr bgcolor="#E7E7E7">
<td height="25" bgcolor="#ECF5FF">
<div align="center">內(nèi) 容</div></td>
<td height="25" bgcolor="#ECF5FF">
<textarea name="content" cols="57" rows="12" wrap="PHYSICAL"></textarea>
</td>
</tr>
<tr bgcolor="#ECF5FF">
<td height="25" colspan="2">
<div align="center">
<input type="submit" value="確定">
<input type="reset" value="取消">
</div></td>
</tr>
<tr>
<td colspan="2">圖片上傳</td>
</tr>
<tr>
<td colspan="2"><div align="center">
<iframe name="ad" frameborder=0 width=100% height=50 scrolling=no src=../upload_Other.asp></iframe>
</div></td>
</tr>
</table>
</div></td>
</form>
</tr>
</table>
<br> <br> </td>
</tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -