|
@@ 561-580 (lines=20) @@
|
| 558 |
|
<?php echo $lang['edit'].' '.$lang['civ'].' '.$lang['inventory']; ?> |
| 559 |
|
</h4> |
| 560 |
|
</div> |
| 561 |
|
<?php if ($_SESSION['permissions']['edit']['inventory']) { |
| 562 |
|
?> |
| 563 |
|
<form method="post" action="<?php echo $settings['url'].'editPlayer/'.$uID; ?>" role="form"> |
| 564 |
|
<?php echo formtoken::getField() ?> |
| 565 |
|
<div class="modal-body"> |
| 566 |
|
<div class="form-group"> |
| 567 |
|
<input type="hidden" name="editType" value="civ_inv"/> |
| 568 |
|
|
| 569 |
|
<div class="row"> |
| 570 |
|
<textarea class="form-control" rows="10" |
| 571 |
|
name="civ_inv_value"><?php echo $player->civ_gear; ?></textarea> |
| 572 |
|
</div> |
| 573 |
|
</div> |
| 574 |
|
</div> |
| 575 |
|
<div class="modal-footer"> |
| 576 |
|
<button class="btn btn-default" data-dismiss="modal" type="reset">Close</button> |
| 577 |
|
<button class="btn btn-primary" type="submit"><?php echo $lang['subChange']; ?></button> |
| 578 |
|
</div> |
| 579 |
|
</form> |
| 580 |
|
<?php |
| 581 |
|
} else { |
| 582 |
|
errorMessage(5, $lang); |
| 583 |
|
} ?> |
|
@@ 598-617 (lines=20) @@
|
| 595 |
|
<?php echo $lang['edit'].' '.$lang['medic'].' '.$lang['inventory']; ?> |
| 596 |
|
</h4> |
| 597 |
|
</div> |
| 598 |
|
<?php if ($_SESSION['permissions']['edit']['inventory']) { |
| 599 |
|
?> |
| 600 |
|
<form method="post" action="<?php echo $settings['url'].'editPlayer/'.$uID; ?>" role="form"> |
| 601 |
|
<?php echo formtoken::getField() ?> |
| 602 |
|
<div class="modal-body"> |
| 603 |
|
<div class="form-group"> |
| 604 |
|
<input type="hidden" name="editType" value="med_inv"/> |
| 605 |
|
|
| 606 |
|
<div class="row"> |
| 607 |
|
<textarea class="form-control" rows="10" |
| 608 |
|
name="med_inv_value"><?php echo $player->med_gear; ?></textarea> |
| 609 |
|
</div> |
| 610 |
|
</div> |
| 611 |
|
</div> |
| 612 |
|
<div class="modal-footer"> |
| 613 |
|
<button class="btn btn-default" data-dismiss="modal" type="reset">Close</button> |
| 614 |
|
<button class="btn btn-primary" type="submit"><?php echo $lang['subChange']; ?></button> |
| 615 |
|
</div> |
| 616 |
|
</form> |
| 617 |
|
<?php |
| 618 |
|
} else { |
| 619 |
|
errorMessage(5, $lang); |
| 620 |
|
} ?> |
|
@@ 635-654 (lines=20) @@
|
| 632 |
|
<?php echo $lang['edit'].' '.$lang['police'].' '.$lang['inventory']; ?> |
| 633 |
|
</h4> |
| 634 |
|
</div> |
| 635 |
|
<?php if ($_SESSION['permissions']['edit']['inventory']) { |
| 636 |
|
?> |
| 637 |
|
<form method="post" action="<?php echo $settings['url'].'editPlayer/'.$uID; ?>" role="form"> |
| 638 |
|
<?php echo formtoken::getField() ?> |
| 639 |
|
<div class="modal-body"> |
| 640 |
|
<div class="form-group"> |
| 641 |
|
<input type="hidden" name="editType" value="cop_inv"/> |
| 642 |
|
|
| 643 |
|
<div class="row"> |
| 644 |
|
<textarea class="form-control" rows="10" |
| 645 |
|
name="cop_inv_value"><?php echo $player->cop_gear; ?></textarea> |
| 646 |
|
</div> |
| 647 |
|
</div> |
| 648 |
|
</div> |
| 649 |
|
<div class="modal-footer"> |
| 650 |
|
<button class="btn btn-default" data-dismiss="modal" type="reset">Close</button> |
| 651 |
|
<button class="btn btn-primary" type="submit"><?php echo $lang['subChange']; ?></button> |
| 652 |
|
</div> |
| 653 |
|
</form> |
| 654 |
|
<?php |
| 655 |
|
} else { |
| 656 |
|
errorMessage(5, $lang); |
| 657 |
|
} ?> |
|
@@ 671-690 (lines=20) @@
|
| 668 |
|
<?php echo $lang['new'].' '.$lang['note']; ?> |
| 669 |
|
</h4> |
| 670 |
|
</div> |
| 671 |
|
<?php if ($_SESSION['permissions']['edit']['notes']) { |
| 672 |
|
?> |
| 673 |
|
<form method="post" action="<?php echo $settings['url'].'editPlayer/'.$uID; ?>" role="form"> |
| 674 |
|
<div class="modal-body"> |
| 675 |
|
<?php echo formtoken::getField() ?> |
| 676 |
|
<div class="form-group"> |
| 677 |
|
<input type="hidden" name="editType" value="add_note"/> |
| 678 |
|
|
| 679 |
|
<div class="row"> |
| 680 |
|
<div class="form-group"> |
| 681 |
|
<textarea class="form-control" rows="8" name="note_text"></textarea> |
| 682 |
|
</div> |
| 683 |
|
</div> |
| 684 |
|
</div> |
| 685 |
|
</div> |
| 686 |
|
<div class="modal-footer"> |
| 687 |
|
<button class="btn btn-default" data-dismiss="modal" type="reset">Close</button> |
| 688 |
|
<button class="btn btn-primary" type="submit"><?php echo $lang['subChange']; ?></button> |
| 689 |
|
</div> |
| 690 |
|
</form> |
| 691 |
|
<?php |
| 692 |
|
} else { |
| 693 |
|
errorMessage(5, $lang); |