echo $_block_content;
        array_pop($this->_tag_stack);
        $_block_content = '';
        $this->_tag_stack[] = array('tpl_block_capture', array('name' => goodsName));
        tpl_block_capture(array('name' => goodsName), null, $this);
        ob_start();
        if ($this->_vars['setting']['showGoodsName'] == "on") {
            ?>
 <h6><a href="<?php 
            echo tpl_function_link(array('ctl' => "product", 'act' => "index", 'arg0' => $this->_vars['goods_data']['goods_id']), $this);
            ?>
" target="_blank" title="<?php 
            echo $this->_vars['goods_data']['name'];
            ?>
"><?php 
            echo tpl_modifier_cut($this->_vars['goods_data']['name'], $this->_vars['setting']['max_length']);
            ?>
</a></h6> <?php 
        }
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_content = tpl_block_capture($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this);
        echo $_block_content;
        array_pop($this->_tag_stack);
        $_block_content = '';
        $this->_tag_stack[] = array('tpl_block_capture', array('name' => goodsDesc));
        tpl_block_capture(array('name' => goodsDesc), null, $this);
        ob_start();
        if ($this->_vars['setting']['showGoodsDesc'] == "on") {
            ?>
 <ul> <?php 
    } elseif ($this->_vars['setting']['smallPic']) {
        ?>
 <img src="<?php 
        echo $this->_vars['setting']['smallPic'];
        ?>
" path="icons" /> <?php 
    }
    ?>
 <a href="<?php 
    echo tpl_function_link(array('ctl' => article, 'act' => index, 'arg0' => $this->_vars['data']['article_id']), $this);
    ?>
" title="<?php 
    echo $this->_vars['data']['title'];
    ?>
"><?php 
    echo tpl_modifier_cut($this->_vars['data']['title'], $this->_vars['setting']['max_length']);
    ?>
</a></li> <?php 
}
?>
 </ul> <?php 
if ($this->_vars['setting']['showMore'] == "on") {
    ?>
 <div class="more clearfix"><a href="<?php 
    echo tpl_function_link(array('ctl' => artlist, 'act' => index, 'arg0' => $this->_vars['setting']['id1']), $this);
    ?>
">更多...</a></div> <?php 
}
$_block_content = ob_get_contents();
ob_end_clean();
$_block_content = tpl_block_capture($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this);
            echo 4 - $this->_env_vars['foreach']['goods']['iteration'] % 4;
            ?>
">&nbsp;</td> </tr> <?php 
        }
    }
    unset($this->_env_vars['foreach'][goods]);
    ?>
 </table> </div> </div> </div> <?php 
}
if ($this->_vars['sellLog']['display']['switch'] && count($this->_vars['sellLogList']['data']) > 0 && $this->_vars['sellLog']['display']['limit'] <= count($this->_vars['sellLogList']['data'])) {
    ?>
 <div class="section pdtdetail" tab="销售记录"> <div class="commentTabLeft floatLeft"><strong>销售记录</strong></div> <div class="floatLeft commentTabRight"></div> <div style="clear:both;"></div> <div class="body"> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="liststyle"> <col class="span-5"> <col class="span-3"> <col > <col class="span-3"> <thead> <tr> <th>买家</th> <th>购买价</th> <th>购买数量</th> <th>购买时间</th> </tr> </thead> <tbody> <?php 
    foreach ((array) $this->_vars['sellLogList']['data'] as $this->_vars['key'] => $this->_vars['sellLogListData']) {
        ?>
 <tr> <td><?php 
        echo tpl_modifier_cut($this->_vars['sellLogListData']['name'], 3, '');
        ?>
***</td> <td><?php 
        echo $this->_vars['sellLogListData']['price'];
        ?>
</td> <td><?php 
        echo $this->_vars['sellLogListData']['number'];
        if ($this->_vars['sellLogListData']['pdt_desc']) {
            ?>
<span class="fontcolorGray">( <?php 
            echo $this->_vars['sellLogListData']['pdt_desc'];
            ?>
 )</span><?php 
        }
        ?>
</td> <td><?php 
        } else {
            ?>
 <li class="l<?php 
            echo $this->_vars['key'] + 1;
            ?>
 dotsep" style="color:default;0"><span><?php 
            echo $this->_vars['key'] + 1;
            ?>
</span>&nbsp;<a href="<?php 
            echo $this->_env_vars['base_url'], "product-{$this->_vars['data1']['goods_id']}", is_numeric($this->_vars['data1']['goods_id']) && 'index' == "index" || !"index" ? '' : '-' . "index", '.html';
            ?>
" target="_blank" title="<?php 
            echo $this->_vars['data1']['name'];
            ?>
" style="color:default;"> <?php 
            echo tpl_modifier_cut($this->_vars['data1']['name'], $this->bundle_vars['setting']['maxlength']);
            ?>
</a></li> <?php 
        }
    }
}
?>
 </ul> </div> <div class="more clearfix"><a href="<?php 
echo $this->_vars['data']['link'];
?>
">更多...</a></div> <?php 
$body = str_replace('%THEME%', '{ENV_theme_dir}', ob_get_contents());
ob_end_clean();
$this->_vars = array('body' => &$body, 'title' => '热卖排行', 'widgets_id' => '', 'widgets_classname' => '');
?>
<div class="siderCommonBorder <?php 
                echo isset($this->_vars['setting']['countSep']) && '' !== $this->_vars['setting']['countSep'] ? $this->_vars['setting']['countSep'] : ':';
                ?>
</em></div> <?php 
            }
            ?>
 </div> <?php 
            if ($this->_vars['setting']['showGoodsDesc'] == "on") {
                ?>
 <div class='desc' style='height:<?php 
                echo $this->_vars['setting']['gdesc_row_max_length'] * $this->_vars['setting']['gname_row_lh'];
                ?>
px;line-height:<?php 
                echo $this->_vars['setting']['gdesc_row_lh'];
                ?>
px;'><?php 
                echo tpl_modifier_cut($this->_vars['data']['brief'], $this->_vars['setting']['desc_max_length'] * 3);
                echo $this->_vars['product']['brief'];
                ?>
</div> <?php 
            }
            ?>
 </div> </td> <?php 
            if (!($this->_env_vars['foreach']['goodslist']['iteration'] % $this->_vars['setting']['column'])) {
                ?>
 </tr> <?php 
                if (!$this->_env_vars['foreach']['goodslist']['last']) {
                    ?>
 <tr valign="top"> <?php 
                }
            } elseif ($this->_env_vars['foreach']['goodslist']['last']) {
                ?>
        if ($this->_vars['setting']['showtime']) {
            ?>
<span class="cmt_time"><?php 
            echo tpl_modifier_userdate($this->_vars['item']['time']);
            ?>
</span><?php 
        }
        ?>
 <a target="_blank" href='<?php 
        echo "product-{$this->_vars['item']['goods_id']}", is_numeric($this->_vars['item']['goods_id']) && 'index' == "index" || !"index" ? '' : '-' . "index", '.html';
        ?>
' title="<?php 
        echo tpl_modifier_escape($this->_vars['item']['name'], html);
        ?>
"><?php 
        echo tpl_modifier_cut($this->_vars['item']['comment'], $this->_vars['setting']['content_length']);
        ?>
</a> </div> </div> </td> <?php 
        if (!($this->_env_vars['foreach']['name']['iteration'] % $this->_vars['setting']['limittd'])) {
            ?>
 </tr> <?php 
            if (!$this->_env_vars['foreach']['name']['last']) {
                ?>
<tr valign="top"><?php 
            }
        } elseif ($this->_env_vars['foreach']['name']['last']) {
            ?>
 <td colspan="<?php 
            echo $this->_vars['setting']['limittd'] - $this->_env_vars['foreach']['name']['iteration'] % $this->_vars['setting']['limittd'];
            ?>
">&nbsp;</td> </tr> <?php 
                } else {
                    ?>
<span style="color:red">缺失:<?php 
                    echo $this->_vars['widget']['name'];
                    ?>
</span> | <?php 
                }
            }
        }
        ?>
 </ul> --> </div> <h5 style="margin:0; height:20px; padding:0"><?php 
        echo tpl_modifier_cut($this->_vars['theme']['name'], 16);
        ?>
(<?php 
        echo tpl_modifier_cut($this->_vars['theme']['version'], 20);
        ?>
)</h5> <span style="color:#999; font-size:11px; font-weight:normal;"><a href="<?php 
        echo $this->_vars['theme']['site'];
        ?>
" target="_blank"><?php 
        echo tpl_modifier_cut($this->_vars['theme']['author'], 20);
        ?>
</a>| <?php 
        echo tpl_modifier_cdate($this->_vars['theme']['stime']);
        ?>
</span> </td> </tr> </table> </div> <?php 
    }
}
unset($this->_env_vars['foreach'][theme]);
?>
 </div> </div> </div> </div>