include 'incl/settings_main.inc.php'; // load settings
session_set_cookie_params (0);
session_name("SEID");
session_start();
// Login
if ($login==1 && $do=='submit') { //Login
include $main_incl_path.'conn_db.inc.php'; // connect to DB
$query = "select user_id,user_name,user_level,user_group_id,user_isbanned from adm_users where user_name='$user' and user_password='$pwd' and user_group_id<20 limit 1";
include $main_incl_path.'query_db.inc.php'; // execute query
include $main_incl_path.'disconn_db.inc.php'; // Disconnect from DB
while ($loop=mysql_fetch_array($result)) {
$tmp_userid = $loop[0];
$tmp_username = $loop[1];
$tmp_userlevel = $loop[2];
$tmp_usergroup = $loop[3];
$tmp_isbanned = $loop[4];
}
if ($tmp_userid && $tmp_isbanned==0) {
if (!isset($_SESSION['userid'])) {
$_SESSION['userid'] = $tmp_userid;
$_SESSION['userlevel'] = $tmp_userlevel;
$_SESSION['usergroup'] = $tmp_usergroup;
}
}
}
// Logout
if ($logout==1) {
session_unregister('userid');
session_unregister('userlevel');
session_unregister('usergroup');
}
if ($do!='print') {?>
|
|
|
|
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('home','','images/home_over.gif',1)" onMouseDown="MM_swapImage('home','','images/home_down.gif',1)"}?>> |
|
} else {?>}?> |
|
} else {?>}?> |
|
} else {?>}?> |
|
// Pfadnavigation
if ($n!='') {?>}?>Home}?>
/ }?>Members Area}
if ($c==1) {?> / Demo-Shop
} elseif ($c==2) {?> / }?>Mitarbeiterprofile}
} elseif ($c==3) {?> / }?>Impact-Board}
} elseif ($c==4) {?> / Dokumentationen
}
} elseif ($n==1) {?>/ }?>Produkte}
if ($c==1) {?> / "Capable to Promise"
} elseif ($c==2) {?> / Planning Workbench
} elseif ($c==3) {?> / }?>Mobile Datenerfassung}
if ($p==1) {?> / Standardabläufe}
} elseif ($c==4) {?> / }?>SAP Anbindung}
if ($p==1) {?> / Detailinfo}
} elseif ($c==5) {?> / Zentrales User Management
} elseif ($c==6) {?> / }?>WebPortal}
if ($p==1) {?> / Zusätzliche Module}
}
} elseif ($n==2) {?>/ }?>Tätigkeitsbereiche}
if ($c==1) {?> / ERP-Beratung
} elseif ($c==2) {?> / SAP - Eigenentwicklungen
} elseif ($c==3) {?> / Individuelle Softwareentwicklungen}
} elseif ($n==3) {?>/ Referenzen
} elseif ($n==4) {?>/ Partner
} elseif ($n==5) {?>/ Team
} elseif ($n==6) {?>/ }?>Kontakt}
if ($c==1) {?> / E-Mail-Kontakt}
} elseif ($n==7) {?>/ Jobs
}?>
|
|
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('members','','images/members_over.gif',1)"}?>>} else {?>}?> |
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('produkte','','images/produkte_over.gif',1)"}?>>
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('taetigkeiten','','images/taetigkeiten_over.gif',1)"}?>>
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('referenzen','','images/referenzen_over.gif',1)"}?>>
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('partner','','images/partner_over.gif',1)"}?>>
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('team','','images/team_over.gif',1)"}?>>
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('kontakt','','images/kontakt_over.gif',1)"}?>>
onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('jobs','','images/jobs_over.gif',1)"}?>>
|
|
|
|
|
// Content
if ($login==1) { // Login
if ($do=='submit') {
if (!$tmp_userid) {?>
Username oder Passwort nicht korrekt! Probieren Sie es bitte nochmals.
|
Ihr User ist leider gesperrt!
|
|