├── index.php
├── profil.png
├── anmelden.png
├── bearbeiten.png
├── db_druckansicht.php
├── db_navigation.php
├── ManualTextEnglish.pdf
├── ManualTextGerman.pdf
├── db_passwort_lesen.php
├── db_profil_lesen_mysqli.php
├── DUESKurzanleitungEnglish.pdf
├── DUESKurzanleitungGerman.pdf
├── db_input_aendern_mysqli.php
├── DuesseldorferSchuelerinventarInEnglish.pdf
├── DuesseldorferSchuelerinventarInGerman..pdf
├── style.css
├── db_con_func_mysqli.php
├── db_con_func.php
├── db_lesen_loeschen_aendern.php
├── db_lesen_loeschen_aendern_mysqli.php
├── README.md
├── db_passwort_lesen_mysqli.php
├── datenbank.sql
├── db_profil_lesen.php
└── db_input_aendern.php
/index.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/index.php
--------------------------------------------------------------------------------
/profil.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/profil.png
--------------------------------------------------------------------------------
/anmelden.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/anmelden.png
--------------------------------------------------------------------------------
/bearbeiten.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/bearbeiten.png
--------------------------------------------------------------------------------
/db_druckansicht.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/db_druckansicht.php
--------------------------------------------------------------------------------
/db_navigation.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/db_navigation.php
--------------------------------------------------------------------------------
/ManualTextEnglish.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/ManualTextEnglish.pdf
--------------------------------------------------------------------------------
/ManualTextGerman.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/ManualTextGerman.pdf
--------------------------------------------------------------------------------
/db_passwort_lesen.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/db_passwort_lesen.php
--------------------------------------------------------------------------------
/db_profil_lesen_mysqli.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/db_profil_lesen_mysqli.php
--------------------------------------------------------------------------------
/DUESKurzanleitungEnglish.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/DUESKurzanleitungEnglish.pdf
--------------------------------------------------------------------------------
/DUESKurzanleitungGerman.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/DUESKurzanleitungGerman.pdf
--------------------------------------------------------------------------------
/db_input_aendern_mysqli.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/db_input_aendern_mysqli.php
--------------------------------------------------------------------------------
/DuesseldorferSchuelerinventarInEnglish.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/DuesseldorferSchuelerinventarInEnglish.pdf
--------------------------------------------------------------------------------
/DuesseldorferSchuelerinventarInGerman..pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pkoopongithub/duesseldorfer-schuelerinventar-php-mysql/HEAD/DuesseldorferSchuelerinventarInGerman..pdf
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 | .schrift {
2 | font-family: Arial, Helvetica, sans-serif;
3 | font-size: 12px;
4 | color: #666666;
5 | }
6 | a:link {
7 | font-family: Arial, Verdana, Helvetica, sans-serif;
8 | font-size: 10pt;
9 | color: CC0000;
10 | text-decoration: none;
11 | }
12 |
13 | a:hover {
14 | color: CC0000;
15 | font-size: 10pt;
16 | font-family: Arial, Verdana, Helvetica, sans-serif;
17 | text-decoration: none;
18 | }
19 |
20 | a:active {
21 | font-family: Arial, Verdana, Helvetica, sans-serif;
22 | font-size: 10pt;
23 | color: CC0000;
24 | text-decoration: none;
25 | }
26 |
27 | a:visited {
28 | color: CC0000;
29 | font-size: 10pt;
30 | font-family: Arial, Verdana, Helvetica, sans-serif;
31 | text-decoration: none;
32 | }
33 | input {
34 | font-family: Arial, Helvetica, sans-serif;
35 | font-size: 10px;
36 | color: #666666;
37 | }
38 | .button {
39 | border: thin solid #999999;
40 | }
41 |
--------------------------------------------------------------------------------
/db_con_func_mysqli.php:
--------------------------------------------------------------------------------
1 |
2 | //echo"DB CON FUNC geladen ";
3 | /*
4 |
5 | $host = "localhost"; //Connectvariablen
6 | $user = "root";
7 | $pass = "";
8 | $db = "db34406101";
9 | */
10 | $host = "rdbms.strato.de"; //Connectvariablen
11 | $user = "U3517771";
12 | $pass = "dBkNpI1000Jn";
13 | $db = "DB3517771";
14 |
15 |
16 | // variablenbezeichner
17 | foreach ($_REQUEST as $variablenbezeichner => $variableninhalt)
18 | {
19 | $variablenname = $variablenbezeichner;
20 | $$variablenname = $variableninhalt;
21 | //echo "variablenname ". $variablenname." variableninhalt ".$variableninhalt." ";
22 | }
23 | $PHP_SELF=$_SERVER['PHP_SELF'];
24 | //echo "PHP_SELF ".$PHP_SELF." ";
25 |
26 |
27 |
28 | // mysql connect
29 | function connect($host,$user,$pass,$db)
30 | {
31 | $conn=mysqli_connect($host,$user,$pass,$db);
32 | if($conn)
33 | {
34 | //echo("MySQL-Verbindung steht: ");
35 | }
36 | else
37 | {
38 | die("MySQL-Verbindung steht nicht: ");
39 | }
40 | return $conn;
41 | }
42 |
43 |
44 | function deconnect($conn)
45 | {
46 | return mysqli_close($conn);
47 | }
48 |
49 | function setze_session($session)
50 | {
51 | srand((double)microtime()*1000000);
52 | if(!isset($session)){ $session = md5(uniqid($UNIQUE_ID));}
53 | return $session;
54 | }
55 |
56 | ?>
57 |
--------------------------------------------------------------------------------
/db_con_func.php:
--------------------------------------------------------------------------------
1 |
2 | /*
3 |
4 | $host = "localhost"; //Connectvariablen
5 | $user = "root";
6 | $pass = "";
7 | $db = "dbatenbank";
8 | */
9 |
10 |
11 |
12 | // variablenbezeichner
13 | foreach ($_REQUEST as $variablenbezeichner => $variableninhalt)
14 | {
15 | $variablenname = $variablenbezeichner;
16 | $$variablenname = $variableninhalt;
17 | //echo "variablenname ". $variablenname." variableninhalt ".$variableninhalt." ";
18 | }
19 | $PHP_SELF=$_SERVER['PHP_SELF'];
20 | //echo "PHP_SELF ".$PHP_SELF." ";
21 |
22 |
23 |
24 | // mysql connect
25 | function connect($host,$user,$pass)
26 | {
27 | $conn=mysql_connect($host,$user,$pass);
28 | if($conn)
29 | {
30 | //echo("MySQL-Verbindung steht: ");
31 | }
32 | else
33 | {
34 | die("MySQL-Verbindung steht nicht: ");
35 | }
36 | return $conn;
37 | }
38 |
39 | // mysql datenbank auswahlen
40 |
41 | function choise_database($conn,$db)
42 | {
43 | $result=mysql_select_db($db,$conn);
44 | if($result)
45 | {
46 | //echo("MySQL-database steht: ");
47 | }
48 | else
49 | {
50 | die("MySQL-database steht nicht: ");
51 | }
52 | return $conn;
53 | }
54 |
55 | function deconnect($conn)
56 | {
57 | return mysql_close($conn);
58 | }
59 |
60 | function setze_session($session)
61 | {
62 | srand((double)microtime()*1000000);
63 | if(!isset($session)){ $session = md5(uniqid($UNIQUE_ID));}
64 | return $session;
65 | }
66 |
67 | ?>
--------------------------------------------------------------------------------
/db_lesen_loeschen_aendern.php:
--------------------------------------------------------------------------------
1 |
2 | function db_lesen_loeschen($sql,$conn,$userID,$session)
3 | {//BEGIN db_lesen
4 | //echo $sql." ";
5 | $result=mysql_query($sql,$conn);
6 | if($result)
7 | {//BEGIN if $result
8 | $number=mysql_num_rows($result);
9 | //echo("
Es sind $number Datensaetze gelesen worden.
");
10 | if($number){//BEGIN Suchausgabe>null
11 | echo("");
17 | }//ENDE suchausgabe >null
18 | }//END if result
19 | else
20 | {//BEGIN else $result
21 | echo(" "."Errornumber= ".mysql_error($conn));
22 | }//END if result
23 | }//END db_lesen
24 |
25 | function loeschen($sql,$conn)
26 | {//BEGIN loeschen
27 | echo $sql." ";
28 | if (mysql_query($sql,$conn))
29 | {
30 | //echo"MYSQL-DELETE-OK";
31 | }
32 | else
33 | {die("MYSQL-DELETE-Fehler".mysql_error($conn));}
34 | }//ENDE loeschen
35 |
36 |
37 | // db ausgeben ausgeben
38 |
39 | $conn=connect($host,$user,$pass);
40 | $conn=choise_database($conn,$db);
41 |
42 | if($IDloeschen)
43 | {//BEGIN
44 | $sql_loeschen="DELETE FROM profil WHERE profilID like $IDloeschen";
45 | //echo $sql_loeschen." ";
46 | loeschen($sql_loeschen,$conn);
47 | }//END
48 |
49 |
50 | $sql="SELECT profil.profilID AS profilID, profil.name AS name, gruppe.name AS gruppename, gruppe.gruppeID AS gruppeID FROM profil,gruppe WHERE profil.gruppeID LIKE gruppe.gruppeID AND $userID Like profil.userID ORDER BY gruppename, name";
51 | //echo $sql." ";
52 | db_lesen_loeschen($sql,$conn,$userID,$session);
53 |
54 | $conn=deconnect($conn);
55 |
56 | ?>
--------------------------------------------------------------------------------
/db_lesen_loeschen_aendern_mysqli.php:
--------------------------------------------------------------------------------
1 |
2 | function db_lesen_loeschen($sql,$conn,$userID,$session)
3 | {//BEGIN db_lesen
4 | //echo $sql." ";
5 | $result=mysqli_query($conn,$sql);
6 | if($result)
7 | {//BEGIN if $result
8 | $number=mysqli_num_rows($result);
9 | //echo("Es sind $number Datensaetze gelesen worden.
");
10 | if($number){//BEGIN Suchausgabe>null
11 |
12 | while($row=mysqli_fetch_assoc($result))
13 | {//BEGIN row
14 | ?>
15 |
16 |
17 |
Profil
18 |
19 |
20 |
21 | echo("
");
22 | echo"
".$row['name']."
".$row['gruppename']."
"."
"."
"."
";
23 | echo("
");
24 | ?>
25 |
26 |
27 |
28 | }//END row
29 | }//ENDE suchausgabe >null
30 | }//END if result
31 | else
32 | {//BEGIN else $result
33 | echo(" "."Errornumber= ".mysqli_error($conn));
34 | }//END if result
35 | }//END db_lesen
36 |
37 | function loeschen($sql,$conn)
38 | {//BEGIN loeschen
39 | echo $sql." ";
40 | if (mysqli_query($conn,$sql))
41 | {
42 | //echo"MYSQL-DELETE-OK";
43 | }
44 | else
45 | {die("MYSQL-DELETE-Fehler".mysqli_error($conn));}
46 | }//ENDE loeschen
47 |
48 |
49 | // db ausgeben ausgeben
50 |
51 | $conn=connect($host,$user,$pass,$db);
52 |
53 | if($IDloeschen)
54 | {//BEGIN
55 | $sql_loeschen="DELETE FROM profil WHERE profilID like $IDloeschen";
56 | //echo $sql_loeschen." ";
57 | loeschen($sql_loeschen,$conn);
58 | }//END
59 |
60 |
61 | $sql="SELECT profil.profilID AS profilID, profil.name AS name, gruppe.name AS gruppename, gruppe.gruppeID AS gruppeID FROM profil,gruppe WHERE profil.gruppeID LIKE gruppe.gruppeID AND $userID Like profil.userID ORDER BY gruppename, name";
62 | //echo $sql." ";
63 | db_lesen_loeschen($sql,$conn,$userID,$session);
64 |
65 | $conn=deconnect($conn);
66 |
67 | ?>
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # duesseldorfer-schuelerinventar-spss-R
2 | SPSS R
3 | # duesseldorfer-schuelerinventar
4 | GERMAN
5 | Quelloffenes Persönlichkeitsinventar
6 |
7 | Seit 2012 dient das quelloffene Düsseldorfer Schülerinventar als Lernumgebung für Studenten der Sozialwissenschaften und Auszubildende der
8 | Markt- und Sozialforschung, der Anwendungsentwicklung und der Daten- und Prozessanalyse.
9 |
10 | Das Düsseldorfer Schülerinventar ist ein offenes, gültiges, genaues und unabhängiges Persönlichkeitsinventar für Schüler
11 | der Übergangsklassen (valide, reliabel, objektiv). Das Düsseldorfer Schülerinventar ist entwicklungsoffen.
12 | Wenn Sie an einem Open-Source-Projekt mitwirken, kennen Sie das intensive, persönliche Engagement, das zum Gelingen beiträgt.
13 | Viele Nutzer wissen und schätzen das. Aus der eigenen Kraft der Entwickler gelingt aber nicht alles,
14 | zumal vielfach nur das pure Interesse am Thema oder der Umgang mit Technologien die Basis abgibt.
15 | Nicht jeder Nutzer verfügt jedoch über die Fähigkeiten und die Zeit, um ein Projekt zu unterstützen.
16 | Verbales Feedback in Form von Fehlermeldungen ist sehr hilfreich. Für andere kann eine materielle Unterstützung die einzige Möglichkeit sein,
17 | sich an Open Source zu beteiligen. Gerne spreche ich mit Ihnen über Ihre Art der Unterstützung.
18 |
19 | Ich freue mich über wissenschaftliche Reanalysen und weitere Entwicklungsteams. Gerne stelle ich zu wissenschaftlichen
20 | Zwecken die SPSS- und R-Dateien zur Verfügung. Zur Weiterentwicklung stelle ich gerne die Quellcodes der Programme zur Verfügung
21 | (PHP, MySQL, Xcode, Android Studio, Xamarin, Lazarus).
22 |
23 | 
24 |
25 | ENGLISH
26 | Open source personality inventory Since 2012, the Düsseldorf school inventory, which is open source, has served as a learning environment for social science students and trainees at Market and social research, application development and data and process analysis. The Düsseldorf student inventory is an open, valid, precise and independent personality inventory for students of the transition classes (valid, reliable, objective). The Düsseldorf student inventory is open to development. If you are involved in an open source project, you know the intense, personal commitment that makes it a pleasure to succeed. Many users know and appreciate this. However, not everything can be achieved using the developers' own strength. especially since only the pure interest in the topic or the handling of technologies provides the basis. However, not every user has the skills and the time to support a project. Verbal feedback in the form of error messages is very helpful. For others, material support can be the only option participate in open source. I would be happy to talk to you about your type of support. I look forward to scientific reanalyses and further development teams. I am happy to provide scientific Purpose of the SPSS and R files available. I am happy to provide the source code of the program for further development (PHP, MySQL, Xcode, Android Studio, Xamarin, Lazarus).
27 |
28 | #The calibration sample is made up of students from the German education system with German language skills. A translation of the items formulated in German into another language only makes sense if a new calibration sample is drawn for this language and the educational system there.
29 |
--------------------------------------------------------------------------------
/db_passwort_lesen_mysqli.php:
--------------------------------------------------------------------------------
1 |
2 | function db_lesen_passwort($sql,$conn)
3 | {//BEGIN db_lesen
4 | //echo $sql." ";
5 | $result=mysqli_query($conn,$sql);
6 | if($result)
7 | {//BEGIN if $result
8 | $number=mysqli_num_rows($result);
9 | //echo("Es sind $number Datensaetze gelesen worden.
");
10 | if($number){//BEGIN Suchausgabe>null
11 | while($row=mysqli_fetch_assoc($result))
12 | {//BEGIN row
13 | //echo "Willkommen Sie sind angemeldet ";
14 | $userID=$row['ID'];
15 | }//END row
16 | }//ENDE suchausgabe >null
17 | return $userID;
18 | }//END if result
19 | else
20 | {//BEGIN else $result
21 | echo(" "."Errornumber= ".mysqli_error($conn));
22 | }//END if result
23 | }//END db_lesen
24 |
25 | function anmeldung_input($sql,$conn)
26 | {//BEGIN input
27 | //echo $sql." ";
28 | if (mysqli_query($conn,$sql))
29 | {
30 | //echo"MYSQL-INSERT-OK anmeldung";
31 | }
32 | else
33 | {echo("User und Passwort sind unbekannt. Wenn Sie einen eigenen Zugang wuenschen, nehmen Sie bitte Kontakt auf.");
34 | die("MYSQL-INSERT-neue Eingabe-Fehler".mysqli_error($conn));}
35 | }//ENDE input
36 |
37 | function anmeldung_ok($sql,$conn,$session,$userID)
38 | {//BEGIN db_lesen
39 | //echo $sql." ";
40 | $ok=0;
41 | $result=mysqli_query($conn,$sql);
42 | if($result)
43 | {//BEGIN if $result
44 | $number=mysqli_num_rows($result);
45 | echo("Es sind $number Datensaetze gelesen worden.
");
46 | if($number){//BEGIN Suchausgabe>null
47 | while($row=mysqli_fetch_assoc($result))
48 | {//BEGIN row
49 | //echo "Willkommen Sie sind angemeldet"." ";
50 | $ok=1;
51 | }//END row
52 | }//ENDE suchausgabe >null
53 | return $ok;
54 | }//END if result
55 | else
56 | {//BEGIN else $result
57 | echo(" "."Errornumber= ".mysqli_error($conn));
58 | }//END if result
59 | }//END db_lesen
60 |
61 | function anmeldung_loeschen($sql,$conn,$session,$userID)
62 | {//BEGIN loeschen
63 | //echo $sql." ";
64 | if (mysqli_query($conn,$sql))
65 | {
66 | //echo"MYSQL-DELETE-OK";
67 | }
68 | else
69 | {die("MYSQL-DELETE-Fehler".mysqli_error($conn));}
70 | }//ENDE loeschen
71 |
72 | // db ausgeben ausgeben
73 |
74 | ?>
75 |
76 |
77 |
78 |
81 |
82 |
83 |
84 | if($abmelden==1)
85 | {
86 | $conn=connect($host,$user,$pass,$db);
87 | $sql="DELETE FROM anmeldung WHERE (userID like $userID) AND (session LIKE \"$session\")";
88 | anmeldung_loeschen($sql,$conn,$session,$userID);
89 | $conn=deconnect($conn);
90 | }
91 | if(!isset($submit))
92 | { ?>
93 |
101 |
102 |
110 |
111 | }
112 | else
113 | {
114 | $conn=connect($host,$user,$pass,$db);
115 | //$sqlanmeldung="SELECT * FROM anmeldung WHERE (userID LIKE $userID)AND(session LIKE \"$session\");";
116 | $sql="SELECT * FROM user WHERE (user LIKE \"$benutzer\") AND (pass LIKE \"$kennwort\")";
117 | //echo $sql."
";
118 | $userID=db_lesen_passwort($sql,$conn);
119 | $session=setze_session($session);
120 | if (isset($userID))
121 | {
122 | $sql="INSERT INTO anmeldung (userID,session)VALUES($userID,\"$session\")";
123 | //echo("Willkommen ");
124 | }
125 | else
126 | {
127 | $sql="INSERT INTO user (user,pass)VALUES(\"$benutzer\",\"$kennwort\")";
128 | //echo("
Sie sind jetzt mit Username und Passwort registriert und angemeldet ");
129 | }
130 | //$sql="INSERT INTO anmeldung (userID,session)VALUES($userID,\"$session\")";
131 | anmeldung_input($sql,$conn);
132 | if (!isset($userID)) {$userID=mysqli_insert_id();
133 | $sql="INSERT INTO anmeldung (userID,session)VALUES($userID,\"$session\")";
134 | anmeldung_input($sql,$conn);
135 | }
136 | $conn=deconnect($conn);
137 | ?>
138 |
148 |
149 | }
150 |
151 | ?>
152 |
153 |
154 |
155 |
156 |
--------------------------------------------------------------------------------
/datenbank.sql:
--------------------------------------------------------------------------------
1 |
2 |
3 | DROP TABLE IF EXISTS `anmeldung`;
4 | /*!40101 SET @saved_cs_client = @@character_set_client */;
5 | /*!40101 SET character_set_client = utf8 */;
6 | CREATE TABLE `anmeldung` (
7 | `sessionID` int(11) NOT NULL AUTO_INCREMENT,
8 | `session` varchar(50) DEFAULT NULL,
9 | `userID` int(11) DEFAULT '0',
10 | `ip` varchar(50) DEFAULT NULL,
11 | `url` varchar(50) DEFAULT NULL,
12 | `date` datetime DEFAULT NULL,
13 | `time` datetime DEFAULT NULL,
14 | PRIMARY KEY (`sessionID`),
15 | KEY `sessionID` (`sessionID`),
16 | KEY `userID` (`userID`)
17 | ) ENGINE=MyISAM AUTO_INCREMENT=88 DEFAULT CHARSET=utf8;
18 | /*!40101 SET character_set_client = @saved_cs_client */;
19 |
20 | --
21 | -- Dumping data for table `anmeldung`
22 | --
23 |
24 | LOCK TABLES `anmeldung` WRITE;
25 | /*!40000 ALTER TABLE `anmeldung` DISABLE KEYS */;
26 | INSERT INTO `anmeldung` VALUES (4,'455f09524f90ee5aac1f673d3631e5b0',1,NULL,NULL,NULL,NULL),(11,'0c983e0028d5d391a15bfa22ae6c124c',1,NULL,NULL,NULL,NULL),(12,'af729f9a4890b0571ffdf7614491ab6f',1,NULL,NULL,NULL,NULL),(13,'bb44822c508bf3ff5af43dfaa68870a5',1,NULL,NULL,NULL,NULL),(15,'42f4f0af5ddb18b197a29b5c902aa777',1,NULL,NULL,NULL,NULL),(16,'2094d154a0a362787b1ced2e5180ee6d',1,NULL,NULL,NULL,NULL),(24,'729dee8041522b3d9474d80eb26211bc',2,NULL,NULL,NULL,NULL),(35,'df1dc0c95f6caf8a57b90b31e8c8290a',2,NULL,NULL,NULL,NULL),(40,'7ac5cec34d51df15dfdc32fd955fa0ac',2,NULL,NULL,NULL,NULL),(42,'e1e97d68920cf2744de4712874a44ae6',2,NULL,NULL,NULL,NULL),(44,'d0d1c70610d95b17f9655b7b4b07edb3',2,NULL,NULL,NULL,NULL),(49,'56c55b85b17d4bde48c06d1b9e9a0c2b',2,NULL,NULL,NULL,NULL),(53,'2d29db1ce7da9169e52b94bf2ac74a0c',2,NULL,NULL,NULL,NULL),(65,'91fe10b362bd37a8090cd6e68afe49f1',2,NULL,NULL,NULL,NULL),(63,'a232ff4ed4fc47c359f5af0ce961eff4',2,NULL,NULL,NULL,NULL),(66,'1923dc5ce72cbd596f63398bf5b3dfb7',2,NULL,NULL,NULL,NULL),(67,'d797014c5ce544f5b3bb34c5ebce390d',2,NULL,NULL,NULL,NULL),(76,'828a9ce171ce900cfbe60fdfe4286eef',2,NULL,NULL,NULL,NULL),(70,'3d74817f29b51d126882384e67897120',2,NULL,NULL,NULL,NULL),(81,'fd25f54bdc77e18d4f6bd57695e6027d',2,NULL,NULL,NULL,NULL),(80,'8d068980dc0e44cc03854e9eea2ed9f6',2,NULL,NULL,NULL,NULL),(82,'6b794230b937fee6bac20c2ecc17ec40',2,NULL,NULL,NULL,NULL),(83,'a70704dba8593a1d977b5ae93a71630d',2,NULL,NULL,NULL,NULL),(86,'12321e654258ded09209204e6134b6dc',2,NULL,NULL,NULL,NULL),(85,'d659e6fe353ebf0f2b452443efcf81a0',2,NULL,NULL,NULL,NULL),(87,'a4f908bbf6ca26edbb8bb63bd16acdbb',2,NULL,NULL,NULL,NULL);
27 | /*!40000 ALTER TABLE `anmeldung` ENABLE KEYS */;
28 | UNLOCK TABLES;
29 |
30 | --
31 | -- Table structure for table `gruppe`
32 | --
33 |
34 | DROP TABLE IF EXISTS `gruppe`;
35 | /*!40101 SET @saved_cs_client = @@character_set_client */;
36 | /*!40101 SET character_set_client = utf8 */;
37 | CREATE TABLE `gruppe` (
38 | `gruppeID` int(11) NOT NULL AUTO_INCREMENT,
39 | `userID` int(11) DEFAULT '0',
40 | `name` varchar(50) DEFAULT NULL,
41 | `ip` varchar(50) DEFAULT NULL,
42 | `date` datetime DEFAULT NULL,
43 | `time` datetime DEFAULT NULL,
44 | `visible` tinyint(1) DEFAULT NULL,
45 | PRIMARY KEY (`gruppeID`),
46 | KEY `gruppeID` (`gruppeID`),
47 | KEY `userID` (`userID`)
48 | ) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
49 | /*!40101 SET character_set_client = @saved_cs_client */;
50 |
51 | --
52 | -- Dumping data for table `gruppe`
53 | --
54 |
55 | LOCK TABLES `gruppe` WRITE;
56 | /*!40000 ALTER TABLE `gruppe` DISABLE KEYS */;
57 | INSERT INTO `gruppe` VALUES (1,1,'gruppe1',NULL,NULL,NULL,NULL),(2,0,'gruppe2',NULL,NULL,NULL,NULL),(3,0,'gruppe',NULL,NULL,NULL,NULL),(4,1,'gruppe4',NULL,NULL,NULL,NULL),(5,1,'gruppe4',NULL,NULL,NULL,NULL),(6,1,'test11.10.18',NULL,NULL,NULL,NULL),(7,1,'12.10.18',NULL,NULL,NULL,NULL),(8,2,'Gastprofile',NULL,NULL,NULL,NULL);
58 | /*!40000 ALTER TABLE `gruppe` ENABLE KEYS */;
59 | UNLOCK TABLES;
60 |
61 | --
62 | -- Table structure for table `item`
63 | --
64 |
65 | DROP TABLE IF EXISTS `item`;
66 | /*!40101 SET @saved_cs_client = @@character_set_client */;
67 | /*!40101 SET character_set_client = utf8 */;
68 | CREATE TABLE `item` (
69 | `ID` int(11) NOT NULL AUTO_INCREMENT,
70 | `name` varchar(50) DEFAULT NULL,
71 | PRIMARY KEY (`ID`),
72 | KEY `ID` (`ID`)
73 | ) ENGINE=MyISAM AUTO_INCREMENT=37 DEFAULT CHARSET=utf8;
74 | /*!40101 SET character_set_client = @saved_cs_client */;
75 |
76 | --
77 | -- Dumping data for table `item`
78 | --
79 |
80 | LOCK TABLES `item` WRITE;
81 | /*!40000 ALTER TABLE `item` DISABLE KEYS */;
82 | INSERT INTO `item` VALUES (1,'Zuverlaessigkeit'),(2,'Arbeitstempo'),(3,'Arbeitsplanung'),(4,'Organisationsfaehigkeit'),(5,'Geschicklichkeit'),(6,'Ordnung'),(7,'Sorgfalt'),(8,'Kreativitaet'),(9,'Problemloesefaehigkeit'),(10,'Abstraktionsvermoegen'),(11,'Selbststaendigkeit'),(12,'Belastbarkeit'),(13,'Konzentrationsfaehigkeit'),(14,'Verantworttungsbewusstsein'),(15,'Eigeninitiative'),(16,'Leistungsbereitschaft'),(17,'Auffassungsgabe'),(18,'Merkfaehigkeit'),(19,'Motivationsfaehigkeit'),(20,'Reflektionsfaehigkeit'),(21,'Teamfaehigkeit'),(22,'Hilfsbereischaft'),(23,'Kontaktfaehigkeit'),(24,'Respektvoller Umgang'),(25,'Kommunikationsfaehigkeit'),(26,'Einfuehlungsvermoegen'),(27,'Konfliktfaehigeit'),(28,'Kritikfaehigkeit'),(29,'Schreiben'),(30,'Lesen'),(31,'Mathematik'),(32,'Naturwissenschaften'),(33,'Fremdsprachen'),(34,'Praesentationsfaehigkeit'),(35,'PC-Kenntnisse'),(36,'Faecheruebergreifendes enken');
83 | /*!40000 ALTER TABLE `item` ENABLE KEYS */;
84 | UNLOCK TABLES;
85 |
86 | --
87 | -- Table structure for table `kompetenz`
88 | --
89 |
90 | DROP TABLE IF EXISTS `kompetenz`;
91 | /*!40101 SET @saved_cs_client = @@character_set_client */;
92 | /*!40101 SET character_set_client = utf8 */;
93 | CREATE TABLE `kompetenz` (
94 | `ID` int(11) NOT NULL AUTO_INCREMENT,
95 | `name` varchar(50) DEFAULT NULL,
96 | PRIMARY KEY (`ID`),
97 | KEY `ID` (`ID`)
98 | ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
99 | /*!40101 SET character_set_client = @saved_cs_client */;
100 |
101 | --
102 | -- Dumping data for table `kompetenz`
103 | ----
104 | -- Table structure for table `normFEfs`
105 | --
106 |
107 | DROP TABLE IF EXISTS `normFEfs`;
108 | /*!40101 SET @saved_cs_client = @@character_set_client */;
109 | /*!40101 SET character_set_client = utf8 */;
110 | CREATE TABLE `normFEfs` (
111 | `nornFEfsID` int(11) NOT NULL AUTO_INCREMENT,
112 | `kompetenzID` int(11) DEFAULT '0',
113 | `p1` float DEFAULT '0',
114 | `p2` float DEFAULT '0',
115 | `p3` float DEFAULT '0',
116 | `p4` float DEFAULT '0',
117 | `p5` float DEFAULT '0',
118 | `mi` float DEFAULT '0',
119 | `sw` float DEFAULT '0',
120 | PRIMARY KEY (`nornFEfsID`),
121 | KEY `kompetenzID` (`kompetenzID`),
122 | KEY `nornFEfsID` (`nornFEfsID`)
123 | ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
124 | /*!40101 SET character_set_client = @saved_cs_client */;
125 |
126 | --
127 | -- Dumping data for table `normFEfs`
128 | --
129 |
130 | LOCK TABLES `normFEfs` WRITE;
131 | /*!40000 ALTER TABLE `normFEfs` DISABLE KEYS */;
132 | INSERT INTO `normFEfs` VALUES (1,1,15.3,19.79,24.28,28.77,33.26,24.28,4.49),(2,2,14.63,18.94,23.25,27.56,31.87,23.25,4.31),(3,3,14.62,17.81,21,24.19,27.38,21,3.19),(4,4,15,15.55,16.1,16.65,17.2,16.1,0.55),(5,5,18.44,22.61,26.78,30.95,35.12,26.78,4.17),(6,6,9.79,13.97,18.15,22.33,26.51,18.15,4.18);
133 | /*!40000 ALTER TABLE `normFEfs` ENABLE KEYS */;
134 | UNLOCK TABLES;
135 |
136 | --
137 | -- Table structure for table `normFEhs`
138 | --
139 |
140 | DROP TABLE IF EXISTS `normFEhs`;
141 | /*!40101 SET @saved_cs_client = @@character_set_client */;
142 | /*!40101 SET character_set_client = utf8 */;
143 | CREATE TABLE `normFEhs` (
144 | `nornFEhsID` int(11) NOT NULL AUTO_INCREMENT,
145 | `kompetenzID` int(11) DEFAULT '0',
146 | `p1` float DEFAULT '0',
147 | `p2` float DEFAULT '0',
148 | `p3` float DEFAULT '0',
149 | `p4` float DEFAULT '0',
150 | `p5` float DEFAULT '0',
151 | `mi` float DEFAULT '0',
152 | `sw` float DEFAULT '0',
153 | PRIMARY KEY (`nornFEhsID`),
154 | KEY `kompetenzID` (`kompetenzID`),
155 | KEY `nornFEhsID` (`nornFEhsID`)
156 | ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
157 | /*!40101 SET character_set_client = @saved_cs_client */;
158 |
159 | --
160 | -- Dumping data for table `normFEhs`
161 | --
162 |
163 | LOCK TABLES `normFEhs` WRITE;
164 | /*!40000 ALTER TABLE `normFEhs` DISABLE KEYS */;
165 | INSERT INTO `normFEhs` VALUES (1,1,12.66,18.16,23.66,29.16,34.66,23.66,5.5),(2,2,13.33,18.42,23.51,28.6,33.69,23.51,5.09),(3,3,10.75,15.41,20.07,24.73,29.39,20.07,4.66),(4,4,14.22,15.3,16.38,17.46,18.54,16.38,1.08),(5,5,14.12,20.21,26.3,32.39,38.48,26.3,6.09),(6,6,10.53,14.51,18.49,22.47,26.45,18.49,3.98);
166 | /*!40000 ALTER TABLE `normFEhs` ENABLE KEYS */;
167 | UNLOCK TABLES;
168 |
169 | --
170 | -- Table structure for table `normSEfs`
171 | --
172 |
173 | DROP TABLE IF EXISTS `normSEfs`;
174 | /*!40101 SET @saved_cs_client = @@character_set_client */;
175 | /*!40101 SET character_set_client = utf8 */;
176 | CREATE TABLE `normSEfs` (
177 | `nornSEfsID` int(11) NOT NULL AUTO_INCREMENT,
178 | `kompetenzID` int(11) DEFAULT '0',
179 | `p1` float DEFAULT '0',
180 | `p2` float DEFAULT '0',
181 | `p3` float DEFAULT '0',
182 | `p4` float DEFAULT '0',
183 | `p5` float DEFAULT '0',
184 | `mi` float DEFAULT '0',
185 | `sw` float DEFAULT '0',
186 | PRIMARY KEY (`nornSEfsID`),
187 | KEY `kompetenzID` (`kompetenzID`),
188 | KEY `nornSEfsID` (`nornSEfsID`)
189 | ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
190 | /*!40101 SET character_set_client = @saved_cs_client */;
191 |
192 | --
193 | -- Dumping data for table `normSEfs`
194 | --
195 |
196 | LOCK TABLES `normSEfs` WRITE;
197 | /*!40000 ALTER TABLE `normSEfs` DISABLE KEYS */;
198 | INSERT INTO `normSEfs` VALUES (1,1,17.54,24.03,30.53,37.02,43.51,30.53,6.47),(2,2,17.8,24.26,30.73,37.19,43.65,30.73,6.46),(3,3,18.03,22.41,26.79,31.17,35.55,26.79,4.38),(4,4,14.28,15.55,16.83,18.1,19.37,16.83,1.27),(5,5,12.44,18.06,23.68,29.29,34.91,23.68,5.62),(6,6,20.69,27.49,34.29,41.09,47.89,34.29,6.8);
199 | /*!40000 ALTER TABLE `normSEfs` ENABLE KEYS */;
200 | UNLOCK TABLES;
201 |
202 | --
203 | -- Table structure for table `normSEhs`
204 | --
205 |
206 | DROP TABLE IF EXISTS `normSEhs`;
207 | /*!40101 SET @saved_cs_client = @@character_set_client */;
208 | /*!40101 SET character_set_client = utf8 */;
209 | CREATE TABLE `normSEhs` (
210 | `nornSEhsID` int(11) NOT NULL AUTO_INCREMENT,
211 | `kompetenzID` int(11) DEFAULT '0',
212 | `p1` float DEFAULT '0',
213 | `p2` float DEFAULT '0',
214 | `p3` float DEFAULT '0',
215 | `p4` float DEFAULT '0',
216 | `p5` float DEFAULT '0',
217 | `mi` float DEFAULT '0',
218 | `sw` float DEFAULT '0',
219 | PRIMARY KEY (`nornSEhsID`),
220 | KEY `kompetenzID` (`kompetenzID`),
221 | KEY `nornSEhsID` (`nornSEhsID`)
222 | ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
223 | /*!40101 SET character_set_client = @saved_cs_client */;
224 |
225 | --
226 | -- Dumping data for table `normSEhs`
227 | --
228 |
229 | LOCK TABLES `normSEhs` WRITE;
230 | /*!40000 ALTER TABLE `normSEhs` DISABLE KEYS */;
231 | INSERT INTO `normSEhs` VALUES (1,1,21.33,25.33,29.33,33.32,37.32,29.33,4),(2,2,20.87,24.95,29.03,33.13,37.18,29.03,4.08),(3,3,17.93,21.37,24.8,28.23,31.67,24.8,3.43),(4,4,13.98,17.71,21.44,25.17,28.9,21.44,3.73),(5,5,15.53,18.97,22.4,25.83,29.27,21.44,3.73),(6,6,24.6,28.55,33.04,37.53,42.01,33.04,4.49);
232 | /*!40000 ALTER TABLE `normSEhs` ENABLE KEYS */;
233 | UNLOCK TABLES;
234 |
235 | --
236 | -- Table structure for table `profil`
237 | --
238 |
239 | DROP TABLE IF EXISTS `profil`;
240 | /*!40101 SET @saved_cs_client = @@character_set_client */;
241 | /*!40101 SET character_set_client = utf8 */;
242 | CREATE TABLE `profil` (
243 | `profilID` int(11) NOT NULL AUTO_INCREMENT,
244 | `userID` int(11) DEFAULT '0',
245 | `gruppeID` int(11) DEFAULT '0',
246 | `name` varchar(50) DEFAULT '0',
247 | `item1` int(11) DEFAULT '0',
248 | `item2` int(11) DEFAULT '0',
249 | `item3` int(11) DEFAULT '0',
250 | `item4` int(11) DEFAULT '0',
251 | `item5` int(11) DEFAULT '0',
252 | `item6` int(11) DEFAULT '0',
253 | `item7` int(11) DEFAULT '0',
254 | `item8` int(11) DEFAULT '0',
255 | `item9` int(11) DEFAULT '0',
256 | `item10` int(11) DEFAULT '0',
257 | `item11` int(11) DEFAULT '0',
258 | `item12` int(11) DEFAULT '0',
259 | `item13` int(11) DEFAULT '0',
260 | `item14` int(11) DEFAULT '0',
261 | `item15` int(11) DEFAULT '0',
262 | `item16` int(11) DEFAULT '0',
263 | `item17` int(11) DEFAULT '0',
264 | `item18` int(11) DEFAULT '0',
265 | `item19` int(11) DEFAULT '0',
266 | `item20` int(11) DEFAULT '0',
267 | `item21` int(11) DEFAULT '0',
268 | `item22` int(11) DEFAULT '0',
269 | `item23` int(11) DEFAULT '0',
270 | `item24` int(11) DEFAULT '0',
271 | `item25` int(11) DEFAULT '0',
272 | `item26` int(11) DEFAULT '0',
273 | `item27` int(11) DEFAULT '0',
274 | `item28` int(11) DEFAULT '0',
275 | `item29` int(11) DEFAULT '0',
276 | `item30` int(11) DEFAULT '0',
277 | `item31` int(11) DEFAULT '0',
278 | `item32` int(11) DEFAULT '0',
279 | `item33` int(11) DEFAULT '0',
280 | `item34` int(11) DEFAULT '0',
281 | `item35` int(11) DEFAULT '0',
282 | `item36` int(11) DEFAULT '0',
283 | `kompetenz1` int(11) DEFAULT '0',
284 | `kompetenz2` int(11) DEFAULT '0',
285 | `kompetenz3` int(11) DEFAULT '0',
286 | `kompetenz4` int(11) DEFAULT '0',
287 | `kompetenz5` int(11) DEFAULT '0',
288 | `kompetenz6` int(11) NOT NULL,
289 | `ip` varchar(50) DEFAULT NULL,
290 | `url` varchar(50) DEFAULT NULL,
291 | `time` datetime DEFAULT NULL,
292 | `date` datetime DEFAULT NULL,
293 | `visible` tinyint(1) DEFAULT NULL,
294 | `feitem1` int(11) NOT NULL,
295 | `feitem2` int(11) NOT NULL,
296 | `feitem3` int(11) NOT NULL,
297 | `feitem4` int(11) NOT NULL,
298 | `feitem5` int(11) NOT NULL,
299 | `feitem6` int(11) NOT NULL,
300 | `feitem7` int(11) NOT NULL,
301 | `feitem8` int(11) NOT NULL,
302 | `feitem9` int(11) NOT NULL,
303 | `feitem10` int(11) NOT NULL,
304 | `feitem11` int(11) NOT NULL,
305 | `feitem12` int(11) NOT NULL,
306 | `feitem13` int(11) NOT NULL,
307 | `feitem14` int(11) NOT NULL,
308 | `feitem15` int(11) NOT NULL,
309 | `feitem16` int(11) NOT NULL,
310 | `feitem17` int(11) NOT NULL,
311 | `feitem18` int(11) NOT NULL,
312 | `feitem19` int(11) NOT NULL,
313 | `feitem20` int(11) NOT NULL,
314 | `feitem21` int(11) NOT NULL,
315 | `feitem22` int(11) NOT NULL,
316 | `feitem23` int(11) NOT NULL,
317 | `feitem24` int(11) NOT NULL,
318 | `feitem25` int(11) NOT NULL,
319 | `feitem26` int(11) NOT NULL,
320 | `feitem27` int(11) NOT NULL,
321 | `feitem28` int(11) NOT NULL,
322 | `feitem29` int(11) NOT NULL,
323 | `feitem30` int(11) NOT NULL,
324 | `feitem31` int(11) NOT NULL,
325 | `feitem32` int(11) NOT NULL,
326 | `feitem33` int(11) NOT NULL,
327 | `feitem34` int(11) NOT NULL,
328 | `feitem35` int(11) NOT NULL,
329 | `feitem36` int(11) NOT NULL,
330 | `fekompetenz1` int(11) NOT NULL,
331 | `fekompetenz2` int(11) NOT NULL,
332 | `fekompetenz3` int(11) NOT NULL,
333 | `fekompetenz4` int(11) NOT NULL,
334 | `fekompetenz5` int(11) NOT NULL,
335 | `fekompetenz6` int(11) NOT NULL,
336 | PRIMARY KEY (`profilID`),
337 | KEY `gruppeID` (`gruppeID`),
338 | KEY `profilID` (`profilID`),
339 | KEY `userID` (`userID`)
340 | ) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;
341 | /*!40101 SET character_set_client = @saved_cs_client */;
342 |
343 | --
344 | -- Dumping data for table `profil`
345 | --
346 |
347 | LOCK TABLES `profil` WRITE;
348 | /*!40000 ALTER TABLE `profil` DISABLE KEYS */;
349 | INSERT INTO `profil` VALUES (11,2,8,'Gastprofil04',4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0),(12,2,8,'Gastprofil05',3,2,2,2,2,3,2,2,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,3,3,3,3,3,3,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,1,2,2,1,2,1,2,2,2,1,2,2,1,2,2,2,2,1,2,2,1,2,2,1,2,2,2,1,2,2,2,1,2,2,2,2,0,0,0,0,0,0),(10,2,8,'Gastprofil03',3,3,3,3,3,4,4,4,4,3,3,3,2,4,3,3,4,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,3,3,3,3,3,3,4,4,4,4,3,3,2,4,3,3,4,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0),(8,2,8,'Gastprofil01',2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0),(9,2,8,'Gastprofil02',4,3,3,3,3,3,2,4,2,2,2,2,2,2,2,2,2,2,4,2,4,4,4,4,4,4,3,2,4,4,4,4,4,4,4,4,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,2,2,2,2,2,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,0,0,0,0,0,0),(13,2,8,'Gastprofil06',2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0),(14,2,8,'Gastprofil07',2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0),(15,2,8,'Gastprofil08',2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0),(16,2,8,'Gastprofil09',2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0),(17,2,8,'Gastprofil10',2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0),(18,2,8,'Gastprofil11',2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,0,0,0,0,0);
350 | /*!40000 ALTER TABLE `profil` ENABLE KEYS */;
351 | UNLOCK TABLES;
352 |
353 | --
354 | -- Table structure for table `user`
355 | --
356 |
357 | DROP TABLE IF EXISTS `user`;
358 | /*!40101 SET @saved_cs_client = @@character_set_client */;
359 | /*!40101 SET character_set_client = utf8 */;
360 | CREATE TABLE `user` (
361 | `institution` varchar(50) DEFAULT NULL,
362 | `name` varchar(50) DEFAULT NULL,
363 | `vorname` varchar(50) DEFAULT NULL,
364 | `strasse` varchar(50) DEFAULT NULL,
365 | `plz` varchar(50) DEFAULT NULL,
366 | `ort` varchar(50) DEFAULT NULL,
367 | `tel` varchar(50) DEFAULT NULL,
368 | `fax` varchar(50) DEFAULT NULL,
369 | `email` varchar(50) DEFAULT NULL,
370 | `url` varchar(50) DEFAULT NULL,
371 | `ip` varchar(50) DEFAULT NULL,
372 | `date` datetime DEFAULT NULL,
373 | `time` datetime DEFAULT NULL,
374 | `visible` tinyint(1) DEFAULT NULL,
375 | `user` varchar(50) NOT NULL,
376 | `pass` varchar(50) NOT NULL,
377 | `ID` int(11) NOT NULL AUTO_INCREMENT,
378 | PRIMARY KEY (`ID`)
379 | ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
380 | /*!40101 SET character_set_client = @saved_cs_client */;
381 |
382 | --
383 | -- Dumping data for table `user`
384 | --
385 |
386 | LOCK TABLES `user` WRITE;
387 | /*!40000 ALTER TABLE `user` DISABLE KEYS */;
388 | INSERT INTO `user` VALUES (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'paul','koop',1),(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'gast','gast',2);
389 | /*!40000 ALTER TABLE `user` ENABLE KEYS */;
390 | UNLOCK TABLES;
391 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
392 |
393 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
394 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
395 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
396 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
397 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
398 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
399 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
400 |
401 | -- Dump completed on 2018-10-14 9:39:06
402 |
--------------------------------------------------------------------------------
/db_profil_lesen.php:
--------------------------------------------------------------------------------
1 |
2 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | // Variablendefinitionen
27 | // Profil name
28 | $name="";
29 | $Xnichtgesetzt=true;
30 |
31 | //item
32 | $SEint = array();
33 | $FEint = array();
34 |
35 | //Normtabellen
36 | $normSE = array();
37 | $normFE = array();
38 |
39 | //Profilaufaddieren
40 |
41 | $SEPint = array ();
42 | $FEPint = array ();
43 |
44 | //korrelation
45 | $korrelation=0;
46 | $SEPmittel = 0;
47 | $FEPmittel = 0;
48 |
49 |
50 | //UebereinstimmungSEFE
51 | $UebereinstimmungSEFE=0;
52 |
53 |
54 |
55 | //Profilberechnung
56 |
57 | $SEprofil = array();
58 |
59 | $SEprofil[0][0]="0";
60 | $SEprofil[0][1]="0";
61 | $SEprofil[0][2]="0";
62 | $SEprofil[0][3]="0";
63 | $SEprofil[0][4]="0";
64 |
65 | $SEprofil[1][0]="0";
66 | $SEprofil[1][1]="0";
67 | $SEprofil[1][2]="0";
68 | $SEprofil[1][3]="0";
69 | $SEprofil[1][4]="0";
70 |
71 | $SEprofil[2][0]="0";
72 | $SEprofil[2][1]="0";
73 | $SEprofil[2][2]="0";
74 | $SEprofil[2][3]="0";
75 | $SEprofil[2][4]="0";
76 |
77 | $SEprofil[3][0]="0";
78 | $SEprofil[3][1]="0";
79 | $SEprofil[3][2]="0";
80 | $SEprofil[3][3]="0";
81 | $SEprofil[3][4]="0";
82 |
83 | $SEprofil[4][0]="0";
84 | $SEprofil[4][1]="0";
85 | $SEprofil[4][2]="0";
86 | $SEprofil[4][3]="0";
87 | $SEprofil[4][4]="0";
88 |
89 | $SEprofil[5][0]="0";
90 | $SEprofil[5][1]="0";
91 | $SEprofil[5][2]="0";
92 | $SEprofil[5][3]="0";
93 | $SEprofil[5][4]="0";
94 |
95 |
96 |
97 | $FEprofil = array();
98 |
99 |
100 | $FEprofil[0][0]="0";
101 | $FEprofil[0][1]="0";
102 | $FEprofil[0][2]="0";
103 | $FEprofil[0][3]="0";
104 | $FEprofil[0][4]="0";
105 |
106 | $FEprofil[1][0]="0";
107 | $FEprofil[1][1]="0";
108 | $FEprofil[1][2]="0";
109 | $FEprofil[1][3]="0";
110 | $FEprofil[1][4]="0";
111 |
112 | $FEprofil[2][0]="0";
113 | $FEprofil[2][1]="0";
114 | $FEprofil[2][2]="0";
115 | $FEprofil[2][3]="0";
116 | $FEprofil[2][4]="0";
117 |
118 | $FEprofil[3][0]="0";
119 | $FEprofil[3][1]="0";
120 | $FEprofil[3][2]="0";
121 | $FEprofil[3][3]="0";
122 | $FEprofil[3][4]="0";
123 |
124 | $FEprofil[4][0]="0";
125 | $FEprofil[4][1]="0";
126 | $FEprofil[4][2]="0";
127 | $FEprofil[4][3]="0";
128 | $FEprofil[4][4]="0";
129 |
130 | $FEprofil[5][0]="0";
131 | $FEprofil[5][1]="0";
132 | $FEprofil[5][2]="0";
133 | $FEprofil[5][3]="0";
134 | $FEprofil[5][4]="0";
135 |
136 |
137 | //Punkte 1 bis 5 für Profil "X"
138 | /*
139 | $SEprofil = array
140 | (
141 | array ("Arbeitsverhalten" ,"0","0","0","0","0")
142 | array ("Lernverhalten" ,"0","0","0","0","0")
143 | array ("Sozialverhalten" ,"0","0","0","0","0")
144 | array ("Fachkompetenz" ,"0","0","0","0","0")
145 | array ("Personale Kompetenz","0","0","0","0","0")
146 | array ("Methodenkompetenz" ,"0","0","0","0","0")
147 | );
148 |
149 |
150 |
151 | $FEprofil = array
152 | (
153 | array ("Arbeitsverhalten" ,"0","0","0","0","0")
154 | array ("Lernverhalten" ,"0","0","0","0","0")
155 | array ("Sozialverhalten" ,"0","0","0","0","0")
156 | array ("Fachkompetenz" ,"0","0","0","0","0")
157 | array ("Personale Kompetenz","0","0","0","0","0")
158 | array ("Methodenkompetenz" ,"0","0","0","0","0")
159 | );
160 | */
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 | //Funktionsdefinitionen
170 | //Normtabellen lesen
171 | function db_normSE_lesen($sql,$conn,$userID,$session)
172 | {//BEGIN db_lesen
173 | global $normSE;
174 | //echo $sql." ";
175 | $result=mysql_query($sql,$conn);
176 | if($result)
177 | {//BEGIN if $result
178 | $number=mysql_num_rows($result);
179 | //echo("Es sind $number Datensaetze gelesen worden.
");
180 | if($number)
181 | {//BEGIN Suchausgabe>null
182 | while($row=mysql_fetch_array($result,MYSQL_ASSOC))
183 | {//BEGIN row
184 | //echo("Verarbeitung Norm SE nicht auskommentiert
");
185 | $normSE[$row[kompetenzID]][]=$row['p1'];$normSE[$row[kompetenzID]][]=$row['p2'];$normSE[$row[kompetenzID]][]=$row['p3'];$normSE[$row[kompetenzID]][]=$row['p4'];$normSE[$row[kompetenzID]][]=$row['p5'];
186 | }//END row
187 | }//ENDE suchausgabe >null
188 | //var_dump($normSE);
189 | }//END if result
190 | else
191 | {//BEGIN else $result
192 | echo(" "."Errornumber= ".mysql_error($conn));
193 | }//END if result
194 | }//END db_lesen
195 |
196 |
197 |
198 | function db_normFE_lesen($sql,$conn,$userID,$session)
199 | {//BEGIN db_lesen
200 | global $normFE;
201 | //echo $sql." ";
202 | $result=mysql_query($sql,$conn);
203 | if($result)
204 | {//BEGIN if $result
205 | $number=mysql_num_rows($result);
206 | //echo("Es sind $number Datensaetze gelesen worden.
");
207 | if($number)
208 | {//BEGIN Suchausgabe>null
209 | while($row=mysql_fetch_array($result,MYSQL_ASSOC))
210 | {//BEGIN row
211 | //echo("Verarbeitung Norm FE nicht auskommentiert
");
212 | $normFE[$row[kompetenzID]][]=$row['p1'];$normFE[$row[kompetenzID]][]=$row['p2'];$normFE[$row[kompetenzID]][]=$row['p3'];$normFE[$row[kompetenzID]][]=$row['p4'];$normFE[$row[kompetenzID]][]=$row['p5'];
213 | }//END row
214 | }//ENDE suchausgabe >null
215 | //var_dump($normFE);
216 | }//END if result
217 | else
218 | {//BEGIN else $result
219 | echo(" "."Errornumber= ".mysql_error($conn));
220 | }//END if result
221 | }//END db_lesen
222 |
223 |
224 |
225 |
226 | //Profillesen
227 | function db_profil_lesen($sql,$conn,$userID,$session)
228 | {//BEGIN db_lesen
229 | global $SEint, $FEint, $name;
230 | //echo $sql." ";
231 | $result=mysql_query($sql,$conn);
232 | if($result)
233 | {//BEGIN if $result
234 | $number=mysql_num_rows($result);
235 | //echo("Es sind $number Datensaetze gelesen worden.
");
236 | if($number)
237 | {//BEGIN Suchausgabe>null
238 | while($row=mysql_fetch_array($result,MYSQL_ASSOC))
239 | {//BEGIN row
240 | //echo("Verarbeitung SEint FEint nicht auskommentiert
");
241 | //var_dump($row);
242 | $name=$row['name'];
243 |
244 | $SEint[1]=$row['item1'];
245 | $SEint[2]=$row['item2'];
246 | $SEint[3]=$row['item3'];
247 | $SEint[4]=$row['item4'];
248 | $SEint[5]=$row['item5'];
249 | $SEint[6]=$row['item6'];
250 | $SEint[7]=$row['item7'];
251 | $SEint[8]=$row['item8'];
252 | $SEint[9]=$row['item9'];
253 | $SEint[10]=$row['item10'];
254 |
255 | $SEint[11]=$row['item11'];
256 | $SEint[12]=$row['item12'];
257 | $SEint[13]=$row['item13'];
258 | $SEint[14]=$row['item14'];
259 | $SEint[15]=$row['item15'];
260 | $SEint[16]=$row['item16'];
261 | $SEint[17]=$row['item17'];
262 | $SEint[18]=$row['item18'];
263 | $SEint[19]=$row['item19'];
264 | $SEint[20]=$row['item20'];
265 |
266 | $SEint[21]=$row['item21'];
267 | $SEint[22]=$row['item22'];
268 | $SEint[23]=$row['item23'];
269 | $SEint[24]=$row['item24'];
270 | $SEint[25]=$row['item25'];
271 | $SEint[26]=$row['item26'];
272 | $SEint[27]=$row['item27'];
273 | $SEint[28]=$row['item28'];
274 | $SEint[29]=$row['item29'];
275 | $SEint[30]=$row['item30'];
276 |
277 | $SEint[31]=$row['item31'];
278 | $SEint[32]=$row['item32'];
279 | $SEint[33]=$row['item33'];
280 | $SEint[34]=$row['item34'];
281 | $SEint[35]=$row['item35'];
282 | $SEint[36]=$row['item36'];
283 |
284 | $FEint[1]=$row['feitem1'];
285 | $FEint[2]=$row['feitem2'];
286 | $FEint[3]=$row['feitem3'];
287 | $FEint[4]=$row['feitem4'];
288 | $FEint[5]=$row['feitem5'];
289 | $FEint[6]=$row['feitem6'];
290 | $FEint[7]=$row['feitem7'];
291 | $FEint[8]=$row['feitem8'];
292 | $FEint[9]=$row['feitem9'];
293 | $FEint[10]=$row['feitem10'];
294 |
295 | $FEint[11]=$row['feitem11'];
296 | $FEint[12]=$row['feitem12'];
297 | $FEint[13]=$row['feitem13'];
298 | $FEint[14]=$row['feitem14'];
299 | $FEint[15]=$row['feitem15'];
300 | $FEint[16]=$row['feitem16'];
301 | $FEint[17]=$row['feitem17'];
302 | $FEint[18]=$row['feitem18'];
303 | $FEint[19]=$row['feitem19'];
304 | $FEint[20]=$row['feitem20'];
305 | $FEint[21]=$row['feitem21'];
306 | $FEint[22]=$row['feitem22'];
307 | $FEint[23]=$row['feitem23'];
308 | $FEint[24]=$row['feitem24'];
309 | $FEint[25]=$row['feitem25'];
310 | $FEint[26]=$row['feitem26'];
311 | $FEint[27]=$row['feitem27'];
312 | $FEint[28]=$row['feitem28'];
313 | $FEint[29]=$row['feitem29'];
314 | $FEint[30]=$row['feitem30'];
315 |
316 | $FEint[31]=$row['feitem31'];
317 | $FEint[32]=$row['feitem32'];
318 | $FEint[33]=$row['feitem33'];
319 | $FEint[34]=$row['feitem34'];
320 | $FEint[35]=$row['feitem35'];
321 | $FEint[36]=$row['feitem36'];
322 | }//END row
323 | }//ENDE suchausgabe >null
324 | //var_dump($SEint);var_dump($FEint);
325 |
326 | }//END if result
327 | else
328 | {//BEGIN else $result
329 | echo(" "."Errornumber= ".mysql_error($conn));
330 | }//END if result
331 | }//END db_lesen
332 |
333 |
334 |
335 | //Verarbeitung
336 | //Daten aus Datenbank einlesen
337 |
338 |
339 | //Profil SQL definieren
340 | $sqlprofil="SELECT * FROM profil WHERE profilID LIKE $ID ";
341 | //echo $sqlprofil." ";
342 |
343 | //Normtabellen SQL waehlen
344 | if ($normtabelle=="hs")
345 | {
346 | $sqlSE="SELECT * FROM normSEhs ORDER BY kompetenzID";
347 | $sqlFE="SELECT * FROM normFEhs ORDER BY kompetenzID";
348 | }
349 | else //$normtabelle=="fs"
350 | {
351 | $sqlSE="SELECT * FROM normSEfs ORDER BY kompetenzID";
352 | $sqlFE="SELECT * FROM normFEfs ORDER BY kompetenzID";
353 | }
354 |
355 | //echo $sqlSE." ";
356 | //echo $sqlFE." ";
357 |
358 |
359 | $conn=connect($host,$user,$pass);
360 | $conn=choise_database($conn,$db);
361 |
362 | //echo("Funktionsaufrufe auskommentiert ");
363 |
364 | db_normSE_lesen($sqlSE,$conn,$userID,$session);
365 | db_normFE_lesen($sqlFE,$conn,$userID,$session);
366 | db_profil_lesen($sqlprofil,$conn,$userID,$session);
367 |
368 |
369 | $conn=deconnect($conn);
370 | // Var_dump daten aus datenbank
371 | //var_dump($SEint);var_dump($FEint);
372 | //var_dump($normSE);
373 | //var_dump($normFE);
374 |
375 | //Aufsummierung Punkte
376 |
377 |
378 | $SEPint[1]=(int)$SEint[1]+ (int)$SEint[2]+ (int)$SEint[3]+ (int)$SEint[4]+ (int)$SEint[5]+
379 | (int)$SEint[6]+ (int)$SEint[7]+ (int)$SEint[8]+ (int)$SEint[9]+ (int)$SEint[10];
380 | $SEPint[2]=(int)$SEint[11]+ (int)$SEint[12]+ (int)$SEint[13]+ (int)$SEint[14]+ (int)$SEint[15]+
381 | (int)$SEint[16]+ (int)$SEint[17]+ (int)$SEint[18]+ (int)$SEint[19]+ (int)$SEint[20];
382 | $SEPint[3]=(int)$SEint[21]+ (int)$SEint[22]+ (int)$SEint[23]+ (int)$SEint[24]+ (int)$SEint[25]+
383 | (int)$SEint[26]+ (int)$SEint[27]+ (int)$SEint[28]+ (int)$SEint[9]+ (int)$SEint[10];
384 | $SEPint[4]=(int)$SEint[29]+ (int)$SEint[30]+ (int)$SEint[31]+ (int)$SEint[32]+ (int)$SEint[33]+
385 | (int)$SEint[34]+ (int)$SEint[35]+ (int)$SEint[36];
386 | $SEPint[5]=(int)$SEint[1]+ (int)$SEint[2]+
387 | (int)$SEint[6]+ (int)$SEint[7]+ (int)$SEint[8]+ (int)$SEint[9]+ (int)$SEint[10]+
388 | (int)$SEint[12]+(int)$SEint[13]+ (int)$SEint[14]+ (int)$SEint[15];
389 | $SEPint[6]=(int)$SEint[3]+ (int)$SEint[4]+ (int)$SEint[5]+
390 | (int)$SEint[9]+ (int)$SEint[10]+ (int)$SEint[11]+
391 | (int)$SEint[17]+ (int)$SEint[18];
392 |
393 |
394 | $FEPint[1]=(int)$FEint[1]+ (int)$FEint[2]+ (int)$FEint[3]+ (int)$FEint[4]+ (int)$FEint[5]+
395 | (int)$FEint[6]+ (int)$FEint[7]+ (int)$FEint[8]+ (int)$FEint[9]+ (int)$FEint[10];
396 | $FEPint[2]=(int)$FEint[11]+ (int)$FEint[12]+ (int)$FEint[13]+ (int)$FEint[14]+ (int)$FEint[15]+
397 | (int)$FEint[16]+ (int)$FEint[17]+ (int)$FEint[18]+ (int)$FEint[19]+ (int)$FEint[20];
398 | $FEPint[3]=(int)$FEint[21]+ (int)$FEint[22]+ (int)$FEint[23]+ (int)$FEint[24]+ (int)$FEint[25]+
399 | (int)$FEint[26]+ (int)$FEint[27]+ (int)$FEint[28]+ (int)$FEint[9]+ (int)$FEint[10];
400 | $FEPint[4]=(int)$FEint[29]+ (int)$FEint[30]+ (int)$FEint[31]+ (int)$FEint[32]+ (int)$FEint[33]+
401 | (int)$FEint[34]+ (int)$FEint[35]+ (int)$FEint[36];
402 | $FEPint[5]=(int)$FEint[1]+ (int)$FEint[2]+
403 | (int)$FEint[6]+ (int)$FEint[7]+ (int)$FEint[8]+ (int)$FEint[9]+ (int)$FEint[10]+
404 | (int)$FEint[12]+(int)$FEint[13]+ (int)$FEint[14]+ (int)$FEint[15];
405 | $FEPint[6]=(int)$FEint[3]+ (int)$FEint[4]+ (int)$FEint[5]+
406 | (int)$FEint[9]+ (int)$FEint[10]+ (int)$FEint[11]+
407 | (int)$FEint[17]+ (int)$FEint[18];
408 |
409 |
410 | //Testvariable falls nicht global
411 | //$SEPint[1]=25;
412 | //$FEPint[1]=25;
413 |
414 | //var_dump($SEPint);var_dump($FEPint);
415 |
416 |
417 |
418 | //Korrelation berechnen
419 | $SEPmittel = ($SEPint[1]+ $SEPint[2]+ $SEPint[3]+ $SEPint[4]+ $SEPint[5]+ $SEPint[6]) / 6;
420 | $FEPmittel = ($FEPint[1]+ $FEPint[2]+ $FEPint[3]+ $FEPint[4]+ $FEPint[5]+ $FEPint[6]) / 6;
421 | //var_dump($SEPmittel);var_dump($FEPmittel);
422 |
423 | $korrelation =
424 | (
425 | (($SEPmittel-$SEPint[1])*($FEPmittel-$FEPint[1]))+
426 | (($SEPmittel-$SEPint[2])*($FEPmittel-$FEPint[2]))+
427 | (($SEPmittel-$SEPint[3])*($FEPmittel-$FEPint[3]))+
428 | (($SEPmittel-$SEPint[4])*($FEPmittel-$FEPint[4]))+
429 | (($SEPmittel-$SEPint[5])*($FEPmittel-$FEPint[5]))+
430 | (($SEPmittel-$SEPint[6])*($FEPmittel-$FEPint[6]))
431 | )
432 | /
433 | sqrt
434 | (
435 | (
436 | pow($SEPmittel-$SEPint[1],2)+
437 | pow($SEPmittel-$SEPint[2],2)+
438 | pow($SEPmittel-$SEPint[3],2)+
439 | pow($SEPmittel-$SEPint[4],2)+
440 | pow($SEPmittel-$SEPint[5],2)+
441 | pow($SEPmittel-$SEPint[6],2)
442 | )
443 | *
444 | (
445 | pow($FEPmittel-$FEPint[1],2)+
446 | pow($FEPmittel-$FEPint[2],2)+
447 | pow($FEPmittel-$FEPint[3],2)+
448 | pow($FEPmittel-$FEPint[4],2)+
449 | pow($FEPmittel-$FEPint[5],2)+
450 | pow($FEPmittel-$FEPint[6],2)
451 | )
452 | );
453 | //var_dump($korrelation);
454 | //echo("Korrelation= ".$korrelation." ");
455 |
456 | //uebereinstimmung in Prozent berechnen
457 |
458 | for ($i = 1; $i <= 36; $i++)
459 | {
460 | if ($SEint[$i] == $FEint[$i])
461 | {
462 | $UebereinstimmungSEFE=$UebereinstimmungSEFE+1;
463 | }
464 | }
465 |
466 | $UebereinstimmungSEFE=$UebereinstimmungSEFE*100/36;
467 | //echo("Uebereinstimmung= ".$UebereinstimmungSEFE." ");
468 |
469 |
470 |
471 | //profil berechnen
472 |
473 | for ($kompetenz = 0; $kompetenz <= 5; $kompetenz++)
474 | {
475 | $Xnichtgesetzt=true;
476 | for ($punkte = 0; $punkte <= 4; $punkte++)
477 | {
478 | if ($SEPint[$kompetenz+1] < (int)$normSE[$kompetenz+1][$punkte])
479 | {
480 | $SEprofil[$kompetenz][$punkte]="X";
481 | $punkte =5;$Xnichtgesetzt=false;
482 | }
483 | }
484 | if ($Xnichtgesetzt){$SEprofil[$kompetenz][4]="X";}
485 | }
486 |
487 | for ($kompetenz = 0; $kompetenz <= 5; $kompetenz++)
488 | {
489 | $Xnichtgesetzt=true;
490 | for ($punkte = 0; $punkte <= 4; $punkte++)
491 | {
492 | if ($FEPint[$kompetenz+1] < (int)$normFE[$kompetenz+1][$punkte])
493 | {
494 | $FEprofil[$kompetenz][$punkte]="X";
495 | $punkte =5;$Xnichtgesetzt=false;
496 | }
497 | }
498 | if ($Xnichtgesetzt){$FEprofil[$kompetenz][4]="X";}
499 | }
500 |
501 | //var_dump($SEprofil);var_dump($FEprofil);
502 |
503 | // Profil darstellen
504 | ?>
505 |
506 |
507 |
508 |
509 |
510 | if (!$druckansicht){echo("Druckansicht ");}?>
511 | Name: echo(" ".$name); ?>
512 |
513 | Selbsteinschätzung
514 |
515 |
516 |
517 | 1
518 | 2
519 | 3
520 | 4
521 | 5
522 |
523 |
524 | Arbeitsverhalten
525 | if ($SEprofil[0][0]=="X") {echo("X");} ?>
526 |
527 | if ($SEprofil[0][1]=="X") {echo("X");} ?>
528 |
529 | if ($SEprofil[0][2]=="X") {echo("X");} ?>
530 |
531 | if ($SEprofil[0][3]=="X") {echo("X");} ?>
532 |
533 | if ($SEprofil[0][4]=="X") {echo("X");} ?>
534 |
535 |
536 |
537 | Lernverhalten
538 | if ($SEprofil[1][0]=="X") {echo("X");} ?>
539 |
540 | if ($SEprofil[1][1]=="X") {echo("X");} ?>
541 |
542 | if ($SEprofil[1][2]=="X") {echo("X");} ?>
543 |
544 | if ($SEprofil[1][3]=="X") {echo("X");} ?>
545 |
546 | if ($SEprofil[1][4]=="X") {echo("X");} ?>
547 |
548 |
549 |
550 | Sozialverhalten
551 | if ($SEprofil[2][0]=="X") {echo("X");} ?>
552 |
553 | if ($SEprofil[2][1]=="X") {echo("X");} ?>
554 |
555 | if ($SEprofil[2][2]=="X") {echo("X");} ?>
556 |
557 | if ($SEprofil[2][3]=="X") {echo("X");} ?>
558 |
559 | if ($SEprofil[2][4]=="X") {echo("X");} ?>
560 |
561 |
562 |
563 | Fachkompetenz
564 | if ($SEprofil[3][0]=="X") {echo("X");} ?>
565 |
566 | if ($SEprofil[3][1]=="X") {echo("X");} ?>
567 |
568 | if ($SEprofil[3][2]=="X") {echo("X");} ?>
569 |
570 | if ($SEprofil[3][3]=="X") {echo("X");} ?>
571 |
572 | if ($SEprofil[3][4]=="X") {echo("X");} ?>
573 |
574 |
575 |
576 | Personale Kompetenz
577 | if ($SEprofil[4][0]=="X") {echo("X");} ?>
578 |
579 | if ($SEprofil[4][1]=="X") {echo("X");} ?>
580 |
581 | if ($SEprofil[4][2]=="X") {echo("X");} ?>
582 |
583 | if ($SEprofil[4][3]=="X") {echo("X");} ?>
584 |
585 | if ($SEprofil[4][4]=="X") {echo("X");} ?>
586 |
587 |
588 |
589 | Methodenkompetenz
590 | if ($SEprofil[5][0]=="X") {echo("X");} ?>
591 |
592 | if ($SEprofil[5][1]=="X") {echo("X");} ?>
593 |
594 | if ($SEprofil[5][2]=="X") {echo("X");} ?>
595 |
596 | if ($SEprofil[5][3]=="X") {echo("X");} ?>
597 |
598 | if ($SEprofil[5][4]=="X") {echo("X");} ?>
599 |
600 |
601 |
602 | Fremdeinschätzun
603 |
604 |
605 |
606 | 1
607 | 2
608 | 3
609 | 4
610 | 5
611 |
612 |
613 | Arbeitsverhalten
614 | if ($FEprofil[0][0]=="X") {echo("X");} ?>
615 |
616 | if ($FEprofil[0][1]=="X") {echo("X");} ?>
617 |
618 | if ($FEprofil[0][2]=="X") {echo("X");} ?>
619 |
620 | if ($FEprofil[0][3]=="X") {echo("X");} ?>
621 |
622 | if ($FEprofil[0][4]=="X") {echo("X");} ?>
623 |
624 |
625 |
626 | Lernverhalten
627 | if ($FEprofil[1][0]=="X") {echo("X");} ?>
628 |
629 | if ($FEprofil[1][1]=="X") {echo("X");} ?>
630 |
631 | if ($FEprofil[1][2]=="X") {echo("X");} ?>
632 |
633 | if ($FEprofil[1][3]=="X") {echo("X");} ?>
634 |
635 | if ($FEprofil[1][4]=="X") {echo("X");} ?>
636 |
637 |
638 |
639 | Sozialverhalten
640 | if ($FEprofil[2][0]=="X") {echo("X");} ?>
641 |
642 | if ($FEprofil[2][1]=="X") {echo("X");} ?>
643 |
644 | if ($FEprofil[2][2]=="X") {echo("X");} ?>
645 |
646 | if ($FEprofil[2][3]=="X") {echo("X");} ?>
647 |
648 | if ($FEprofil[2][4]=="X") {echo("X");} ?>
649 |
650 |
651 |
652 | Fachkompetenz
653 | if ($FEprofil[3][0]=="X") {echo("X");} ?>
654 |
655 | if ($FEprofil[3][1]=="X") {echo("X");} ?>
656 |
657 | if ($FEprofil[3][2]=="X") {echo("X");} ?>
658 |
659 | if ($FEprofil[3][3]=="X") {echo("X");} ?>
660 |
661 | if ($FEprofil[3][4]=="X") {echo("X");} ?>
662 |
663 |
664 |
665 | Personale Kompetenz
666 | if ($FEprofil[4][0]=="X") {echo("X");} ?>
667 |
668 | if ($FEprofil[4][1]=="X") {echo("X");} ?>
669 |
670 | if ($FEprofil[4][2]=="X") {echo("X");} ?>
671 |
672 | if ($FEprofil[4][3]=="X") {echo("X");} ?>
673 |
674 | if ($FEprofil[4][4]=="X") {echo("X");} ?>
675 |
676 |
677 |
678 | Methodenkompetenz
679 | if ($FEprofil[5][0]=="X") {echo("X");} ?>
680 |
681 | if ($FEprofil[5][1]=="X") {echo("X");} ?>
682 |
683 | if ($FEprofil[5][2]=="X") {echo("X");} ?>
684 |
685 | if ($FEprofil[5][3]=="X") {echo("X");} ?>
686 |
687 | if ($FEprofil[5][4]=="X") {echo("X");} ?>
688 |
689 |
690 |
691 | Korrelation. echo(" ".round($korrelation,2)); ?>
692 |
693 | Übereinstimmung echo(" ".round($UebereinstimmungSEFE,2)."%"); ?>
694 |
695 |
696 |
697 |
698 |
699 | Item
700 | SE
701 | FE
702 |
703 |
704 | Zuverlässigkeit
705 | echo(" ".$SEint[1]); ?>
706 | echo(" ".$FEint[1]); ?>
707 |
708 |
709 | Arbeitstempo
710 | echo(" ".$SEint[2]); ?>
711 | echo(" ".$FEint[2]); ?>
712 |
713 |
714 | Arbeitsplanung
715 | echo(" ".$SEint[3]); ?>
716 | echo(" ".$FEint[3]); ?>
717 |
718 |
719 | Organisationsfähigkeit
720 | echo(" ".$SEint[4]); ?>
721 | echo(" ".$FEint[4]); ?>
722 |
723 |
724 | Geschicklichkeit
725 | echo(" ".$SEint[5]); ?>
726 | echo(" ".$FEint[5]); ?>
727 |
728 |
729 | Ordnung
730 | echo(" ".$SEint[6]); ?>
731 | echo(" ".$FEint[6]); ?>
732 |
733 |
734 | Sorgfalt
735 | echo(" ".$SEint[7]); ?>
736 | echo(" ".$FEint[7]); ?>
737 |
738 |
739 | Kreativität
740 | echo(" ".$SEint[8]); ?>
741 | echo(" ".$FEint[8]); ?>
742 |
743 |
744 | Problemlösungsfähigkeit
745 | echo(" ".$SEint[9]); ?>
746 | echo(" ".$FEint[9]); ?>
747 |
748 |
749 | Abstraktionsvermögen
750 | echo(" ".$SEint[10]); ?>
751 | echo(" ".$FEint[10]); ?>
752 |
753 |
754 | Selbstständigkeit
755 | echo(" ".$SEint[11]); ?>
756 | echo(" ".$FEint[11]); ?>
757 |
758 |
759 | Belastbarkeit
760 | echo(" ".$SEint[12]); ?>
761 | echo(" ".$FEint[12]); ?>
762 |
763 |
764 | Konzentrationsfähigkeit
765 | echo(" ".$SEint[13]); ?>
766 | echo(" ".$FEint[13]); ?>
767 |
768 |
769 | Verantwortungsbewußtsein
770 | echo(" ".$SEint[14]); ?>
771 | echo(" ".$FEint[14]); ?>
772 |
773 |
774 | Eigeninitiative
775 | echo(" ".$SEint[15]); ?>
776 | echo(" ".$FEint[15]); ?>
777 |
778 |
779 | Leistungsbereitschaft
780 | echo(" ".$SEint[16]); ?>
781 | echo(" ".$FEint[16]); ?>
782 |
783 |
784 | Auffassungsgabe
785 | echo(" ".$SEint[17]); ?>
786 | echo(" ".$FEint[17]); ?>
787 |
788 |
789 | Merkfähigkeit
790 | echo(" ".$SEint[18]); ?>
791 | echo(" ".$FEint[18]); ?>
792 |
793 |
794 | Motivationsfähigkeit
795 | echo(" ".$SEint[19]); ?>
796 | echo(" ".$FEint[19]); ?>
797 |
798 |
799 | Reflektionsfähigkeit
800 | echo(" ".$SEint[20]); ?>
801 | echo(" ".$FEint[20]); ?>
802 |
803 |
804 | Teamfähigkeit
805 | echo(" ".$SEint[21]); ?>
806 | echo(" ".$FEint[21]); ?>
807 |
808 |
809 | Hilfsbereitschaft
810 | echo(" ".$SEint[22]); ?>
811 | echo(" ".$FEint[22]); ?>
812 |
813 |
814 | Kontaktfähigkeit
815 | echo(" ".$SEint[23]); ?>
816 | echo(" ".$FEint[23]); ?>
817 |
818 |
819 | Respektvoller Umgang
820 | echo(" ".$SEint[24]); ?>
821 | echo(" ".$FEint[24]); ?>
822 |
823 |
824 | Kommunikationsfähigkeit
825 | echo(" ".$SEint[25]); ?>
826 | echo(" ".$FEint[25]); ?>
827 |
828 |
829 | Einfühlungsvermögen
830 | echo(" ".$SEint[26]); ?>
831 | echo(" ".$FEint[26]); ?>
832 |
833 |
834 | Konfliktfähigkeit
835 | echo(" ".$SEint[27]); ?>
836 | echo(" ".$FEint[27]); ?>
837 |
838 |
839 | Kritikfähigkeit
840 | echo(" ".$SEint[28]); ?>
841 | echo(" ".$FEint[28]); ?>
842 |
843 |
844 | Schreiben
845 | echo(" ".$SEint[29]); ?>
846 | echo(" ".$FEint[29]); ?>
847 |
848 |
849 | Lesen
850 | echo(" ".$SEint[30]); ?>
851 | echo(" ".$FEint[30]); ?>
852 |
853 |
854 | Mathematik
855 | echo(" ".$SEint[31]); ?>
856 | echo(" ".$FEint[31]); ?>
857 |
858 |
859 | Naturwissenschaft
860 | echo(" ".$SEint[32]); ?>
861 | echo(" ".$FEint[32]); ?>
862 |
863 |
864 | Fremdsprachen
865 | echo(" ".$SEint[33]); ?>
866 | echo(" ".$FEint[33]); ?>
867 |
868 |
869 | Präsentationsfähigkeit
870 | echo(" ".$SEint[34]); ?>
871 | echo(" ".$FEint[34]); ?>
872 |
873 |
874 | PC Kenntnisse
875 | echo(" ".$SEint[35]); ?>
876 | echo(" ".$FEint[35]); ?>
877 |
878 |
879 | Fächerübergreifendes Denken
880 | echo(" ".$SEint[36]); ?>
881 | echo(" ".$FEint[36]); ?>
882 |
883 |
884 |
885 |
886 |
887 |
888 |
889 |
890 | ?>
--------------------------------------------------------------------------------
/db_input_aendern.php:
--------------------------------------------------------------------------------
1 |
2 | function input($sql,$conn)
3 | {//BEGIN input
4 | //echo $sql." ";
5 | if (mysql_query($sql,$conn))
6 | {
7 | echo"MYSQL-INSERT-OK";
8 | }
9 | else
10 | {die("MYSQL-INSERT-neue Eingabe-Fehler".mysql_error($conn));}
11 | }//ENDE input
12 |
13 | function read_gruppe_suche($sql,$conn)
14 | {//BEGIN raed_data
15 | $result=mysql_query($sql,$conn);
16 | //echo $sql." ";
17 | //echo(" Ergebnis = $result ");
18 | if($result)
19 | {//BEGIN if $result
20 | $number=mysql_num_rows($result);
21 | //echo("Es sind $number Datensaetze gelesen worden.
");
22 | if($number){//BEGIN Suchausgabe>null
23 | while($row=mysql_fetch_array($result,MYSQL_ASSOC))
24 | {//BEGIN fields
25 |
26 | //BEGIN stringdef
27 | $zeile ="".$row["name"]." ";
28 | //END stringdef
29 | echo $zeile;
30 | }//END fields
31 | }//ENDE suchausgabe >null
32 | }//END if result
33 | else
34 | {//BEGIN else $result
35 | echo(" "."Errornumber= ".mysql_error($conn));
36 | }//END if result
37 | }//END read_data
38 |
39 |
40 | function read_aendern($sql,$conn,$ID,$userID,$session)
41 | {//BEGIN raed_data
42 | //echo $sql." ";
43 | $result=mysql_query($sql,$conn);
44 | //echo(" Ergebnis = $result ");
45 | if($result)
46 | {//BEGIN if $result
47 | $number=mysql_num_rows($result);
48 |
49 | if($number){//BEGIN Suchausgabe>null
50 | while($row=mysql_fetch_array($result,MYSQL_ASSOC))
51 | {//BEGIN fields
52 | ?>
53 |
1181 |
1182 |
1183 |
1184 |
1185 | }//END fields
1186 | }//ENDE suchausgabe >null
1187 | }//END if result
1188 | else
1189 | {//BEGIN else $result
1190 | echo(" "."Errornumber= ".mysql_error($conn));
1191 | }//END if result
1192 | }//END read_data
1193 |
1194 |
1195 |
1196 | if ($aendern)
1197 | {$sql="SELECT DISTINCT * FROM profil WHERE profilID LIKE $ID "; //"SELECT DISTINCT * FROM profil,gruppe WHERE (profilID LIKE $ID) AND (profil.gruppeID LIKE $gruppeID) ";
1198 | //echo $sql." ";
1199 | $conn=connect($host,$user,$pass);
1200 | $conn=choise_database($conn,$db);
1201 | read_aendern($sql,$conn,$ID,$userID,$session);
1202 | $conn=deconnect($conn);
1203 | }
1204 | else
1205 | {?>
1206 | Eingabe
1207 |
2332 |
2333 |
2334 | }
2335 |
2336 |
2337 | $conn=connect($host,$user,$pass);
2338 | $conn=choise_database($conn,$db);
2339 | if($einfuegen)
2340 | {//BEGIN
2341 | if ($namegruppe)
2342 | {//BEGIN namegruppe
2343 | $sqlinput="INSERT INTO gruppe(name,userID) VALUES (\"$namegruppe\",$userID)";
2344 | {input($sqlinput,$conn);}
2345 | $gruppeID=mysql_insert_id($conn);
2346 | }//END namegruppe
2347 | $sqlinput
2348 | ="INSERT INTO profil (name,userID,gruppeID,
2349 | item1,
2350 | item2,
2351 | item3,
2352 | item4,
2353 | item5,
2354 | item6,
2355 | item7,
2356 | item8,
2357 | item9,
2358 | item10,
2359 | item11,
2360 | item12,
2361 | item13,
2362 | item14,
2363 | item15,
2364 | item16,
2365 | item17,
2366 | item18,
2367 | item19,
2368 | item20,
2369 | item21,
2370 | item22,
2371 | item23,
2372 | item24,
2373 | item25,
2374 | item26,
2375 | item27,
2376 | item28,
2377 | item29,
2378 | item30,
2379 | item31,
2380 | item32,
2381 | item33,
2382 | item34,
2383 | item35,
2384 | item36,
2385 | feitem1,
2386 | feitem2,
2387 | feitem3,
2388 | feitem4,
2389 | feitem5,
2390 | feitem6,
2391 | feitem7,
2392 | feitem8,
2393 | feitem9,
2394 | feitem10,
2395 | feitem11,
2396 | feitem12,
2397 | feitem13,
2398 | feitem14,
2399 | feitem15,
2400 | feitem16,
2401 | feitem17,
2402 | feitem18,
2403 | feitem19,
2404 | feitem20,
2405 | feitem21,
2406 | feitem22,
2407 | feitem23,
2408 | feitem24,
2409 | feitem25,
2410 | feitem26,
2411 | feitem27,
2412 | feitem28,
2413 | feitem29,
2414 | feitem30,
2415 | feitem31,
2416 | feitem32,
2417 | feitem33,
2418 | feitem34,
2419 | feitem35,
2420 | feitem36)
2421 | VALUES
2422 | (\"$name\",$userID,$gruppeID,
2423 | $item1,
2424 | $item2,
2425 | $item3,
2426 | $item4,
2427 | $item5,
2428 | $item6,
2429 | $item7,
2430 | $item8,
2431 | $item9,
2432 | $item10,
2433 | $item11,
2434 | $item12,
2435 | $item13,
2436 | $item14,
2437 | $item15,
2438 | $item16,
2439 | $item17,
2440 | $item18,
2441 | $item19,
2442 | $item20,
2443 | $item21,
2444 | $item22,
2445 | $item23,
2446 | $item24,
2447 | $item25,
2448 | $item26,
2449 | $item27,
2450 | $item28,
2451 | $item29,
2452 | $item30,
2453 | $item31,
2454 | $item32,
2455 | $item33,
2456 | $item34,
2457 | $item35,
2458 | $item36,
2459 | $feitem1,
2460 | $feitem2,
2461 | $feitem3,
2462 | $feitem4,
2463 | $feitem5,
2464 | $feitem6,
2465 | $feitem7,
2466 | $feitem8,
2467 | $feitem9,
2468 | $feitem10,
2469 | $feitem11,
2470 | $feitem12,
2471 | $feitem13,
2472 | $feitem14,
2473 | $feitem15,
2474 | $feitem16,
2475 | $feitem17,
2476 | $feitem18,
2477 | $feitem19,
2478 | $feitem20,
2479 | $feitem21,
2480 | $feitem22,
2481 | $feitem23,
2482 | $feitem24,
2483 | $feitem25,
2484 | $feitem26,
2485 | $feitem27,
2486 | $feitem28,
2487 | $feitem29,
2488 | $feitem30,
2489 | $feitem31,
2490 | $feitem32,
2491 | $feitem33,
2492 | $feitem34,
2493 | $feitem35,
2494 | $feitem36)";
2495 |
2496 | {input($sqlinput,$conn);}
2497 | }//END
2498 |
2499 | if($update)
2500 | {//BEGIN
2501 | if ($namegruppe)
2502 | {//BEGIN namegruppe
2503 | $sqlinput="INSERT INTO gruppe(name,userID) VALUES (\"$namegruppe\",$userID)";
2504 | {input($sqlinput,$conn);}
2505 | $gruppeID=mysql_insert_id($conn);
2506 | }//END namegruppe
2507 | $sqlinput="UPDATE profil SET name=\"$name\",
2508 | item1=$item1,
2509 | item2=$item2,
2510 | item3=$item3,
2511 | item4=$item4,
2512 | item5=$item5,
2513 | item6=$item6,
2514 | item7=$item7,
2515 | item8=$item8,
2516 | item9=$item9,
2517 | item10=$item10,
2518 | item11=$item11,
2519 | item12=$item12,
2520 | item13=$item13,
2521 | item14=$item14,
2522 | item15=$item15,
2523 | item16=$item16,
2524 | item17=$item17,
2525 | item18=$item18,
2526 | item19=$item19,
2527 | item20=$item20,
2528 | item21=$item21,
2529 | item22=$item22,
2530 | item23=$item23,
2531 | item24=$item24,
2532 | item25=$item25,
2533 | item26=$item26,
2534 | item27=$item27,
2535 | item28=$item28,
2536 | item29=$item29,
2537 | item30=$item30,
2538 | item31=$item31,
2539 | item32=$item32,
2540 | item33=$item33,
2541 | item34=$item34,
2542 | item35=$item35,
2543 | item36=$item36,
2544 | feitem1=$feitem1,
2545 | feitem2=$feitem2,
2546 | feitem3=$feitem3,
2547 | feitem4=$feitem4,
2548 | feitem5=$feitem5,
2549 | feitem6=$feitem6,
2550 | feitem7=$feitem7,
2551 | feitem8=$feitem8,
2552 | feitem9=$feitem9,
2553 | feitem10=$feitem10,
2554 | feitem11=$feitem11,
2555 | feitem12=$feitem12,
2556 | feitem13=$feitem13,
2557 | feitem14=$feitem14,
2558 | feitem15=$feitem15,
2559 | feitem16=$feitem16,
2560 | feitem17=$feitem17,
2561 | feitem18=$feitem18,
2562 | feitem19=$feitem19,
2563 | feitem20=$feitem20,
2564 | feitem21=$feitem21,
2565 | feitem22=$feitem22,
2566 | feitem23=$feitem23,
2567 | feitem24=$feitem24,
2568 | feitem25=$feitem25,
2569 | feitem26=$feitem26,
2570 | feitem27=$feitem27,
2571 | feitem28=$feitem28,
2572 | feitem29=$feitem29,
2573 | feitem30=$feitem30,
2574 | feitem31=$feitem31,
2575 | feitem32=$feitem32,
2576 | feitem33=$feitem33,
2577 | feitem34=$feitem34,
2578 | feitem35=$feitem35,
2579 | feitem36=$feitem36,
2580 | gruppeID=$gruppeID
2581 | WHERE (profilID LIKE $profilID)";
2582 | {input($sqlinput,$conn);}
2583 | $update=0;
2584 | }//END
2585 | $conn=deconnect($conn);
2586 |
2587 | ?>
--------------------------------------------------------------------------------