one can see if there is a open clan challenge :)

main
hecht 13 years ago
parent 646090ae7a
commit 2978ec551c

@ -10,6 +10,7 @@ ignore_user_abort(true);
// einmaliges Hinzufuegen der wichtigen Datei config.php // einmaliges Hinzufuegen der wichtigen Datei config.php
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php'); include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php'); include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/parse.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/clan_fights.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/ads.inc.php'); include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/config/ads.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/schnell_start.inc.php'); include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/schnell_start.inc.php');
include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/messagefunctions.inc.php'); include_once($_SERVER['DOCUMENT_ROOT'].'ag/include/messagefunctions.inc.php');
@ -214,17 +215,24 @@ $agb = $_REQUEST['agb'];
<center><table cellpadding="0" cellspacing="0" width=680> <center><table cellpadding="0" cellspacing="0" width=680>
<tr> <tr>
<?php <?php
if($nnn_nn!=0) $ids = count(getOpenChallengeIDs($user_ida['clan']));
if($nnn_nn>1){
echo "<td colspan=3 align=center id=pn>"; if($nnn_nn!=0) {
echo "**Du hast $nnn_nn ungelesene Nachrichten. <a href=index.php?as=nachricht id=pn>Klicke hier um zu deinem Postfach zu gelangen.</a>**"; echo '<td colspan="3" align="center" id="pn">';
} echo '**Du hast '.$nnn_nn.' ungelesene Nachrichten. <a href="index.php?as=nachricht" id="pn">Klicke hier um zu deinem Postfach zu gelangen.</a>**</td>';
else{ }
echo "<td colspan=3 align=center id=pn>";
echo "**Du hast $nnn_nn ungelesene Nachricht. <a href=index.php?as=nachricht id=pn>Klicke hier um zu deinem Postfach zu gelangen.</a>**"; if($nnn_nn != 0 && $ids != 0) {
} echo '</tr><tr>';
}
if($ids != 0) {
echo '<td colspan="3" align="center" id="pn">';
echo '**Es gibt derzeit '.$ids.' offene Clan-Kämpfe. <a href="index.php?as=clan/kampf_info" id="pn">Klicke hier um zum Clan-Kampf Menü zu gelangen.</a>**</td>';
}
?> ?>
</td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>

Loading…
Cancel
Save