productpic.asp

来自「网店批发系统,很好很强大,很好很强大很好很强大」· ASP 代码 · 共 68 行

ASP
68
字号
<!--#include file="conn.asp"-->
<!--#include file="checkAdmin.asp"-->
<!--#include file="../inc/check_inc.asp"-->
<!--#include file="../sysConfig.asp"-->
<!--#include file="inc/PicDel_inc.asp"-->
<!--#include file="inc/ProductPic_inc.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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加更多图片</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="24" align="center" class="listtitle"><b>添加商品更多图片</b></td>
	<td height="24" align="center" class="listtitle"><a href="ProductAdd.asp">继续添加</a> <a href="Productedit.asp?ID=<%=ProductID%>">返回商品修改页面</a> <a href="Productmanage.asp">返回商品类别</a></td>
  </tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="24" align="center" class="listtop">商品图片</td>
	<td align="center" class="listtop">图片地址</td>
	<td class="listtop">操作</td>
  </tr>
<%
	if ProductPicNum <> -1 then
		for j = 0 to ProductPicNum
%>
  <tr>
    <td align="center" class="listitem" style="padding:10px 0  10px 0;"><img src="../<%=ProductPic(1,j)%>" width="100" /></td>
	<td class="listitem"><%=ProductPic(1,j)%></td>
	<td class="listitem"><A href="ProductPic.asp?action=del&ProID=<%=ProductID%>&PicID=<%=ProductPic(0,j)%>">删除</A></td>
  </tr>
<%
		next
	end if
%>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center">&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <form name="myform" method="post" action="ProductPic.asp?action=add&ProID=<%=ProductID%>">
  <tr>
    <td height="30" align="center" class="listtitle">
		添加图片:
		  <input name="PicUrl" type="text" class="input_text" value="" />
		<input type="button" class="Button" onClick="window.open('../<%=upload%>?Form=myform&Edit=PicUrl&Path=ProductPicMore','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" value="上传图片" />
	  <input type="submit" class="Button" value="添加"/></td>
  </tr>
  </form>
</table>

</body>
</html>

⌨️ 快捷键说明

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