<link rel="stylesheet" type="text/css" href="catalog/template/beststoreitems/css/cart.css">
<div class="main container">
    <div class="row" id="cart">
    	<!--left-->
    	<div class="col-md-24">
        	 <div class="page-title clearfix">
                <h1><?php echo $heading_title; ?></h1>
             </div>
             <?php if ($error) { ?> 
             <div class="warning"><?php echo $error; ?></div>
             <?php } ?>
            <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
                <div id="shipping">
                <div class="a" ><?php echo $text_shipping; ?></div>
                <div class="b" onmouseover="this.style.backgroundColor ='#F3F3F3'" onmouseout="this.style.backgroundColor ='#F9F9F9'">
                    <table width="100%">
                        <tr>
                            <th valign="top"><?php echo $text_shipping_to; ?></th>
                            <td valign="top" rowspan="2"><b><?php echo $text_shipping_address; ?></b><br /><?php echo $address; ?></td>
                        </tr>
                        <tr>
                            <td align="right" valign="bottom" style="padding-right:145px; padding-bottom:30px;"><input type="button" value="Change Address" class="btn_button btn_orange" onclick="location='<?php echo $change_address; ?>'"  style="padding:0 18px;"/></td>
                        </tr>
                    </table>
                </div>
                
                <?php if (isset($methods)) { ?>
                <div class="c" style="display:none"><?php echo $text_shipping_method; ?></div>
                <div class="d" style="background-color:#F9F9F9; padding:10px 10px 10px 10px; display:none;" onmouseover="this.style.backgroundColor ='#F3F3F3'" onmouseout="this.style.backgroundColor ='#F9F9F9'"><?php echo $text_shipping_methods; ?>
                    <table>
                        <?php foreach ($methods as $method) { ?>
                        <tr>
                        	<td class="g" colspan="2"><b><?php echo $method['title']; ?></b></td>
                        </tr>
                        <?php if (!$method['error']) { ?>
                        <?php foreach ($method['quote'] as $quote) { ?>
                        <tr>
                        	<td class="g">
                                <label for="<?php echo $quote['id']; ?>">
                                <?php if ($quote['id'] == $default) { ?>
                                <input type="radio" name="shipping" value="<?php echo $quote['id']; ?>" id="<?php echo $quote['id']; ?>" CHECKED />
                                <?php } else { ?>
                                <input type="radio" name="shipping" value="<?php echo $quote['id']; ?>" id="<?php echo $quote['id']; ?>" CHECKED/>
                                <?php } ?>
                                <?php echo $quote['title']; ?></label>
                            </td>
                        	<td class="i">
                                <label for="<?php echo $quote['id']; ?>"></label>
                                <br>Total Weight : <?php echo $quote['weight']; ?>kg
                                <br>Discount Off : <?php echo $quote['discount']; ?>%
                                <br>Cost: <b><font color=red><?php echo $quote['text']; ?></font></b>
                            </td>
                        </tr>
                            <?php } ?>
                            <?php } else { ?>
                        <tr>
                        	<td colspan="2" class="g"><div class="warning"><?php echo $method['error']; ?></div></td>
                        </tr>
                            <?php } ?>
                            <?php } ?>
                    </table>
                </div>
                <?php } ?> 
                <input type="hidden" name="shipping" value="EMS(china)">
                <div class="e"><?php echo $text_comments; ?></div>
                <div class="clearfix" style="margin-bottom:20px;">
                <div class="f" onmouseover="this.style.backgroundColor ='#F3F3F3'" onmouseout="this.style.backgroundColor ='#F9F9F9'">
                    <textarea name="comment" style="height:50px;" onclick="this.value=''"><?php echo $comment; ?></textarea>
                    <font style="color:#0000FF;line-height:150%;">Notes: You also may tell us your special request with your order here.</font>
                </div>
                <div  style="float:right; text-align:right; margin-top:63px;">
                    <a style="vertical-align:inherit;"  onclick="window.history.back(-1)" class="btn_button btn_gray"><i class="icon-back"></i>Back</a>
                    <button style="vertical-align:super;"  type="submit" class="btn_button btn_orange"><i class="icon_safety"></i>Proceed to Checkout</button>
                </div>
                </div>
                </div>
            </form>
        </div>
        <!--left end-->
        
    </div>
</div>
