/home/usmoka/domains/usmoka.com/public_html/framework/backend/Browser.php
| 40 |
$br = self::known_browsers;
|
| 41 |
$es = self::known_engines;
|
| 42 |
$vs = '[\/ ]?([\d.]*)';
|
| 43 |
$browser_detect = preg_match("/$br$vs/", $ua, $matches);
|
| 44 |
list(self::$sName, self::$sVersion) = array_slice($matches, 1);
|
| 45 |
$engine_detect = preg_match("/$es$vs/", $ua, $matches);
|
| 46 |
list(self::$sEngine, self::$sEngineVersion) = array_slice($matches, 1);
|
| 47 |
if (!$this->name) {
|
| 48 |
self::$sCrawler = preg_match('/(http|www)/', $ua) ? $ua : false;
|
/home/usmoka/domains/usmoka.com/public_html/framework/backend/HTMLCore.php
| 39 |
/**
|
| 40 |
* Creates new HTML document
|
| 41 |
*/
|
| 42 |
public function __construct($setup = true) {
|
| 43 |
$this->browser = new Browser();
|
| 44 |
$this->document = new DOMHTML5($setup);
|
| 45 |
$this->currentNode = $this->document->bodyNode;
|
| 46 |
}
|
| 47 |
/**
|
/home/usmoka/domains/usmoka.com/public_html/framework/backend/Layout.php
| 15 |
/**
|
| 16 |
* Loads configured application layout
|
| 17 |
*/
|
| 18 |
public static function init() {
|
| 19 |
self::$html = new HTML(false);
|
| 20 |
if (!defined('APP_LAYOUT')) define('APP_LAYOUT', '3CD');
|
| 21 |
self::$html->loadLayout(APP_LAYOUT . '.html');
|
| 22 |
if (self::$html->browser->matchName('MSIE', '<9'))
|
| 23 |
self::$html->xscript(S_IE_HACKS);
|
/home/usmoka/domains/usmoka.com/public_html/framework/backend/Startup.php
| 26 |
exit("<pre><code>$h</code></pre>");
|
| 27 |
}
|
| 28 |
$request->exec();
|
| 29 |
} else {
|
| 30 |
Layout::init(); // AJAX::Init() inside
|
| 31 |
}
|
| 32 |
$_SESSION['_'] = $sid_md5;
|
| 33 |
if (file_exists($app_init = PATH_APPLICATION . '/init.php'))
|
| 34 |
require $app_init;
|
/home/usmoka/domains/usmoka.com/public_html/framework/init.php
| 5 |
require PATH_FRAMEWORK_SERVER_SIDE . '/Symbols.php';
|
| 6 |
require PATH_FRAMEWORK_SERVER_SIDE . '/Core.php';
|
| 7 |
require PATH_FRAMEWORK_SERVER_SIDE . '/Startup.php';
|
| 8 |
require PATH_APPLICATION . '/config.php';
|
| 9 |
Startup::Sequence();
|
| 10 |
?> |