PNG IHDR x sBIT|d pHYs + tEXtSoftware www.inkscape.org< ,tEXtComment
<?php
require "inc/session.php";
require "include/header.php";
require "inc/process.php";
require "inc/process2.php";
$user = $_SESSION["user"]["id"];
?>
<?php
$SQL= "SELECT * FROM web WHERE user_id=$user";
$query = mysqli_query($connection, $SQL);
$result2=mysqli_fetch_assoc($query);
?>
<style>
label {
color: #101031;
margin-top: 15px;
margin-bottom: 5px;
}
.info {
font-size: 11px;
font-style: italic;
}
</style>
<body>
<?php
require "include/sidebar.php";
?>
<!-- End Sidebar-->
<main id="main" class="main">
<div class="pagetitle">
<h1>Payment channel information</h1>
<nav>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="breadcrumb-item active">Edit Site information</li>
</ol>
</nav>
</div><!-- End Page Title -->
<div class="row">
<div class="col">
<!-- alert start -->
<?php
if(isset($success)){
?>
<div class="alert alert-success" role="alert">
<?php echo $success;?>
</div>
<?php
}else{
if(isset($error)){
?>
<div class="alert alert-danger" role="alert">
<?php echo $error;?>
</div>
<?php
}
}
?>
<div class="card">
<div class="card-body p-3">
<table class="table">
<thead>
<tr>
<th>Cryptocurrency Name</th>
<th>Wallet Address</th>
<th>action</th>
</tr>
</thead>
<tbody>
<?php
$SQL = "SELECT * FROM wallet";
$query= mysqli_query($connection, $SQL);
while($result=mysqli_fetch_assoc($query)){
?>
<tr>
<td><?php echo $result["name"];?></td>
<td><?php echo $result["address"];?></td>
<td>
<a href="?delete_wallet=<?php echo $result["id"];?>">Delete</a>
</td>
</tr>
<?php
}
?>
<!-- Add more rows as needed -->
</tbody>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">
Add new wallet
</button>
</table>
</div>
</div>
<!-- Button trigger modal -->
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Add wallet</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="" method="post">
<input type="text" name="crypto" placeholder="enter crypto name" class="form-control m-3">
<input type="text" name="wallet" placeholder="Copy and paste your Wallet address here" class="form-control m-3">
</div>
<div class="modal-footer">
<button type="submit" name="add_crypto" class=" m-3 btn btn-danger">Add Wallet</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- End Left side columns -->
<!-- Right side columns -->
<div class="col-lg-4">
<!-- Category/category-->
<div class="card">
<div class="card-body p-2">
<h5 class="card-title"> System Info <span>| </span></h5>
<div class="activity">
<div class="nk-block">
<div class="card card-bordered">
<div class="card-inner">
<div class="card-title">
<h6>Application Environment</h6>
</div>
<table class="table table-borderless">
<tbody>
<tr class="my-2">
<td class="my-2">Site Name</td>
<td class="my-2"><?php echo $result2["name"]; ?></td>
</tr>
<tr class="my-2">
<td class="my-2">system category </td>
<td class="my-2">Resume manager</td>
</tr>
<tr class="my-2">
<td class="my-2">Debug Mode</td>
<td class="my-2">Disabled</td>
</tr>
<tr class="my-2">
<td class="my-2">Site Email</td>
<td class="my-2"><?php echo $result2["email"]; ?></td>
</tr>
<tr class="my-2">
<td class="my-2">HTTPS Connection</td>
<td class="my-2">yes</td>
</tr>
<tr class="my-2">
<td class="my-2">Force SSL (HTTPS)</td>
<td class="text-danger">Enabled</td>
</tr>
<tr class="my-2">
<td class="my-2">Application Status</td>
<?php
if($result2["status"]==1){
echo '<td class="text-danger">Active</td>';
}else{
echo '<td class="text-secondary">Maintance Mode</td>';
}
?>
</tr>
<tr class="">
<td class="">Action</td>
<?php
if($result2["status"]==1){
echo '
<td class="text-danger"><a href="?revoke=1"
class="btn btn-secondary btn-sm">Revoke Site</a></td>';
}else{
echo '
<td class="text-danger"><a href="?action=1"
class="btn btn-danger btn-sm">Activate Site</a></td>';
}
?>
</tr>
</tbody>
</table>
</div>
</div>
<div class="card card-bordered">
<div class="card-inner">
<div class="card-title">
<h6>Modules and System</h6>
</div>
<table class="table table-borderless">
<tbody>
<tr class="my-2">
<td class="my-2">System Version</td>
<td class="my-2">v 1.0.0</td>
</tr>
<tr class="my-2">
<td class="my-2">Core Application / Type </td>
<td class="my-2">Extended / d900...63e0</td>
</tr>
<tr class="my-2">
<td class="my-2">Uploaded Gateway</td>
<td class="my-2">Manual</td>
</tr>
<tr class="my-2">
<td class="my-2">Payment Gateway</td>
<td class="my-2">Offline</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="card card-bordered">
<div class="card-inner">
<div class="card-title">
<h6>Server Environment</h6>
</div>
<table class="table table-borderless">
<tbody>
<tr class="my-2">
<td class="my-2">Server Info</td>
<td class="my-2">Apache</td>
</tr>
<tr class="my-2">
<td class="my-2">language </td>
<td class="my-2">PHP</td>
</tr>
<tr class="my-2">
<td class="my-2">PHP version</td>
<td class="my-2">8.0.28</td>
</tr>
<tr class="my-2">
<td class="my-2">Database</td>
<td class="my-2">MySQL</td>
</tr>
<tr class="my-2">
<td class="my-2">MySQL Version</td>
<td class="my-2">8.0.32</td>
</tr>
<tr class="my-2">
<td class="my-2">PHP Post Max Size</td>
<td class="my-2">100MB</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Right side columns -->
</div>
</section>
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<?php
require "include/footer.php";
?>
<!-- Button trigger modal -->
<!-- Modal -->
<div class="modal fade" id="logo" tabindex="-1" role="dialog" aria-labelledby="logoLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="logoLabel">Site Logo </h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>
A site logo is a graphic symbol that represents your website or brand. It's prominently
displayed
on the website and serves as a visual representation of the brand's identity, values, and
personality. it is recommended that you logo should be 1:4 in demension and not more tha 500kb
in size
</p>
</div>
</div>
</div>
</div>
<!-- modal for favicon -->
<div class="modal fade" id="favicon" tabindex="-1" role="dialog" aria-labelledby="faviconLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="faviconLabel">Site Logo </h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>
A favicon is a small icon that represents a website and appears next to the website name in a
browser tab or bookmark. It helps users quickly identify a website and reinforces its brand
identity. Favicons are usually 16x16 or 32x32 pixels and saved in .ico file format, although
other formats may be supported by some browsers. Adding a favicon to a website is a simple
process and can be done through HTML code or website building platforms.
</p>
</div>
</div>
</div>
</div>
</body>
</html>
b IDATxytVսϓ22 A@IR:hCiZ[v*E:WũZA ^dQeQ @ !jZ'>gsV仿$|?g)&x-E