mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
change spaces to tabs
This commit is contained in:
parent
6c4b3dea96
commit
7bc20b0993
@ -19,23 +19,23 @@ $guilds_list->orderBy("name");
|
|||||||
$guilds = array();
|
$guilds = array();
|
||||||
if(count($guilds_list) > 0)
|
if(count($guilds_list) > 0)
|
||||||
{
|
{
|
||||||
foreach ($guilds_list as $guild) {
|
foreach ($guilds_list as $guild) {
|
||||||
$guild_logo = $guild->getCustomField('logo_name');
|
$guild_logo = $guild->getCustomField('logo_name');
|
||||||
if (empty($guild_logo) || !file_exists(GUILD_IMAGES_DIR . $guild_logo))
|
if (empty($guild_logo) || !file_exists(GUILD_IMAGES_DIR . $guild_logo))
|
||||||
$guild_logo = "default.gif";
|
$guild_logo = "default.gif";
|
||||||
|
|
||||||
$description = $guild->getCustomField('description');
|
$description = $guild->getCustomField('description');
|
||||||
$description_with_lines = str_replace(array("\r\n", "\n", "\r"), '<br />', $description, $count);
|
$description_with_lines = str_replace(array("\r\n", "\n", "\r"), '<br />', $description, $count);
|
||||||
if ($count < $config['guild_description_lines_limit'])
|
if ($count < $config['guild_description_lines_limit'])
|
||||||
$description = wordwrap(nl2br($description), 60, "<br />", true);
|
$description = wordwrap(nl2br($description), 60, "<br />", true);
|
||||||
|
|
||||||
$guildName = $guild->getName();
|
$guildName = $guild->getName();
|
||||||
$guilds[] = array('name' => $guildName, 'logo' => $guild_logo, 'link' => getGuildLink($guildName, false), 'description' => $description);
|
$guilds[] = array('name' => $guildName, 'logo' => $guild_logo, 'link' => getGuildLink($guildName, false), 'description' => $description);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$twig->display('guilds.list.html.twig', array(
|
$twig->display('guilds.list.html.twig', array(
|
||||||
'guilds' => $guilds,
|
'guilds' => $guilds,
|
||||||
'logged' => isset($logged) ? $logged : false,
|
'logged' => isset($logged) ? $logged : false,
|
||||||
'isAdmin' => admin(),
|
'isAdmin' => admin(),
|
||||||
));
|
));
|
||||||
|
@ -49,78 +49,78 @@ $players_from_account_in_guild = array();
|
|||||||
$players_from_account_ids = array();
|
$players_from_account_ids = array();
|
||||||
if($logged)
|
if($logged)
|
||||||
{
|
{
|
||||||
$account_players = $account_logged->getPlayers();
|
$account_players = $account_logged->getPlayers();
|
||||||
foreach($account_players as $player)
|
foreach($account_players as $player)
|
||||||
{
|
{
|
||||||
$players_from_account_ids[] = $player->getId();
|
$players_from_account_ids[] = $player->getId();
|
||||||
$player_rank = $player->getRank();
|
$player_rank = $player->getRank();
|
||||||
if($player_rank->isLoaded())
|
if($player_rank->isLoaded())
|
||||||
{
|
{
|
||||||
foreach($rank_list as $rank_in_guild)
|
foreach($rank_list as $rank_in_guild)
|
||||||
{
|
{
|
||||||
if($guild_owner->isLoaded() && $rank_in_guild->isLoaded() && $player_rank->isLoaded() &&
|
if($guild_owner->isLoaded() && $rank_in_guild->isLoaded() && $player_rank->isLoaded() &&
|
||||||
$rank_in_guild->getId() == $player_rank->getId())
|
$rank_in_guild->getId() == $player_rank->getId())
|
||||||
{
|
{
|
||||||
$players_from_account_in_guild[] = $player->getName();
|
$players_from_account_in_guild[] = $player->getName();
|
||||||
if($guild_owner->getId() == $player->getId())
|
if($guild_owner->getId() == $player->getId())
|
||||||
{
|
{
|
||||||
$guild_vice = true;
|
$guild_vice = true;
|
||||||
$guild_leader = true;
|
$guild_leader = true;
|
||||||
}
|
}
|
||||||
else if($player_rank->getLevel() > 1)
|
else if($player_rank->getLevel() > 1)
|
||||||
{
|
{
|
||||||
$guild_vice = true;
|
$guild_vice = true;
|
||||||
$level_in_guild = $player_rank->getLevel();
|
$level_in_guild = $player_rank->getLevel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//show guild page
|
//show guild page
|
||||||
$guild_logo = $guild->getCustomField('logo_name');
|
$guild_logo = $guild->getCustomField('logo_name');
|
||||||
if(empty($guild_logo) || !file_exists(GUILD_IMAGES_DIR . $guild_logo))
|
if(empty($guild_logo) || !file_exists(GUILD_IMAGES_DIR . $guild_logo))
|
||||||
$guild_logo = "default.gif";
|
$guild_logo = "default.gif";
|
||||||
|
|
||||||
$description = $guild->getCustomField('description');
|
$description = $guild->getCustomField('description');
|
||||||
$description_with_lines = str_replace(array("\r\n", "\n", "\r"), '<br />', $description, $count);
|
$description_with_lines = str_replace(array("\r\n", "\n", "\r"), '<br />', $description, $count);
|
||||||
if($count < $config['guild_description_lines_limit'])
|
if($count < $config['guild_description_lines_limit'])
|
||||||
$description = wordwrap(nl2br($description), 60, "<br />", true);
|
$description = wordwrap(nl2br($description), 60, "<br />", true);
|
||||||
//$description = $description_with_lines;
|
//$description = $description_with_lines;
|
||||||
|
|
||||||
$guild_owner = $guild->getOwner();
|
$guild_owner = $guild->getOwner();
|
||||||
if($guild_owner->isLoaded())
|
if($guild_owner->isLoaded())
|
||||||
$guild_owner_name = $guild_owner->getName();
|
$guild_owner_name = $guild_owner->getName();
|
||||||
|
|
||||||
$guild_members = array();
|
$guild_members = array();
|
||||||
foreach($rank_list as $rank)
|
foreach($rank_list as $rank)
|
||||||
{
|
{
|
||||||
if($db->hasTable(GUILD_MEMBERS_TABLE))
|
if($db->hasTable(GUILD_MEMBERS_TABLE))
|
||||||
$players_with_rank = $db->query('SELECT `players`.`id` as `id`, `' . GUILD_MEMBERS_TABLE . '`.`rank_id` as `rank_id` FROM `players`, `' . GUILD_MEMBERS_TABLE . '` WHERE `' . GUILD_MEMBERS_TABLE . '`.`rank_id` = ' . $rank->getId() . ' AND `players`.`id` = `' . GUILD_MEMBERS_TABLE . '`.`player_id` ORDER BY `name`;');
|
$players_with_rank = $db->query('SELECT `players`.`id` as `id`, `' . GUILD_MEMBERS_TABLE . '`.`rank_id` as `rank_id` FROM `players`, `' . GUILD_MEMBERS_TABLE . '` WHERE `' . GUILD_MEMBERS_TABLE . '`.`rank_id` = ' . $rank->getId() . ' AND `players`.`id` = `' . GUILD_MEMBERS_TABLE . '`.`player_id` ORDER BY `name`;');
|
||||||
else if($db->hasColumn('players', 'rank_id'))
|
else if($db->hasColumn('players', 'rank_id'))
|
||||||
$players_with_rank = $db->query('SELECT `id`, `rank_id` FROM `players` WHERE `rank_id` = ' . $rank->getId() . ' AND `deleted` = 0;');
|
$players_with_rank = $db->query('SELECT `id`, `rank_id` FROM `players` WHERE `rank_id` = ' . $rank->getId() . ' AND `deleted` = 0;');
|
||||||
|
|
||||||
$players_with_rank_number = $players_with_rank->rowCount();
|
$players_with_rank_number = $players_with_rank->rowCount();
|
||||||
if($players_with_rank_number > 0)
|
if($players_with_rank_number > 0)
|
||||||
{
|
{
|
||||||
$members = array();
|
$members = array();
|
||||||
foreach($players_with_rank as $result)
|
foreach($players_with_rank as $result)
|
||||||
{
|
{
|
||||||
$player = new OTS_Player();
|
$player = new OTS_Player();
|
||||||
$player->load($result['id']);
|
$player->load($result['id']);
|
||||||
if(!$player->isLoaded())
|
if(!$player->isLoaded())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$members[] = $player;
|
$members[] = $player;
|
||||||
}
|
}
|
||||||
|
|
||||||
$guild_members[] = array(
|
$guild_members[] = array(
|
||||||
'rank_name' => $rank->getName(),
|
'rank_name' => $rank->getName(),
|
||||||
'rank_level' => $rank->getLevel(),
|
'rank_level' => $rank->getLevel(),
|
||||||
'members' => $members
|
'members' => $members
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
include(SYSTEM . 'libs/pot/InvitesDriver.php');
|
include(SYSTEM . 'libs/pot/InvitesDriver.php');
|
||||||
@ -129,37 +129,37 @@ $invited_list = $guild->listInvites();
|
|||||||
$show_accept_invite = 0;
|
$show_accept_invite = 0;
|
||||||
if($logged && count($invited_list) > 0)
|
if($logged && count($invited_list) > 0)
|
||||||
{
|
{
|
||||||
foreach($invited_list as $invited_player)
|
foreach($invited_list as $invited_player)
|
||||||
{
|
{
|
||||||
if(count($account_players) > 0)
|
if(count($account_players) > 0)
|
||||||
{
|
{
|
||||||
foreach($account_players as $player_from_acc)
|
foreach($account_players as $player_from_acc)
|
||||||
{
|
{
|
||||||
if($player_from_acc->isLoaded() && $invited_player->isLoaded() && $player_from_acc->getName() == $invited_player->getName())
|
if($player_from_acc->isLoaded() && $invited_player->isLoaded() && $player_from_acc->getName() == $invited_player->getName())
|
||||||
$show_accept_invite++;
|
$show_accept_invite++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$useGuildNick = false;
|
$useGuildNick = false;
|
||||||
if($db->hasColumn('players', 'guildnick'))
|
if($db->hasColumn('players', 'guildnick'))
|
||||||
$useGuildNick = true;
|
$useGuildNick = true;
|
||||||
|
|
||||||
$twig->display('guilds.view.html.twig', array(
|
$twig->display('guilds.view.html.twig', array(
|
||||||
'logo' => $guild_logo,
|
'logo' => $guild_logo,
|
||||||
'guild_name' => $guild_name,
|
'guild_name' => $guild_name,
|
||||||
'description' => $description,
|
'description' => $description,
|
||||||
'guild_owner' => $guild_owner->isLoaded() ? $guild_owner : null,
|
'guild_owner' => $guild_owner->isLoaded() ? $guild_owner : null,
|
||||||
'guild_creation_date' => $guild->getCreationData(),
|
'guild_creation_date' => $guild->getCreationData(),
|
||||||
'guild_members' => $guild_members,
|
'guild_members' => $guild_members,
|
||||||
'players_from_account_ids' => $players_from_account_ids,
|
'players_from_account_ids' => $players_from_account_ids,
|
||||||
'players_from_account_in_guild' => $players_from_account_in_guild,
|
'players_from_account_in_guild' => $players_from_account_in_guild,
|
||||||
'level_in_guild' => $level_in_guild,
|
'level_in_guild' => $level_in_guild,
|
||||||
'isLeader' => $guild_leader,
|
'isLeader' => $guild_leader,
|
||||||
'isVice' => $guild_vice,
|
'isVice' => $guild_vice,
|
||||||
'logged' => $logged,
|
'logged' => $logged,
|
||||||
'invited_list' => $invited_list,
|
'invited_list' => $invited_list,
|
||||||
'show_accept_invite' => $show_accept_invite,
|
'show_accept_invite' => $show_accept_invite,
|
||||||
'useGuildNick' => $useGuildNick
|
'useGuildNick' => $useGuildNick
|
||||||
));
|
));
|
||||||
|
@ -1,162 +1,162 @@
|
|||||||
<div class="TableContainer">
|
<div class="TableContainer">
|
||||||
<div class="CaptionContainer">
|
<div class="CaptionContainer">
|
||||||
<div class="CaptionInnerContainer">
|
<div class="CaptionInnerContainer">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
<div class="Text">Active Guilds on {{ config.lua.serverName }}</div>
|
<div class="Text">Active Guilds on {{ config.lua.serverName }}</div>
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="Table3">
|
<table class="Table3">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="InnerTableContainer">
|
<div class="InnerTableContainer">
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="TableShadowContainerRightTop">
|
<div class="TableShadowContainerRightTop">
|
||||||
<div class="TableShadowRightTop" style="background-image:url({{ template_path }}/images/content/table-shadow-rt.gif);"></div>
|
<div class="TableShadowRightTop" style="background-image:url({{ template_path }}/images/content/table-shadow-rt.gif);"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="TableContentAndRightShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-rm.gif);">
|
<div class="TableContentAndRightShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-rm.gif);">
|
||||||
<div class="TableContentContainer">
|
<div class="TableContentContainer">
|
||||||
<table class="TableContent" width="100%">
|
<table class="TableContent" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
{% if guilds|length > 0 %}
|
{% if guilds|length > 0 %}
|
||||||
<tr bgcolor="{{ config.darkborder }}">
|
<tr bgcolor="{{ config.darkborder }}">
|
||||||
<td width="64"><b>Logo</b></td>
|
<td width="64"><b>Logo</b></td>
|
||||||
<td><b>Description</b></td>
|
<td><b>Description</b></td>
|
||||||
<td width="12%"><b> </b></td>
|
<td width="12%"><b> </b></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{% set i = 0 %}
|
{% set i = 0 %}
|
||||||
{% for guild in guilds %}
|
{% for guild in guilds %}
|
||||||
{% set i = i + 1 %}
|
{% set i = i + 1 %}
|
||||||
<tr bgcolor="{{ getStyle(i) }}">
|
<tr bgcolor="{{ getStyle(i) }}">
|
||||||
<td>
|
<td>
|
||||||
<img src="{{ constant('GUILD_IMAGES_DIR') }}{{ guild.logo }}" width="64" height="64">
|
<img src="{{ constant('GUILD_IMAGES_DIR') }}{{ guild.logo }}" width="64" height="64">
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<span{% if guild.description is not empty %} valign="top"{% endif %}>
|
<span{% if guild.description is not empty %} valign="top"{% endif %}>
|
||||||
<b>{{ guild.name }}</b>{% if isAdmin %}<a href="?subtopic=guilds&action=delete_by_admin&guild={{ guild.name }}"> - Delete this guild (for ADMIN only!)</a>{% endif %}
|
<b>{{ guild.name }}</b>{% if isAdmin %}<a href="?subtopic=guilds&action=delete_by_admin&guild={{ guild.name }}"> - Delete this guild (for ADMIN only!)</a>{% endif %}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{% if guild.description is not empty %}
|
{% if guild.description is not empty %}
|
||||||
<br>
|
<br>
|
||||||
<span>{{ guild.description }}</span>
|
<span>{{ guild.description }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="border:0;">
|
<td style="border:0;">
|
||||||
<form action="{{ guild.link }}" method="post">
|
<form action="{{ guild.link }}" method="post">
|
||||||
{{ include('buttons.view.html.twig') }}
|
{{ include('buttons.view.html.twig') }}
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<tr bgcolor="{{ config.darkborder }}">
|
<tr bgcolor="{{ config.darkborder }}">
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
<b>Create Guild</b>
|
<b>Create Guild</b>
|
||||||
<br/>
|
<br/>
|
||||||
Actually there is no guild on server.{% if logged %} Create first! Press button "Create Guild"{% endif %}
|
Actually there is no guild on server.{% if logged %} Create first! Press button "Create Guild"{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
{% if logged %}
|
{% if logged %}
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||||
<form action="?subtopic=guilds&action=create" method="post">
|
<form action="?subtopic=guilds&action=create" method="post">
|
||||||
<form action="?subtopic=guilds&action=create" method="post">
|
<form action="?subtopic=guilds&action=create" method="post">
|
||||||
{% set button_name = 'Found Guild' %}
|
{% set button_name = 'Found Guild' %}
|
||||||
{% set button_image = '_sbutton_foundguild' %}
|
{% set button_image = '_sbutton_foundguild' %}
|
||||||
{% include('buttons.base.html.twig') %}
|
{% include('buttons.base.html.twig') %}
|
||||||
</form>
|
</form>
|
||||||
</form>
|
</form>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="TableShadowContainer">
|
<div class="TableShadowContainer">
|
||||||
<div class="TableBottomShadow" style="background-image:url(https://static.tibia.com/images/global/content/table-shadow-bm.gif);">
|
<div class="TableBottomShadow" style="background-image:url(https://static.tibia.com/images/global/content/table-shadow-bm.gif);">
|
||||||
<div class="TableBottomLeftShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bl.gif);"></div>
|
<div class="TableBottomLeftShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-bl.gif);"></div>
|
||||||
<div class="TableBottomRightShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-br.gif);"></div>
|
<div class="TableBottomRightShadow" style="background-image:url({{ template_path }}/images/content/table-shadow-br.gif);"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<img src="{{ template_path }}images/general/blank.gif" width="80" height="1" border="0">
|
<img src="{{ template_path }}images/general/blank.gif" width="80" height="1" border="0">
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<table border="0" cellspacing="0" cellpadding="0">
|
<table border="0" cellspacing="0" cellpadding="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
{% if logged %}
|
{% if logged %}
|
||||||
No guild found that suits your needs?
|
No guild found that suits your needs?
|
||||||
<form action="?subtopic=guilds&action=create" method="post">
|
<form action="?subtopic=guilds&action=create" method="post">
|
||||||
{% set button_name = 'Found Guild' %}
|
{% set button_name = 'Found Guild' %}
|
||||||
{% set button_image = '_sbutton_foundguild' %}
|
{% set button_image = '_sbutton_foundguild' %}
|
||||||
{% include('buttons.base.html.twig') %}
|
{% include('buttons.base.html.twig') %}
|
||||||
</form>
|
</form>
|
||||||
{% else %}
|
{% else %}
|
||||||
<b>Before you can create a guild you must login.</b>
|
<b>Before you can create a guild you must login.</b>
|
||||||
<br/>
|
<br/>
|
||||||
<form action="?subtopic=accountmanagement&redirect={{ getLink('guilds') }}" method="post">
|
<form action="?subtopic=accountmanagement&redirect={{ getLink('guilds') }}" method="post">
|
||||||
{% include('buttons.login.html.twig') %}
|
{% include('buttons.login.html.twig') %}
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% if logged %}
|
{% if logged %}
|
||||||
<br/>
|
<br/>
|
||||||
If you have any problem with guilds try:
|
If you have any problem with guilds try:
|
||||||
<br/>
|
<br/>
|
||||||
<a href="?subtopic=guilds&action=cleanup_players">Cleanup players</a> - can't join guild/be invited? Can't create guild? Try cleanup players.
|
<a href="?subtopic=guilds&action=cleanup_players">Cleanup players</a> - can't join guild/be invited? Can't create guild? Try cleanup players.
|
||||||
<br/>
|
<br/>
|
||||||
<a href="?subtopic=guilds&action=cleanup_guilds">Cleanup guilds</a> - made guild, you are a leader, but you are not on players list? Cleanup guilds!
|
<a href="?subtopic=guilds&action=cleanup_guilds">Cleanup guilds</a> - made guild, you are a leader, but you are not on players list? Cleanup guilds!
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<img src="{{ template_path }}/images/general/blank.gif" width="80" height="1" border="0">
|
<img src="{{ template_path }}/images/general/blank.gif" width="80" height="1" border="0">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,347 +1,347 @@
|
|||||||
<div class="Border_2">
|
<div class="Border_2">
|
||||||
<div class="Border_3">
|
<div class="Border_3">
|
||||||
<div class="BoxContent">
|
<div class="BoxContent">
|
||||||
<table border="0" width="100%">
|
<table border="0" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="64">
|
<td width="64">
|
||||||
<img src="{{ constant('GUILD_IMAGES_DIR') }}{{ logo }}" width="64" height="64">
|
<img src="{{ constant('GUILD_IMAGES_DIR') }}{{ logo }}" width="64" height="64">
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td align="center" width="100%"><h1>{{ guild_name }}</h1></td>
|
<td align="center" width="100%"><h1>{{ guild_name }}</h1></td>
|
||||||
|
|
||||||
<td width="64">
|
<td width="64">
|
||||||
<img src="{{ constant('GUILD_IMAGES_DIR') }}{{ logo }}" width="64" height="64">
|
<img src="{{ constant('GUILD_IMAGES_DIR') }}{{ logo }}" width="64" height="64">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="vertical-align:top;">
|
<td style="vertical-align:top;">
|
||||||
<div class="TableContainer">
|
<div class="TableContainer">
|
||||||
<div class="TableContainer">
|
<div class="TableContainer">
|
||||||
<div class="CaptionContainer">
|
<div class="CaptionContainer">
|
||||||
<div class="CaptionInnerContainer">
|
<div class="CaptionInnerContainer">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
<div class="Text">Guild Information</div>
|
<div class="Text">Guild Information</div>
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="Table1" cellpadding="0" cellspacing="0">
|
<table class="Table1" cellpadding="0" cellspacing="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="InnerTableContainer">
|
<div class="InnerTableContainer">
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div id="GuildInformationContainer">
|
<div id="GuildInformationContainer">
|
||||||
{% if descriptions is not empty %}
|
{% if descriptions is not empty %}
|
||||||
{{ description }}
|
{{ description }}
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if guild_owner is not empty %}
|
{% if guild_owner is not empty %}
|
||||||
{% set guildOwnerName = guild_owner.getName() %}
|
{% set guildOwnerName = guild_owner.getName() %}
|
||||||
|
|
||||||
<a href="{{ getPlayerLink(guildOwnerName, false) }}"><b>{{ guildOwnerName }}</b></a> is guild leader of <b>{{ guild_name }}</b>.
|
<a href="{{ getPlayerLink(guildOwnerName, false) }}"><b>{{ guildOwnerName }}</b></a> is guild leader of <b>{{ guild_name }}</b>.
|
||||||
<br>
|
<br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
The guild was founded on {{ config.lua.serverName }} on {{ guild_creation_date|date("j F Y") }}.
|
The guild was founded on {{ config.lua.serverName }} on {{ guild_creation_date|date("j F Y") }}.
|
||||||
{% if isLeader %}
|
{% if isLeader %}
|
||||||
<a href="?subtopic=guilds&action=manager&guild={{ guild_name }}" style="float: right;">
|
<a href="?subtopic=guilds&action=manager&guild={{ guild_name }}" style="float: right;">
|
||||||
<img src="{{ template_path }}/images/global/buttons/sbutton_manageguild.png" style="width: 120px; height: 20px;" alt="Manage Guild">
|
<img src="{{ template_path }}/images/global/buttons/sbutton_manageguild.png" style="width: 120px; height: 20px;" alt="Manage Guild">
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<div class="TableContainer">
|
<div class="TableContainer">
|
||||||
<div class="TableContainer">
|
<div class="TableContainer">
|
||||||
<div class="CaptionContainer">
|
<div class="CaptionContainer">
|
||||||
<div class="CaptionInnerContainer">
|
<div class="CaptionInnerContainer">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
<div class="Text">Guild Members</div>
|
<div class="Text">Guild Members</div>
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="Table3" cellpadding="0" cellspacing="0">
|
<table class="Table3" cellpadding="0" cellspacing="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="InnerTableContainer">
|
<div class="InnerTableContainer">
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="TableContentAndRightShadow">
|
<div class="TableContentAndRightShadow">
|
||||||
<div class="TableContentContainer">
|
<div class="TableContentContainer">
|
||||||
<table class="TableContent" width="100%">
|
<table class="TableContent" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="LabelH">
|
<tr class="LabelH">
|
||||||
<td>Rank</td>
|
<td>Rank</td>
|
||||||
<td>Name{% if useGuildNick %} and Title{% endif %}</td>
|
<td>Name{% if useGuildNick %} and Title{% endif %}</td>
|
||||||
<td>Vocation</td>
|
<td>Vocation</td>
|
||||||
<td>Level</td>
|
<td>Level</td>
|
||||||
<td>Status</td>
|
<td>Status</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{% set showedRank, i = false, 0 %}
|
{% set showedRank, i = false, 0 %}
|
||||||
{% for rank in guild_members if rank.members|length > 0 %}
|
{% for rank in guild_members if rank.members|length > 0 %}
|
||||||
{% set rankStyle, i = getStyle(i), i + 1 %}
|
{% set rankStyle, i = getStyle(i), i + 1 %}
|
||||||
|
|
||||||
{% for player in rank.members %}
|
{% for player in rank.members %}
|
||||||
<tr bgcolor="{{ rankStyle }}">
|
<tr bgcolor="{{ rankStyle }}">
|
||||||
<td>
|
<td>
|
||||||
{% if not showedRank %}{{ rank.rank_name }}{% endif %}
|
{% if not showedRank %}{{ rank.rank_name }}{% endif %}
|
||||||
{% set showedRank = true %}
|
{% set showedRank = true %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
{% set playerName = player.getName() %}
|
{% set playerName = player.getName() %}
|
||||||
<form action="?subtopic=guilds&action=change_nick&name={{ playerName }}&guild={{ guild_name }}" method="post">
|
<form action="?subtopic=guilds&action=change_nick&name={{ playerName }}&guild={{ guild_name }}" method="post">
|
||||||
{{ getPlayerLink(playerName, true)|raw }}
|
{{ getPlayerLink(playerName, true)|raw }}
|
||||||
|
|
||||||
{% set showGuildNick = false %}
|
{% set showGuildNick = false %}
|
||||||
{% if player.getGuildNick() is not empty %}
|
{% if player.getGuildNick() is not empty %}
|
||||||
{% set showGuildNick = true %}
|
{% set showGuildNick = true %}
|
||||||
{% set guildNickRaw = player.getGuildNick()|raw %}
|
{% set guildNickRaw = player.getGuildNick()|raw %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if logged %}
|
{% if logged %}
|
||||||
{% if player.getId() in players_from_account_ids %}
|
{% if player.getId() in players_from_account_ids %}
|
||||||
(<input type="text" name="nick" value="{{ guildNickRaw }}"><input type="submit" value="Change">)
|
(<input type="text" name="nick" value="{{ guildNickRaw }}"><input type="submit" value="Change">)
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if showGuildNick %} ({{ guildNickRaw }}){% endif %}
|
{% if showGuildNick %} ({{ guildNickRaw }}){% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if level_in_guild > rank.rank_level or isLeader %}
|
{% if level_in_guild > rank.rank_level or isLeader %}
|
||||||
{% if guildOwnerName != playerName %}
|
{% if guildOwnerName != playerName %}
|
||||||
<span style="font-size: 10px; float: right">
|
<span style="font-size: 10px; float: right">
|
||||||
{<a href="?subtopic=guilds&action=kick_player&guild={{ guild_name|url_encode }}&name={{ playerName|url_encode }}">KICK</a>}
|
{<a href="?subtopic=guilds&action=kick_player&guild={{ guild_name|url_encode }}&name={{ playerName|url_encode }}">KICK</a>}
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if showGuildNick %} ({{ guildNickRaw }}){% endif %}
|
{% if showGuildNick %} ({{ guildNickRaw }}){% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>{{ player.getVocationName() }}</td>
|
<td>{{ player.getVocationName() }}</td>
|
||||||
<td>{{ player.getLevel() }}</td>
|
<td>{{ player.getLevel() }}</td>
|
||||||
<td>
|
<td>
|
||||||
<span style="color: {% if player.isOnline() %} green;"><b>Online{% else %} red;"><b>Offline{% endif %}</b></span>
|
<span style="color: {% if player.isOnline() %} green;"><b>Online{% else %} red;"><b>Offline{% endif %}</b></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% set showedRank = false %}
|
{% set showedRank = false %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<tr bgcolor="{{ getStyle(i) }}">
|
<tr bgcolor="{{ getStyle(i) }}">
|
||||||
<td colspan="5">No guild members found.</td>
|
<td colspan="5">No guild members found.</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class="TableContainer">
|
<div class="TableContainer">
|
||||||
<div class="CaptionContainer">
|
<div class="CaptionContainer">
|
||||||
<div class="CaptionInnerContainer">
|
<div class="CaptionInnerContainer">
|
||||||
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeLeftTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeRightTop" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
<span class="CaptionBorderTop" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<span class="CaptionVerticalLeft" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
<div class="Text">Invited Characters</div>
|
<div class="Text">Invited Characters</div>
|
||||||
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
<span class="CaptionVerticalRight" style="background-image:url({{ template_path }}/images/content/box-frame-vertical.gif);"></span>
|
||||||
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
<span class="CaptionBorderBottom" style="background-image:url({{ template_path }}/images/content/table-headline-border.gif);"></span>
|
||||||
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeLeftBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
<span class="CaptionEdgeRightBottom" style="background-image:url({{ template_path }}/images/content/box-frame-edge.gif);"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="Table3" cellpadding="0" cellspacing="0">
|
<table class="Table3" cellpadding="0" cellspacing="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="InnerTableContainer">
|
<div class="InnerTableContainer">
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="TableContentContainer">
|
<div class="TableContentContainer">
|
||||||
<table class="TableContent" width="100%">
|
<table class="TableContent" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="LabelH">
|
<tr class="LabelH">
|
||||||
<td><b>Name</b></td>
|
<td><b>Name</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{% set i = 0 %}
|
{% set i = 0 %}
|
||||||
{% for invited_player in invited_list if invited_list|length > 0 %}
|
{% for invited_player in invited_list if invited_list|length > 0 %}
|
||||||
{% if invited_player.isLoaded() %}
|
{% if invited_player.isLoaded() %}
|
||||||
<tr bgcolor="{{ getStyle(i) }}">
|
<tr bgcolor="{{ getStyle(i) }}">
|
||||||
{% set i = i + 1 %}
|
{% set i = i + 1 %}
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
{{ getPlayerLink(invited_player.getName(), true)|raw }}
|
{{ getPlayerLink(invited_player.getName(), true)|raw }}
|
||||||
|
|
||||||
{% if isVice %}
|
{% if isVice %}
|
||||||
<div style="float: right">
|
<div style="float: right">
|
||||||
{<a href="?subtopic=guilds&action=delete_invite&guild={{ guild_name|url_encode }}&name={{ invited_player.getName()|url_encode }}">Cancel Invitation</a>}
|
{<a href="?subtopic=guilds&action=delete_invite&guild={{ guild_name|url_encode }}&name={{ invited_player.getName()|url_encode }}">Cancel Invitation</a>}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<tr bgcolor="{{ getStyle(i) }}">
|
<tr bgcolor="{{ getStyle(i) }}">
|
||||||
<td>
|
<td>
|
||||||
No invited characters found.
|
No invited characters found.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class="TableContainer">
|
<div class="TableContainer">
|
||||||
<table class="Table3" cellpadding="0" cellspacing="0">
|
<table class="Table3" cellpadding="0" cellspacing="0">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="InnerTableContainer">
|
<div class="InnerTableContainer">
|
||||||
<table style="width:100%;">
|
<table style="width:100%;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="TableContentContainer">
|
<div class="TableContentContainer">
|
||||||
<table class="TableContent" width="100%">
|
<table class="TableContent" width="100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
{% if not logged %}
|
{% if not logged %}
|
||||||
<form action="?subtopic=accountmanagement&redirect={{ getGuildLink(guild_name|url_encode, false) }}" method="post">
|
<form action="?subtopic=accountmanagement&redirect={{ getGuildLink(guild_name|url_encode, false) }}" method="post">
|
||||||
<td>
|
<td>
|
||||||
{{ include('buttons.login.html.twig') }}
|
{{ include('buttons.login.html.twig') }}
|
||||||
</td>
|
</td>
|
||||||
</form>
|
</form>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if show_accept_invite > 0 %}
|
{% if show_accept_invite > 0 %}
|
||||||
<form action="?subtopic=guilds&action=accept_invite&guild={{ guild_name|url_encode }}" method="post">
|
<form action="?subtopic=guilds&action=accept_invite&guild={{ guild_name|url_encode }}" method="post">
|
||||||
<td>
|
<td>
|
||||||
<input type="image" name="Accept Invite" alt="Accept Invite" src="{{ template_path }}/images/global/buttons/sbutton_acceptinvite.png" style="width: 120px; height: 20px;">
|
<input type="image" name="Accept Invite" alt="Accept Invite" src="{{ template_path }}/images/global/buttons/sbutton_acceptinvite.png" style="width: 120px; height: 20px;">
|
||||||
</td>
|
</td>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if isVice %}
|
{% if isVice %}
|
||||||
<form action="?subtopic=guilds&action=invite&guild={{ guild_name|url_encode }}" method="post">
|
<form action="?subtopic=guilds&action=invite&guild={{ guild_name|url_encode }}" method="post">
|
||||||
<td>
|
<td>
|
||||||
{% set button_name = 'Invite Character' %}
|
{% set button_name = 'Invite Character' %}
|
||||||
{% set button_image = '_sbutton_invitecharacter' %}
|
{% set button_image = '_sbutton_invitecharacter' %}
|
||||||
{% include('buttons.base.html.twig') %}
|
{% include('buttons.base.html.twig') %}
|
||||||
</td>
|
</td>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<form action="?subtopic=guilds&action=change_rank&guild={{ guild_name|url_encode }}" method="post">
|
<form action="?subtopic=guilds&action=change_rank&guild={{ guild_name|url_encode }}" method="post">
|
||||||
<td>
|
<td>
|
||||||
{% set button_name = 'Edit Ranks' %}
|
{% set button_name = 'Edit Ranks' %}
|
||||||
{% set button_image = '_sbutton_editranks' %}
|
{% set button_image = '_sbutton_editranks' %}
|
||||||
{% include('buttons.base.html.twig') %}
|
{% include('buttons.base.html.twig') %}
|
||||||
</td>
|
</td>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if players_from_account_in_guild|length > 0 %}
|
{% if players_from_account_in_guild|length > 0 %}
|
||||||
<form action="?subtopic=guilds&action=leave_guild&guild={{ guild_name|url_encode }}" method="post">
|
<form action="?subtopic=guilds&action=leave_guild&guild={{ guild_name|url_encode }}" method="post">
|
||||||
<td>
|
<td>
|
||||||
{% set button_name = 'Leave Guild' %}
|
{% set button_name = 'Leave Guild' %}
|
||||||
{% set button_image = '_sbutton_leaveguild' %}
|
{% set button_image = '_sbutton_leaveguild' %}
|
||||||
{% include('buttons.base.html.twig') %}
|
{% include('buttons.base.html.twig') %}
|
||||||
</td>
|
</td>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form action="{{ getLink('guilds') }}" method="post">
|
<form action="{{ getLink('guilds') }}" method="post">
|
||||||
<td style="float: right">
|
<td style="float: right">
|
||||||
{{ include('buttons.back.html.twig') }}
|
{{ include('buttons.back.html.twig') }}
|
||||||
</td>
|
</td>
|
||||||
</form>
|
</form>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user