3 <table width="100%" cellspacing="0" cellpadding="0" border="0">
4 <tr bgcolor="{$second_menu_bg_color}" valign="middle">
9 <table cellspacing="0" cellpadding="4">
11 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=show_user&id={$target_id}"><h7>Browse User</h7></a></td>
12 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=createticket&user_id={$target_id}"><h7>Send Ticket</h7></a></td>
13 {if isset($isAdmin) and $isAdmin eq 'TRUE' and $target_id neq 1}
14 {if $userPermission eq 1}
15 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Make Moderator</h7></a></td>
16 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
17 {else if $userPermission eq 2 }
18 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
19 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=3"><h7>Make Admin</h7></a></td>
20 {else if $userPermission eq 3 }
21 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=1"><h7>Demote to User</h7></a></td>
22 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=change_permission&user_id={$target_id}&value=2"><h7>Demote to Moderator</h7></a></td>
33 <td height="3" bgcolor="#000000"></td>
39 <table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
40 <tr><td height="7"></td><td></td></tr>
43 <td width="100%" height="12" valign="middle"><h1>Change Settings of {$target_username}</h1></td>
46 <td height="5"></td><td></td>
51 <table width="100%" cellspacing="0" cellpadding="0" border="0">
52 <tr bgcolor="#000000" valign="middle">
55 <tr><td height="8"></td></tr>
59 <tr><td height="2"></td></tr>
60 <tr><td height="1" bgcolor="#000000"></td></tr>
61 <tr><td height="10"></td></tr>
64 <table width="100%" height="100%" cellpadding="10">
66 <table width="100%" bgcolor="{$main_tbl_color}" border="2">
68 <table cellpadding="10">
71 <p><h3>Change Password</h3></p>
73 <form id="changePassword" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
74 <table cellpadding="1">
75 {if !isset($changesOther) or $changesOther eq "FALSE"}
81 <input type="text" id="CurrentPass" name="CurrentPass" {if isset($prevCurrentPass)}value="{$prevCurrentPass}"{/if}>
82 {if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}<font color="red">The password is incorrect</font>{/if}
87 <tr><td valign="middle">
90 <input type="text" class="input-xlarge" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
91 {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$newpass_error_message}</font>{/if}
94 <tr><td valign="middle">
97 <input type="text" class="input-xlarge" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
98 {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<font color="red">{$confirmnewpass_error_message}</font>{/if}
101 {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
102 <p><font color="green">
103 The password has been changed!
108 <input type="hidden" name="function" value="change_password">
109 <input type="hidden" name="target_id" value="{$target_id}">
111 <p><input type="submit" value="Change Password"/></p>
121 <table width="100%" bgcolor="{$main_tbl_color}" border="2">
123 <table cellpadding="10">
125 <p><h3>Change Email</h3></p>
127 <form id="changeEmail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
129 <tr><td valign="middle">
132 <input type="text" class="input-xlarge" id="NewEmail" size="200" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
133 {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}<font color="red">{$EMAIL}</font>{/if}
136 {if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
138 <font color="green">The email has been changed!</green>
142 <input type="hidden" name="function" value="change_mail">
143 <input type="hidden" name="target_id" value="{$target_id}">
145 <input type="submit" value="Change Email"/>
154 <table width="100%" bgcolor="{$main_tbl_color}" border="2">
156 <table cellpadding="10">
158 <p><h3>Change Info</h3></p>
159 <form id="changeEmail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
162 <td valign="middle">Firstname: </td>
163 <td><input type="text" id="FirstName" name="FirstName" placeholder="Your firstname" {if isset($FirstName) and $FirstName neq ""}value="{$FirstName}"{/if}></td>
167 <td valign="middle">Lastname: </td>
168 <td><input type="text" id="LastName" name="LastName" placeholder="Your lastname" {if isset($LastName) and $LastName neq ""}value="{$LastName}"{/if}></td>
172 <td valign="middle">Country: </td>
173 <td><select name="Country">
174 {foreach from=$country_array key=k item=v}
175 <option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option>
180 <td valign="middle">Gender</td>
182 <select name="Gender">
183 <option value="0"{if isset($Gender) and $Gender eq 0}selected="selected"{/if}>Secret</option>
184 <option value="1"{if isset($Gender) and $Gender eq 1}selected="selected"{/if}>Male</option>
185 <option value="2"{if isset($Gender) and $Gender eq 2}selected="selected"{/if}>Female</option>
190 {if isset($info_updated) and $info_updated eq "OK"}
192 <font color="green">The Info has been updated!</font>
196 <input type="hidden" name="function" value="change_info">
197 <input type="hidden" name="target_id" value="{$target_id}">
200 <input type="submit" value="Change Info"/>
210 <table width="100%" bgcolor="{$main_tbl_color}" border="2">
212 <table cellpadding="10">
214 <p><h3>Ticket-Update Mail Settings</h3></p>
215 <form id="changeReceiveMail" class="form-vertical" method="post" action="{$ingame_webpath}?page=settings&id={$target_id}">
217 <tr><td valign="middle">
218 Receive ticket updates
220 <select name="ReceiveMail">
221 <option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option>
222 <option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option>
227 <input type="hidden" name="function" value="change_receivemail">
228 <input type="hidden" name="target_id" value="{$target_id}">
230 <input type="submit" value="Change Updates"/>