phpcms 动态调用 图片
2015-07-08 17:17
555 查看
<div id="list_main" class="mg10"> <div class="fl bd1"> {pc:content action="lists" catid="$catid" num="12" order="listorder ASC,id DESC" page="$page"} {loop $data $v} <div class="mg5"> <div class="ds_inblock"><a href="{$v[url]}"><img src="{$v[thumb]}" height="116px" width="164px" /></a></div> <div class="leftm_r ds_inblock"> <a href="{$v[url]}" title="{$v[title]}" ><h3 class="font_2 mg5">{$v[title]}</h3></a> <p class="font_1"> <b class="more_2">【内容导读】</b>{str_cut($v[description],360)} <a class="more_2" title="{$v[title]}" href="{$v[url]}">【详情】 </a> </p> </div> </div> <div class="hr_dash mg20" ></div> {/loop} {/pc} <div id="pages" class="mg10">{$pages}</div> </div> {template "content","right2"} </div>
相关文章推荐
- [文摘] Zend Guard 5.5版本破解方式和加密后永不过期的操作方法
- thinkphp中M()和D()的理解
- PHP RGB颜色和十六进制颜色互转
- FTP的使用
- php+mysql 解决emoji问题
- 安装MySQL后无法打开wamp中的phpadmin的解决办法
- php实例:打印金字塔
- phpcms 动态网址
- PHP(3): 在阿里云虚拟主机上面搭建phpMyAdmin以及WordPress
- PHP调用DLL和引用其它的.php文件示例
- 安装FTP服务器详解
- PHP实现验证码
- PHP中的PHP_EOL和DIRECTORY_SEPARATOR
- PHP+Mysql基于事务处理实现转账功能的方法
- PHP设置User Agent
- zend studio 9.0不支持.tpl文件的设置方法
- windows下phpstorm的快捷键
- wamp下php无法保存SESSION问题总汇
- 以cmd命令行方式执行php文件时,传递参数
- php将html转成wml的WAP标记语言实例