Beispiel #1
0
<link rel="stylesheet" href="<?php 
echo static_url('theme/admin/css/password.css');
?>
" />
<?php 
echo ace_header('用户', $item->sellerid);
echo ace_form_open('', '', array('id' => $item->sellerid));
$options = array('label_text' => '商户账号', 'datatype' => 'u', 'nullmsg' => "请输入商户账号!", 'errormsg' => "商户编号只允许字母开头,允许5-16字节,允许字母数字下划线", 'help' => '商户登录后台的用户号');
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>';
Beispiel #2
0
<link rel="stylesheet" href="<?php 
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>
Beispiel #3
0
<?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();
Beispiel #4
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 #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
<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>
Beispiel #7
0
?<?php 
echo random(3);
?>
"></script>
                
        <script src="<?php 
echo static_url('theme/common/common.js');
?>
?<?php 
echo random(3);
?>
"></script>        
    </head>
        <body  style="overflow-x : hidden;background-color: white;">
	<?php 
echo ace_form_open('', '');
?>
	<div style="display:none">
	<input type="hidden" name="mobile" value="<?php 
echo $item->mobilenum;
?>
" id="mobile" >
	</div>
<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="groupid" style="width: 100%;">
<?php 
foreach ($groups as $k => $v) {
    $select = $v->groupid == $item->groupid ? 'selected' : '';
    echo '<option value="' . $v->groupid . '" ' . $select . ' >' . $v->groupname . "</option>\n";
}
?>
Beispiel #8
0
<?php

echo ace_form_open('', '', array('gid' => $item->gid));
$options = array('label_text' => '角色名称', 'datatype' => 's1-10', 'nullmsg' => "请输入角色名称!", 'errormsg' => "角色名必须为数字、字母、下划线和点号,最长10位", 'help' => '角色名称');
echo ace_input_m($options, 'title', $item->title, 'maxlength="35"');
?>
            <div class="col-sm-7">
                <div class="widget-box">
                    <div class="widget-header header-color-blue2">
                        <h4 class="lighter smaller">选择权限栏目</h4>
                    </div>

                    <div class="widget-body">
                        <div class="widget-main padding-8">
                            <div id="tree1" class="tree"></div>
                        </div>
                    </div>
                </div>
                <div style="display: none;">
		              <?php 
foreach ($colum_list as $colum) {
    ?>
		               <input type="checkbox" value="<?php 
    echo $colum['cid'];
    ?>
" id="colum_<?php 
    echo $colum['cid'];
    ?>
" class="colum_item" name="items[]" <?php 
    if (in_array($colum['cid'], $item->array_group)) {
        echo 'checked';
Beispiel #9
0
<?php

echo ace_form_open('', '', array('id' => $item->mobilenum));
?>
<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');
?>