'+format_date(e[t].dat_created)+'
',footer_title="',div_tag="",detail_cover='
"+e[t].vchr_description+"
",product_url='Know More',$("#append_product_id").append(contain_div+product_img+div_tag+detail_cover+product_header+product_detail+product_url+div_tag+div_tag+div_tag)}function get_footer(){$.getJSON(server_ip+"/news/",function(e,t,a){bind_footer(e)})}function bind_footer(e){for(let t=0;t<(e.length<2?e.length:2);t++)footer_wrapper='",$("#id_bind_footer").append(footer_wrapper+footer_image+footer_date+footer_title)}function format_date(e){d=new Date(e);var t=["January","February","March","April","May","June","July","August","September","October","November","December"][d.getMonth()],a=(e=d.getUTCDate(),d.getUTCFullYear());return full_date=t+" "+e+", "+a,full_date}$(document).ready(function(){get_footer(),$("div.bhoechie-tab-menu>div.list-group>a").click(function(e){e.preventDefault(),$(this).siblings("a.active").removeClass("active"),$(this).addClass("active");var t=$(this).index();$("div.bhoechie-tab>div.bhoechie-tab-content").removeClass("active"),$("div.bhoechie-tab>div.bhoechie-tab-content").eq(t).addClass("active")}),$.getJSON(server_ip+"/product/",function(e,t,a){append_products(e)})});