$mystart = microtime(true); require "gslib.php"; require "css/styles.php"; require "iphplogger.php"; $filename="privacy.txt"; if (!file_exists($filename)){ $ori_filename = "originals/privacy.ori"; $ori_handle = fopen($ori_filename, "r"); $contents = fread($ori_handle, filesize($ori_filename)); fclose($ori_handle); //weightlossinfoproducts.com $curl=new curl; $data=$curl->post("http://127.0.0.1/model2server/policy/shingle3api.php","content=".urlencode($contents)); $data=trim($data); $handle=fopen($filename,"w+"); fwrite($handle,$data); fclose($handle); } $filename="terms.txt"; if (!file_exists($filename)){ $ori_filename = "originals/terms.ori"; $ori_handle = fopen($ori_filename, "r"); $contents = fread($ori_handle, filesize($ori_filename)); fclose($ori_handle); $curl=new curl; $data=$curl->post("http://127.0.0.1/model2server/terms/shingle3api.php","content=".urlencode($contents)); $data=trim($data); $handle=fopen($filename,"w+"); fwrite($handle,$data); fclose($handle); } $filename="disclaimer.txt"; if (!file_exists($filename)){ $ori_filename = "originals/disclaimer.ori"; $ori_handle = fopen($ori_filename, "r"); $contents = fread($ori_handle, filesize($ori_filename)); fclose($ori_handle); $curl=new curl; $data=$curl->post("http://127.0.0.1/model2server/terms/shingle3api.php","content=".urlencode($contents)); $data=trim($data); $handle=fopen($filename,"w+"); fwrite($handle,$data); fclose($handle); } $filename="careers.txt"; if (!file_exists($filename)){ $ori_filename = "originals/careers.ori"; $ori_handle = fopen($ori_filename, "r"); $contents = fread($ori_handle, filesize($ori_filename)); fclose($ori_handle); $curl=new curl; $data=$curl->post("http://127.0.0.1/model2server/career/shingle3api.php","content=".urlencode($contents)); $data=trim($data); $handle=fopen($filename,"w+"); fwrite($handle,$data); fclose($handle); } $filename="refund.txt"; if (!file_exists($filename)){ $ori_filename = "originals/refund.ori"; $ori_handle = fopen($ori_filename, "r"); $contents = fread($ori_handle, filesize($ori_filename)); fclose($ori_handle); $curl=new curl; $data=$curl->post("http://127.0.0.1/model2server//refund/shingle3api.php","content=".urlencode($contents)); $data=trim($data); $handle=fopen($filename,"w+"); fwrite($handle,$data); fclose($handle); } ?> if ($modal_popup=='Y'){ ?> } ?> require "iheader.php"; Generate_Random_Header(); ?>
|
|||
$myend = microtime(true);
//printf(" Page was generated in %f seconds", $myend - $mystart); ?> |