源码:
<td>
<switch name="vo.status">
<case value="1|3"><font color="#a9a9a9">未生效</font></case>
<case value="2">
<switch name="vo.expired_status">
<case value="">
<if condtion="$ex_time gt $vo.addtime"><form action="{:U('audit_contract?id='.$vo['id'])}" method="get">生效:<input type="radio" name="expired_status" value="0" />  
失效:<input type="radio" checked="checked" name="expired_status" value="1" /></form>;
<else /> $a_type
</if>
</case>
<case value="0">$a_type</case>
<case value="1">$b_type</case>
</switch>
</case>
</switch>
</td>
浏览器报错:
:(
syntax error, unexpected ')'
错误位置
FILE: D:4円project\xieyi\Contract\App\Runtime\Cache\Admin2円e7a45955f46c09fd8485aa06d91757e.php LINE: 97
缓存文件:
<td>
<?php switch($vo["status"]): case "1": case "3": ?><font color="#a9a9a9">未生效</font><?php break;?>
<?php case "2": switch($vo["expired_status"]): case "": if(): ?><form action="<?php echo U('audit_contract?id='.$vo['id']);?>" method="get">生效:<input type="radio" name="expired_status" value="0" />  
失效:<input type="radio" checked="checked" name="expired_status" value="1" /></form>;
<?php else: ?> $a_type<?php endif; break;?>
<?php case "0": ?>$a_type<?php break;?>
<?php case "1": ?>$b_type<?php break; endswitch; break; endswitch;?>
</td>