Reviews
Good(100%)
Average(0%)
Poor(0%) - Reviews (0)
- Good (0)
- Average (0)
- Poor (0)
XMB co., LTD.CategoryNew ArrivalBy PriceBy SalesBy Click
SEARCH
- -All Products
- -mobile phone Smart phone
- Apple iPhone
- Nokia
- Samsung
- Sony
- HTC
- LG
- BlackBreey
- MOTOROLA
- THL
- xiaomi
- huawei
- lenovo
- Meizu
- other mobile phone
- -Tablets
- -mp3 mp4
- 8gb mp3 mp4
- 16gb mp3 mp4
- 32gb mp3 mp4
- 64gb mp3 mp4
- original apple ipod
- -Smart Electronics
- VR/AR Glasses
- Smart Watches
- Smart Wristbands
- Smart Remote Control
- Smart Home
- Smart Accessories
- Gamepads
Ranks-
Samsung Galaxy Note II 2 N7100 Quad Core 5.5 Inch 8.0MP 2GB RAM 16GB ROM WCDMA 3G Android Unlocked N7100 black
KSh 10,800
-
Original N8 Nokia Mobile Phone 3.5" Capacitive Touch screen Camera 12MP 3G Unlocked N8 Cellphone black
KSh 6,120
-
Original Google 3D Glasses VR Box 3.0 Pro 2.0 Version Headset Cardboard Virtual Reality
KSh 1,998
-
new iPhone 4S Unlocked 3.5 Inches 8/16/32/64GB ROM GSM 8MP Camera WIFI GPS IOS Mobile Phone 8GB standard black
KSh 6,999
-
120FOV VR Box 3.0 Virtual Reality VR Plus Cardboard Real Glass Lenses Helmet 3D Glasses + Gamepad
KSh 2,499
View All Product
// 商品分类收缩
function class_list(obj){
var stc_id = $(obj).attr('span_id');
var span_class = $(obj).attr('class');
if(span_class=='ico-block') {
$("#stc_"+stc_id).show();
$(obj).html(' -');
$(obj).attr('class','ico-none');
}else{
$("#stc_"+stc_id).hide();
$(obj).html(' +');
$(obj).attr('class','ico-block');
}
}
Complete Tips Finish Complete Problem ×
// 运费优惠提示
function shippingDiscountNotice(){
}
// 秒杀弹窗
/* S 秒杀倒计时 */
/* E 秒杀倒计时 */
/* TODO: 乌干达运费提示补丁 */
var siteDomain = window.location.href;
var shippingHighlight = $(".box-logistics-type-2 .l2");
if (siteDomain.indexOf('.co.ug') > 0) shippingHighlight.html("Delivery time : 20-30 days");
else if (siteDomain.indexOf('.ng') > 0) shippingHighlight.html("Delivery time : 15-30 days");
/* 辅助浏览 */
jQuery(function ($) {
// 放大镜效果 产品图片
CloudZoom.quickStart();
// 图片切换效果
$(".controller li").first().addClass('current');
$('.controller').find('li').mouseover(function () {
$(this).first().addClass("current").siblings().removeClass("current");
});
});
//收藏分享处下拉操作
jQuery.divselect = function (divselectid, inputselectid) {
var inputselect = $(inputselectid);
$(divselectid).mouseover(function () {
var ul = $(divselectid + " ul");
ul.slideDown("fast");
if (ul.css("display") == "none") {
ul.slideDown("fast");
}
});
$(divselectid).live('mouseleave', function () {
$(divselectid + " ul").hide();
});
};
$(function () {
//赠品处滚条
$('#ncsGoodsGift').perfectScrollbar({suppressScrollX: true});
// 加入购物车
$('a[nctype="addcart_submit"]').click(function () {
if (typeof(allow_buy) != 'undefined' && allow_buy === false) return;
addcart(544534, checkQuantity(), 'addcart_callback');
});
// 立即购买
$('a[nctype="buynow_submit"]').click(function () {
if (typeof(allow_buy) != 'undefined' && allow_buy === false) return;
buynow(544534, checkQuantity());
});
// 秒杀购买
$('a[nctype="checkout_submit"]').on("click", function () {
if (typeof(allow_buy) != 'undefined' && allow_buy === false) return;
var url = '';
var goods_id =544534;
var quantity = parseInt($("#quantity").val());
var data = 'submitbuynow-' + goods_id + '-' + quantity;
buynow_new(544534, checkQuantity(), url, data);
});
// 立即购买(加购物车弹窗)
$('a[nctype="checkcart_submit"]').on("click", function () {
if (typeof(allow_buy) != 'undefined' && allow_buy === false) return;
var url = 'https://www.kilimall.co.ke/index.php?act=cart';
buycart_new(url);
});
// 到货通知
// 预约购买
//浮动导航 waypoints.js
$('#main-nav').waypoint(function (event, direction) {
$(this).parent().parent().parent().toggleClass('sticky', direction === "down");
event.stopPropagation();
});
// 分享收藏下拉操作
$.divselect("#handle-l");
$.divselect("#handle-r");
// 规格选择
$('dl[nctype="nc-spec"]').find('a').each(function () {
$(this).click(function () {
if ($(this).hasClass('hovered')) { return false; }
$(this).parents('ul:first').find('a').removeClass('hovered');
$(this).addClass('hovered');
checkSpec();
});
});
// 无库存的商品规格置灰处理
show_storage();
});
function show_storage(){
var spec_param = [{"sign":"21580","url":"https:\/\/www.kilimall.co.ke\/item-544534-thl-t9-5-5-inch-mt6737-quad-core-android-6-0-4g-lte-fingerprint-1gb-ram-8gb-rom-13mp-1280-2a720-white.html","storage":"999"},{"sign":"37763","url":"https:\/\/www.kilimall.co.ke\/item-544535-thl-t9-5-5-inch-mt6737-quad-core-android-6-0-4g-lte-fingerprint-1gb-ram-8gb-rom-13mp-1280-2a720-grey.html","storage":"999"}];
$('dl[nctype="nc-spec"]').each(function () {
var obj = $(this);
obj.find('a').each(function(){
var last_spec=$(this);
var spec_id = '';
var spec = new Array();
obj.siblings().find('.hovered').each(function () {
var data_str = '';
eval('data_str =' + $(this).attr('data-param'));
spec.push(data_str.valid);
});
eval('spec_id =' + last_spec.attr('data-param'));
spec.push(spec_id.valid);
spec1 = spec.sort(function (a, b) { return a - b; });
var spec_sign = spec1.join('|');
$.each(spec_param,function(i, n){
if(n.sign == spec_sign && n.storage==0) last_spec.addClass('no_storage');
})
});
});
}
function checkSpec() {
var spec_param = [{"sign":"21580","url":"https:\/\/www.kilimall.co.ke\/item-544534-thl-t9-5-5-inch-mt6737-quad-core-android-6-0-4g-lte-fingerprint-1gb-ram-8gb-rom-13mp-1280-2a720-white.html","storage":"999"},{"sign":"37763","url":"https:\/\/www.kilimall.co.ke\/item-544535-thl-t9-5-5-inch-mt6737-quad-core-android-6-0-4g-lte-fingerprint-1gb-ram-8gb-rom-13mp-1280-2a720-grey.html","storage":"999"}];
var spec = new Array();
$('ul[nctyle="ul_sign"]').find('.hovered').each(function () {
var data_str = '';
eval('data_str =' + $(this).attr('data-param'));
spec.push(data_str.valid);
});
spec1 = spec.sort(function (a, b) { return a - b; });
var spec_sign = spec1.join('|');
$.each(spec_param, function (i, n) {
if (n.sign == spec_sign) {
window.location.href = n.url;
}
});
}
// 验证购买数量
function checkQuantity() {
var quantity = parseInt($("#quantity").val());
if (quantity < 1) {
alert("Please fill in the purchase quantity");
$("#quantity").val('1');
return false;
}
max = parseInt($('[nctype="goods_stock"]').text());
if (quantity > max) {
alert("Inventory shortage");
return false;
}
return quantity;
}
// 立即购买js 新增秒杀 add time 2016-10-13
function buynow_new(goods_id, quantity, url, data) {
login_dialog_new(url, data);
}
//新增,秒杀时以原价购买,加入购物车直接跳转
function flash_add_cart() {
addcart(544534, 1);
location.href = "index.php?act=cart";
}
//进入购物车的方法
function buycart_new(url) {
login_dialog_new(url);
}
//登录后回调js
function submitbuynow(goods_id, quantity) {
if (!quantity) return;
$("#cart_id").val(goods_id + '|' + quantity);
$("#buynow_form").submit();
}
//单独拉出来的登录,增加了data,ref_url参数
function login_dialog_new(return_url, data) {
if(!data) { data=null; }
CUR_DIALOG = ajax_form("login", "Login", SITEURL + "/index.php?act=login&inajax=1&data=" + data + "&ref_url=" + encodeURI(return_url), 360, 1)
bind_close();
}
function bind_close(){
$('.dialog_close_button').unbind('click');
$('.dialog_close_button').click(function(){
$('#fwin_login,#dialog_manage_screen_locker').hide();
$('.dialog_content').remove();
})
}
// 立即购买js
function buynow(goods_id, quantity) {
login_dialog();
}
$(function () {
//选择地区查看运费
$('#transport_pannel>a').click(function () {
var id = $(this).attr('nctype');
if (id == 'undefined') return false;
var _self = this, tpl_id = '108';
var url = 'index.php?act=goods&op=calc&rand=' + Math.random();
$('#transport_price').css('display', 'none');
$('#loading_price').css('display', '');
$.getJSON(url, {'id': id, 'tid': tpl_id}, function (data) {
if (data == null) return false;
if (data != 'undefined') {
$('#nc_kd').html('Postage:' + data + 'KSh');
} else {
'Seller bear shipping amount';
}
$('#transport_price').css('display', '');
$('#loading_price').css('display', 'none');
$('#ncrecive').html($(_self).html());
});
});
$("#nc-bundling").load('index.php?act=goods&op=get_bundling&goods_id=544534', function () {
if ($(this).html() != '') { $(this).show(); }
});
$("#consulting_demo").load('index.php?act=goods&op=consulting&goods_id=544534&store_id=1043');
/** goods.php **/
// 商品内容部分折叠收起侧边栏控制
$('#fold').click(function () {
$('.ncs-goods-layout').toggleClass('expanded');
});
// 商品内容介绍Tab样式切换控制
$('#categorymenu').find("li").click(function () {
$('#categorymenu').find("li").removeClass('current');
$(this).addClass('current');
});
// 商品详情默认情况下显示全部
$('#tabGoodsIntro').click(function () {
$('.bd').css('display', '');
$('.hd').css('display', '');
});
// 点击地图隐藏其他以及其标题栏
$('#tabStoreMap').click(function () {
$('.bd').css('display', 'none');
$('#ncStoreMap').css('display', '');
$('.hd').css('display', 'none');
});
// 点击评价隐藏其他以及其标题栏
$('#tabGoodsRate').click(function () {
$('.bd').css('display', 'none');
$('#ncGoodsRate').css('display', '');
$('.hd').css('display', 'none');
});
// 点击成交隐藏其他以及其标题
$('#tabGoodsTraded').click(function () {
$('.bd').css('display', 'none');
$('#ncGoodsTraded').css('display', '');
$('.hd').css('display', 'none');
});
// 点击咨询隐藏其他以及其标题
$('#tabGuestbook').click(function () {
$('.bd').css('display', 'none');
$('#ncGuestbook').css('display', '');
$('.hd').css('display', 'none');
});
// 商品排行Tab切换
$(".ncs-top-tab > li > a").mouseover(function (e) {
if (e.target == this) {
var tabs = $(this).parent().parent().children("li");
var panels = $(this).parent().parent().parent().children(".ncs-top-panel");
var index = $.inArray(this, $(this).parent().parent().find("a"));
if (panels.eq(index)[0]) {
tabs.removeClass("current ").eq(index).addClass("current ");
panels.addClass("hide").eq(index).removeClass("hide");
}
}
});
// 信用评价动态评分打分人次Tab切换
$(".ncs-rate-tab > li > a").mouseover(function (e) {
if (e.target == this) {
var tabs = $(this).parent().parent().children("li");
var panels = $(this).parent().parent().parent().children(".ncs-rate-panel");
var index = $.inArray(this, $(this).parent().parent().find("a"));
if (panels.eq(index)[0]) {
tabs.removeClass("current ").eq(index).addClass("current ");
panels.addClass("hide").eq(index).removeClass("hide");
}
}
});
// 触及显示缩略图
$('.goods-pic > .thumb').hover(
function () {
$(this).next().css('display', 'block');
},
function () {
$(this).next().css('display', 'none');
}
);
/* 商品购买数量增减js */
// 增加
$('a[nctype="increase"]').click(function () {
num = parseInt($('#quantity').val());
max = parseInt($('[nctype="goods_stock"]').text());
if (num < max) {
$('#quantity').val(num + 1);
}
});
// 减少
$('a[nctype="decrease"]').click(function () {
num = parseInt($('#quantity').val());
if (num > 1) {
$('#quantity').val(num - 1);
}
});
// 评价列表
$('#comment_tab').on('click', 'li', function () {
$('#comment_tab li').removeClass('current');
$(this).addClass('current');
load_goodseval($(this).attr('data-type'));
});
load_goodseval('all');
function load_goodseval(type) {
var url = 'https://www.kilimall.co.ke/index.php?act=goods&op=comments&goods_id=544534';
url += '&type=' + type;
$("#goodseval").load(url);
}
// 记录浏览历史(添加)
$.get("index.php?act=goods&op=addbrowse", {gid:544534});
// 初始化对比按钮
initCompare();
// 满即送、加价购显示隐藏
$('[nctype="show-rule"]').click(function () {
$(this).parent().find('[nctype="rule-content"]').show();
});
$('[nctype="hide-rule"]').click(function () {
$(this).parents('[nctype="rule-content"]:first').hide()
});
});
/* 加入购物车后的效果函数 */
function addcart_callback(data) {
$('#bold_num').html(data.num);
$('#bold_mly').html(price_format(data.amount));
$('.ncs-cart-popup').fadeIn('fast');
}
var $cur_area_list, $cur_tab, next_tab_id = 0, cur_select_area = [], calc_area_id = '', calced_area = [], cur_select_area_ids = [];
$(document).ready(function () {
$("#ncs-freight-selector").hover(function () {
//如果店铺没有设置默认显示区域,马上异步请求
$(this).addClass("hover");
$(this).on('mouseleave', function () {
$(this).removeClass("hover");
});
});
$('ul[class="area-list"]').on('click', 'a', function () {
$('#ncs-freight-selector').unbind('mouseleave');
var tab_id = parseInt($(this).parents('div[data-widget="tab-content"]:first').attr('data-area'));
if (tab_id == 0) {
cur_select_area = [];
cur_select_area_ids = []
}
;
if (tab_id == 1 && cur_select_area.length > 1) {
cur_select_area.pop();
cur_select_area_ids.pop();
if (cur_select_area.length > 1) {
cur_select_area.pop();
cur_select_area_ids.pop();
}
}
next_tab_id = tab_id + 1;
var area_id = $(this).attr('data-value');
$cur_tab = $('#ncs-stock').find('li[data-index="' + tab_id + '"]');
$cur_tab.find('em').html($(this).html());
$cur_tab.find('i').html(' ∨');
if (tab_id < 2) {
calc_area_id = area_id;
cur_select_area.push($(this).html());
cur_select_area_ids.push(area_id);
$cur_tab.find('a').removeClass('hover');
$cur_tab.nextAll().remove();
if (typeof nc_a === "undefined") {
$.getJSON(SITEURL + "/index.php?act=index&op=json_area&callback=?", function (data) {
nc_a = data;
_loadArea(area_id);
});
} else {
_loadArea(area_id);
}
} else {
//点击第三级,不需要显示子分类
if (cur_select_area.length == 3) {
cur_select_area.pop();
cur_select_area_ids.pop();
}
cur_select_area.push($(this).html());
cur_select_area_ids.push(area_id);
$('#ncs-freight-selector > div[class="text"] > div').html(cur_select_area.join('-'));
$('#ncs-freight-selector').removeClass("hover");
_calc();
}
$('#ncs-stock').find('li[data-widget="tab-item"]').on('click', 'a', function () {
var tab_id = parseInt($(this).parent().attr('data-index'));
if (tab_id < 2) {
$(this).parent().nextAll().remove();
$(this).addClass('hover');
$('#ncs-stock').find('div[data-widget="tab-content"]').each(function () {
if ($(this).attr("data-area") == tab_id) {
$(this).show();
} else {
$(this).hide();
}
});
}
});
});
function _loadArea(area_id) {
if (nc_a[area_id] && nc_a[area_id].length > 0) {
$('#ncs-stock').find('div[data-widget="tab-content"]').each(function () {
if ($(this).attr("data-area") == next_tab_id) {
$(this).show();
$cur_area_list = $(this).find('ul');
$cur_area_list.html('');
} else {
$(this).hide();
}
});
var areas = [];
areas = nc_a[area_id];
for (i = 0; i < areas.length; i++) {
if (areas[i][1].length > 15) {
$cur_area_list.append("" + areas[i][1] + "");
} else {
$cur_area_list.append("" + areas[i][1] + "");
}
}
if (area_id > 0) {
$cur_tab.after('Please Choose ∨');
}
} else {
//点击第一二级时,已经到了最后一级
$cur_tab.find('a').addClass('hover');
$('#ncs-freight-selector > div[class="text"] > div').html(cur_select_area.join('-'));
$('#ncs-freight-selector').removeClass("hover");
_calc();
}
}
//计算运费,是否配送
function _calc() {
$.cookie('dregion', cur_select_area_ids.join(' ') + '|' + cur_select_area.join(' '), {expires: 30});
var _args = '';
_args += "&tid=108";
if (_args != '') {
_args += '&area_id=' + calc_area_id;
if (typeof calced_area[calc_area_id] == 'undefined') {
//需要请求配送区域设置
$.getJSON(SITEURL + "/index.php?act=goods&op=calc&" + _args + "&myf=0.00&callback=?", function (data) {
allow_buy = data.total ? true : false;
calced_area[calc_area_id] = data.total;
if (data.total === false || 999 == '0') {
$('#ncs-freight-prompt > strong').html('No Stock').next().remove();
$('a[nctype="buynow_submit"]').addClass('no-buynow');
$('a[nctype="addcart_submit"]').addClass('no-buynow');
$('#store-free-time').hide();
} else {
$('#ncs-freight-prompt > strong').html('In Stock ').next().remove();
$('#ncs-freight-prompt > strong').after('' + data.total + '');
$('a[nctype="buynow_submit"]').removeClass('no-buynow');
$('a[nctype="addcart_submit"]').removeClass('no-buynow');
$('#store-free-time').show();
shippingDiscountNotice();
}
});
} else {
if (calced_area[calc_area_id] === false || 999 == '0') {
$('#ncs-freight-prompt > strong').html('No Stock').next().remove();
$('a[nctype="buynow_submit"]').addClass('no-buynow');
$('a[nctype="addcart_submit"]').addClass('no-buynow');
$('#store-free-time').hide();
} else {
$('#ncs-freight-prompt > strong').html('In Stock ').next().remove();
$('#ncs-freight-prompt > strong').after('' + calced_area[calc_area_id] + '');
$('a[nctype="buynow_submit"]').removeClass('no-buynow');
$('a[nctype="addcart_submit"]').removeClass('no-buynow');
$('#store-free-time').show();
shippingDiscountNotice()
}
}
}
}
//如果店铺设置默认显示配送区域
if (typeof nc_a === "undefined") {
$.getJSON(SITEURL + "/index.php?act=index&op=json_area&callback=?", function (data) {
nc_a = data;
$cur_tab = $('#ncs-stock').find('li[data-index="0"]');
_loadArea(0);
$('ul[class="area-list"]').find('a[data-value="1"]').click();
});
}
});
.adtitle{
color:#666666;
margin-bottom: 4px;
font-size: 13px;
}
.appPromo{
width: 340px;
height: 190px;
padding:18px 28px 0;
background: #F5F5F5;
position: absolute;
left: 800px;
top: -200px;
}
.iconList{
height: 30px;
margin-bottom: 8px;
}
.iconList li{
margin-right: 6px;
width: 30px;
height: 30px;
float: left;
}
.iconList li a{
display:inline-block;
width:100%;
height:100%;
}
.iconList li:nth-of-type(1){
background: url(https://www.kilimall.co.ke/templates/en/images/footerappad/facebook.png);
}
.iconList li:nth-of-type(2){
background: url(https://www.kilimall.co.ke/templates/en/images/footerappad/twitter.png);
}
.iconList li:nth-of-type(3){
background: url(https://www.kilimall.co.ke/templates/en/images/footerappad/blog.png);
}
.googleplay{
width: 102px;
height: 30px;
background: url(https://www.kilimall.co.ke/templates/en/images/footerappad/google_play.png);
margin-bottom:8px;
}
.googleplay a{
display:inline-block;
width:100%;
height:100%;
}
.subemailbox{
width: 170px;
padding-left: 10px;
height: 30px;
outline: none;
left: 0;
top:0;
border:1px solid #DDDDDD;
}
.subemailwrapper{
width: 260px;
position: relative;
}
.subemailbutton{
position: absolute;
right: 0;
top:0;
width: 80px;
height: 30px;
background: #F87622;
font-size: 14px;
color: #fff;
cursor: pointer;
text-align: center;
line-height: 30px;
}
.emailWarning1{
color: #F87622;
font-size: 12px;
display: none;
}
.bigwrapper1{
width: 1200px;
height: 0;
margin:0 auto;
/*top:500px;*/
position: relative;
z-index: 999;
display: none;
}
.spwrapper1{
background: #f5f5f5;
padding-top: 1px;
border-top: 1px solid #e7e7e7;
border-bottom: 1px solid #e7e7e7;
}
.supportedPayment{
width: 1200px;
height: 100px;
margin:0 auto;
}
.spTitle1{
font-weight: bold;
color:#666666;
font-size: 14px;
margin:16px 0 15px 0;
}
.paymentICONLIST li{
width: 87px;
height: 43px;
border:1px solid #eee;
float: left;
margin-right: 10px;
}
.paymentICONLIST>li>img{
width: :100%;
}
.footerlipalpay{
height: 45px;
}
.footerlipalpay a{
display: inline-block;
height: 45px;
width: 100%;
}
.footerlipalpay li{
width: 90px;
height: 45px;
float: left;
margin:0 5px;
}
.footerlipalpay li:nth-of-type(1){
background: url(https://www.kilimall.co.ke/templates/en/images/footerlipalpay/M.png);
}
.footerlipalpay li:nth-of-type(2){
background: url(https://www.kilimall.co.ke/templates/en/images/footerlipalpay/T.png);
}
.footerlipalpay li:nth-of-type(3){
background: url(https://www.kilimall.co.ke/templates/en/images/footerlipalpay/S.png);
}
Stay Connected: Get Shopping App and Earn Millions of Cash Rewards: Subscribe for Special Offers, Promos & Deals:
Mall
| SELLER
| MOBILE APP
Copyright 2017 Kilimall, All rights reserved.
$(".s1 dd:nth-of-type(2)").css("font-weight","bold");
//footer添加app推广及
$('.subemailbutton').click(function(){
function isEmail(str){
var reEmail=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
return reEmail.test(str);
}
if(isEmail($('.subemailbox').val())){
$('.emailWarning1').hide()
$.ajax({
type:'POST',
url:'/index.php?act=black_friday&op=mail',
data:{mail:$('.subemailbox').val()},
// dataType: "json",
success:function(res){
res = JSON.parse(res)
$('.emailWarning1').html(res.msg).show()
},
error:function(res){
alert(res.msg)
}
})
}else{
$('.emailWarning1').html('Please enter a mailbox in the correct format').show()
}
})
switch(window.location.host){
case 'www.kilimall.co.ke':
$('.iconList li:nth-of-type(1) a').attr('href','https://www.facebook.com/kilimall/')
$('.iconList li:nth-of-type(2) a').attr('href','https://twitter.com/Kilimall')
$('.iconList li:nth-of-type(3) a').attr('href','https://www.kilimall.co.ke/blog/')
var str = ''
for(var i=1;i<12;i++){
var liSTR = ''
str+=liSTR
}
$('.paymentICONLIST').html(str)
break
case 'www.kilimall.co.ug':
$('.iconList li:nth-of-type(1) a').attr('href','https://www.facebook.com/kilimalluganda/')
$('.iconList li:nth-of-type(2) a').attr('href','https://twitter.com/kilimalluganda')
$('.iconList li:nth-of-type(3) a').attr('href','https://www.kilimall.co.ug/blog/')
var str = ''
for(var i=1;i<6;i++){
var liSTR = ''
str+=liSTR
}
$('.paymentICONLIST').html(str)
break
case 'www.kilimall.ng':
$('.iconList li:nth-of-type(1) a').attr('href','https://www.facebook.com/KilimallNigeria/')
$('.iconList li:nth-of-type(2) a').attr('href','https://twitter.com/kilimallNigeria')
$('.iconList li:nth-of-type(3) a').attr('href','https://www.kilimall.ng/blog/')
var str = ''
for(var i=1;i<12;i++){
var liSTR = ''
str+=liSTR
}
$('.paymentICONLIST').html(str)
break
case 'www.kili.com':
$('.iconList li:nth-of-type(1) a').attr('href','https://www.facebook.com/KilimallNigeria/')
$('.iconList li:nth-of-type(2) a').attr('href','https://twitter.com/kilimallNigeria')
$('.iconList li:nth-of-type(3) a').attr('href','https://www.kilimall.ng/blog/')
var str = ''
for(var i=1;i<12;i++){
var liSTR = ''
str+=liSTR
}
$('.paymentICONLIST').html(str)
break
case 'www.kili.co':
var str = ''
for(var i=1;i<12;i++){
var liSTR = ''
str+=liSTR
}
$('.paymentICONLIST').html(str)
break
}
if(getCookie('homeArticle')){
$('#faq').show().find('.faq-wrapper ul').html(getCookie('homeArticle'));
}else{
App.getJSON('/articles/home','',function (data) {
var dl = '{content}';
var dt = '{class_name}';
var dd = '{title}';
var html = '';
for(var i = 0; i < data.length; i++){
var class_name = data[i].title;
var tmpdl = dl.replace('{i}',i+1);
var tmp = '';
tmp += dt.replace('{class_name}',class_name);
if(data[i].articles){
for (var k = 0; k< data[i].articles.length; k++){
var tmp1 = '';
tmp1 = dd.replace(/{title}/g,data[i].articles[k].title);
if(data[i].articles[k].article_url){
tmp1 = tmp1.replace('{url}',data[i].articles[k].article_url);
}else{
tmp1 = tmp1.replace('{url}','/index.php?act=article&article_id='+data[i].articles[k].id);
}
tmp += tmp1;
}
}
tmpdl = tmpdl.replace('{content}',tmp);
html += tmpdl;
setCookie('homeArticle',html);
}
$('#faq').show().find('.faq-wrapper ul').html(html);
});
}
if(getCookie('homeArticle')){
$('.bigwrapper1').show();
}
|