Example #1
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>
Example #2
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>';
Example #3
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">
Example #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>
Example #5
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();