"); define("APP_DESIGNER_EMAIL", ""); define("APP_FRAME", "index.php"); define("APP_OPENING_PAGE", "folap"); define("APP_LOGIN_PAGE", "login"); define("APP_LOGIN_PAGE2", "login2"); define("APP_ERROR_PAGE", "fatalError"); //debug // $debugInfo=true; include("sam/sam.inc"); include("includes/mysqlconfig.inc"); /* * browser detect */ //Define function to insert security image function insertSecurityImage($inputname) { $refid = md5(mktime()*rand()); //$insertstr = "\"Security\n $insertstr = "\"Security\n "; echo($insertstr); } //Define function to check security image confirmation function checkSecurityImage($referenceid, $enteredvalue) { $referenceid = mysql_escape_string($referenceid); $enteredvalue = mysql_escape_string($enteredvalue); $tempQuery = mysql_query("SELECT ID FROM security_images WHERE referenceid='".$referenceid."' AND hiddentext='".$enteredvalue."'"); if (mysql_num_rows($tempQuery)!=0) { return true; } else { return false; } } if(ereg("MSIE", $HTTP_USER_AGENT)){ $currentBrowser="IE"; } else { $currentBrowser="NS"; } /* * encoding */ header("Content-Type: text/html; charset=iso-8859-2"); /* * include tovabbi reszek */ if (!$lap) $lap = "folap"; // if (!file_exists($lap . ".pag")) {$lap = "folap"; $folap_error = 1; } include("application/functions.app"); require("application/hirdb.app"); include("application/main.app"); include("application/web.app"); include("application/stat.app"); /* * nem perzisztens DB kapcsolat zarasa */ mysql_close($defDBConn); ?>