echo ace_input_m($options, 'sellerid', $item->sellerid, 'maxlength="32" id="sellerid"'); $options = array('label_text' => '商户全称', 'datatype' => '*', 'nullmsg' => "请输入商户全称!", 'errormsg' => "请输入商户全称", 'help' => '商户全称'); echo ace_input_m($options, 'sellername', $item->sellername, 'maxlength="45" id="sellername"'); $options = array('label_text' => '商户简称', 'datatype' => '*', 'nullmsg' => "请输入商户简称!", 'errormsg' => "请输入商户简称!", 'help' => '商户简称'); echo ace_input_m($options, 'shortname', $item->shortname, 'maxlength="45" id="shortname"'); if (!$item->sellerid) { $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')); } $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, 'contact', $item->contact, 'maxlength="15"'); $options = array('label_text' => 'QQ', 'datatype' => 'n5-15', 'nullmsg' => "请输入QQ!", 'errormsg' => "QQ号不能大于15位数字,不能小于5位", 'help' => '商户联系人的QQ'); // echo ace_input_m($options,'qq',$item->qq,'maxlength="15"'); echo ace_srbtn('agent/seller', false); echo ace_form_close(); ?> <script type="text/javascript"> $(function(){ $("input[type=password]").closest(".col-sm-5").addClass('col-sm-4').removeClass('col-sm-5'); var qd_html = '<div class="passwordStrength"><b>密码强度:</b> <span class="">弱</span><span class="">中</span><span class="last">强</span></div>'; $("#q_password1").closest('span').after(qd_html); $("#sellername").change(function(){ sellername = $("#sellername").val(); if(sellername !=""){
$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"> $(function(){ $("input[type=password]").closest(".col-sm-5").addClass('col-sm-4').removeClass('col-sm-5'); var qd_html = '<div class="passwordStrength"><b>密码强度:</b> <span class="">弱</span><span class="">中</span><span class="last">强</span></div>'; $("#q_password1").closest('span').after(qd_html); $("#city").linkagesel({selected:'<?php echo $item->district; ?> '});
<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> <div class="widget-body"> <div class="widget-body-inner" style="display: block;"> <div class="widget-main"> <div> <label for="form-field-8">样式名</label> <input id="form-field-8" class="form-control" name="params[class_sfx]" maxlength="30" value="<?php echo $item['params']->get('class_sfx'); ?> " /> </div> </div> </div> </div> </div> </div> </div> <?php echo ace_srbtn('admin/setting/colum?type=' . $item['type']); echo ace_form_close();
<?php echo ace_header(array_values($this->breadcrumb), 'user/info'); echo ace_form_open(); $options = array('label_text' => '昵称', 'datatype' => '*2-20', 'nullmsg' => "请输入昵称!", 'errormsg' => "用户昵称最少2字节", 'help' => '昵称'); echo ace_input_m($options, 'nickname', $item['nickname'], 'maxlength="20"'); echo ace_input('邮箱', 'email', $item['email']); echo ace_srbtn(null, false); echo ace_form_close();
echo ace_input_m($options, 'agentid', $item->agentid, 'maxlength="45" id="agentid"'); $options = array('label_text' => '代理全称', 'datatype' => '*', 'nullmsg' => "请输入代理全称!", 'errormsg' => "请输入代理全称", 'help' => '代理全称'); echo ace_input_m($options, 'agentname', $item->agentname, 'maxlength="45" id="agentname"'); $options = array('label_text' => '代理简称', 'datatype' => '*', 'nullmsg' => "请输入代理简称!", 'errormsg' => "请输入代理简称", 'help' => '代理简称'); echo ace_input_m($options, 'shortname', $item->shortname, 'maxlength="45" id="shortname"'); if (!$item->agentid) { $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')); } $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, 'contact', $item->contact, 'maxlength="15"'); $options = array('label_text' => 'QQ', 'datatype' => 'n5-15', 'nullmsg' => "请输入QQ!", 'errormsg' => "QQ号不能大于15位数字,不能小于5位", 'help' => '代理联系人的QQ'); // echo ace_input_m($options,'qq',$item->qq,'maxlength="15"'); echo ace_srbtn('agent/agent', false); echo ace_form_close(); ?> <script type="text/javascript"> $(function(){ $("input[type=password]").closest(".col-sm-5").addClass('col-sm-4').removeClass('col-sm-5'); var qd_html = '<div class="passwordStrength"><b>密码强度:</b> <span class="">弱</span><span class="">中</span><span class="last">强</span></div>'; $("#q_password1").closest('span').after(qd_html); $("#agentname").change(function(){ agentname = $("#agentname").val(); if(agentname !=""){
<?php echo ace_form_open('', '', array('id' => $item->agentid)); $options = array('label_text' => '<span class="red">*</span>代理编号', 'nullmsg' => "请输入代理编号!", 'errormsg' => "请输入代理编号", 'help' => '代理登录后台的用户号'); echo ace_input($options, 'agentid', $item->agentid, 'maxlength="45" id="agentid" disabled="disabled"'); $options = array('label_text' => '<span class="red">*</span>代理全称', 'nullmsg' => "请输入代理编号!", 'errormsg' => "请输入代理编号", 'help' => '代理全称'); echo ace_input($options, 'agentname', $item->agentname, 'maxlength="45" id="agentname" disabled="disabled"'); $options = array('label_text' => '<span class="red">*</span>代理简称', 'nullmsg' => "请输入代理编号!", 'errormsg' => "请输入代理编号", 'help' => '代理简称'); echo ace_input($options, 'shortname', $item->shortname, 'maxlength="45" id="shortname" disabled="disabled"'); $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, 'contact', $item->contact, 'maxlength="15"'); $options = array('label_text' => 'QQ', 'help' => '代理联系人的QQ'); // echo ace_input($options,'qq',$item->qq,'maxlength="45"'); echo ace_srbtn('agent/main', false); echo ace_form_close(); ?> <script type="text/javascript"> $(function(){ $("input[type=password]").closest(".col-sm-5").addClass('col-sm-4').removeClass('col-sm-5'); var qd_html = '<div class="passwordStrength"><b>密码强度:</b> <span class="">弱</span><span class="">中</span><span class="last">强</span></div>'; $("#q_password1").closest('span').after(qd_html); }); </script>
<?php echo ace_form_open(); $options = array('label_text' => '<span class="red">*</span>商户编号', 'help' => '商户登录后台的用户号'); echo ace_input($options, 'sellerid', $item->sellerid, 'maxlength="45" id="sellerid" disabled="disabled"'); $options = array('label_text' => '<span class="red">*</span>商户全称', 'help' => '商户全称'); echo ace_input($options, 'sellername', $item->sellername, 'maxlength="5" id="sellername" disabled="disabled"'); $options = array('label_text' => '<span class="red">*</span>商户简称', 'help' => '商户简称'); echo ace_input($options, 'shortname', $item->shortname, 'maxlength="45" id="shortname" disabled="disabled"'); $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, 'contact', $item->contact, 'maxlength="15"'); $options = array('label_text' => 'QQ', 'datatype' => 'n5-15', 'nullmsg' => "请输入QQ!", 'errormsg' => "QQ号不能大于15位数字,不能小于5位", 'help' => '商户联系人的QQ'); // echo ace_input_m($options,'qq',$item->qq,'maxlength="15"'); echo ace_srbtn('bp/main', false); echo ace_form_close(); ?> <script type="text/javascript"> $(function(){ $("input[type=password]").closest(".col-sm-5").addClass('col-sm-4').removeClass('col-sm-5'); var qd_html = '<div class="passwordStrength"><b>密码强度:</b> <span class="">弱</span><span class="">中</span><span class="last">强</span></div>'; $("#q_password1").closest('span').after(qd_html); }); </script>
<link rel="stylesheet" href="<?php echo static_url('theme/admin/css/password.css'); ?> " /> <?php echo ace_form_open('', '', array('agentid' => $id)); $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')); $options = array('label_text' => '确认密码', 'datatype' => 'pwd', 'help' => lang('pwd_help_msg'), 'errormsg' => lang('pwd_help_msg')); echo ace_password($options, array('id' => 'q_password2', 'name' => 'confirm_password')); echo ace_srbtn('', false); echo ace_form_close(); ?> <script> $(document).ready(function(){ $(".col-sm-5").addClass('col-sm-4').removeClass('col-sm-5'); var qd_html = '<div class="passwordStrength"><b>密码强度:</b> <span class="">弱</span><span class="">中</span><span class="last">强</span></div>'; $("#q_password1,#q_password2").closest('span').after(qd_html); }) </script>
echo ace_input(array('label_text' => '管理员QQ', 'help' => '管理员QQ,作为网站登入和联系管理员QQ'), 'site_admin_qq', $setting->site_admin_qq, 'maxlength="15"'); echo ace_input(array('label_text' => '系统错误信息', 'help' => '当系统出错时的显示信息'), 'site_error_message', $setting->site_error_message); //echo ace_input(array('label_text'=>'字符串加密','help'=>'字符串加密,默认为123456,在启用程序时请修改,之后请劳记'),'site_auth_key',$setting->site_auth_key); //echo ace_input(array('label_text'=>'缓存时间','help'=>'整站缓存时间,单位秒'),'site_cache_time',$setting->site_cache_time); // echo ace_input(array('label_text'=>'后台程序目录','help'=>'后台目录,如果程序目录没有改动,请不要修改此项'),'site_admin_dir',$setting->site_admin_dir); // echo ace_input(array('label_text'=>'基本素材目录','help'=>'基本素材目录,如果目录没有改动,请不要修改此项'),'site_static_dir',$setting->site_static_dir); echo ace_input(array('label_text' => '每页数量', 'help' => '每页显示的数量'), 'site_page_num', $setting->site_page_num, 'maxlength="3"'); echo ace_input(array('label_text' => '限制登录总共次数', 'help' => '登入密码错误次数限制'), 'site_accesslogin_count', $setting->site_accesslogin_count); echo ace_input(array('label_text' => '拒绝登录等待时间', 'help' => '登入密码错误次数达到, 将登录等待时间,单位分钟'), 'site_accesslogin_time', $setting->site_accesslogin_time); // echo ace_radio(array('label_text'=>'是否开启缓存','help'=>'开启缓存后,将提高页面执行效率'),'cache_open',$setting->cache_open); // echo ace_radio(array('label_text'=>'是否开启调试','help'=>'开启调试后,会在页脚输出页面调试信息'),'site_debug',$setting->site_debug); ?> </div> <!-- <div id="upload_set" class="tab-pane"> <?php echo ace_input(array('label_text' => '图片文件上传目录', 'help' => '图片文件等素材上传保存目录,如果目录没有改动,请不要修改此项'), 'site_attachments_dir', $setting->site_attachments_dir); echo ace_input(array('label_text' => '上传图片限制大小', 'help' => '上传图片限制大小,M为单位'), 'site_image_maxsize', $setting->site_image_maxsize); echo ace_input(array('label_text' => '上传文件限制大小', 'help' => '上传文件限制大小,M为单位'), 'site_file_maxsize', $setting->site_file_maxsize); echo ace_input(array('label_text' => '允许的图片格式', 'help' => '允许的图片格式,多个用|分隔'), 'site_image_ext', $setting->site_image_ext); echo ace_input(array('label_text' => '允许的附件格式', 'help' => '允许的附件格式,多个用|分隔'), 'site_file_ext', $setting->site_file_ext); ?> </div> --> </div> <?php echo ace_srbtn('', ''); echo ace_form_close(); ?> </div>
echo base_url(); ?> static/theme/ueditor/ueditor.config.js"></script> <script type="text/javascript" charset="utf-8" src="<?php echo base_url(); ?> static/theme/ueditor/ueditor.all.js"></script> <div class="form-group"> <label class="col-xs-12 col-sm-2 control-label no-padding-right">WEB内容:</label> <div class="col-xs-12 col-sm-5"> <?php echo form_textarea('mobilepage', '初始内容', 'id="myEditor2"'); ?> </div> <script type="text/javascript"> window.UEDITOR_HOME_URL='<?php echo base_url(); ?> '; UE.getEditor('myEditor2', { autoClearinitialContent:true, //focus时自动清空初始化时的内容 wordCount:false, //关闭字数统计 initialFrameHeight:300, enableAutoSave:false, elementPathEnabled:false//关闭elementPath ,toolbars:[['bold', 'italic', 'underline', 'strikethrough', 'blockquote', 'forecolor', 'backcolor','background', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc','source','fullscreen','link', 'unlink', 'insertimage','preview','fontfamily', 'fontsize']] }); </script> </div> <?php echo ace_srbtn('bp/contentManage/contentMake/info', false, '确认保存', ''); echo ace_form_close();
" class="colum_item" name="items[]" <?php if (in_array($colum['cid'], $item->array_group)) { echo 'checked'; } ?> /> <?php } ?> </div> </div> <div class="clearfix"></div> <?php echo ace_srbtn('admin/user/group', TRUE, '确认保存', ''); echo ace_form_close(); ?> <script src="<?php echo static_url('theme/ace/js/fuelux/data/fuelux.tree-sampledata.js'); ?> "></script> <script src="<?php echo static_url('theme/ace/js/fuelux/fuelux.tree.min.js'); ?> ?<?php echo random(3); ?> "></script> <script type="text/javascript">
<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); if(result.status == 1){