Пример #1
0
    ?>
                    </ul>
                </div>
                <!--Product List Ends-->
           
            </div>
            <!--MAIN CONTENT ENDS-->
<!--Product List Ends-->


<!--Newsletter_subscribe Starts-->

            <div class="subscribe_block">
            <?php 
    require_once 'storeScripts/configuration_class.php';
    $conf = new Configuration_Class();
    ?>
                <div class="find_us">
                    <h3>Find us on</h3>
                    <a class="twitter" href="http://www.twitter.com/<?php 
    echo $conf->getTwitter();
    ?>
" target="_blank"></a>
                     <a class="facebook" href="http://www.facebook.com/<?php 
    echo $conf->getFacebook();
    ?>
" target="_blank"></a> 
                     <a class="rss" href="http://www.<?php 
    echo $_SERVER["SERVER_NAME"] . "/" . $conf->getRSS();
    ?>
" target="_blank"></a> 
<tr>
<th style="border: 1px gray solid; font-size: 10pt;font-weight: bold;text-align: center;">Product Name</th>
<th style="border: 1px gray solid; font-size: 10pt;font-weight: bold;text-align: center;">Price</th>
<th style="border: 1px gray solid; font-size: 10pt;font-weight: bold;text-align: center;">Quantity</th>
<th style="border: 1px gray solid; font-size: 10pt;font-weight: bold;text-align: center;">Total</th>
</tr>
<?php 
echo $resp;
?>
</table>
<br />

<h4 class="heading">Payment Information</h4>
<?php 
require_once 'storeScripts/configuration_class.php';
$configuration = new Configuration_Class();
?>
<br /><br />

<div class="mc2"  style="text-align: right;">
                	<ul>
                      <li><span style="font-size: 11pt;"><b>Your Subtotal		:</b></span> <label style="font-size: 13pt;color: red;font-weight: bold;"><?php 
echo $configuration->getCurrency();
?>
&nbsp;<?php 
echo number_format($order_total, 2);
?>
</label></li> 
                      <li><span style="font-size: 11pt;"><b>Shipping Cost 		:</b> </span> <label style="font-size: 13pt;color: red;font-weight: bold;"><?php 
echo $configuration->getCurrency();
?>
Пример #3
0
    /**
     * 
     * Method to get the page Footer section
     * 
     */
    public function getPageFooter()
    {
        ?>


<?php 
        require_once 'db_connection.php';
        require_once 'configuration_class.php';
        $configuration = new Configuration_Class();
        $query = "SELECT footer FROM configuration LIMIT 1";
        $result = mysql_query($query);
        $row = mysql_fetch_array($result);
        ?>
     </section>
        <!--Mid Section Ends-->
    </div>
<!-- BEGIN FOOTER -->

   <div class="footer_container">
        <!--Footer Starts-->
        <footer>
<?php 
        echo $row["footer"];
        ?>
<div class="footer_customblock">
                <div class="shipping_info"> <span>introducing </span><br>
                    <span style="font-size: 8pt; font-weight: bold; color: black;">FREE SHIPPING WORLD WIDE</span><br>
                    <small>for all purchases</small> </div>
                <div class="contact_info"> Contact Number...:<big><?php 
        echo $configuration->getPhone();
        ?>
</big> </div>
            </div>
            <address>

            Copyright © <?php 
        echo date("Y");
        ?>
 <?php 
        echo $configuration->getStoreName();
        ?>
. All Rights Reserved. <img src="images/payment_info.jpg"/>
            </address>
        </footer>
        <!--Footer Ends-->
    </div>

</div>


</body>
</html>

<?php 
    }
Пример #4
0
// Author: Natanael Sanchez Melchor
//
// (c) Copyright:
//               Natanael Sanchez Melchor
//               http://www.natanaelsanchez.comxa.com
//               natanaelsm83@gmail.com
//==============================================================+
//Start the session
session_start();
if (empty($_SESSION['admin_name'])) {
    header('Location: login.php');
    exit;
}
require_once '../storeScripts/db_connection.php';
require_once '../storeScripts/configuration_class.php';
$configuration = new Configuration_Class();
if (empty($_GET["id"]) || !is_numeric($_GET["id"])) {
    exit;
}
$orders_id = $_GET["id"];
$query = "SELECT * FROM orders WHERE orders_id = {$orders_id}";
$result = mysql_query($query);
while ($data = mysql_fetch_array($result)) {
    $orders_status = $data["orders_status"];
    $customer_id = $data["customers_id"];
    $name = $data["delivery_name"];
    $addr1 = $data["delivery_street_address1"];
    $addr2 = $data["delivery_street_address2"];
    $city = $data["delivery_city"];
    $state = $data["delivery_state"];
    $zipcode = $data["delivery_zipcode"];
Пример #5
0
// Author: Natanael Sanchez Melchor
//
// (c) Copyright:
//               Natanael Sanchez Melchor
//               http://www.natanaelsanchez.comxa.com
//               natanaelsm83@gmail.com
//==============================================================+
//Start the session
session_start();
if (empty($_SESSION['admin_name'])) {
    header('Location: login.php');
    exit;
}
require_once '../storeScripts/db_connection.php';
require_once '../storeScripts/configuration_class.php';
$configuration = new Configuration_Class();
//PAGINATION
// How many adjacent pages should be shown on each side?
$adjacents = 3;
/*
First get total number of rows in data table.
If you have a WHERE clause in your query, make sure you mirror it here.
*/
$query = "SELECT COUNT(*) as num FROM orders";
$total_pages = mysql_fetch_array(mysql_query($query));
$total_pages = $total_pages["num"];
/* Setup vars for query. */
$targetpage = "customer_orders.php";
//your file name  (the name of this file)
$limit = 12;
$page = 1;
Пример #6
0
?>
" /></td>
</tr>

<tr>
<td align="right" colspan="2"><input type="submit" value="Change Password"  class="btn_update" /></td>
</tr>

</form>
</table>

<br />
<div id="send_email">
<?php 
require_once '../storeScripts/configuration_class.php';
$configuration = new Configuration_Class();
$query = "SELECT customer_email FROM customer WHERE customer_id = {$id} LIMIT 1";
$result = mysql_query($query);
$data = mysql_fetch_array($result);
$email = $data["customer_email"];
?>
<h2>Send Email</h2>
<form action="../storeScripts/send_email.php" method="POST">

<label for="from" >From:</label> <br />
<select name="from">
<option value="<?php 
echo $configuration->getInfoEmail();
?>
"><?php 
echo $configuration->getInfoEmail();