12345678910111213141516171819202122232425262728293031323334353637383940414243 |
-
- <?php
- $name = "list-s-9";
- ?>
- <link rel="stylesheet" href="/template/pc/components/list/style_9.css" media="all">
- <!--定义div盒子-->
- <div class="<?php echo $name; ?>-content">
- <div class="box">
- <!--定义内容布局--->
- <div class="row">
- <!--定义内部栅格 上下中左右 使用浮动-->
- <div class="top">
- <!--定义内容标签 p span a li img--->
- <span></span>
- {eyou:include file='/template/pc/components/list/style9/title.htm' /}
- </div>
- <div class="center">
- <!--定义内容标签 p span a li img--->
- <!--涉及到筛选 sql读取 再调用-->
- <!--所有资料文档必须有区域信息 才能显示出来 全国的不显示-->
-
- <?php
- if((int)$catid === 125){
- $catid = 0;
- }
- ?>
- {eyou:if condition='($con === 1)'}
- <!--拼接查询条件-->
- {eyou:include file='/template/pc/components/list/style9/list1.htm' /}
- <!--自定义分页开始-->
- {eyou:include file='/template/pc/components/list/style9/page1.htm' /}
- <!--自定义分页结束-->
- {eyou:elseif condition='($con === 2)'}
- {eyou:include file='/template/pc/components/list/style9/list2.htm' /}
- {eyou:elseif condition='($con === 4)'}
- {eyou:include file='/template/pc/components/list/style9/list4.htm' /}
- {eyou:else /}
- {/eyou:if}
- </div>
- </div>
- <div class="clear"></div>
- </div>
- </div>
|