KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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/yuchun/admin/Proc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/yuchun/admin/Proc/store_flag_mail.php
<?include $_SERVER['DOCUMENT_ROOT']."/conf/conf_dir.php";?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?
	$qry = Get_dbres("SELECT * FROM shop_order where uid='$idx'");
	$row = mysql_fetch_array($qry);
	$regdate = substr($row[d_regis],0,4)."-".substr($row[d_regis],4,2)."-".substr($row[d_regis],6,2);

if($row[orderstep] == "2"){
	$resub = Get_dbres("select goodsname,buynum,price,goodsuid from shop_ordergoods where mbruid = '$row[mbruid]' and parent='$row[uid]'");
	$rows	= mysql_fetch_array($resub);
	$mail2 = get_db("select mail2 from shop_product where uid='$rows[goodsuid]'");
$content = "	
こんにちは。<br>
JYJ Japan Official Fanclubです。<br>
<br>
この度はご注文いただき誠にありがとうございます。<br>
<br>
下記商品につきまして、ご入金確認が完了いたしました。<br>
<br>
日付: ".$regdate."<br>
予約番号:".$row[orderid]."<br>
商品名: ".$rows[goodsname]."<br>
数量: ".$rows[buynum]."個<br>
価格(税込):".number_format($rows[price])." 円<br>
配送料:".number_format($row[tack])." 円<br>
<br>
決済料金(税込):".number_format($row[price])."<br>
<br>
".stripslashes($mail2)."
<br>
 ";

	$to = $row[o_email];

	if($mailTo == "ok" && $row[orderstep] == "2"){
	$from .= "From: JYJ JAPAN OFFICE<jyjjapan@c-jes.com>\n";
	$from .= "Return-Path: <jyjjapan@c-jes.com>\n";
	$from .= "Content-Type: text/html; charset=UTF-8";
	$subject = "JYJ MEMBERSHIP GOODS入金確認完了";
	$enc = iconv("UTF-8", "ISO-2022-JP", $subject);
	$subject = "=?ISO-2022-JP?B?".base64_encode($enc) ."?=";
	//mail($to, $subject, $content, $from);
	}
}
?>
<form name="F_bbs" method="post" action="../store_orderlist.php">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="act" value="<?=$act?>">
<input type="hidden" name="orderstep" value="<?=$orderstep?>">
<input type="hidden" name="key" value="<?=$key?>">
<input type="hidden" name="key_word" value="<?=$key_word?>">
<input type="hidden" name="goodsproduct" value="<?=$goodsproduct?>">
</form>
<script>document.F_bbs.submit()</script>

<body>
<?=$content;?><br>
<!--a href="store_flag_mail.php?idx=<?=$idx?>&mailTo=ok">[mail send]</a-->
</body>

Anon7 - 2021