<?php
$html = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
$headinclude
<link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
	function checkForm(obj){
		if ($("#amount").val() == ""){
			alert("Please fill amount");
			$("#amount").focus();
			return false;
		}
		else{
			return confirm(\'Are you sure?\');
		}
	}
</script>

</HEAD>
<body class="skin-blue sidebar-mini">
    <div class="wrapper">
      
      $header
	  
      $navbar
	  
	<!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
           
			Global Share
			<!--<small>view withdraw detail</small>-->
					
			
            
          </h1>
          <!--
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Tables</a></li>
            <li class="active">Simple</li>
          </ol>
		-->
        </section>
		
		<!-- Main content -->
        <section class="content">
          <div class="row">
            <div class="col-md-12">
              <div class="box box-primary">
                <div class="box-header">
                  <h3 class="box-title">
					Global Share
				  </h3>
				  <span style="float: right; visibility: hidden" id="loadingprogress"><img src="img/loading.gif" border="0" width="15" height="15"></span>
                </div><!-- /.box-header -->
					
					
					<form name="frms" action="adminglobalshare.php" method="post" onsubmit="return checkForm(this);">
										
					  <div class="box-body">
					  
						<if criteria="!empty($errmsg)">
						<div class="col-md-12 padding-0">
							$errmsg
						</div>
						</endif>
						
						<!--Col 1-->
						<div class="col-md-6 padding-0 padding-right-10">
							<div class="form-group">
								<label for="amount">Amount</label>
								<input type="text" name="amount" value="" id="amount" class="form-control" onkeyup="insertingfs(this);" onkeypress="return checknumber(event)">
							</div>
							
						</div>
						<!--Col 2-->
						<div class="col-md-6 padding-0 padding-left-10">
							
						</div>
					  </div><!-- /.box-body -->

					  <div class="box-footer">
						
						<input type="hidden" value="doGlobalShare" name="do">
						<button type="submit" class="btn btn-success"><i class="fa fa-edit"></i> Process</button>&nbsp;&nbsp;&nbsp;
						
					  </div>
					</form>
              </div><!-- /.box -->
			</div><!-- /.col -->
		  </div><!-- /.row -->
		  
		</section><!-- /.content -->
      </div><!-- /.content-wrapper -->
	  
	  $footer
	 
	</div><!-- ./wrapper -->

	<script type="text/javascript">
		
		$(function () {
			
		});
	</script>
</BODY>
</HTML>';
?>