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

📄 edit_sale.asp

📁 不错的ASP整站源代码。在IIS环境下运行都没有问题
💻 ASP
字号:
<!--#include file="../checkuser.asp" -->
<%
 m_ver = Trim(request("ver"))
 if m_ver="cn" then 
  tmpstr_t="[中文版]"
 elseif  m_ver="en"  then 
 tmpstr_t="[英文版]"
 else
 response.write "错误访问页面,请重试" 
 response.end    
 End If%>
<!--#include file="../../Include/db_conn.asp" -->
<!--#include file="../../Include/pub_func.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改信息</title>
<script language="javascript">
function openscriphtml(formname){
		if (navigator.appName!="Microsoft Internet Explorer")
   		alert("此功能 Netscape 用户不能使用!")
	else
   		{newwin=window.open('htmledit/editor.html','','width=640,height=450,status=1');
    	newwin.focus();
		newwin.execScript("var formID='form1.content';");
   		}
	}
function checkform(){
      if (document.form1.title.value==""){
          alert("信息名称不能为空!请填写!");
          document.form1.title.focus();
          return false;
          }
      
      if (document.form1.content.value ==""){
          alert("信息内容不能为空!请填写!");
          document.form1.content.focus();
          return false;
          }
  		document.form1.action="add_sale_ok.asp";
		document.Form1.target="";

  }           
function preview()
{
	document.form1.action="preview.asp";
	document.Form1.target="_blank";
	document.form1.submit();
}
</script>
<link href="../include/styles.css" rel="stylesheet" type="text/css">
</head>
<%
id=request("id")
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from ys_sale where id ="& id &"",conn,1,1
%>
<div align="center"><img src="../images/Snapadd_sale.jpg" width="580" height="495"></div>

⌨️ 快捷键说明

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