帝国CMS调用方法
帝国cms投票系统使用
投票系统网站的投票管理一、投票系统说明前台投票调用方式:同时支持标签调用和JS调用标签调用投票:用投票调用标签([phomevote]投票ID[/phomevote])JS调用投票:<script src="投票JS文件地址"></script>,比如:<script src="http://127.0.0.1/d/js/vote/vote1...
调用帝国CMS会员头像教程
帝国CMS调用会员头像代码<?php$userr=$empire->fetch1("select * from {$dbtbpre}enewsmemberadd where userid='$user[userid]' limit 1");?>然后再用<?=$userr[userpic]?>或<img src="<?=$userr[userpic]?$userr[userpic]:'/e...
帝国CMS7.5使用TAGSID做伪静态简单调用方法
看到官网介绍了,帝国CMS7.5可以使用TAGS ID做伪静态,但是找了好多办法用了都不好用,要么是太复杂,要么改了没有反应,今天试了一天时间,终于找到简单的解决办法了后台设置(就是默认的设置,点一下默认就可以)首页或者其它页面调用[showtags]'',20,0,...
帝国CMS二次开发会员中心调用评论列表
帝国CMS调用评论列表查询代码$totalquery="select count(*) as total from {$dbtbpre}enewspl_1 where username='$user[username]'".$a;$num=$empire->gettotal($totalquery);$query="select * from {$dbtbpre}enewspl_1 where username=&#...
帝国CMS二次开发调用评论我的列表
帝国CMS调用评论我的列表查询代码$totalquery="select count(*) as total from {$dbtbpre}enewspl_1".$a;$num=$empire->gettotal($totalquery);$query="select * from {$dbtbpre}enewspl_1".$a;$query.=" order by plid desc limit $offset,$line";...
帝国CMS二次开发调用关注我的列表
帝国CMS调用关注我的列表查询代码$totalquery="select count(*) as total from {$dbtbpre}enewshy where fname='$username'".$a;$num=$empire->gettotal($totalquery);$query="select * from {$dbtbpre}enewshy where fname='$user[use...
帝国调用好友动态信息
帝国CMS调用好友动态代码<?php$fsql=$empire->query("select * from {$dbtbpre}enewshy where userid='$user[userid]' order by fid desc limit 10");while($fr=$empire->fetch($fsql)){ $t=$empire->query("select * from {$dbtbpre}ecms_...
帝国调用最新评论 带原文章标题链接
帝国cms调用最新评论代码<?php $sql2=$empire->query("select * from {$dbtbpre}enewspl_1 order by saytime desc limit 10"); while($r2=$empire->fetch($sql2)){ $t2=$empire->fetch1("select * from {$dbtbpre}ecms_news where id='$r2[id]&...
帝国调用评论我的信息列表
帝国CMS调用最新评论自己发布的文章信息<?php$sql1=$empire->query("select * from {$dbtbpre}enewspl_1 order by saytime desc limit 10");while($r1=$empire->fetch($sql1)){ $t1=$empire->query("select * from {$dbtbpre}ecms_news where id=&#...
帝国CMS内容页调用当前发布会员
调用当前发布会员信息代码<?php$uid=$navinfor[userid];$userr=sys_ShowMemberInfo($uid,''); ?>当前发布者头像:<a rel="nofollow" href="[!--news.url--]e/space/?userid=<?=$userr[userid]?>" target="_blank"><img...
