⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 info.php

📁 php中英版本 仿alibaba贸易平台
💻 PHP
📖 第 1 页 / 共 2 页
字号:
       else
       $pages = ($total_records-($total_records%$records_p))/$records_p + 1;

       $list_start=($start_page-1)*20+1;
       $list_end=$list_start+19;
   ?>


<table border="0" cellpadding="2" cellspacing="0" width="100%" align=center>
<tr>
<td align=left valign=top bgColor="EFF3EF" class=S nowrap>Showing <? echo $list_start; ?> - <? echo $list_end; ?> of <? echo $total_records; ?>, total <? echo $pages ?> pages</font>
</td><td class=s align=right bgColor="EFF3EF">
 <?
 if ($start_page > 1){
        ?>
        <a href="<? echo $filename ?>?catid=<? echo $catid; ?>&start_page=<? echo $start_page-1 ?>">Previous</a>
        <?
        }
        if($pages>1){
        $end_page=$pages-5;

        if($start_page<=5)
              $p_start=1;
           else
              $p_start=$start_page-5;
        if($start_page<6){
           if($pages<10)
              $p_end=$pages;
              else
                $p_end=10;
        }
           else{
               if($start_page<$end_page)
                      $p_end=$start_page+5;
                  else
                      $p_end=$pages;
               }
        for ($p=$p_start;$p<=$p_end;$p++) {
        ?>
        <b><a href=<? echo $filename ?>?catid=<? echo $catid ?>&start_page=<? echo $p ?>> <? echo $p ?> </a></b>
        <?
        }
        }

         if ($start_page < $pages){
        ?>
        <a href="<? echo $filename ?>?catid=<? echo $catid; ?>&start_page=<? echo $start_page+1 ?>">Next</a>
        <?
        }
 ?>


</font></td></tr>
</table>

<?
$products_user = list_en_user0($rc,$start_page,$records_p);

for ($i=0; $i < sizeof($products_user); $i++) {
     if (($i%2) == 0)
         $color="#ffffff";
     else
         $color="#F6F6F6";

     $overview=$products_user[$i]["overview"];
     if(strlen($overview)>208)
     $overview=substr($overview,0,206)."...";

    ?>

        <table cellspacing=0 cellpadding=4 width="100%" bgcolor=<? echo $color ?> border=0>
                        <tbody>
                        <tr>
                        <td height=10></td>
                        </tr>
                        <tr>
                        <td> <? echo $products_user[$i]["company"]; ?> <b> </b>[<? echo $products_user[$i]["country"]; ?>]<br><img src="http://img.alibaba.com/images/eng/globalbuyer/buyer_star2.gif">
                                <img src="http://img.alibaba.com/images/eng/globalbuyer/buyer_star2.gif">
                                <img src="http://img.alibaba.com/images/eng/globalbuyer/buyer_star2.gif">

                        <b>Purchasing Products: </b><? echo $overview; ?>
                        <a href="details.php?catid=<? echo $catid ?>&euid=<? echo $products_user[$i]["euid"]; ?>" target=_blank>(Click for details...)</a>
                        </td>
                        </tr>
                        <tr>
                        <td height=10></td>
                        </tr>
                        </tbody>
                        </table>
      <?
}

?>

<br>

<table border="0" cellpadding="2" cellspacing="0" width="100%" align=center>
<tr>
<td align=left valign=top bgColor="EFF3EF" class=S nowrap>Showing <? echo $list_start; ?> - <? echo $list_end; ?> of <? echo $total_records; ?>, total <? echo $pages ?> pages</font>
</td><td class=s align=right bgColor="EFF3EF">
 <?
 if ($start_page > 1){
        ?>
        <a href="<? echo $filename ?>?catid=<? echo $catid; ?>&start_page=<? echo $start_page-1 ?>">Previous</a>
        <?
        }
        if($pages>1){
        $end_page=$pages-5;

        if($start_page<=5)
              $p_start=1;
           else
              $i_start=$start_page-5;
        if($start_page<6){
           if($pages<10)
              $p_end=$pages;
              else
                $p_end=10;
        }
           else{
               if($start_page<$end_page)
                      $p_end=$start_page+5;
                  else
                      $p_end=$pages;
               }
        for ($p=$p_start;$p<=$p_end;$p++) {
        ?>
        <b><a href=<? echo $filename ?>?catid=<? echo $catid ?>&start_page=<? echo $p ?>> <? echo $p ?> </a></b>
        <?
        }
        }

         if ($start_page < $pages){
        ?>
        <a href="<? echo $filename ?>?catid=<? echo $catid; ?>&start_page=<? echo $start_page+1 ?>">Next</a>
        <?
        }
 ?>



</font></td></tr>
</table>
<div align='right'>
<p><img src="http://img.alibaba.com/images/eng/home/newpage/more_home.gif" align="absmiddle">Can't
              find buyers in the list? <a href="/trade/tpchannel/pricing">Simply tell us
              what you sell! </a></p>
</div>
          </td>
    </tr>
  </table>


    </TD></TR></TBODY></TABLE>
  </center>
</div>
<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width=760>
  <TBODY>
  <TR>
    <TD class=m13 align=middle bgColor=#0976cc height=24><IMG
      src="../images/r_c2.gif" align=middle width="16" height="16"> <A
      href="javascript:win=open('http://www.alibaba.com/trade/util/sendmail?sendurl=/trade/forbuyer/cat', 'notice', 'width=620,height=520,location=no,toolbar=no,status=no,resizable=no,scrollbars=yes'); win.focus();"><FONT
      color=#ffffff>Recommend This to A Friend</FONT></A><IMG height=1
      src="../images/shim.gif" width=100> <IMG src="../images/r_c.gif" align=middle width="17" height="16">
      <A
      href="javascript:window.external.AddFavorite('http://www.alibaba.com/trade/forbuyer/cat','Alibaba%20Services%20for%20Buyers%20')"><FONT
      color=#ffffff>Bookmark This Page</FONT></A> </TD></TR></TBODY></TABLE></CENTER><!--cache-end--><BR>
<TABLE cellSpacing=0 cellPadding=0 width="760" align=center border=0>
  <TR>
    <TD vAlign=top bgColor=#909090 height=1></TD>
  <TR>
    <TD vAlign=top bgColor=#f1f1f1><BR>
      <DIV align=center><SPAN
      style="FONT-SIZE: 11px; FONT-FAMILY: Verdana,sans-serif"><A
      href="http://www.alibaba.com/"><SPAN class=S9>Home</SPAN></A><SPAN
      class=S9> - <A href="http://www.alibaba.com/aboutalibaba/index.html">About Alibaba</A> - <A
      href="http://www.alibaba.com/sitemap/sitemap.html">Site Map</A> - <A
      href="http://www.alibaba.com/trade/servlet/page/static/careers">Career
      Opportunities</A> <BR><A
      href="http://www.alibaba.com/aboutalibaba/partneringwithali.html">Partnering
      with Alibaba</A> - <A
      href="http://www.alibaba.com/aboutalibaba/contact.html">Contact Us</A>
      <BR><BR><FONT class=s><A
      href="http://www.alibaba.com/trade/servlet/page/static/privacy_statement">Privacy
      Policy</A> - <A
      href="http://www.alibaba.com/trade/servlet/page/static/legal_notice">Terms
      of Use</A> - <A
      href="http://www.alibaba.com/trade/servlet/page/static/safetrade/index">Safe
      Trading Tips</A><BR><A
      href="http://www.alibaba.com/trade/servlet/page/static/copyright_policy">Copyright
      Notice</A> (c) 1999-2003 Alibaba.com Corporation. </FONT></SPAN><FONT
      class=s><BR><BR></FONT></SPAN></DIV></TD></TR></TABLE>

</body>

</html>

⌨️ 快捷键说明

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