update 234879955
This commit is contained in:
0
core/js/functions.js
Normal file
0
core/js/functions.js
Normal file
4
core/js/main.js
Normal file
4
core/js/main.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
(function(){
|
||||||
|
|
||||||
|
|
||||||
|
})();
|
||||||
26
core/js/pages/_temp.js
Normal file
26
core/js/pages/_temp.js
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
define([], function() {
|
||||||
|
|
||||||
|
|
||||||
|
function init(myapp,afsconfig){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return init;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(function(factory) {
|
||||||
|
var root = typeof self == 'object' && self.self === self && self || typeof global == 'object' && global.global === global && global;
|
||||||
|
if (typeof define === 'function' && define.amd) {
|
||||||
|
define([],function() {return factory(); });
|
||||||
|
} else if (typeof exports !== 'undefined') {
|
||||||
|
module.exports = factory();
|
||||||
|
} else {
|
||||||
|
root.AFSPayments = factory();// browser global.
|
||||||
|
}
|
||||||
|
})(function() {
|
||||||
|
return {}
|
||||||
|
});// !!!END!!!
|
||||||
17
core/js/pages/index.js
Normal file
17
core/js/pages/index.js
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
define([], function() {
|
||||||
|
function init(app){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return init;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
2
core/main.js
Normal file
2
core/main.js
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
|
||||||
8
core/php/clientincludes.php
Normal file
8
core/php/clientincludes.php
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
91
core/php/indexcore.php
Normal file
91
core/php/indexcore.php
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<?php
|
||||||
|
// session_start();
|
||||||
|
/***
|
||||||
|
* The main component by which html pages are served
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
function AFSIndexCoreTemplate($title,
|
||||||
|
$page,
|
||||||
|
$css,
|
||||||
|
$mypage,
|
||||||
|
$dir,
|
||||||
|
$show_header = true,
|
||||||
|
$show_footer = true,
|
||||||
|
$javascript = "",
|
||||||
|
$isAdmin = false,
|
||||||
|
$clientcount=1,
|
||||||
|
$pageIncludes="",
|
||||||
|
$top_admin=true){
|
||||||
|
|
||||||
|
$GLOBALS["MYPATH"] = $dir;
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title><?php echo $title ?></title>
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="icon" type="image/x-icon" href="<?php echo $dir ?>assets/favicon.ico">
|
||||||
|
<link rel="stylesheet" href="https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css">
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
|
||||||
|
<link rel="stylesheet" href="/portal/admin/core/api/styles/tabler/tabler.min.css" />
|
||||||
|
<link rel="stylesheet" href="/core/styles/styles.css">
|
||||||
|
<link rel="stylesheet" href="/core/styles/global.css">
|
||||||
|
<link rel="stylesheet" href="<?php echo $css ?>">
|
||||||
|
|
||||||
|
<script src="https://code.jquery.com/jquery-3.6.3.min.js" integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
|
||||||
|
<script src="/portal/admin/core/api/js/libs/analytics_0.8.14.min.js"></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://api.appfactory.studio/sdk/js/afssdk-dev.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script src="/core/js/functions.js"></script>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if($pageIncludes!=""){ require_once $pageIncludes; }
|
||||||
|
?>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<?php
|
||||||
|
// Header
|
||||||
|
if($show_header){
|
||||||
|
?>
|
||||||
|
<link rel="stylesheet" href="<?php echo $dir ?>pages/_components/header/header.css">
|
||||||
|
<?php include_once($dir . "pages/_components/header/header.php")?>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- Contents -->
|
||||||
|
<script>window.mypage = "<?php echo $mypage ?>"; window.mypath = "<?php echo $dir ?>"</script>
|
||||||
|
<?php include_once($page); ?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
// Footer
|
||||||
|
if($show_footer){
|
||||||
|
?>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="<?php echo $dir ?>pages/_components/footer/footer.css">
|
||||||
|
<?php include_once $dir . "pages/_components/footer/footer.php" ?>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script data-main="/core/js/main" src="/portal/admin/core/api/js/libs/require.js"></script>
|
||||||
|
<body>
|
||||||
|
</html>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
8
core/php/request.php
Normal file
8
core/php/request.php
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
require dirname( __DIR__, 2 ) . "/portal/admin/core/api/php/includes/init.php";
|
||||||
|
require dirname( __DIR__, 2 ) . "/portal/admin/core/api/php/includes/libs/dompdf/vendor/autoload.php";
|
||||||
|
require dirname( __DIR__, 2 ) . "/portal/admin/core/api/php/includes/functions.php";
|
||||||
|
|
||||||
|
require dirname( __DIR__, 2 ) . "/core/php/callrequest.php";
|
||||||
|
|
||||||
|
header_remove("X-Powered-By");
|
||||||
4
core/styles/global.css
Normal file
4
core/styles/global.css
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
0
core/styles/styles.css
Normal file
0
core/styles/styles.css
Normal file
@@ -1,8 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
// require_once 'portal/admin/core/api/php/includes/indexcore.php';
|
|
||||||
require_once __DIR__ . '/core/php/indexcore.php';
|
require_once __DIR__ . '/core/php/indexcore.php';
|
||||||
header_remove("X-Powered-By");
|
header_remove("X-Powered-By");
|
||||||
AFSIndexCoreTemplate("Appfactory Studio",
|
AFSIndexCoreTemplate("",
|
||||||
"pages/index/index_include.php",
|
"pages/index/index_include.php",
|
||||||
"pages/index/index_include.css",
|
"pages/index/index_include.css",
|
||||||
"index",
|
"index",
|
||||||
|
|||||||
2
pages/_components/footer/footer.css
Normal file
2
pages/_components/footer/footer.css
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
|
||||||
0
pages/_components/footer/footer.php
Normal file
0
pages/_components/footer/footer.php
Normal file
3
pages/_components/header/header.css
Normal file
3
pages/_components/header/header.css
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
0
pages/_components/header/header.php
Normal file
0
pages/_components/header/header.php
Normal file
14
pages/_template/index.php
Normal file
14
pages/_template/index.php
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
// require_once dirname( __DIR__, 2 ) . '/portal/admin/core/api/php/includes/indexcore.php';
|
||||||
|
// require_once 'portal/admin/core/api/php/includes/indexcore.php';
|
||||||
|
require_once dirname(__DIR__, 2) . '/core/php/indexcore.php';
|
||||||
|
header_remove("X-Powered-By");
|
||||||
|
AFSIndexCoreTemplate("Appfactory Studio - Events",
|
||||||
|
"events_content.html",
|
||||||
|
"events.css",
|
||||||
|
"events",
|
||||||
|
"../../",
|
||||||
|
true,
|
||||||
|
true,
|
||||||
|
"pages/events.js");
|
||||||
|
?>
|
||||||
8
pages/_template/media.css
Normal file
8
pages/_template/media.css
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
.spacer {
|
||||||
|
width: 100%;
|
||||||
|
height:325px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
7
pages/_template/media.html
Normal file
7
pages/_template/media.html
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<div class="spacer"></div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3
pages/descriptor.json
Normal file
3
pages/descriptor.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"custom": true
|
||||||
|
}
|
||||||
0
pages/index/index_include.css
Normal file
0
pages/index/index_include.css
Normal file
7
pages/index/index_include.php
Normal file
7
pages/index/index_include.php
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<h3>Under Construction</h3>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user