foreach(array('cd') as $k){ if(isset($_GET[$k])){ ${$k} = $_GET[$k]; } } # i18n_http_output("SJIS"); include "./dbcon.inc"; $query="select * from t_shop,t_content,t_sendtype "; $query=$query." where t_shop.content_type=t_content.contentcd "; $query=$query." and t_shop.send_type=t_sendtype.sendcd "; $query=$query." and t_shop.goodscd='".$cd."'"; $rtn = pg_exec($con,$query); $cnt = pg_numrows($rtn); $goodscd=pg_result($rtn,0,0); $goodsname=pg_result($rtn,0,1); $price=pg_result($rtn,0,2); $s_price=pg_result($rtn,0,3); $zei=pg_result($rtn,0,4); $syurui=pg_result($rtn,0,5); $goodsinfo=pg_result($rtn,0,6); $comment=pg_result($rtn,0,7); $limit_number=pg_result($rtn,0,8); $limit_day=pg_result($rtn,0,9); $size=pg_result($rtn,0,10); $postage=pg_result($rtn,0,12); $postage_type=pg_result($rtn,0,13); $delivery_day=pg_result($rtn,0,14); $photo_1=pg_result($rtn,0,18); $photo_2=pg_result($rtn,0,19); $photo_3=pg_result($rtn,0,20); $contentname=pg_result($rtn,0,23); $sendname=pg_result($rtn,0,25); print("
![]() |
![]() |
|
$comment |
|
");
if($photo_2 !=""){
$image_size=getimagesize($photo_2);
if($image_size[0] > $image_size[1]){
$yoko=300;
$tate=225;
}else{
$yoko=300;
$tate=400;
}
print(" |
");
if($photo_3 !=""){
$image_size=getimagesize($photo_3);
if($image_size[0] > $image_size[1]){
$yoko=300;
$tate=225;
}else{
$yoko=300;
$tate=400;
}
print(" |