// Prevents Google from indexing empty jobs // Include the database class include_once('classes/class.ndatabase.php'); $_GET["id"] = "my"; // REN-4499 // show the table with all open jobs at the bottom of the body text $id = ( preg_match("/^[\s0-9a-zA-Z]*$/", $_GET['id']) ) ? $_GET['id'] : false; // check alphanumeric \s allow white space and $emptycat = ( preg_match("/^[\s0-9a-zA-Z]*$/", $_GET['emptycat']) ) ? $_GET['emptycat'] : false; // check alphanumeric \s allow white space and $cat = ( preg_match("/^[\s0-9a-zA-Z]*$/", $_GET['cat']) ) ? $_GET['cat'] : false; // check alphanumeric \s allow white space and $vacid = intval($_GET['vacid']); // force integer // Only do this if there is an id=? in the URL. if ($vacid) { // SQL to check it is a valid job $sql = "select count(*) as vcount from vacancies where v_id = " . $vacid . " and v_verified = '1'" . " and v_close_inter > CURDATE()"; // Run SQL statement $domain = $_SERVER['SERVER_NAME']; $str_db_schema = 'vacancies'; // DATABASE if (strpos($domain, 'staging') !== FALSE) { $str_db_host = 'wklxwebdbts01.uk.ri.ad'; $str_db_pass = '3*YRVQCWC7vc7t*T2m6Z'; $str_db_user = 'web'; } elseif (strpos($domain, 'master') !== FALSE) { $str_db_host = 'wklxwebdbts01.uk.ri.ad'; $str_db_pass = '3*YRVQCWC7vc7t*T2m6Z'; $str_db_user = 'web'; } elseif (strpos($domain, 'dev') !== FALSE) { $str_db_host = 'wklxwebdbts01.uk.ri.ad'; $str_db_pass = '3*YRVQCWC7vc7t*T2m6Z'; $str_db_user = 'web'; } else { $str_db_host = 'wklxwebdblv01.uk.ri.ad'; $str_db_pass = 'Ultra9-Hardening-Penalty'; $str_db_user = 'web'; } $checkvac =& new nDatabase($str_db_host, $str_db_user, $str_db_pass, $str_db_schema); $checkvac->connect(); $res = $checkvac->read($sql); $chk_return = (array) $res[0]; $checkvac->disconnect(); // If the number of valid jobs for that URL are 0… if ($chk_return['vcount'] == "0") { // Send 404 header and include the appropriate error404 page header("HTTP/1.0 404 Not Found"); include ("../error404.php"); exit; } } ob_start(); include_once($_SERVER[DOCUMENT_ROOT].'/assets/p/class.vacmodconf.php'); $vac2 = &new vacmodconf(); // Sort out page titles if (!$id && !$emptycat) { $heading = 'Careers'; //$link = ' > '.$heading.''; $title = 'Careers'; } else if ($id && !$cat) { $heading = 'All'; //$link = ' > '.$heading.''; $link = ' > '.$heading; $title = 'Careers: All'; } else if ($id && $cat) { $heading = ucfirst($cat); //$link = ' > '.ucfirst($heading).''; $link = ' > '.ucfirst($heading); $title = 'Careers: '. ucfirst($heading); } else if ($emptycat) { $heading = ucfirst($emptycat); //$link = ' > '.ucfirst(strtolower($heading)).''; $link = ' > '.ucfirst(strtolower($heading)); $title = 'Careers: '. ucfirst($heading); } ?>
Call us for a free quote on 0703 055 888 or 0202995888
Rentokil Initial employs over 27,000 people worldwide. In Malaysia, you may know us through our strong and passionate brands: Rentokil Pest Control and Initial Hygiene.
Our strength lies into what we stand for: to protect and improve homes and businesses throughout Malaysia with the delivery of life's essentials.
To fulfill our promise, we need the very best people.
The quality of what we offer our clients is totally dependent on our colleagues, their motivation and dedication to go the extra mile to delight customers. By doing so we are creating a better business for ourselves, one of growth and expanding possibilities, one where we can all make a positive difference.
If this sounds like a team in which you could work, we'd love to hear from you.