12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
-
- <?php
- $name = "detail-s-2";
- ?>
- <link rel="stylesheet" href="/template/pc/components/detail/style_2.css" media="all">
- <!--定义div盒子-->
- <div class="<?php echo $name; ?>-content" id="{$id_name_div}">
- <div class="box">
- <!--定义内容布局--->
- <div class="row">
- <!--定义内部栅格 上下中左右 使用浮动-->
- <div class="top">
- <!--定义内容标签 p span a li img--->
- <span></span>
- <!--/id{$route_param.tid} {$eyou.field.title}-->
- <a href="javascript:void(0);"><?php echo $title; ?></a>
-
- </div>
- <div class="bottom">
- <!--定义内容标签 p span a li img--->
- <p>
- {eyou:if condition='($con == "1")'}
- {eyou:empty name='$eyou.field.content_1' /}
- <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
- {eyou:else /}
- {$eyou.field.content_1}
- {/eyou:empty}
- {eyou:elseif condition='($con == "2")'}
- {eyou:empty name='$eyou.field.content_2' /}
- <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
- {eyou:else /}
- {$eyou.field.content_2}
- {/eyou:empty}
- {eyou:elseif condition='($con == "4")'}
- {eyou:empty name='$eyou.field.content_6' /}
- <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
- {eyou:else /}
- {$eyou.field.content_6}
- {/eyou:empty}
- {eyou:elseif condition='($con == "5")'}
- {eyou:empty name='$eyou.field.content_4' /}
- <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
- {eyou:else /}
- {$eyou.field.content_4}
- {/eyou:empty}
- {eyou:elseif condition='($con == "6")'}
- {eyou:empty name='$eyou.field.content_7' /}
- <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
- {eyou:else /}
- {$eyou.field.content_7}
- {/eyou:empty}
- {eyou:elseif condition='($con == "0")'}
- {eyou:empty name='$eyou.field.content_5' /}
- <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
- {eyou:else /}
- {$eyou.field.content_5}
- {/eyou:empty}
- {eyou:elseif condition='($con == "7")'}
- {eyou:empty name='$eyou.field.content_4' /}
- <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
- {eyou:else /}
- {$eyou.field.content_4}
- {/eyou:empty}
- {eyou:elseif condition='($con == "8")'}
- <!--职称小类-->
- <?php
- $sql = "select id,parent_id,typename from ey_arctype_cat where parent_id=".$route_param['catids']." and is_del=0";
- ?>
- {eyou:sql sql="$sql" cachetime='3600' id='field9'}
- <?php
- $sql2 = "select number from ey_seo_number where type=1 and parentid=".$route_param['catids']." and topid=38 and area_id=0 and aid=".$field9['id'];
- ?>
- {eyou:sql sql="$sql2" cachetime='3600' id='field99'}
- <span class="kpa"><a href="{$route_domain}/id{$catid}/sid{$field99.number}">{$field9.typename}</a></span>
- {/eyou:sql}
- {/eyou:sql}
- {eyou:else}
- {eyou:empty name='$eyou.field.content_3' /}
- <div style="width:100%;text-align: center;">----------(无具体要求)------------</div>
- {eyou:else /}
- {$eyou.field.content_3}
- {/eyou:empty}
- {/eyou:if}
- </p>
- </div>
- </div>
- </div>
- </div>
|