<%
'商易仿淘宝4.0(多用户)
'ACCESS版演示网站：http://www.ftaobao.com(商易仿淘宝商城)
'SQL版演示网站：http://sql.ftaobao.com
'电话：0571-56907100
'QQ：1147100
%>

<!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">
<!--#include file="FHeadTitle.asp"-->
<!--#include file="FFunction.asp"-->
<!--#include file="include/page.asp"-->
					
            <head>
    <title>
       <%=my_name%>----帮助中心----新手指南
        </title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
        <meta name="description" content="<%=my_name%>----帮助中心----购物指南." />
        <meta name="keywords" content="<%=my_name%>----帮助中心----购物指南." />
    <link href="images/favicon.ico" rel="icon" type="image/x-icon" />
    <link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <style type="text/css" media="screen">
	@import url("css/v1.2.php@t=2006512.css");
	@import url("home/css/layout.css?t=20050908");
		
	@import url("home/helpcenter.css?t=20050908");
</style>
<style type="text/css" media="print">
 @import url("home/print.css?t=20050908");
</style>

            </head>

<body>

				
                <div id="Head">
    	

    <%IsShowHotKey=False
IsShowChannel=False%>
<!--#include file="FHeadAll.asp"-->
    <div class="HackBox"></div>

<div id="Content" class="L180">
	<div id="Main">
		<div id="Container">
				<div>

	</div>
	
<%
if Request("id")<>"" then
      set rs=server.createobject("adodb.recordset")
	  sql="select * from gwzn where id="&shopnet("id")
      rs.open sql,conn,1,3
	  if rs.eof then
	  response.write"数据库里没有此信息记录"
	  else
	  rs("count")=rs("count")+1
	  rs.update
	  End If
	  rs.close
set rs=nothing
end if
%>
客服中心首页 >> 常见问题 >> <%=shopnet("name")%> 
<div id="HelpDetail"><% If request("id")<>"" Then %><!--#include file="include/ubbhtml.asp"-->
<%
set rs = conn.execute("select id,url,bt,nr,sj from gwzn where id="&shopnet("id")&"")
%>
<br><h2><%=rs("bt")%></h2>
<%
txt = rs("nr")
txt = Replace(txt, chr(32), "&nbsp;")
txt = Replace(txt, vbCrLf, "<br>")
txt=ubbcode(txt)
Response.Write txt
rs.close
set rs=nothing
else
if request("lbid")<>"" then 
set lbrs=conn.execute("select lb from gwzn_lb where id="&shopnet("lbid"))
response.write"<h2>"&lbrs("lb")&"</h2>"
lbrs.close
set lbrs=nothing
else
response.write"<h2>常见问题</h2>"
end if
%>

	<% Set rs=Server.CreateObject("ADODB.Recordset")
if Request("s")="" and Request("key")="" then
if Request("lbid")<>"" and isnumeric(Request("lbid")) then
sql="select id,url,bt from gwzn where lx=0 and lbid="&shopnet("lbid")&" order by id desc"
else
sql="select id,url,bt from gwzn where lx=0 order by id desc"
end if
else
If request("fw")="bt" then
sql="select id,url,bt from gwzn where lx=0 and bt like '%"&shopnet("key")&"%' order by id desc"
End If 
If request("fw")="nr" Then
sql="select id,url,bt from gwzn where lx=0 and nr like '%"&shopnet("key")&"%' order by id desc"
End If 
end if
rs.open sql,conn,3,1
if rs.eof then
response.write "暂无内容"
else
rs.PageSize =12 '每页记录条数
			iCount=rs.RecordCount '记录总数
			iPageSize=rs.PageSize
    		maxpage=rs.PageCount 
    		page=request("page")
    
    if Not IsNumeric(page) or page="" then
        page=1
    else
        page=cint(page)
    end if
    
    if page<1 then
        page=1
    elseif  page>maxpage then
        page=maxpage
    end if
    
    rs.AbsolutePage=Page

	if page=maxpage then
		x=iCount-(maxpage-1)*iPageSize
	else
		x=iPageSize
	end if
	
			For y=1 To x%>
	<ul><li><a href="?id=<%=rs("id")%>&name=<%=rs("bt")%>"><%=rs("bt")%></a></li></ul>		
		<%x=y+1
rs.MoveNext                                              
next
		
end if
%>				
			<%call PageControl(iCount,maxpage,page,"border=0 align=center","<p align=center>")
rs.close
set rs=nothing%><%end if%>
			</div>
					</div>
	</div>
<div id="SideBar">
					<h1 style="background:transparent url(images/category050609002.jpg) left top no-repeat;">

		</h1>
		<div id="HelpSearch">
			<h2>搜索</h2>
			<form action="?" method="post" onsubmit="return checkSubmit();" name="search" id="search">
								<input type="text" name="key" size="14" value="<%=request("key")%>" accesskey="s" id="q"/>
				<input type="submit" value="搜 索"/>
				<div>
											<input type="radio" name="fw" value="bt" id="fw" <%If request("fw")="bt"  then%>checked="radiobutton"<%End If %>  checked/>
										<label for="helptitle">只在标题中搜索</label>
				</div>
				<div>
											<input type="radio" name="fw" value="nr" id="fwt" <%If request("fw")="nr"  then%>checked="radiobutton"<%End If %> />
										<label for="helpcontent">只在内容中搜索</label>
			  </div>
					<div></div>
		  </form>
		</div>
		<div id="Menu">
			<h2>功能按钮</h2>
			<ul class="ClassMenu">
				<li><a href="gwznindex.asp">帮助首页</a></li>
									<li><a href="gwzn.asp"><b>常见问题</b></a>
									<ul class="CategoryListTableLevel1">
<%set rs = conn.execute("select id,lb from gwzn_lb")
do while not rs.eof
Response.Write("<li>&nbsp;<a href=?lbid="&rs(0)&">"&rs(1)&"</a></li>")
rs.movenext
loop
rs.close
set rs=nothing%></ul>
												
					
					<li><a href="support.asp?id=12">版权隐私</a></li>
					<li><a href="support.asp?id=13">联系我们</a></li>
		  </ul>
		</div>
		<div id="MenuBottom"></div>
	</div>
	<div class="HackBox"></div>
</div>
</div>
<div class="HackBox"></div>

<!--#include file="bottom.asp" -->
</body>
</html>
