<?php
require_once '../../php/deposit.php'; require_once '../php/c.php';


?>

<html lang="en" style="height: auto;"><!--<![endif]--><head>
	<title>Deposit</title>

	<!-- Meta -->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="">
	<meta name="author" content="">

	<!-- Favicon -->
	<link rel="shortcut icon" href="favicon.ico">

	<!-- Web Fonts -->
	<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600&amp;subset=cyrillic,latin">

	<!-- CSS Global Compulsory -->
	<link rel="stylesheet" href="../../asset/plugins/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="../../asset/css/one.style.css">

	<!-- CSS Implementing Plugins -->
	<link rel="stylesheet" href="../../assets/plugins/animate.css">
	<link rel="stylesheet" href="tablers.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">

	<!-- CSS Page Style -->
	<link rel="stylesheet" href="../../assets/css/pages/profile.css">

	
	<!-- CSS Page Style -->
	<link rel="stylesheet" href="../../assets/css/pages/pricing/pricing_v1.css">
	<link rel="stylesheet" href="../../assets/css/pages/pricing/pricing_v2.css">
	<link rel="stylesheet" href="../../assets/css/pages/pricing/pricing_v3.css">
	<link rel="stylesheet" href="../../assets/css/pages/pricing/pricing_v4.css">
	<link rel="stylesheet" href="../../assets/css/pages/pricing/pricing_v5.css">

	<!-- CSS Footer -->
	<link rel="stylesheet" href="../../asset/css/footers/footer-v7.css">
<!-- CSS Header and Footer -->
	<link rel="stylesheet" href="../../assets/css/headers/header-v1.css">
	<link rel="stylesheet" href="../../assets/css/footers/footer-v1.css">

	<!-- CSS Implementing Plugins -->
	<link rel="stylesheet" href="../../asset/plugins/animate.css">
	<link rel="stylesheet" href="../../asset/plugins/line-icons/line-icons.css">
	<link rel="stylesheet" href="../../asset/plugins/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="../../asset/plugins/pace/pace-flash.css">
	<link rel="stylesheet" href="../../asset/plugins/owl-carousel/owl.carousel.css">
	<link rel="stylesheet" href="../../asset/plugins/cube-portfolio/cubeportfolio/css/cubeportfolio.min.css">
	<link rel="stylesheet" href="../../asset/plugins/cube-portfolio/cubeportfolio/custom/custom-cubeportfolio.css">
	<link rel="stylesheet" href="../../asset/plugins/revolution-slider/rs-plugin/css/settings.css" type="text/css" media="screen">
	<!--[if lt IE 9]><link rel="stylesheet" href="../asset/plugins/revolution-slider/rs-plugin/css/settings-ie8.css" type="text/css" media="screen"><![endif]-->

	<!-- Style Switcher -->
	<link rel="stylesheet" href="../../asset/css/plugins/style-switcher.css">

	<!-- CSS Theme -->
	<link rel="stylesheet" href="../../asset/css/theme-colors/default.css" id="style_color">
	<link rel="stylesheet" href="../../asset/css/theme-skins/one.dark.css">

	<!-- CSS Customization -->
	<link rel="stylesheet" href="../../asset/css/custom.css">
		<link rel="stylesheet" href="../../asset/css/tablers.css">

</head>

<!--
The #page-top ID is part of the scrolling feature.
The data-spy and data-target are part of the built-in Bootstrap scrollspy function.
-->
<body onload='dd();'  onresize='dd();'  id="body" data-spy="scroll" data-target=".one-page-header" class="demo-lightbox-gallery dark  pace-done"><div class="pace  pace-inactive"><div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
  <div class="pace-progress-inner"></div>
</div>
<div class="pace-activity"></div></div>
<div style='display:-webkit-inline-box;' class="header-v1">
			<!-- Topbar -->
			<div style=" line-height: 0.0" class="topbar-v1">
				<div lass="container">
					<div class="row">
						<div class="col-md-6">
						
						</div>

						
					</div>
				</div>
			</div>
			<!-- End Topbar -->
			</div>

	<!--=== Header ===-->
	<nav class="one-page-header navbar navbar-default navbar-fixed-top top-nav-collapse" role="navigation">
		<div class="container">
			<div class="menu-container page-scroll">
				
				<a class="navbar-brand" href="#intro">
					<span>CHC-</span>-Admin   
					<!-- <img src="../asset/img/logo1.png" alt="Logo"> -->
				</a>
			</div>

			<!-- Collect the nav links, forms, and other content for toggling -->
			
			<!-- /.navbar-collapse -->
		</div>
		<!-- /.container -->
	</nav>
	<!--=== End Header ===-->

	<section id="contact" class="contacts-section">
		<div class="container content-lg">
			<div class="title-v1">
			<br>
			<br>
				<h2 style=" color:#19a2a2" >Deposit</h2>
					
				Manage your Site	
				</p>
		<br> 
		<br>
<!-- left side bar -->
<div class="col-md-3 md-margin-bottom-40">
					<img class="img-responsive profile-img margin-bottom-20" src="assets/img/team/img32-md.jpg" alt="">

					<ul class="list-group sidebar-nav-v1 margin-bottom-40" id="sidebar-nav-1">
						<li class="list-group-item">
							<a href="../users/index.php"><i class="fa fa-user"></i> Users</a>
						</li>
						<li class="list-group-item">
							<a href="../withdraw/index.php"><i class=" icon-wallet"></i> Withdraws</a>
						</li>
						<li class="list-group-item active">
							<a href="../deposit/index.php"><i class=" icon-wallet"></i> Deposits</a>
						</li>
						<li class="list-group-item">
							<a href="../bouns/index.php"><i class="fa fa-cubes"></i> Bonus</a>
						</li>
						<li class="list-group-item ">
							<a href="../request/index.php"><i class="fa fa-cog"></i> Request</a>
						</li>
						<li class="list-group-item ">
							<a href="../support/index.php"><i class="fa fa-cog"></i> Support</a>
						</li>
						<li class="list-group-item ">
							<a href="../affilate/index.php"><i class="fa fa-group"></i> Affilate</a>
						</li>
						
						<li class="list-group-item ">
							<a href="../settings/index.php"><i class="fa fa-cog"></i> Settings</a>
						</li>
					</ul>

					
					<hr>


					<div class="margin-bottom-50"></div>

					
					
					
				</div>
<!-- end left side bar -->

			
<div class="col-md-9">
					<div class="profile-body margin-bottom-20">
						<div class="tab-v1">
							<ul class="nav nav-justified nav-tabs">
								<li class="active"><a data-toggle="tab" href="#payment" aria-expanded="true">Withdraw</a></li>
							</ul>
							<br>
							<div class="tab-content">
								
<?php
				if(isset($maro)){echo $maro;}
				 ?>
								

								<div id="payment" class="profile-edit tab-pane fade active in">
									
									
										<!--Checkout-Form-->
										<div>
										
										<div 			style='   postion:center' >
	<b><button   style='background-color:#2ecc71;  border-radius:10px;' class="btn-u" data-toggle="modal" data-target="#responsive">Create New Deposit</button></b>
			</div>
										
										</div>
<br>									<br>

										

										<div   style='  overflow-x:auto;' class="row">
										<table class="table_results ajax pma_table" data-uniqueid="1459631746">
											<thead>
										<tr>
<th class="draggable right column_heading pointer marker" data-column="id" ><span>
#
</span></th><th class="draggable column_heading pointer marker" data-column="firstname" style="padding-right:50px;"><span>
Name
</span></th><th class="draggable column_heading pointer marker" data-column="firstname" style="padding-right:50px;"><span>
DTran_id
</span></th><th class="draggable column_heading pointer marker" data-column="lastname" style="padding-right:50px;"> <span>
Amount</a>
</span></th><th class="draggable column_heading pointer marker" data-column="email" style="padding-right:50px;"><span>
Date of creation
</span></th><th class="draggable column_heading pointer marker" data-column="username" style="padding-right:50px;"><span>
Currency
</span></th>
</tr>
</thead></div><tbody>

<?php
depo1();

?>


</tbody>
</table>
										
										</div>
										<!--End Checkout-Form-->
									
								

								
							</div>
						</div>
					</div>
				</div>
<div style='overflow-x:auto;' class="col-md-4">
							<ul class="pagination">
							
							<?php
									  // NUMBER OF ROWS TO SHOW PER PAGE
		  // NUMBER OF ROWS TO SHOW PER PAGE
$limit = 10 ;
// GET PAGE AND OFFSET VALUE
if (isset ($_GET [ 'page' ])) {
$page = $_GET [ 'page' ] - 1 ;
$offset = $page * $limit ;
} else {
$page = 0;
$offset = 0;
}
// COUNT TOTAL NUMBER OF ROWS IN TABLE
$sql = "SELECT count(id) FROM `deposit`" ;
$result = mysqli_query ($con ,$sql );
$row = mysqli_fetch_array ($result );
$total_rows = $row [ 0 ];
// DETERMINE NUMBER OF PAGES
if ($total_rows > $limit ) {
$number_of_pages = ceil( $total_rows / $limit );
} else {
$pages = 1 ;
$number_of_pages = 1 ;
}
							if ($page ) {
echo "<li style='border: 1px outset transparent'><a href=''../admin/deposit/?page=1'>First</a> </li>" ;
}
for ( $i = 1 ; $i <= $number_of_pages ; $i ++) {
echo "<li  ><a href=''../admin/deposit/?page=$i'>" . $i . "</a></li> " ;
}
if (($page + 1 ) != $number_of_pages ) {
echo "<li style='border: 1px outset transparent'><a href='../admin/deposit/?page=$number_of_pages'>Last</a></li> " ;
}
?>
									
							</ul>
						</div>
		
	</section>
	<!-- End News Section -->

				
	
				</div><!--/col-md-9-->

		</div>		
		
	</section>
	<!-- End Contact Section -->
	<div class="copyright-section">
					<!--div class="call-action-v2 parallaxBg" style="background-position: 50% -270px;">
				<div class="container">
						<h2>Hire Me!</h2>
						<p>Nulla ipsum dolor sit amet, consectetur adipiscing elitut eleifend nisl. In hac habitasse platea dictumst. Curabitur hendrerit, Proin et augue vel nisi rhoncus tincidunt lectus in bibendum pellentesque, lacus eros rutrum ligula.</p>
						<a href="#" class="btn-u">Get In Touch</a>
				</div>
		</div-->
			<p>2018 © All Rights Reserved.<span style="color:#19a2a2">Developed </span> by <a style="color:#19a2a2" target="_blank" href="fxoption247.com">fxoption247</a><span style="font-size:20"> * </span><a style="color:#19a2a2" href="terms.html"> Terms &amp; Coditions </a><span style="font-size:20"> * </span><a style="color:#19a2a2" href="terms.html"> Policies </a></p>
			

		<ul class="social-icons">
				<li><a href="#" data-original-title="Facebook" class="social_facebook rounded-x"></a></li>
				<li><a href="#" data-original-title="Twitter" class="social_twitter rounded-x"></a></li>
				<li><a href="#" data-original-title="Goole Plus" class="social_googleplus rounded-x"></a></li>
				<li><a href="#" data-original-title="Pinterest" class="social_pintrest rounded-x"></a></li>
				<li><a href="#" data-original-title="Linkedin" class="social_linkedin rounded-x"></a></li>
			</ul>
			<span class="page-scroll"><a href="#body"><i class="fa fa-angle-double-up back-to-top"></i></a></span>
		</div>
	
	
						<script type='text/javascript'>  
function dd(){
						var x = window.innerWidth;
						
				document.getElementById('r2d2').width =x - 50;
						
						}
					</script>
	<!-- End Contact Section -->
	
	<!-- JS Global Compulsory -->
	<script type="text/javascript" src="../../asset/plugins/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/jquery/jquery-migrate.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/bootstrap/js/bootstrap.min.js"></script>
	<!-- JS Implementing Plugins -->
	<script type="text/javascript" src="../../asset/plugins/smoothScroll.js"></script>
	<script type="text/javascript" src="../../asset/plugins/jquery.easing.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/pace/pace.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/jquery.parallax.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/counter/waypoints.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/counter/jquery.counterup.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/owl-carousel/owl.carousel.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/sky-forms-pro/skyforms/js/jquery.form.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/sky-forms-pro/skyforms/js/jquery.validate.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/revolution-slider/rs-plugin/js/jquery.themepunch.tools.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/revolution-slider/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
	<script type="text/javascript" src="../../../asset/plugins/cube-portfolio/cubeportfolio/js/jquery.cubeportfolio.min.js"></script>
	<!-- JS Page Level-->
	<script type="text/javascript" src="../../../asset/js/one.app.js"></script>
	<script type="text/javascript" src="../../../asset/js/forms/login.js"></script>
	<script type="text/javascript" src="../../../asset/js/forms/contact.js"></script>
	<script type="text/javascript" src="../../../asset/js/plugins/pace-loader.js"></script>
	<script type="text/javascript" src="../../../asset/js/plugins/owl-carousel.js"></script>
	<script type="text/javascript" src="../../../asset/js/plugins/style-switcher.js"></script>
	<script type="text/javascript" src="../../../asset/js/plugins/revolution-slider.js"></script>
	<script type="text/javascript" src="../../../asset/js/plugins/cube-portfolio/cube-portfolio-lightbox.js"></script>
	<script type="text/javascript">
		jQuery(document).ready(function() {
			App.init();
			App.initCounter();
			App.initParallaxBg();
			LoginForm.initLoginForm();
			ContactForm.initContactForm();
			OwlCarousel.initOwlCarousel();
			StyleSwitcher.initStyleSwitcher();
			RevolutionSlider.initRSfullScreen();
		});
	</script>
	<!--[if lt IE 9]>
		<script src="../../../asset/plugins/respond.js"></script>
		<script src="../../../asset/plugins/html5shiv.js"></script>
		<script src="../../../asset/js/plugins/placeholder-IE-fixes.js"></script>
		<script src="../../../asset/plugins/sky-forms-pro/skyforms/js/sky-forms-ie8.js"></script>
	<![endif]-->

	<!--[if lt IE 10]>
		<script src="../../../asset/plugins/sky-forms-pro/skyforms/js/jquery.placeholder.min.js"></script>
	<![endif]-->

	<!-- JS Global Compulsory -->
	<script type="text/javascript" src="../../asset/plugins/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/jquery/jquery-migrate.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/bootstrap/js/bootstrap.min.js"></script>
	<!-- JS Implementing Plugins -->
	<script type="text/javascript" src="../../asset/plugins/smoothScroll.js"></script>
	<script type="text/javascript" src="../../asset/plugins/jquery.easing.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/pace/pace.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/jquery.parallax.js"></script>
	<script type="text/javascript" src="../../asset/plugins/counter/waypoints.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/counter/jquery.counterup.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/owl-carousel/owl.carousel.js"></script>
	<script type="text/javascript" src="../../asset/plugins/sky-forms-pro/skyforms/js/jquery.form.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/sky-forms-pro/skyforms/js/jquery.validate.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/revolution-slider/rs-plugin/js/jquery.themepunch.tools.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/revolution-slider/rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
	<script type="text/javascript" src="../../asset/plugins/cube-portfolio/cubeportfolio/js/jquery.cubeportfolio.min.js"></script>
	<!-- JS Page Level-->
	<script type="text/javascript" src="../../asset/js/one.app.js"></script>
	<script type="text/javascript" src="../../asset/js/forms/login.js"></script>
	<script type="text/javascript" src="../../asset/js/forms/contact.js"></script>
	<script type="text/javascript" src="../../asset/js/plugins/pace-loader.js"></script>
	<script type="text/javascript" src="../../asset/js/plugins/owl-carousel.js"></script>
	<script type="text/javascript" src="../../asset/js/plugins/style-switcher.js"></script>
	<script type="text/javascript" src="../../asset/js/plugins/revolution-slider.js"></script>
		<script type="text/javascript" src="../../asset/js/shi.js"></script>

	<script type="text/javascript" src="../../asset/js/plugins/cube-portfolio/cube-portfolio-lightbox.js"></script>
	<script type="text/javascript">
		jQuery(document).ready(function() {
			App.init();
			App.initCounter();
			App.initParallaxBg();
			LoginForm.initLoginForm();
			ContactForm.initContactForm();
			OwlCarousel.initOwlCarousel();
			StyleSwitcher.initStyleSwitcher();
			RevolutionSlider.initRSfullScreen();
		});
	</script>
	<!--[if lt IE 9]>
		<script src="../../asset/plugins/respond.js"></script>
		<script src="../../asset/plugins/html5shiv.js"></script>
		<script src="../../asset/js/plugins/placeholder-IE-fixes.js"></script>
		<script src="../../asset/plugins/sky-forms-pro/skyforms/js/sky-forms-ie8.js"></script>
	<![endif]-->

	<!--[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">CREATE NEW DEPOSIT</h4>
										</div>
										<div class="modal-body">
											<div class="row">
												<div class="col-md-6">
													<form method="POST" action="../deposit/"> 
													<p><span style="font-size:20px;">Select Account:</span><select name="acct" class="form-control"> <?php user1('fname2');?></select></p>
													<p><span style="font-size:20px;">Amount:</span><input name="amount" class="form-control" type="text"></p>
													<p><span style="font-size:20px;">Currency:</span><input name="cur" class="form-control" value='USD' type="text"></p>
													<p><span style="font-size:20px;">Date of creation:</span><input name="date" placeholder="YYYY-MM-DD" class="form-control" type="text"></p>
													
												</div>
												
											</div>
										</div>
										<div class="modal-footer">
											<button type="button" class="btn-u btn-u-default" data-dismiss="modal">Close</button>
											<button type="submit"  class="btn-u btn-u-default">Create</button>
									</div>
									</form>
									</div>
								</div>
							</div>
	

	<script type='text/javascript' > 
	
	


</script>
</body>
</html>