本文整理汇总了PHP中Tpl::showTrace方法的典型用法代码示例。如果您正苦于以下问题:PHP Tpl::showTrace方法的具体用法?PHP Tpl::showTrace怎么用?PHP Tpl::showTrace使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tpl
的用法示例。
在下文中一共展示了Tpl::showTrace方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: urlShop
case '0':echo $nav['nav_url'];break;
case '1':echo urlShop('search', 'index', array('cate_id'=>$nav['item_id']));break;
case '2':echo urlShop('article', 'article',array('ac_id'=>$nav['item_id']));break;
case '3':echo urlShop('activity', 'index',array('activity_id'=>$nav['item_id']));break;
}?>"><?php echo $nav['nav_title'];?></a>
<?php }?>
<?php }?>
<?php }?>
</p>
<?php echo $output['setting_config']['icp_number']; ?><br />
<?php echo html_entity_decode($output['setting_config']['statistics_code'],ENT_QUOTES); ?> </div>
<?php if (C('debug') == 1){?>
<div id="think_page_trace" class="trace">
<fieldset id="querybox">
<legend><?php echo $lang['nc_debug_trace_title'];?></legend>
<div> <?php print_r(Tpl::showTrace());?> </div>
</fieldset>
</div>
<?php }?>
<?php if($_GET['op'] != 'special_detail'){?>
<script language="javascript">
//返回顶部
backTop=function (btnId){
var btn=document.getElementById(btnId);
var d=document.documentElement;
window.onscroll=set;
btn.onclick=function (){
btn.style.display="none";
window.onscroll=null;
this.timer=setInterval(function(){
d.scrollTop-=Math.ceil(d.scrollTop*0.1);
示例2: print_r
<br /><?php
echo $output['setting_config']['icp_number'];
?>
</div>
<?php
if ($GLOBALS['setting_config']['debug'] == 1) {
?>
<div id="think_page_trace" class="trace">
<fieldset id="querybox">
<legend><?php
echo $lang['nc_debug_trace_title'];
?>
</legend>
<div>
<?php
print_r(Tpl::showTrace());
?>
</div>
</fieldset>
</div>
<?php
}
?>
<script language="javascript">
var searchTxt = '<?php
echo $lang['nc_searchdefault'];
?>
';
function searchFocus(e){
if(e.value == searchTxt){
e.value='';
示例3: if
<p><a href="<?php echo SHOP_SITE_URL;?>"><?php echo $lang['nc_index'];?></a>
<?php if(!empty($output['nav_list']) && is_array($output['nav_list'])){?>
<?php foreach($output['nav_list'] as $nav){?>
<?php if($nav['nav_location'] == '2'){?>
| <a <?php if($nav['nav_new_open']){?>target="_blank" <?php }?>href="<?php switch($nav['nav_type']){
case '0':echo $nav['nav_url'];break;
case '1':echo urlShop('search', 'index', array('cate_id'=>$nav['item_id']));break;
case '2':echo urlShop('article', 'article',array('ac_id'=>$nav['item_id']));break;
case '3':echo urlShop('activity', 'index',array('activity_id'=>$nav['item_id']));break;
}?>"><?php echo $nav['nav_title'];?></a>
<?php }?>
<?php }?>
<?php }?>
</p>
Copyright 2007-2014 ejiao2o Inc.,All rights reserved.<br />
Powered by <?php echo $GLOBALS['setting_config']['shopnc_version'];?>
<?php echo $GLOBALS['setting_config']['icp_number']; ?><br />
<?php echo html_entity_decode($GLOBALS['setting_config']['statistics_code'],ENT_QUOTES); ?> </div>
<?php if (C('debug') == 1){?>
<div id="think_page_trace" class="trace">
<fieldset id="querybox">
<legend><?php echo $lang['nc_debug_trace_title'];?></legend>
<div>
<?php print_r(Tpl::showTrace());?>
</div>
</fieldset>
</div>
<?php }?>
</body>
</html>