initial commit

This commit is contained in:
equippedcoding-master
2025-09-17 09:37:06 -05:00
parent 86108ca47e
commit e2c98790b2
55389 changed files with 6206730 additions and 0 deletions

View File

@@ -0,0 +1,166 @@
<?php
date_default_timezone_set('America/Chicago');
require dirname( __DIR__, 4 ) . "/portal/dashboard/core/api/php/init.php";
require dirname( __DIR__, 4 ) . "/portal/dashboard/core/api/php/send_email2.php";
require dirname( __DIR__, 4 ) . "/portal/dashboard/core/api/php/libs/dompdf/vendor/autoload.php";
require dirname( __DIR__, 4 ) . "/portal/dashboard/core/api/php/functions.php";
// https://www15.cradle2careertx.xyz/portal/dashboard/services/forms/quick_view.php?submission_review=true&ref=cabm049713&token=3j0famcfuo0xliq2xg3d0y0bql8okxqz7vasm
// https://www15.cradle2careertx.xyz/portal/dashboard/services/forms/quick_view.php?ref=rta-212269&token=jakdsfg45gjfhf7j4hgnnfhddbfh8rhfhksn84
$jsontext = "";
$domain = "";
if(Input::get('token')){
$token = Input::get('token');
$db = new DB();
$rows = $db->query("SELECT * FROM auth_check WHERE auth_key='" . Input::get('token') . "' ");
if($rows->count() > 0){
$db = null;
// echo $rows->results()[0]->auth_key . " - " . $rows->results()[0]->expiry;
$db = new DB();
$rows = $db->query("SELECT * FROM notifications WHERE reference_num='" . Input::get('ref') . "' ");
if($rows->count() > 0){
$jsontext = $rows->first()->jsontext;
$db = null;
$subdomain = getSubdomain2();
$domain = get_subdomain_managed_domain_new_way($subdomain);
}else{
die();
}
}else{
die();
}
$db = null;
}else{
die();
}
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<title>Web Console</title>
<!-- Boxiocns CDN Link -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.6/underscore-min.js" integrity="sha512-2V49R8ndaagCOnwmj8QnbT1Gz/rie17UouD9Re5WxbzRVUGoftCu5IuqqtAM9+UC3fwfHCSJR1hkzNQh/2wdtg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.1/backbone-min.js" integrity="sha512-TztyCWDNoN0YKl30gDCMKsiWs35juID+W7ZM2uvPeLLmiNvZg789SglgB/QeUbewqIF2Z4mVq3PyIEa+YXXADQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
<link href='../../../dashboard/core/api/appfactory/appfactory2.css' rel='stylesheet'>
<!-- <script src="core/api/appfactory/appfactory2.js"></script> -->
<script src="../../../dashboard/core/api/appfactory/afsform.js"></script>
<script src="../../../dashboard/core/api/appfactory/afsplugin.js"></script>
<script src="../../../dashboard/core/api/appfactory/afsdashboard.js"></script>
<link href='../../../dashboard/core/styles/styles.css' rel='stylesheet'>
<style>
.spacer {
width: 100%;
height:550px;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12 col-lg-12">
<div class="row">
<div class="col-12 col-lg-12">
<h3>Quick View</h3>
</div>
</div>
<div class="row justify-content-center">
<div class="col-12 col-lg-6" id="hello_wolrd">
<!-- <div class="accordion" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Accordion Item #1
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
<div class="spacer"></div>
<script>
let json = <?php echo $jsontext; ?>;
let domain = <?php echo json_encode($domain); ?>;
let submission = new AFSApplicationFormSubmissionAPI(json, 3);
submission.ViewForm("hello_wolrd",domain);
// console.log();
// $.post("quick_view.php",{restore:true},function(resp){
// console.log(resp);
// });
</script>
</body>
</html>