<!--#include file="Connection.asp"-->
<!--#include file="admin/system/WebConfig.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style.css" type="text/css">
<title><%=webname%>--美图欣赏</title>
</head>
<TABLE width="770" border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD width="35%" height="81" align=left 
                  bgColor=#ffffff ><div align="center"><img src="<%=weblogo%>"></div></TD>
      <TD width="65%" align=middle vAlign=center  
                bgColor=#ffffff ><div align="center"><img src="<%=webbanner%>"></div></TD>
    </TR>
    <TR vAlign=middle bgcolor="#0F77B1">
      <TD height=27 
                colSpan=2 align=left ><TABLE width="100%" height="100%" border=0 
                  align=center cellPadding=0 cellSpacing=0 >
          <TBODY>
            <TR>
              <TD align=left vAlign=middle background="images/top_bar.gif" >
                <div align="center"><FONT color=#ffffff><a href="default.htm"><FONT color=#ffffff>首页</Font></a> | <a href="News.asp"><FONT color=#ffffff>新闻动态</Font></a> | <a href="xl.html"><FONT color=#ffffff>度假产品</FONT></a> | <a href="hotel.html"><FONT color=#ffffff>酒店预定</FONT></a> |<a href="ticket.asp"><font color="#FFFFFF"> 机票预定</font></a> | <a href="guide.asp"><font color="#FFFFFF">导游推荐</font></a> | <a href="pic.asp"><font color="#FFFFFF">美图欣赏</font></a> | <a href="Gbook.asp"><font color="#FFFFFF">留下意见</font></a> | <a href="userInfo/userInfo.asp"><font color="#FFFFFF">会员中心</font></a> | <a href="Help.asp"><font color="#FFFFFF">在线帮助</font></a></FONT> <img src="images/b_start.gif" width=122 height=16 border=0 align="absmiddle"></div></TD>
            </TR>
          </TBODY>
      </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="admin/system/system_code.asp" -->
<TABLE width=770 border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
        <TR> 
          <TD> <TABLE width="100%" border=0  align=center cellPadding=0 cellSpacing=0 background="images/top_nav_menu.gif">
              <TBODY>
                <TR bgColor=#ffffff> 
                  <TD colSpan=3 height=2></TD>
                </TR>
                <TR> 
                  <TD width="44" height=25 align=right><img src="images/arrow3.gif" width="29" height="11"></TD>
                  
<TD width="715"><FONT color=#333333>&nbsp;您的位置：&nbsp;</FONT><a href="default.htm">网站的首页</a> &gt;&gt; 美图欣赏</TD>
                  <TD width="11">&nbsp;</TD>
                </TR>
              </TBODY>
            </TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=770 border=0>
        <TBODY>
       
<TR> 
  <TD width=213 height="633" vAlign=top style="BORDER-RIGHT: #d8d8d8 1px solid;BORDER-left: #d8d8d8 1px solid">
<table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td></td>
    </tr>
  </table>
  <table width="94%" border=1 align="center" cellPadding=0 cellSpacing=0 bordercolor="#CCCCCC" borderColorDark=#ffffff bgcolor="#F9F9F9">
    <tr>
      <td height="31" background="Images/topBar_bg.gif">&nbsp;图片分类</td>
    </tr>
    <tr>
      <td height="241" valign="top"><%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from picboard order by id",conn,1,1
if rs.recordcount=0 then
response.write "<br>目前没有商品分类"
else
%>
        <table width=100% cellspacing="0" cellpadding="0" border="0">
          <%
while not rs.eof
%>
          <tr>
            <td width=100% height="24" background="images/bg_guide02.gif" class="table-you" STYLE='PADDING-LEFT: 18px'> <a href="Pic_class.asp?bid=<%=rs("id")%>"><%=rs("board")%></a></td>
          </tr>
          <%
	rs.movenext
wend
%>
        </table>
        <%
end if
rs.close
set rs=nothing
%></td>
    </tr>
  </table>
  <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td></td>
    </tr>
  </table>
  <table width="94%" height="338" border=1 align="center" cellPadding=0 cellSpacing=0 bordercolor="#CCCCCC" borderColorDark=#ffffff bgcolor="#F9F9F9">
    <tr>
      <td height="31" background="Images/topBar_bg.gif">&nbsp;最新推荐图片</td>
    </tr>
    <tr>
      <td height="252" valign="top">
<%
set rsp=Server.Createobject("Adodb.Recordset")
sql= "Select Top 2 Id,Name,Pic_slt,Tuijiang From Pic Where Tuijiang=1 order by id desc"
rsp.Open sql,Conn
%>
<table width="161" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
          <td width="161" height="8"></td>
        </tr>
        <tr>
          <td height="111"><a href="pic_info.asp?id=<%=rsp("id")%>"><img src="admin/<%=rsp("pic_slt")%>" width="160" height="120" border="0"></a></td>
        </tr>
        <tr>
          <td height="20"><div align="center"><%=rsp("name")%></div></td>
        </tr><% rsp.movenext %>
        <tr>
          <td height="8"></td>
        </tr>
        <tr>
          <td><a href="pic_info.asp?id=<%=rsp("id")%>"><img src="admin/<%=rsp("pic_slt")%>" width="160" height="120" border="0"></a></td>
        </tr>
        <tr>
          <td height="20"><div align="center"><%=rsp("name")%></div></td>
        </tr>
      </table>
<%
rsp.close
set rsp=nothing
%>
</td>
    </tr>
  </table></TD>
  <TD width="557" style="BORDER-RIGHT: #d8d8d8 1px solid">
<table width="97%" border=1 align="center" cellPadding=0 cellSpacing=0 bordercolor="#CCCCCC" borderColorDark=#ffffff bgcolor="#F9F9F9">
<tr> 
  <td height="35" background="Images/topBar_bg.gif">&nbsp;</td>
</tr>
<tr>
  <td height="548" valign="top"><%
set strs=server.createobject("adodb.recordset")
stsql="select * from pic order by id desc"
strs.open stsql, conn, 1, 1
if not strs.eof then
strs.PageSize =12 '每页记录条数
result_num=strs.RecordCount '记录总数
maxpage=strs.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
strs.AbsolutePage=Page
else
result_num=0
maxpage=0
page=0
end if
if not strs.eof then 
for i=1 to strs.PageSize
%>
    <table width=100%  border=0 cellspacing=0 cellpadding=0>
      <tr>
        <td width=180 height=136><div align="center"><%if not strs.eof then %><a href="pic_info.asp?id=<%=strs("id")%>" title="<%=strs("name")%>"><img src="admin/<%=strs("pic_slt")%>" width="160" height="120" border="0"></a><% end if %></div></td>
        <% strs.movenext %>
        <td width=181><div align="center"><%if not strs.eof then %><a href="pic_info.asp?id=<%=strs("id")%>" title="<%=strs("name")%>"><img src="admin/<%=strs("pic_slt")%>" width="160" height="120" border="0"></a><% end if %></div></td>
        <% strs.movenext %>
        <td width=178><div align="center"><%if not strs.eof then %><a href="pic_info.asp?id=<%=strs("id")%>" title="<%=strs("name")%>"><img src="admin/<%=strs("pic_slt")%>" width="160" height="120" border="0"></a><% end if %></div></td>
      </tr>
    </table>
    <%
strs.movenext      
if strs.EOF then Exit For      
next      
end if      
strs.close      
set strs=nothing      
%></td>
</tr>
<tr>
<td height="30" background="Images/topBar_bg.gif"><div align="center">
<% call LastNextPage(maxpage,page,result_num) %>
</div></td>
</tr>
</table></TD>
</TR></TBODY></TABLE></TD>
</TR></TBODY></TABLE>
<TABLE width="770" border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD width="1" rowspan="2" align=middle vAlign=bottom bgcolor="#CCCCCC"></TD>
      <TD 
height=25 align=middle background=images/foot_patt01.gif><a href=Default.htm>网站首页</a> | <a href=about.asp?action=about >关于我们</a> | <a href=about.asp?action=lxwm >业务联系</a> | <a href=help.asp?action=shiyongfalv >版权声明</a> | <a href=help.asp?action=fukuan >付款方式</a> | <a href=gbook.asp >留言/建议/投诉</a></TD>
      <TD width="1" rowspan="2" align=middle vAlign=bottom bgcolor="#CCCCCC"></TD>
    </TR>
    <TR>
      <TD height=60><div align="center">
          <%dim endtime
endtime=timer()
response.Write "　公司地址："&dizhi&"　邮政编码："&youbian&"<br>"
response.Write "　客服邮箱：<a href=mailto:"&webemail&">"&webemail&"</a>　客服电话："&dianhua&"<br>　"
response.Write "  <font color=#000000><b>"&weburl&"</b></font> &copy; <font color=red> "&copyright&" </font>"
response.Write "　页面执行时间："&FormatNumber((endtime-startime)*1000,3)&" 毫秒"
%>
      </div></TD>
    </TR>
  </TBODY>
</TABLE>
</BODY></HTML>
