<?php
// *************************************************************************
// *                                                                       *
// * DEPRIXA BASIC -  Freight Forwarding & Shipping Software Solutions     *
// * Copyright (c) JAOMWEB. All Rights Reserved                            *
// *                                                                       *
// *************************************************************************
// *                                                                       *
// * Email: support@jaom.info                                              *
// * Website: https://deprixa.link/documentation/                          *
// *                                                                       *
// *************************************************************************
// *                                                                       *
// * This software is furnished under a license and may be used and copied *
// * only  in  accordance  with  the  terms  of such  license and with the *
// * inclusion of the above copyright notice.                              *
// * If you Purchased from Codecanyon, Please read the full License from   *
// * here- http://codecanyon.net/licenses/standard                         *
// *                                                                       *
// *************************************************************************



if (!$user->cdp_is_Admin())
	cdp_redirect_to("login.php");

$userData = $user->cdp_getUserData();

?>
<!DOCTYPE html>
<html dir="ltr" lang="en">

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="keywords" content="Courier DEPRIXA-Integral Web System" />
	<meta name="author" content="Jaomweb">

	<title><?php echo $lang['tools-config61'] ?> | <?php echo $core->site_name ?></title>
	<?php include 'views/inc/head_scripts.php'; ?>
</head>

<body>
	<!-- ============================================================== -->
	<!-- Preloader - style you can find in spinners.css -->
	<!-- ============================================================== -->


	<?php include 'views/inc/preloader.php'; ?>
	<!-- ============================================================== -->
	<!-- Main wrapper - style you can find in pages.scss -->
	<!-- ============================================================== -->
	<div id="main-wrapper">
		<!-- ============================================================== -->
		<!-- Topbar header - style you can find in pages.scss -->
		<!-- ============================================================== -->

		<!-- ============================================================== -->
		<!-- Preloader - style you can find in spinners.css -->
		<!-- ============================================================== -->

		<?php include 'views/inc/topbar.php'; ?>

		<!-- End Topbar header -->


		<!-- Left Sidebar - style you can find in sidebar.scss  -->

		<?php include 'views/inc/left_sidebar.php'; ?>


		<!-- End Left Sidebar - style you can find in sidebar.scss  -->

		<!-- Page wrapper  -->
		<!-- ============================================================== -->
		<div class="page-wrapper">

			<!-- ============================================================== -->
			<!-- Start Page Content -->
			<!-- ============================================================== -->
			<div class="email-app">
				<!-- ============================================================== -->
				<!-- Left Part menu -->
				<!-- ============================================================== -->

				<?php include 'views/inc/left_part_menu.php'; ?>

				<!-- ============================================================== -->
				<!-- Right Part contents-->
				<!-- ============================================================== -->
				<div class="right-part mail-list bg-white overflow-auto">

					<!-- Action part -->
					<div class="p-4 border-bottom">
						<div class="d-flex align-items-center">
							<div>
								<h4><?php echo $lang['tools-config61'] ?> | <?php echo $lang['apis01'] ?></h4>
								<span><i data-feather="chevrons-right" class="feather-sm fill-white me-2"></i> <b><?php echo $lang['leftorder227'] ?></b></span>
							</div>
						</div>
					</div>

					<!-- Button group part -->
					<div class="bg-light p-15">
						<div class="row justify-content-center">
							<div class="col-md-12">
								<div class="row">
									<div class="col-12">
										<div id="resultados_ajax"></div>
									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="card-body">
						<form class="form-horizontal form-material" id="save_data" name="save_data" method="post">

							<div class="row">
								<div class="table-responsive">
									<table class="table table-hover table-sm">
										<tbody>
											<tr class="card-hover">
												<td class="" colspan="4">
													<div class="form-group">
														<label class="custom-control custom-checkbox"> Stripe
														</label>
													</div>
												</td>

												<td class="">
													<div class="form-group">
														<label class="custom-control custom-checkbox" style="font-size: 18px;">
															<input type="checkbox" class="custom-control-input" name="active_stripe" id="active_stripe" value="1" <?php if ($core->active_stripe == 1) {
																																										echo 'checked';
																																									} ?>>
														</label>
													</div>
												</td>

											</tr>

											<!-- row -->
											<tr class="card-hover">
												<td class="" colspan="4">
													<div class="form-group">
														<label class="custom-control custom-checkbox"> PayPal
														</label>
													</div>
												</td>

												<td class="">
													<div class="form-group">
														<label class="custom-control custom-checkbox" style="font-size: 18px;">
															<input type="checkbox" class="custom-control-input" name="active_paypal" id="active_paypal" value="1" <?php if ($core->active_paypal == 1) {
																																										echo 'checked';
																																									} ?>>
														</label>
													</div>
												</td>
											</tr>

											<tr class="card-hover">
												<td class="" colspan="4">
													<div class="form-group">
														<label class="custom-control custom-checkbox"> Paystack
														</label>
													</div>
												</td>

												<td class="">
													<div class="form-group">
														<label class="custom-control custom-checkbox" style="font-size: 18px;">
															<input type="checkbox" class="custom-control-input" name="active_paystack" id="active_paystack" value="1" <?php if ($core->active_paystack == 1) {
																																											echo 'checked';
																																										} ?>>
														</label>
													</div>
												</td>
											</tr>

											<tr class="card-hover">
												<td class="" colspan="4">
													<div class="form-group">
														<label class="custom-control custom-checkbox"> <?php echo $lang['leftorder78'] ?>
														</label>
													</div>
												</td>

												<td class="">
													<div class="form-group">
														<label class="custom-control custom-checkbox" style="font-size: 18px;">
															<input type="checkbox" class="custom-control-input" name="active_attach_proof" id="active_attach_proof" value="1" <?php if ($core->active_attach_proof == 1) {
																																													echo 'checked';
																																												} ?>>
														</label>
													</div>
												</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-12">
									<button class="btn btn-primary btn-confirmation" name="dosubmit" type="submit"><?php echo $lang['leftorder228'] ?> <span><i class="icon-ok"></i></span></button>

								</div>
							</div>
						</form>

					</div>
				</div>

			</div>
		</div>
		<?php include 'views/inc/footer.php'; ?>

	</div>
	<!-- ============================================================== -->
	<!-- End Page wrapper  -->
	<!-- ============================================================== -->


	<script src="dataJs/payment_config.js"></script>
</body>

</html>