<!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=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title>admin</title>
    <link href="{THEME_PATH}admin/css/index.css" rel="stylesheet" type="text/css" />
    <link href="{THEME_PATH}admin/css/table_form.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">var siteurl = "{SITE_PATH}{SELF}";var memberpath = "{MEMBER_PATH}";</script>
    <script type="text/javascript" src="{THEME_PATH}js/{SITE_LANGUAGE}.js"></script>
    <script type="text/javascript" src="{THEME_PATH}js/jquery.min.js"></script>
    <script type="text/javascript" src="{THEME_PATH}js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="{THEME_PATH}js/jquery.cookie.js"></script>
    <script type="text/javascript" src="{THEME_PATH}js/jquery.artDialog.js?skin=default"></script>
    <script type="text/javascript" src="{THEME_PATH}js/validate.js"></script>
    <script type="text/javascript" src="{THEME_PATH}js/admin.js"></script>
    <script type="text/javascript" src="{THEME_PATH}js/dayrui.js"></script>
</head>
<body style="max-height:450px;width:400px;overflow-x:hidden;overflow-y:auto;;font-size: 12px;">
<script type="text/javascript">
    $(function() {
        {if $ci->get_cache('module-'.SITE_ID.'-'.APP_DIR, 'setting', 'syncat')}
        dr_tab(0);
        {else}
        dr_tab(1);
        {/if}
    });
    function dr_tab(p) {
        $(".dr_hide").hide();
        $("#myform2 .tabBut").children("li").removeClass("on");
        $("#tt"+p).attr("class", "on");
        $("#myform2 .dr_hide").hide();
        $("#cnt_"+p).show();
        $("#myform2 #page").val(p);
        $("#dr_tab").val(p);
    }

</script>
<input name="dr_tab" id="dr_tab" type="hidden" value="0" />
<form method="post" action="" name="myform2" id="myform2">
    <div class="subnav">
        <div class="table-list col-tab">
            <ul class="tabBut cu-li">
				{if $ci->get_cache('module-'.SITE_ID.'-'.APP_DIR, 'setting', 'syncat')}
                <li onclick="dr_tab(0)" id="tt0">{fc_lang('推送到其他栏目')}</li>
                {/if}
                <li onclick="dr_tab(1)" id="tt1">{fc_lang('推送到推荐位')}</li>
                <li onclick="dr_tab(2)" id="tt2">{fc_lang('推送到微信会员')}</li>
            </ul>
            <div class="contentList pad-10">
				{if $ci->get_cache('module-'.SITE_ID.'-'.APP_DIR, 'setting', 'syncat')}
                <div id="cnt_0" style="display:none;text-align:center" class="dr_hide">
                    {$select}
                </div>
                {/if}
                <div id="cnt_1" style="display:none" class="dr_hide">
                    {loop $flag $i $t}
                    {if $t.name}
                    <p style="line-height:25px">
                        <input name="dr_flag" type="checkbox" value="{$i}" />&nbsp;<label>{$t.name}</label>
                    </p>
                    {/if}
                    {/loop}
                </div>
                <div id="cnt_2" style="display:none; padding:20px;" class="dr_hide">
                    <p style="line-height:25px">
                    <input name="weixin" type="radio" value="0" checked="">&nbsp;<label>客服群发 (在48小时内给用户回复信息的客户才能收到)</label>
                    </p>
                </div>

            </div>
        </div>
    </div>
</form>