<?php if( !defined( 'ONGPHP')) exit( 'Error ONGSOFT');?>
<div class="col-xs-12 col-sm-4 col-md-3">
<div class="left_nav" id="categories">

        <?php $DUQUID =  $DATA['cid'] > 0 ? $DATA['cid'] : $DATA['id'] ;
        
        $DAOHANG = MENULIST( $DUQUID, $D);

	
        
        if( $DAOHANG ){
        ?>

       
            <h1 class="left_h1"><?php echo $LANG['dbname'];?></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>
     

        <?php } ?>
           </div>
        
        <div class="left_news">
            <h1 class="left_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 class="index_contact">
            <h1 class="about_h1"><?php echo $LANG['lxwname'];?></h1>
     
            <?php echo $LANG['lxwomen'];?>
        
        
        </div>
</div>