예제 #1
0
|--------------------------------------------------------------------------
|
| Handle the incoming request
| through our class, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$path = mt\Http\Requests::capture();
/*
* If we have the users URL ? 
* we can now load the right page for our friend
*
*/
if (isset($path)) {
    $page = mt\pages::getPage($path, 'public', 'home');
}
$row_count = row_count($dbc);
?>
<!DOCTYPE html>
<html>
<head>
   <title><?php 
echo $site_title . ' | ' . $page->pagetitle;
?>
</title>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta name="description" content="<?php 
echo $page->metadesc;
?>
예제 #2
0
|--------------------------------------------------------------------------
|
| Handle the incoming request
| through our class, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$path = mt\Http\Requests::capture();
/*
* If we have the users URL ? 
* we can now load the right page for our friend
*
*/
if (isset($path)) {
    $page = mt\pages::getPage($path, 'admin', 'dashboard');
}
// session_start();
// if(!logged_in()){
//   header("Location: portal.php");
// }
//print_r($path);
?>
<!DOCTYPE html>
<html>
<head>
   <title><?php 
echo $site_title . ' | ' . $page->pagetitle;
?>
</title>
   <meta charset="UTF-8">