js倒计时跳转

<script language="javascript">
<!--   
var maxtime = 2;//按秒计算,自己调整! by hkshadow QQ 2765237   
var hiddenid = document.getElementById('hiddenid').value;
function CountDown(){   
 if(maxtime>=0){   
 seconds = maxtime--; 
 msg = seconds+"秒后跳转...";   
document.getElementById('timer').innerHTML=msg;
}   
 else{   
	clearInterval(timer);   
	//P.cancel();   
 top.location = "/wedding/main/bidinginfo.php?id="+hiddenid;
 }   
}   
timer = setInterval("CountDown()",1000);   
//-->   
</script>

Read more

js判断checkbox选中

<script type="text/javascript"> 
function check_box() { 
var count=document.myform.checkThis.length; 
//var count=document.getElementById('checkThis').length;
alert(count);
var j=0; 
for(var i=0;i<count;i++) 
{ 
if (document.myform.checkThis[i].checked) 
//if (document.myform.checkThis[i].checked) 
//document.getElementById('checkThis').checked;
++j; 
} 
if(j==0) {
alert("至少选择一个!!"); 
return false;
} 
else 
{ 
return true;
} 
}
</script> 

Read more

帝国cms数据库结构

表 名                                            解 释
phome_ecms_infoclass_news      新闻采集规则记录表
phome_ecms_infotmp_news      采集临时表
phome_ecms_news       新闻主数据记录表
phome_ecms_news_data_1      新闻副表1
phome_ecms_news_doc      新闻归档数据主表
phome_ecms_news_doc_data      新闻归档数据副表
phome_enewsad       广告数据表
phome_enewsadclass      广告分类表
phome_enewsadminstyle      后台风格
phome_enewsbefrom      信息来源数据表
phome_enewsbq       标签数据表
phome_enewsbqclass      标签分类表

Read more