<?php if( !defined( 'ONGPHP')) exit( 'Error ONGSOFT'); include QTPL.'head.php';?>
<?php $danye = danye ( $LANG['gongsiid'], $D );?>
<div class="container">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <div class="about_box">
                <h1 class="about_h1"><a href="<?php echo $danye['link'];?>"><?php echo $danye['name'];?></a></h1>
                <section>
                   
                        <img align="left" src="<?php echo $danye['tupian'];?>" alt="<?php echo $danye['name'];?>">
                        <p class="about_contents"> <?php echo jianjie($danye['neirong'],300);?></p>
                        <a href="<?php echo $danye['link'];?>" class="about_more"><?php echo $LANG['chakan'];?> &gt;&gt;</a>
                <section>
            </div>
        </div>
    </div>
</div>

<div class="container">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <div class="index_product">
                <h1 class="about_h1"><?php echo $LANG['cpzname'];?></h1>
                
                <div class="product_list">
                <?php $ONGLIST = neirlist(array('cid'=> xjcid( $LANG['chanpiid'] ) ,'page'=> 1,'http'=>$HTTP['0'],'num'=> (int)$LANG['incpnum'] ,'len'=>18),'center', $D );

                if( $ONGLIST['date'] ){

                    foreach($ONGLIST['date'] as $ONG){
                  ?><div class="col-sm-4 col-md-3 col-mm-6 product_img">
                        <a href="<?php echo $ONG['link'];?>"> <img src="<?php echo $ONG['tupian'];?>" class="opacity_img" alt="<?php echo $ONG['name'];?>" style="height:200px;"> </a>
                        <p class="product_title"><a href="<?php echo $ONG['link'];?>" title="<?php echo $ONG['name'];?>"><?php echo $ONG['name'];?></a></p>
                    </div>
                <?php } }?>
    
                 </div>
            </div>

       <?php $DAOHANG = menulist( $LANG['chanpiid'] , $D);
            if($DAOHANG){
       ?>

            <div class="left_nav index_left_nav" id="categories">
                <h1 class="left_h1"><?php echo $LANG['dhname'];?></h1>
                    <ul class="left_nav_ul" id="firstpane">
                    <?php foreach($DAOHANG as $ONG ){ ?>
                        <li>
                            <a class="biglink" href="<?php echo $ONG['link'];?>"><?php echo $ONG['name'];?></a>

                            <?php $ZDAOHANG = menulist( $ONG['id'] , $D);
                            
                               if( $ZDAOHANG ){

                            ?><span class="menu_head">+</span>
                            <ul class="left_snav_ul menu_body">
                                <?php foreach($ZDAOHANG as $anyou){ ?>

                                    <li><a href="<?php echo $anyou['link'];?>"><?php echo $anyou['name'];?></a></li>
                                <?php } ?>

                            </ul>
                            <?php } ?>

                        </li>
                    <?php } ?>
                    </ul>
            </div>
        <?php } ?>



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

    <div class="container">    
        <div class="row">

            <div class="col-xs-12 col-sm-8 col-md-7">
                <div class="news_box">
                    <h1 class="about_h1"><?php echo $LANG['newname'];?></h1>
                    <ul class="index_news">


                    <?php $ONGLIST = neirlist(array('cid'=> xjcid($LANG['newsid']) ,'page'=> 1,'http'=>$HTTP['0'],'num'=> (int)$LANG['innewnum'] ,'len'=>18),'center', $D );
                    
                    
                    if( $ONGLIST['date'] ){

                        foreach($ONGLIST['date'] as $ONG){
                    ?>   <li><a href="<?php echo $ONG['link'];?>" title="<?php echo $ONG['name'];?>"><?php echo $ONG['name'];?></a><span class='news_time'><?php echo date( 'Y-m-d H:i:s', $ONG['atime']);?></span></li>
                <?php } }?>
    
    
    </ul>                </div>
            </div>

            <div class="col-xs-12 col-sm-4 col-md-5">    
                <div class="index_contact">

                    <h1 class="about_h1"> <?php echo $LANG['lxwname'];?> </h1>
                    <?php echo $LANG['lxwomen'];?>
                </div>
                <div class="btn-group dropup" style="margin-bottom:15px;">
                      <button type="button" class="btn btn-default btn-sm" data-toggle="dropdown" aria-expanded="false" style="line-height:13px;">&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $LANG['youqinname'];?>&nbsp;&nbsp;&nbsp;&nbsp;</button>
                      <button type="button" class="btn btn-default dropdown-toggle btn-sm"  style="line-height:13px;">
                        <span class="caret"></span>
                        <span class="sr-only"><?php echo $LANG['youqinname'];?></span>
                      </button>
                      <ul class="dropdown-menu" role="menu">

                        <li><a target="_blank" href="http://www.anyou.org/">安优企业建站系统</a></li>
                        <li><a target="_blank" href="http://www.ongsoft.com/">OS软件开发定制</a></li>
                        <li><a target="_blank" href="http://www.wapcq.com/">无限资源网</a></li>

                        <?php $YOUQING = youqing( 100 , $D );

                          if( $YOUQING ){
                             foreach( $YOUQING as $anyou){

                                 echo '<li><a target="_blank" href="'.$anyou['url'].'" title="'.$anyou['miaoshu'].'">'.$anyou['name'].'</a></li>';
                             }
                          }
                        ?>

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

        </div>
    </div>
     
<?php include QTPL.'foot.php';?>