|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/store/ |
Upload File : |
<?
include $_SERVER['DOCUMENT_ROOT']."/conf/conf_dir.php";
if(!$orderid){
echo "<script>document.location='/';</script>";
}
if($idx){
$where="WHERE uid='$idx'";
}else if($orderid){
$where = "WHERE orderid='$orderid'";
}
$res = Get_dbres("SELECT * FROM shop_order $where");
$row = mysql_fetch_array($res);
$order_code=$row[orderid];
$tour_name = Get_db("select addinfo from shop_product where uid='$row[goodsuid]'");
//$tour_name = "[JUST US] JYJ正規アルバム2集 現地受領";
$d_bankdate1 = substr($row[d_bank],0,4);
$d_bankdate2 = substr($row[d_bank],4,2);
$d_bankdate3 = substr($row[d_bank],6,2);
$use_name = $row[o_name];
$userid = Get_db("select userid from user where id='$row[mbruid]'");
$reqry = "select * from shop_ordergoods where mbruid = '$sessionIDX' and parent='$row[uid]'";
$resub= mysql_query($reqry,$db_con);
while($rows=mysql_fetch_array($resub)){
$tmp_goods .= "<b>$rows[goodsname]($rows[buynum]個)</b><br/>";
}
?>
<html>
<head>
<title>JYJ Japan offcial website</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="JYJ Japan offcial website,JYJ" />
<script language="JavaScript">
<!--
function prt_page() { //v3.0
print();
}
//-->
</script>
<style type="text/css">
<!--
.style2 {
font-size: 12px;
font-weight: bold;
}
.style4 {font-size: 11px; font-weight: bold; }
-->
</style>
</head>
<body onLoad="prt_page();">
<table>
<tr>
<td>
<table width="365" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_01.gif" width="367" height="108"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="213"><img src="http://lookkorea.jp/img/sub/reservation/receipt_03.gif" width="212" height="18"></td>
<td valign="bottom"><span class="style4"><?=$order_code?> </span></td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_04.gif" width="30" height="18"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_05.gif" width="367" height="7"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="227"><img src="http://lookkorea.jp/img/sub/reservation/receipt_06.gif" width="227" height="15"></td>
<td valign="bottom" class="style4"><?=$d_bankdate1?>年<?=$d_bankdate2?>月<?=$d_bankdate3?>日</td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_07.gif" width="30" height="15"></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="74"><img src="http://lookkorea.jp/img/sub/reservation/receipt_09.gif" width="74" ></td>
<td height="21" valign="bottom" class="style2"><?=$use_name?> </td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_10.gif" width="30"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_11.gif" width="367" height="8"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="148"><img src="http://lookkorea.jp/img/sub/reservation/receipt_12.gif" width="148" height="21"></td>
<td valign="bottom" class="style2">
<?if($info[s_check] == 1) echo"L-cash"; else echo "¥";?> <?=number_format($row[price])?> ID : <?=$userid?></td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_13.gif" width="30" height="21"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_14.gif" width="367" height="50"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="94" style="background: url(../img/blue_allow.gif) no-repeat right 50%;"><img src="http://lookkorea.jp/img/sub/reservation/receipt_15.gif" width="94"></td>
<td><font size="1px"><?=$tour_name?></font></td>
<td width="30" style="background: url(../img/blue_allow.gif) no-repeat right 50%;"><img src="http://lookkorea.jp/img/sub/reservation/receipt_16.gif" width="30"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_17.gif" width="367" height="19"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" background="http://lookkorea.jp/img/sub/reservation/receipt_18.gif"></td>
<td valign="top" style="padding: 0 20 0 20">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<?=$tmp_goods?>
</td>
</tr>
</table>
</td>
<td width="30" background="http://lookkorea.jp/img/sub/reservation/receipt_19.gif"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="/images/store/receipt_jyj.jpg"></td>
</tr>
</table>
</td>
<td width="5px"> </td>
<td>
<table width="365" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_01.gif" width="367" height="108"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="213"><img src="http://lookkorea.jp/img/sub/reservation/receipt_03.gif" width="212" height="18"></td>
<td valign="bottom"><span class="style4"><?=$order_code?> </span></td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_04.gif" width="30" height="18"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_05.gif" width="367" height="7"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="227"><img src="http://lookkorea.jp/img/sub/reservation/receipt_06.gif" width="227" height="15"></td>
<td valign="bottom" class="style4"><?=$d_bankdate1?>年<?=$d_bankdate2?>月<?=$d_bankdate3?>日</td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_07.gif" width="30" height="15"></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="74"><img src="http://lookkorea.jp/img/sub/reservation/receipt_09.gif" width="74" ></td>
<td height="21" valign="bottom" class="style2"><?=$use_name?></td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_10.gif" width="30"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_11.gif" width="367" height="8"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="148"><img src="http://lookkorea.jp/img/sub/reservation/receipt_12.gif" width="148" height="21"></td>
<td valign="bottom" class="style2">
<?if($info[s_check] == 1) echo"L-cash"; else echo "¥";?> <?=number_format($row[price])?> ID : <?=$userid?></td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_13.gif" width="30" height="21"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_14.gif" width="367" height="50"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="94"><img src="http://lookkorea.jp/img/sub/reservation/receipt_15.gif" width="94" height="19"></td>
<td><font size="1px"><?=$tour_name?></font></td>
<td width="30"><img src="http://lookkorea.jp/img/sub/reservation/receipt_16.gif" width="30" height="19"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="http://lookkorea.jp/img/sub/reservation/receipt_17.gif" width="367" height="19"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" background="http://lookkorea.jp/img/sub/reservation/receipt_18.gif"></td>
<td valign="top" style="padding: 0 20 0 20">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<?=$tmp_goods?>
</td>
</tr>
</table>
</td>
<td width="30" background="http://lookkorea.jp/img/sub/reservation/receipt_19.gif"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="/images/store/receipt_jyj.jpg"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>