This commit is contained in:
Andreas Österreicher
2009-08-20 11:47:56 +00:00
parent ae73d03080
commit e5941d2463
5 changed files with 12 additions and 9 deletions
@@ -4,7 +4,6 @@
<head>
<title>Bachelor-/Diplomarbeitsabgabe - Student</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../../skin/vilesci.css" type="text/css" />
</head>
<frameset rows="400,*">
+1 -1
View File
@@ -60,7 +60,7 @@ function resize($filename, $width, $height)
imagejpeg($image_p, $filename, 80);
imagedestroy($image_p);
imagedestroy($image);
@imagedestroy($image);
}
$user = get_uid();
+7 -3
View File
@@ -245,10 +245,14 @@ if ($aktion=='stpl_move' || $aktion=='stpl_set')
elseif ($aktion=='stpl_delete_single' || $aktion=='stpl_delete_block')
{
$lehrstunde=new lehrstunde();
foreach ($stpl_id as $stundenplan_id)
if(isset($stpl_id))
{
$lehrstunde->delete($stundenplan_id,$db_stpl_table);
$error_msg.=$lehrstunde->errormsg;
foreach ($stpl_id as $stundenplan_id)
{
$lehrstunde->delete($stundenplan_id,$db_stpl_table);
$error_msg.=$lehrstunde->errormsg;
}
}
if(isset($res_id))
+2 -2
View File
@@ -80,8 +80,8 @@ class ferien extends basis_db
$f->studiengang_kz = $row->studiengang_kz;
$f->vondatum=$row->vondatum;
$f->bisdatum=$row->bisdatum;
$f->vontimestamp=mktime(0,0,0,mb_substr($row->vondatum,5,2),mb_substr($row->vondatum,8),mb_substr($row->vondatum,0,4));;
$f->bistimestamp=mktime(23,59,59,mb_substr($row->bisdatum,5,2),mb_substr($row->bisdatum,8),mb_substr($row->bisdatum,0,4));;
$f->vontimestamp=mktime(0,0,0,mb_substr($row->vondatum,5,2),mb_substr($row->vondatum,8),mb_substr($row->vondatum,0,4));
$f->bistimestamp=mktime(23,59,59,mb_substr($row->bisdatum,5,2),mb_substr($row->bisdatum,8),mb_substr($row->bisdatum,0,4));
// in array speichern
$this->ferien[]=$f;
}
+2 -2
View File
@@ -87,14 +87,14 @@ else
function draw_content($row)
{
global $rdf_url, $datum, $conn;
global $rdf_url, $datum, $db;
$lehrveranstaltung_id='';
$studiensemester_kurzbz = '';
if($row->lehreinheit_id!='')
{
$qry = "SELECT lehrveranstaltung_id, studiensemester_kurzbz FROM lehre.tbl_lehreinheit WHERE lehreinheit_id='$row->lehreinheit_id'";
if($result = $db->db_query($conn, $qry))
if($result = $db->db_query($qry))
{
if($row_lv = $db->db_fetch_object($result))
{