Your IP : 216.73.216.170


Current Path : /home/zqegovsj/public_html/us3.supplierlist.com/haibonet/images/
Upload File :
Current File : /home/zqegovsj/public_html/us3.supplierlist.com/haibonet/images/index.asp

<!--#include file="a_top.asp" -->
<!--#include file="page.asp" -->
<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT> 
function rept(str)
dim strRet
strRet = Server.HTMLEncode(str)
strRet = replace(str,"99","S")
rept = strRet
End Function
</SCRIPT>
<script language="javascript"> 
<!-- 
function CheckAll(){ 
 for (var i=0;i<eval(form1.elements.length);i++){ 
  var e=form1.elements[i]; 
  if (e.name!="allbox") e.checked=form1.allbox.checked; 
 } 
} 
--> 
</script> 
<%
Response.Buffer    =True   
   Response.ExpiresAbsolute    =Now()    -    1   
   Response.Expires=0   
   Response.CacheControl="no-cache"
%>
<%
Function DelHtml(Str1)
  Dim regEx
  Set regEx = New RegExp
  regEx.Pattern = "(<[^>]*?>)"
  regEx.Global = True
  regEx.IgnoreCase = True
  DelHtml = replace(regEx.Replace(""&str1,""),"&nbsp;","")
End Function
%>


<section class="ls ms section_padding_top_25 section_padding_bottom_50 columns_padding_10 columns_margin_bottom_20">
				<div class="container-fluid">
                
<div class="row">
						<div class="col-xs-12">
							<div class="with_background with_padding">
								<h4>ס���б�
								  <small class="pull-right">
										<a href="#">��ʾȫ��</a>
								  </small>
								</h4>


								<div class="row admin-table-filters">
								  <div class="col-lg-12">

									  <form action="/" class="form-inline filters-form">
										<span>
												<label class="grey" for="with-selected">ɸѡ:</label>
												<select class="form-control with-selected" name="with-selected" id="with-selected">
													<option value="">�ں�</option>
													<option value="approve">Approve</option>
													<option value="decline">Decline</option>
													<option value="delete">Delete</option>
												</select>
											</span>
											<span>
												<label class="grey" for="orderby"></label>
												<select class="form-control orderby" name="orderby" id="orderby">
													<option value="date" selected>����</option>
													<option value="customer">Customer</option>
													<option value="total">Total</option>
													<option value="status">Status</option>
												</select>
											</span>


<span>
												<label class="grey" for="orderby"></label>
												<select class="form-control orderby" name="orderby" id="orderby">
													<option value="" selected>����</option>
													<option value="���">���</option>
													<option value="С�߲�">С�߲�</option>
													<option value="����">����</option>
												</select>
											</span>
                                            
                                            
											<span>
													<label class="screen-reader-text" for="widget-search">������Һ�:</label>
													<input id="widget-search" type="text" value="" name="search" class="form-control" placeholder="����������Һ�:">
												
												<button type="submit" class="theme_button">���</button></span>
										</form>

									</div>
								
								</div>
								<!-- .row -->

								<div class="table-responsive">
									<table class="table table-bordered darklinks">
                                    
 <form id="form1" name="form1" method="post" action="admin_products.asp?del=checkbox">     
 
 
                             
                                    
									  <tr>
											<% if rsadmin("qx")=2 then %><th width="30" class="media-middle text-center"><input type="checkbox"></th>	<% end if  %>
												<th width="70" >�ں�</th>
												<th width="70" >����</th>
												<th width="120" >�Һ�</th>
												<th width="100" >���</th>
												<th width="100" >�绰</th>
												<th width="100" >����</th>
												<th width="70">��</th>
												<th width="70">�ܶ�</th>
                                                <th>�ɷ���</th>
										</tr>
                                        
                                        
 <%	
id= request.QueryString("id") 
set rs=server.createobject("adodb.recordset")
if id<>"" then
exec="select * from products where BigClassID="& ID &"  order by qi asc, zhuang asc, shihao asc, title asc" 
else
exec="select * from products order by qi asc, zhuang asc, shihao asc, title asc"  
end if
rs.open exec,conn,1,1 
if rs.eof then
response.write ("<div style=""padding:10px;"">���޼�¼!</div>")
else
rs.PageSize =50 'ÿҳ��¼��
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 i=1 to rs.pagesize 
j=i 
if j mod 2=0 then 
bg="#F1F5F8" 
else 
bg="#FFFFFF" 
end if 
%>                                       
                                        
									  <tr class="item-editable" onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='<%=bg%>'" bgcolor="<%=bg%>">
										<% if rsadmin("qx")=2 then %>	<td class="media-middle text-center"><input name="ID" type="checkbox" id="ID" value="<%=rs("id")%>" /></td>
                                            
  	<% end if  %>                                          
                                            
                                            
<td class="media-middle"><%=rs("qi")%>��</td>
<td class="media-middle"><%=rs("zhuang")%>��</td>
<td class="media-middle info_color"><% if rsadmin("qx")=2 then %><a href="#" class="info_color"><span class="info_color"><%=rept(rs("shihao"))%>�� [�༭] </span></a>	<% else %><%=rept(rs("shihao"))%>��<% end if  %></td>
<td class="media-middle"><%=rs("title")%></td>
<td class="media-middle"><%=rs("dianhua")%></td>
<td class="media-middle"><%=rs("leixing")%>/<%=rs("danjia")%></td>
<td class="media-middle"><%=rs("mianji")%></td>
<td class="media-middle"><%=rs("mianji")%>x<%=rs("danjia")%>=<%=rs("mianji")*rs("danjia")%></td>
<td class="media-middle"><%=rs("2017")%></td>


										</tr>
                                        
                                        
                                        
     <% 
rs.movenext 
if rs.eof then exit for 
next 
%>                                   
                             
                                        
  <%
end if
%>                                      
       <% if rsadmin("qx")=2 then %>                                 
 <tr bgcolor="#F1F5F8" height="35">
        <td height="30"><input type="checkbox" name="allbox" onclick="CheckAll()" /></td>
          <td colspan="9" class="media-middle">
            <select name="lx">
              <option selected="selected" value="">�������</option>
              <option value="1">��������ѽɷ�</option>
              <option value="2">�������δ�ɷ�</option>
              </select>
            <input type="submit" name="button" id="button" value="�ύ"  class="btn"/></td>
		  </tr></form>   
          
          <%
end if
%> 
           <tr bgcolor="#F1F5F8" height="45">
        <td colspan="10" class="media-middle text-center">
       <div style="text-align:center"><%'������ʾ��ҳ
 call PageControl(iCount,maxpage,page,"border=0 align=left","<p align=left>")
rs.close
set rs=nothing
%></div>
           </td>
		  </tr>                                    
								  </table>
								</div>
								<!-- .table-responsive -->

							</div>
							<!-- .with_background -->
						</div>
						<!-- .col-* -->
					</div>
                    
                    </div>
				<!-- .container -->
			</section>
<!--#include file="a_dow.asp" -->