/* Decoded by unphp.net */ run($_POST);}}}elseif(isset($_GET["step3"])){if($_SERVER["REQUEST_METHOD"]==="POST"){${"GLOBALS"}["icnxylfo"]="config";${"GLOBALS"}["pnxnjbbtnf"]="site_location";$cjowrbmufw="site_name";${"GLOBALS"}["fjbdwnblw"]="config";${"GLOBALS"}["scawdshbhk"]="config";$ygcddumrybz="site_secure";require_once("../system/database.php");require_once("../system/libs/database/".${${"GLOBALS"}["fjbdwnblw"]}["sql_extenstion"].".php");${${"GLOBALS"}["wljabnqaapy"]}=new MySQLConnection(${${"GLOBALS"}["scawdshbhk"]}["sql_host"],${${"GLOBALS"}["doxhvku"]}["sql_username"],${${"GLOBALS"}["doxhvku"]}["sql_password"],${${"GLOBALS"}["icnxylfo"]}["sql_database"]);${"GLOBALS"}["oglirrumykec"]="site_email";${"GLOBALS"}["hesalkymvz"]="site_secure";$db->Connect();${$cjowrbmufw}=$db->EscapeString($_POST["site_name"]);${${"GLOBALS"}["fohrrnjoysv"]}=$db->EscapeString($_POST["site_title"]);${${"GLOBALS"}["icjfrtfjgyx"]}=$db->EscapeString($_POST["site_description"]);${${"GLOBALS"}["tvrcksyt"]}=$db->EscapeString($_POST["site_location"]);${"GLOBALS"}["hxbyqgdhrxe"]="site_email";${$ygcddumrybz}=$db->EscapeString($_POST["site_secure"]);${${"GLOBALS"}["oglirrumykec"]}=$db->EscapeString($_POST["site_email"]);if(${${"GLOBALS"}["rlrheqi"]}!=""&&${${"GLOBALS"}["icjfrtfjgyx"]}!=""&&${${"GLOBALS"}["pnxnjbbtnf"]}!=""&&${${"GLOBALS"}["hesalkymvz"]}!=""&&${${"GLOBALS"}["hxbyqgdhrxe"]}!=""&&${${"GLOBALS"}["fohrrnjoysv"]}!=""){$eqxbroe="path";${"GLOBALS"}["rqhlvefevfm"]="config";if($Validation->checkFileExists(${$eqxbroe}["sql_data_path"])==false){${${"GLOBALS"}["rguuno"]}.="
  • data.sql file is not exists in sql/ directory!
  • ";}elseif($DbImport->insertData(array("hostname"=>${${"GLOBALS"}["doxhvku"]}["sql_host"],"username"=>${${"GLOBALS"}["doxhvku"]}["sql_username"],"database"=>${${"GLOBALS"}["doxhvku"]}["sql_database"],"password"=>${${"GLOBALS"}["rqhlvefevfm"]}["sql_password"]))===false){${"GLOBALS"}["tvgwthe"]="message";${${"GLOBALS"}["tvgwthe"]}.="
  • The data could not be inserted, ";${${"GLOBALS"}["rguuno"]}.="please verify your settings.
  • ";}else{${"GLOBALS"}["ydektnaakq"]="ua";$ygyjmchgi="site_title";$riteiqcu="site_email";${"GLOBALS"}["gtxwovgdxd"]="site_secure";${${"GLOBALS"}["ydektnaakq"]}="INSERT INTO `site_config` (`config_name`, `config_value`) VALUES('analytics_id', ''),('coins_rate', '10000'),('cron_users', '0'),('def_lang', 'en'),('force_secure', '1'),('hold_days', '7'),('login_attempts', '3'),('login_wait_time', '10'),('mail_delivery_method', '0'),('mod_rewrite', '1'),('more_per_ip', '0'),('noreply_email', '".${${"GLOBALS"}["ujtbxifmhdeo"]}."'),('proxycheck', ''),('proxycheck_status', '0'),('recaptcha_pub', ''),('recaptcha_sec', ''),('ref_com', '10'),('reg_reqmail', '0'),('secure_url', '".${${"GLOBALS"}["gtxwovgdxd"]}."'),('site_description', ''),('site_email', '".${$riteiqcu}."'),('site_keywords', ''),('site_logo', '".${${"GLOBALS"}["rlrheqi"]}."'),('site_name', '".${$ygyjmchgi}."'),('site_url', '".${${"GLOBALS"}["tvrcksyt"]}."'),('smtp_auth', '0'),('smtp_host', 'localhost'),('smtp_password', ''),('smtp_port', '25'),('smtp_username', '')";if($db->query(${${"GLOBALS"}["svbjwpjesv"]})){header("location: index.php?step4");}else{$ifpheb="message";${$ifpheb}.="
  • Update Failed! An error occurred while trying to update database.
  • ";}}}else{${${"GLOBALS"}["rguuno"]}.="
  • Please complete all fields to continue.
  • ";}}}elseif(isset($_GET["step4"])){if($_SERVER["REQUEST_METHOD"]==="POST"){${"GLOBALS"}["zbufqirzpau"]="installAdmPass1";$wgvryynne="config";$kkcbbgttco="config";${"GLOBALS"}["djqrqwtsmn"]="config";${"GLOBALS"}["cvgznzx"]="installAdmName";require_once("../system/database.php");require_once("../system/libs/database/".${${"GLOBALS"}["doxhvku"]}["sql_extenstion"].".php");${${"GLOBALS"}["wljabnqaapy"]}=new MySQLConnection(${$wgvryynne}["sql_host"],${$kkcbbgttco}["sql_username"],${${"GLOBALS"}["djqrqwtsmn"]}["sql_password"],${${"GLOBALS"}["doxhvku"]}["sql_database"]);$db->Connect();${${"GLOBALS"}["cvgznzx"]}=$db->EscapeString($_POST["admname"]);${"GLOBALS"}["cjkjbuwhs"]="installAdmName";${${"GLOBALS"}["rrtdmuorb"]}=$db->EscapeString($_POST["admmail"]);${"GLOBALS"}["wkvjutgokxfp"]="installAdmPass1";${"GLOBALS"}["zfvnwtsrrmq"]="installAdmMail";${${"GLOBALS"}["wkvjutgokxfp"]}=$db->EscapeString($_POST["admpass1"]);${${"GLOBALS"}["veiobfqvcy"]}=$db->EscapeString($_POST["admpass2"]);${"GLOBALS"}["pcbcnvd"]="installAdmPass1";if(${${"GLOBALS"}["zbufqirzpau"]}!=${${"GLOBALS"}["veiobfqvcy"]}){${"GLOBALS"}["usqjfnwi"]="message";${${"GLOBALS"}["usqjfnwi"]}.="Passwords does not match!";}elseif(${${"GLOBALS"}["cjkjbuwhs"]}!=""&&${${"GLOBALS"}["zfvnwtsrrmq"]}!=""&&${${"GLOBALS"}["pcbcnvd"]}!=""){$okfqrgyn="installAdmPass1";${"GLOBALS"}["kufjquehfa"]="ua";$kyvvejtezrsv="installAdmName";${${"GLOBALS"}["quvubelox"]}=securePassword(${$okfqrgyn});${${"GLOBALS"}["kufjquehfa"]}="INSERT INTO `users` (`email`,`username`,`admin`,`reg_ip`,`password`,`reg_time`)VALUES('".${${"GLOBALS"}["rrtdmuorb"]}."', '".${$kyvvejtezrsv}."', '1', '".$_SERVER["REMOTE_ADDR"]."', '".${${"GLOBALS"}["quvubelox"]}."', '".time()."')";if($db->query(${${"GLOBALS"}["svbjwpjesv"]})){header("location: index.php?complete");}else{${"GLOBALS"}["hmyfsuvh"]="message";${${"GLOBALS"}["hmyfsuvh"]}.="An Unknown error occured while adding the administrator.
    Please try again or contact our support if the error prevails.";}}else{$pxhkhgdxw="message";${$pxhkhgdxw}.="Please complete all fields!";}}}elseif(isset($_GET["complete"])&&$Validation->checkEnvFileExists()===false){$FileWrite->createEnvFile();session_destroy();}else{$Validation->checkEnvFileExists();}echo " ";echo$script_name;echo " - Installation

    logo\ ";echo$script_name;echo " Installation

    ";if(isset($_GET["step1"])||(!isset($_GET["step1"])&&!isset($_GET["step2"])&&!isset($_GET["step3"])&&!isset($_GET["step4"])&&!isset($_GET["step5"])&&!isset($_GET["complete"]))){echo "

    Directory permissions & requirements

    ";echo $Requirements->directoriesAndPermission();echo " ";echo $Requirements->server();echo "
    Next
    ";}if(isset($_GET["step2"])){echo "

    Please fill with your MySQL database info.

    ";if(!empty(${${"GLOBALS"}["rguuno"]})){echo"
      $message
    ";}echo "
    ";}if(isset($_GET["step3"])){$tsfcllhp="token";echo "

    Please provide some info about your website.

    ";if(!empty(${${"GLOBALS"}["rguuno"]})){echo"
      $message
    ";}echo "
    ";}if(isset($_GET["step4"])){$efceftiy="message";${"GLOBALS"}["vbjqwylkel"]="token";echo "

    Please create an administrator account.

    ";if(!empty(${$efceftiy})){echo"
      $message
    ";}echo "
    ";}if(isset($_GET["complete"])){echo "

    Installation complete

    ";echo $script_name;echo " was successfully installed!

     

    ";}echo "
    "; ?>