请问这html里的{$config.sitename2}是从哪里获取的呀,好像和php有关的,知道的请指教新手,谢谢 5
<head><metahttp-equiv="Content-Type"content="text/html;charset=UTF-8"><title>{$config...
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$config.sitename2}</title>
<meta name="keywords" content="{$config.keywords}">
<meta name="description" content="{$config.descriptions}">
<include file="./head.html" />
<include file="./login_js.html" />
<script src="{$image}__PUBLIC__/style/js/dialog/jquery.artDialog.js" type="text/javascript"></script>
<script src="{$image}__PUBLIC__/style/js/dialog/plugins/iframeTools.js" type="text/javascript"></script>
<div class="gameXD cb fr" style="float:left">
<h3 class="ct"><a class="more" href="/xinde/" target="_blank" title="更多">更多</a><span class="cs">游戏心得</span></h3>
<div class="gameXD_con cb_n">
<ul>
<volist name="xdlist" id="vo_xl">
<li><span class="time">{$vo_xl.addtime|date='m/d',###}</span><a href="{:U('xinde/'.$vo_xl['aid'])}" target="_blank">{$vo_xl.title}</a></li>
</volist>
</ul>
</div>
</div>
<head> 展开
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$config.sitename2}</title>
<meta name="keywords" content="{$config.keywords}">
<meta name="description" content="{$config.descriptions}">
<include file="./head.html" />
<include file="./login_js.html" />
<script src="{$image}__PUBLIC__/style/js/dialog/jquery.artDialog.js" type="text/javascript"></script>
<script src="{$image}__PUBLIC__/style/js/dialog/plugins/iframeTools.js" type="text/javascript"></script>
<div class="gameXD cb fr" style="float:left">
<h3 class="ct"><a class="more" href="/xinde/" target="_blank" title="更多">更多</a><span class="cs">游戏心得</span></h3>
<div class="gameXD_con cb_n">
<ul>
<volist name="xdlist" id="vo_xl">
<li><span class="time">{$vo_xl.addtime|date='m/d',###}</span><a href="{:U('xinde/'.$vo_xl['aid'])}" target="_blank">{$vo_xl.title}</a></li>
</volist>
</ul>
</div>
</div>
<head> 展开
1个回答
2015-05-28
展开全部
这个是thinkphp框架中模版标签 $config是在action中定义的数组
$config.sitename2 是$config 数组中的一元素
$config.sitename2 是$config 数组中的一元素
追问
那这个action是一个php文件吗,还是一个配置文件,谢谢
追答
php文件
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询