<?php
session_start();
?>

<!DOCTYPE html>
<html>
    <head>
 <?php include("header-js.php");?>	
		
<!-----hrm-------------->		

<!--<script type="text/javascript" src="js/jquery.min.js"></script>-->
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/jquery-ui.css" />
<!-- Responsive -->
<script src="js/dateFormat.js"></script>
<script src="js/jquery-ui.js"></script>
<script language="javascript" src="js/css3-mediaqueries.js" type="text/javascript"></script>
<script type="text/javascript" src="js/insert.js"></script>
<!--<script type="text/javascript" src="js/jquery.simplePagination.js"></script>-->

<link rel="stylesheet" href="css/responsive.css" />
<link rel="stylesheet" href="css/simplePagination.css" />

<!-----hrm-------------->
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
    </head>


						<?php 
							include_once("class/class.MySQL.php");
							$db	=new MySQL();
							$userid=$_SESSION['admin_id'];
$sub_rights_view=mysql_fetch_array(mysql_query("select * from menu as m,menu_sub as s where  m.menu_name='Recruitment' and m.menu_id=s.menu_id and s.s_menu_name='Selected List' "));

$view_rights_view=mysql_fetch_array(mysql_query("select * from tbl_user_rights where user_id='$userid' and s_submenu_id='$sub_rights_view[s_id]'"));

?>	

<?php  if($userid!=1){if($view_rights_view['view_right']==1){?>
    <body class="skin-blue" onLoad="selected_candiate_list('1','','Y');">
	
	<?php }else{?>
	 <body class="skin-blue" onLoad="selected_candiate_list('1','','N');">
	<?php }}else{ ?>
	 <body class="skin-blue" onLoad="selected_candiate_list('1','','A');">
	<?php } ?>

<!--    <body class="skin-blue" onLoad="selected_candiate_list('1','');">-->
        <!-- header logo: style can be found in header.less -->
        <?php include("header.php");?>

                    <!-- Small boxes (Stat box) -->
                    

                    <!-- Main row -->
                    <div class="row">
                    
					<div id="wrapper">



<div class="content">

<div class="report-tab">
<!--<div class="report-left">
<h2>Recruitment List</h2>
</div>-->


<div class="report-cell-02">

<label><input type="button" value="Resumes" data-page="Branch"  class="btn-tab-100 resume_List" /></label>
<label><input type="button" value="Schedule an Interview" data-page="Department"  class="btn-tab-100 interview_schd" /></label>
<label><input type="button" value="Shortlisted Employee" data-page="Designation"  class="btn-tab-100 shortlist_form"/></label>
<label><input type="button" value="Selected List" data-page="Company"  class="btn-tab-100 selected_List_form btn-tab-100-selected"/></label>
<div class="clear-float"></div>
</div>

<div class="employee-title">
<div class="report-left" style="width:auto;"><h2><translate>Selected Candiate Lis</translate>t<span></span></h2></div>
<!--<div class="sub-category-bt"><a href="create-person.php">Add Employee</a></div>-->
<div class="clear-float"></div>
</div>
<div class="clear-float"></div>

<!--<div class="report-cell-03">
<form class="recuitselectSearchForm">
<label><input type="text" placeholder="From date" name="from_date" id="prdaddate" style="width:100px;"/></label>
<label><input type="text" placeholder="To date" name="to_date" id="toaddate" style="width:100px;" /></label>

</form>
<label><input type="button" value="Search" class="searchRecuitselect" /></label>
<div class="clear-float"></div>
</div>--><!-- /report-cell-03 -->

<!--/employee-tab-01-->

<div class="employee-tabcells">
<div class="employee-col-01">
<!--<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="middle">No</td>
  </tr>
  <tr>
    <td align="center" valign="middle">1</td>
  </tr>
 
</table>-->

</div><!-- /employee-col-01 -->

<div class="employee-col-02 recruitmentGrid">
</div>
<div class="pagination-holder clearfix"align="center" >
			<div id="light-pagination" style="width:500px"  class="pagination light-theme simple-pagination"></div>
</div>
<!-- /employee-col-02 -->

<div class="clear-float"></div>
</div><!--/employee-tabcells-->

<div class="clear-float"></div>
</div><!-- /report-tab -->

<div class="clear-float"></div>
</div><!-- /content -->

<div class="footer">
<strong>© add-HRM</strong><br />
<span>Developed by <a href="http://www.aadhocc.com" target="_blank">Aadhocc</a></span></div><!-- /footer -->

</div>
					
					
                    </div><!-- /.row (main row) -->

                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->

        <!-- add new calendar event modal -->


        <!-- jQuery 2.0.2 -->
                      <?php 
	include("footer-js.php");
?>
		
		<!--------------scripts for employee list-------------->

	<!--------------scripts for employee list-------------->
    </body>
</html>