
-
帝国教程
修改系统文件 /e/admin/tool/ListAd.php 找到 input name="textfield" type="text" value="?=$public_r[newsurl]?d/js/acmsd/?=$public_r['adfile']??=$r[adid]?.js" size="70" 改为 input name="textfield" type="text" value="script src=?=$publ...
160

-
帝国教程
多表查询+多表标题链接的调用 [e:loop={ "select a.*,b.gsjc from phome_ecms_news a LEFT JOIN phome_ecms_gssj b on a.gsid=b.id where a.classid in (8)order by a.newstime desc limit 1",5,24,0}] 以上A为第一个表 B为第二个表...
177

-
帝国教程
?=$class_r[$GLOBALS[navclassid]]['bname']?...
199

-
帝国教程
原文件名为 测试下载.rar 上传后,自动更名为 测试下载_9df430c26057400fca4a07bec9db3b62.rar 上传以下图片: 修改方法 修改文件 /e/class/connect.php 查找 $r[filetype]=GetFiletype($file_name); 在下面加入...
137

-
帝国教程
function user_ago($tm,$rcs = 0) { $cur_tm = time(); $dif = $cur_tm-$tm; $pds = array('秒','分钟','小时','天','周','个月','年'); $lngh = array(1,60,3600,86400,604800,2630880,31570560); for($v = sizeof($lngh)-1; ($v = 0)(($no = $dif...
59

-
帝国教程
目录权限设置问题,e/data/fc目录权限分配读写权限,然后删除目录里的文件 如果删了之后还继续生成, 那么linux主机,目录权限设为777 WIN主机在访问用户权限的修改打钩...
80

-
帝国教程
一、esub()截取字段函数 语法: esub(字符串,截取字数,后缀) 说明: 后缀为截取字符后附带内容,此参数可以省略。 使用范例: ?=esub('12345678',6)?,返回结果为:123456?=esub('12345678',6,'...'...
182

-
帝国教程
比如招聘和求职,企业会员只出招聘,普通会员只出求职 ?php$modsql=$empire-query("select mid,qmname from {$dbtbpre}enewsmod where usemod=0 and showmod=0 and qenter'' order by myorder,mid");while($modr=$empire-fetch($mod...
167

-
帝国教程
帝国CMS 6.6新增裁剪图片功能,制作标题图片更精准,使用非常方便并且支持裁剪后是否保留原图片。 上传以下图片:...
53

-
帝国教程
基本范例: 说明:下面例子都是以PHP文件放在系统根目录为基准。 例1:连接MYSQL程序。 (a.php) ?phprequire('e/class/connect.php'); //引入数据库配置文件和公共函数文件require('e/class/db_sql.php')...
74