$back_label"); //open the database connection require_once("admin/config.php"); require_once("admin/lib.php"); if (!dbconnect()) print $DB_ACCESS_ERR; global $errorMsg; if ($posted=1){Login(); } //login function Login() { global $pwd,$login_name1, $password1, $authenticated1,$company_id,$user_name1,$s_user_name1, $s_user_type1,$s_login_name1,$errorMsg; $login_name1 = transform_HTML("$_POST[login_name1]"); $password1 = transform_HTML("$_POST[password1]"); $company_id = transform_HTML("$_POST[company_id]"); $user_name1 = transform_HTML("$_POST[user_name1]"); //$pwd= $password1; $pwd=md5(trim($password1)); //print $pwd; if ($login_name1!='' && $password1!='' && $company_id!='') { $sql="select * from account_tbl where login_name1='$login_name1' and password1='$pwd' and company_id=$company_id"; } //print $sql; $RS=mysql_query($sql); if ($RS && mysql_num_rows($RS)>0 && $REC=mysql_fetch_array($RS)) { $authenticated1="1"; $s_user_name1=transform_HTML($REC["user_name1"]); $s_login_name1=transform_HTML($REC["login_name1"]); $s_user_type1=transform_HTML($REC["company_id"]); $s_password1=transform_HTML($REC["password1"]); header("location:profile.php"); } else { //$GLOBALS["error"]="The login name or password is incorrect."; $errorMsg="The login name or password is incorrect."; } } // Careers.......... function displayAllCareers() { global $MAX_PROGRAMS_TO_SHOW_IN_LIST; $sql="select * from vacancy_tbl order by entry_date"; $RS=executePaging("careers.php?id=$id", $sql, $MAX_PROGRAMS_TO_SHOW_IN_LIST); print""; while ($myrow=mysql_fetch_array($RS)) { $md5_id = md5($myrow["id"]); $md5_qry = md5("career=".$myrow["id"]."&scr=".$md5_id); $md5_url = md5("career=".$myrow["id"]."&scr=".$md5_id."&url=".$md5_qry); print""; echo""; print""; } echo"
 ",htmlentities($myrow["vacancy_no"]),"  ",htmlentities(ToNormalDate($myrow["entry_date"])),"
"; } ?> Sudan Internet Exchange
Sudan Internet Exchange Point
Tel: +249 187172242 OR
     : +249 9900900705

Careers