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

📄 setstatus.asp

📁 功能简介: 前台: 1.用户名注册:登 录 名:密码:确认密码:性别:查询权限: 地址: 联系电话: 移动电话: E - mail: 工作单位 2.系统优点管理,公告新闻管理,联系我们管理
💻 ASP
字号:
<!--#include file="inc/inc.asp"-->
<!--#include file="conn.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0032)http://www.doofan.cn/25175/4400/ -->
<HEAD><TITLE>25175材料网,信息价系统</TITLE>
<%
dim city,title,sql,sel,i
	if(request("city1")<>"") then
	
	
	city=request("city1")
	if(request("city2")<>"") then
	city=request("city2")
	end if
	sel=request("sel")
	
	dim str
	
myArr=Split(sel,",") 


sql="delete from status  where provinceid='"&city&"'"
	
			conn.Execute(sql)
	
	
	for i=0 to ubound(myArr)
	
		
		
			sql="insert into status (provinceid,title) values ('"&city&"','"&trim(myArr(i))&"')"
	
			conn.Execute(sql)
		
		
	next
	
	end if
	
%>
<script language="javascript" src="inc/ssq.js"></script>
<SCRIPT language=JavaScript>

//下拉菜单相关代码
 var h;
 var w;
 var l;
 var t;
 var topMar = 1;
 var leftMar = -55;
 var space = 1;
 var isvisible;
 var MENU_SHADOW_COLOR='#BBE0F0';   //定义下拉菜单阴影色
 var global = window.document
 global.fo_currentMenu = null
 global.fo_shadows = new Array

function HideMenu() 
{
 var mX;
 var mY;
 var vDiv;
 var mDiv;
	if (isvisible == true)
{
		vDiv = document.all("menuDiv");
		mX = window.event.clientX + document.body.scrollLeft;
		mY = window.event.clientY + document.body.scrollTop;
		if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
			vDiv.style.visibility = "hidden";
			isvisible = false;
		}
}
}

function ShowMenu(vMnuCode,tWidth) {
	vSrc = window.event.srcElement;
	vMnuCode = "<table id='submenu' cellspacing=2 cellpadding=2 style='border: 1px #444444 solid;width:"+tWidth+"' onmouseout='HideMenu()'><tr><td nowrap align=right height=20>" + vMnuCode + "</td></tr></table>";

	h = vSrc.offsetHeight;
	w = vSrc.offsetWidth;
	l = vSrc.offsetLeft + leftMar+4;
	t = vSrc.offsetTop + topMar + h + space-2;
	vParent = vSrc.offsetParent;
	while (vParent.tagName.toUpperCase() != "BODY")
	{
		l += vParent.offsetLeft;
		t += vParent.offsetTop;
		vParent = vParent.offsetParent;
	}

	menuDiv.innerHTML = vMnuCode;
	menuDiv.style.top = t;
	menuDiv.style.left = l;
	menuDiv.style.visibility = "visible";
	isvisible = true;
    makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)
}

function makeRectangularDropShadow(el, color, size)
{
	var i;
	for (i=size; i>0; i--)
	{
		var rect = document.createElement('div');
		var rs = rect.style
		rs.position = 'absolute';
		rs.left = (el.style.posLeft + i) + 'px';
		rs.top = (el.style.posTop + i) + 'px';
		rs.width = el.offsetWidth + 'px';
		rs.height = el.offsetHeight + 'px';
		rs.zIndex = el.style.zIndex - i;
		rs.backgroundColor = color;
		var opacity = 1 - i / (i + 1);
		rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
		el.insertAdjacentElement('afterEnd', rect);
		global.fo_shadows[global.fo_shadows.length] = rect;
	}
}
//读取下拉菜单

var menulists1 = '  '
var rownum=1;
function check(d){
	
	
	var srt=d.value;
	 	var p=/^[-]?\d+$/;
 	 if   (!p.exec(srt)){
      alert("请输入有效数字!");   
      d.focus();
  		return false;
      }
}
function addrow(){
		rownum=rownum+1;
		document.all.rownum.value=rownum;
		var ls_t=document.all("t111");			
		mynewrow = ls_t.insertRow();
		mynewcel4=mynewrow.insertCell();
		mynewcel4.innerHTML='<input class=unnamed1_rld  id=snum'+rownum+' type=text size=20 name=snum'+rownum+' />';
				
		mynewcell=mynewrow.insertCell();		 					
		mynewcell.innerHTML='<input name="data_time'+rownum+'" type="text"  value="<%=year(now)%>-<%=month(now)%>-<%=day(now)%>"   size="20" id="per_birth"  onclick="setday(this)" readonly="true"/>';
		
		mynewcel2=mynewrow.insertCell();
		mynewcel2.innerHTML='<input class=unnamed1_rld id=behavior'+rownum+' type=text size=20 name=behavior'+rownum+' />';
		
		mynewcel3=mynewrow.insertCell();
		mynewcel3.innerHTML='<input class=unnamed1_rld id=num'+rownum+'  onblur="check(this)" type=text size=20 name=num'+rownum+' />';
	
		mynewcel4=mynewrow.insertCell();
		mynewcel4.innerHTML='<input class=unnamed1_rld  id=bz'+rownum+' type=text size=20 name=bz'+rownum+' />';
		
}
function delrow(){
	var ls_t=document.all("t111");
	ls_t.deleteRow(ls_t.rows.length-1);
}

</SCRIPT>

<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/25175css_pro.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<link rel="stylesheet" href="style.css">
</HEAD>
<BODY onmousemove=HideMenu() bgColor=#fbfdff leftMargin=0 topMargin=0 
marginheight="0" marginwidth="0">
<!--#include file="top.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=970 border=0>
  <TBODY>
  <TR>
    <TD width=10>
      <DIV align=center></DIV></TD></TR>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
		
          
          <TD vAlign=top bgColor=#a5bec6 rowSpan=2>
            <TABLE cellSpacing=1 cellPadding=0 width=970 border=0>
              <TBODY>
              <TR>
                <TD bgColor=#e7f3ff>
				 
                  <TABLE cellSpacing=4 cellPadding=0 width=750 border=0>
                    <TBODY>
                    <TR>
                      <TD vAlign=top bgColor=#004194 height=300>
                        <TABLE cellSpacing=1 cellPadding=0 width=970 border=0>
                          <TBODY>
                          <TR>
                            <TD vAlign=top bgColor=#ffffff height=400>
                              <TABLE cellSpacing=0 cellPadding=2 width="100%" 
                              align=center border=0>
                                <TBODY>
                                <TR>
                                <TD><IMG height=18 
                                src="images/face5.gif" width=18> 
                                
								 <STRONG>&nbsp;&nbsp;<a href="addcl.asp">材料添加</a></STRONG>
								 <STRONG>&nbsp;&nbsp;<a href="addclass.asp">类别添加</a></STRONG><STRONG>&nbsp;&nbsp;<a href="setstatus.asp">设置字段</a></STRONG>
								 <STRONG>&nbsp;&nbsp;<a href="http://www.25175.com/help/flash/qgzj/1.swf" target="_blank">查询设置</a></STRONG>
								   <STRONG>&nbsp;&nbsp;<a href="showinfo.asp">综合版</a></STRONG>
								    <STRONG>&nbsp;&nbsp;<a href="showinfo1.asp">商情版</a></STRONG><STRONG>&nbsp;&nbsp;<a href="http://www.25175.com/help/flash/qgzj/2.swf" target="_blank">导入</a></STRONG>	<STRONG>&nbsp;&nbsp;<a href="manageuser.asp">用户管理</a></STRONG>						
								</TD>
                                </TR>
                               <TR>
                                <TD>
                                <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                align=center border=0 height=5>
                                <TBODY>
                                <TR>                                
                                <TD><FORM id=form3 name=form3 action=setstatus.asp method=post>
								
								
								<table id="t111"  cellspacing=0 cellpadding=2 width="100%" 
                                align=center border=0>
                                  <tbody>
								
                                    <tr>
									
									
                                <TD height=23  align="right" width="35%"   >选择地区:</TD>
								<TD height=23  align="left" width="65%" > <SELECT id=city1  name=city1  onchange="eval('city_1('+this.value+')');eval('city_2('+document.all.city2.value+')');getCityValue();"><OPTION value="" selected>请选择</OPTION></SELECT> <SELECT id=city2  name=city2><OPTION value="" selected>请选择</OPTION></SELECT>
				<input type=hidden name="F0208" id="city_value" value="">
<script language=javascript>
full_city();
</script>																</TD>
                                    </tr>
									   <tr>
									
									
                                <TD height=23  align="right" rowspan="4"   width="35%" >不显示字段:</TD>
								<TD height=23  align="left" width="65%" ><input type="checkbox"value="cl_bh" name="sel" />
代码&nbsp;
  <input type="checkbox"value="cl_title" name="sel" />
材料名称
<input type="checkbox"  value="cl_xh" name="sel" />
型号规格&nbsp;
<input type="checkbox" value="cl_dw" name="sel" />
								单位
								<input type="checkbox" value="cl_zhj" name="sel" />
								信息价								&nbsp;</TD>
									   </tr>
									
									 <tr>
									
									
                                
								<TD height=23  align="left" width="65%" ><p>
								  
								  <input type="checkbox"value="cl_ajg" name="sel" />
供应价
<input type="checkbox"value="cl_bjg" name="sel" />
								到工地价&nbsp;
								<input type="checkbox"value="cl_cjg" name="sel" />
								C价格&nbsp;
								<input type="checkbox"value="cl_djg" name="sel" />
								D价格&nbsp;
								<input type="checkbox"value="cl_ejg" name="sel" />
								E价格&nbsp;
								<input type="checkbox"value="cl_fjg" name="sel" />
								  F价格&nbsp;
								
								  </TD>
                                    </tr>
									
									
									
									 <tr>
									
									
                                
								<TD height=23  align="left" width="65%" ><p>
								  <input type="checkbox"value="cl_cd" name="sel" />
								  产地&nbsp;
								  <input type="checkbox"value="cl_dj" name="sel" />
								  等级&nbsp;
								  <input type="checkbox"value="cl_pp" name="sel" />
								  品牌&nbsp;
								  <input type="checkbox" value="cl_yj" name="sel" />
厂商&nbsp;
<input type="checkbox"value="cl_bz1" name="sel" />
地区&nbsp;
<input type="checkbox"value="cl_bz2" name="sel" />
供货单位及电话&nbsp;
<input type="checkbox"value="cl_bz3" name="sel" />
备注3&nbsp;</TD>
                                    </tr>
									
									 <tr>
									
									
                                
								<TD height=23  align="left" width="65%" ><p>&nbsp;</p></TD>
                                    </tr>
									
									
									
									 <tr>
									
									
                                <TD height=23  align="right" width="35%" ><input type="hidden" name="id" value="<%=id%>"/></TD>
								<TD height=23  align="left" width="65%" >
								  <div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								    <input name="submit" type="submit" value="设置"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								    <INPUT type="button" value=返回 onclick="javascript:window.history.back()" name=Submit>
								           </div></TD>
                                    </tr>
                                  </tbody>
                                </table>
								</FORM></TD></TR></TBODY></TABLE></TD></TR>
						  
							   <TR>
                                 <TD>&nbsp;</TD>
							   </TR>
						  
                             
							 
							 
                                <TR>
                                  <TD>&nbsp;</TD>
                                </TR>
                                </TBODY></TABLE></TD></TR></TBODY></TABLE>
								
								
								</TD>
								</TR>
								</TBODY>
								</TABLE>
							
					  </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD>
      <DIV align=center></DIV></TD></TR>
  <TR>
    <TD width=10>
      <DIV align=center></DIV></TD></TR>
  <TR>
    <TD bgColor=#b1d6e4 height=25>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD bgColor=#b1d6e4 height=25>&nbsp;Copyright &copy; 2007-2010 25175材料网 All 
            rights reserved. Powered by <A title=25175你我一起舞 
            href="http://www.25175.com/" 
      target=_blank>25175</A></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD>&nbsp;</TD></TR></TBODY></TABLE></BODY></HTML>

⌨️ 快捷键说明

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