require_once("/home/o-pet/www/htdocs/inc/config.php");
require_once("/home/o-pet/www/htdocs/inc/sky.php");
//携帯振り分け
$ua = $_SERVER["HTTP_USER_AGENT"];
if(ereg("DoCoMo",$ua)){
header("Location: ./i/");
exit;
}elseif(ereg("Vodafone",$ua)){
header("Location: ./i/");
exit;
}elseif(ereg("SoftBank",$ua)){
header("Location: ./i/");
exit;
}elseif(ereg("J-PHONE",$ua)){
header("Location: ./i/");
exit;
}elseif(ereg("UP\.Browser",$ua)){
header("Location: ./i/");
exit;
}elseif(ereg("PDXGW",$ua)){
header("Location: ./i/");
exit;
}
//注目の仔犬
$MySQLTable = "pushDog";
$MyLink = mysql_connect($MySQLHOST,$MySQLUserName,$MySQLPasswd);
mysql_select_db($MySQLDatabase, $MyLink);
$MyQuery = "SELECT pushDog.id , dogMaster.id , dogMaster.faqNo , dogMaster.kindFlg , dogMaster.weight , dogMaster.sexFlg , dogMaster.color , dogMaster.comment FROM `" . $MySQLTable . "` LEFT JOIN `dogMaster` ON pushDog.id = dogMaster.id \n";
$MyResult = mysql_query($MyQuery, $MyLink);
$MyCount = mysql_num_rows($MyResult);
if($MyCount){
while($row=mysql_fetch_array($MyResult)){
$faqNo = $row[faqNo];
$kindName = $kindFlgArray[$row[kindFlg]];
$weight = $row[weight];
$sex = $sexArray[$row[sexFlg]];
$color = $row[color];
$comment = nl2br($row[comment]);
$MySQLTableImg = "image";
$MyQueryImg = "SELECT imgId FROM `" . $MySQLTableImg . "` WHERE id = '" . $row[id] . "' AND model = '1' ORDER BY priority LIMIT 1 \n";
$MyResultImg = mysql_query( $MyQueryImg, $MyLink );
$MyCountImg = mysql_num_rows( $MyResultImg );
if( $MyCountImg ){
while( $rowImg = mysql_fetch_array( $MyResultImg ) ){
$prtImg = "";
}
}
}
}
mysql_close($MyLink);
?>
大阪ブリーダーペットショップ
ボンボン(BONBON)
大阪 ブリーダー ショップ
オンラインペットショップ
ボンボン 24時間注文受付中!!
通販法表記
動物取扱業登録番号:[大阪1284-1]
ボンボン注目の仔犬
echo $prtImg; ?>--- echo $kindName; ?>---
echo $weight; ?>[ echo $sex; ?>]
【 echo $color; ?>】
echo $faqNo; ?>
echo $comment; ?>
ブリーダーオススメの仔犬が勢揃い!!
ペットショップ[ボンボン]から皆様へ5つのお約束
新着情報