#common unit include-ja
include ("./content/unit.php");
#connecting to SQL szerver
sqlconnect() ;
#events given by paramaters
##debug#####
# phpinfo();
# print ''; print_r($GLOBALS); exit(' ');
# echo($todo);
# echo($todo);
# echo($_GET['todo']);
# echo('x'.$todo.'x');
##debug#####
if(!isset($_GET['todo'])) $todo="1";
if(isset($_GET['todo'])) $todo=string_escape($_GET['todo']);
switch ($todo) {
case "1": $actionfile = swapekezet (implode ('', @file('./content/szamitogephalozat.php'))); break;
case "": $actionfile = swapekezet (implode ('', @file('./content/szamitogephalozat.php'))); break;
case "2": $actionfile = swapekezet (implode ('', @file('./content/gyakorihibak.php'))); break;
case "3": $actionfile = swapekezet (implode ('', @file('./content/referenciak.php'))); break;
case "4": $actionfile = swapekezet (implode ('', @file('./content/arajanlatkapcsolat.php'))); break;
}
eval ('?>' . $actionfile . ' ');
?>
|