⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 company.asp

📁 狼道公司源码下载
💻 ASP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--#include file="../Inc/Conn.asp" -->
<!--#include file="Check.asp" -->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="style.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<body leftmargin=0 bottommargin=0 rightmargin=0 topmargin=0>
<script src="images/admin.js" type="text/javascript"></script>
<div class=menuskin id=popmenu 
      onmouseover="clearhidemenu();highlightmenu(event,'on')" 
      onmouseout="highlightmenu(event,'off');dynamichide(event)" style="Z-index:100"></div>
<div align=center>
  <!--#include file="Top.asp" -->
<%
Content=Request("content")
EnContent=Request("Encontent")
if Request.Form("act")="save" then
   set rs=server.createobject("adodb.recordset")
   sql="select Content,EnContent from [WebConfig]"
   rs.open sql,conn,3,3
      if rs.eof then 
	     rs.addnew
	  end if
      rs("Content")=Content
	  rs("EnContent")=EnContent
   rs.update
   rs.close
   response.redirect "Company.asp"
end if

Set rs= Server.CreateObject("ADODB.Recordset")

rs.open "select Content,EnContent from [WebConfig]",conn,1,1
%>  
  <table cellpadding="2" cellspacing="1" border="0" width="96%" class="tableBorder" align=center>
  <form name="AddForm" method="post" action="Company.asp">
<tr>
  <th width="133%" height=25>企业简介</th>
</tr>
<tr><td class=BodyTitle height=23 style="FONT-SIZE: 9pt; FILTER: dropshadow(color=#FFFFFF,offx=1,offy=1); COLOR: #000000;"><input name="act" type="hidden" id="act" value="save"></td>
</tr>
<tr>
  <td height=31 align="center" class="forumRowHighlight">
  <div align="center">
            中文简介<br>
            <textarea name="Content" cols="80" rows="20" id="Content"><%=rs("Content")%></textarea>
  </div></td>
</tr>
<tr>
  <td height=31 align="center" class="forumRowHighlight"><div align="center"> 英文简介<br>
    <textarea name="EnContent" cols="80" rows="20" id="EnContent"><%=rs("EnContent")%></textarea>
</div></td>
</tr>
<tr>
  <td height=31 align="center" class="forumRowHighlight"><input type="submit" name="Submit" value=" 提 交 ">
    &nbsp;&nbsp;&nbsp;&nbsp; <input type="reset" name="Submit2" value=" 重 置 "></td>
</tr>
</form>
</table>
  
  <BR>
<BR>
</div>
</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -