mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 10:49:23 +02:00
Update guilds.php (#525)
https://otland.net/threads/znote-guilds-php-small-issue.282623/
This commit is contained in:
parent
9947d441b4
commit
001b12e762
33
guilds.php
33
guilds.php
@ -276,22 +276,23 @@ if (user_logged_in() === true) {
|
|||||||
<table>
|
<table>
|
||||||
<tr class="yellow">
|
<tr class="yellow">
|
||||||
<td>Name:</td>
|
<td>Name:</td>
|
||||||
<?php
|
<?php
|
||||||
if ($highest_access == 2 || $highest_access == 3) {
|
if ($highest_access == 2 || $highest_access == 3) {
|
||||||
echo '<td>Remove:</td>';
|
echo '<td>Remove:</td>';
|
||||||
}
|
}
|
||||||
// Shuffle through visitor characters
|
// Shuffle through visitor characters
|
||||||
for ($i = 0; $i < $char_count; $i++) {
|
$exist = false;
|
||||||
$exist = false;
|
for ($i = 0; $i < $char_count; $i++) {
|
||||||
// Shuffle through invited character, see if they match your character.
|
// Shuffle through invited character, see if they match your character.
|
||||||
if ($inv_data !== false) foreach ($inv_data as $inv) {
|
if ($inv_data !== false) foreach ($inv_data as $inv) {
|
||||||
if ($charactersId[$i] == $inv['player_id']) {
|
if ($charactersId[$i] == $inv['player_id']) {
|
||||||
$exist = true;
|
$exist = true;
|
||||||
}
|
break;
|
||||||
}
|
}
|
||||||
if ($exist) echo '<td>Join Guild:</td><td>Reject Invitation:</td>';
|
}
|
||||||
}
|
}
|
||||||
?>
|
if ($exist) echo '<td>Join Guild:</td><td>Reject Invitation:</td>';
|
||||||
|
?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$bool = false;
|
$bool = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user