123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?php /* Smarty version Smarty-3.1.11, created on 2020-05-30 08:24:19
- compiled from "/www/wwwroot/edm.alipearl.net/application/module/view/send_email2_admin/index.html" */ ?>
- <?php /*%%SmartyHeaderCode:3284238645948e0d5423ba5-96575574%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
- $_valid = $_smarty_tpl->decodeProperties(array (
- 'file_dependency' =>
- array (
- 'ee2fdb838a2476da77b31dedfd02cb00be52a67f' =>
- array (
- 0 => '/www/wwwroot/edm.alipearl.net/application/module/view/send_email2_admin/index.html',
- 1 => 1590798256,
- 2 => 'file',
- ),
- ),
- 'nocache_hash' => '3284238645948e0d5423ba5-96575574',
- 'function' =>
- array (
- ),
- 'version' => 'Smarty-3.1.11',
- 'unifunc' => 'content_5948e0d5479159_15061882',
- 'variables' =>
- array (
- 'email_counts' => 0,
- 'info' => 0,
- 'group_list' => 0,
- 'item' => 0,
- 'template_list' => 0,
- ),
- 'has_nocache_code' => false,
- ),false); /*/%%SmartyHeaderCode%%*/?>
- <?php if ($_valid && !is_callable('content_5948e0d5479159_15061882')) {function content_5948e0d5479159_15061882($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('../public/admin_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
- <?php echo $_smarty_tpl->getSubTemplate ('../public/admin_navi.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
- <!-- Right side column. Contains the navbar and content of the page -->
- <aside class="right-side">
- <!-- Content Header (Page header) -->
- <section class="content-header">
- <h1>
- 邮件发送-模板发送
- <!--<small>待发送邮件 <span style="color:red;"><?php echo $_smarty_tpl->tpl_vars['email_counts']->value;?>
- </span> 封</small>-->
- </h1>
- <ol class="breadcrumb">
- <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
- <li class="active">Blank page</li>
- </ol>
- </section>
- <!-- Main content -->
- <section class="content">
- <div class="span9">
- <?php if ($_smarty_tpl->tpl_vars['info']->value){?>
- <div class="alert alert-success nodisplay"><?php echo $_smarty_tpl->tpl_vars['info']->value;?>
- </div>
- <?php }?>
- <div id='main' class="form-actions">
- <form method="post" action="" id="form1">
- <table class="table table-bordered" style="margin-top:15px;">
- <tr>
- <td>收件人</td>
- <td>
- <select name="group_name" id="group_name">
- <option value="0">请选择</option>
- <option value="all">所有客户</option>
- <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['group_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
- foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
- $_smarty_tpl->tpl_vars['item']->_loop = true;
- ?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
- "><?php echo $_smarty_tpl->tpl_vars['item']->value['name'];?>
- </option>
- <?php } ?>
- </select>
- </td>
- </tr>
- <tr>
- <td>请选择邮件模板</td>
- <td>
- <select name="template_id" id="template_id">
- <option value="0">请选择</option>
- <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
- $_from = $_smarty_tpl->tpl_vars['template_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
- foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
- $_smarty_tpl->tpl_vars['item']->_loop = true;
- ?>
- <option value="<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
- "><?php echo $_smarty_tpl->tpl_vars['item']->value['msg_title'];?>
- </option>
- <?php } ?>
- </select>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td >
- <input type="button" onclick="to_submit();" value="提交" class="btn btn-info" style="width:120px;" />
- </td>
- </tr>
- </table>
- </form>
- </div>
- </div>
- </section><!-- /.content -->
- </aside><!-- /.right-side -->
- </div><!-- ./wrapper -->
- <style>
- select{height:30px;}
- .form-actions li{list-style:none;width:25px;float:left;padding-bottom:8px;padding-right:5px;}
- </style>
- <script>
- $('#treeview1').addClass('active');
- $(".send_email2_left").addClass('active');
- function to_submit(){
- var template_id = $('#template_id').val();
- var group_name = $('#group_name').val();
- if(template_id==0 || group_name==0){
- alert("请选择模板和客户");
- }else{
- $('#form1').submit();
- }
- }
- </script>
- </body>
- </html>
- <?php }} ?>
|