query('SELECT version_number FROM release_history WHERE script_id = 2 ORDER BY id DESC LIMIT 8'); $stmt->setFetchMode(PDO::FETCH_ASSOC); $releaseHistory = array(); while ($row = $stmt->fetch()) { $releaseHistory[] = $row['version_number']; } // current time $currentTimeFormatted = date('g:ia'); $currentTimeMachine = date('G'); $workingHours = true; if (($currentTimeMachine < 9) || ($currentTimeMachine > 18)) { $workingHours = false; } $workStatus = 'working'; $backToYouText = 'within the next few hours'; if (($currentTimeMachine <= 7) || ($currentTimeMachine >= 22)) { $workStatus = 'sleeping'; $backToYouText = 'as soon possible'; } elseif ($currentTimeMachine <= 9) { $workStatus = 'on our way to the office'; $backToYouText = 'before lunch'; } elseif (($currentTimeMachine >= 18) && ($currentTimeMachine <= 19)) { $workStatus = 'on our way home'; $backToYouText = 'as soon possible'; } elseif ($currentTimeMachine >= 20) { $workStatus = 'out of the office'; $backToYouText = 'as soon possible'; } if ($_POST['submitted'] == "true") { // captcha variables $url = 'https://www.google.com/recaptcha/api/siteverify'; $privatekey = RECAPTCHA_SECRET_KEY; $response = file_get_contents($url."?secret=".$privatekey."&response=".$_POST['g-recaptcha-response']."&remoteip=".$_SERVER[REMOTE_ADDR]); $data = json_decode($response); if(isset($data->success) AND $data->success==true) { $emailAdd = ''; $queryType = ''; $yourName = ''; $comments = ''; $website = ''; $version = ''; if (isset($_REQUEST['query_type'])) { $queryType = $_REQUEST['query_type']; } if (isset($_REQUEST['yourName'])) { $yourName = $_REQUEST['yourName']; } if (isset($_REQUEST['comments'])) { $comments = $_REQUEST['comments']; } if (isset($_SESSION['email'])) { $emailAdd = $_SESSION['email']; $queryType = 'Technical Support'; } if (isset($_REQUEST['demail'])) { $emailAdd = $_REQUEST['demail']; $queryType = $_REQUEST['query_type']; } } else { $error = "You entered the captcha incorrectly!"; } } // page header include_once('_header.inc.php'); ?>
Use the form below to contact us about any pre or post sales questions. If you've got a support related issue, please include your file upload site url and steps to replicate the problem.
Office Address: | MFScripts.com c/o Mellow Fish Ltd Wessex House Eastleigh Hampshire SO50 9FD United Kingdom |
Co. Number: | 06362139 |