diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-30 15:43:52 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-01-30 15:43:52 +0100 |
commit | 8ea6ea6db019f68436a69f36aae55a9f205efa35 (patch) | |
tree | 5c367520523c42b1935491d199b4e8f3c17b4708 /doc/nils-diplom/Dateistruktur/logout | |
parent | ec6e82dbcdc153b9973240cdff91a03b6d2dc886 (diff) | |
download | sqltutor-plugin-8ea6ea6db019f68436a69f36aae55a9f205efa35.tar.gz sqltutor-plugin-8ea6ea6db019f68436a69f36aae55a9f205efa35.tar.bz2 sqltutor-plugin-8ea6ea6db019f68436a69f36aae55a9f205efa35.zip |
doc: Nils Weber doesnt have an 'e' in his firstname
Diffstat (limited to 'doc/nils-diplom/Dateistruktur/logout')
-rwxr-xr-x | doc/nils-diplom/Dateistruktur/logout/bye.php | 69 | ||||
-rwxr-xr-x | doc/nils-diplom/Dateistruktur/logout/save.php | 15 |
2 files changed, 84 insertions, 0 deletions
diff --git a/doc/nils-diplom/Dateistruktur/logout/bye.php b/doc/nils-diplom/Dateistruktur/logout/bye.php new file mode 100755 index 0000000..1a1e8f4 --- /dev/null +++ b/doc/nils-diplom/Dateistruktur/logout/bye.php @@ -0,0 +1,69 @@ +<?php + +//include("./save.php"); + +//savestatus($_GET['user'], $_GET['lessNr']); + +$wer = $_GET['Login']; + +$message = "Um sich erneut anzumelden, klicken Sie bitte auf das Loginfeld..."; + +?> + +<head> +<title>Datenbank_Praktikum_Duesterhoeft</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> +<meta name="keywords" content="Datenbank Praktikum Duesterhoeft Hochschule Wismar"> +<meta name="description" content="Bearbeitung von Praktikumsaufgaben von zu Hause"> +<link href="/dipl/css/stilneu1.css" rel="stylesheet" type="text/css"> +</head> + +<body class="titel"> +<table width="800" height="73" border="0" cellpadding="0" cellspacing="0"> + <tr> + <td> + + <table width="800" border="0" cellpadding="2" cellspacing="0"> + <tr> + <td width="613" height="110" valign="top"> + <img src="/dipl/css/head.gif" width="555" height="100"></td> + <table class="titel" border=0 cellpadding=0 cellspacing=0> + <tr> + <td ><div >Bye...</div></td><br> + + </tr> + <tr> + <td id=tdlist1 colspan=30><div id=fliesstext><?echo " User $wer hat sich ausgelogged...";?></div></td> + </tr> + + <tr><td id=tdlistl colspan=30> </td></tr> + + </table> + + + </tr> + <tr> + <td colspan="2"><img src="/dipl/css/ekg_long.gif" width="613" height="15" border="0"> + <a href="../praktikum.php"> + <img src="/dipl/css/ekg_Login.gif" alt="logout" border="0"> + </a> + </td> + </tr> + </form> + </table> + + + <br> + <? + echo $message; + session_unset(); + //session_destroy(); + ?> + + + + + + + + diff --git a/doc/nils-diplom/Dateistruktur/logout/save.php b/doc/nils-diplom/Dateistruktur/logout/save.php new file mode 100755 index 0000000..f26b293 --- /dev/null +++ b/doc/nils-diplom/Dateistruktur/logout/save.php @@ -0,0 +1,15 @@ +<? + +include ("../connect.php"); + +function savestatus($user, $lessNr) +{ + $update = "UPDATE students SET lesson_id = '$lessNr' where stud_id = '$user'"; // update den Aufgabenstand.... + + $stmt = dbconnect($update); + + $result = OCIExecute($stmt); +} + +?> + |