<script type="text/javascript" src="{$_config[siteurl]}include/javascript/picture.js"></script>
<script type="text/javascript">
var picture_list = new Array();
var current_pid = $current_pic[pid];
<!--{loop $pictures $picture}-->
picture_list['{$picture[flag]}'] = $picture[pid];
<!--{/loop}-->
</script>
<div id="body">
<div class="link_path">
    <em>
        <span class="update-img-ico"><a href="post.php?action=uploadpicture&amp;shopid=$shop[sid]">上传图片</a>
    </em>
    <a href="{$_config[siteurl]}">首页</a>&nbsp;&raquo;&nbsp;<a href="cate.php?cd=$pcd">$_classcodes[$pcd][classname]</a>&nbsp;&raquo;&nbsp;<a href="shop.php?shopid=$shop[sid]">$shop[shopname]</a>&nbsp;&raquo;&nbsp;图片中心
</div>
<div class="catelist">
    <div class="type">
        <div class="class">
            <!--{loop $arr_sort $key $val}-->
            <span{if $sort==$key} class="selected"{/if}><a href="shop_pic.php?shopid=$shopid&sort=$key" onclick="return checkpictures($total[$key]);">$val</a>($total[$key])</span>
            <!--{/loop}-->
        </div>
        <h3>图片类型:</h3>
    </div>
</div>
<div id="pic_left">
    <div class="mainrail rail-border-1">
        <ul class="rail-piclist">
            <!--{loop $pictures $picture}-->
            <li class="detail-picture-no" id="picture_$picture[pid]"><a href="javascript:show_picture($picture[pid]);" onfocus="this.blur();"><img src="{$_config[siteurl]}uploads/pictures/$picture[folder]/g_$picture[filename]" alt="$picture[title]" title="点击查看全图"></a></li>
            <!--{/loop}-->
        </ul>
    </div>
</div>
<div id="pic_right">
    {template dlg_shop_pic}
</div>
</div>