<div class="part">
    <div class="bar clearfix">
        <h1 class="tt">
            <a href="{$web_domain}{$web_url}">{$eyou.field.title}</a>
        </h1>
        <div class="r-intro fr">
                <span class="data fr">
                    <small class="info"><i class="fa fa-clock-o"></i>
                    {$eyou.field.update_time|MyDate="Y-m-d",###}
                    </small>
                    <small class="info"><i class="fa fa-eye"></i>
                        {$eyou.field.click}
                    </small>
<script src="https://www.zc10000.com/index.php?m=api&amp;c=Ajax&amp;a=arcclick&amp;type=view&amp;aids={$doc_aid}" type="text/javascript" language="javascript"></script>

                    <?php
                  /*
                   *
                   * <!--                    <small class="info btn-c" id="share_btn" title="{$eyou.field.title}" aid="{$eyou.field.aid}" style="margin-left: 15px;cursor: pointer;">
                            点击分享
                  </small>


<div style="display: none;" id="share-box">
                <div class="social-share"></div>
            </div>-->

                   */
                    ?>


                </span>
        </div>
    </div>
    <div class="items">
        <div class="art-main">
            <div>


                {eyou:if condition='($is_mobile === false)'}
                {$eyou.field.content_5}
                {eyou:else /}
                {eyou:empty name='$eyou.field.content_4' /}
                {$eyou.field.content_5}
                {eyou:else /}
                {$eyou.field.content_4}
                {/eyou:empty}
                {/eyou:if}


            </div>

            <div class="art-copyright br mb">
                <div>本文地址:<a href="" title="{$eyou.field.title}" >{$web_domain}{$web_url}</a></div>
                <div><span class="copyright">版权声明:</span>{eyou:global name='web_attr_16' /}</div>



            </div>

            <?php
                $product_tag_id = $eyou['field']['product_tag_id'];
                //var_dump($product_tag_id);
            ?>


            {eyou:if condition='((int)$product_tag_id > 0)'}
            {eyou:sql sql="select aid,title from ey_archives where aid=$product_tag_id" cachetime='3600' empty=''}
            <?php
            $tag_name = $field['title'];
            ?>
            {/eyou:sql}
            {/eyou:if}

            <p class="art-tag">所属标签: <a style="background: none;font-size: 15px;" href="https://www.zc10000.com/tag{$tag_number}"  target="_blank" >{$tag_name}</a></p>

            <p class="art-tag" style="margin-top:10px;">

                <span style="display: block;float: left;color:#6b7386;">相关政策文件:</span><br/>

                <?php

                //product_tag_id
                //$tid


                if((int)$product_tag_id === 0){
                    $where = " typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id=0 OR typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id > 0"; //and is_recom=1
                }else{
                    $where = " typeid=1232 and is_del=0 and status=1 and province_id=0  OR typeid=1232 and is_del=0 and status=1 and province_id=0 and product_tag_id=$product_tag_id"; //and is_recom=1 //and product_tag_id=0
                }




                $sql = "select aid from ey_archives where $where order by product_tag_id desc,update_time desc limit 0,5";

                //echo $sql;
                ?>

                {eyou:sql sql='$sql' cachetime='3600' id="listSql"}
                {eyou:arcview aid='$listSql.aid'}

                <?php
                $ar_url = get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['area_tag_id'],$field['city_id']);
                ?>

                <?php
                //【2024版政策文件下载】

                if (strpos($field['title'], '评审') !== false) {
                    $a = explode('评审',$field['title']);
                    $temp_title = $a[0].'评审';
                    $ex = 1;
                    $t_end = '【2024版政策文件下载】';
                }else{
                    $temp_title = $field['title'];
                    $ex = 0;
                    $t_end = '';
                }
                ?>



            <span class="padding" style="display: block;float: left;">

                <a class="" href="{$ar_url}" title="{$temp_title}" target="_blank">
                 {$temp_title} </a>
                <br/>
                <font style="">{$t_end}</font>
                 <?php
                 /*{$field.title|msubstr=###,0,30,true}**/
                 ?>

            </span>



            {/eyou:arcview}
            {/eyou:sql}



















            <div class="clear"></div>
            </p>
            <p>
            <a href="https://www.zc10000.com/zc" target="_blank" style="display: block;float: left;font-size: 12px;background: none;color:red;">>>> 查看更多政策文件</a>
            </p>
            <div class="clear"></div>
        </div>
    </div>
</div>




<div class="part related" style="padding: 10px 15px;">
    <div class="col-xs-12 col-sm-6 col-md-6 b">

        <span class="b1">上一篇:</span>

        <?php
        //var_dump($number);
        $sql = "SELECT * FROM ey_seo_number WHERE id = (SELECT id FROM ey_seo_number WHERE number<$number and tid=1231 and is_del=0 and type=2 and area_id=0 ORDER BY number desc LIMIT 1)";
        ?>

        <span class="bb3">
        {eyou:sql sql="$sql" cachetime='3600' empty='无' id='kp'}
        {eyou:arcview aid='$kp.aid'}


        {eyou:if condition='((int)$field.is_del === 0)'}
        <a href="https://www.zc10000.com/zx{$kp.number}" class="b2">{$field.title}</a>
        {eyou:else /}
        文档已删除
        {/eyou:if}


        {/eyou:arcview}
        {/eyou:sql}
        </span>

    </div>
    <div class="col-xs-12 col-sm-6 col-md-6 b bb" style="">
        <span style="" class="b1">下一篇:</span>
        <?php
        $sql = "SELECT * FROM ey_seo_number WHERE id = (SELECT id FROM ey_seo_number WHERE number>$number and tid=1231 and is_del=0 and type=2 and area_id=0 ORDER BY number asc LIMIT 1)";
        ?>

        <span class="bb3">
        {eyou:sql sql="$sql" cachetime='3600' empty='无' id='kp'}
        {eyou:arcview aid='$kp.aid'}

        {eyou:if condition='((int)$field.is_del === 0)'}
        <a href="https://www.zc10000.com/zx{$kp.number}" style="" class="b2">{$field.title}</a>
        {eyou:else /}
            文档已删除 {$field.title|msubstr=###,0,10,true}
        {/eyou:if}

        {/eyou:arcview}
        {/eyou:sql}
        </span>
    </div>

    <div class="clear"></div>
</div>
<!-- 广告位AD3  -->


{eyou:if condition='((int)$product_tag_id > 0)'}


<div class="part related">
    <p class="tt"><span>相关申报材料</span></p>
    <div class="items">
        <div class="row">


            <?php

            //product_tag_id
            //$tid
            if((int)$product_tag_id === 0){
                $where = " typeid=1233 and is_del=0 and status=1 and province_id=0 and product_tag_id=0 OR typeid=1233 and is_del=0 and status=1 and province_id=0 and product_tag_id>0"; //and is_recom=1
            }else{
                $where = " typeid=1233 and is_del=0 and status=1 and province_id=0 OR typeid=1233 and is_del=0 and status=1 and province_id=0 and product_tag_id=$product_tag_id"; //and is_recom=1 //and product_tag_id=0
            }

            $sql = "select aid from ey_archives where $where order by product_tag_id desc,click desc,update_time desc limit 0,6";

            //echo $sql;
            ?>

            {eyou:sql sql='$sql' cachetime='3600' id="listSql"}
            {eyou:arcview aid='$listSql.aid'}

            <?php
            $ar_url = get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['province_id'],$field['city_id']);
            ?>


            <div class="col-xs-6 col-sm-4 col-md-2 font-563-active-{$i}">
                <div class="item art-item transition cl-img-box">
                    <a class="art-a" href="{$ar_url}" title="" >
                        <img class="img-cover cl-img" src="{$field.litpic}" alt="{$field.title}" />
                    </a>
                    <h3 class="art-title cl-art-title" style="">
                        {eyou:if condition='((int)$field.is_recom === 1)'}
                        <i class="more2_info_self">推荐</i>
                        {/eyou:if}

                        <a class="" href="{$ar_url}" title="{$field.title}" >
                            {$field.title|msubstr=###,0,30,true}
                        </a>
                    </h3>
                    <div class="mod_price">
                        <i>¥</i>
                        <span class="more2_info_price_txt">{$field.users_price}.<span class="more2_info_price_txt-decimal">00</span>
                                 </span>
                    </div>
                </div>
            </div>






            {/eyou:arcview}
            {/eyou:sql}


        </div>
    </div>
</div>




{eyou:else /}




<div class="part related">
    <p class="tt"><span>相关申报资讯</span></p>
    <div class="items">
        <div class="row">



            <?php

            //$tid

            $where = " typeid=".$tid." and is_del=0 and status=1 and province_id=0 "; //and is_recom=1
            $sql = "select aid from ey_archives where $where order by RAND() limit 0,4"; //update_time desc

            ?>

            {eyou:sql sql='$sql' cachetime='3600' id="listSql"}
            {eyou:arcview aid='$listSql.aid'}

            <?php
            $a_url = get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['province_id'],$field['city_id']);
            ?>

            <div class="col-xs-6 col-sm-4 col-md-3">
                <div class="item art-item transition">
                    <a class="art-a" href="{$a_url}" title="{$field.title}" >
                        <img class="img-cover" src="{$field.litpic}" alt="{$field.title}"/>
                    </a>
                    <h3><a class="" href="{$a_url}" title="{$field.title}" >{$field.title|msubstr=###,0,15,true}</a></h3>
                    <p>{$field.seo_description|msubstr=###,0,35,true}</p>
                </div>
            </div>


            {/eyou:arcview}
            {/eyou:sql}


        </div>
    </div>
</div>




{/eyou:if}