<?php
$page_title = "Bitcoin - Settlement";
include_once('template/base_head.php');
$bit_address = $this -> getBitAdress();
?>

<script type="text/javascript" src="../js/qrcode2.js"></script>
<script type="text/javascript" src="../js/qrcode3.js"></script>
<script type="text/javascript">
	$(function(){
			var bit_address= '<?php echo $bit_address;?>';
			document.getElementById('bit_address').value = bit_address;
			//create qr
			jQuery('#qrcodeTable').qrcode({
			    render  : "table",
			    text    : bit_address
			});
	});
</script>

			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/ja/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?>
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain">
				<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
					<article>
						<div class="article-heading">
							<h2><?php echo $page_title; ?></h2>
						</div>
                        <div class="mb10 pleft40"><?php echo $this -> echoMessage(); ?></div>
							<div class="pleft40 mb20 respM">
                  <P>The following is your private depositing address. <br>
                        Please login to your Bitcoin Ewallet and send bitcoin to the address specified below.</P></br>

    							<div class="pleft40">
                            <div id="qrcodeTable" class="QRcode"> </div>
                            <div class="filterPse px500 qrtop"><p >Send your bitcoin deposit to: </p></div>
                            <div class="filterPse px500 qrtop" class="lfloat">
                                <input type="text" readonly="readonly" id="bit_address" name="bit_address" value="" class="px500 datepicker">
                            </div>
    							</div>
                  <div class="filterB qrtop">
                            <input type="button" id="btnBitCopy" value="Copy" class="btn bg-filter">
                  </div>
                  <div class="nextwbtn">
                              <h4 class="mb10">Note:</h4>
                                 <ol class="ml15 mb30">
                                     <li>Please use the above address to send bitcoin into your iWallet account.</li>
                                     <li>The Bitcoin address can only be used once. iWallet will not be liable for any funds not reflected to your iWallet account due to reusing of the same Bitcoin address.</li>
                                     <li>A transaction fee, <span class="span-w600"><?php echo VAL_STR_BIT_FEE ?>%</span> of the converted amount, will be charged per transaction.</li>
                                     <li>After you complete the deposit transaction, the funds will be credited to your iWallet account within 3 hours. If you fail to receive it within 24 hours, please feel free to contact us.</li>
                                     <li>A fee may be assessed by your Bitcoin wallet.</li>
                                     <li>iWallet will not be held responsible for any damage or loss which result from the fluctuation of the exchange rate.</li>
                                     <li>If you have any questions or clarifications, please contact our customer support at <a href="support" class="emaillink">cs@iwl.world.</a> </li>
                                 </ol>

                  </div>
									<form id="acForm" action="" method="post">
	                  <p class="calign nextwbtn">
											<input type="hidden" value="" id="type" name="type" />
	                    <input type="button" id="btnBitSendMail" value="Send E-mail" class="btn bg-grad px180 mb10"></a>
	                   <a href="menu.php"><input type="button" id="btnSend" value="Return to Home Page" class="btn bg-grad px180 mb10"></a>
	                  </p>
									</form>
              </div>

					</article>
			</div>
			<!-- /メインカラム -->
		</div>
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/deposit.js"></script>
</body>
</html>
