<?php$a=$GLOBALS[navclassid];$b=$class_r[$a]['bclassid'];$c=$class_r[$b]['bclassid'];$d=$class_r[$c]['bclassid'];?>调用栏目名称: <?=$class_r[栏目ID]['classname']?> 调用栏目链接: /<?=$class_r[栏目ID]['classpath']?>/
帝国CMS教程:如果文章没有缩略图,随机调用自定义缩略图 第一种方法: 第一种方法:$rand=rand(1,50);if($r[titlepic]){$listpic='[!--titlepic--]';}else{$listpic='/skin/images/'.$rand.'.jpg';}$listtemp='<img src=\'.$listpic.'>';
<?php$morefr=explode('||||||',$navinfor[lvyou]);$mfcount=count($morefr);for($mfi=0;$mfi<$mfcount;$mfi++){$morefrf=explode('::::::',$morefr[$mfi]);?>选项1:<?=$morefrf[0]?>选项2:<?=$morefrf[1]?>选项3:<?=$morefrf[2]?>选项4:<?=$morefrf[3]?>选项
打开文件e/class/connect.php(1417行左右)$string = str_replace(array(' ','&','"','<','>',''','“','”','•','·' ,'°','′','—','・','•'), array(' ','&','\'
[e:loop={'news',10,18,1}] <?php$fr=$empire->fetch1(select newstext from {$dbtbpre}ecms_news_data_{$bqr[stb]} where id='$bqr[id]');$str=stripcslashes($fr['newstext']);preg_match_all('/<img.*?src=(.*?).*?>/is',$str,$imgArr);$imgAr
路径:e/admin/ecmseditor/infoeditor/config.jsconfig.pasteFromWordRemoveFontStyles = false;config.pasteFromWordRemoveStyles = false;
跳转页面<?php$pass='123456';$name='admin';?>页面<!DOCTYPE html><html><head><meta http-equiv=content-type content=text/html; charset=utf-8 /><title>测试跳转</title></head><body><form id=\ action=http://192.168.2.166/e/admin/ind
css样式 奇数 (隔一个样式一样).home a:nth-of-type(odd){ }css样式 偶数 .home a:nth-of-type(even){background:#0000ff;}或者是数组函数.home a:nth-of-type(2n){background:#0000ff;}.home a:nth-of-type(2n+1){background:#0000ff;}
[e:loop={SELECT classid,classimg,classname,classpath,classurl FROM phome_enewsclass WHERE classid=919,1,24,0}]<?=$bqr[classimg]?><?=$bqsr['classurl']?>[/e:loop]