first commit

This commit is contained in:
Olu Amey
2021-09-13 06:53:04 -04:00
commit 32eb3ab418
3602 changed files with 875408 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
<?php
use CodeIgniter\CLI\CLI;
CLI::error('ERROR: ' . $code);
CLI::write($message);
CLI::newLine();
+72
View File
@@ -0,0 +1,72 @@
<?php
use CodeIgniter\CLI\CLI;
// The main Exception
CLI::newLine();
CLI::write('[' . get_class($exception) . ']', 'light_gray', 'red');
CLI::newLine();
CLI::write($message);
CLI::newLine();
CLI::write('at ' . CLI::color(clean_path($exception->getFile()) . ':' . $exception->getLine(), 'green'));
CLI::newLine();
// The backtrace
if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE)
{
$backtraces = $exception->getTrace();
if ($backtraces)
{
CLI::write('Backtrace:', 'green');
}
foreach ($backtraces as $i => $error)
{
$padFile = ' '; // 4 spaces
$padClass = ' '; // 7 spaces
$c = str_pad($i + 1, 3, ' ', STR_PAD_LEFT);
if (isset($error['file']))
{
$filepath = clean_path($error['file']) . ':' . $error['line'];
CLI::write($c . $padFile . CLI::color($filepath, 'yellow'));
}
else
{
CLI::write($c . $padFile . CLI::color('[internal function]', 'yellow'));
}
$function = '';
if (isset($error['class']))
{
$type = ($error['type'] === '->') ? '()' . $error['type'] : $error['type'];
$function .= $padClass . $error['class'] . $type . $error['function'];
}
elseif (! isset($error['class']) && isset($error['function']))
{
$function .= $padClass . $error['function'];
}
$args = implode(', ', array_map(function ($value) {
switch (true)
{
case is_object($value):
return 'Object(' . get_class($value) . ')';
case is_array($value):
return count($value) ? '[...]' : '[]';
case is_null($value):
return 'null'; // return the lowercased version
default:
return var_export($value, true);
}
}, array_values($error['args'] ?? [])));
$function .= '(' . $args . ')';
CLI::write($function);
CLI::newLine();
}
}
+5
View File
@@ -0,0 +1,5 @@
<?php
// On the CLI, we still want errors in productions
// so just use the exception template.
include __DIR__ . '/error_exception.php';
+197
View File
@@ -0,0 +1,197 @@
:root {
--main-bg-color: #fff;
--main-text-color: #555;
--dark-text-color: #222;
--light-text-color: #c7c7c7;
--brand-primary-color: #E06E3F;
--light-bg-color: #ededee;
--dark-bg-color: #404040;
}
body {
height: 100%;
background: var(--main-bg-color);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
color: var(--main-text-color);
font-weight: 300;
margin: 0;
padding: 0;
}
h1 {
font-weight: lighter;
letter-spacing: 0.8;
font-size: 3rem;
color: var(--dark-text-color);
margin: 0;
}
h1.headline {
margin-top: 20%;
font-size: 5rem;
}
.text-center {
text-align: center;
}
p.lead {
font-size: 1.6rem;
}
.container {
max-width: 75rem;
margin: 0 auto;
padding: 1rem;
}
.header {
background: var(--light-bg-color);
color: var(--dark-text-color);
}
.header .container {
padding: 1rem 1.75rem 1.75rem 1.75rem;
}
.header h1 {
font-size: 2.5rem;
font-weight: 500;
}
.header p {
font-size: 1.2rem;
margin: 0;
line-height: 2.5;
}
.header a {
color: var(--brand-primary-color);
margin-left: 2rem;
display: none;
text-decoration: none;
}
.header:hover a {
display: inline;
}
.footer {
background: var(--dark-bg-color);
color: var(--light-text-color);
}
.footer .container {
border-top: 1px solid #e7e7e7;
margin-top: 1rem;
text-align: center;
}
.source {
background: #343434;
color: var(--light-text-color);
padding: 0.5em 1em;
border-radius: 5px;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: 0.85rem;
margin: 0;
overflow-x: scroll;
}
.source span.line {
line-height: 1.4;
}
.source span.line .number {
color: #666;
}
.source .line .highlight {
display: block;
background: var(--dark-text-color);
color: var(--light-text-color);
}
.source span.highlight .number {
color: #fff;
}
.tabs {
list-style: none;
list-style-position: inside;
margin: 0;
padding: 0;
margin-bottom: -1px;
}
.tabs li {
display: inline;
}
.tabs a:link,
.tabs a:visited {
padding: 0rem 1rem;
line-height: 2.7;
text-decoration: none;
color: var(--dark-text-color);
background: var(--light-bg-color);
border: 1px solid rgba(0,0,0,0.15);
border-bottom: 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
display: inline-block;
}
.tabs a:hover {
background: var(--light-bg-color);
border-color: rgba(0,0,0,0.15);
}
.tabs a.active {
background: var(--main-bg-color);
color: var(--main-text-color);
}
.tab-content {
background: var(--main-bg-color);
border: 1px solid rgba(0,0,0,0.15);
}
.content {
padding: 1rem;
}
.hide {
display: none;
}
.alert {
margin-top: 2rem;
display: block;
text-align: center;
line-height: 3.0;
background: #d9edf7;
border: 1px solid #bcdff1;
border-radius: 5px;
color: #31708f;
}
ul, ol {
line-height: 1.8;
}
table {
width: 100%;
overflow: hidden;
}
th {
text-align: left;
border-bottom: 1px solid #e7e7e7;
padding-bottom: 0.5rem;
}
td {
padding: 0.2rem 0.5rem 0.2rem 0;
}
tr:hover td {
background: #f1f1f1;
}
td pre {
white-space: pre-wrap;
}
.trace a {
color: inherit;
}
.trace table {
width: auto;
}
.trace tr td:first-child {
min-width: 5em;
font-weight: bold;
}
.trace td {
background: var(--light-bg-color);
padding: 0 1rem;
}
.trace td pre {
margin: 0;
}
.args {
display: none;
}
+128
View File
@@ -0,0 +1,128 @@
//--------------------------------------------------------------------
// Tabs
//--------------------------------------------------------------------
var tabLinks = new Array();
var contentDivs = new Array();
function init()
{
// Grab the tab links and content divs from the page
var tabListItems = document.getElementById('tabs').childNodes;
console.log(tabListItems);
for (var i = 0; i < tabListItems.length; i ++)
{
if (tabListItems[i].nodeName == "LI")
{
var tabLink = getFirstChildWithTagName(tabListItems[i], 'A');
var id = getHash(tabLink.getAttribute('href'));
tabLinks[id] = tabLink;
contentDivs[id] = document.getElementById(id);
}
}
// Assign onclick events to the tab links, and
// highlight the first tab
var i = 0;
for (var id in tabLinks)
{
tabLinks[id].onclick = showTab;
tabLinks[id].onfocus = function () {
this.blur()
};
if (i == 0)
{
tabLinks[id].className = 'active';
}
i ++;
}
// Hide all content divs except the first
var i = 0;
for (var id in contentDivs)
{
if (i != 0)
{
console.log(contentDivs[id]);
contentDivs[id].className = 'content hide';
}
i ++;
}
}
//--------------------------------------------------------------------
function showTab()
{
var selectedId = getHash(this.getAttribute('href'));
// Highlight the selected tab, and dim all others.
// Also show the selected content div, and hide all others.
for (var id in contentDivs)
{
if (id == selectedId)
{
tabLinks[id].className = 'active';
contentDivs[id].className = 'content';
}
else
{
tabLinks[id].className = '';
contentDivs[id].className = 'content hide';
}
}
// Stop the browser following the link
return false;
}
//--------------------------------------------------------------------
function getFirstChildWithTagName(element, tagName)
{
for (var i = 0; i < element.childNodes.length; i ++)
{
if (element.childNodes[i].nodeName == tagName)
{
return element.childNodes[i];
}
}
}
//--------------------------------------------------------------------
function getHash(url)
{
var hashPos = url.lastIndexOf('#');
return url.substring(hashPos + 1);
}
//--------------------------------------------------------------------
function toggle(elem)
{
elem = document.getElementById(elem);
if (elem.style && elem.style['display'])
{
// Only works with the "style" attr
var disp = elem.style['display'];
}
else if (elem.currentStyle)
{
// For MSIE, naturally
var disp = elem.currentStyle['display'];
}
else if (window.getComputedStyle)
{
// For most other browsers
var disp = document.defaultView.getComputedStyle(elem, null).getPropertyValue('display');
}
// Toggle the state of the "display" style
elem.style.display = disp == 'block' ? 'none' : 'block';
return false;
}
+84
View File
@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>404 Page Not Found</title>
<style>
div.logo {
height: 200px;
width: 155px;
display: inline-block;
opacity: 0.08;
position: absolute;
top: 2rem;
left: 50%;
margin-left: -73px;
}
body {
height: 100%;
background: #fafafa;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #777;
font-weight: 300;
}
h1 {
font-weight: lighter;
letter-spacing: 0.8;
font-size: 3rem;
margin-top: 0;
margin-bottom: 0;
color: #222;
}
.wrap {
max-width: 1024px;
margin: 5rem auto;
padding: 2rem;
background: #fff;
text-align: center;
border: 1px solid #efefef;
border-radius: 0.5rem;
position: relative;
}
pre {
white-space: normal;
margin-top: 1.5rem;
}
code {
background: #fafafa;
border: 1px solid #efefef;
padding: 0.5rem 1rem;
border-radius: 5px;
display: block;
}
p {
margin-top: 1.5rem;
}
.footer {
margin-top: 2rem;
border-top: 1px solid #efefef;
padding: 1em 2em 0 2em;
font-size: 85%;
color: #999;
}
a:active,
a:link,
a:visited {
color: #dd4814;
}
</style>
</head>
<body>
<div class="wrap">
<h1>404 - File Not Found</h1>
<p>
<?php if (! empty($message) && $message !== '(null)') : ?>
<?= nl2br(esc($message)) ?>
<?php else : ?>
Sorry! Cannot seem to find the page you were looking for.
<?php endif ?>
</p>
</div>
</body>
</html>
+400
View File
@@ -0,0 +1,400 @@
<?php $error_id = uniqid('error', true); ?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<title><?= esc($title) ?></title>
<style type="text/css">
<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.css')) ?>
</style>
<script type="text/javascript">
<?= file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.js') ?>
</script>
</head>
<body onload="init()">
<!-- Header -->
<div class="header">
<div class="container">
<h1><?= esc($title), esc($exception->getCode() ? ' #' . $exception->getCode() : '') ?></h1>
<p>
<?= nl2br(esc($exception->getMessage())) ?>
<a href="https://www.duckduckgo.com/?q=<?= urlencode($title . ' ' . preg_replace('#\'.*\'|".*"#Us', '', $exception->getMessage())) ?>"
rel="noreferrer" target="_blank">search &rarr;</a>
</p>
</div>
</div>
<!-- Source -->
<div class="container">
<p><b><?= esc(static::cleanPath($file, $line)) ?></b> at line <b><?= esc($line) ?></b></p>
<?php if (is_file($file)) : ?>
<div class="source">
<?= static::highlightFile($file, $line, 15); ?>
</div>
<?php endif; ?>
</div>
<div class="container">
<ul class="tabs" id="tabs">
<li><a href="#backtrace">Backtrace</a></li>
<li><a href="#server">Server</a></li>
<li><a href="#request">Request</a></li>
<li><a href="#response">Response</a></li>
<li><a href="#files">Files</a></li>
<li><a href="#memory">Memory</a></li>
</ul>
<div class="tab-content">
<!-- Backtrace -->
<div class="content" id="backtrace">
<ol class="trace">
<?php foreach ($trace as $index => $row) : ?>
<li>
<p>
<!-- Trace info -->
<?php if (isset($row['file']) && is_file($row['file'])) :?>
<?php
if (isset($row['function']) && in_array($row['function'], ['include', 'include_once', 'require', 'require_once'], true))
{
echo esc($row['function'] . ' ' . static::cleanPath($row['file']));
}
else
{
echo esc(static::cleanPath($row['file']) . ' : ' . $row['line']);
}
?>
<?php else : ?>
{PHP internal code}
<?php endif; ?>
<!-- Class/Method -->
<?php if (isset($row['class'])) : ?>
&nbsp;&nbsp;&mdash;&nbsp;&nbsp;<?= esc($row['class'] . $row['type'] . $row['function']) ?>
<?php if (! empty($row['args'])) : ?>
<?php $args_id = $error_id . 'args' . $index ?>
( <a href="#" onclick="return toggle('<?= esc($args_id, 'attr') ?>');">arguments</a> )
<div class="args" id="<?= esc($args_id, 'attr') ?>">
<table cellspacing="0">
<?php
$params = null;
// Reflection by name is not available for closure function
if (substr($row['function'], -1) !== '}')
{
$mirror = isset($row['class']) ? new \ReflectionMethod($row['class'], $row['function']) : new \ReflectionFunction($row['function']);
$params = $mirror->getParameters();
}
foreach ($row['args'] as $key => $value) : ?>
<tr>
<td><code><?= esc(isset($params[$key]) ? '$' . $params[$key]->name : "#$key") ?></code></td>
<td><pre><?= esc(print_r($value, true)) ?></pre></td>
</tr>
<?php endforeach ?>
</table>
</div>
<?php else : ?>
()
<?php endif; ?>
<?php endif; ?>
<?php if (! isset($row['class']) && isset($row['function'])) : ?>
&nbsp;&nbsp;&mdash;&nbsp;&nbsp; <?= esc($row['function']) ?>()
<?php endif; ?>
</p>
<!-- Source? -->
<?php if (isset($row['file']) && is_file($row['file']) && isset($row['class'])) : ?>
<div class="source">
<?= static::highlightFile($row['file'], $row['line']) ?>
</div>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ol>
</div>
<!-- Server -->
<div class="content" id="server">
<?php foreach (['_SERVER', '_SESSION'] as $var) : ?>
<?php if (empty($GLOBALS[$var]) || ! is_array($GLOBALS[$var]))
{
continue;
} ?>
<h3>$<?= esc($var) ?></h3>
<table>
<thead>
<tr>
<th>Key</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<?php foreach ($GLOBALS[$var] as $key => $value) : ?>
<tr>
<td><?= esc($key) ?></td>
<td>
<?php if (is_string($value)) : ?>
<?= esc($value) ?>
<?php else: ?>
<pre><?= esc(print_r($value, true)) ?></pre>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endforeach ?>
<!-- Constants -->
<?php $constants = get_defined_constants(true); ?>
<?php if (! empty($constants['user'])) : ?>
<h3>Constants</h3>
<table>
<thead>
<tr>
<th>Key</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<?php foreach ($constants['user'] as $key => $value) : ?>
<tr>
<td><?= esc($key) ?></td>
<td>
<?php if (is_string($value)) : ?>
<?= esc($value) ?>
<?php else: ?>
<pre><?= esc(print_r($value, true)) ?></pre>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>
</div>
<!-- Request -->
<div class="content" id="request">
<?php $request = \Config\Services::request(); ?>
<table>
<tbody>
<tr>
<td style="width: 10em">Path</td>
<td><?= esc($request->uri) ?></td>
</tr>
<tr>
<td>HTTP Method</td>
<td><?= esc($request->getMethod(true)) ?></td>
</tr>
<tr>
<td>IP Address</td>
<td><?= esc($request->getIPAddress()) ?></td>
</tr>
<tr>
<td style="width: 10em">Is AJAX Request?</td>
<td><?= $request->isAJAX() ? 'yes' : 'no' ?></td>
</tr>
<tr>
<td>Is CLI Request?</td>
<td><?= $request->isCLI() ? 'yes' : 'no' ?></td>
</tr>
<tr>
<td>Is Secure Request?</td>
<td><?= $request->isSecure() ? 'yes' : 'no' ?></td>
</tr>
<tr>
<td>User Agent</td>
<td><?= esc($request->getUserAgent()->getAgentString()) ?></td>
</tr>
</tbody>
</table>
<?php $empty = true; ?>
<?php foreach (['_GET', '_POST', '_COOKIE'] as $var) : ?>
<?php if (empty($GLOBALS[$var]) || ! is_array($GLOBALS[$var]))
{
continue;
} ?>
<?php $empty = false; ?>
<h3>$<?= esc($var) ?></h3>
<table style="width: 100%">
<thead>
<tr>
<th>Key</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<?php foreach ($GLOBALS[$var] as $key => $value) : ?>
<tr>
<td><?= esc($key) ?></td>
<td>
<?php if (is_string($value)) : ?>
<?= esc($value) ?>
<?php else: ?>
<pre><?= esc(print_r($value, true)) ?></pre>
<?php endif; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endforeach ?>
<?php if ($empty) : ?>
<div class="alert">
No $_GET, $_POST, or $_COOKIE Information to show.
</div>
<?php endif; ?>
<?php $headers = $request->getHeaders(); ?>
<?php if (! empty($headers)) : ?>
<h3>Headers</h3>
<table>
<thead>
<tr>
<th>Header</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<?php foreach ($headers as $value) : ?>
<?php if (empty($value))
{
continue;
} ?>
<?php if (! is_array($value))
{
$value = [$value];
} ?>
<?php foreach ($value as $h) : ?>
<tr>
<td><?= esc($h->getName(), 'html') ?></td>
<td><?= esc($h->getValueLine(), 'html') ?></td>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>
</div>
<!-- Response -->
<?php
$response = \Config\Services::response();
$response->setStatusCode(http_response_code());
?>
<div class="content" id="response">
<table>
<tr>
<td style="width: 15em">Response Status</td>
<td><?= esc($response->getStatusCode() . ' - ' . $response->getReason()) ?></td>
</tr>
</table>
<?php $headers = $response->getHeaders(); ?>
<?php if (! empty($headers)) : ?>
<?php natsort($headers) ?>
<h3>Headers</h3>
<table>
<thead>
<tr>
<th>Header</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<?php foreach ($headers as $name => $value) : ?>
<tr>
<td><?= esc($name, 'html') ?></td>
<td><?= esc($response->getHeaderLine($name), 'html') ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif; ?>
</div>
<!-- Files -->
<div class="content" id="files">
<?php $files = get_included_files(); ?>
<ol>
<?php foreach ($files as $file) :?>
<li><?= esc(static::cleanPath($file)) ?></li>
<?php endforeach ?>
</ol>
</div>
<!-- Memory -->
<div class="content" id="memory">
<table>
<tbody>
<tr>
<td>Memory Usage</td>
<td><?= esc(static::describeMemory(memory_get_usage(true))) ?></td>
</tr>
<tr>
<td style="width: 12em">Peak Memory Usage:</td>
<td><?= esc(static::describeMemory(memory_get_peak_usage(true))) ?></td>
</tr>
<tr>
<td>Memory Limit:</td>
<td><?= esc(ini_get('memory_limit')) ?></td>
</tr>
</tbody>
</table>
</div>
</div> <!-- /tab-content -->
</div> <!-- /container -->
<div class="footer">
<div class="container">
<p>
Displayed at <?= esc(date('H:i:sa')) ?> &mdash;
PHP: <?= esc(phpversion()) ?> &mdash;
CodeIgniter: <?= esc(\CodeIgniter\CodeIgniter::CI_VERSION) ?>
</p>
</div>
</div>
</body>
</html>
+25
View File
@@ -0,0 +1,25 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<title>Whoops!</title>
<style type="text/css">
<?= preg_replace('#[\r\n\t ]+#', ' ', file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'debug.css')) ?>
</style>
</head>
<body>
<div class="container text-center">
<h1 class="headline">Whoops!</h1>
<p class="lead">We seem to have hit a snag. Please try again later...</p>
</div>
</body>
</html>
+98
View File
@@ -0,0 +1,98 @@
<?= $this->extend('layouts/homelayout1') ?>
<?= $this->section('content') ?>
<!-- BEGIN: Content-->
<div class="app-content content" style='position: relative;'>
<div class="content-overlay"></div>
<div class="header-navbar-shadow"></div>
<div class="content-wrapper">
<div class="content-header row">
</div>
<div class="content-body">
<section class="row flexbox-container">
<div class="col-xl-7 col-10 d-flex justify-content-center">
<div class="card bg-authentication rounded-0 mb-0 w-100">
<div class="row m-0">
<div class="col-lg-12 col-12 p-0">
<div class="card rounded-0 mb-0 px-2">
<div class="card-header pb-1">
<div class="card-title">
<h4 class="mb-0">How It Works</h4>
</div>
</div>
<p class="px-2">How It Works</p>
<div class="card-content">
<div class="card-body pt-1">
<p>As a first time user, You login to the website, click on the Start button, it takes you to the Registration page.
On the Registration/Login page...As a first time user, you click on the Register button and fill out the quick form to have Dashboard all set.
Returning users, login in with your registered email and password and voila! Your Dashboard!
</p>
<p> As a first-time user, The platform comes with a default card.
You can go ahead to create your very own Learning boards by creating your Cards.
</p>
<p>HOW DO I CREATE MY CARDS
Click on the Default Page to start, then go to the Menu Option and click on ADD NEW COREGRADE CARD and fill in the Title and Description column and ADD PAGE. VIOLA! CARD CREATED! </p>
<p>The Default cards have a Menu, Overview and Introductory video on how Coregrade Works!</p>
<p>
The Menu Option
The menu has a list of functions to make it all personal.
They include the ability to create a Fresh New card on your Board,
sharing your creative Card with a friend like a study buddy and things you plan to learn.
</p>
<p>
Once, Card is created, it appears on My Board Page then you go to configure Tab, this helps to Add more Cards to your Board, however, referred to as Pages.
<p>
HOW TO ADD TO MY CARDS
There are a few ways to do these; one way is to go to the Configure Tab, there appear Two columns-- ADD NEW PAGE AND MY PAGES. Move to the Add New Page Section and fill in the requirements, there, you have it! NEW CARD ADDED.
</p>
<p>
Once the NEW CARD is added, you have access to Manage your Page.
HOW TO MANAGE MY CARD
Select your Card, toggle between the added features - Adding Notes to Card, video uploads, Action Item; listing what to study first, Todo Task on that particular Card, Forum; for more comprehension as it seems, not leaving out where Resources and Research; where learning materials are gathered from for easy referencing.
Your Learning, Your Dashboard, Your Pattern. You craft What you want to learn and how you want to.
</p>
<p>
HOW TO SHARE MY PAGE
The sharing Feature is in the configure Tab; My pages list, select the Page you desire to share, and there is a command to share your Page. Once clicked, a prompt window page will display, and there you follow on how you want it shared either privately or publicly. However, public Page share does have an expiration.
</p>
<fieldset class="form-label-group">
<input type="text" class="form-control" id="user-email" placeholder="Email" required>
<label for="user-email">Email</label>
</fieldset>
<fieldset class="form-label-group">
</fieldset>
<fieldset class="form-label-group">
</fieldset>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
<!-- END: Content-->
<?= $this->endSection() ?>
+430
View File
@@ -0,0 +1,430 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-54829827-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-54829827-2');
</script>
<!--- Basic Page Needs -->
<meta charset="utf-8">
<title>CoreGrade - Flexible Learning, Customizable classrooms</title>
<meta
name="description"
content="CoreGrade is the world's most flexible subscription-based learning platform for everybody. Used by over anybody that wants to lean, CoreGrade provides personalized learning with smart starter templates. An interactive session, classroom settings, personal and family learning goals."/>
<meta name="author" content="">
<meta name="keywords" content="flexible learning, learning, learn to anything, math, organize learning, every age education, learning templates, teacher">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Montserrat|Raleway:300,400,600,700" rel="stylesheet">
<!-- CSS -->
<link rel="stylesheet" href="/assets/css/animate.min.css">
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="/assets/css/owl.theme.min.css">
<link rel="stylesheet" href="/assets/css/font-awesome.min.css">
<link rel="stylesheet" href="/assets/css/default.css">
<link rel="stylesheet" href="/assets/css/typography.css">
<link rel="stylesheet" href="/assets/css/style.css">
<link rel="stylesheet" href="/assets/css/responsive.css">
<!-- Favicon -->
<link rel="shortcut icon" type="image/png" href="/assets/img/coregrade.ico">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target="#scroll-menu" data-offset="120">
<!-- Preloader Starts -->
<div class="preloader-area">
<div class="preloader-inner">
<div class="preloader">
<span></span>
<span></span>
</div>
</div>
</div>
<!-- Preloader Ends -->
<!-- Header Area Starts -->
<header id="home">
<div class="navbar-area">
<nav class="navbar navbar-default navbar-fixed-top wow fadeInDown" data-wow-delay="0.2s" id="scroll-menu">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/"><img src="/assets/img/logo.png" alt="CoreGrade"></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#home" class="smoothscroll">HOME</a></li>
<li><a href="#feature" class="smoothscroll">FEATURE</a></li>
<li><a href="#pricing" class="smoothscroll">PLANS</a></li>
<li><a href="#download" class="smoothscroll">APP</a></li>
<li><a href="#contact" class="smoothscroll">CONTACT</a></li>
<li style="background-color: #7367f0;" onclick="viewLogin(); return;"><a href="/auth" >START</a></li>
</ul>
</div>
</div>
</nav>
</div>
</header>
<!-- Header Area Ends -->
<!-- Hero Area Starts -->
<div class="hero-area">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-5">
<div class="hero-caption">
<p class="sublead wow fadeInDown" data-wow-delay="2s">Creative</p>
<h1 class="lead" style="color: #7367F0; font-weight: bold;"></h1>
<p class="lead-text"></p>
</div>
</div>
<div class="col-xs-12 col-sm-5 col-md-4">
<div class="mockup-slider-area">
<div class="mockup-slider">
<div id="mockup-slide" class="owl-carousel owl-theme mockup-slide wow fadeIn" data-wow-delay="0.2s">
<div class="item"><img src="/assets/img/App_view-3.png" alt=""></div>
<div class="item"><img src="/assets/img/App_view-3.png" alt=""></div>
<div class="item"><img src="/assets/img/App_view-3.png" alt=""></div>
<div class="item"><img src="/assets/img/App_view-3.png" alt=""></div>
<div class="item"><img src="/assets/img/iphone-mockup-1.png" alt=""></div>
</div>
<div data-wow-delay="2.2s">
<a href="#"><img src="/assets/img/app-store.png" alt="Apple"></a>
<a href="#"><img src="/assets/img/google-store.png" alt="Google Play"></a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ball wow slideInLeft hidden-xs"><img src="/assets/img/ball.png" alt="Ball"></div>
<div class="paper wow slideInUp hidden-xs" data-wow-delay="0.5s"><img src="/assets/img/paper.png" alt="Paper"></div>
<div class="coffee wow slideInLeft hidden-xs" data-wow-delay="1s"><img src="/assets/img/coffee.png" alt="Coffee"></div>
<div class="plant wow slideInRight hidden-xs"><img src="/assets/img/plant.png" alt="Plant"></div>
<div class="glass wow slideInUp hidden-xs"><img src="/assets/img/glass.png" alt="Glass"></div>
</div>
<!-- Hero Area Ends -->
<!-- Apps Feature Area Starts -->
<div id="feature" class="feature-area inner-padding">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="section-title text-center wow fadeInDown">
<span>CoreGrade</span>
<h2>It is about you at the control</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-4">
<div data-value="tab-1" class="single-feature-item text-right active wow fadeInUp">
<h4>Learning Plans</h4>
<p>Your personalized learning in one place with tools to make it happen.Think of these has your own Artificial Intelligence Learning Platform.</p>
</div>
<div data-value="tab-2" class="single-feature-item text-right wow fadeInUp">
<h4>Calendar & Alerts</h4>
<p>CoreGrade makes it easy to track due dates of goals set, focus plans with e-alerts in your workspace and dashboard</p>
</div>
<div data-value="tab-3" class="single-feature-item text-right wow fadeInUp">
<h4>Groups</h4>
<p>Small groups do come in handy while attaining new skills.Intrinsic motivation to learn and achieve is our aim and we help you get there.</p>
</div>
</div>
<div class="col-xs-12 col-md-4">
<div class="single-feature-slide">
<img id="tab-1" class="tab-img active" src="/assets/img/mobile_slid.png" alt="Feature Slide">
<img id="tab-2" class="tab-img" src="/assets/img/alerts.png" alt="Feature Slide">
<img id="tab-3" class="tab-img" src="/assets/img/Groups.png" alt="Feature Slide">
<img id="tab-4" class="tab-img" src="/assets/img/goal_settings.png" alt="Feature Slide">
<img id="tab-5" class="tab-img" src="/assets/img/institutional.png" alt="Feature Slide">
<img id="tab-6" class="tab-img" src="/assets/img/progress_monitoring.png" alt="Feature Slide">
</div>
</div>
<div class="col-xs-12 col-md-4">
<div data-value="tab-4" class="single-feature-item wow fadeInUp">
<h4>Goals Setting</h4>
<p>Set your Goals - CoreGrade streamline process achieving those objectives.Your Best Companion with success you will come do to without!</p>
</div>
<div data-value="tab-5" class="single-feature-item wow fadeInUp">
<h4>Institutional</h4>
<p>You have a large group ? Yes CoreGrade is compatible with your need with the power of our first rated simplicity. Contact us.</p>
</div>
<div data-value="tab-6" class="single-feature-item wow fadeInUp">
<h4>Progress Monitoring</h4>
<p>Self-evaluation gives you the information to help you know where to zoom your focus to and follow instructions that works best for you!</p>
</div>
</div>
</div>
</div>
</div>
<!-- Apps Feature Area Ends -->
<!-- Pricing Area Starts -->
<div id="pricing" class="pricing-area inner-padding bg-light">
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-5">
<div class="section-title title-left wow fadeInDown">
<!-- span class="small">GREAT PRICING PLAN</span -->
<h2>Select what you need to get started</h2>
</div>
<div class="pricing-content">
<p class="pill-title">You Are</p>
<ul class="pricing-pill wow fadeIn">
<li class="active" data-value="individual"><span>Individual</span></li>
<li data-value="company"><span>Need More</span></li>
<!--
<li data-value="tutor"><span>Parents</span></li>
-->
</ul>
<p class="wow fadeIn">A Modern, intuitive, effective digital learning experience that minimizes complexity and enables personalized learning at a convenience.</p>
<p>
</p>
<p class="fade-text wow fadeIn">Let Us Be Your Companion <a href="#">Lets talk</a></p>
</div>
</div>
<div class="col-xs-12 col-md-7">
<ul class="pricing-table wow slideInRight">
<li id="individual" class="active">
<h2 class="lead2">Individual</h2>
<span class="price-tag">Free</span>
<h4 class="sublead">Empowering <br> New Skills</h4>
<ul class="pricing-list">
<li><p>Creative Learning Path</p></li>
<li><p>Stay in the loop</p></li>
<li><p>Accessibility</p></li>
</ul>
<a href="/auth/newuser" onclick="viewLogin(); return;" class="btn btn-default btn-outline">Get Started</a>
</li>
<li id="company">
<h2 class="lead2">CoreGrade Plus</h2>
<span class="price-tag">Contact Us</span>
<h4 class="sublead">Holistic learning that <br> lights up</h4>
<ul class="pricing-list">
<li><p>Everything Individual + </p></li>
<li><p>Integrations</p></li>
<li><p>Flexible Learning</p></li>
<li><p>Personal Assistant</p></li>
<li><p>Attendance Management</p></li>
<li><p>Branding</p></li>
</ul>
<a href="/auth/newuser" class="btn btn-default btn-outline">Upgrade</a>
</li>
<!--
<li id="tutor">
<h2 class="lead2">parents</h2>
<span class="price-tag">$4.99</span>
<h4 class="sublead">Make your life <br> better</h4>
<ul class="pricing-list">
<li><p>Unlimeted events</p></li>
<li><p>Connect Dropbox & Evernote</p></li>
<li><p>Personal Assistant</p></li>
</ul>
<a href="#" class="btn btn-default btn-outline">Make me a Pro</a>
</li>
-->
</ul>
</div>
</div>
</div>
</div>
<!-- Pricing Area Ends -->
<!-- Subscribe Area Starts -->
<div class="subscribe-area inner-padding">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6 col-sm-offset-3 text-center wow fadeInUp">
<h4>Join people using CoreGrade</h4>
<form action="/auth/newuser">
<p><input type="email" class="form-control form-subscribe" name="email" placeholder="Email to join"></p>
<button class="btn btn-default btn-fill">Join CoreGrade</button>
</form>
</div>
</div>
</div>
</div>
<!-- Subscribe Area Ends -->
<!-- Download App Area Starts -->
<div id="download" class="download-area inner-padding">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="section-title-2 wow fadeInDown">
<h2>Get CoreGrade App</h2>
<span>Learn . Practice . Acquire . Grow</span>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 text-center">
<div class="store-icon wow fadeIn">
<a href="#"><img src="/assets/img/app-store.png" alt="Apple"></a>
<a href="#"><img src="/assets/img/google-store.png" alt="Google Play"></a>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="download-app text-center wow fadeIn">
<!--dimg src="/assets/img/mobile_slid.png" alt="Mobile Slide" -->
</div>
</div>
</div>
</div>
</div>
<!-- Download App Area Ends -->
<!-- Footer Area Starts -->
<footer>
<div id="contact" class="footer-area">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="footer-logo">
<h2>Core <span class="thin">Grade</span></h2>
<p>Intermittent monitoring in real-time</p>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-5">
<div class="footer-box">
<h2>YOUR INTELLIGENT LEARNING PLATFORM</h2>
<p>You LEARN,PRACTICE,GROW AND PERFECT Your Knowledge. </p>
</div>
</div>
<div class="col-xs-12 col-sm-1 hidden-xs hidden-sm"></div>
<div class="col-xs-12 col-sm-4 col-md-2">
<div class="footer-box">
<h4>Learn More</h4>
<ul class="footer-menu">
<li><a href="/home/howitworks">How it works?</a></li>
<li><a href="https://blog.coregrade.com">CoreGrade Blog</a></li>
</ul>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-2">
<div class="footer-box">
<h4>About Us</h4>
<ul class="footer-menu">
<li><a href="/home/aboutus">About us</a></li>
<li><a href="/home/security">Security</a></li>
<li><a href="/home/privacy">Privacy policy</a></li>
<li><a href="/home/terms">Terms & Conditions</a></li>
</ul>
</div>
</div>
<div class="col-xs-12 col-sm-4 col-md-2">
<div class="footer-box">
<h4>Support</h4>
<ul class="footer-menu">
<li><a href="/home/faq">F.A.Q.</a></li>
<li><a href="/home/contactus">Contact us</a></li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-5">
<div class="download-link">
<p><a href="#" class="btn btn-default btn-fill">Download Now</a></p>
<span>Available in:</span>
<a href="#"><i class="fa fa-android fa-2x"></i></a>
<a href="#"><i class="fa fa-apple fa-2x"></i></a>
<!--a href="#"><i class="fa fa-windows fa-2x"></i></a-->
</div>
</div>
<div class="col-xs-12 col-sm-3 hidden-xs"></div>
<div class="col-xs-12 col-sm-4">
<div class="contact-content">
<div class="vr-title-area">
<h4>Contact Us</h4>
</div>
<h3><span class="thin">CoreGrade</span></h3>
<p>Email :support@coregrade.com</p>
<p>Phone : 404-858-7966</p>
<ul class="social-icon">
<li><a href="https://www.facebook.com/coregradeweb/" data-toggle="tooltip" data-placement="bottom" title="Facebook"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://twitter.com/core_grade" data-toggle="tooltip" data-placement="bottom" title="Twitter"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://www.instagram.com/coregrade_web" data-toggle="tooltip" data-placement="bottom" title="Instagram"><i class="fa fa-instagram"></i></a></li>
<li><a href="#" data-toggle="tooltip" data-placement="bottom" title="YouTube"><i class="fa fa-youtube"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="copyright-area">
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-6 col-md-offset-6">
<span>Copyright &copy;<?php echo date("Y"); ?>. All right reserved <a href="http://www.coregrade.com" target="_blank">CoreGrade</a></span>
</div>
</div>
</div>
</div>
</footer>
<!-- Footer Area Ends -->
<!-- Scripts -->
<script src="/assets/js/jquery-1.11.3.min.js"></script>
<script src="/assets/js/wow.min.js"></script>
<script src="/assets/js/bootstrap.min.js"></script>
<script src="/assets/js/owl.carousel.min.js"></script>
<script src="/assets/js/typed.min.js"></script>
<script src="/assets/js/theme.js"></script>
<script type="text/javascript">
<!--
function viewLogin() {
$.ajax({
url: "/welcome/viewLogin?proc=PROCESS&welcome=welcome"
}).done(function (data) {
// alert(100);
});
return true;
}
// -->
</script>
</body>
</html>
+111
View File
@@ -0,0 +1,111 @@
<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="ltr">
<!-- BEGIN: Head-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta
name="description"
content="CoreGrade is the world's most flexible subscription-based learning platform for everybody. Used by over anybody that wants to lean, CoreGrade provides personalized learning with smart starter templates. An interactive session, classroom settings, personal and family learning goals."/>
<meta name="author" content="">
<meta name="keywords" content="flexible learning, learning, learn to anything, math, organize learning, every age education, learning templates, teacher">
<meta name="author" content="COREGRADE">
<title>CoreGrade - Flexible Learning, Customizable classrooms</title>
<link rel="apple-touch-icon" href="/assets2/images/ico/apple-icon-120.png">
<link rel="shortcut icon" type="image/png" href="/assets/img/coregrade.ico">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600" rel="stylesheet">
<!-- BEGIN: Vendor CSS-->
<link rel="stylesheet" type="text/css" href="/assets2/vendors/css/vendors.min.css">
<!-- END: Vendor CSS-->
<!-- BEGIN: Theme CSS-->
<link rel="stylesheet" type="text/css" href="/assets2/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="/assets2/css/bootstrap-extended.css">
<link rel="stylesheet" type="text/css" href="/assets2/css/colors.css">
<link rel="stylesheet" type="text/css" href="/assets2/css/components.css">
<link rel="stylesheet" type="text/css" href="/assets2/css/themes/dark-layout.css">
<link rel="stylesheet" type="text/css" href="/assets2/css/themes/semi-dark-layout.css">
<!-- BEGIN: Page CSS-->
<link rel="stylesheet" type="text/css" href="/assets2/css/core/menu/menu-types/vertical-menu.css">
<link rel="stylesheet" type="text/css" href="/assets2/css/core/colors/palette-gradient.css">
<link rel="stylesheet" type="text/css" href="/assets2/css/pages/authentication.css">
<!-- END: Page CSS-->
<!-- BEGIN: Custom CSS-->
<link rel="stylesheet" type="text/css" href="/assets2/css/style.css">
<!-- END: Custom CSS-->
</head>
<!-- END: Head-->
<!-- BEGIN: Body-->
<body class="vertical-layout vertical-menu-modern 1-column navbar-floating footer-static bg-full-screen-image blank-page blank-page" data-open="click" data-menu="vertical-menu-modern" data-col="1-column">
<!-- BEGIN: Main Menu-->
<div class="horizontal-menu-wrapper">
<div class="header-navbar navbar-expand-sm navbar navbar-horizontal floating-nav navbar-light navbar-without-dd-arrow navbar-shadow menu-border" role="navigation" data-menu="menu-wrapper" style=" background-color: aliceblue;">
<div class="navbar-header">
<ul class="nav navbar-nav flex-row">
<li class="nav-item mr-auto"><a class="navbar-brand" href="/">
<div class="brand-logo"></div>
<h2 class="brand-text mb-0" style="padding-left: 20px;">CoreGrade</h2>
</a></li>
<!-- li class="nav-item nav-toggle"><a class="nav-link modern-nav-toggle pr-0" data-toggle="collapse"><i class="feather icon-x d-block d-xl-none font-medium-4 primary toggle-icon"></i><i class="toggle-icon feather icon-disc font-medium-4 d-none d-xl-block collapse-toggle-icon primary" data-ticon="icon-disc"></i></a></li -->
</ul>
</div>
<!-- Horizontal menu content-->
<div class="navbar-container main-menu-content menu-right" data-menu="menu-container">
<ul class="nav navbar-nav" id="main-menu-navigation" data-menu="menu-navigation">
<li class="dropdown nav-item"><a class="dropdown-toggle nav-link" href="/"><i class="feather icon-home"></i><span data-i18n="CoreGrade">Home</span></a>
</li>
<li class="dropdown nav-item"><a class="dropdown-toggle nav-link" href="/auth"><i class="feather icon-package"></i><span data-i18n="Login">Login</span></a>
</li>
</ul>
</div>
</div>
</div>
<!-- END: Main Menu-->
<!-- BEGIN CONTENT BODY -->
<div class="page-content">
<?= $this->renderSection('content') ?>
</div>
<!-- END CONTENT BODY -->
<!-- BEGIN: Footer-->
<footer class="footer footer-static footer-light">
<p class="clearfix blue-grey lighten-2 mb-0"><span class="float-md-left d-block d-md-inline-block mt-25">COPYRIGHT &copy; 2020<a class="text-bold-800 grey darken-2" href="#" target="_blank">CoreGrade,</a>All rights Reserved</span><span class="float-md-right d-none d-md-block"><a href="/home/terms" >Terms & Conditions</a> &nbsp;|&nbsp; <a href="/home/privacy" >Privacy</a> &nbsp;|&nbsp; <a href="/home/security" >Security</a><i class="feather icon-file pink"></i></span>
</p>
</footer>
<!-- END: Footer-->
<!-- BEGIN: Vendor JS-->
<script src="/assets2/vendors/js/vendors.min.js"></script>
<!-- BEGIN Vendor JS-->
<!-- BEGIN: Page Vendor JS-->
<!-- END: Page Vendor JS-->
<!-- BEGIN: Theme JS-->
<script src="/assets2/js/core/app-menu.js"></script>
<script src="/assets2/js/core/app.js"></script>
<script src="/assets2/js/scripts/components.js"></script>
<!-- END: Theme JS-->
<!-- BEGIN: Page JS-->
<!-- END: Page JS-->
</body>
<!-- END: Body-->
</html>
File diff suppressed because one or more lines are too long