bbsboard.asp

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

ASP
126
字号
<!--#include file="conn.asp"-->
<!--#include file="checkAdmin.asp"-->
<!--#include file="../sysConfig.asp"-->
<!--#include file="../inc/check_inc.asp"-->
<!--#include file="../inc/page_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" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<title>论坛版快管理</title>
</head>

<body>
<!--#include file="inc/bbsBoard_inc.asp"-->
<table width="97%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="24" align="center" class="listtop">ID</td>
	<td align="center" class="listtop">版快名称</td>
	<td align="center" class="listtop">版快图片</td>
	<td align="center" class="listtop">版快简介</td>
	<td align="center" class="listtop">版快类别</td>
	<td align="center" class="listtop">排序号</td>
	<td align="center" class="listtop">操作</td>
  </tr>
<%
	if Num <> 0 then
		for j = 0 to Num
%>
<form name="EditForm<%=Level(0,j)%>" method="post" action="bbsBoard.asp?action=edit&ID=<%=Level(0,j)%>">
  <tr>
    <td height="28" align="center" class="listitem"><%=Level(0,j)%></td>
	<td align="center" class="listitem"><input name="LevelName" type="text" class="input_text" value="<%=Level(1,j)%>" size="15" /></td>
	<td align="center" class="listitem">
		<img src="images/icon-viewpic.gif" width="18" height="18" border="0" align="absmiddle" onMouseOver="document.getElementById('pic<%=Level(0,j)%>').style.display='block';" onMouseOut="document.getElementById('pic<%=Level(0,j)%>').style.display='none';" style="cursor:pointer;" /><div id="pic<%=Level(0,j)%>" style="position:absolute;z-index:1;display:none">
<%
	if instr(Level(2,j),".") then
%>
            <img src="../<%=Level(2,j)%>" border="0" style="border:1px solid #000000;" />
<%	
	else
%>
            <img src="../images/emptybook.gif" border="0" style="border:1px solid #000000;" />
<%
	end if
%>
        </div>
		 &nbsp;
<input name="LevelOrder<%=Level(0,j)%>" type="text" class="input_text" value="<%=Level(2,j)%>" size="15" />
		<input name="upload" type="button" class="Button" onClick="window.open('../<%=upload%>?Form=EditForm<%=Level(0,j)%>&Edit=LevelOrder<%=Level(0,j)%>&Path=linkImages','','status=no,scrollbars=no,top=300,left=300,width=420,height=165')" value="上传图片" />
	</td>
	<td align="center" class="listitem"><input name="LevelNum" type="text" class="input_text" value="<%=Level(3,j)%>" size="15" /></td>
		<td align="center" class="listitem">
		<select name="BoardType" class="input_text">
<%
	if TitleTypeNum <> -1 then
		for k = 0 to TitleTypeNum
%>
			<option value="<%=TitleType(0,k)%>" <%if TitleType(0,k) = Level(5,j) then%>selected="selected"<%end if%>><%=TitleType(1,k)%></option>
<%
		next
	end if
%>		
		</select>
	  </td>
	<td align="center" class="listitem"><input name="LevelJifen" type="text" class="input_text" value="<%=Level(4,j)%>" size="4" /></td>
	<td align="center" class="listitem">
		<input name="submit" type="submit" class="Button" value="修改" /> 
        <input name="Submit" type="button" class="Button" onClick="window.location.href='bbsBoard.asp?action=del&ID=<%=Level(0,j)%>'" value="删除" /></td>
  </tr>
</form>
<%
		next
	end if
%>
</table>

<table width="97%" border="0" cellpadding="0" cellspacing="0">
	<form name="LevelForm" method="post" action="bbsBoard.asp?action=add">
	  <tr>
	    <td align="center">&nbsp;</td>
	    <td align="center">&nbsp;</td>
	    <td align="center">&nbsp;</td>
	    <td align="center">&nbsp;</td>
	    <td align="center">&nbsp;</td>
	    <td align="center">&nbsp;</td>
      </tr>
	  <tr>
		<td height="24" align="center" class="listtitle">
		版快名称</td>
		<td align="center" class="listtitle">
		版快图片		</td>
		<td align="center" class="listtitle">
		版快简介</td>
		<td align="center" class="listtitle">
		版快类别		</td>
		<td align="center" class="listtitle">
		排序号</td>
		<td align="center" class="listtitle">操作</td>
	  </tr>
	  <tr>
	    <td height="28" align="center" class="listitem"><input name="LevelName" type="text" class="input_text" value="" size="15" /></td>
	    <td align="center" class="listitem"><input name="LevelOrder" type="text" class="input_text" value="" size="15" />
          <input name="upload" type="button" class="Button" onClick="window.open('../<%=upload%>?Form=LevelForm&amp;Edit=LevelOrder&amp;Path=linkImages','','status=no,scrollbars=no,top=300,left=300,width=420,height=165')" value="上传图片" /></td>
	    <td align="center" class="listitem"><input name="LevelNum" type="text" class="input_text" value="" size="15" /></td>
	    <td align="center" class="listitem"><select name="BoardType" class="input_text">
<%
	if TitleTypeNum <> -1 then
		for k = 0 to TitleTypeNum
%>
          <option value="<%=TitleType(0,k)%>"><%=TitleType(1,k)%></option>
          <%
		next
	end if
%>
        </select></td>
	    <td align="center" class="listitem"><input name="LevelJifen" type="text" class="input_text" value="<%=Level(4,Num)+1%>" size="5" /></td>
	    <td align="center" class="listitem"><input name="submit" type="submit" class="Button" value="添加" /></td>
      </tr>
	</form>
</table>
<br />
<div><img id="preview" style="display:none;" /></div>
<!--#include file="inc/closeconn_inc.asp"-->
</body>
</html>

⌨️ 快捷键说明

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