smarty?section循环出错
<br />......<br /><{section name=s loop=$tips_infos}><br />......<br /><p><{$smarty.section.index}></p> <br />//输出当前循环次数(这里次数没输出,还报错了,不知为啥)<br /><{if $tips_infos[s].system ne '1' && ($index=1 || $index=2 ||$index=3 ||$index=4 ||$index=9 ||$index=10 ||$index=11)}><br />//$index=循环次数 $tips_infos[s].system ='1' 并且循环次数为1,2,3,4,9,10,11条件才成立 (因为循环次数出错,不知道这里会不会出问题)<br /><{/section}><br />......<br />
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号