Beispiel #1
0
echo static_url('theme/admin/css/password.css');
?>
" />
<?php 
echo ace_header('用户', $item->agentid);
echo ace_form_open('', '', array('id' => $item->agentid));
$options = array('label_text' => '代理账号', 'datatype' => '*', 'nullmsg' => "请输入代理账号!", 'errormsg' => "请输入代理账号", 'help' => '代理登录后台的账号');
echo ace_input_m($options, 'agentid', $item->agentid, 'maxlength="45" disabled="disabled"');
$options = array('label_text' => '代理全称', 'datatype' => '*', 'help' => '代理全称');
echo ace_input_m($options, 'agentname', $item->agentname, 'maxlength="45" disabled="disabled"');
$options = array('label_text' => '代理简称', 'datatype' => '*', 'help' => '代理简称');
echo ace_input_m($options, 'shortname', $item->shortname, 'maxlength="45" disabled="disabled"');
$options = array('label_text' => '手机号', 'datatype' => '*11-11', 'nullmsg' => "请输入手机号!", 'errormsg' => "请输入手机号", 'help' => '代理联系人手机号');
echo ace_input_m($options, 'mobilenum', $item->mobilenum, 'maxlength="11" disabled="disabled"');
$options = array('label_text' => '联系人', 'datatype' => '*1-15', 'nullmsg' => "请输入联系人!", 'errormsg' => "请输入联系人", 'help' => '联系人');
echo ace_input_m($options, 'contact', $item->contact, 'maxlength="15" disabled="disabled"');
$options = array('label_text' => 'QQ', 'help' => '代理联系人的QQ');
//	echo ace_input_m($options,'qq',$item->qq,'maxlength="45" disabled="disabled"');
?>
	
<div class="clearfix form-actions">
                      <div class="col-md-offset-3 col-md-9">
        				  <a href="<?php 
echo base_url('agent/agent');
?>
" class="btn btn-info">
                             <i class="icon-list"></i>返回列表
                          </a>
                  </div>
                  </div>
<?php 
Beispiel #2
0
<link rel="stylesheet" href="<?php 
echo static_url('theme/admin/css/password.css');
?>
" />
<?php 
echo ace_header('用户', $item->uid);
echo ace_form_open('', '', array('id' => $item->uid));
$options = array('label_text' => '账号', 'datatype' => 'u', 'nullmsg' => "请输入账号!", 'errormsg' => "账号只允许字母开头,允许5-16字节,允许字母数字下划线", 'help' => '用户名,登录后台的账号');
echo ace_input_m($options, 'user_name', $item->user_name, 'maxlength="32"');
$options = array('label_text' => '昵称', 'datatype' => '*2-20', 'nullmsg' => "请输入昵称!", 'errormsg' => "用户昵称最少2字节", 'help' => '昵称');
echo ace_input_m($options, 'nickname', $item->nickname, 'maxlength="20"');
if (!$item->uid) {
    $options = array('label_text' => '密码', 'datatype' => 'pwd', 'help' => lang('pwd_help_msg'), 'errormsg' => lang('pwd_help_msg'));
    echo ace_password($options, array('id' => 'q_password1', 'name' => 'password'));
}
$data = array('label_text' => '所属用户组', 'help' => '');
echo ace_dropdown($data, 'gid', $group_list, $item->gid);
echo ace_group(ace_label('地区'), '<div id="city"></div>');
$options = array('label_text' => 'E-mail', 'help' => '用户的邮箱,格式:xx@xx.com');
echo ace_input($options, 'email', $item->email, 'maxlength="30"');
if ($item->uid) {
    $options = array('disabled' => 'disabled', 'name' => '', 'class' => 'width-100');
    echo ace_input('注册时间', $options, datetime($item->regtime));
    echo ace_input('注册IP', $options, $item->regip);
    echo ace_input('最后登入时间', $options, datetime($item->lastlogin));
    echo ace_input('最后登入IP', $options, $item->lastip);
}
echo ace_srbtn('admin/user/index');
echo ace_form_close();
?>
<script type="text/javascript">
Beispiel #3
0
<?php

echo ace_header(array_values($this->breadcrumb));
echo ace_form_open('', '', array('cid' => $item['cid']));
?>
    <div class="row">
        <div class="col-xs-8">
            <?php 
$data = array('label_text' => '栏目类别', 'help' => '栏目的类别');
echo ace_dropdown($data, 'type', $this->model->type, $item['type']);
$data = array('label_text' => '上级栏目', 'help' => '可选,选择了此栏目将为下级栏目');
echo ace_dropdown($data, 'parents', $parents, $item['parents']);
echo ace_input_m('栏目标题', 'title', $item['title'], 'maxlength="50"');
echo ace_input(array('label_text' => '目录名', 'help' => '最后面请加上“/”'), 'directory', $item['directory'], 'maxlength="100"');
echo ace_input('控制器名', 'con_name', $item['con_name'], 'maxlength="100"');
?>
            
	       <!--/内容 -->
        </div>
        <div class="col-xs-12 col-sm-4">
            <div class="widget-box">
                <div class="widget-header">
                    <h4>参数</h4>

                    <div class="widget-toolbar">
                        <a data-action="collapse" href="#">
                            <i class="icon-chevron-up"></i>
                        </a>
                    </div>
                </div>
Beispiel #4
0
<?php 
echo '<form  id="fileupload" action="' . base_url('bp/contentManage/contentIssue/info') . '" method="POST" class="form-horizontal fileupload-processing"  enctype="multipart/form-data" ajaxpost="ajaxpost">';
?>
<input type="hidden" value="<?php 
echo $item->issueid;
?>
" name="id">
<?php 
echo '<div class="widget-box"><div class=""><div class="tabbable"><ul class="nav nav-tabs" id="myTab"><li class="active"><a data-toggle="tab" href="#tab1">基本信息</a></li><li><a data-toggle="tab" href="#tab2">短信任务机</a></li><li><a data-toggle="tab" href="#tab3">目标号码</a></li></ul></div></div>';
echo '<div class="widget-body"><div class="widget-main padding-6"><div class="tab-content"><div id="tab1" class="tab-pane in active">';
$data = array('label_text' => '标题', 'help' => '选择相应标题的内容发布');
echo ace_dropdown($data, 'contentid', $titles, $item->contentid, 'class="width-100" disabled="disabled"');
$data = array('name' => 'starttime', 'datefmt' => 'yyyy-MM-dd', 'class' => 'Wdate width-100', 'id' => 'starttime', 'readonly' => 'readonly');
echo ace_input_m('开始时间', $data, substr($item->starttime, 0, 10));
$data = array('name' => 'endtime', 'datefmt' => 'yyyy-MM-dd', 'class' => 'Wdate width-100', 'id' => 'endtime', 'readonly' => 'readonly');
echo ace_input_m('结束时间', $data, substr($item->endtime, 0, 10));
?>
<div class="clearfix ">
                      <div class="col-md-offset-3 col-md-9">
                          <button class="btn btn-success" id="step1">
                              <i class="icon-arrow-right  bigger-110 icon-on-right" ></i>下一步
                          </button>
</div>
                  </div>
</div><div id="tab2" class="tab-pane">
<div class="form-group">
<label for="bpoid_sponsor" class="col-xs-12 col-sm-2 control-label no-padding-right"><span class="red">*</span>选择短信任务机:</label><div class="col-xs-12 col-sm-2"><select name="from" id="from" multiple="multiple" size="7" style="width: 100%;height:150px" readonly="readonly">
<?php 
$tmp = array();
foreach ($group as $v) {
    $tmp[] = $v->groupid;
Beispiel #5
0
<?php

echo ace_form_open('', '', array('id' => $item->groupid));
$options = array('label_text' => '组名称', 'datatype' => '*', 'nullmsg' => "请输入组名称!", 'errormsg' => "请输组名称", 'help' => '组名称');
echo ace_input_m($options, 'groupname', $item->groupname, 'maxlength="15"');
?>
<div class="clearfix form-actions">
                      <div class="col-md-offset-3 col-md-9">
                          <button id="sub-btn" class="btn btn-success" type="submit">
                              <i class="icon-ok bigger-110"></i> 确认保存
                          </button> 	  <a href="javascript:;" class="btn btn-info" onclick="history.go(-1)">
	                         <i class="icon-reply"></i>返回上一页
	                      </a>
												<a href="<?php 
echo base_url('bp/channelManage/groups');
?>
" class="btn btn-info">
                             <i class="icon-list"></i>返回列表
	                      </a>	</div>
                  </div>
<?php 
echo ace_form_close();
?>
<script>
var  flag =false;
    $(function(){
        $("#groupname").change(function(){
            
            name = $("#groupname").val();
            
            if(name !=""){
Beispiel #6
0
<style type="text/css">  
    pre {  
        white-space: pre-wrap;  
        word-wrap: break-word;  
    }  
</style> 
<?php 
echo ace_form_open('', '', array('id' => $item->contentid));
$options = array('label_text' => '标题', 'datatype' => '*', 'nullmsg' => "请输入标题!", 'errormsg' => "请输入标题", 'help' => '标题');
echo ace_input_m($options, 'title', $item->title, 'maxlength="30"');
?>
<div class="form-group"><label class="col-xs-12 col-sm-2 control-label no-padding-right">短信:</label><div class="col-xs-12 col-sm-5"><label><input type="radio" name="shorturl" value="Y" checked="checked" class="ace"><span class="lbl"> 追加短链 &nbsp;</span></label><label><input type="radio" name="shorturl" value="N" class="ace"><span class="lbl"> 不追加短链 </span></label></div>
            	      <div class="help-block col-xs-12 col-sm-reset inline"></div>
            	 </div>
<div class="form-group"><label class="col-xs-12 col-sm-2 control-label no-padding-right"></label><div class="col-xs-12 col-sm-5"><span class="lbl"> 短链是平台商提供的增值功能,使用该功能,可以更快获得潜在客户,广告效果更好!</span></div>
            	      <div class="help-block col-xs-12 col-sm-reset inline"></div>
            	 </div>
		    
<?php 
$options = array('name' => 'smscontent', 'label_text' => '内容', 'datatype' => '*1-280', 'nullmsg' => "请输入内容!", 'errormsg' => "内容应小于280个汉字!", 'help' => '不含短链最大280个汉字');
echo ace_textarea('<span class="red">*</span>内容', $options, $item->smscontent, 'id="smscontent" rows="50"');
?>
<div class="form-group"><label class="col-xs-12 col-sm-2 control-label no-padding-right">类型:</label><div class="col-xs-12 col-sm-5"><label><input type="radio" name="type" value="ADV" checked="checked" class="ace"><span class="lbl"> 广告 &nbsp;</span></label><label><input type="radio" name="type" value="BLS" class="ace"><span class="lbl"> 祝福 </span></label></div>
            	      <div class="help-block col-xs-12 col-sm-reset inline"></div>
            	 </div>
<div class="form-group"><label class="col-xs-12 col-sm-2 control-label no-padding-right"></label><div class="col-xs-12 col-sm-5"><label>特别提示:</label><span class="lbl">发送广告类短信,我们会限制单个手机每小时最大发送量</span></div>
            	      <div class="help-block col-xs-12 col-sm-reset inline"></div>
            	 </div>
<script type="text/javascript" charset="utf-8" src="<?php 
echo base_url();
?>
Beispiel #7
0
<div class="form-group">
<label for="bpoid_sponsor" class="col-xs-12 col-sm-2 control-label no-padding-right"><span class="red">*</span>选择分组:</label><div class="col-xs-12 col-sm-5"><select name="groupId" id="from" style="width: 100%;">
<?php 
foreach ($groups as $k => $v) {
    $select = $v->groupid == $itme->groupid ? 'selected' : '';
    echo '<option value="' . $v->groupid . '" ' . $select . ' >' . $v->groupname . "</option>\n";
}
?>
<select>
</div>
</div>
<?php 
$options = array('label_text' => '电话号码', 'datatype' => 'n11-11', 'nullmsg' => "请输入电话号码!", 'errormsg' => "请输电话号码", 'help' => '电话号码');
echo ace_input_m($options, 'mobileNum', $item->mobilenum, 'maxlength="11"');
$options = array('label_text' => '用户名', 'datatype' => '*1-15', 'nullmsg' => "请输入用户名!", 'errormsg' => "请输用户名", 'help' => '用户名');
echo ace_input_m($options, 'userName', $item->username, 'maxlength="15"');
echo ace_srbtn('bp/channelManage/rouji/info', false, '确认保存');
echo ace_form_close();
?>
<script>
$(function (){
						$("#mobileNum").change(function(){
            mobile = $("#mobileNum").val();
            if(mobile !=""){
                $.post("<?php 
echo base_url('bp/channelManage/rouji/ajaxMobile');
?>
",
                   { mobile: mobile } ,
                   function(data){
                       result = eval(data);
Beispiel #8
0
 function ace_password($options = '', $data = '')
 {
     if (!is_array($data)) {
         $data = array('name' => $data);
     }
     $data['type'] = 'password';
     $data['class'] = 'width-100';
     return ace_input_m($options, $data, '', 'maxlength="20"');
 }