<?php if( !defined( 'ONGPHP')) exit( 'Error ONGSOFT'); include QTPL.'head.php';?>
<link href="<?php echo DQTPL?>T02/Home/Tpl/default/Public/css/lightbox.css" rel="stylesheet">
<script src="<?php echo DQTPL?>T02/Home/Tpl/default/Public/js/lightbox.js"></script>
<script type="text/javascript">
$(document).ready(function(){
            $('.showpic_flash').bxSlider({
              pagerCustom: '#pic-page',
               adaptiveHeight: true,
            });

        });
    </script>
<div class="container">
    <div class="row">
        <div class="col-xs-12 col-sm-8 col-md-9" style="float:right">


        <?php   
         $TUPIANJI = array($DATA['tupian']);
        
         if( $DATA['tupianji']  != '' )
         $TUPIANJI = unserialize( $DATA['tupianji'] );
        
        ?>


        <div class="list_box">
              <h2 class="left_h1"> <a href="<?php echo WZHOST;?>" class="imp"><?php echo $LANG['home'];?></a> >> <?php $zhi = daohtml(  $DATA['cid'] ,$D); echo implode(' >> ',$zhi);?></h2>
             
             <!-- showpic -->
             
             <div class="col-sm-12 col-md-6 showpic_box">
             
             <ul class="showpic_flash">

               <?php foreach($TUPIANJI as $kkz){?>
             
                <li><a class="example-image-link" href="<?php echo $kkz;?>" data-lightbox="example-set" target="_blank"><img class="example-image" src="<?php echo $kkz;?>" alt="<?php echo $DATA['name'];?>"/></a></li>
                <?php } ?>
                
               
                
                </ul>
                
                <div id="pic-page">
                <?php $o = 0; foreach($TUPIANJI as $kkz){?>
                
                <a data-slide-index="<?php echo $o;?>" href="<?php echo $kkz;?>"><img src="<?php echo $kkz;?>" alt="<?php echo $DATA['name'];?>" /></a>
                <?php $o++; } ?>
                
                
                </div>
                
              </div><!-- product_info -->
              
              <div class="col-sm-12 col-md-6 proinfo_box">
              
              <h1 class="product_h1"><?php echo $DATA['name'];?></h1>

              <?php if( $DATA['kuozan'] != ''){

              
                $KUOFORM = unserialize( $ZDATA['kuozanform'] );
                $BIAO = array();


                foreach($KUOFORM as $vv){
                    $BIAO[] = $vv['扩展标题'];
                }

                $KUOZAN  = unserialize( $DATA['kuozan'] );

              
                
            ?>
              
              <ul class="product_info">
                <?php foreach($KUOZAN as $k=>$ONG){ ?>
              
                  <li><?php echo $BIAO[$k];?> ：<?php echo $ONG;?></li>
                      <?php  } ?>
                  
              
              </ul>

              <?php  } ?>
              
              </div>
              <style>
              .product_con img{max-width:100%;}
              </style>
              
              <div class="product_con">

                   <?php echo $DATA['neirong']?>
              
              
              
              </div>
              
              
              
              <div class="point">


                    <?php $ddd = shangxia(  $DATA['id'] ,$DATA['cid']);
        
        
                  if( $ddd['shangyi']){?>
                    <span class="to_prev col-xs-12 col-sm-6 col-md-6"><?php echo $LANG['syyname'];?>:<a href="<?php echo $ddd['shangyi']['link'];?>" style="color:#009933;"><?php echo $ddd['shangyi']['name'];?></a></span>
                    <?php } if( $ddd['xiayi']){?>
                    <span class="to_prev col-xs-12 col-sm-6 col-md-6"><?php echo $LANG['xyyname'];?>:<a href="<?php echo $ddd['xiayi']['link'];?>"  style="color:red;"><?php echo $ddd['xiayi']['name'];?></a></span>
                    <?php }?>
                
                    
                 
                </div>
                
            </div>
              
              
            <div class="list_related">
              
                <h1 class="left_h1"><?php echo $LANG['xguancpin'];?></h1>
                 <div class="product_list related_list">


                 <?php $ONGLIST = neirlist(array('cid'=> xjcid( $DATA['cid'] ) ,'page'=> 1,'http'=>$HTTP['0'],'num'=>4 ,'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 style="height:150px;" src="<?php echo $ONG['tupian'];?>" class="opacity_img" alt="<?php echo $ONG['name'];?>"/></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>
</div>








<?php 
$DATA['cid'] = $ZDATA['cid'] > 0 ? $ZDATA['cid'] : $ZDATA['id'];


include QTPL.'right.php';?>

</div></div>

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