<extend name="Public/base"/>

<block name="body">

    
    <div class="cf main-place top_nav_list navtab_list">
        <ul class="tabnav1711 fr jstabnav">
            <li data-tab="tab1" class="current"><a href="javascript:void(0);" >----云短信</a></li>
            <li data-tab="tab2"><a href="javascript:void(0);" >阿里大鱼(老)</a></li>
            <li data-tab="tab3"><a href="javascript:void(0);" >极光</a></li>
            <li data-tab="tab4"><a href="javascript:void(0);" >阿里大鱼(新)</a></li>
            <li data-tab="tab5"><a href="javascript:void(0);" >中网</a></li>
        </ul>
        <h3 class="page_title">{$meta_title}</h3>
        <p class="description_text">用于配置短信通知功能相关参数的功能</p>
    </div>
    
    <div class="tab-wrap">
    
      <div class="infomation information1711">
        <div class="informationitem tab-pane tab1 in">
          <p>----短信为----科技提供的短信通知功能,联系售后即可获取参数,无需第三方申请,高效便捷。</p>
          <p>短信管理地址:<a href="http://www.vlpush.com/price.html" target="_blank">http://www.vlpush.com/price.html/</a></p>
        </div>
        <div class="informationitem tab-pane tab2">
          <p>注意:此处为阿里大鱼云短信更新前的老版本参数配置方式,仅仅阿里大鱼老版本客户;新客户请在阿里大鱼(新)页面配置。</p>
        </div>
        <div class="informationitem tab-pane tab3"></div>
        <div class="informationitem tab-pane tab4">
          <p>阿里大鱼云短信,为----软件提供的第三方云短信供应方,用户可自行前往申请注册,并获取相关参数进行配置。</p>
          <p>阿里大于(新)申请地址:<a href="https://www.aliyun.com/product/sms?spm=5176.8142029.388261.372.itPPfu" target="_blank">https://www.aliyun.com/product/sms?spm=5176.8142029.388261.372.itPPfu</a></p>
        </div>
      </div>
    

        <div class="tab-content tabcon1711 tabcon17112">
            <div id="tab1" class="tab-pane in tab1">
            <form action="{:U('saveTool')}" method="post" class="form-horizontal smtp form_info_ml">
                <table border="0" cellspacing="0" cellpadding="0">
                  <tbody>
                    <tr>
                        <td class="l noticeinfo">用户标识</td>
                        <td class="r table_radio">
                            <input name="config[smtp]" type="text" value="{$sms_set['smtp']}" class="">
                            <span class="notice-text">用户标识</span>
                        </td>
                    </tr><tr>
                        <td class="l noticeinfo">应用标识</td>
                        <td class="r table_radio">
                            <input name="config[smtp_account]" type="text" value="{$sms_set['smtp_account']}" class="">
                            <span class="notice-text">应用标识</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="l noticeinfo">模版ID</td>
                        <td class="r table_radio">
                            <input name="config[smtp_password]" type="text" value="{$sms_set['smtp_password']}" class="">
                            <span class="notice-text">模版ID</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="l noticeinfo">每日IP发送数量</td>
                        <td class="r table_radio">
                           <input name="config[limit]" type="text" value="{$sms_set['limit']}" class="">
                                 <span class="notice-text">0或空则不限制</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="l noticeinfo">启用状态</td>
                        <td class="r table_radio">
                            <span class="form_radio">
                            <label>
                                <input type="radio" name="status" value="0" <eq name="sms_set_data['status']" value="0">checked="checked"</eq>> 禁用
                            </label>
                            <label>
                                <input type="radio" name="status" value="1" <eq name="sms_set_data['status']" value="1">checked="checked"</eq>> 启用
                            </label>
                            </span>
                            <span class="notice-text">短信设置启用状态</span>
                        </td>
                    </tr>
                    
                  </tbody>
                </table>
        
                <input type="hidden" name="name" value="sms_set">
                <input type="submit" value="保存" target-form="smtp" class="submit_btn form_btn ajax-post mlspacing">
            </form>
            </div>
        </div>
        <div class="tab-content tabcon1711 tabcon17112">
            <div id="tab2" class="tab-pane tab2">
            <form action="{:U('saveTool')}" method="post" class="form-horizontal alidayu form_info_ml">
                <table border="0" cellspacing="0" cellpadding="0">
          <tbody>
            <tr>
                <td class="l noticeinfo">appkey</td>
                <td class="r table_radio">
                    <input name="config[appkey]" type="text" value="{$alidayu['appkey']}" class="">
                    <span class="notice-text">用户appkey</span>
                </td>
            </tr><tr>
                <td class="l noticeinfo">secretKey</td>
                <td class="r table_radio">
                    <input name="config[secretKey]" type="text" value="{$alidayu['secretKey']}" class="">
                         <span class="notice-text">用户secretKey</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">模板ID</td>
                <td class="r table_radio">
                    <input name="config[template_id]" type="text" value="{$alidayu['template_id']}" class="">
                        <span class="notice-text">模板ID</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">短信签名</td>
                <td class="r table_radio">
                    <input name="config[sign]" type="text" value="{$alidayu['sign']}" class="">
                        <span class="notice-text" style="line-height:1.2"><table border="0" cellspacing="0" cellpadding="0"><tr><td>传入的短信签名必须是在阿里大于“管理中心-短信签名管理”中的可用签名。如“阿里大于”已在短信签名管理中通过审核,则可传入”阿里大于“(传参时去掉引号)作为短信签名。短信效果示例:【阿里大于】欢迎使用阿里大于服务。</td></tr></table></span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">每日IP发送数量</td>
                <td class="r table_radio">
                    <input name="config[limit]" type="text" value="{$alidayu['limit']}" class="">
                        
                    <span class="notice-text">0或空则不限制</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">启用状态</td>
                <td class="r table_radio">
                    <span class="form_radio">
                    <label>
                        <input type="radio" name="status" value="0" <eq name="alidayu_data['status']" value="0">checked="checked"</eq>> 禁用
                    </label>
                    <label>
                        <input type="radio" name="status" value="1" <eq name="alidayu_data['status']" value="1">checked="checked"</eq>> 启用
                    </label>
                    </span>
                    <span class="notice-text">短信设置启用状态</span>
                </td>
            </tr>
            
          </tbody>
        </table>
<input type="hidden" name="name" value="alidayu">
                        <input type="submit"  value="保存" target-form="alidayu" class="submit_btn form_btn ajax-post mlspacing">

            </form>
            </div>
        </div>
        <div class="tab-content tabcon1711 tabcon17112">
            <div id="tab3" class="tab-pane tab3">
                <form action="{:U('saveTool')}" method="post" class="form-horizontal jiguang form_info_ml">
                    <table border="0" cellspacing="0" cellpadding="0">
          <tbody>
            <tr>
                <td class="l noticeinfo">appkey</td>
                <td class="r table_radio">
                    <input name="config[appkey]" type="text" value="{$jiguang['appkey']}" class="">
                            <span class="notice-text">用户appkey</span>
                </td>
            </tr><tr>
                <td class="l noticeinfo">secretKey</td>
                <td class="r table_radio">
                    <input name="config[secretKey]" type="text" value="{$jiguang['secretKey']}" class="">
                            <span class="notice-text">secretKey</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">通知模板标识</td>
                <td class="r table_radio">
                    <input name="config[temp]" type="text" value="{$jiguang['temp']}" class="">
                            <span class="notice-text">短信文本格式模板编号</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">每日IP发送数量</td>
                <td class="r table_radio">
                    <input name="config[limit]" type="text" value="{$jiguang['limit']}" class="">
                        <span class="notice-text">0或空则不限制</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">启用状态</td>
                <td class="r table_radio">
                    
                    <span class="notice-text">启用状态</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">合作身份者id</td>
                <td class="r table_radio">
                    <span class="form_radio">
                    <label>
                        <input type="radio" name="status" value="0" <eq name="jiguang_data['status']" value="0">checked="checked"</eq>> 禁用
                    </label>
                    <label>
                        <input type="radio" name="status" value="1" <eq name="jiguang_data['status']" value="1">checked="checked"</eq>> 启用
                    </label>
                    </span>
                    <span class="notice-text"></span>
                </td>
            </tr>
            
          </tbody>
        </table>
       <input type="hidden" name="name" value="jiguang">
                            <input type="submit"  value="保存" target-form="jiguang" class="submit_btn form_btn ajax-post mlspacing">
           
                </form>
            </div>
        </div>
        <div class="tab-content tabcon1711 tabcon17112">
            <div id="tab4" class="tab-pane tab4">
            <form action="{:U('saveTool')}" method="post" class="form-horizontal alidayunew form_info_ml">
                <table border="0" cellspacing="0" cellpadding="0">
          <tbody>
            <tr>
                <td class="l noticeinfo">appkey</td>
                <td class="r table_radio">
                    <input name="config[appkey]" type="text" value="{$alidayunew['appkey']}" class="">
                        <span class="notice-text">用户appkey</span>
                </td>
            </tr><tr>
                <td class="l noticeinfo">secretKey</td>
                <td class="r table_radio">
                    <input name="config[secretKey]" type="text" value="{$alidayunew['secretKey']}" class="">
                        <span class="notice-text">secretKey</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">短信API产品名</td>
                <td class="r table_radio">
                    <input name="config[product]" type="text" value="{$alidayunew['product']}" class="">
                        <span class="notice-text">短信API产品名默认填 Dysmsapi</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">短信API产品域名</td>
                <td class="r table_radio">
                     <input name="config[domain]" type="text" value="{$alidayunew['domain']}" class="">
                        <span class="notice-text">短信API产品域名默认填 dysmsapi.aliyuncs.com</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">Region</td>
                <td class="r table_radio">
                    <input name="config[region]" type="text" value="{$alidayunew['region']}" class="">
                        <span class="notice-text">暂时不支持多Region默认填 cn-hangzhou </span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">模板ID</td>
                <td class="r table_radio">
                    <input name="config[template_id]" type="text" value="{$alidayunew['template_id']}" class="">
                        <span class="notice-text">模板ID</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">短信签名</td>
                <td class="r table_radio">
                    <input name="config[sign]" type="text" value="{$alidayunew['sign']}" class="">
                        <span class="notice-text" style="line-height:1.2"><table border="0" cellspacing="0" cellpadding="0"><tr><td>传入的短信签名必须是在阿里云“控制台-云计算基础服务->短信服务”中的可用签名。如“阿里大于”已在短信签名管理中通过审核,则可传入”阿里大于“(传参时去掉引号)作为短信签名。短信效果示例:【阿里大于】验证码为xxxx。</td></tr></table></span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">每日IP发送数量</td>
                <td class="r table_radio">
                    <input name="config[limit]" type="text" value="{$alidayunew['limit']}" class="">
                        <span class="notice-text">0或空则不限制</span>
                </td>
            </tr>
            <tr>
                <td class="l noticeinfo">启用状态</td>
                <td class="r table_radio">
                    <span class="form_radio">
                    <label>
                        <input type="radio" name="status" value="0" <eq name="alidayunew_data['status']" value="0">checked="checked"</eq>> 禁用
                    </label>
                    <label>
                        <input type="radio" name="status" value="1" <eq name="alidayunew_data['status']" value="1">checked="checked"</eq>> 启用
                    </label>
                    </span>
                    <span class="notice-text">短信设置启用状态</span>
                </td>
            </tr>
            
          </tbody>
        </table>
                
<input type="hidden" name="name" value="alidayunew">
                        <input type="submit"  value="保存" target-form="alidayunew" class="submit_btn form_btn ajax-post mlspacing">
 
            </form>
            </div>
        </div>
    </div>
    <div class="tab-content tabcon1711 tabcon17112">
            <div id="tab5" class="tab-pane tab5">
            <form action="{:U('saveTool')}" method="post" class="form-horizontal zhongwang form_info_ml">
                <table border="0" cellspacing="0" cellpadding="0">
                  <tbody>
                    <tr>
                        <td class="l noticeinfo">账号</td>
                        <td class="r table_radio">
                            <input name="config[smtp_account]" type="text" value="{$zhongwang['smtp_account']}" class="">
                            <span class="notice-text">账号</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="l noticeinfo">密码</td>
                        <td class="r table_radio">
                            <input name="config[smtp_password]" type="text" value="{$zhongwang['smtp_password']}" class="">
                            <span class="notice-text">密码</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="l noticeinfo">每日IP发送数量</td>
                        <td class="r table_radio">
                           <input name="config[limit]" type="text" value="{$zhongwang['limit']}" class="">
                                 <span class="notice-text">0或空则不限制</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="l noticeinfo">启用状态</td>
                        <td class="r table_radio">
                            <span class="form_radio">
                            <label>
                                <input type="radio" name="status" value="0" <eq name="zhongwang_data['status']" value="0">checked="checked"</eq>> 禁用
                            </label>
                            <label>
                                <input type="radio" name="status" value="1" <eq name="zhongwang_data['status']" value="1">checked="checked"</eq>> 启用
                            </label>
                            </span>
                            <span class="notice-text">短信设置启用状态</span>
                        </td>
                    </tr>
                    
                  </tbody>
                </table>
        
                <input type="hidden" name="name" value="zhongwang">
                <input type="submit" value="保存" target-form="zhongwang" class="submit_btn form_btn ajax-post mlspacing">
            </form>
            </div>
        </div>
        
        
        <div class="common_settings">
            <span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
            <form class="addShortcutIcon">
                <input type="hidden" name="title" value="{$m_title}">
                <input type="hidden" name="url" value="{$m_url}">
            </form>
            <a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
        </div>
        
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Tool/smsset')}');
        $(function(){
            //支持tab
            showTab();
        })
    </script>
</block>