<?php
include './koneksi/koneksi.php';
if($_SESSION['jabatan']=='admin')
{
	$user_check=$_SESSION['id_user'];
	$ses_sql=mysql_query("select * from user where id_user='$user_check'");
	$row = mysql_fetch_array($ses_sql);
}else 
if($_SESSION['jabatan']=='perusahaan'){
	$user_check=$_SESSION['id_perusahaan'];
	$ses_sql=mysql_query("select * from perusahaan where id_perusahaan='$user_check'");
	$row = mysql_fetch_array($ses_sql);
}else
if($_SESSION['jabatan']=='panitia')
{
	$user_check=$_SESSION['id_user'];
	$ses_sql=mysql_query("select * from user where id_user='$user_check'");
	$row = mysql_fetch_array($ses_sql);
}


?>