
<!--#include virtual="top.asp"-->

<script src="js/float.js" language="javascript"></script>
<div id="div_content">
  <div id="div_bigcon" class="clearfix">
    <div id="ppxx_div_left">
      <div id="div_menu">
        <dl>
		 <%
Set rs=Server.CreateObject("ADODB.RecordSet") 
sql="Select * from abouts where a_flid" 
rs.Open sql,conn,1,1 
if not Rs.eof then
do while not rs.eof
%>	  
                  <dd ><a href="about.asp?a_flid=<%=rs("a_flid")%>" ><%=rs("a_flname")%></a></dd>
               	<% 
rs.movenext 
loop 
rs.close 
end if
%>	
          </dl>
      </div>
	 
      <!--#include virtual="left.asp"-->
 	  <%
Set rs=Server.CreateObject("ADODB.RecordSet") 
sql="Select * from abouts where a_msgflid=3"
a_flid=request("a_flid")
if a_flid<>"" then
sql="Select * from abouts where a_msgflid="&request.QueryString("a_flid")
end if
rs.Open sql,conn,1,1 
%>

    </div>
    <div id="div_right">
      <div id="top_info_div">
        <div id="div_top_info">
          <dl>
            <dt><%=rs("a_flname")%></dt>
            <dd>轻松饮：健康饮食从我做起！</dd>
          </dl>
        </div>
        <div id="div_maps"> &nbsp;&nbsp;<a href="index.asp" id="sy" class="withelink">首页</a>&nbsp;&nbsp; &gt; <a href="brand.asp">关于我们</a> &gt; <span class="chen_f"><%=rs("a_flname")%></span></div>
      </div>
      <div id="div_right_info" class="clearfix">
        <div id="mdxx">
          <div>
		  <%if rs.EOF and rs.BOF then%>
<li>当前还没有添加内容</li>
<%
end if
    %>              
          <% a_flid=request("a_flid")
		  rs.pagesize=9
if request("page")<>"" then
  epage=cint(request("page"))
   if epage<1 then epage=1
   if epage>rs.pagecount then epage=rs.pagecount
else
epage=1
end if
rs.absolutepage=epage
for i=0 to rs.pagesize-1
if rs.bof or rs.eof then exit for %>
            <ul class="ulcl">
			
          <li><img class="imgpr" src="<%=rs("img")%>" alt="<%=rs("a_title")%>"  /></li>
              <li>
                <%=rs("a_title")%>
              </li>
            </ul>
          	<% 
rs.movenext 
next
rs.close 
%>
      			
          </div>          
        </div>
        
<div id="page_show">
  <ul>  <%
Set rs=Server.CreateObject("ADODB.RecordSet") 
a_flid=request("a_flid")
if a_flid<>"" then
sql="Select * from abouts where a_msgflid="&request.QueryString("a_flid")
end if
rs.Open sql,conn,1,1 
%>
 <% if epage=1 then %>
<li> <a name=a>&lt; Prev</a></li>
<% else %>
	<li><a href="?page=<%=epage-1%>&a_flid=<%=rs("a_msgflid")%>" title="上一页">&lt; Prev</a></li>
 <% end if %>
    <li><a href="?page=1&a_flid=<%=rs("a_msgflid")%>" title="第2页">1</a></li>
    
    <li><a href="?page=2&a_flid=<%=rs("a_msgflid")%>" title="第2页">2</a></li>
    
    <li><a href="?page=3&a_flid=<%=rs("a_msgflid")%>" title="第3页">3</a></li>
    
    <li><a href="?page=4&a_flid=<%=rs("a_msgflid")%>" title="第4页">4</a></li>
    
    <li><a href="?page=<%=epage+1%>&a_flid=<%=rs("a_msgflid")%>" title="下一页">Next></a></li>
    
  </ul>
</div>
      </div>
    </div>
  </div>
</div>
<% rs.close %>
<!--#include virtual="fooder.asp"-->

</body></html>