Successfully Logout!"; } //include("common_db.php"); // database connection file //$link_id = db_connect(); // validation & passing through main admin pannel if($lgdoit=="now"){ $uname= filter_var($uname, FILTER_SANITIZE_STRING); $upass= filter_var($upass, FILTER_SANITIZE_STRING); $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="select * from log_tb order by log_id desc"; $myr=mysql_query($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: registration_report.php?page=0"); //location="main.php"; } else { $msgboard="Invalid Login!"; $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

Online Form Fillup-
Diploma in Textile Engineering Form Fillup -2023 Click to View
  Course Curriculum    
  Exam Year    
  Institution Code    
  Password   Help Line: 01550620604 (Only In Office Day at 9:00 am to 6:oo pm )
      Change Password