Server IP : 51.89.169.208 / Your IP : 216.73.216.57 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/yellowleaf/public_html/masrur/ |
Upload File : |
<?php if(!$no_cache){$cache = (86400*7);header("Cache-Control: max-age={$cache}"); } $tpl_data['css'] = '<link rel="stylesheet" href="/masrur/style.css">'; $tpl_data['js'] = '<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script><script src="/masrur/js.js"></script>'; $tpl_data['meta'] = '<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">'; $tpl_data['recaptcha'] = '<script src="https://www.google.com/recaptcha/api.js" async></script>'; $tpl_data['recaptcha_html'] = '<div class="g-recaptcha" data-sitekey="6LdMHR4UAAAAAOpLFvFze2MG_LH5VL8S0mGyk4Ci" style="margin:auto;transform:scale(0.9);-webkit-transform:scale(0.9);transform-origin:0 0;-webkit-transform-origin:0 0;"></div>'; $tpl_data['s'] = $_GET['search']; $hour = 60*60; $day = $hour*24; $month = $day*30; $year = $day*365; $km = 6371; $miles = 3959; $proximity = $_GET['proximity']; $proximity = $proximity?$proximity:$_COOKIE['proximity']; $tpl_data['proximity'] = $proximity = $proximity ? $proximity : 200; setcookie('proximity',$proximity,$year,'/'); /*$tpl_data['js'] .= '<script src="js.js"></script>';*/ $time = time(); if(!$no_mysql){ mysql_connect('localhost', 'postcode_office', 'office') or die("Could not connect to MySQL"); mysql_select_db("postcode_yellowleaf") or die("Could not select MySQL Database"); putenv('TZ=Europe/London'); // setting uk time } $baseurl = "/home/postcode/public_html/yellowleaf.co.uk/"; /*### FUNCTIONS ###*/ function curl($url){ $baseurl = "http://www.yellowleaf.co.uk/masrur/"; $url = $baseurl.$url; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $data = curl_exec($curl); curl_close($curl); return $data; } function say($tpl,$tpl_data,$compress = true){ foreach($tpl_data as $k => $v){$tpl = str_replace('{'.$k.'}',$v,$tpl);} if($compress){$tpl = str_replace(array("\n","\r","\t",' '),'',$tpl);} echo $tpl; } ?>