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

📄 product_edit.asp

📁 这是一个物流网站的源代码
💻 ASP
📖 第 1 页 / 共 2 页
字号:
</script>
<body>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="1" class="border">
  <tr>
    <td class="title_dh"><div align="center">路线管理——修改路线</div></td>
  </tr>
</table>
<form name="form" action="" method="post">
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="1" class="border">
  <tr class="title_top">
    <td colspan="3"><div align="center">修改路线</div></td>
  </tr>
  <tr class="tdbg">
    <td width="20%">
    <div align="right"><strong>发货城市:</strong></div></td>
    <td colspan="2"><select name="sel1" class="Maxl" id="sel1" onChange="GetResult(this.value,1)">
      <option value="">请选择发货城市</option>
      <%sql="select * from productsort_c where ps_parentid=0 order by ps_id"
									set rs=conn.execute(sql)
									do while not rs.eof%>
      <option value="<%= rs("ps_id") %>"<% If rs("ps_id")=sel1 Then response.Write(" selected")%>><%= rs("ps_name") %></option>
      <%rs.movenext
									  loop
									  rs.close
									  set rs=nothing%>
    </select>
      <input type="hidden" name="add" value=1 id="add">
      <span class="style2">*(如果不改,请保持原样。)</span></td>
  </tr>
  <tr class="tdbg">
    <td height="26"><div align="right"><strong>区域:</strong></div></td>
    <td colspan="2"><select name="sel2" class="Maxl" id="sel2" onChange="GetResult(this.value,2)">
      <option value="">请选择区域</option>
	  <%sql="select * from productsort_c where ps_parentid="&sel1&" order by ps_id"
									set rs=conn.execute(sql)
									do while not rs.eof%>
      <option value="<%= rs("ps_id") %>"<% If rs("ps_id")=sel2 Then response.Write(" selected")%>><%= rs("ps_name") %></option>
      <%rs.movenext
									  loop
									  rs.close
									  set rs=nothing%>
    </select>
      <span class="style2">*(如果不改,请保持原样。)</span></td>
  </tr>
  <tr class="tdbg">
    <td height="26"><div align="right"><strong>到货城市:</strong></div></td>
    <td colspan="2"><select name="sel3" class="Maxl" id="sel3">
      <option value="">请选择到货城市</option>
      <%sql="select * from productsort_c where ps_parentid ="&sel2&" order by ps_id"
									set rs=conn.execute(sql)
									do while not rs.eof%>
      <option value="<%= rs("ps_id") %>"<% If rs("ps_id")=sel3 Then response.Write(" selected")%>><%= rs("ps_name") %></option>
      <%rs.movenext
									  loop
									  rs.close
									  set rs=nothing%>
    </select>
      <span class="style2">*(如果不改,请保持原样。)</span></td>
  </tr>
  <tr class="tdbg" style="display:">
    <td><div align="right"><strong>运输方式:</strong></div></td>
    <td colspan="2"><select name="sel4" class="Maxl" id="sel4">
      <option value="1"<% If sel4="1" Then response.Write(" selected")%>>公路</option>
      <option value="2"<% If sel4="2" Then response.Write(" selected")%>>铁路</option>
      <option value="3"<% If sel4="3" Then response.Write(" selected")%>>航空</option>
    </select></td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(2)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(3) %>:</strong></div></td>
    <td colspan="2"><input name="P_Name" type="text" id="P_Name" size="40" value="<%= title %>">
元/立方</td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(4)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(5) %>:</strong></div></td>
    <td colspan="2"><input name="P_Model" type="text" id="P_Model" size="40" value="<%= Model %>">
      元/ 公斤 </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(6)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(7) %>:</strong></div></td>
    <td colspan="2"><input name="P_Model2" type="text" id="P_Model2" size="40" value="<%= Model2 %>">
      天 </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(8)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(9) %>:</strong></div></td>
    <td colspan="2"><input name="P_Model3" type="text" id="P_Model3" size="40" value="<%= Model6 %>">
      公里 </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(10)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(11) %>:</strong></div></td>
    <td colspan="2"><input name="P_Model4" type="text" id="P_Model4" size="40" value="<%= Model4 %>">    </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(12)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(13) %>:</strong></div></td>
    <td colspan="2"><input name="P_Price" type="text" id="P_Price" size="40" value="<%= Price %>">    </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(14)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(15) %>:</strong></div></td>
    <td colspan="2"><input name="P_Name2" type="text" id="P_Name2" size="40" value="<%= title2 %>"></td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(16)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(17) %>:</strong></div></td>
    <td colspan="2"><input name="P_Model5" type="text" id="P_Model5" size="40" value="<%= Model5 %>">    </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(18)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(19) %>:</strong></div></td>
    <td colspan="2"><input name="P_Model6" type="text" id="P_Model6" size="40" value="<%= Model6 %>">    </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(20)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(21) %>:</strong></div></td>
    <td colspan="2"><input name="P_Model7" type="text" id="P_Model7" size="40" value="<%= Model7 %>">    </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(22)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(23) %>:</strong></div></td>
    <td colspan="2"><input name="P_Model8" type="text" id="P_Model8" size="40" value="<%= Model8 %>">    </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(24)=0 Then %>none<% End If %>">
    <td><div align="right"><strong><%= proradio(25) %>:</strong></div></td>
    <td colspan="2"><input name="P_Price2" type="text" id="P_Price2" size="40" value="<%= Price2 %>">    </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(26)=0 Then %>none<% End If %>">
    <td><div align="right"><strong>预浏图(小图片):</strong></div></td>
             		       <td id="showpic" style="display:'<%if  len(textimg)>11 then%><%else%>none<%end if%>'" ><table width="100%">
        		            <tr>
         		             <td valign="middle" width="21%" id="pic"><a href="<%=spicpath%>" target="_blank"><img src="<%=spicpath%>" width="120" height="50" id="image" border="0"></a></td>
         		             <td valign="middle"><a style="cursor:'hand'" onClick="document.all.hidpic.style.display='';document.all.showpic.style.display='none';">&nbsp;&nbsp;更改图片</a>&nbsp;&nbsp;<a style="cursor:hand" onClick="document.all.textimg.value='';document.all.showpic.style.display='none';document.all.hidpic.style.display='';">删除图片</a></td>
       		             </tr>
        		        </table></td>
    <td id="hidpic" style="display:'<%if len(textimg)>11 then%>none<%end if%>'" ><table width="98%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td id="hiddenframe"><a style="cursor:hand" onClick="document.all.showframe.style.display='';document.all.hiddenframe.style.display='none';">&nbsp;上传图片</a>&nbsp;&nbsp;<a style="cursor:hand" onClick="document.all.adddz.style.display='';document.all.hiddenframe.style.display='none';">插入图片URL</a>
            <input name="textimg" type="hidden" id="textimg" value="<%= textimg %>"></td>
      </tr>
      <tr>
        <td height="17" id="showframe" style="display:none"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="15">   <div align="left">
                <table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="245"><iframe src='../inc/uppic.asp?up=../../uploadfile/Product_small/&tup=textimg' frameborder=0 height=25 width="100%" scrolling="no"></iframe></td>
                    <td><div align="left"><a style="cursor:hand" onClick="document.all.showframe.style.display='none';document.all.hiddenframe.style.display='';">取消</a></div></td>
                  </tr>
                </table>
              </div></td>
              </tr>
        </table></td>
      </tr>
      <tr>
        <td height="17" id="adddz" style="display:none">&nbsp;
            <input name="dz" type="text" id="dz" onChange="document.all.textimg.value=this.value" size="30" >
      &nbsp; <a style="cursor:hand" onClick="document.all.adddz.style.display='none';document.all.hiddenframe.style.display='';">取消</a> </td>
      </tr>
    </table></td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(26)=0 Then %>none<% End If %>">
    <td><div align="right"><strong>主图(大图片):</strong></div></td>
    <td id="showpic2" style="display:'<%if  len(textimage)>11 then%><%else%>none<%end if%>'" ><table width="100%">
        		            <tr>
         		             <td valign="middle" width="21%" id="pic"><a href="<%=bpicpath%>" target="_blank"><img src="<%=bpicpath%>" width="120" height="50" id="image" border="0"></a></td>
         		             <td valign="middle"><a style="cursor:'hand'" onClick="document.all.hidpic2.style.display='';document.all.showpic2.style.display='none';">&nbsp;&nbsp;更改图片</a>&nbsp;&nbsp;<a style="cursor:hand" onClick="document.all.textimage.value='';document.all.showpic2.style.display='none';document.all.hidpic2.style.display='';">删除图片</a></td>
       		             </tr>
      </table></td>
    <td id="hidpic2" style="display:'<%if len(textimage)>11 then%>none<%end if%>'" ><table width="98%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td id="hiddenframe2"><a style="cursor:hand" onClick="document.all.showframe2.style.display='';document.all.hiddenframe2.style.display='none';">&nbsp;上传图片</a>&nbsp;&nbsp;<a style="cursor:hand" onClick="document.all.adddz2.style.display='';document.all.hiddenframe2.style.display='none';">插入图片URL</a>
            <input name="textimage" type="hidden" id="textimage" value="<%= textimage %>"></td>
      </tr>
      <tr>
        <td height="17" id="showframe2" style="display:none"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="15">   <div align="left">
                <table width="100%"  border="0" align="left" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="245"><iframe src='../inc/uppic.asp?up=../../uploadfile/Product_big/&tup=textimage' frameborder=0 height=25 width="100%" scrolling="no"></iframe></td>
                    <td><div align="left"><a style="cursor:hand" onClick="document.all.showframe2.style.display='none';document.all.hiddenframe2.style.display='';">取消</a></div></td>
                  </tr>
                </table>
              </div></td>
              </tr>
        </table></td>
      </tr>
      <tr>
        <td height="17" id="adddz2" style="display:none">&nbsp;
            <input name="dz2" type="text" id="dz2" onChange="document.all.textimage.value=this.value" size="30" >
      &nbsp; <a style="cursor:hand" onClick="document.all.adddz2.style.display='none';document.all.hiddenframe2.style.display='';">取消</a> </td>
      </tr>
    </table></td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(0)=0 Then %>none<% End If %>">
    <td><div align="right"><strong>浏览权限:</strong></div></td>
    <td colspan="2"><input name="power" type="radio" value="0" <% if Power=0 then Response.Write(" checked") %>>
      所有浏览者
        <input name="power" type="radio" value="1" <% if Power=1 then Response.Write(" checked") %>>
      普通会员
      <input name="power" type="radio" value="2" <% if Power=2 then Response.Write(" checked") %>>
      商务会员
      <input name="power" type="radio" value="3" <% if Power=3 then Response.Write(" checked") %>>
      VIP会员</td>
  </tr>
  <tr class="tdbg" style="display:none">
    <td><div align="right"><strong>详细说明:</strong></div></td>
    <td colspan="2"><input type="hidden" name="content1" value="<%=Server.HTMLEncode(Content)%>">
       <iframe ID="eWebEditor1" src="../WebEditor/ewebeditor.asp?id=content1&style=SamYan" frameborder="0" scrolling="no" width="560" HEIGHT="350"></iframe> </td>
  </tr>
  <tr class="tdbg" style="display:<% If ProRadio(1)=0 Then %>none<% End If %>">
    <td><div align="right"><strong>特殊标记:</strong></div></td>
    <td colspan="2"><input name="Commend" type="checkbox" id="Commend" value="1" <% if commend=1 then response.Write(" checked") %>>
      推荐</td>
  </tr>
</table>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="40">
      <div align="center"><span class="style1">
        <input type="hidden" name="id" value="<%= id %>">
        <input name="Submit" type="button" id="Submit" value="修改" onClick="Check()">
&nbsp;
        <input name="reset" type="reset" id="reset" value="取消">
    </span> </div></td>
  </tr>
</table></form>
</body>
</html>


⌨️ 快捷键说明

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