<?php
$request = $_server["Request_uri"];
$params = Str_replace ('/basketball/', ' ', $request);
if (empty ($params)) {
Header (' http/1.1 503 Service unavailable. ', TRUE, 503);
Echo ' Your View folder path does not appear to be set correctly. Please open the following file and correct this: '. Self;
Exit (3); Exit_config
}
if (Strpos ($params, '/')) {
$params = explode ('/', $params);
$control = $params [0];
$action = $params [1];
if (Strpos ($action, '%ef%bc%9f ') | | strpos ($action, '? ')) {
$explode = Strpos ($action, '%ef%bc%9f ')? '%ef%bc%9f ': '? ';
$action = Explode ($explode, $action);
$action = $action [0];
}
} else {
$control = $params;
$action = ' index ';
}
$curPath = Control_path. Directory_separator. $control. Control '. File_ext;
if (!file_exists ($curPath)) {
Header (' http/1.1 503 Service unavailable. ', TRUE, 503);
Echo ' Your View folder path does not appear to be set correctly. Please open the following file and correct this: '. $control. '. Control.php ';
Exit (3); Exit_config
}
Require Library_path. Directory_separator. ' MySQL '. Directory_separator. ' MySQL '. File_ext;
Require Library_path. Directory_separator. ' Control '. File_ext;
Require Function_path. Directory_separator. ' Application '. File_ext;
Require Function_path. Directory_separator. ' Language '. File_ext;
Require $curPath;
if (!class_exists ($control)) {
Header (' http/1.1 503 Service unavailable. ', TRUE, 503);
Echo ' Your View folder path does not appear to be set correctly. Please open the following file and correct this: '. $control. '. Control.php ';
Exit (3); Exit_config
}
$obj = new $control;
if (!method_exists ($control, $action)) {
Header (' http/1.1 503 Service unavailable. ', TRUE, 503);
Echo ' Your View folder path does not appear to be set correctly. Please open the following file and correct this: '. $control. '. control.php function: '. $action;
Exit (3); Exit_config
}
Define (' User_token ', ' User_token ');
$obj $action ();
library/run.php