<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$_G[charset]" />
<script type="text/javascript" src="{URLROOT}/data/cachefiles/config.js"></script>
<script type="text/javascript" src="{URLROOT}/static/javascript/jquery.js"></script>
<script type="text/javascript" src="{URLROOT}/static/javascript/common.js"></script>
<link rel="stylesheet" type="text/css" href="{URLROOT}/{$_G[tplurl]}css_common.css" />
<link rel="stylesheet" type="text/css" href="{URLROOT}/static/images/mdialog.css" />
</head>
<body>
<style type="text/css">@import url("{URLROOT}/{$_G[tplurl]}css_assistant.css");</style>
<script type="text/javascript" src="{URLROOT}/static/javascript/mdialog.js"></script>
<script type="text/javascript" src="{URLROOT}/static/javascript/member.js"></script>
<style type="text/css">
body,.mainrail{padding:0;margin:0;}
label{display:block;}
.maintable td.des{ color:#808080; padding-top:24px; }
.mainrail td img { max-width:270px; max-height:80px; _width:expression(this.width > 270 ? 270 : true); _height:expression(this.height > 80 ? 80 : true); }
</style>
<div class="mainrail">
    <form method="post" name="myform" action="{url item/member/ac/$ac/op/bcastr_save/in_iframe/1/rand/$_G[random]}" enctype="multipart/form-data">
        <div style="height:320px;overflow-x:auto;">
            <table width="100%" cellspacing="0" cellpadding="0" class="maintable">
                <tr>
                    <td width="*">
                        <label for="title">标题：</label>
                        <input type="text" name="title" id="title" value="$detail[title]" class="t_input" size="40">
                    </td>
                    <td width="260" class="des">填写橱窗图片标题</td>
                </tr>
                <tr>
                    <td>
                        <label for="url">链接：</label>
                        <input type="text" name="url" id="url" value="{if $detail[url]}$detail[url]{else}http://{/if}" class="t_input" size="40">
                    </td>
                    <td class="des">填写图片点击后的网页链接；开头必须加http://</td>
                </tr>
                <tr>
                    <td>
                        <label for="picture">图片：</label>
                        <input type="file" name="picture" id="picture">
                        <!--{if $detail[picture]}-->
                        <div><img src="{URLROOT}/$detail[picture]" /></div>
                        <!--{/if}-->
                    </td>
                    <td class="des">本地选择图片上传为橱窗图片；<br />图片规定尺寸：{$bcastr_width}px（宽） × {$bcastr_height}px（高）</td>
                </tr>
            </table>
        </div>
        <div class="text_center">
            <input type="hidden" name="sid" value="$sid" />
            {if $flag}<input type="hidden" name="flag" value="$flag" />{/if}
            <button type="submit" name="dosubmit" value="yes">提交</button>&nbsp;
            <button type="button" onclick="history.go(-1);">返回</button>
        </div>
    </form>
</div>
</body>
</html>