@@ -131,59 +131,59 @@ discard block |
||
131 | 131 | |
132 | 132 | <div class="panel-body"> |
133 | 133 | <?php |
134 | - $alias = str_replace('"[`', "", $player->aliases); |
|
135 | - $alias = str_replace('`]"', "", $alias); |
|
136 | - |
|
137 | - echo '<center><img alt="' . $alias . '" src="' . $settings['url'] . skinImage($player->civ_gear) . '">'; |
|
138 | - echo "<h5 style='word-wrap: break-word; '> <a href='http://playerindex.de/check.aspx?id=" . $pGID . "' class='btn btn-xs btn-warning' target='_blank' role='button'>Check Playerindex Ban </a></h5>"; |
|
139 | - if ($_SESSION['permissions']['view']['steam'] && $settings['vacTest']) { |
|
140 | - echo '<div id="vacBan"></div>'; |
|
141 | - } |
|
142 | - echo "<h4>" . $lang['aliases'] . ": " . $alias . "</h4>"; |
|
143 | - echo "<h4>" . $lang['uid'] . ": " . $player->uid . "</h4>"; |
|
144 | - echo "<h4>" . $lang['playerID'] . ": " . $player->playerid . "</h4>"; |
|
145 | - echo "<h4 style='word-wrap: break-word;'>" . $lang['GUID'] . ": " . $pGID . "</h4>"; |
|
146 | - ?> |
|
134 | + $alias = str_replace('"[`', "", $player->aliases); |
|
135 | + $alias = str_replace('`]"', "", $alias); |
|
136 | + |
|
137 | + echo '<center><img alt="' . $alias . '" src="' . $settings['url'] . skinImage($player->civ_gear) . '">'; |
|
138 | + echo "<h5 style='word-wrap: break-word; '> <a href='http://playerindex.de/check.aspx?id=" . $pGID . "' class='btn btn-xs btn-warning' target='_blank' role='button'>Check Playerindex Ban </a></h5>"; |
|
139 | + if ($_SESSION['permissions']['view']['steam'] && $settings['vacTest']) { |
|
140 | + echo '<div id="vacBan"></div>'; |
|
141 | + } |
|
142 | + echo "<h4>" . $lang['aliases'] . ": " . $alias . "</h4>"; |
|
143 | + echo "<h4>" . $lang['uid'] . ": " . $player->uid . "</h4>"; |
|
144 | + echo "<h4>" . $lang['playerID'] . ": " . $player->playerid . "</h4>"; |
|
145 | + echo "<h4 style='word-wrap: break-word;'>" . $lang['GUID'] . ": " . $pGID . "</h4>"; |
|
146 | + ?> |
|
147 | 147 | <i class="fa fa-2x fa-money"></i> |
148 | 148 | <h4><?php echo $lang['cash'] . ": " . $player->cash; ?> </h4> |
149 | 149 | <i class="fa fa-2x fa-bank"></i> |
150 | 150 | <h4> <?php echo $lang['bank'] . ": " . $player->bankacc; ?> </h4> |
151 | 151 | <?php |
152 | - if ($player->arrested == 0) { |
|
153 | - echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-success'>" . $lang["not"] . " " . $lang["arrested"] . "</button></h4>"; |
|
154 | - } else { |
|
155 | - echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-theme01'>" . $lang["arrested"] . "</button></h4>"; |
|
156 | - } |
|
157 | - |
|
158 | - if ($player->blacklist == 0) { |
|
159 | - echo "<h4><button type='button' id='blacklist' class='arrest btn btn-xs btn-success'>" . $lang["not"] . " " . $lang["blacklisted"] . "</button></h4>"; |
|
160 | - } else { |
|
161 | - echo "<h4><button type='button' id='blacklist' class='arrest btn btn-xs btn-theme01'>" . $lang["blacklisted"] . "</button></h4>"; |
|
162 | - } |
|
163 | - |
|
164 | - if ($settings['wanted'] && ($_SESSION['permissions']['view']['wanted'] || $player->playerid == $_SESSION['playerid'])) { |
|
165 | - $sql = "SELECT `active` FROM `wanted` WHERE `wantedID` = '" . $player->playerid . "'"; |
|
166 | - $result_of_query = $db_link->query($sql); |
|
167 | - if ($result_of_query->num_rows > 0) { |
|
168 | - while ($row = mysqli_fetch_assoc($result_of_query)) { |
|
169 | - if ($row["active"] == 1) { |
|
170 | - echo "<h4><a href='" . $settings['url'] . "editwanted/" . $player->playerid . "' class='label label-danger'>" . $lang["wanted"] . "</span></h4>"; |
|
171 | - } else { |
|
172 | - echo "<h4><span class='label label-success'>" . $lang["not"] . " " . $lang["wanted"] . "</span></h4>"; |
|
173 | - } |
|
174 | - } |
|
175 | - } else { |
|
176 | - echo "<h4><span class='label label-success'>" . $lang["not"] . " " . $lang["wanted"] . "</span></h4>"; |
|
177 | - } |
|
178 | - } |
|
179 | - |
|
180 | - if ($_SESSION['permissions']['edit']['player']) { |
|
181 | - echo '<a data-toggle="modal" href="#edit_player" class="btn btn-primary btn-xs" style="float: right;">'; |
|
182 | - echo '<i class="fa fa-pencil"></i>'; |
|
183 | - echo '</a>'; |
|
184 | - } |
|
185 | - echo "</center>"; |
|
186 | - ?> |
|
152 | + if ($player->arrested == 0) { |
|
153 | + echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-success'>" . $lang["not"] . " " . $lang["arrested"] . "</button></h4>"; |
|
154 | + } else { |
|
155 | + echo "<h4><button type='button' id='arrested' class='arrest btn btn-xs btn-theme01'>" . $lang["arrested"] . "</button></h4>"; |
|
156 | + } |
|
157 | + |
|
158 | + if ($player->blacklist == 0) { |
|
159 | + echo "<h4><button type='button' id='blacklist' class='arrest btn btn-xs btn-success'>" . $lang["not"] . " " . $lang["blacklisted"] . "</button></h4>"; |
|
160 | + } else { |
|
161 | + echo "<h4><button type='button' id='blacklist' class='arrest btn btn-xs btn-theme01'>" . $lang["blacklisted"] . "</button></h4>"; |
|
162 | + } |
|
163 | + |
|
164 | + if ($settings['wanted'] && ($_SESSION['permissions']['view']['wanted'] || $player->playerid == $_SESSION['playerid'])) { |
|
165 | + $sql = "SELECT `active` FROM `wanted` WHERE `wantedID` = '" . $player->playerid . "'"; |
|
166 | + $result_of_query = $db_link->query($sql); |
|
167 | + if ($result_of_query->num_rows > 0) { |
|
168 | + while ($row = mysqli_fetch_assoc($result_of_query)) { |
|
169 | + if ($row["active"] == 1) { |
|
170 | + echo "<h4><a href='" . $settings['url'] . "editwanted/" . $player->playerid . "' class='label label-danger'>" . $lang["wanted"] . "</span></h4>"; |
|
171 | + } else { |
|
172 | + echo "<h4><span class='label label-success'>" . $lang["not"] . " " . $lang["wanted"] . "</span></h4>"; |
|
173 | + } |
|
174 | + } |
|
175 | + } else { |
|
176 | + echo "<h4><span class='label label-success'>" . $lang["not"] . " " . $lang["wanted"] . "</span></h4>"; |
|
177 | + } |
|
178 | + } |
|
179 | + |
|
180 | + if ($_SESSION['permissions']['edit']['player']) { |
|
181 | + echo '<a data-toggle="modal" href="#edit_player" class="btn btn-primary btn-xs" style="float: right;">'; |
|
182 | + echo '<i class="fa fa-pencil"></i>'; |
|
183 | + echo '</a>'; |
|
184 | + } |
|
185 | + echo "</center>"; |
|
186 | + ?> |
|
187 | 187 | </div> |
188 | 188 | </div> |
189 | 189 | </div> |
@@ -249,119 +249,119 @@ discard block |
||
249 | 249 | </ul> |
250 | 250 | </li> |
251 | 251 | <?php |
252 | - if ($_SESSION['permissions']['edit']['houses']) { |
|
253 | - echo '<li><a href="#house" data-toggle="tab">' . $lang['houses'] . '</a></li>'; |
|
254 | - } |
|
255 | - if ($_SESSION['permissions']['edit']['vehicles']) { |
|
256 | - echo '<li><a href="#veh" data-toggle="tab">' . $lang['vehicles'] . '</a></li>'; |
|
257 | - } |
|
258 | - if ($_SESSION['permissions']['edit']['notes']) { |
|
259 | - echo '<li><a href="#notes" data-toggle="tab"> Notes</a></li>'; |
|
260 | - } |
|
261 | - if ($_SESSION['permissions']['view']['wanted'] && $settings['wanted']) { |
|
262 | - echo '<li><a href="#wanted" data-toggle="tab">' . $lang['wanted'] . '</a></li>'; |
|
263 | - } |
|
264 | - ?> |
|
252 | + if ($_SESSION['permissions']['edit']['houses']) { |
|
253 | + echo '<li><a href="#house" data-toggle="tab">' . $lang['houses'] . '</a></li>'; |
|
254 | + } |
|
255 | + if ($_SESSION['permissions']['edit']['vehicles']) { |
|
256 | + echo '<li><a href="#veh" data-toggle="tab">' . $lang['vehicles'] . '</a></li>'; |
|
257 | + } |
|
258 | + if ($_SESSION['permissions']['edit']['notes']) { |
|
259 | + echo '<li><a href="#notes" data-toggle="tab"> Notes</a></li>'; |
|
260 | + } |
|
261 | + if ($_SESSION['permissions']['view']['wanted'] && $settings['wanted']) { |
|
262 | + echo '<li><a href="#wanted" data-toggle="tab">' . $lang['wanted'] . '</a></li>'; |
|
263 | + } |
|
264 | + ?> |
|
265 | 265 | </ul> |
266 | 266 | <div class="panel-body"> |
267 | 267 | <div id="myTabContent" class="tab-content"> |
268 | 268 | <?php if ($_SESSION['permissions']['view']['licences'] || $player->playerid == $_SESSION['playerid']) { ?> |
269 | 269 | <div class="tab-pane fade in active well" id="civ_lic"> |
270 | 270 | <?php |
271 | - if ($player->civ_licenses !== '"[]"' && $player->civ_licenses !== '') { |
|
272 | - echo '<h4 style="centred">' . $lang['civil'] . ' ' . $lang['licenses'] . '</h4>'; |
|
273 | - $return = stripArray($player->civ_licenses, 0); |
|
274 | - foreach ($return as $value) { |
|
275 | - if (strpos($value, "1") == TRUE) { |
|
276 | - $name = before(',', $value); |
|
277 | - echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-success' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
278 | - } else { |
|
279 | - $name = before(',', $value); |
|
280 | - echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-theme01' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
281 | - } |
|
282 | - } |
|
283 | - } else { |
|
284 | - echo '<h4>' . errorMessage(371, $lang) . '</h4>'; |
|
285 | - } ?> |
|
271 | + if ($player->civ_licenses !== '"[]"' && $player->civ_licenses !== '') { |
|
272 | + echo '<h4 style="centred">' . $lang['civil'] . ' ' . $lang['licenses'] . '</h4>'; |
|
273 | + $return = stripArray($player->civ_licenses, 0); |
|
274 | + foreach ($return as $value) { |
|
275 | + if (strpos($value, "1") == TRUE) { |
|
276 | + $name = before(',', $value); |
|
277 | + echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-success' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
278 | + } else { |
|
279 | + $name = before(',', $value); |
|
280 | + echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-theme01' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
281 | + } |
|
282 | + } |
|
283 | + } else { |
|
284 | + echo '<h4>' . errorMessage(371, $lang) . '</h4>'; |
|
285 | + } ?> |
|
286 | 286 | </div> |
287 | 287 | <div class="tab-pane well fade" id="medic_lic"> |
288 | 288 | <?php |
289 | - if ($player->med_licenses !== '"[]"' && $player->med_licenses !== '') { |
|
290 | - echo '<h4 style="centred">' . $lang['medic'] . ' ' . $lang['licenses'] . '</h4>'; |
|
291 | - $return = stripArray($player->med_licenses, 0); |
|
292 | - foreach ($return as $value) { |
|
293 | - if (strpos($value, "1") == TRUE) { |
|
294 | - $name = before(',', $value); |
|
295 | - echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-success' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
296 | - } else { |
|
297 | - $name = before(',', $value); |
|
298 | - echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-theme01' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
299 | - } |
|
300 | - } |
|
301 | - } else { |
|
302 | - echo '<h4>' . errorMessage(372, $lang) . '</h4>'; |
|
303 | - } ?> |
|
289 | + if ($player->med_licenses !== '"[]"' && $player->med_licenses !== '') { |
|
290 | + echo '<h4 style="centred">' . $lang['medic'] . ' ' . $lang['licenses'] . '</h4>'; |
|
291 | + $return = stripArray($player->med_licenses, 0); |
|
292 | + foreach ($return as $value) { |
|
293 | + if (strpos($value, "1") == TRUE) { |
|
294 | + $name = before(',', $value); |
|
295 | + echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-success' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
296 | + } else { |
|
297 | + $name = before(',', $value); |
|
298 | + echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-theme01' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
299 | + } |
|
300 | + } |
|
301 | + } else { |
|
302 | + echo '<h4>' . errorMessage(372, $lang) . '</h4>'; |
|
303 | + } ?> |
|
304 | 304 | </div> |
305 | 305 | <div class="tab-pane well fade" id="police_lic"> |
306 | 306 | <?php |
307 | - if ($player->cop_licenses !== '"[]"' && $player->cop_licenses !== '') { |
|
308 | - $return = stripArray($player->cop_licenses, 0); |
|
309 | - echo '<h4 style="centred">' . $lang['cop'] . ' ' . $lang['licenses'] . '</h4>'; |
|
310 | - foreach ($return as $value) { |
|
311 | - if (strpos($value, "1") == TRUE) { |
|
312 | - $name = before(',', $value); |
|
313 | - echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-success' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
314 | - } else { |
|
315 | - $name = before(',', $value); |
|
316 | - echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-theme01' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
317 | - } |
|
318 | - } |
|
319 | - } else { |
|
320 | - echo '<h4>' . errorMessage(373, $lang) . '</h4>'; |
|
321 | - } |
|
322 | - ?> |
|
307 | + if ($player->cop_licenses !== '"[]"' && $player->cop_licenses !== '') { |
|
308 | + $return = stripArray($player->cop_licenses, 0); |
|
309 | + echo '<h4 style="centred">' . $lang['cop'] . ' ' . $lang['licenses'] . '</h4>'; |
|
310 | + foreach ($return as $value) { |
|
311 | + if (strpos($value, "1") == TRUE) { |
|
312 | + $name = before(',', $value); |
|
313 | + echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-success' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
314 | + } else { |
|
315 | + $name = before(',', $value); |
|
316 | + echo "<button type='button' id=" . $name . " class='license btn btn-xs btn-theme01' style='margin-bottom: 3px;'>" . licName($name, $license) . "</button> "; |
|
317 | + } |
|
318 | + } |
|
319 | + } else { |
|
320 | + echo '<h4>' . errorMessage(373, $lang) . '</h4>'; |
|
321 | + } |
|
322 | + ?> |
|
323 | 323 | </div> |
324 | 324 | <?php } |
325 | 325 | if ($_SESSION['permissions']['edit']['inventory']) { ?> |
326 | 326 | <div class="tab-pane fade well" id="civ_inv"> |
327 | 327 | <?php |
328 | - if ($player->civ_gear !== '"[]"' && $player->civ_gear !== '') { |
|
329 | - echo '<h4 style="centred">' . $lang['civil'] . ' ' . $lang['gear'] . '</h4>'; |
|
330 | - echo "<textarea class='form-control' readonly rows='5' style='width: 100%' id='civ_gear' name='civ_gear'>" . $player->civ_gear . "</textarea><br>"; |
|
331 | - |
|
332 | - if ($_SESSION['permissions']['edit']['inventory']) { |
|
333 | - echo '<a data-toggle="modal" href="#edit_civ_inv" class="btn btn-primary btn-xs" style="float: right;">'; |
|
334 | - echo '<i class="fa fa-pencil"></i></a>'; |
|
335 | - } |
|
336 | - } else { |
|
337 | - echo '<h4>' . errorMessage(381, $lang) . '</h4>'; |
|
338 | - } ?> |
|
328 | + if ($player->civ_gear !== '"[]"' && $player->civ_gear !== '') { |
|
329 | + echo '<h4 style="centred">' . $lang['civil'] . ' ' . $lang['gear'] . '</h4>'; |
|
330 | + echo "<textarea class='form-control' readonly rows='5' style='width: 100%' id='civ_gear' name='civ_gear'>" . $player->civ_gear . "</textarea><br>"; |
|
331 | + |
|
332 | + if ($_SESSION['permissions']['edit']['inventory']) { |
|
333 | + echo '<a data-toggle="modal" href="#edit_civ_inv" class="btn btn-primary btn-xs" style="float: right;">'; |
|
334 | + echo '<i class="fa fa-pencil"></i></a>'; |
|
335 | + } |
|
336 | + } else { |
|
337 | + echo '<h4>' . errorMessage(381, $lang) . '</h4>'; |
|
338 | + } ?> |
|
339 | 339 | </div> |
340 | 340 | <div class="tab-pane fade well" id="police_inv"> |
341 | 341 | <?php |
342 | - if ($player->cop_gear !== '"[]"' && $player->cop_gear !== '') { |
|
343 | - echo '<h4 style="centred">' . $lang['cop'] . ' ' . $lang['gear'] . '</h4>'; |
|
344 | - echo "<textarea class='form-control' readonly rows='5' style='width: 100%' id='cop_gear' name='cop_gear'>" . $player->cop_gear . "</textarea><br>"; |
|
345 | - if ($_SESSION['permissions']['edit']['inventory']) { |
|
346 | - echo '<a data-toggle="modal" href="#edit_cop_inv" class="btn btn-primary btn-xs" style="float: right;">'; |
|
347 | - echo '<i class="fa fa-pencil"></i></a>'; |
|
348 | - } |
|
349 | - } else { |
|
350 | - echo '<h4>' . errorMessage(383, $lang) . '</h4>'; |
|
351 | - } ?> |
|
342 | + if ($player->cop_gear !== '"[]"' && $player->cop_gear !== '') { |
|
343 | + echo '<h4 style="centred">' . $lang['cop'] . ' ' . $lang['gear'] . '</h4>'; |
|
344 | + echo "<textarea class='form-control' readonly rows='5' style='width: 100%' id='cop_gear' name='cop_gear'>" . $player->cop_gear . "</textarea><br>"; |
|
345 | + if ($_SESSION['permissions']['edit']['inventory']) { |
|
346 | + echo '<a data-toggle="modal" href="#edit_cop_inv" class="btn btn-primary btn-xs" style="float: right;">'; |
|
347 | + echo '<i class="fa fa-pencil"></i></a>'; |
|
348 | + } |
|
349 | + } else { |
|
350 | + echo '<h4>' . errorMessage(383, $lang) . '</h4>'; |
|
351 | + } ?> |
|
352 | 352 | </div> |
353 | 353 | <div class="tab-pane fade well" id="medic_inv"> |
354 | 354 | <?php |
355 | - if ($player->med_gear !== '"[]"' && $player->med_gear !== '') { |
|
356 | - echo '<h4 style="centred">' . $lang['medic'] . ' ' . $lang['gear'] . '</h4>'; |
|
357 | - echo "<textarea class='form-control' readonly rows='5' style='width: 100%' id='med_gear' name='med_gear'>" . $player->med_gear . "</textarea><br>"; |
|
358 | - if ($_SESSION['permissions']['edit']['inventory']) { |
|
359 | - echo '<a data-toggle="modal" href="#edit_med_inv" class="btn btn-primary btn-xs" style="float: right;">'; |
|
360 | - echo '<i class="fa fa-pencil"></i></a>'; |
|
361 | - } |
|
362 | - } else { |
|
363 | - echo '<h4>' . errorMessage(382, $lang) . '</h4>'; |
|
364 | - } ?> |
|
355 | + if ($player->med_gear !== '"[]"' && $player->med_gear !== '') { |
|
356 | + echo '<h4 style="centred">' . $lang['medic'] . ' ' . $lang['gear'] . '</h4>'; |
|
357 | + echo "<textarea class='form-control' readonly rows='5' style='width: 100%' id='med_gear' name='med_gear'>" . $player->med_gear . "</textarea><br>"; |
|
358 | + if ($_SESSION['permissions']['edit']['inventory']) { |
|
359 | + echo '<a data-toggle="modal" href="#edit_med_inv" class="btn btn-primary btn-xs" style="float: right;">'; |
|
360 | + echo '<i class="fa fa-pencil"></i></a>'; |
|
361 | + } |
|
362 | + } else { |
|
363 | + echo '<h4>' . errorMessage(382, $lang) . '</h4>'; |
|
364 | + } ?> |
|
365 | 365 | </div> |
366 | 366 | <?php } |
367 | 367 | if ($_SESSION['permissions']['view']['houses'] || $player->playerid == $_SESSION['playerid']) { ?> |
@@ -677,16 +677,16 @@ discard block |
||
677 | 677 | echo "<h4>" . $lang['cop'] . ": "; |
678 | 678 | echo "<select id='player_coplvl' name='player_coplvl'>"; |
679 | 679 | for ($lvl = 0; |
680 | - $lvl <= $settings['maxLevels']['cop']; |
|
681 | - $lvl++) { |
|
680 | + $lvl <= $settings['maxLevels']['cop']; |
|
681 | + $lvl++) { |
|
682 | 682 | echo '<option value="' . $lvl . '"' . select($lvl, $player->coplevel) . '>' . $lvl . '</option>'; |
683 | 683 | } |
684 | 684 | echo "</select>"; |
685 | 685 | echo "<h4>" . $lang['medic'] . ": "; |
686 | 686 | echo "<select id='player_medlvl' name='player_medlvl'>"; |
687 | 687 | for ($lvl = 0; |
688 | - $lvl <= $settings['maxLevels']['medic']; |
|
689 | - $lvl++) { |
|
688 | + $lvl <= $settings['maxLevels']['medic']; |
|
689 | + $lvl++) { |
|
690 | 690 | echo '<option value="' . $lvl . '"' . select($lvl, $player->mediclevel) . '>' . $lvl . '</option>'; |
691 | 691 | } |
692 | 692 | echo "</select>"; |
@@ -695,16 +695,16 @@ discard block |
||
695 | 695 | echo "<h4>" . $lang['admin'] . ": "; |
696 | 696 | echo "<select id='player_adminlvl' name='player_adminlvl'>"; |
697 | 697 | for ($lvl = 0; |
698 | - $lvl <= $settings['maxLevels']['admin']; |
|
699 | - $lvl++) { |
|
698 | + $lvl <= $settings['maxLevels']['admin']; |
|
699 | + $lvl++) { |
|
700 | 700 | echo '<option value="' . $lvl . '"' . select($lvl, $player->adminlevel) . '>' . $lvl . '</option>'; |
701 | 701 | } |
702 | 702 | echo "</select>"; |
703 | 703 | echo "<h4>" . $lang['donator'] . ": "; |
704 | 704 | echo "<select id='player_donlvl' name='player_donlvl'>"; |
705 | 705 | for ($lvl = 0; |
706 | - $lvl <= $settings['maxLevels']['donator']; |
|
707 | - $lvl++) { |
|
706 | + $lvl <= $settings['maxLevels']['donator']; |
|
707 | + $lvl++) { |
|
708 | 708 | echo '<option value="' . $lvl . '"' . select($lvl, $player->$settings['donorFormat']) . '>' . $lvl . '</option>'; |
709 | 709 | } |
710 | 710 | echo "</select>"; |
@@ -262,7 +262,7 @@ |
||
262 | 262 | </table> |
263 | 263 | <?php echo '<a class="fa fa-caret-right fa-2x" style="float: right; padding-right:15px;" href="' . $settings['url'] . 'houses/' . $player->playerid . '"> More</a>'; |
264 | 264 | } else { |
265 | - echo errorMessage(31, $lang); |
|
265 | + echo errorMessage(31, $lang); |
|
266 | 266 | } ?> |
267 | 267 | </div> |
268 | 268 | </div> |