summaryrefslogtreecommitdiff
path: root/doc/niels-diplom/Dateistruktur/logout
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-11-22 09:19:22 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-24 12:30:09 +0100
commit370168684765919be5da44851060e641fd502dfc (patch)
tree71dd4aea9fb3679921d3f0f7a52615f871718982 /doc/niels-diplom/Dateistruktur/logout
parentbde079b899066bec3b89b3ac659bec00a73afe8c (diff)
downloadsqltutor-plugin-370168684765919be5da44851060e641fd502dfc.tar.gz
sqltutor-plugin-370168684765919be5da44851060e641fd502dfc.tar.bz2
sqltutor-plugin-370168684765919be5da44851060e641fd502dfc.zip
Add documentation and perl/php code from niels diploma.
Diffstat (limited to 'doc/niels-diplom/Dateistruktur/logout')
-rwxr-xr-xdoc/niels-diplom/Dateistruktur/logout/bye.php69
-rwxr-xr-xdoc/niels-diplom/Dateistruktur/logout/save.php15
2 files changed, 84 insertions, 0 deletions
diff --git a/doc/niels-diplom/Dateistruktur/logout/bye.php b/doc/niels-diplom/Dateistruktur/logout/bye.php
new file mode 100755
index 0000000..1a1e8f4
--- /dev/null
+++ b/doc/niels-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>&nbsp;</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/niels-diplom/Dateistruktur/logout/save.php b/doc/niels-diplom/Dateistruktur/logout/save.php
new file mode 100755
index 0000000..f26b293
--- /dev/null
+++ b/doc/niels-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);
+}
+
+?>
+