helpmanage.asp

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

ASP
114
字号
<!--#include file="conn.asp"-->
<!--#include file="checkAdmin.asp"-->
<!--#include file="../inc/check_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/helpmanage_inc.asp"-->
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
<%
	if helpNum <> -1 then
		for j = 0 to helpNum
			if Help(3,j) = 1 or Help(3,j) = 2 then
%>  
    <td height="24" class="listitem">
		<a href="HelpManage.asp?NewsID=<%=Help(0,j)%>"><%=Help(1,j)%></a>
	</td>		
<%
			end if
			if j mod 3 = 2 then
				response.Write("</tr><tr>")
			end if
		next
	end if
%>
  </tr>
</table>
<%
	if NewsID <> "" and NewsID <> 21 then
%>
<form name="HelpInfo" method="post" action="cs.asp">
	<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
		<td>标题:<input name="Newstitle" size="60" type="text" value="<%=n_Title%>" /></td>
	  </tr>
	  <tr>
		<td><input name="NewsContent" type="hidden" value="<%=Server.HtmlEncode(content)%>" />
	    <iframe ID="NewsContent" src="htmledit/ewebeditor.asp?id=NewsContent&style=standard" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe>		</td>
	  </tr>
	  <tr>
		<td height="30" align="center" valign="bottom">
			<input type="submit" class="Button" value="确认提交" />		</td>
	  </tr>
  </table>
</form>
<%
	elseif NewsID = 21 then
%>
	<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
	  	<td align="center"><B>管理常见问题</B></td>
	  </tr>
	</table>
	
	<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<%
		if helpNum <> -1 then
			for j = helpNum to 0 step -1
				if Help(3,j) = 4 then
%>  
	  <tr>
		<td height="24" class="listitem">
			<a href="HelpManage.asp?NewsID=<%=Help(0,j)%>"><%=Help(1,j)%></a>
		</td>	
		<Td align="right" class="listitem"><a href="HelpManage.asp?NewsID=<%=Help(0,j)%>">编辑</a> <A href="HelpManage.asp?NewsID=<%=Help(0,j)%>&action=del">删除</A></Td>
	  </tr>			
<%
				end if
			next
		end if
%>
	</table>
	<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
	  	<td align="center" height="15"></td>
	  </tr>
	</table>	
	<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
	  	<td align="center"><B>添加常见问题</B></td>
	  </tr>
	</table>
		
	<form name="HelpInfo" method="post" action="helpmanage.asp?action=add">
		<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FAFAFA" style="border:1px solid #DDDDDD">
		  <tr>
		  	<td align="right">标题:</td>
			<td height="30" align="left" valign="bottom">
				<input name="title" type="text" value="" size="30" />		</td>
		  </tr>
		  <tr>
		  	<td align="right">内容:</td>
			<td><input name="NewsContent" type="hidden" value="" />
			<iframe ID="NewsContent" src="htmledit/ewebeditor.asp?id=NewsContent&style=standard" frameborder="0" scrolling="no" width="550" HEIGHT="350"></iframe>		</td>
		  </tr>
		  <tr>
			<td height="30" align="center" valign="bottom" colspan="2">
				<input type="submit" class="Button" value="确认提交" />		</td>
		  </tr>
	  </table>
	</form>
<%
	end if
%>
<!--#include file="inc/closeconn_inc.asp"-->
</body>
</html>

⌨️ 快捷键说明

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