<?php foreach ($list as $key => $v) { ?>
<div class="row" style="margin-bottom:15px;">
   
  <p>
    <h4 class="col-xs-24 result-title"><?php if(!empty($v->name)) {echo $v->name;}else{echo $v->VEI2_CompanyBN;} ?></h4>
  </p> 

  <p class="col-xs-24">
    <span class="label label-info"><?php echo $v->VType;?></span>
    <span class="label label-info"><?php if($v->Receiver=='Yes') echo '计划接收人';?></span>
    <span class="label label-info"><?php if($v->DefaultContactor=='Yes') echo '缺省接收人';?></span>
  </p>
  
  <p class="col-xs-24">
    公司：<?php echo $v->VEI2_CompanyBN;?><?php if($v->department!='') echo '[ '.$v->department.' ]';?>
  </p>
  
  <p class="col-xs-24">
    联系方式：<?php if(!empty($v->mobile)) echo '手机-'.$v->mobile.' , ';?><?php if(!empty($v->telephone))echo '工作电话：'.$v->telephone.' , ';?><?php if(!empty($v->fax)) echo '工作传真：'.$v->fax;?>
  </p>

</div>
<?php } ?>