-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommunity.php
51 lines (44 loc) · 1.77 KB
/
community.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
include "inc/header.inc.php";
//include 'inc/lang/'.$sv_server_lang.'_community.lang.php';
include "functions.php";
$db_daten=mysql_query("SELECT restyp01, restyp02, restyp03, restyp04, restyp05, score, sector, system, newtrans, newnews, allytag, status FROM de_user_data WHERE user_id='$ums_user_id'",$db);
$row = mysql_fetch_array($db_daten);
$restyp01=$row[0];$restyp02=$row[1];$restyp03=$row[2];$restyp04=$row[3];$restyp05=$row["restyp05"];
$punkte=$row["score"];$newtrans=$row["newtrans"];$newnews=$row["newnews"];
$sector=$row["sector"];$system=$row["system"];
if ($row["status"]==1) $ownally = $row["allytag"];
//irc-name aus der db auslesen
$db_daten=mysql_query("SELECT ircname FROM de_user_info WHERE user_id='$ums_user_id'",$db);
$row = mysql_fetch_array($db_daten);
$db_ircname=$row["ircname"];
?>
<html>
<head>
<title>Community</title>
<?php include "cssinclude.php";?>
</head>
<body>
<div align="center">
<?php //stelle die ressourcenleiste dar
include "resline.php";
echo '<table border="0" cellpadding="5" cellspacing="0" width="600">';
echo '<tr align="center" class="cell">';
//echo '<td><a href="irc/irc.php" target="_blank" class="btn">IRC</a></td>';
echo '<td><a href="https://discord.gg/qBpCPx4" target="_blank" class="btn">DE-Discord</a></td>';
echo '<td><a href="vote.php?bar=yes" class="btn">Umfragen</a></td>';
//echo '<td><a href="dezindex.php" target="h" class="btn">DE-Zeitung</a></td>';
echo '</tr>';
echo '<tr align="center" class="cell">';
echo '<td><a href="http://forum.bgam.es" target="_blank" class="btn">Forum</a></td>';
echo '<td><a href="http://login.bgam.es/index.php?command=forum" target="_blank" class="btn">Forum/HA</a></td>';
//echo '<td> </td>';
echo '</tr>';
echo '</table>';
echo '<br>';
?>
</div>
<br>
<?php include "fooban.php"; ?>
</body>
</html>