<?php if(!defined('IN_SYS')) {exit('php188');} ?>
<{include file="header.php"}>
	<div id="middle"><!--middle start-->
		  <{include file="flash_lunzu.php"}><!-- 引用了  轮组 -->
        <div class="container"><!--container start-->
        	<div class="container_left"><!--container_left start-->
            	<div class="left_one"><!--left_one start-->
                	<{get_notice assign=notices}>
                	<h3 class="left_title">网站公告</h3>
                   	<div class="wenzhang">
                    	<{$notices[0].content}>
                    </div>
                </div><!--left_one end-->
                
                <div class="left_one" style="margin-top:4px;"><!--left_one start-->
                	<{get_content category_id="1" limit="4" assign="kehuanli"}>
                	<h3 class="left_title">客户案例</h3>
                    <ul class="wenzhang"><!--wenzhang start-->
                    	<{foreach from=$kehuanli item=item}>
                            <li><a href="<{$item.content_link}>" class="jiequzifuchuan_a_a" title="<{$item.title}>" ><{$item.title}></a></li>
                        <{/foreach}>
                    </ul><!--wenzhang end-->        
                </div><!--left_one end-->
                
                <div class="left_one" style="margin-top:4px;"><!--left_one start-->
                
                	<{get_friendlink assign="friend_link"}>
                    
                	<h3 class="left_title">友情链接</h3>
                    <div class="partner"><!--partner start-->
                    	<ul class="parthr_box">
                        	<{foreach from=$friend_link.pic item=fl}>
                            	<li><a target='_blank'  title="<{$fl.name}>" href="<{$fl.url}>"><{$fl.name}></a></li>
                            <{/foreach}>
                            <{foreach from=$friend_link.text item=fl}>
                                <li><a href='<{$fl.url}>' title="<{$fl.name}>" target='_blank'><{$fl.name}></a> </li>
                            <{/foreach}>
                            <div style="clear:both;"></div>
                        </ul>
                    </div><!--partner end-->                   
                </div><!--left_one end--> 					
            </div><!--container_left end-->
            <div class="container_right"><!--container_right start-->
            	<div class="right_one"><!--right_one start-->
                    <h3 class="right_title">关于我们</h3>
                    <div class="wenzhang">
                    	<{get_ads place_name='关于我们'}>
                    </div>			
            	</div><!--right_one end-->
                
                <div class="right_one" style="margin-top:4px;"><!--right_one start-->
                    <h3 class="right_title">产品展示</h3>
                    <{get_content assign="tupianzhanshi" limit='2' model='product'}>
                    <{foreach from=$tupianzhanshi item=item}>
                    	<div class="right_box">
                            <p class="Case_tu"><a href="<{$item.content_link}>"><img src="<{$item.thumb}>" alt="<{$item.title}>" class="dx" /></a></p>
                            <p class="Case_zi"><a href="<{$item.content_link}>"><{$item.title|truncate:15:''}></a></p>	
                        </div>
                    <{/foreach}>
                    <div style="clear:both;"></div>			
            	</div><!--right_one end-->
                <div class="right_news"><!--right_news start-->
                	<div class="news_one"><!--news_one start-->
                    	<h3 class="news_title"><a style="color:#FFF" href="<{building_link model='models' action='article' param='0=1&2=4'}>" >最新资讯</a></h3>
                        <{get_content assign="zuixinzixun"  limit='5' category_id="4" }>
                        <ul class="news_content wenzhang">
                        	<{foreach from=$zuixinzixun item=item}>
                                <li><span style="float:right;"><{$item.post_time|date_format:"%Y年%m月%d日"}></span><a href="<{$item.content_link}>" class="jiequzifuchuan_a_b" title="<{$item.title}>" ><{$item.title}></a></li>
                            <{/foreach}>
                        </ul>
                    </div><!--news_one end-->
                    
                    <div class="news_two"><!--news_one start-->
                    	<h3 class="news_title">公司动态</h3>
                        <ul class="news_content wenzhang">
                        	 <{get_content assign="zuixinzixun"  limit='5' category_id="5" }>
                             <{foreach from=$zuixinzixun item=item}>
                             	<li><span style="float:right;"><{$item.post_time|date_format:"%Y年%m月%d日"}></span><a href="<{$item.content_link}>" class="jiequzifuchuan_a_b" title="<{$item.title}>" ><{$item.title}></a></li>
                            <{/foreach}>
                        </ul>	
                    </div><!--news_one end-->
                    <div style="clear:both;"></div>
                     <script type="text/jscript">
						$(".jiequzifuchuan_a_a").each(function(){
							var str = $.trim(($(this).html())).substring(0,16);
							$(this).html(str);
						});
						$(".jiequzifuchuan_a_b").each(function(){
							var str = $.trim(($(this).html())).substring(0,20);
							$(this).html(str);
						});
                    </script>
                </div><!--right_news end-->
            </div><!--container_right end-->
            <div style="clear:both"></div>	
        </div><!--container end-->
	</div>
<{include file="footer.php"}>