Successfully Logout!"; } //include("common_db.php"); // database connection file //$link_id = db_connect(); // validation & passing through main admin pannel if($lgdoit=="now"){ $q="select * from user where user_name='$uname' and user_pass='$upass' and user_status=1"; //echo $g; $r=mysql_query($q, $link_id); $tot=mysql_num_rows($r); if($tot==1){ $row=mysql_fetch_object($r); $ofid=$row->user_id; $myoffid=$row->user_name; $ulevel=$row->user_access_level; //$uname=$row->user_full_name; $totm=date("h:i"); $todt = date("Y-m-d"); $q3="INSERT INTO log_tb (log_office_id, log_login, log_logout, log_date, log_note, log_status) VALUES ('$ofid', '$totm', '', '$todt', '', 'in')"; if(mysql_query($q3, $link_id)){ $myq="UPDATE USER SET USER_PASS='$instnewpass' WHERE user_name='$uname' and user_pass='$upass' and user_status=1"; $myr=mysql_query($myq); $msgboard="
Password Change Successfully !! Please login with new password.
"; header("Location: index.php?msgboard=$msgboard"); echo $myq; //$myrow=mysql_fetch_object($myr); //$track=$myrow->log_id; } //--setcookie("myoffid",$myoffid, time() + 3600 * 30); //--setcookie("ofid",$ofid, time() + 3600 * 30); //--setcookie("mysess",$mysess, time() + 3600 * 30); //--setcookie("mytrack",$track, time() + 3600 * 30); //--setcookie("mycur",$mycur, time() + 3600 * 30); // location=window.open('mk_sale_visit.php','','scrollbars=yes,width=1000,height=700'); // window.opener=self; window.close(); //location="mk_sale_visit.php"; //header("Location: index_change_pass.php"); //--header("Location: index_change_pass.php");msgboard //location="main.php"; } else { $msgboard="Old Password didn't match !!"; $nulss="BTEB is the best"; setcookie("myoffid",$nulss, time() + 3600 * 30); } }else{ $nulss=""; setcookie("myoffid",$nulss, time() + 3600 * 30); } ?>  BTEB Online Registration - Login 
Bangladesh Technical Education Board

Electronic Registration Information Form (e-RIF) -


  Institution Code    
  Old Password    
  New Password    
  Confirm Password    
      Back to Log In