<?php widget("head");include($path_cache.DS."mod_b2b_Shared_head.php"); ?>
	<div class="newsmain">
		<div class="url">
		<div class="urlbar"><span><img src="<?php echo $vd['content']; ?>images/cczwztop.gif" /></span></div>
		<div class="tableout">
			<?php $n=1;foreach($vd['items'] as $item) { ?>
			<br/>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="restable">
        <tr>
          <td align="left" colspan="6" class="cshearder">
          	<?php echo $item['boardname']; ?>
          </td>
        </tr> 
        <?php $i=0;$k=0;foreach($vd[$item['vdname']] as $a) { ?>
        <?php if($i == 0){ ?>
        <tr>
        <?php }$i++; ?>
          <td width="16%" align="center" height="30" >
            <a href="<?php if($a['titlelink'] != ''){ ?><?php echo $a['titlelink']; ?>" target="_blank"<?php }else{ ?><?php echo $vd['root']; ?>article/<?php echo $a['id']; ?>.html" target="_blank"<?php } ?> title="<?php echo $a['title']; ?>"> <font color="<?php echo $a['titlecolor']; ?>"><?php echo $a['title']; ?></font></a>
          </td>
        <?php if($i == 6){ ?>
        </tr>
        <?php $i=0;$k++;} ?>
        <?php } ?>
        
        <?php if($i > 0){ ?>
        <?php for($j=0; $j < 6 - $i; $j++){ ?>
        <td width="16%">&nbsp;</td>
        <?php } ?>
        </tr>
        <?php } ?>
      </table>
      <?php $n++;} ?>
      <br/>
		</div>
	</div>
</div>
<?php widget("foot");include($path_cache.DS."mod_b2b_Shared_foot.php"); ?>