var oper_info=null; var posturl=""; function checkFun(v, k) { if ($(v).val() == "") { alert(k + " is incorrect"); $(v).focus(); return false; } if(v.indexOf("name='email'")!=-1){ if(!ismail($(v).val())){ alert("The "+k+" Incorrect format"); $(v).focus(); return false; } } if(v.indexOf("name='password'")!=-1){ if(($(v).val()).length<6){ alert(k+" At least 6 people"); $(v).focus(); return false; } } if (v.indexOf("name='phone'") != -1) { $(v).val(jQuery.trim($(v).val())); if (!istel($(v).val())) { alert("The "+k+" Incorrect format"); $(v).focus(); return false; } } return $(v).val(); } //鑾峰彇url鍚庣殑鍙傛暟鍊 function getUrlParam(key) { var href = window.location.href; var url = href.split("?"); var search = window.location.search; if (url.length <= 1 || !search) { return ""; } var params = url[1].split("&"); for (var i = 0; i < params.length; i++) { var param = params[i].split("="); if (key == param[0]) { return param[1]; } } return ""; } function istel(tel) {return (new RegExp(/^(13[0-9]|14[5-9]|15[012356789]|166|17[0-8]|18[0-9]|19[8-9])[0-9]{8}$/).test(tel));}//鎵嬫満鍙锋牸寮忔牎楠 function ismail(mail){return(new RegExp(/^(?:[a-zA-Z0-9]+[_\-\+\.]?)*[a-zA-Z0-9]+@(?:([a-zA-Z0-9]+[_\-]?)*[a-zA-Z0-9]+\.)+([a-zA-Z]{2,})+$/).test(mail));}//閭鏍煎紡鏍¢獙 var classify1='',classify2='',classifyAll1='',classifyAll2='',offsets=0,limits=20,search="";//濡傛灉鑷畾涔夛紝璇峰皬浜庢爮鐩缃殑limit鏁伴噺 var list_url = "/system/web/dataList"; if(typeof(class_limit) != "undefined"){limits = parseInt(class_limit);} var total=0;//鎬绘潯鏁 //------------------get鏁版嵁------------------------- function formatTime(time, format) {//鏃堕棿鏍煎紡鍖栧伐鍏 var t = new Date(time); var tf = function (i) { return (i < 10 ? '0' : '') + i }; return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) { switch (a) { case 'yyyy': return tf(t.getFullYear()); break; case 'MM': return tf(t.getMonth() + 1); break; case 'mm': return tf(t.getMinutes()); break; case 'dd': return tf(t.getDate()); break; case 'HH': return tf(t.getHours()); break; case 'ss': return tf(t.getSeconds()); break; } }) } function listPaginator(totalPages,currentPage){ $('.page-list ul').jqPaginator({ totalPages: totalPages//璁剧疆鍒嗛〉鐨勬€婚〉鏁 ,visiblePages: 8//璁剧疆鏈€澶氭樉绀虹殑椤电爜鏁帮紙渚嬪鏈?00涔燂紝褰撳墠绗?椤碉紝鍒欐樉绀? - 7椤碉級 ,currentPage: currentPage//璁剧疆褰撳墠鐨勯〉鐮 ,first: ''//璁剧疆鈥滈椤碘€濈殑Html缁撴瀯 ,prev: '
'+item.common_descrition+'
'+ ''+item.common_descrition+'
'+ ' '+formatTime(item.common_createtime,'yyyy骞碝M鏈坉d鏃?)+''+ ''+item.common_descrition+'
'+ ' '+formatTime(item.common_createtime,'yyyy骞碝M鏈坉d鏃?)+''+ ''+common_descrition+'
'+ ''+item.nav_name+'
'+ // '