<hr />
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="20%"><label>Order made by:</label></td>
                <td colspan="3"><b><?php 
echo $row->name;
?>
</b></td>
              </tr>
            <tr>
                <td><label>Order Total:</label></td>
                <td colspan="3"><b>
                <span>
					<?php 
$total = $row->order_total;
echo country_currency($total);
?>
                    </span>
                </b>
                </td>
              </tr>
              <tr>
                <td><label>Order Total In Word:</label></td>
                <td colspan="3"> 
                 <?php 
echo '<b>' . convert_number_to_words($total) . ' Tk. Only.</b>';
?>
                </td>
              </tr>
            <tr>
                <td><label>Email Id:</label></td>
    <div class="product_box_main">
    <?php 
if (isset($res)) {
    //creating table
    if ($total_rows > 0) {
        while ($result = mysql_fetch_assoc($res)) {
            echo '<div class="product_box_thumb_all">';
            echo '<a href="index.php?route=product&option=product_details&product_id=' . $result['product_id'] . '" title="View details of ' . $result['product_title'] . '">
                    <img src="pr_thumb_small/' . $result['product_thumb_image'] . '" /></a>';
            if (time() - strtotime($result['posted_date']) < 15 * 86400) {
                echo '<span class="newprod_home"><img src="Resources/ico/new.png" alt="New Product"></span>';
            } else {
                echo '<span class="oldprod_home"><img src="Resources/ico/add_to_cart.png" alt="New Product"></span>';
            }
            echo '<div class="product_box_details_all">';
            echo '<b>' . country_currency($result['product_price']) . '</b>';
            echo '</div>';
            echo '</div>';
        }
    } else {
        echo '<h3>Nothing matched..</h3>';
        echo '<label style="color:#f60">';
        echo 'Sorry, but nothing matched your search terms. Please try again with some different keywords!';
        echo '</label>';
    }
}
?>
    </div>
    <?php 
include "pagination_cat.php";
?>
"><img src="pr_thumb_small/<?php 
        echo $row->product_thumb_image;
        ?>
"  /></a>
                              
                        <?php 
        if (time() - strtotime($row->posted_date) < 15 * 86400) {
            echo '<span class="newprod_home"><img src="Resources/ico/new.png" alt="New Product"></span>';
        } else {
            echo '<span class="oldprod_home"><img src="Resources/ico/add_to_cart.png" alt="New Product"></span>';
        }
        ?>
                        
                        <div class="product_box_details_home">
                            <b><?php 
        echo country_currency($row->product_price);
        ?>
</b>
                            </div>
                        </div>
                        
                <?php 
    }
    ?>
            
            <?php 
}
?>
            <!-------------------------repeater --------->
            </div>
            <div class="clear"></div> 
    <!------------------------------container Section------------------------------->
    <div id="container">
    <!------------------------------navigation Section------------------------------->
        <div id="user_panel">
            <div class="user_panel_box">
                <div class="terms_view_top">
                	<img src="Resources/ico/shipping.png">
                    <a href="index.php?route=shipping&option=view">Shipping</span></a>
                </div>
               
                <div class="cart_view_top">
                    <img src="Resources/ico/cart_home.png" />
                    	<a href="index.php?route=cart&option=view">Checkout: 
						<?php 
require_once 'Views/cart_script.php';
echo '<span>' . $quantityTotal . '</span> Item\'s - <span>' . country_currency($cartTotal) . '</span>';
?>
</a>
                  </div>
                <div class="site_login">
                    <ul>
                       <?php 
if (!empty($_SESSION["customer_id"])) {
    ?>
                        Hi! <a href="#">
                        <?php 
    echo $_SESSION["customer_name"];
    ?>
</a> 
                        <a href="index.php?route=member&option=logout">[Log Out]</a>&nbsp;
                        <?php