123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <?php /*a:2:{s:58:"/data/web/mall.valimart.net/app/admin/view/member/add.html";i:1657785096;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;}*/ ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
- <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
- <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
- <script type="text/javascript">
- var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
- var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
- var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
- var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
- var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
- </script>
- </head>
- <body>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
- <div class="page">
- <form id="user_form" enctype="multipart/form-data" method="post">
- <table class="ds-default-table">
- <tbody>
- <tr class="noborder">
- <td class="required w120"><label class="validation" for="member_name"><?php echo htmlentities(lang('ds_member_name')); ?>:</label></td>
- <td class="vatop rowform"><input type="text" value="" name="member_name" id="member_name" class="txt"></td>
- <td class="vatop tips"></td>
- </tr>
- <tr class="noborder">
- <td class="required"><label class="validation" for="member_password"><?php echo htmlentities(lang('ds_member_password')); ?>:</label></td>
- <td class="vatop rowform"><input type="text" id="member_password" name="member_password" class="txt"></td>
- <td class="vatop tips"></td>
- </tr>
- <tr class="noborder">
- <td class="required"><label for="member_email"><?php echo htmlentities(lang('member_email')); ?>:</label></td>
- <td class="vatop rowform"><input type="text" value="" id="member_email" name="member_email" class="txt"></td>
- <td class="vatop tips"></td>
- </tr>
- <tr class="noborder">
- <td class="required"><label for="member_truename"><?php echo htmlentities(lang('member_truename')); ?>:</label></td>
- <td class="vatop rowform"><input type="text" value="" id="member_truename" name="member_truename" class="txt"></td>
- <td class="vatop tips"></td>
- </tr>
- <tr class="noborder">
- <td class="required"><label> <?php echo htmlentities(lang('member_edit_sex')); ?>:</label></td>
- <td class="vatop rowform">
- <label class="radio-label">
- <i class="radio-common selected">
- <input type="radio" value="0" name="member_sex" checked="checked">
- </i>
- <span><?php echo htmlentities(lang('member_edit_secret')); ?></span>
- </label>
- <label class="radio-label">
- <i class="radio-common">
- <input type="radio" value="1" name="member_sex">
- </i>
- <span><?php echo htmlentities(lang('member_edit_male')); ?></span>
- </label>
- <label class="radio-label">
- <i class="radio-common">
- <input type="radio" value="2" name="member_sex">
- </i>
- <span><?php echo htmlentities(lang('member_edit_female')); ?></span>
- </label>
- </td>
- <td class="vatop tips"></td>
- </tr>
- <tr class="noborder">
- <td class="required"><label for="member_qq">QQ:</label></td>
- <td class="vatop rowform"><input type="text" value="" id="member_qq" name="member_qq" class="txt"></td>
- <td class="vatop tips"></td>
- </tr>
- <tr class="noborder">
- <td class="required"><label class="member_ww"><?php echo htmlentities(lang('member_ww')); ?>:</label></td>
- <td class="vatop rowform"><input type="text" value="" id="member_ww" name="member_ww" class="txt"></td>
- <td class="vatop tips"></td>
- </tr>
- </tbody>
- <tfoot>
- <tr class="tfoot">
- <td colspan="15"><input class="btn" type="submit" value="<?php echo htmlentities(lang('ds_submit')); ?>"/></td>
- </tr>
- </tfoot>
- </table>
- </form>
- </div>
- <script type="text/javascript">
- $(function() {
- $('#user_form').validate({
- errorPlacement: function(error, element) {
- error.appendTo(element.parent().parent().find('td:last'));
- },
- rules: {
- member_name: {
- required: true,
- minlength: 3,
- maxlength: 15,
- remote: {
- url: "<?php echo url('Member/ajax',['branch'=>'check_user_name']); ?>",
- type: 'get',
- data: {
- user_name: function() {
- return $('#member_name').val();
- },
- member_id:'<?php echo htmlentities((isset($member_array['member_id']) && ($member_array['member_id'] !== '')?$member_array['member_id']:0)); ?>'
- }
- }
- },
- member_password: {
- required: true,
- maxlength: 20,
- minlength: 6
- },
- member_email: {
- email: true,
- remote: {
- url: "<?php echo url('Member/ajax',['branch'=>'check_email']); ?>",
- type: 'get',
- data: {
- user_name: function() {
- return $('#member_email').val();
- },
- member_id: '<?php echo htmlentities((isset($member_array['member_id']) && ($member_array['member_id'] !== '')?$member_array['member_id']:0)); ?>'
- }
- }
- },
- member_qq: {
- digits: true,
- minlength: 5,
- maxlength: 11
- }
- },
- messages: {
- member_name: {
- required: '<?php echo htmlentities(lang('member_add_name_null')); ?>',
- maxlength: '<?php echo htmlentities(lang('member_add_name_length')); ?>',
- minlength: '<?php echo htmlentities(lang('member_add_name_length')); ?>',
- remote: '<?php echo htmlentities(lang('member_add_name_exists')); ?>'
- },
- member_password: {
- required: '<?php echo htmlentities(lang('password_add_name_null')); ?>',
- maxlength: '<?php echo htmlentities(lang('member_edit_password_tip')); ?>',
- minlength: '<?php echo htmlentities(lang('member_edit_password_tip')); ?>'
- },
- member_email: {
- email: '<?php echo htmlentities(lang('member_edit_valid_email')); ?>',
- remote: '<?php echo htmlentities(lang('member_edit_email_exists')); ?>'
- },
- member_qq: {
- digits: '<?php echo htmlentities(lang('member_edit_qq_wrong')); ?>',
- minlength: '<?php echo htmlentities(lang('member_edit_qq_wrong')); ?>',
- maxlength: '<?php echo htmlentities(lang('member_edit_qq_wrong')); ?>'
- }
- }
- });
- });
- </script>
|