Пример #1
0
include 'connect.php';
error_reporting(0);
if ($_GET['category'] != "" && $_GET['type'] != "" && $_GET['limit'] != "") {
    session_start();
    $category = $_GET['category'];
    $type = $_GET['type'];
    $limit = $_GET['limit'];
    if ($category == "Fashion") {
        get_fashion_products($type);
    } else {
        if ($category == "Home_Living") {
            get_home_living_products($type);
        } else {
            if ($category == 'Smartphone') {
                smartphones($limit);
            } else {
                if ($category == 'Kids_Stuff') {
                    baby_gifts($limit);
                } else {
                    if ($category == 'Mega_sale') {
                        mega_sale();
                        //echo "HEre";
                    }
                }
            }
        }
    }
} else {
    // smartphones(8);
    // baby_gifts(8);
Пример #2
0
            background: url(./img/Category-Area.jpg) no-repeat center 0;
            /*background-size: cover;*/
        }
        
        .aa-header {
            width: 100%;
            height: 230px;
            position: relative;
            overflow: hidden;
            background: url(./img/christmas-top-banner.gif) no-repeat center 0;
        }
    </style>

    <?php 
include 'connect.php';
smartphones(8);
baby_gifts(8);
?>

        <body>

            <p>
            </p>
            <div id="append_parent"></div>
            <div id="ajaxwaitid"></div>
            <div class="top-ad" style="text-align:center; max-width:100%; max-height:80px;"><a href="http://www.kilimall.co.ke/offers/xmas-online-deals/" target="_blank"><img border="0" src="http://data.kilimall.co.ke/upload/shop/adv/05033839715891189.gif" alt="Christmas"></a></div>
            <style type="text/css">
                .top-ad img {
                    width: 100%;
                }
            </style>