diff --git a/cis/ampel.php b/cis/ampel.php index 4d1cdcceb..5b760e844 100755 --- a/cis/ampel.php +++ b/cis/ampel.php @@ -3,6 +3,10 @@ require_once('../config/cis.config.inc.php'); require_once('../include/functions.inc.php'); require_once('../include/ampel.class.php'); require_once('../include/datum.class.php'); +require_once('../include/phrasen.class.php'); + +$sprache = getSprache(); +$p = new phrasen($sprache); if(is_user_logged_in()) { @@ -32,16 +36,25 @@ if(is_user_logged_in()) } } } + if($rot==0 && $gelb==0) + echo ''; +// if($rot>0 || $gelb>0) +// { +// echo 'glocke'; +// } if($rot>0 || $gelb>0) { - echo '['; - if($rot>0) - echo ' '.$rot.''; + echo ''; + if($rot>0 && $gelb==0) + //echo ''.$rot.''; + echo ''; if($rot>0 && $gelb>0) - echo ' | '; - if($gelb>0) - echo ' '.$gelb.''; - echo ' ]'; + //echo ' '; + echo ''; + if($gelb>0 && $rot==0) + //echo ''.$gelb.''; + echo ''; + echo ' '; } } else diff --git a/cis/index.html b/cis/index.html index df1b12c5e..2661fb108 100644 --- a/cis/index.html +++ b/cis/index.html @@ -1,12 +1,48 @@ + -CIS - - + CIS + + + + + - -Sollten Sie nicht automatisch weitergeleitet werden, druecken sie bitte hier + + + + + + + +
+ + + + + + + + + + +
+ fhtw_logo + header_links + header_rechts +
+ +


+ +
+
+
+ +
+
+
Powered by FH Complete 2.0
+

+
+
\ No newline at end of file diff --git a/cis/index.php b/cis/index.php index 7c430953e..f8308743f 100644 --- a/cis/index.php +++ b/cis/index.php @@ -26,6 +26,7 @@ require_once('../include/functions.inc.php'); require_once('../include/sprache.class.php'); require_once('../include/phrasen.class.php'); require_once('../include/mail.class.php'); +require_once('../include/student.class.php'); /** * Prueft die URL damit keine boesen URLS uebergeben werden koennen @@ -73,7 +74,7 @@ if(isset($_GET['content_id'])) } else $id = ''; - + if(isset($_GET['menu'])) { $menu = $_GET['menu']; @@ -82,20 +83,41 @@ if(isset($_GET['menu'])) else $menu = 'menu.php?content_id='.$id; +$user = get_uid(); +$student = new student(); +if($student->load($user)) +{ + $studiengang_kz=$student->studiengang_kz; + $semester=$student->semester; + $verband=$student->verband; +} +else +{ + $studiengang_kz=''; + $semester=''; + $verband=''; +} + if(isset($_GET['content'])) { $content = $_GET['content']; validURLCheck($content); } else - $content = '../cms/news.php'; +{ + if($studiengang_kz=='' && $semester=='' && $verband=='' ) + $content = '../cms/news.php'; + else + if ($semester=='0' && $verband=='I') + $content = '../cms/news.php?studiengang_kz=10006&semester=0'; + else + $content = '../cms/news.php?studiengang_kz='.$studiengang_kz.'&semester='.$semester.''; +} $sprache = getSprache(); $p = new phrasen($sprache); $db = new basis_db(); -?> - - +?> CIS - <?php echo CAMPUS_NAME; ?> @@ -131,57 +153,101 @@ function loadampel() $('#ampel').load('ampel.php?'+gettimestamp()); } - - - - - - - - - - - - - - - - - - - + +
- - -
- Powered by FH Complete 2.0 -
-
- - - getAll(true); - foreach($sprache->result as $row) - { - echo ' '.$row->sprache.''; - } - ?> - -
- - -
-
+ + + + +
+ + + + + + + +
+ + header_links + header_rechts + + + + + + + + + + +
  + +
+ + +
+
+ getAll(true); + foreach($sprache->result as $row) + { + echo '   '.$row->sprache.''; + }?> +
+
+ + +
+
+ +
- - , + * Andreas Oesterreicher and + * Manfred Kindl + * + */ +require_once('../config/cis.config.inc.php'); +require_once('../include/functions.inc.php'); + +if(isset($_GET['login'])) +{ + $uid = get_uid(); + + if($uid!='') + { + header('Location: '.APP_ROOT.'cis/index.php'); + } +} + +?> + + +CIS + + + + + + + + + +
+




+
+ +


+ Herzlich Willkommen am Campus Informationssystem der Fachhochschule Technikum Wien +
+
+
+ +
+
+
+ + diff --git a/cis/menu.php b/cis/menu.php index e933956a2..5177b0431 100644 --- a/cis/menu.php +++ b/cis/menu.php @@ -39,69 +39,60 @@ ob_start(); Menu - + - - - - +
'; if($content_id!=CIS_MENU_ENTRY_CONTENT) { - echo '
- - - - '; + echo '
  • << '.$p->t('global/zurueck').'
  • '; } require_once('../cms/menu.inc.php'); drawSubmenu($content_id); //Gepufferten Output ausgeben ob_end_flush(); + echo ''; ?> - - + - \ No newline at end of file +