<?php
    $name = "list-s-4";
    if(!isset($title) || $title == ''){
        $title = '建筑工程管理职称相关问题';
    }
?>
<link rel="stylesheet" href="/template/mobile/components/list/style_4.css?v=<?php echo rand(1,100000); ?>"   media="all">
<!--定义div盒子-->
<div class="<?php echo $name; ?>-content">
    <div class="box">
        <!--定义内容布局--->
        <div class="row row{$con}">
            <!--定义内部栅格 上下中左右 使用浮动-->
            <div class="top">
                <!--定义内容标签 p span a li img--->
                <span></span>

                {eyou:if condition='($page == "article_list" || $page=="article-detail"  || $page=="provincial")'}
                    {eyou:if condition='($ty == "left")'}
                        {eyou:type typeid='$cat_id' empty='暂时没有数据'}
                
                
                
                {eyou:if condition='($site == "shandong" && $domain[0] == "www")'}
                    <a href="https://www.zc10000.com/gonglve" class="" ><?php echo $title; ?></a>
                {eyou:else /}
                    <a href="https://{$site}.zc10000.com/gonglve" class="" ><?php echo $title; ?></a>
                {/eyou:if}
                        
                
                
                        {/eyou:type}
                    {eyou:else /}
                        {eyou:type typeid='$cat_id' empty='暂时没有数据'}
                        <a href="{:get_tid_url_2($field['typeurl'])}" class="" ><?php echo $title; ?></a>
                        {/eyou:type}
                    {/eyou:if}

                {eyou:elseif condition='($page == "zccat-detail-list")'}
                    {eyou:type typeid='$cat_id' empty='暂时没有数据'}
                    <a href="{:get_tid_url_2($field['typeurl'])}" class="" ><?php echo $title; ?></a>
                    {/eyou:type}
                {eyou:else /}
                    {eyou:type typeid='$eyou.field.typeid' empty='暂时没有数据'}
                    <a href="{:get_tid_url_2($field['typeurl'])}" class="" >
                        {$field['typename']}<?php echo $title; ?>555</a>
                    {/eyou:type}
                {/eyou:if}


            </div>
            <div class="center">
                <!--定义内容标签 p span a li img--->


                <?php
                    //var_dump($son_id);
                    //catid="0"
                ?>
                {eyou:if condition='($page == "article_list" || $page=="article-detail" || $page=="provincial")'}
                    {eyou:artlist  stypeid='0' typeid="$son_id" limit='0,9' titlelen='30' infolen='160' orderby='update_time desc'}

                    <li>
                        <a href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['province_id'],$field['city_id'])}" class="active-{$i}">
                            {eyou:if condition='($ty == "left")'}
                                {$field.title|msubstr=###,0,36,true}
                            {eyou:else /}
                                {$field.title|msubstr=###,0,18,true}
                            {/eyou:if}
                        </a>

                        {eyou:if condition='($ty == "left")'}
                            <span>{$field.add_time|MyDate='Y-m-d',###}</span>
                        {eyou:else /}

                        {/eyou:if}
                    </li>

                    {/eyou:artlist}

                {eyou:elseif condition='($page == "zccat-detail-list")'}

                    {eyou:artlist catid="" stypeid='0' typeid="111" limit='0,9' titlelen='30' infolen='160' orderby='update_time desc'}

                    <li>
                        <a href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'])}" class="active-{$i}">{$field.title|msubstr=###,0,18,true}</a>
                    </li>

                    {/eyou:artlist}

                {eyou:else /}
                    {eyou:artlist catid="$eyou.field.typeid" stypeid='0' typeid="122" limit='0,15' titlelen='30' infolen='160' orderby='update_time desc'}

                    <li>
                        <a href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'])}" class="active-{$i}">{$field.title|msubstr=###,0,18,true}</a>
                    </li>

                    {/eyou:artlist}
                {/eyou:if}




            </div>
            <div class="bottom">


                {eyou:if condition='($page == "article_list" || $page=="article-detail"  || $page=="provincial")'}
                <div class="bottom-row">

                    {eyou:if condition='($ty == "left")'}
                        <span>
                            {eyou:type typeid='$cat_id' empty='暂时没有数据'}
                                {eyou:if condition='($site == "shandong" && $domain[0] == "www")'}
                                   <a href="https://www.zc10000.com/gonglve"  >查看更多</a>
                                {eyou:else /}
                                   <a href="https://{$site}.zc10000.com/gonglve"  >查看更多</a>
                                {/eyou:if}
                            {/eyou:type}&nbsp;&nbsp;
                            <img src="https://oss.zc10000.com/static/images/013.svg" /></span>
                    {eyou:else /}
                        <span>{eyou:type typeid='$cat_id' empty='暂时没有数据'}
                            <a href="{:get_tid_url_2($field['typeurl'])}"  >查看更多</a>
                        {/eyou:type}&nbsp;&nbsp;<img src="https://oss.zc10000.com/static/images/013.svg" /></span>
                    {/eyou:if}
                </div>

                {eyou:elseif condition='($page == "zccat-detail-list")'}

                <div class="bottom-row">
                    <span>{eyou:type typeid='111' empty='暂时没有数据'}
                        <a href="{:get_tid_url_2($field['typeurl'])}"  >查看更多</a>
                    {/eyou:type}&nbsp;&nbsp;<img src="https://oss.zc10000.com/static/images/013.svg" /></span>
                </div>
                {eyou:else /}
                <div class="bottom-row">
                    <span>{eyou:type typeid='122' empty='暂时没有数据'}
                        <a href="{:get_tid_url_2($field['typeurl'])}"  >查看更多</a>
                    {/eyou:type}&nbsp;&nbsp;<img src="https://oss.zc10000.com/static/images/013.svg" /></span>
                </div>
                {/eyou:if}



            </div>
        </div>
        <div class="clear"></div>
    </div>
</div>