bhq@iemsoft.cn
2018-11-27 e2b48dac099e43f4b3243cdf19a7522e4b5eccbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="Personal">
  <div id="tbh5v0">
    <div class="innercontent1" >
      <form method="post" action="user.php" id="edit_profile">
        <div class="name"><span>用户名</span>
          <input type="text" name="user_name" value="{$profile.user_name}" placeholder="*用户名" class="c-f-text">
        </div>
        <div class="name"> <span>{$lang.birthday}</span> {html_select_date field_order=YMD prefix=birthday start_year=-60 end_year=+1 display_days=true month_format=%m day_value_format=%02d time=$profile.birthday}</div>
        <div class="name1"> <span>{$lang.sex}</span>
          <ul>
            <li {if $profile.sex eq '0'} class="on" {/if} >
              <label for="sex0">
               <input type="radio" name="sex" value="0" tabindex="2" class="radio" id="sex0" {if $profile.sex eq '0'}checked=true{/if}/>
                {$lang.secrecy}</label>
            </li>
            <li {if $profile.sex eq '1'} class="on" {/if} >
              <label for="sex1">
                <input type="radio" name="sex" value="1"  tabindex="3" class="radio" id="sex1" {if $profile.sex eq '1'} checked=true{/if}/>
                {$lang.male}</label>
            </li>
            <li {if $profile.sex eq '2'} class="on" {/if} >
              <label for="sex2">
                <input type="radio" name="sex" value="2"  tabindex="4" class="radio" id="sex2" {if $profile.sex eq '2'}checked=true{/if}/>
                {$lang.female}</label>
            </li>
          </ul>
        </div>
        <!--
        <div class="name">
          <label for="email_ep"> <span>邮箱</span>
            <input name="email" value="{$profile.email}" id="email_ep" placeholder="*{$lang.email}" type="text" />
          </label>
        </div>
        -->
        {foreach from=$extend_info_list item=field}
        {if $field.id eq 6}
        <div style=" padding-top:10px; margin-top:10px; border-top:1px solid #CCC">
          <div class="field_pwd">
            <label for="sel_ques">
            <h4 class="title"> {if $field.is_need}<span class="t-red-g">*</span>{/if}{$lang.passwd_question}:</h4>
            <select name="sel_question" {if $field.is_need} class="required"{/if} id="sel_ques">
              <option value="0">{$lang.sel_question}</option>
              
                        {html_options options=$passwd_questions selected=$profile.passwd_question}
                    
            </select>
            </label>
          </div>
        </div>
        <div class="field_pwd">
          <label for="pw_answer"{if $field.is_need} id="passwd_quesetion"{/if}>
            <input type="text" name="passwd_answer" value="{$profile.passwd_answer}" class="c_f_text" id="pw_answer"   placeholder="{if $field.is_need}*{/if}{$lang.passwd_answer}"/>
          </label>
        </div>
        {else}
        <div class="name">
          <label for="extend_field_{$field.id}"> <span>{$field.reg_field_name}</span>
            <input type="text" name="extend_field{$field.id}" value="{$field.content}" id="extend_field_{$field.id}" placeholder="{if $field.is_need}*{/if}{$field.reg_field_name}" class="c-f-text"/>
          </label>
        </div>
        {/if}
        {/foreach}
        <div class="field submit-btn">
          <input type="submit" value="{$lang.confirm_edit}" class="btn_big1" />
        </div>
        <input type="hidden" name="act" value="act_edit_profile"/>
      </form>
    </div>
    <!--
    <div class="innercontent11" >
      <form name="formPassword" action="user.php" method="post" onSubmit="return editPassword()">
        <h4 class="title">密码修改</h4>
        <div class="field_pwd">
          <label for="password">
            <input type="password" name="old_password" id="password" class="c-f-text" placeholder="{$lang.old_password}"/>
          </label>
        </div>
        <div class="field_pwd">
          <label for="new_password">
            <input type="password" name="new_password" id="new_password" class="c-f-text" placeholder="{$lang.new_password}"/>
          </label>
        </div>
        <div class="field_pwd">
          <label for="comfirm_password">
            <input type="password" name="comfirm_password" id="comfirm_password" class="c-f-text" placeholder="{$lang.confirm_password}"/>
          </label>
        </div>
        <div class="field submit-btn">
          <input type="submit" value="{$lang.confirm_edit}" class="btn_big1" />
        </div>
        <input type="hidden" name="act" value="act_edit_password"/>
      </form>
    </div>
    -->
  </div>
</div>
<script type="text/javascript">
{foreach from=$lang.profile_js item=item key=key}
var {$key} = "{$item}";
{/foreach}
</script> 
 
<!--出生日期按钮js---> 
<script>
    $('.name1 ul li').click(function(){
    $(this).find("input").attr("checked","checked");
    $('.name1 ul li').removeClass("on");
    $(this).addClass("on");
    })
    </script>