<?php
$user_admin=$_COOKIE["user_admin"];
$jahrgang=$_COOKIE["jahrgang"];

if ($jahrgang == ""){ require("jahrgang.php"); exit;} //Wenn man kein Jahrgang ausgew&auml;hlt hat wird die Jahrgangsauswahlseite geladen
include("kurs/datenbankanbindung.php");     // f&uuml;gt die Datenbankanbindung ein: Sys:\php\includes\kurs\datenbankanbindung.php

// Rechte&uuml;berpr&uuml;fung
$db = dbconnect();
if ($user_admin == ""){ require("index.php"); exit;} //Wenn man nicht angemeldet ist, darf man nicht auf die Seite
$result = $db->query("SELECT 1 FROM sozkom_admin_rechte, sozkom_admin_rechte_zuord , sozkom_admin where sozkom_admin_rechte.sozkom_admin_rolle = sozkom_admin_rechte_zuord.sozkom_admin_rolle AND sozkom_admin_rechte_zuord.faid = sozkom_admin.faid AND sozkom_admin.user = '$user_admin' AND sozkom_admin_rechte_zuord.sozkom_admin_rolle = 'a_noten'");
$row = $result->fetch_array();
if ($row[0] != 1){ include("kurs/rechte.php"); exit;}
// Rechte&uuml;berpr&uuml;fung ende


if (isset($_GET['action']))
   $action = $_GET['action'];
else
   $action = "";

switch($action){
default:
echo"
<html>
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
</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=\"100%\" border=\"0\">
                <tr>
                    <td align=\"left\" width=\"1%\" width=\"10\" background=\"../images/box_e1.gif\">
                    <img height=\"40\" src=\"../images/blank.gif\" width=\"22\"></td>
                    <td align=\"left\" width=\"98%\" background=\"../images/box_top.gif\" valign=\"top\" colspan=\"2\">
                    <img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
                    <font class=\"hd\">Noteneingabe</font>
                    <img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></td>
                    <td 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\">

			<form method=POST action=$_SERVER[PHP_SELF]?action=ausgabe name=PSN_bearb>
			<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#E7E8ED\" width=\"100%\">
                        <tr>
                            <td width=\"8%\" rowspan=\"2\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
                            <p align=\"center\"><b>FPRNr</b></p>
                            </td>
                            <td width=\"56%\" rowspan=\"2\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
                            <b>
                            <p>Bezeichnung</p>
                            </b></td>
                            <td width=\"24%\" style=\"border-top-color: #111111; border-top-width: 1; border-bottom-style: none; border-bottom-width: medium; border-right-style:none; border-right-width:medium\">
                            <b>
                            <p align=\"center\"></p>
                            </b></td>
                            <td width=\"12%\" align=\"center\" rowspan=\"2\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
                            <b>Auswahl</b></td>
                        </tr>
                        <tr>
                            <td width=\"24%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
                            <p align=\"center\"><b>eingetragene<br>Kompetenzdaten</b></p>
                            </td>
                        </tr>";
			    $db = dbconnect();
			    $query = "SELECT id, FPRNr, Bezeichnung, bemerkung FROM sozkom_kompetenz where Jahr=\"$jahrgang\" order by FPRNr asc";
			    $result = $db->query($query)
			           or die ("Cannot execute query");
			    while ($row = $result->fetch_array()){

				if ( $res=$db->query("SELECT COUNT(*) FROM sozkom_ergebnis where id=$row[id]") ){
				if ( $row1=$res->fetch_array() ) {
				$result_ist=$row1[0];
				} else $result_ist=0;
				} else $result_ist=0;
			 echo "
			 <tr>
                            <td width=\"8%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
                            <p align=\"center\">$row[FPRNr]</p>
                            </td>
                            <td width=\"56%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
                            <p>$row[Bezeichnung]<span class=\"bemerkung\"><br>
                            $row[bemerkung]</span></p>
                            </td>
                            <td width=\"24%\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
                            <p align=\"center\">$result_ist</p>
                            </td>
                            <td width=\"12%\" align=\"center\" style=\"border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">
                            <p>
                            <input type=\"radio\" value=\"$row[id]\" name=\"ausw_ausg\" size=\"20\">
                            </td>
                        </tr>";
                           }
                      echo "
                      </table>
                      <br>
                      <input type=\"submit\" value=\"Abschicken\" name=\"B1\" size=\"20\"></p>
                      </form>
                      </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>
        </div>
        </td>
    </tr>
</table>
</body>
</html>";

break;
case "ausgabe":

$db = dbconnect();
$sel_sozkom = $db->query("SELECT bezeichnung FROM sozkom_kompetenz where id=\"". $_POST['ausw_ausg']."\"");
$sozkom = $sel_sozkom->fetch_array();

setcookie ("ck_sozkomid", $_POST[ausw_ausg]);  //ausgew&auml;hlte Sozkom.ID wird in Cookie gespeichert


echo "

<html>
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
<title>Soziale Kompetenz bearbeiten</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=\"100%\" 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=\"98%\" background=\"../images/box_top.gif\" valign=\"top\">
                    <img height=\"10\" src=\"../images/blank.gif\" width=\"1\"><br>
                    <font class=\"hd\">Ergebnistabelle</font><br>
                    <font class=\"sh\">$sozkom[bezeichnung]</font><br>
                    <img height=\"5\" src=\"../images/blank.gif\" width=\"1\"></font></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>
                    <form method=POST action=$_SERVER[PHP_SELF]?action=bearbeiten2 name=sozkom_erf>
                      <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" style=\"border-width:0; border-collapse: collapse\" bordercolor=\"#111111\" width=\"102%\" id=\"AutoNumber1\" height=\"18\">

                <tr>
                    <td width=\"30%\">
                      <p align=\"left\"><b>Name</b>
                    </td>
                    <td width=\"10%\">
                      <p align=\"center\">
                      <b>AG</b>
                    </td>
                    <td width=\"30%\">
                      <p align=\"left\">
                      <b>Thema</b>
                    </td>
                    <td width=\"15%\">
                      <p align=\"center\">
                      <b>Korrektor</b><br><font size='1'>Vorname Nachname</font>
                    </td>
                    <td width=\"15%\">
                      <p align=\"center\">
                      <b>Note</b>
                    </td>
		</tr>
                <tr>";
                      $db = dbconnect();
                      $query = "SELECT stud.uid 
                                  FROM sozkom_wunsch, stud 
                                 WHERE id=\"". $_POST['ausw_ausg']."\" 
                                   AND Prioritaet=\"0\" 
                                   AND sozkom_wunsch.uid=stud.uid 
                                   AND stud.durchgefallen !='Y' 
                                 ORDER BY stud.uid";
					             
                      $result = $db->query ($query)
                                or die ("Cannot execute query");
                      while ($row = $result->fetch_array()){
                        $stud_info = $db->query("SELECT vorname, nachname, ag, jahrgang FROM stud where uid=\"$row[uid]\"");
                        $info = $stud_info->fetch_array();
                        $result1 = $db->query("SELECT * FROM sozkom_ergebnis where uid=\"$row[uid]\"");
                        $row1 = $result1->fetch_array();
                        
                        if($row1[Note] != ''){
                          $vorkomma = substr($row1[Note], 0,1);
                          $nachkomma = substr($row1[Note], 2,1);
                        }else{
                          $vorkomma = "";
                          $nachkomma = "";
                        
                        }
                        echo "
                <tr>
		  <td width=\"30%\">
                    <p align=\"left\">$info[vorname] $info[nachname]
                  </td>
		  <td width=\"10%\">
                    <p align=\"center\">$info[ag]/$info[jahrgang]
                  </td>
                  <td width=\"30%\">
                    <p align=\"left\">
                    <input type=\"text\" name=\"Thema_$row[uid]\" value=\"$row1[Thema]\" size=\"38\">
                  </td>
                  <td width=\"15%\">
                    <p align=\"center\">
                    <input type=\"text\" name=\"Korr_$row[uid]\" value=\"$row1[Korrektor]\" size=\"20\">
                  </td>
                  <td width=\"15%\">
  					  <p align=\"center\">
  					    <select size=\"1\" name=\"$row[uid]vor\">
						<option value=NULL";
						if ($vorkomma == NULL OR $vorkomma == "") echo " selected";  echo">
							---
						</option>
						<option value=\"1\"";
						if ($vorkomma == '1') echo " selected";  echo ">
							1
						</option>
						<option value=\"2\"";
						if ($vorkomma == '2') echo " selected";  echo ">
							2
						</option>
						<option value=\"3\"";
						if ($vorkomma == '3') echo " selected";  echo ">
							3
						</option>
						<option value=\"4\"";
						if ($vorkomma == '4') echo " selected";  echo ">
							4
						</option>
						<option value=\"5\"";
						if ($vorkomma == '5') echo " selected";  echo ">
							5
						</option>

						</select>,
  					    <select size=\"1\" name=\"$row[uid]nach\">
						<option value=NULL";
						if ($nachkomma == NULL OR $nachkomma == "") echo " selected";  echo">
							---
						</option>
						<option value=\"0\"";
						if ($nachkomma == '0') echo " selected";  echo ">
							0
						</option>
						<option value=\"1\"";
						if ($nachkomma == '1') echo " selected";  echo ">
							1
						</option>
						<option value=\"2\"";
						if ($nachkomma == '2') echo " selected";  echo ">
							2
						</option>
						<option value=\"3\"";
						if ($nachkomma == '3') echo " selected";  echo ">
							3
						</option>
						<option value=\"4\"";
						if ($nachkomma == '4') echo " selected";  echo ">
							4
						</option>
						<option value=\"5\"";
						if ($nachkomma == '5') echo " selected";  echo ">
							5
						</option>
						<option value=\"6\"";
						if ($nachkomma == '6') echo " selected";  echo ">
							6
						</option>
						<option value=\"7\"";
						if ($nachkomma == '7') echo " selected";  echo ">
							7
						</option>
						<option value=\"8\"";
						if ($nachkomma == '8') echo " selected";  echo ">
							8
						</option>
						<option value=\"9\"";
						if ($nachkomma == '9') echo " selected";  echo ">
							9
						</option>

						</select>

                      </td>
		</tr>";
	}
	 echo"
                      </table>
                    &nbsp; <input type=\"submit\" value=\"Abschicken\" name=\"B1\">
                      <input type=\"reset\" value=\"Zur&uuml;cksetzen\" name=\"B2\"></form>
                    </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\">
                    <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>
        </div>
        </td>
    </tr>
</table>
</body>
</html>";

break;
case "bearbeiten2":
$ck_sozkomid = $_COOKIE["ck_sozkomid"];


$db = dbconnect();
$result8 = $db->query("SELECT stud.uid FROM sozkom_wunsch, stud WHERE id=\"$ck_sozkomid\" AND Prioritaet=\"0\" AND sozkom_wunsch.uid = stud.uid AND stud.durchgefallen !='Y'");
while ($row8 = $result8->fetch_array()){
       $stud=$_POST[$row8[0]."vor"].",".$_POST[$row8[0]."nach"];
       $stud_pruef=$_POST[$row8[0]."vor"].$_POST[$row8[0]."nach"];
       $Thema= $_POST['Thema_'.$row8[0]];
       $Korr = $_POST['Korr_'.$row8[0]];

if($stud_pruef > 50){
echo"
  <html>
  <head>
  <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
  <link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
  <title>Falsche Note</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>
                      <span class=\"sh\">Falsche Note</span><br>
                      <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\"><b>Es d&uuml;rfen keine Noten über 5,0 vergeben werden!</b>
                      </p>
                      <p align=\"center\"><a href=\"javascript:history.back()\">
                      <img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
                      </p>
                      <p></p>
                      <p></p>
                      <p></p>
                      <p></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>
          </div>
          </td>
      </tr>
  </table>
  </body>
  </html>";
  exit;

}


  //Abfrage, ob insert oder update kommen muss
  $result_vorh = $db->query("SELECT * FROM sozkom_ergebnis where uid=\"$row8[0]\"");
  $vorhanden = $result_vorh->fetch_array();


  if ($Thema =="" && $stud_pruef != 'NULLNULL')
  {
  echo"
  <html>
  <head>
  <meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
  <link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
  <title>Doppelerfassung</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>
                      <span class=\"sh\">Fehlerfassung</span><br>
                      <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\"><b>Es d&uuml;rfen keine Noten ohne Thema vergeben werden!<br>Dies ist so bei $row8[0]</b>
                      </p>
                      <p align=\"center\"><a href=\"javascript:history.back()\">
                      <img border=\"0\" src=\"../images/zurueck.gif\" width=\"77\" height=\"22\"></a><br>
                      </p>
                      <p></p>
                      <p></p>
                      <p></p>
                      <p></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>
          </div>
          </td>
      </tr>
  </table>
  </body>
  </html>";
  exit;
  }  
  
  
    if ($vorhanden[uid] == ""){
      $sql = $db->query ("INSERT INTO sozkom_ergebnis(

      uid,
      id,
      Thema,
      Korrektor,
      note)
      
      VALUES(
      
      '$row8[0]',
      '$ck_sozkomid',
      '$Thema',
      '$Korr',
      '$stud'
      )
      ");
    }else{
      $sql = $db->query ("UPDATE sozkom_ergebnis set

      uid='$row8[0]',
      id='$ck_sozkomid',
      Thema='$Thema',
      Korrektor='$Korr',
      note='$stud'
      where uid='$row8[0]'");

    }//Ende if

}//Ende While

$sql = $db->query ("DELETE FROM sozkom_ergebnis WHERE (Thema=\"\" or Thema IS NULL) and id ='$ck_sozkomid'");

echo "
<meta http-equiv=\"refresh\" content=\"1; URL=noteneingabe_admin.php\">
<html>
<head>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<link rel=\"stylesheet\" href=\"../styles_pc.css\" type=\"text/css\">
<title>Aktualisierung</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>
                    <span class=\"sh\">Aktualisierung</span><br>
                    <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\"><b>Die Noten f&uuml;r die Soziale Kompetenzen wurden aktualisiert!</b>
                    </p>
                    <p></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>
        </div>
        </td>
    </tr>
</table>
</body>
</html>
";
} //Ende Action Abfrage
?>
