<?php /* Smarty version 2.6.18, created on 2008-04-18 22:40:27
         compiled from chanpin.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'stripslashes', 'chanpin.html', 18, false),array('modifier', 'urlencode', 'chanpin.html', 36, false),)), $this); ?>

<!--以下为中间主要布局部分:center -->
<div id="center">
  <div id="centerby">
   <div class="tl">
   <div class="tr">
      <!-- 企业新闻分类布局部分 -->
      <div id="pei">
		<div class="tll">
		<div class="bll">
		<div class="trr">
		<div class="brr">
				<?php if ($this->_tpl_vars['cp_class']): ?>
			<?php unset($this->_sections['row']);
$this->_sections['row']['name'] = 'row';
$this->_sections['row']['loop'] = is_array($_loop=$this->_tpl_vars['cp_class']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['row']['show'] = true;
$this->_sections['row']['max'] = $this->_sections['row']['loop'];
$this->_sections['row']['step'] = 1;
$this->_sections['row']['start'] = $this->_sections['row']['step'] > 0 ? 0 : $this->_sections['row']['loop']-1;
if ($this->_sections['row']['show']) {
    $this->_sections['row']['total'] = $this->_sections['row']['loop'];
    if ($this->_sections['row']['total'] == 0)
        $this->_sections['row']['show'] = false;
} else
    $this->_sections['row']['total'] = 0;
if ($this->_sections['row']['show']):

            for ($this->_sections['row']['index'] = $this->_sections['row']['start'], $this->_sections['row']['iteration'] = 1;
                 $this->_sections['row']['iteration'] <= $this->_sections['row']['total'];
                 $this->_sections['row']['index'] += $this->_sections['row']['step'], $this->_sections['row']['iteration']++):
$this->_sections['row']['rownum'] = $this->_sections['row']['iteration'];
$this->_sections['row']['index_prev'] = $this->_sections['row']['index'] - $this->_sections['row']['step'];
$this->_sections['row']['index_next'] = $this->_sections['row']['index'] + $this->_sections['row']['step'];
$this->_sections['row']['first']      = ($this->_sections['row']['iteration'] == 1);
$this->_sections['row']['last']       = ($this->_sections['row']['iteration'] == $this->_sections['row']['total']);
?>
			<div id="nep">
            	<li><a href="cp_class.php?cp_cid=<?php echo $this->_tpl_vars['cp_class'][$this->_sections['row']['index']]['cp_c_id']; ?>
">
            	<?php echo ((is_array($_tmp=$this->_tpl_vars['cp_class'][$this->_sections['row']['index']]['cp_c_name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</a></li>
			</div>
			<?php endfor; endif; ?>
		<?php else: ?>
		没有产品分类...
		<?php endif; ?>
		</div>
		</div>
		</div>
		</div>
	  </div><!-- pei -->
	  <div id="right">
	  	<div id="inpe">
		<?php if ($this->_tpl_vars['allcp']): ?>  	  		<?php unset($this->_sections['row']);
$this->_sections['row']['name'] = 'row';
$this->_sections['row']['loop'] = is_array($_loop=$this->_tpl_vars['allcp']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['row']['show'] = true;
$this->_sections['row']['max'] = $this->_sections['row']['loop'];
$this->_sections['row']['step'] = 1;
$this->_sections['row']['start'] = $this->_sections['row']['step'] > 0 ? 0 : $this->_sections['row']['loop']-1;
if ($this->_sections['row']['show']) {
    $this->_sections['row']['total'] = $this->_sections['row']['loop'];
    if ($this->_sections['row']['total'] == 0)
        $this->_sections['row']['show'] = false;
} else
    $this->_sections['row']['total'] = 0;
if ($this->_sections['row']['show']):

            for ($this->_sections['row']['index'] = $this->_sections['row']['start'], $this->_sections['row']['iteration'] = 1;
                 $this->_sections['row']['iteration'] <= $this->_sections['row']['total'];
                 $this->_sections['row']['index'] += $this->_sections['row']['step'], $this->_sections['row']['iteration']++):
$this->_sections['row']['rownum'] = $this->_sections['row']['iteration'];
$this->_sections['row']['index_prev'] = $this->_sections['row']['index'] - $this->_sections['row']['step'];
$this->_sections['row']['index_next'] = $this->_sections['row']['index'] + $this->_sections['row']['step'];
$this->_sections['row']['first']      = ($this->_sections['row']['iteration'] == 1);
$this->_sections['row']['last']       = ($this->_sections['row']['iteration'] == $this->_sections['row']['total']);
?>
				<div class="right_a">
				<div class="right_b">
	  			<a href="cp.php?cp_id=<?php echo $this->_tpl_vars['allcp'][$this->_sections['row']['index']]['cp_id']; ?>
">
	  			<img src="image.php?image=<?php echo ((is_array($_tmp=$this->_tpl_vars['allcp'][$this->_sections['row']['index']]['cp_img'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>

	  			&max_width=200&max_height=200" border="0" align="right"/>
	  			</a>
				</div> <!-- right_b -->
				<div class="right_c">
				<li>产品名称：<?php echo ((is_array($_tmp=$this->_tpl_vars['allcp'][$this->_sections['row']['index']]['cp_name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</li>
				<li>产品型号：<?php echo ((is_array($_tmp=$this->_tpl_vars['allcp'][$this->_sections['row']['index']]['cp_xh'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</li>
				</div> <!-- right_c -->
				</div> <!-- right_a -->
	  		<?php endfor; endif; ?>
		<?php else: ?>				<?php unset($this->_sections['row']);
$this->_sections['row']['name'] = 'row';
$this->_sections['row']['loop'] = is_array($_loop=$this->_tpl_vars['cp_class_cp']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['row']['show'] = true;
$this->_sections['row']['max'] = $this->_sections['row']['loop'];
$this->_sections['row']['step'] = 1;
$this->_sections['row']['start'] = $this->_sections['row']['step'] > 0 ? 0 : $this->_sections['row']['loop']-1;
if ($this->_sections['row']['show']) {
    $this->_sections['row']['total'] = $this->_sections['row']['loop'];
    if ($this->_sections['row']['total'] == 0)
        $this->_sections['row']['show'] = false;
} else
    $this->_sections['row']['total'] = 0;
if ($this->_sections['row']['show']):

            for ($this->_sections['row']['index'] = $this->_sections['row']['start'], $this->_sections['row']['iteration'] = 1;
                 $this->_sections['row']['iteration'] <= $this->_sections['row']['total'];
                 $this->_sections['row']['index'] += $this->_sections['row']['step'], $this->_sections['row']['iteration']++):
$this->_sections['row']['rownum'] = $this->_sections['row']['iteration'];
$this->_sections['row']['index_prev'] = $this->_sections['row']['index'] - $this->_sections['row']['step'];
$this->_sections['row']['index_next'] = $this->_sections['row']['index'] + $this->_sections['row']['step'];
$this->_sections['row']['first']      = ($this->_sections['row']['iteration'] == 1);
$this->_sections['row']['last']       = ($this->_sections['row']['iteration'] == $this->_sections['row']['total']);
?>
				<div class="right_a">
				<div class="right_b">
	  			<a href="cp.php?cp_id=<?php echo $this->_tpl_vars['cp_class_cp'][$this->_sections['row']['index']]['cp_id']; ?>
">
	  			<img src="image.php?image=<?php echo ((is_array($_tmp=$this->_tpl_vars['cp_class_cp'][$this->_sections['row']['index']]['cp_img'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>

	  			&max_width=200&max_height=200" border="0" align="right"/>
	  			</a>
				</div>
				</div>
	  		<?php endfor; endif; ?>
		<?php endif; ?>
		<?php if ($this->_tpl_vars['cp']): ?>  			<div id="inpey">产 品 展 示</div>
			<div id="cpok">
			<span>产品名称：<?php echo $this->_tpl_vars['cp']['cp_name']; ?>
</span><br /><br />
			<img src="image.php?image=<?php echo ((is_array($_tmp=$this->_tpl_vars['cp']['cp_img'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>

	  			&max_width=400&max_height=400" border="0" align="right"/>
			</div>
			<div class="xs">产品型号：<?php echo $this->_tpl_vars['cp']['cp_xh']; ?>
</div>
			<div class="xs">产品说明：<?php echo $this->_tpl_vars['cp']['cp_sm']; ?>
</div>
		<?php else: ?>
		<?php echo $this->_tpl_vars['nocp']; ?>

		<?php endif; ?>
		</div> <!-- inpe -->
	  </div><!-- right -->
	  <div id="l_cp"></div>
	</div> <!-- tr -->
	</div> <!-- tl -->
  </div> <!-- centerby -->
</div> <!-- center -->
