initial extras board old
This commit is contained in:
parent
55d17815a1
commit
e077408106
47
extras/alt/list.php
Executable file
47
extras/alt/list.php
Executable file
@ -0,0 +1,47 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Mitglieder der Fachschaft <?php echo $fachschaft; ?> </title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1>Mitglieder der Fachschaft <?php echo $fachschaft; ?> - Stand <?php
|
||||
echo date(DATE_RFC822)
|
||||
?></h1>
|
||||
<table>
|
||||
<tr><th>Realer Name</th><th>Username</th><th>Email</th><th>Handy</th><th>Festnetz</th><th>ICQ</th><th>Geburtstag</th><th>Amt, Schlüssel</th></tr>
|
||||
<?php
|
||||
include 'include.php';
|
||||
|
||||
$abfrage = "SELECT u.username, u.email, u.userTitle, v.userOption45, v.userOption46, v.userOption47, v.userOption28, v.userOption12, v.userOption15, v.userOption53
|
||||
FROM wcf1_user AS u, wcf1_user_option_value AS v
|
||||
WHERE u.userID = v.userID AND u.userTitle LIKE '%$fachschaft%' AND not u.usertitle LIKE '%ex-$fachschaft%' AND not u.usertitle LIKE '%$fachschaft-extern%'
|
||||
ORDER BY v.userOption47";
|
||||
$ergebnis = mysql_query($abfrage);
|
||||
|
||||
while($data = mysql_fetch_array($ergebnis)){
|
||||
echo "<tr>";
|
||||
echo "<td>".$data['userOption47']."</td>";
|
||||
echo "<td>".$data['username']."</td>";
|
||||
echo "<td>".$data['email']."</td>";
|
||||
echo "<td>".$data['userOption46']."</td>";
|
||||
echo "<td>".$data['userOption45']."</td>";
|
||||
echo "<td>".$data['userOption28']."</td>";
|
||||
echo "<td>".$data['userOption12']."</td>";
|
||||
echo "<td>".$data['userOption15'];
|
||||
if ($data['userOption53'] == "1" || $data['userOption53'] == "Ja") {
|
||||
echo ", Schlüsselbesitzer";
|
||||
}
|
||||
else {echo "";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
mysql_close($con);
|
||||
|
||||
?>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
6
extras/include.php
Executable file
6
extras/include.php
Executable file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
header('Content-Type: text/html; charset=iso-8859-1');
|
||||
|
||||
$con = mysql_connect("localhost","extras","extrauser");
|
||||
mysql_select_db("forum", $con);
|
||||
?>
|
||||
36
extras/keys.css
Executable file
36
extras/keys.css
Executable file
@ -0,0 +1,36 @@
|
||||
* {
|
||||
font-family: Trebuchet MS;
|
||||
font-size:10pt;
|
||||
}
|
||||
h1 {
|
||||
font-size:1.2em;
|
||||
}
|
||||
p {
|
||||
font-size: 1em;
|
||||
margin-left:13px;
|
||||
}
|
||||
ul,ol {
|
||||
font-size: 1em;
|
||||
}
|
||||
ul.li {
|
||||
list-style-type:square;
|
||||
}
|
||||
a {
|
||||
text-decoration:none;
|
||||
color:#124AA8;
|
||||
}
|
||||
a:hover {
|
||||
background: #FFFDD5;
|
||||
text-decoration:underline;
|
||||
color: #ff9934
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse;
|
||||
width:35%;
|
||||
}
|
||||
table,th,td {
|
||||
text-align:center;
|
||||
border:1px solid black;
|
||||
font-size: 1.2em;
|
||||
padding: 1px 4px;
|
||||
}
|
||||
50
extras/list.php
Executable file
50
extras/list.php
Executable file
@ -0,0 +1,50 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Mitglieder der Fachschaft <?php echo $fachschaft; ?> </title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1>Mitglieder der Fachschaft <?php echo $fachschaft; ?> - Stand <?php
|
||||
echo date(DATE_RFC822)
|
||||
?></h1>
|
||||
<table>
|
||||
<tr><th>Realer Name</th><th>Username</th><th>Email</th><th>Handy</th><th>Festnetz</th><th>ICQ</th><th>Geburtstag</th><th>Amt, Schlüssel</th></tr>
|
||||
<?php
|
||||
include 'include.php';
|
||||
|
||||
$abfrage = "SELECT u.username, u.email, u.userTitle, v.userOption45, v.userOption46, v.userOption47, v.userOption28, v.userOption12, v.userOption15, v.userOption53
|
||||
FROM wcf1_group AS g
|
||||
INNER JOIN wcf1_user_to_groups AS ug ON g.groupID = ug.groupID
|
||||
INNER JOIN wcf1_user AS u ON u.userID = ug.userID
|
||||
INNER JOIN wcf1_user_option_value AS v ON u.userID = v.userID
|
||||
WHERE g.groupName ='$fachschaft'
|
||||
ORDER BY v.userOption47";
|
||||
$ergebnis = mysql_query($abfrage);
|
||||
|
||||
while($data = mysql_fetch_array($ergebnis)){
|
||||
echo "<tr>";
|
||||
echo "<td>".$data['userOption47']."</td>";
|
||||
echo "<td>".$data['username']."</td>";
|
||||
echo "<td>".$data['email']."</td>";
|
||||
echo "<td>".$data['userOption46']."</td>";
|
||||
echo "<td>".$data['userOption45']."</td>";
|
||||
echo "<td>".$data['userOption28']."</td>";
|
||||
echo "<td>".$data['userOption12']."</td>";
|
||||
echo "<td>".$data['userOption15'];
|
||||
if ($data['userOption53'] == "1" || $data['userOption53'] == "Ja") {
|
||||
echo ", Schlüsselbesitzer";
|
||||
}
|
||||
else {echo "";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
mysql_close($con);
|
||||
|
||||
?>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
6
extras/neu/include.php
Executable file
6
extras/neu/include.php
Executable file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
header('Content-Type: text/html; charset=iso-8859-1');
|
||||
|
||||
$con = mysql_connect("localhost","extras","extrauser");
|
||||
mysql_select_db("forum", $con);
|
||||
?>
|
||||
50
extras/neu/list.php
Executable file
50
extras/neu/list.php
Executable file
@ -0,0 +1,50 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Mitglieder der Fachschaft <?php echo $fachschaft; ?> </title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1>Mitglieder der Fachschaft <?php echo $fachschaft; ?> - Stand <?php
|
||||
echo date(DATE_RFC822)
|
||||
?></h1>
|
||||
<table>
|
||||
<tr><th>Realer Name</th><th>Username</th><th>Email</th><th>Handy</th><th>Festnetz</th><th>ICQ</th><th>Geburtstag</th><th>Amt, Schlüssel</th></tr>
|
||||
<?php
|
||||
include 'include.php';
|
||||
|
||||
$abfrage = "SELECT u.username, u.email, u.userTitle, v.userOption45, v.userOption46, v.userOption47, v.userOption28, v.userOption12, v.userOption15, v.userOption53
|
||||
FROM wcf1_group AS g
|
||||
INNER JOIN wcf1_user_to_groups AS ug ON g.groupID = ug.groupID
|
||||
INNER JOIN wcf1_user AS u ON u.userID = ug.userID
|
||||
INNER JOIN wcf1_user_option_value AS v ON u.userID = v.userID
|
||||
WHERE g.groupName ='$fachschaft'
|
||||
ORDER BY v.userOption47";
|
||||
$ergebnis = mysql_query($abfrage);
|
||||
|
||||
while($data = mysql_fetch_array($ergebnis)){
|
||||
echo "<tr>";
|
||||
echo "<td>".$data['userOption47']."</td>";
|
||||
echo "<td>".$data['username']."</td>";
|
||||
echo "<td>".$data['email']."</td>";
|
||||
echo "<td>".$data['userOption46']."</td>";
|
||||
echo "<td>".$data['userOption45']."</td>";
|
||||
echo "<td>".$data['userOption28']."</td>";
|
||||
echo "<td>".$data['userOption12']."</td>";
|
||||
echo "<td>".$data['userOption15'];
|
||||
if ($data['userOption53'] == "1" || $data['userOption53'] == "Ja") {
|
||||
echo ", Schlüsselbesitzer";
|
||||
}
|
||||
else {echo "";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
mysql_close($con);
|
||||
|
||||
?>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
4
extras/neu/sowi.php
Executable file
4
extras/neu/sowi.php
Executable file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$fachschaft = "SOWI";
|
||||
require_once 'list.php';
|
||||
?>
|
||||
37
extras/neu/style.css
Executable file
37
extras/neu/style.css
Executable file
@ -0,0 +1,37 @@
|
||||
* {
|
||||
font-family: Trebuchet MS;
|
||||
font-size:10pt;
|
||||
}
|
||||
h1 {
|
||||
font-size:1.2em;
|
||||
text-align:center;
|
||||
}
|
||||
p {
|
||||
font-size: 1em;
|
||||
margin-left:13px;
|
||||
}
|
||||
ul,ol {
|
||||
font-size: 1em;
|
||||
}
|
||||
ul.li {
|
||||
list-style-type:square;
|
||||
}
|
||||
a {
|
||||
text-decoration:none;
|
||||
color:#124AA8;
|
||||
}
|
||||
a:hover {
|
||||
background: #FFFDD5;
|
||||
text-decoration:underline;
|
||||
color: #ff9934
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse;
|
||||
width:100%;
|
||||
}
|
||||
table,th,td {
|
||||
border:1px solid black;
|
||||
font-size: 1.2em;
|
||||
padding: 1px 4px;
|
||||
}
|
||||
|
||||
4
extras/neu/wiai.php
Executable file
4
extras/neu/wiai.php
Executable file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$fachschaft = "WIAI";
|
||||
require_once 'list.php';
|
||||
?>
|
||||
4
extras/sowi.php
Executable file
4
extras/sowi.php
Executable file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$fachschaft = "SOWI";
|
||||
require_once 'list.php';
|
||||
?>
|
||||
37
extras/sowikeys.php
Executable file
37
extras/sowikeys.php
Executable file
@ -0,0 +1,37 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Schlüsselliste der Fachschaft SOWI </title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
|
||||
<link rel="stylesheet" type="text/css" href="keys.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1>Schlüsselliste der Fachschaft SOWI - Stand <?php
|
||||
echo date(DATE_RFC822)
|
||||
?></h1>
|
||||
<table>
|
||||
<tr><th>Name</th><th>EXEK MU15</th><th>VMU1A</th><th>395</th></tr>
|
||||
<?php
|
||||
include 'include.php';
|
||||
|
||||
$abfrage = "SELECT v.userOption47, v.userOption53
|
||||
FROM wcf1_user AS u, wcf1_user_option_value AS v
|
||||
WHERE u.userID = v.userID AND u.userTitle LIKE '%SOWI%' AND not u.usertitle LIKE '%ex-SOWI%' AND not v.userOption53 LIKE 0 AND not v.userOption53 LIKE '%Nein%' AND not u.usertitle LIKE '%SOWI-extern%'
|
||||
ORDER BY v.userOption47";
|
||||
$ergebnis = mysql_query($abfrage);
|
||||
|
||||
while($data = mysql_fetch_array($ergebnis)){
|
||||
echo "<tr>";
|
||||
echo "<td>".$data['userOption47']."</td>";
|
||||
echo "<td> X </td>";
|
||||
echo "<td> </td>";
|
||||
echo "<td> </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
mysql_close($con);
|
||||
|
||||
?>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
4
extras/sowitasks.php
Executable file
4
extras/sowitasks.php
Executable file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$fachschaft = "SOWI";
|
||||
require_once 'tasks.php';
|
||||
?>
|
||||
37
extras/style.css
Executable file
37
extras/style.css
Executable file
@ -0,0 +1,37 @@
|
||||
* {
|
||||
font-family: Trebuchet MS;
|
||||
font-size:10pt;
|
||||
}
|
||||
h1 {
|
||||
font-size:1.2em;
|
||||
text-align:center;
|
||||
}
|
||||
p {
|
||||
font-size: 1em;
|
||||
margin-left:13px;
|
||||
}
|
||||
ul,ol {
|
||||
font-size: 1em;
|
||||
}
|
||||
ul.li {
|
||||
list-style-type:square;
|
||||
}
|
||||
a {
|
||||
text-decoration:none;
|
||||
color:#124AA8;
|
||||
}
|
||||
a:hover {
|
||||
background: #FFFDD5;
|
||||
text-decoration:underline;
|
||||
color: #ff9934
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse;
|
||||
width:100%;
|
||||
}
|
||||
table,th,td {
|
||||
border:1px solid black;
|
||||
font-size: 1.2em;
|
||||
padding: 1px 4px;
|
||||
}
|
||||
|
||||
35
extras/tasks.css
Executable file
35
extras/tasks.css
Executable file
@ -0,0 +1,35 @@
|
||||
* {
|
||||
font-family: Trebuchet MS;
|
||||
font-size:10pt;
|
||||
}
|
||||
h1 {
|
||||
font-size:1.2em;
|
||||
text-align:center;
|
||||
}
|
||||
p {
|
||||
font-size: 1em;
|
||||
margin-left:13px;
|
||||
}
|
||||
ul,ol {
|
||||
font-size: 1em;
|
||||
}
|
||||
ul.li {
|
||||
list-style-type:square;
|
||||
}
|
||||
a {
|
||||
text-decoration:none;
|
||||
color:#124AA8;
|
||||
}
|
||||
a:hover {
|
||||
background: #FFFDD5;
|
||||
text-decoration:underline;
|
||||
color: #ff9934
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse;
|
||||
}
|
||||
table,th,td {
|
||||
border: 1px;
|
||||
font-size: 1.2em;
|
||||
padding: 1px 4px;
|
||||
}
|
||||
60
extras/tasks.php
Executable file
60
extras/tasks.php
Executable file
@ -0,0 +1,60 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Aufgaben in der Fachschaft <?php echo $fachschaft; ?> </title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
|
||||
<link rel="stylesheet" type="text/css" href="tasks.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1>Aufgaben in der Fachschaft <?php echo $fachschaft; ?> - Stand <?php
|
||||
echo date(DATE_RFC822)
|
||||
?></h1>
|
||||
<table>
|
||||
<tr><th>Name</th><th>Amt</th><th width="50px">Weitere Aufgaben</th><th>Sonstiges</th></tr>
|
||||
<?php
|
||||
include 'include.php';
|
||||
|
||||
$abfrage = "SELECT u.username, u.email, u.userTitle, v.userOption45, v.userOption46, v.userOption47, v.userOption28, v.userOption12, v.userOption15, v.userOption53, v.amt
|
||||
FROM wcf1_user AS u, wcf1_user_option_value AS v
|
||||
WHERE u.userID = v.userID AND u.userTitle LIKE '%$fachschaft%' AND not u.usertitle LIKE '%ex-$fachschaft%' AND not u.usertitle LIKE '%$fachschaft-extern%'
|
||||
ORDER BY v.amt DESC";
|
||||
$ergebnis = mysql_query($abfrage);
|
||||
|
||||
while($data = mysql_fetch_array($ergebnis)){
|
||||
echo "<tr><td>";
|
||||
if ($data['userOption47'] != NULL){
|
||||
echo $data['userOption47'];
|
||||
}
|
||||
else {
|
||||
echo "USERNAME:";echo $data['username'];
|
||||
}
|
||||
echo "</td><td>";
|
||||
if ($data['amt'] == "10") {
|
||||
echo "Fachschaftssprecher";
|
||||
}
|
||||
elseif ($data['amt'] == "9") {
|
||||
echo "stv. Fachschaftssprecher";
|
||||
}
|
||||
elseif ($data['amt'] == "3") {
|
||||
echo "gewähltes Mitglied";
|
||||
}
|
||||
else {echo "ehrenamtliches Mitglied";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "<td>".$data['userOption15']."</td>";
|
||||
echo "<td>";
|
||||
if ($data['userOption53'] == "1" || $data['userOption53'] == "Ja" ) {
|
||||
echo "Schlüsselbesitzer";
|
||||
}
|
||||
else {echo "";
|
||||
}
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
mysql_close($con);
|
||||
|
||||
?>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
4
extras/wiai.php
Executable file
4
extras/wiai.php
Executable file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$fachschaft = "WIAI";
|
||||
require_once 'list.php';
|
||||
?>
|
||||
37
extras/wiaikeys.php
Executable file
37
extras/wiaikeys.php
Executable file
@ -0,0 +1,37 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Schlüsselliste der Fachschaft Wiai </title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
|
||||
<link rel="stylesheet" type="text/css" href="keys.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<h1>Schlüsselliste der Fachschaft WIAI - Stand <?php
|
||||
echo date(DATE_RFC822)
|
||||
?></h1>
|
||||
<table>
|
||||
<tr><th>Name</th><th>EXEK MU15</th><th>VMU1A</th><th>395</th></tr>
|
||||
<?php
|
||||
include 'include.php';
|
||||
|
||||
$abfrage = "SELECT v.userOption47, v.userOption53
|
||||
FROM wcf1_user AS u, wcf1_user_option_value AS v
|
||||
WHERE u.userID = v.userID AND u.userTitle LIKE '%WIAI%' AND not u.usertitle LIKE '%ex-WIAI%' AND not v.userOption53 LIKE 0 AND not v.userOption53 LIKE '%Nein%' AND not u.usertitle LIKE '%WIAI-extern%'
|
||||
ORDER BY v.userOption47";
|
||||
$ergebnis = mysql_query($abfrage);
|
||||
|
||||
while($data = mysql_fetch_array($ergebnis)){
|
||||
echo "<tr>";
|
||||
echo "<td>".$data['userOption47']."</td>";
|
||||
echo "<td> X </td>";
|
||||
echo "<td> </td>";
|
||||
echo "<td> </td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
|
||||
mysql_close($con);
|
||||
|
||||
?>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
4
extras/wiaitasks.php
Executable file
4
extras/wiaitasks.php
Executable file
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$fachschaft = "WIAI";
|
||||
require_once 'tasks.php';
|
||||
?>
|
||||
Loading…
x
Reference in New Issue
Block a user