请看代码:
<a class="receive" id="qiandao"><if condition="$todaySigned eq 0"><span class="red">点击这里签到赚积分</span><else/><span style="color:#666">今天您已经签到过了</span></if><span style=" display:none"></span></a>同样是上面一段代码,在这个文件“\Web\tpl\Wap\default\Card_signscore.html”下可以正常执行其中的 <if condition="$todaySigned eq 0">而在同目录下的“\Web\tpl\Wap\default\Index_1148_index_xcvhk.html”中就不能执行<if condition="$todaySigned eq 0">
$todaySigned这个函数是在“\Web\138\Lib\Action\Wap\CardAction.class.php”这里定义的。
这是目录的截图

请问,我想在“\Web\tpl\Wap\default\Index_1148_index_xcvhk.html”中也能正常执行<if condition="$todaySigned eq 0">该怎么做才行呢?“Index_1148_index_xcvhk.html”这个文件名是不能改的
在“\Web\tpl\Wap\default\Index_1148_index_xcvhk.html”可以正常执行
这些求各位大侠帮帮忙,小弟感激不尽啊,我就是把“\Web\tpl\Wap\default\Card_signscore.html”中的代码,整个替换到“\Web\tpl\Wap\default\Index_1148_index_xcvhk.html”里面都不能执行<if condition="$todaySigned eq 0">,求各位大侠帮忙啊,谢谢
最佳答案