<?php include "layouts/menu.php"; 
$fid=$_REQUEST['fid'];
echo "<script>window.open('add_sales_print.php?idd=".$fid."','myNewWinsr','width=620,height=800,toolbar=0,menubar=no,status=no,resizable=yes,location=no,directories=no');</script>";
?>
<style>
.form-control::placeholder { 
color: black;
font-weight: bolder;
font-size: 16px; }
.form-control { 
font-weight: bolder;
display: block;
    width: 100%;
    height: 39px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc; } 
	/* WebKit, Blink, Edge */
.form-control:-moz-placeholder { color: blue; }  /* Mozilla Firefox 4 to 18 */
.form-control::-moz-placeholder { color: blue; }  /* Mozilla Firefox 19+ */
.form-control:-ms-input-placeholder { color: blue; }  /* Internet Explorer 10-11 */
.form-control::-ms-input-placeholder { color: blue; }  /* Microsoft Edge */


}
.form-control-feedback {
    right: 18px;
    size: 11px;
    font-size: larger;
	color: #3c763d;
	margin-top: 8px;
    height: 23px;
    color: #bbb;
    line-height: 24px;
    font-size: 15px;
}
</style>
	 <script>
	function autocomp() {
	var min_length = 0; // min caracters to display the autocomplete
	var keyword = $('#didn').val();
	if (keyword.length >= min_length) {
		$.ajax({
			url: 'ajax_sname.php',
			type: 'POST',
			data: {keyword:keyword},
			success:function(data){
				$('#dname').show();
				$('#dname').html(data);
			}
		});
	} else {
		$('#dname').hide();
	}
}

// set_item : this function will be executed when we select an item
function set_itemm(item) {
	// change input value
	$('#didn').val(item);
	// hide proposition list
	$('#dname').hide();
}
	</script>
		 <script>
	function autocomplett() {
	var min_length = 0; // min caracters to display the autocomplete
	var keyword = $('#zxcvb').val();
	if (keyword.length >= min_length) {
		$.ajax({
			url: 'ajax_broker.php',
			type: 'POST',
			data: {keyword:keyword},
			success:function(data){
				$('#qwertyu').show();
				$('#qwertyu').html(data);
			}
		});
	} else {
		$('#qwertyu').hide();
	}
}
// set_item : this function will be executed when we select an item
function set_itemmm(item) {
	// change input value
	$('#zxcvb').val(item);
	// hide proposition list
	$('#qwertyu').hide();
}
	</script>
    <!--  page-wrapper -->
         <div class="right_col" role="main">

            <div class="row">
                <div class="col-lg-12">
                    <!-- Form Elements -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                           Select Scheme To Make Pledge
                        </div>
                        <div class="panel-body">
                            <div class="row">
					
     <?php
					
						$qry=mysqli_query($conn, "select * from msch where mfin='$mfin'");
						$n=mysqli_num_rows($qry);
						if($n==0)
						{
							echo "Nothing To Display";
						}
						else
						
					{ 
						?>
                <!-- Main content -->
                <section class="content">
                    <div class="row">
                        <div class="col-xs-12"> 
                            <div class="box">
                               <!-- /.box-header -->
                                <div class="box-body table-responsive">
                                    <table id="table2" class="table table-bordered table-striped">
                                        <thead>
                                            <tr>
							<th>Name</th>
								<th>Select</th>
								   <th>Type</th>		
							<th>Interest%</th>
							<th>Loan Value%(in Gold Rate)</th>
							<th>Reduction in gram(916H)</th>
							<th>Reduction in gram(Ordinary)</th>
							<th>Valitity in Months</th>
							<th>Interest After Valitity</th>
							<th>Interest Calc _ Month Onces</th>
							<th>Interest Taken On Loan</th>
							<th>PRECLOSE</th>	<th>Processing</th>
					
							
	
                                            </tr>
                                        </thead>
										<?php 
					while($row2=mysqli_fetch_array($qry))
						{
					?>
                                        <tbody>
                                           <tr>
                         <td><?php echo $row2['name'];?></td>
<?php $drty = $row2['details'];
if($drty=='Gold'){ ?>						 
					<td><a href='register11.php?sch=<?php echo $row2['name']; ?>'><button class="btn btn-warning">Select Scheme</button></a></td>
<?php } else { ?>
<td><a href='register11sl.php?sch=<?php echo $row2['name']; ?>'><button class="btn btn-info">Select Scheme</button></a></td>
<?php } ?>
						<td><?php echo $row2['details']; ?></td>
						<td><?php echo $row2['inter']; ?></td>
						<td><?php echo $row2['pgram']; ?></td>
						<td><?php echo $row2['hh']; ?></td>
						<td><?php echo $row2['oo']; ?></td>
						<td><?php echo $row2['edate']; ?></td>
						<td><?php echo $row2['inter2']; ?></td>
						<td><?php echo $row2['interm']; ?></td>
						<td><?php echo $row2['intert']; ?></td><td><?php echo $row2['prec']; ?></td><td><?php echo $row2['pros']; ?></td>
						
						

						
                                            </tr>
                                          </tbody>
                                        <?php
						}
					}
				
					?>
					                    
                                    </table>		
                                </div><!-- /.box-body -->

 


</div></div>
</div></div></div></div></div></div>         <footer>
          <div class="pull-right">
             <a href="https://infossel.com">Infossel Soft Solution</a>
          </div>
          <div class="clearfix"></div>
        </footer>
        <!-- /footer content -->
      </div>
    </div>

    <!-- jQuery -->
    <script src="vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <script src="vendors/nprogress/nprogress.js"></script>
    <!-- iCheck -->
    <script src="vendors/iCheck/icheck.min.js"></script>
    <!-- Datatables -->
    <script src="vendors/datatables.net/js/jquery.dataTables.min.js"></script>
    <script src="vendors/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
    <script src="vendors/datatables.net-buttons/js/dataTables.buttons.min.js"></script>
    <script src="vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js"></script>
    <script src="vendors/datatables.net-buttons/js/buttons.flash.min.js"></script>
    <script src="vendors/datatables.net-buttons/js/buttons.html5.min.js"></script>
    <script src="vendors/datatables.net-buttons/js/buttons.print.min.js"></script>
    <script src="vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js"></script>
    <script src="vendors/datatables.net-keytable/js/dataTables.keyTable.min.js"></script>
    <script src="vendors/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
    <script src="vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js"></script>
    <script src="vendors/datatables.net-scroller/js/dataTables.scroller.min.js"></script>
    <script src="vendors/jszip/dist/jszip.min.js"></script>
    <script src="vendors/pdfmake/build/pdfmake.min.js"></script>
    <script src="vendors/pdfmake/build/vfs_fonts.js"></script>

    <!-- Custom Theme Scripts -->
    <script src="build/js/custom.min.js"></script>

  </body>
