2 <div class="row-fluid js-masonry" data-masonry-options='{ "itemSelector": ".js-masonry-item", "transitionDuration": 0 }'>
3 <div class="col-sm-4 js-masonry-item">
4 <div class="panel panel-default">
5 <div class="panel-heading" data-original-title="">
6 <span class="icon-th"></span> Change Password
8 <div class="panel-body">
9 <div class="row-fluid">
10 <form id="changePassword" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
11 <legend>Change Password</legend>
13 {if !isset($changesOther) or $changesOther eq "FALSE"}
14 <div class="control-group {if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}error{else if
15 isset($match_error_message) and $match_error_message neq "fail"}success{else}{/if}">
16 <label class="control-label">Current Password</label>
17 <div class="controls">
18 <div class="input-prepend">
19 <span class="add-on" style="margin-left:5px;"><span class="icon-lock"></span></span>
20 <input type="password" class="setup-width" id="CurrentPass" name="CurrentPass" placeholder="Your current password" {if isset($prevCurrentPass)}value="{$prevCurrentPass}"{/if}>
21 {if isset($MATCH_ERROR) and $MATCH_ERROR eq "TRUE"}<span class="help-inline">The password is incorrect</span>{/if}
26 <div class="control-group {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}error{else if
27 isset($newpass_error_message) and $newpass_error_message eq "success"}success{else}{/if}">
28 <label class="control-label">New Password</label>
29 <div class="controls">
30 <div class="input-prepend">
31 <span class="add-on" style="margin-left:5px;"><span class="icon-tag"></span></span>
32 <input type="password" class="setup-width" id="NewPass" name="NewPass" placeholder="Your new password" {if isset($prevNewPass)}value="{$prevNewPass}"{/if}>
33 {if isset($NEWPASSWORD_ERROR) and $NEWPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$newpass_error_message}</span>{/if}
38 <div class="control-group {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}error{else if
39 isset($confirmnewpass_error_message) and $confirmnewpass_error_message eq "success"}success{else}{/if}">
40 <label class="control-label">Confirm New Password</label>
41 <div class="controls">
42 <div class="input-prepend">
43 <span class="add-on" style="margin-left:5px;"><span class="icon-tags"></span></span>
44 <input type="password" class="setup-width" id="ConfirmNewPass" name="ConfirmNewPass" placeholder="Re-enter the new password" {if isset($prevConfirmNewPass)}value="{$prevConfirmNewPass}"{/if}>
45 {if isset($CNEWPASSWORD_ERROR) and $CNEWPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$confirmnewpass_error_message}</span>{/if}
52 {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "OK"}
53 <div class="alert alert-success">
54 The password has been changed!
58 {if isset($SUCCESS_PASS) and $SUCCESS_PASS eq "SHARDOFF"}
59 <div class="alert alert-warning">
60 The password has been changed, though the shard seems offline, it may take some time to see the change on the shard.
64 <input type="hidden" name="function" value="change_password">
65 <input type="hidden" name="target_id" value="{$target_id}">
66 <div class="control-group">
67 <label class="control-label"></label>
68 <div class="controls">
69 <button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Password</button>
78 {if $permission != '1'}
79 <div class="col-sm-4 js-masonry-item">
80 <div class="panel panel-default">
81 <div class="panel-heading" data-original-title="">
82 <span class="icon-th"></span> Add User
84 <div class="panel-body">
85 <div class="row-fluid">
86 <form id="addUser" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
87 <legend>Add User</legend>
89 <div class="control-group {if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}error{/if}">
90 <label class="control-label">Username</label>
91 <div class="controls">
92 <div class="input-prepend">
93 <span style="margin-left:5px;" class="add-on"><span class="icon-user"></span></span>
94 <input type="text" placeholder="Username" name="Username" id="Username" class="setup-width" {if isset($prevUsername)}value="{$prevUsername}"{/if}>
95 {if isset($USERNAME_ERROR) and $USERNAME_ERROR eq "TRUE"}<span class="help-inline">{$USERNAME}</span>{/if}
100 <div class="control-group {if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}error{/if}">
101 <label class="control-label">Password</label>
102 <div class="controls">
103 <div class="input-prepend">
104 <span style="margin-left:5px;" class="add-on"><span class="icon-lock"></span></span>
105 <input type="password" placeholder="Password" name="Password" id="Password" class="setup-width">
106 {if isset($PASSWORD_ERROR) and $PASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$PASSWORD}</span>{/if}
111 <div class="control-group {if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}error{/if}">
112 <label class="control-label">Confirm Password</label>
113 <div class="controls">
114 <div class="input-prepend">
115 <span style="margin-left:5px;" class="add-on"><span class="icon-lock"></span></span>
116 <input type="password" placeholder="Confirm Password" name="ConfirmPass" id="ConfirmPass" class="setup-width">
117 {if isset($CPASSWORD_ERROR) and $CPASSWORD_ERROR eq "TRUE"}<span class="help-inline">{$CPASSWORD}</span>{/if}
122 <div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE" and isset($do)}error{/if}">
123 <label class="control-label">Email</label>
124 <div class="controls">
125 <div class="input-prepend">
126 <span style="margin-left:5px;" class="add-on"><span class="icon-envelope"></span></span>
127 <input type="text" class="setup-width" id="Email" name="Email" placeholder="Email" {if isset($prevEmail)}value="{$prevEmail}"{/if}>
128 {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE" and isset($do)}<span class="help-inline">{$EMAIL}</span>{/if}
134 {if isset($SUCCESS_ADD) and $SUCCESS_ADD eq "ok"}
135 <div class="alert alert-success">
136 The user has been created!
140 {if isset($SUCCESS_ADD) and $SUCCESS_ADD eq "shardoffline"}
141 <div class="alert alert-warning">
142 The user is created, though the shard seems offline, it may take some time to see the change on the shard.
146 <input type="hidden" name="function" value="add_user">
147 <input type="hidden" name="target_id" value="{$target_id}">
148 <div class="control-group">
149 <label class="control-label"></label>
150 <div class="controls">
151 <button type="submit" class="btn btn-primary" style="margin-left:5px;">Create User</button>
161 <div class="col-sm-4 js-masonry-item">
162 <div class="panel panel-default">
163 <div class="panel-heading" data-original-title="">
164 <span class="icon-th"></span> Change Email
166 <div class="panel-body">
167 <div class="row-fluid">
168 <form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
169 <legend>Change Email</legend>
170 <div class="control-group {if isset($CEMAIL_ERROR) and $CEMAIL_ERROR eq "TRUE"}error{/if}">
171 <label class="control-label">New Email</label>
172 <div class="controls">
173 <div class="input-prepend">
174 <span class="add-on" style="margin-left:5px;"><span class="icon-envelope"></span></span>
175 <input type="text" class="setup-width" id="NewEmail" name="NewEmail" placeholder="Your new email" {if isset($prevNewEmail)}value="{$prevNewEmail}"{else if isset($current_mail)}value="{$current_mail}"{/if}>
176 {if isset($CEMAIL_ERROR) and $CEMAIL_ERROR eq "TRUE"}<span class="help-inline">{$EMAIL}</span>{/if}
183 {if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "OK"}
184 <div class="alert alert-success">
185 The email has been changed!
189 {if isset($SUCCESS_MAIL) and $SUCCESS_MAIL eq "SHARDOFF"}
190 <div class="alert alert-warning">
191 The email has been changed, though the shard seems offline, it may take some time to see the change on the shard.
195 <input type="hidden" name="function" value="change_mail">
196 <input type="hidden" name="target_id" value="{$target_id}">
197 <div class="control-group">
198 <label class="control-label"></label>
199 <div class="controls">
200 <button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Email</button>
209 <div class="col-sm-4 js-masonry-item">
210 <div class="panel panel-default">
211 <div class="panel-heading" data-original-title="">
212 <span class="icon-envelope"></span> Ticket updates
216 <div class="panel-body">
217 <div class="row-fluid">
218 <form id="changeReceiveMail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
219 <legend>Ticket-Update Mail Settings</legend>
221 <div class="control-group">
222 <label class="control-label">Receive ticket updates</label>
223 <div class="controls">
224 <select name="ReceiveMail">
225 <option value="1" {if isset($ReceiveMail) and $ReceiveMail eq 1}selected="selected"{/if}>Yes</option>
226 <option value="0" {if isset($ReceiveMail) and $ReceiveMail eq 0}selected="selected"{/if}>No</option>
232 <input type="hidden" name="function" value="change_receivemail">
233 <input type="hidden" name="target_id" value="{$target_id}">
234 <div class="control-group">
235 <label class="control-label"></label>
236 <div class="controls">
237 <button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Updates</button>
246 <div class="col-sm-4 js-masonry-item">
247 <div class="panel panel-default">
248 <div class="panel-heading" data-original-title="">
249 <span class="icon-th"></span> Change Info
251 <div class="panel-body">
252 <div class="row-fluid">
253 <form id="changeEmail" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
254 <legend>Change Info</legend>
256 <div class="control-group">
257 <label class="control-label">Firstname</label>
258 <div class="controls">
259 <div class="input-prepend">
260 <span class="add-on" style="margin-left:5px;"><span class="icon-user"></span></span>
261 <input type="text" class="setup-width" id="FirstName" name="FirstName" placeholder="Your firstname" {if isset($FirstName) and $FirstName neq ""}value="{$FirstName}"{/if}>
266 <div class="control-group">
267 <label class="control-label">Lastname</label>
268 <div class="controls">
269 <div class="input-prepend">
270 <span class="add-on" style="margin-left:5px;"><span class="icon-user"></span></span>
271 <input type="text" class="setup-width" id="LastName" name="LastName" placeholder="Your lastname" {if isset($LastName) and $LastName neq ""}value="{$LastName}"{/if}>
276 <div class="control-group">
277 <label class="control-label">Country</label>
278 <div class="controls">
279 <select name="Country">
280 {foreach from=$country_array key=k item=v}
281 <option value="{$k}" {if isset($Country) and $Country eq $k}selected="selected"{/if}>{$v}</option>
287 <div class="control-group gender-list">
288 <label class="control-label">Gender</label>
289 <div class="controls">
290 <label class="radio">
291 <div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 0}checked{/if}"><input name="Gender" id="optionsRadios0" value="0" {if isset($Gender) and $Gender eq 0}checked=""{/if} type="radio"></span></div>
294 <div style="clear:both"></div>
295 <label class="radio">
296 <div id="uniform-optionsRadios1" class="radio"><span class="{if isset($Gender) and $Gender eq 1}checked{/if}"><input name="Gender" id="optionsRadios1" value="1" {if isset($Gender) and $Gender eq 1}checked=""{/if} type="radio"></span></div>
299 <div style="clear:both"></div>
300 <label class="radio">
301 <div id="uniform-optionsRadios2" class="radio"><span class="{if isset($Gender) and $Gender eq 2}checked{/if}"><input name="Gender" id="optionsRadios2" value="2" {if isset($Gender) and $Gender eq 2}checked=""{/if} type="radio"></span></div>
307 {if isset($info_updated) and $info_updated eq "OK"}
308 <div class="alert alert-success">
309 The Info has been updated!
313 <input type="hidden" name="function" value="change_info">
314 <input type="hidden" name="target_id" value="{$target_id}">
315 <div class="control-group">
316 <label class="control-label"></label>
317 <div class="controls">
318 <button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Info</button>
327 {if $permission == '3'}
328 <div class="col-sm-4 js-masonry-item">
329 <div class="panel panel-default">
330 <div class="panel-heading" data-original-title="">
331 <span class="icon-th"></span> User Registration
333 <div class="panel-body">
334 <div class="row-fluid">
335 <form id="userRegistration" class="form-vertical" method="post" action="index.php?page=settings&id={$target_id}">
336 <legend>User Registration</legend>
338 <div class="control-group gender-list">
339 <div class="controls">
340 <label class="radio">
341 <div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 0}checked{/if}"><input name="userRegistration" id="optionsRadios0" value="0" {if isset($userRegistration) and $userRegistration eq 0}checked=""{/if} type="radio"></span></div>
342 In-Game and Web Registration
344 <div style="clear:both"></div>
345 <label class="radio">
346 <div id="uniform-optionsRadios1" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 1}checked{/if}"><input name="userRegistration" id="optionsRadios1" value="1" {if isset($userRegistration) and $userRegistration eq 1}checked=""{/if} type="radio"></span></div>
347 In-Game Registration Only
349 <div style="clear:both"></div>
350 <label class="radio">
351 <div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 2}checked{/if}"><input name="userRegistration" id="optionsRadios2" value="2" {if isset($userRegistration) and $userRegistration eq 2}checked=""{/if} type="radio"></span></div>
352 Web Registration Only
354 <div style="clear:both"></div>
355 <label class="radio">
356 <div id="uniform-optionsRadios2" class="radio"><span class="{if isset($userRegistration) and $userRegistration eq 3}checked{/if}"><input name="userRegistration" id="optionsRadios2" value="3" {if isset($userRegistration) and $userRegistration eq 3}checked=""{/if} type="radio"></span></div>
362 <input type="hidden" name="function" value="userRegistration">
363 <input type="hidden" name="target_id" value="{$target_id}">
364 <div class="control-group">
365 <label class="control-label"></label>
366 <div class="controls">
367 <button type="submit" class="btn btn-primary" style="margin-left:5px;">Change Setting</button>
379 <script src="js/masonry.pkgd.min.js"></script>