thinkphp 在循环内使用<php></php>
来源:互联网 发布:淘宝网修改快递单号 编辑:程序博客网 时间:2024/05/19 22:58
<volist name="zhiwei" id="vo">
<div class="qiye_list_center">
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="140" align="left"><input type="checkbox" name="checkbox" value="checkbox" />
{$vo.co_name}</td>
<td width="82" align="center">{$vo.co_time|date="Y-m-d" , ###}</td>
<td width="69" align="center">总公司</td>
<td width="84" align="center">{$vo.co_place}</td>
<td width="103" align="center"><php>if($vo['co_edit_time']!= ''){</php> {$vo.co_edit_time|date="Y-m-d" , ###} <php>} else {</php> 未修改 <php>}</php></td>
<td width="75" align="center">发布结束</td>
<!--<td width="57" align="center">32</td>-->
<td width="90" align="center"><a href="__ROOT__/index.php?s=/Position/index/num/{$vo.id}" target="_blank">预览</a> <a href="__URL__/edit/num/{$vo.id}">修改</a> </td>
</tr>
</table>
</div>
</volist>
<php>if($vo['co_xingzhi'] == '2'){</php>实习<php>} else if($vo['co_xingzhi'] == '1'){</php>兼职<php>} else {</php>全职<php>}</php>
<div class="qiye_list_center">
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="140" align="left"><input type="checkbox" name="checkbox" value="checkbox" />
{$vo.co_name}</td>
<td width="82" align="center">{$vo.co_time|date="Y-m-d" , ###}</td>
<td width="69" align="center">总公司</td>
<td width="84" align="center">{$vo.co_place}</td>
<td width="103" align="center"><php>if($vo['co_edit_time']!= ''){</php> {$vo.co_edit_time|date="Y-m-d" , ###} <php>} else {</php> 未修改 <php>}</php></td>
<td width="75" align="center">发布结束</td>
<!--<td width="57" align="center">32</td>-->
<td width="90" align="center"><a href="__ROOT__/index.php?s=/Position/index/num/{$vo.id}" target="_blank">预览</a> <a href="__URL__/edit/num/{$vo.id}">修改</a> </td>
</tr>
</table>
</div>
</volist>
<php>if($vo['co_xingzhi'] == '2'){</php>实习<php>} else if($vo['co_xingzhi'] == '1'){</php>兼职<php>} else {</php>全职<php>}</php>
- thinkphp 在循环内使用<php></php>
- memcache在ThinkPHP中的使用1---PHP下安装memcache
- PHP单元测试之PHP测试、PHPUnit的使用、在ThinkPHP中使用PHPUnit
- Thinkphp.php
- PHP小记:ThinkPHP的分页使用
- thinkphp- CronRunBehavior.class.php如何使用?
- Thinkphp 3.2.1 使用CronRunBehavior.class.php
- [php] Thinkphp Widget的简单使用
- [php] thinkphp使用csv导出excel表格
- php使用thinkPHP验证码登录
- PHP 循环
- PHP 循环
- PHP 循环
- PHP 循环
- php循环
- PHP 循环
- php循环
- php循环
- JAVA中使用FTPClient上传下载
- oracle的几道程序题
- Thinkphp 数据操作指南-查询技巧
- 如何用低版本的VMware打开通过高版本VMware安装的虚拟机
- AG阅读总结9.1——日志管理
- thinkphp 在循环内使用<php></php>
- SQL Server 建库,表,约束(一)
- myeclipse 8.6 优化
- 启动apk的方法
- win7-win8微软的系统已经走的太远了,我们是否需要一款中国化的XP系统?
- PCB硬件工程师入行必读
- AT指令控制上网
- ThinkPHP 中的技巧与策
- ThinkPHP使用总结