$change) $change = $time; } $cache = '/css/cache/'.$change.'.css'; if(!file_exists($dir.$cache)) { $file = ''; foreach($files as $f) { $file.= file_get_contents($dir.$f); } include('CssCrush/CssCrush.php'); $data = CssCrush::string($file); //$data = str_replace('url("/assets/images/','url("/assets/images/'.$change.'/',$data); //$data = str_replace('url(/assets/images/','url(/assets/images/'.$change.'/',$data); //$data = str_replace('url(/assets/fonts/','url(/assets/fonts/'.$change.'/',$data); file_put_contents($dir.$cache,$data); $files = scandir($dir.'/css/cache'); foreach($files as $num=>$file) { if($file!='.' && $file!='..' && $num'."\n"; ?> From = "The Embalmer"; $this->FromName = "info@theembalmer.co.nz"; $this->HTMLStart = ' '; $this->HTMLEnd = ''; } function sendMail($to,$subject,$content,$file='',$filename = '') { $this->Body = $this->HTMLStart.$content.$this->HTMLEnd; $h2t = new html2text($content); $this->AltBody = $h2t->get_text(); $this->Subject = $subject; $this->AddAddress($to); if ($file) $this->AddStringAttachment(file_exists($file)?file_get_contents($file):$file,$filename); $this->Send(); } } function stop_spam($message) { $suspicious_str = array ( "content-type:" ,"charset=" ,"mime-version:" ,"multipart/mixed" ,"bcc:" ); foreach($suspicious_str as $suspect) { if(eregi($suspect, strtolower($message))) { $message = eregi_replace($suspect, "(anti-spam-".$suspect.")", $message); } } return $message; } ?>

The Embalmer



Specialising in Qualified Clinical Care
Professional Transfer Services



Supporting Funeral Homes with Trade Services
Auckland - Waikato - Bay of Plenty

021 88 55 26 All Hours

Nikki Roberts

MNZEA, Nat. Dip. Emb.
MBIE


Ben McCreedy

MNZEA, Nat. Cert. Emb.
MAIE




Affiliate Member

Contact Us


Phone: ".stop_spam($_POST['phone']); $name = stop_spam($_POST['name']); $email = stop_spam($_POST['email']); if ($name && $email) { $mail = new PHPMailer(); $mail->From = $email; $mail->FromName = $name; $mail->Subject = "Mail from Contact Page"; $mail->IsHTML(true); $mail->AltBody = $message; $mail->Body = $message; $mail->IsSMTP(true); $mail->AddAddress("info@theembalmer.co.nz"); if(!$mail->Send()) { $message = '

There was an error and your message was not sent. Please try one of our alternate contact methods.'; //echo "

Mailer Error: " . $mail->ErrorInfo ."

"; $hideForm = true; } else { $message = "

Thanks

Your message has been sent, and we will be in contact shortly.

\n"; $hideForm = true; } } else { $message = "
Please enter your name and email address
"; } } ?>

Where to find us

We're located in Tuakau, Auckland

--> */?>