forked from server/landingpage
38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
<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>
|