<style type="text/css">
.new_tab .inside_tab {
    background-image: url("../../images/tab_1_img.jpg");
    background-repeat: repeat-x;
    height: 32px;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 2px;
    padding: 0;
}
.inside_tab ul {
    list-style-type: none;
    margin: 0;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-top: 4px;
}
.inside_tab li {
    float: left;
    margin: 0;
    padding: 0;
}
.inside_tab ul a {
    background-image: url("../../images/tab_2_img.jpg");
    background-repeat: repeat-x;
    border: 1px solid #666666;
    color: #000000;
    display: block;
    margin: 0 1px 0 0;
    padding: 3px 10px 4px;
    text-decoration: none;
}
.inside_tab ul a:hover {
    background-image: url("../../images/tab_2_img_hover.jpg");
    background-repeat: repeat-x;
    color: #000000;
    display: block;
    margin: 0 1px 0 0;
    padding: 6px 10px;
    text-decoration: none;
}
</style>
<?php 

$url_cancel= "index.php?route=ToolPlants/Transaction/fixed_assets_transfer_issue_index".$rurl;
$url_add= "index.php?route=ToolPlants/Transaction/fixed_assets_transfer_issue".$rurl;
$url_edit= "index.php?route=ToolPlants/Transaction/fixed_assets_transfer_issue_edit".$rurl;


?>
<link rel="stylesheet" href="css/new_mxerp.css">
<div class="body_contain">
<div class="tab_div">
<h1>Fixed Asset Transfer Request Issue</h1>
<div class="new_tab">
	<!--Inside tab-->
	<div class="inside_tab">
	<ul>
		<li><a href="index.php?route=ToolPlants/Transaction/fixed_assets_transfer_issue_index&modid=<?php echo $_REQUEST['modid'];?>&frmid=<?php echo $_REQUEST['frmid'];?>&tab=1&type=ToolPlants/Transaction/pend_issued_index">Pending Issue</a></li>
		<li><a href="index.php?route=ToolPlants/Transaction/fixed_assets_transfer_issue_index&modid=<?php echo $_REQUEST['modid'];?>&frmid=<?php echo $_REQUEST['frmid'];?>&tab=2&type=ToolPlants/Transaction/issued_index">Issued Request</a></li>
	<div style="clear:both;"></div>
	</ul>
	</div>
	<!--End of Inside tab-->
</div>
<div style="height:3px;"></div>

<div style="width:100%; ">
			

	<?php  
        if($_REQUEST['tab']=='1')
	{
	include("pend_issued_index.php");
	}
        if($_REQUEST['tab']=='2')
	{
	include("issued_index.php");
	}	
	if($_REQUEST['tab']=='')
	{
	include("pend_issued_index.php");
	}
	?>
</div>
<?php if(isset($_SESSION['success_msg']))
{ ?>
	<script> alert("<?php echo ($_SESSION['success_msg']);?>");</script>
<?php 
}	unset($_SESSION['success_msg']);
?>
</div>
</div>