
<html>
<head>
<style>
.myButton {
	-moz-box-shadow:inset 0px -3px 7px 0px #ffffff;
	-webkit-box-shadow:inset 0px -3px 7px 0px #ffffff;
	box-shadow:inset 0px -3px 7px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
	background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
	background-color:#ededed;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#777777;
	font-family:arial;
	font-size:13px;
	padding:9px 23px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
	background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
	background-color:#dfdfdf;
}
.myButton:active {
	position:relative;
	top:1px;
}


.pop-up2 {position:absolute; top:15%;left:7%; }
//.pop-up2:target {position:static; }

.popBox2 {
  background:white;

 
  width:20%;
  height:7%;



   z-index:1;

  border:1px solid #3a3a3a;


-moz-box-shadow:inset 0px -3px 7px 0px #ffffff;
	-webkit-box-shadow:inset 0px -3px 7px 0px #ffffff;
	box-shadow:inset 0px -3px 7px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
	background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);

  	opacity:0;
 	-webkit-transition: opacity 0.5s ease-in-out;
 	-moz-transition: opacity 0.5s ease-in-out;
  	-o-transition: opacity 0.5s ease-in-out;
 	-ms-transition: opacity 0.5s ease-in-out;
       transition: opacity 0.5s ease-in-out; 
}
:target .popBox2 {position:fixed; opacity:1;}

.popBox2:hover {box-shadow:3px 3px 6px #5a5a5a;}



.lightbox {display:none; text-indent:0em; background:white; opacity:0.0; width:100%; height:100%; position:fixed; top:5px; left:0; bottom:0; right:0;}
:target .lightbox {display:block}


.popScroll2 {position:absolute; top:9%; left:3%; right:3%; bottom:9%; overflow-y:auto; *overflow-y:scroll; padding-right:0.5em}
  




.pop-up2 :after{ 
position:absolute; top:14%;left:7%;
content:'';
display:#ededed;
position:absolute;
top:-20px; 
left:120px;
width:0;
height:0;
border-color: transparent transparent #ededed transparent;
border-style: solid;
border-width: 10px;

}






</style>


  <script>

</script>


</head>
<body>
<?
if(!isset($yr))
$yr=date('Y');
?>
<table width='100%' bgcolor='white'><tr><td align='left'>




<a href='mis_emp.php'  class="myButton" id='button4'>Sales Man</a>

</td>
<td align='right'><form name='f1' action='<?print $PHP_SELF?>' method='post'><select name='yr'><option><? echo $yr; ?></option>
<option>2013</option><option>2014</option><option>2015</option><option>2016</option></select><input type='submit' name='go' value='Go'></form></td></tr></table>
<center><h2><u style='color:white' >MIS REPORT</u></h2></center>

<div id="pop2" class="pop-up2" >
  <div class="popBox2">
    <div class="popScroll2" id='popScroll2' style="background-color:#ededed;border:1px solid grey; ">
<center>

    <form action='wholesale_repo.php'> 
Select:<select name="receivedby" id="receivedby" style="width:120px;" >

	<option>--SELECT--</option>
<?
	$xx=mysqli_query($db,"select * from empprofile where Desig='SERVICE ADVISOR'");
	while($xx1=mysqli_fetch_array($xx))
	{
 	print "\n<option >$xx1[EName]</option>";

	}
?>
</select>
<input type=submit name='go' value='Go'/>
</form>

    </div>
 
  </div>


  <a href="#links" class="lightbox"></a>
</div>



</body>

</html>