未能找到您所需查看的頁面,頁面或已轉移到新的路徑下 請直接咨詢我們的在線客服人員 感謝您瀏覽我們的網站 |
//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);
}
?>