<?
session_start();
$brcode=$_SESSION['brcode'];
$user=$_SESSION['user'];
include_once("opendb.php");
if(strlen($brcode)<=0)
{
    print "<script> alert('Session timed out'); parent.document.location='index.php'; </script>";
    return;
}
include_once('includes/top.php');
?>
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Kerala Khadi and Village Industries Board</title>
<link type="text/css" href="jquery/jquery-ui.min.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="cal/jquery-ui1.js"></script>
<script type="text/javascript" src="jquery/jquery-1.7.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery/jquery.jqEasyCharCounter.min.js"></script>

<script type="text/javascript">













</script>




<style>
.la-code {
    display: inline-block;
    width: 200px;
}

#mask {
	display: none;
	background:url(images/bgimg1.gif) repeat;
	//background: #000; 
	position: fixed; left: 0; top: 0; 
	z-index: 10;
	width: 100%; height: 100%;
	opacity: 0.8;
	z-index: 999;
}

.login-popup{
		display:none;
	background:white;
	padding: 10px; 	
	border: 2px solid #ddd;
	float: left;
	font-size: 1.2em;
	position: fixed;
	top: 4%; left: 45%;
	z-index: 99999;
	box-shadow: 0px 0px 20px #999;
	-moz-box-shadow: 0px 0px 20px #999; /* Firefox */
    -webkit-box-shadow: 0px 0px 20px #999; /* Safari, Chrome */
	border-radius:3px 3px 3px 3px;
    -moz-border-radius: 3px; /* Firefox */
    -webkit-border-radius: 3px; /* Safari, Chrome */
}


img.btn_close {
	float: right; 
	margin: -28px -28px 0 0;
}

fieldset { 
	border:none; 
}

form.signin .textbox label { 
	display:block; 
	padding-bottom:7px; 
}

form.signin .textbox span { 
	display:block;
}

form.signin p, form.signin span { 
	color:white; 
	font-size:11px; 
	line-height:18px;
} 

form.signin .textbox input { 
	background:#666666; 
	border-bottom:1px solid #333;
	border-left:1px solid #000;
	border-right:1px solid #333;
	border-top:1px solid #000;
	color:white; 
	border-radius: 3px 3px 3px 3px;
	-moz-border-radius: 3px;
    -webkit-border-radius: 3px;
	font:13px Arial, Helvetica, sans-serif;
	padding:6px 6px 4px;
	width:200px;
}

form.signin input:-moz-placeholder { color:white; text-shadow:0 0 2px #000; }
form.signin input::-webkit-input-placeholder { color:hwite; text-shadow:0 0 2px #000;  }

.submit button { 
	background: -moz-linear-gradient(center top, #f3f3f3, #dddddd);
	background: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), to(#dddddd));
	background:  -o-linear-gradient(top, #f3f3f3, #dddddd);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f3f3f3', EndColorStr='#dddddd');
	border-color:#000; 
	border-width:1px;
	border-radius:4px 4px 4px 4px;
	-moz-border-radius: 4px;
    -webkit-border-radius: 4px;
	color:#333;
	cursor:pointer;
	display:inline-block;
	padding:6px 6px 4px;
	margin-top:10px;
	font:12px; 
	width:100px;
}
#tbl2{
 margin:0px 20px 10px 20px;
 min-width:95%;
}
.button:hover { background:#ddd; }


.del{
      border: none;
     background: url("images/delete.png") no-repeat scroll 0 0 transparent;
}


.pop-up2 {position:absolute; top:10px; left:50px;padding-left:180px;}
.pop-up2:target {position:static; left:0;}

.popBox2 {
  background:#ffffff;

 
  width:75%;
  min-height:100%;



   z-index:1;

  border:1px solid #3a3a3a;


  -moz-border-radius:12px;
  border-radius:12px;
  -webkit-box-shadow:2px 2px 4px #3a3a3a;
  -moz-box-shadow:2px 2px 4px #3a3a3a;
  box-shadow:2px 2px 4px #3a3a3a;
  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:#000; opacity:0.0; width:100%; height:100%; position:fixed; top:0; left:0; bottom:0; right:0;}
:target .lightbox {display:block}

/* .popScroll {max-height:99%; overflow-y:scroll;} removed 17/07/2012 */
.popScroll2 {position:absolute; top:9%; left:3%; right:3%; bottom:9%; overflow-y:auto; *overflow-y:scroll; padding-right:0.5em}
</style>


















<style>
.cont
	{
	background-color:#3b5998;

	//background:url(images/bg-inner.jpg) #e9e0c3 repeat-x;
  	width: 100%;position: absolute ;
	height:99%;
    	/* Optional - just for DIV)*/
    	//border: solid 1px #000000;
	-moz-box-shadow: 0px 5px 5px #888;
	-webkit-box-shadow: 0px 5px 5px #888;
	box-shadow: 0px 5px 10px #888;
    }
.tble1 input {
background-color:transparent;
border: 0px solid;
height:20px;
//width:160px;
color:black;
}
.tble1
{
border-collapse:collapse;
border:1px solid silver;

}	
.tble1 td
{
//border-collapse:collapse;
border:1px solid silver;

}



</style>
<style>








		
.darkClass
{
    background-color: white;
    filter:alpha(opacity=50); /* IE */
    opacity: 0.5; /* Safari, Opera */
    -moz-opacity:0.50; /* FireFox */
    z-index: 20;
    height: 1000px;
    width: 100%;
    background-repeat:no-repeat;
    background-position:center;
    position:absolute;
    top: 400px;
    left: 0px;
}		
		
		

		










		</style>

		

   	   <!--[if IE]>

   	   <style>

		.inputInvoiceDataItem			{ border:0px solid white; padding:5px; padding-top:4px;padding-left:1px; width:86px; font-weight:normal; font-family:verdana;font-size:13px;color:#3c3c3c;}

		.divWithCustomizationLinkIMG	{ margin:0px;padding:0px;padding-top:2px;}		    



		</style>

 	   <![endif]-->

 	   

  	   	<!--[if lte IE 7]>

   	   	<style>

       	.send_button				{ margin-top:3px;}	  

		.inputInvoiceDataItem		{ outline:none;border:0px solid white; padding:5px; margin-top:5px;padding-left:1px; width:80px; margin-right:6px; font-weight:normal; font-family:verdana;font-size:13px;color:#3c3c3c;}

		.divWithCustomizationLinkTable   { width:100%;margin:0px; margin-top:10px; padding:0px;background-color:#FFFADC;border-top:2px solid #FCF5CD; border-bottom:2px solid #FCF5CD;padding:3px;padding-left:10px; }		

		.divWithCustomizationLinkIMG	{ margin:0px;padding:0px;padding-top:4px;}		    

	   	</style>

	   	<![endif]-->

 	   
				<style type="text/css">
			iframe {
				display:none;
			}
		</style>

<link type="text/css" href="includes/style1.css" rel="stylesheet" />
      <link type="text/css" href="css/form1.css" rel="stylesheet" />

<style>


        



        .left-light-gray-border{
            position:relative;
            border-left:solid 1px #ccc;
            top: 0px;
        }

        .right-light-gray-border{
            position:relative;
            border-right:solid 1px #ccc;
            top: 0px;
        }

        .right-light-none-border{
            position:relative;
            border-right:solid 1px transparent;
            top: 0px;
        }

        .left-light-none-border{
            position:relative;
            border-left:solid 1px transparent;
            top: 0px;
        }



    </style>            
            
       <br>


        	<table id="main_table_wrapper" style=" top: 0px; width: 800px; margin: 0px auto ! important; text-align: left;" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td>
        
        <!-- TB 2 -->
        <link rel="stylesheet" href="tabjs/thickbox.css" type="text/css" media="screen">
        <script type="text/javascript" src="tabjs/thickbox-compressed.js"></script>

        <table style="width:100%;margin:0px;padding:0px;padding-bottom:10px;" cellpadding="0" cellspacing="0">
        <tbody><tr>
        <td colspan="100" style="text-align:left;" width="100%">

        <!-- TB 3 -->

        <table style="padding:0px; margin:0px;text-align:left;" cellpadding="0" cellspacing="0" width="100%">

        <tbody><tr>       
           
           <!-- </form>-->         


        <td style="width:200px; padding-top:0px;margin:0px;text-align:left;">&nbsp;

        </td>



            
            <td style="padding-top:0px;margin:0px;text-align:right;">

              <!--  <form method="post" action="" >-->

                      


             <!--   </form>-->

            </td>

                
        </tr>
  
        </tbody></table> <!-- TB 3 -->

        </td>

        </tr>



        </tbody></table>





    <form name="invoice_form"  id="jforms"  method="POST" action="journew_17032017.php" >

           


    <!-- TB 2 -->

<table class='tbl2' id='tbl2' >
<?
$re11=mysqli_query($db,"select login_date from branch where brcode='$brcode'");
$row11=mysqli_fetch_array($re11);
$mlogin_date = $row11[0];
$qry=mysqli_query($db,"select * from  transactmast order by trnstyp ASC");
?>



<tr>
<td align='left' colspan=2>
Select Transaction Type</td>
<td id="to_new_customerTD">
<select name='jtype' onChange=getinv(this.value)>
<option value='select'>-select-</option>
<?
while($row=mysqli_fetch_array($qry))
{
?>
<option value='<? echo $row[trnsid] ?>'><? echo $row[trnstyp] ?></option>
<?
}
?>
</select>
 
    
 </td>

<td >
   <a href="#login-box" class="login-window" style="text-decoration:none;"> <input  style="height:32px;width:110px;" value="Proceed" type="submit" id='svbttn'></a>

</td></tr>





  





    



    





</form>
</div>





    <tr>

    <td>

    <!-- TB 4 -->

    <table border="0" cellpadding="0" cellspacing="0">



    <tbody>                      
        

        

 
            
       


            
            


            
           




            <!-- TB 5 -->

        </tbody></table>










    </tbody></table>

    </td>





    



    </tr>



    <!-- TB 3 -->

    </tbody></table>

    </td>



    </tr>
<div id='nwtest'></div>
    <!-- TB 2 -->

    </tbody></table>

  </form>

    <br><br><br><br>
						
		
		
		<!-- end main table wrapper -->
		</td></tr></tbody></table>
		
</body></html>


</html>