<?php  
// require_once '../php/c.php';
				require_once '../php/admin.php';
										// require_once '../php/c.php';
			 require_once 'trades.php'; 

?>


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
      <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Set balance</title>
	<!-- BOOTSTRAP STYLES-->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FONTAWESOME STYLES-->
    <link href="assets/css/font-awesome.css" rel="stylesheet" />
     <!-- MORRIS CHART STYLES-->
   <!-- CSS Implementing Plugins -->
	<link rel="stylesheet" href="../../assets/plugins/animate.css">
	<link rel="stylesheet" href="../../assets/plugins/line-icons/line-icons.css">
	<link rel="stylesheet" href="../../assets/plugins/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="../../assets/plugins/scrollbar/css/jquery.mCustomScrollbar.css">
	<link rel="stylesheet" href="../../assets/plugins/sky-forms-pro/skyforms/css/sky-forms.css">
	<link rel="stylesheet" href="../../assets/plugins/sky-forms-pro/skyforms/custom/custom-sky-forms.css">
	<link rel="stylesheet" href="../../asset/css/one.style.css">

        <!-- CUSTOM STYLES-->
    <link href="assets/css/custom.css" rel="stylesheet" />
     <!-- GOOGLE FONTS-->
   <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
     <!-- TABLE STYLES-->
    <link href="assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
	
		<!--chosen -->
<script type="text/javascript" src="jquery-3.3.1.js"></script>
	<link rel="stylesheet" href="jquery-ui.css">
<link rel="stylesheet" href="chosen.min.css">
<script type="text/javascript" src="jquery-ui.min.js"></script>
<script type="text/javascript" src="chosen.jquery.min.js"></script>

<!--chosen end -->

<style> 

	.chosen-container {
		width: 100% !important;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

	</style>

</head>
<body>
    <div id="wrapper">
        <nav class="navbar navbar-default navbar-cls-top " role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html">Binary admin</a> 
            </div>
  <div style="color: white;
padding: 15px 50px 5px 50px;
float: right;
font-size: 16px;">  Date : <?php echo date('d M Y',time()); ?> &nbsp; <a href="../logout/" class="btn btn-danger square-btn-adjust">Logout</a> </div>
        </nav>   
           <!-- /. NAV TOP  -->
                <nav class="navbar-default navbar-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="main-menu">
				<li class="text-center">
                    <img src="assets/img/find_user.png" class="user-image img-responsive"/>
					</li>
				
					
                    <li >
							<a     href="../users/index.php"><i class="fa fa-user"></i> Users</a>
						</li>
						<li class="">
							<a href="../withdraw/index.php"><i class=" icon-wallet"></i> Withdraws</a>
						</li>
						<li class=" ">
							<a  href="../deposit/index.php"><i class=" icon-wallet"></i> Deposits</a>
						</li>
						<li class=" ">
							<a  class="" href="../notice/index.php"><i class=" icon-wallet"></i>Notifications</a>
						</li>
				
						<li  class="">
							<a  href="../balan/index.php"><i class="fa fa-cog"></i> Set Balance</a>
						</li>
						
						
						<li class=" ">
							<a class="active-menu"  href="../trades/index.php"><i class="fa fa-cog"></i> Trades</a>
						</li>
						<li class=" ">
							<a href="../settings/index.php"><i class="fa fa-cog"></i> Settings</a>
						</li>
                        </ul>
                      </li>  
                  
                </ul>
               
            </div>
            
        </nav>  
        <!-- /. NAV SIDE  -->
        <div id="page-wrapper" >
            <div id="page-inner">
                <div class="row">
                    <div class="col-md-12">
                     <h2>Set Trade History</h2>   
                        <h5>Welcome Jhon Deo , Love to see you back. </h5>
                       
                    </div>
                </div>
                 <!-- /. ROW  -->
                 <hr />
				 <div class="panel panel-default">
                        <div class="panel-heading">
                       
                        </div>
</div>						
               <div class="row">
                    <div class="col-md-12">
                         <div>
										
										<div 			style='   postion:center' >
	<b><button   style=' ' class="btn btn-warning" data-toggle="modal" data-target="#responsive">Set Trade History</button></b>
			<br>
			<br>
			</div>
										
										</div><script> <?php
				if(isset($maro)){echo $maro;}
				 ?></script>
			
                    </div>
					 </div>
										
	<?php if($_SESSION['success']){ ?>			<div class="alert alert-success">
  <strong>Success!</strong> <?php echo ucfirst($_SESSION['success']); ?>.
</div>

<?php unset($_SESSION['success']); } ?>		

            <div class="row">
                <div style="overflow-x:auto;" class="col-md-12">
                    <!-- Advanced Tables -->
                    <div style="overflow-x:auto;" class="panel panel-default">
                        <div class="panel-heading">
                             Set Trade History
                        </div>
                        <div  class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                    <thead>
                                        <tr>
                                            <th>#</th>
                                            <th>Start Time</th>
                                            <th>Symbol</th>
                                            <th>Buy/Sell</th>
                                            <th>Volume</th>
                                            <th>Status</th>
                                            <th>Expire Time</th>
                                            <th>Profit</th>
                                            <th>Loss</th>
                                            <th>emails</th>
                                            <th>Action</th>
                                            <th>Action</th>
                                            <th>Action</th>
											                                            <!-- <th>status</th> -->

                                           
											 
									     
                                </tr>
                                    </thead>
                                    <tbody>
                                        <?php 
				 TRADE();  
					 
			?>
                                        
                                    </tbody>
                                </table>
                            </div>
                            
                        </div>
                    </div>
                    <!--End Advanced Tables -->
                </div>
            </div>
                <br>

                <br>
				
             <!-- /. PAGE INNER  -->
            </div>
         <!-- /. PAGE WRAPPER  -->
     <!-- /. WRAPPER  -->
    <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->
  
    
	<!--[if lt IE 10]>
		<script src="../../asset/plugins/sky-forms-pro/skyforms/js/jquery.placeholder.min.js"></script>
	<![endif]-->
	
	<div class="modal fade" id="responsive" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
								<div class="modal-dialog">
									<div class="modal-content">
										<div class="modal-header">
											<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
											<h4 class="modal-title" id="myModalLabel4">Set Trade History </h4>
										</div>
										<div class="modal-body">
											<div class="row">
											
													<form method="POST" action="#">
														<div class="col-md-6">
													<p><span style="font-size:20px;">Select Account:</span><select  name="act" class="chosen form-control"> <?php user11();?></select></p>
													<p><span style="font-size:20px;">Symbol/asset:</span><select  name="symbol" class="form-control" Placeholder="0.00" type="number">
													<option >USA/JPY </option>
													<option >AUS/USA </option>
													<option >USA/ESP </option>
													<option >SWD/JPY </option>
													<option >SWD/GBP </option>
													<option >SWD/USA </option>
													<option >GBP/USA </option>
													<option >GBP/EURO </option>
													<option >SWD/USA </option>
													<option >USA/FIN </option>
													<option >GPB/JPY </option>
													<option >GPB/FIN </option>
													<option >CAD/JPY </option>
													<option >SWD/AUS </option>
													<option >GBP/CAD </option>
													<option >GOLD/SWD </option>
													<option >EURO/JPY </option>
													
													
													
													</select></p>
													<p><span style="font-size:20px;">Buy or sell:</span><select   name="bos" class="form-control" Placeholder="0.00" type="number">
													<!-- <option value="call.png"><img src="flags/call.png"> </option>  -->
													<option style="background:url(flags/call.png)" value="buy">Buy <img src="flags/call.png"> </option> 
													<option style="background:url(flags/put.png)" value="sell"> Sell </option> 
													</select></p>
													<!-- <p hidden><span style="font-size:20px;">status:</span><select   name="status" class="form-control" Placeholder="0.00" type="text"> -->
													<!-- <option value="Won">Won </option>  -->
													<!-- <option value="Lost">Lost</option>  -->
													<!-- </select></p><hr hidden> -->
																					<p><span style="font-size:20px;">Volume:</span><input  name="volume" class="form-control" Placeholder="0.30" type="text"></p>
													<p><span style="font-size:20px;">expire Time:</span><input  name="etime" class="form-control" Placeholder="0.30" type="time"></p>
											
													</div>
													
														<div class="col-md-6">
													<!--<p><span style="font-size:20px;">invested:</span><input  name="invested" class="form-control" Placeholder="1000" type="text"></p>-->
													<p><span style="font-size:20px;">profit:</span><input  name="profit2" class="form-control" Placeholder="Profit" type="text"></p>
													<p><span style="font-size:20px;">Loss:</span><input  name="loss" class="form-control" Placeholder="LOss" type="text"></p>
													<p><span style="font-size:20px;">start Time:</span><input  name="dtime" class="form-control" Placeholder="" type="time"></p>
						<hr>
												
													
												</div>
												
											</div>
										</div>
										<div class="modal-footer">
											<button type="button" class="btn" data-dismiss="modal">Close</button>
											<button type="submit" style='' class="btn btn-warning">Create</button>
									</div>
									</form>
									</div>
								</div>
							</div>
							
								<!--chosen -->
<script type="text/javascript" src="jquery-3.3.1.js"></script>
	<link rel="stylesheet" href="jquery-ui.css">
<link rel="stylesheet" href="chosen.min.css">
<script type="text/javascript" src="jquery-ui.min.js"></script>
<script type="text/javascript" src="chosen.jquery.min.js"></script>

<!--chosen end -->


  <!-- JQUERY SCRIPTS -->
    <script src="assets/js/jquery-1.10.2.js"></script>
      <!-- BOOTSTRAP SCRIPTS -->
    <script src="assets/js/bootstrap.min.js"></script>
    <!-- METISMENU SCRIPTS -->
    <script src="assets/js/jquery.metisMenu.js"></script>
     <!-- DATA TABLE SCRIPTS -->
    <script src="assets/js/dataTables/jquery.dataTables.js"></script>
    <script src="assets/js/dataTables/dataTables.bootstrap.js"></script>
        <script>
            $(document).ready(function () {
                $('#dataTables-example').dataTable();
            });
    </script>
         <!-- CUSTOM SCRIPTS -->

	<script>
							$(document).ready(function(){
								$('.chosen').chosen();
							});
							</script>
	
</body>
</html>
