未能找到您所需查看的页面,页面或已转移到新的路径下 请直接咨询我们的在线客服人员 感谢您浏览我们的网站 |
//query product
$proTypeArray = array('0','0','0','1','1','2');
shuffle($proTypeArray);
if($proTypeArray[0] == 0){
//
$queryPro = new dbOper("select svrId, operId, saleTag, arId, cpu, ram, hdd, network, ips, price, payType, advKey from tb_svr where saleTag in ('2','3','4') order by svrId DESC limit 8;");
$queryProRlt = $queryPro -> operDb();
$outputi = 0;
while(list($svrId, $operId, $saleTag, $arId, $cpu, $ram, $hdd, $network, $ips, $price, $payType, $advKey) = mysql_fetch_row($queryProRlt)){
echo '
';
if($saleTag == '2'){echo '
';}else if($saleTag == '4'){echo '
';}else{echo '
';}
echo "
- $cpu
- 内存: "."$ram
- 硬盘: "."$hdd
- $network
- 免费$ips"."IP
- $price".'元/'.changePayType($payType)."
".'
';
}
mysql_free_result($queryProRlt);
}else if($proTypeArray[0] == 1){
//
$queryPro = new dbOper("select svrId, operId, saleTag, arId, cpu, ram, hdd, network, ips, price, payType, advKey from tb_vps where saleTag in ('2','3','4') order by svrId DESC limit 8;");
$queryProRlt = $queryPro -> operDb();
$outputi = 0;
while(list($svrId, $operId, $saleTag, $arId, $cpu, $ram, $hdd, $network, $ips, $price, $payType, $advKey) = mysql_fetch_row($queryProRlt)){
echo '
';
if($saleTag == '2'){echo '
';}else if($saleTag == '4'){echo '
';}else{echo '
';}
echo "
- $cpu
- 内存: "."$ram
- 硬盘: "."$hdd
- $network
- 免费$ips"."IP
- $price".'元/'.changePayType($payType)."
".'
';
}
mysql_free_result($queryProRlt);
}else{
$queryPro = new dbOper("select hostId, arId, classId, hostSize, dbInfo, bandWidth, proLan, osType, price, payType, recom, keyword from tb_host order by orderId DESC limit 4;");
$queryProRlt = $queryPro -> operDb();
$outputi = 0;
while(list($hostId, $arId, $classId, $hostSize, $dbInfo, $bandWidth, $proLan, $osType, $price, $payType, $recom, $keyword) = mysql_fetch_row($queryProRlt)){
echo '
';
if($recom == '2'){echo '
';}
echo "
- $hostSize"."硬盘空间
- $dbInfo
- $bandWidth"."网站流量
- $proLan
- $osType"."操作系统
- $price".'元/'.changePayType($payType)."下单
".'
';
}
mysql_free_result($queryProRlt);
}
?>