Пример #1
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 
    }