<style>
body,html{-webkit-text-size-adjust:none; }
#cantact{border-radius:5px;box-shadow:0 1px 6px rgba(0,0,0,0.3); width:700px; padding:8px; text-align:center; margin:20px 0 0 20px;zoom:1;}
p{margin:0 0 10px;}
.MsoNormalTable{border-top:1px solid #d5d5d5;border-left:1px solid #d5d5d5;}
.MsoNormalTable td{font-size:11px;border-collapse: collapse;border-right:1px solid #d5d5d5;border-bottom:1px solid #d5d5d5;border-spacing:0; text-indent:15px; padding:5px;}
.heading1{background-color: #FFDE38;font-size:18px;font-weight: bold;padding:5px; height:32px; line-height:32px; width:685px;}
.heading{position:fixed;margin:0;left:39px;top:0;}
.western_box h2{font-size:16px; color:#cc0000; font-family:Arial, Helvetica, sans-serif; margin-bottom:5px;}
.clearfix:after { 
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;} 
.clearfix {display: inline-block;} 
* html .clearfix {height: 1%;} 
.clearfix {display: block;}
</style>
<script src="catalog/javascript/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function(){
                var topMain=$("#head").height()+200
                var nav=$(".heading1");
                $(window).scroll(function(){
                    if ($(window).scrollTop()>topMain){
                        nav.addClass("heading");
                    }
                    else
                    {
                        nav.removeClass("heading");
                    }
                });
     
        })
</script>
<div id="cantact">
<table width="700"><!--style="font:11px/150% Verdana, Arial, Helvetica, sans-serif; color:#000;"-->
    <tr>
    <td align="left">
    <div id="#head" class="b clearfix" style="border:1px solid #eee; margin-bottom:10px; padding:5px;">
      <table class="c">
        <tr style="font:11px/120% Verdana, Arial, Helvetica, sans-serif; color:#000; font-weight:bold;">
          <th align="left" width="60%"><?php echo $text_product; ?></th>
          <th class="center">Item Number</th>
          <th align="center"><?php echo $text_quantity; ?></th>
          <th align="center"><?php echo $text_price; ?></th>
          <th align="right"><?php echo $text_total; ?></th>
        </tr>
        <?php foreach ($products as $product) { ?>
        <tr><!--style="font:11px/150% Verdana, Arial, Helvetica, sans-serif; color:#000;"-->
              <td align="left" style="padding:4px 0;">
                <div style="float:left;"><a href="" target="_blank"><img width="65" height="65" border="0" src="<?php echo $product['thumb']?>"></a></div>
                <div style="padding-left:5px; overflow:hidden;"><a href="https://www.beststoreitems.com/index.php?controller=product&product_id=<?php echo $product['product_id']; ?>"><?php echo $product['name']; ?></a>
                <?php foreach ($product['option'] as $option) { ?>
                <br />
                <small style="padding-left:5px;"> - <?php echo $option['name']; ?> <?php echo $option['value']; ?></small>
                </div>	
    
                <?php } ?>
              </td>         
                   <td align="center"><?php echo $product['product_id']; ?></td>
              <td align="center"><?php echo $product['quantity']; ?></td>
              <td align="center"><?php if (!$product['discount']) { ?>
    
                <?php echo $product['price']; ?>
    
                <?php } else { ?>
    
                <span class="price_old"><?php echo $product['price']; ?></span><br />
    
                <span class="price_new"><?php echo $product['discount']; ?></span>
    
                <?php } ?></td>
              <td align="right"><?php echo $product['total']; ?></td>
        </tr>
        <?php } ?>
      </table>
      
      <br />
       <div class="f clearfix" style="position:relative;">    
    <table style="float:right;">    
        <?php foreach ($totals as $total) { ?>
        <tr>
            <td class="right" colspan="2" style="padding-right:10px;"><?php echo $total['title']; ?></td>
            <td class="right"><?php  echo $total['text'];?></td>
        </tr>
        <?php } ?>     
        <?php if(isset($pay_usd)){?> 
		    <tr>
		        <td class="right" colspan="4" style="padding-right:10px;">You need pay:</td>
		        <td class="right" style="color:red;">US$ <?php echo $pay_usd?></td>
		    </tr>   
        <?php }?>
    </table>     
    </div>
	  
    </div>
	<div id="content_we" style="margin:0 0 10px; clear:both; border-top:1px solid #eee;">
	<p class="heading1">Three steps for Western Union payment</p>
    <div class="western_box">
        <h2>1. Register or login your account</h2>
        <p>When you click "Go to Western Union website to pay your order" button below, it will take you to western union offical site to sign up a account first. if you have already a account, it will show a login page, you can sign in here.</p>
        <h2>2.  Click "Send Money" on western union site, then fill out the transfer details as follow</h2>
        <p><img src="https://www.beststoreitems.com/catalog/template/beststoreitems/image/western_transfer.jpg"></p>
        <h2>3. Pay via your credit card or debit card</h2>
        <p><img src="https://www.beststoreitems.com/catalog/template/beststoreitems/image/western_payment.jpg"></p>
	</div>
    	When you send us money online via Western Union or MoneyGram. Please refer to the following payment information:</p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoNormalTable" height="150" width="481">
	<tbody>
		<tr>
			<td style="padding-left:10px;" width="137">
				<span><strong>First Name</strong></span></td>
			<td style="padding-left:10px;" width="352">
				WUPEI</td>
		</tr>
		<tr>
		  <td style="padding-left:10px;" width="137">
		    <span><strong>Last Name</strong></span></td>
		  <td style="padding-left:10px;" width="352">
		    WU</td>
		  </tr>
		
	</tbody>
</table>
	<p style="margin:10px 0;">
		<strong>IMPORTANT NOTICE:</strong>&nbsp;Please email your payment details below after you paid to <a href="mailto:sales@beststoreitems.com" style="color:blue;">sales@beststoreitems.com</a>. We will pick up your money and process your order asap.</p>
	<table width="481" height="95" align="left" cellspacing="0" cellpadding="0" class="MsoNormalTable">
		<tbody>
			<tr>
				<td>Your Order Reference:</td>
			</tr>
			<tr>
				<td>Money Transfer Control Number(MTCN):</td>
			</tr>
            <tr>
				<td>Sender First Name:</td>
			</tr>
            <tr>
				<td>Sender Last Name:</td>
			</tr>
			<tr>
				<td>Send Amount:</td>
			</tr>	
		</tbody>
	</table>
	<div style="clear:both;"></div>
<p style="margin-top:15px;">
		Once you paid your order sucessfully, please send an e-mail to <a href="mailto:sales@beststoreitems.com" style="color:blue;">sales@beststoreitems.com</a> to tell your order reference and be patient to wait our processing in 12 hours.</p>
	<div style="clear:both;"></div>
	</div>
  <div style="clear:both; height:15px;"></div>
  <div class="buttons">
    <table width="100%"><tr>
      <td valign="top">
		<input type="button" style="background:url(catalog/template/beststoreitems/image/backtoaccount.gif); width:160px; height:30px; border:0; cursor:pointer;" value="" onclick="location.href='https://www.beststoreitems.com/index.php?controller=potential_order&order_id=<?php echo $order_id; ?>'" />
	  </td>	
	<td align="left">
        <form action="index.php?controller=westernunion&action=sendemail&order_id=<?php echo $reference; ?>" method="post" enctype="multipart/form-data" target="_blank">   
        <input type="submit" style=" font-color: blue; font-weight:bold; font-size:12px; font-family:Verdana, Arial;height:30px;" value="Go to Western Union website to pay your order"/>
        <input type="hidden" value="<?php echo $reference;?>" name="reference" id="reference"/>
        </form>
	   </td>	
	<?php if (isset($payment_url)) {?>
      </tr>
    </table>
	</div>

<?php }?>

</td></tr></table>
</div>