查看文件: index_testshow.php
大小: 912 字节
类型: application/octet-stream
<?php require_once('./Connections/BE2.php'); ?> <? mysql_select_db($database_BE2, $BE2); if( $_SERVER['REMOTE_ADDR']=='220.130.43.118'){ $query_Rt2 = "SELECT * FROM product_data WHERE p_new=1"; }else{ $query_Rt2 = "SELECT * FROM product_data WHERE company_num>2 AND p_new=1"; } $Rt2 = mysql_query($query_Rt2, $BE2) or die(mysql_error()); $row_Rt2 = mysql_fetch_assoc($Rt2); $totalRows_Rt2 = mysql_num_rows($Rt2); ?> <div class="container"> <? do { ?> <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4 col-xl-4" style="border:1px"><a href="/categoryDetail-<?= $row_Rt2['mem_auto'];?>.html"> <?= $row_Rt2['p_title'];?></a></div> <?php } while ($row_Rt2 = mysql_fetch_assoc($Rt2)); ?> </div> <?php mysql_free_result($Rt2); ?>
保存
取消
返回文件列表