$this->_sections['loop']['last'] = $this->_sections['loop']['iteration'] == $this->_sections['loop']['total']; ?> <tr> <!--<td><input type="checkbox" name="checkbox" value="newsid[<?php echo $this->_tpl_vars['msgs'][$this->_sections['loop']['index']]['msgid']; ?> ]" /></td>--> <td><?php echo $i++; ?> </td> <td><a href="/index.php/Admin/Msgshow/id/<?php echo $this->_tpl_vars['msgs'][$this->_sections['loop']['index']]['msgid']; ?> "><?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['msgs'][$this->_sections['loop']['index']]['title']) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)) ? $this->_run_mod_handler('cntruncate', true, $_tmp, 10, "...", true) : smarty_modifier_cntruncate($_tmp, 10, "...", true); ?> </a></td> <td><?php echo $this->_tpl_vars['msgs'][$this->_sections['loop']['index']]['created']; ?> </td> <td><?php echo $this->_tpl_vars['msgs'][$this->_sections['loop']['index']]['user']; ?> </td> <td><?php echo $this->_tpl_vars['msgs'][$this->_sections['loop']['index']]['email']; ?> </td> <td><?php
echo GOODS_DIR; ?> /<?php echo $this->_tpl_vars['goods'][$this->_sections['loop']['index']]['image']; ?> " alt="<?php echo $this->_tpl_vars['goods'][$this->_sections['loop']['index']]['name']; ?> " /></dd> <dd class="products_dd"> <h2 style="text-indent:20px; font-size:18px;"><?php echo $this->_tpl_vars['goods'][$this->_sections['loop']['index']]['name']; ?> </h2> <p><?php echo is_array($_tmp = is_array($_tmp = $this->_tpl_vars['goods'][$this->_sections['loop']['index']]['detail']) ? $this->_run_mod_handler('truncate', true, $_tmp, 300) : smarty_modifier_truncate($_tmp, 300)) ? $this->_run_mod_handler('cntruncate', true, $_tmp, 300, "...", true) : smarty_modifier_cntruncate($_tmp, 300, "...", true); ?> </p> <a href="/index.php/Products/Desc/id/<?php echo $this->_tpl_vars['goods'][$this->_sections['loop']['index']]['goodsid']; ?> ">详细信息</a> </dd> <!-- <dt style="clear:both;margin:20px 20px; border-bottom: 1px #E9E9E9 solid;"></dt> --> <?php } } ?> </dl> </div> </div>