您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

phpcms2008增加浏览次数插件

2024/3/1 12:50:25发布20次查看
phpcms2008增加浏览次数 插件
增加指定文章浏览次数,增加指定范围内的文章的浏览次数
增加指定栏目文章的浏览次数
增加公司活跃度等
还可以息定义开发其它的
选择增加类型:
指定id:
id范围:-公司活跃
指定id:
id范围: -
全部: 栏目id: 全部 点击重选 重选
增加值:【必填】
key: }?>= '$idstart'; if($idend){$sql.= and `contentid` }else if($comid || $comstart || $comall){ if($comid){ $sql=update `.db_pre.member_info` set `logintimes` = `logintimes` + .$addnum. where `userid`='$comid'; }else if($comstart){ $sql=update `.db_pre.member_info` set `logintimes` = `logintimes` + .$addnum. where `userid` >= '$comstart'; if($comend){$sql.= and `userid` }else if($comall && $comall==1){ $sql=update `.db_pre.member_info` set `logintimes` = `logintimes` + .$addnum; }else{$sql='';} }else if($catid){// if($catid==all){ $sql=update `.db_pre.content_count` set `hits` = `hits` + .$addnum; }else{ $getid_query=mysql_query(select `contentid` from `.db_pre.content` where status=99 .get_sql_catid($catid)); while($rs=mysql_fetch_assoc($getid_query)){$getid[]=$rs['contentid'];} $idstr=implode(,,$getid); $sql=update `.db_pre.content_count` set `hits` = `hits` + .$addnum. where `contentid` in ($idstr); } }else{$sql='';}}if($sql && $submit){ mysql_query($sql); echo date(y-m-d h:i:s).成功执行了添加操作,共影响数据: .mysql_affected_rows(). 条;}else if(!$sql && $submit){ echo
输入信息有误请确认后再提交!;}?>
复制代码
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product