first commit
This commit is contained in:
66
hauptframe.php
Executable file
66
hauptframe.php
Executable file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
$uid1=$_COOKIE["uid1"];
|
||||
if ($_COOKIE["uid1"] == ""){ include("kurs/anmeldefehler.php"); exit;} //Wenn man nicht angemeldet ist soll man nichts auswählen können
|
||||
include("kurs/datenbankanbindung.php"); // fügt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php
|
||||
$db = dbconnect();
|
||||
include("kurs/skik/skik_useronline_write.php"); // Für Statistik, wieviele User online sind
|
||||
|
||||
$result = $db->query("SELECT nachname, vorname FROM stud where uid=\"$uid1\"");
|
||||
$row = $result->fetch_array();
|
||||
|
||||
echo
|
||||
"
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=\"Content-Language\" content=\"de\">
|
||||
<link rel=\"stylesheet\" href=\"styles_pc.css\" type=\"text/css\">
|
||||
<title>Willkommen</title>
|
||||
</head>
|
||||
<body>
|
||||
<table border=\"0\" style=\"border-collapse: collapse\" width=\"100%\" cellpadding=\"0\" height=\"100%\" id=\"table1\">
|
||||
<tr>
|
||||
<td>
|
||||
<div align=\"center\">
|
||||
<table cellspacing=\"0\" cellpadding=\"0\" width=\"550\" border=\"0\">
|
||||
<tr>
|
||||
<td width=\"10\" background=\"images/box_e1.gif\">
|
||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"3%\" background=\"images/box_top.gif\" valign=\"top\"> </td>
|
||||
<td width=\"95%\" background=\"images/box_top.gif\">
|
||||
<img height=\"10\" src=\"images/blank.gif\" width=\"1\"><br>
|
||||
<font class=\"hd\"><center>Herzlich Willkommen $row[vorname] $row[nachname]</center></font>
|
||||
<img height=\"5\" src=\"images/blank.gif\" width=\"1\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e2.gif\">
|
||||
<img height=\"40\" src=\"images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width=\"1%\" background=\"images/box_l.gif\">
|
||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
||||
<td colspan=\"2\"><br>
|
||||
<p align=\"center\">Sie befinden sich im Belegungssystem für<br>Sprachkurse / Interkulturelle Kompetenzen<br>
|
||||
der Hochschule Ludwigsburg!</p>
|
||||
<p align=\"center\">Treffen Sie im linken Menü bitte Ihre Auswahl!</p>
|
||||
<p><br>
|
||||
</p>
|
||||
</td>
|
||||
<td width=\"1%\" background=\"images/box_r.gif\">
|
||||
<img height=\"1\" src=\"images/blank.gif\" width=\"22\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"1%\" background=\"images/box_e3.gif\">
|
||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"left\" width=\"98%\" background=\"images/box_bottom.gif\" colspan=\"2\">
|
||||
<img height=\"16\" src=\"images/blank.gif\" width=\"8\"></td>
|
||||
<td nowrap=\"nowrap\" align=\"right\" width=\"1%\" background=\"images/box_e4.gif\">
|
||||
<img height=\"16\" src=\"images/blank.gif\" width=\"22\"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<p><br>
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>";
|
||||
?>
|
Reference in New Issue
Block a user