"; } $prefix = rand(111111, 999999); $i = 0; while (list ($key, $val) = each ($_FILES)) { if ($_FILES[$key]['name'] != "" and file_exists($_FILES[$key]['tmp_name']) and $_FILES[$key]['size'] > 0) { $upload_DstName[$i] = $prefix . "_" . str_replace(" ", "_", $_FILES[$key]['name']); $upload_SrcName[$i] = $_FILES[$key]['name']; $upload_Size[$i] = ($_FILES[$key]['size']); $upload_Temp[$i] = ($_FILES[$key]['tmp_name']); $upload_Type[$i] = ($_FILES[$key]['type']); $uploadlink[$i] = "$upload_folder/$upload_DstName[$i]"; $upload_fieldname[$i] = $key; $upload_fieldname_final[$i] = ucwords(str_replace("_", " ", $key)); $fieldvalue[$i] = $uploadlink[$i]; $i++; } if ($upload_Size[$i] >= $max_filesize) { $error .= "The size of $key (file: $upload_SrcName[$i]) is bigger than the allowed " . $max_filesize/1024 . " Kbytes!\n"; } } if (!empty($error)) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $error, $errorcode); echo $errorcode; exit; } $uploadfolder = basename($upload_folder); for ($i = 0; $i < count($upload_DstName); $i++) { $uploadFile = $uploadfolder . "/" . $upload_DstName[$i]; if (!is_dir(dirname($uploadFile))) { RecursiveMkdir(dirname($uploadFile)); } else { chmod(dirname($uploadFile), 0777); } move_uploaded_file($upload_Temp[$i] , $uploadFile); chmod($uploadFile, 0644); } $internalfields = array ("submit", "reset", "send", "captcha_code"); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { $logdata .= ','; if (!is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; $value = str_replace(",", " ", $value); $logdata .= $value; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; $logdata .= implode("|", $value); } } } $logdata = str_replace("\r", "", $logdata); $logdata = str_replace("\n", " ", $logdata); $logdata .= "\r\n"; WriteToFile($logdata); if (count($upload_SrcName) > 0) { $message .= "\nThe following files have been uploaded:\n"; for ($i = 0; $i < count($upload_SrcName); $i++) { $message .= $upload_SrcName[$i] . " Link: " . $uploadlink[$i] . "\n"; } } $body = 'This is a multi-part message in MIME format.'.$eol.$eol; $body .= '--'.$boundary.$eol; $body .= 'Content-Type: text/plain; charset=UTF-8'.$eol; $body .= 'Content-Transfer-Encoding: 8bit'.$eol; $body .= $eol.stripslashes($message).$eol; $body .= '--'.$boundary.'--'.$eol; mail($mailto, $subject, $body, $header); $search = array("ä", "Ä", "ö", "Ö", "ü", "Ü", "ß", "!", "§", "$", "%", "&", "/", "\x00", "^", "°", "\x1a", "-", "\"", " ", "\\", "\0", "\x0B", "\t", "\n", "\r", "(", ")", "=", "?", "`", "*", "'", ":", ";", ">", "<", "{", "}", "[", "]", "~", "²", "³", "~", "µ", "@", "|", "<", "+", "#", ".", "´", "+", ","); $replace = array("ae", "Ae", "oe", "Oe", "ue", "Ue", "ss"); foreach($_POST as $name=>$value) { $name = str_replace($search, $replace, $name); $name = strtoupper($name); $form_data[$name] = $value; } mysql_connect($mysql_server, $mysql_username, $mysql_password) or die('Failed to connect to database server!
'.mysql_error()); mysql_query("CREATE DATABASE IF NOT EXISTS $mysql_database"); mysql_select_db($mysql_database) or die('Failed to select database
'.mysql_error()); mysql_query("CREATE TABLE IF NOT EXISTS $mysql_table (ID int(9) NOT NULL auto_increment, DATESTAMP DATE, TIME VARCHAR(8), IP VARCHAR(15), BROWSER TINYTEXT, PRIMARY KEY (id)) TYPE=MyISAM"); foreach($form_data as $name=>$value) { mysql_query("ALTER TABLE $mysql_table ADD $name VARCHAR(255)"); } mysql_query("INSERT INTO $mysql_table (DATESTAMP, TIME, IP, BROWSER) VALUES ('".date("Y-m-d")."', '".date("G:i:s")."', '".$_SERVER['REMOTE_ADDR']."', '".$_SERVER['HTTP_USER_AGENT']."')")or die('Failed to insert data into table!
'.mysql_error()); $id = mysql_insert_id(); foreach($form_data as $name=>$value) { mysql_query("UPDATE $mysql_table SET $name='".mysql_real_escape_string($value)."' WHERE ID=$id") or die('Failed to update table!
'.mysql_error()); } mysql_close(); header('Location: '.$success_url); exit; } ?> Hometown Fireplace MARYSVILLE WA. Quadrafire, Regency, wood stoves, Gas Stoves, Pellet stoves Serving Snohomish and King counties with top quality wood, gas and pellet stoves, inserts and fireplace sales, service and installation. Quadrafire and Regency are industry leaders
The name "Hometown" Belongs next to words like Honesty, Fairness, Integrity, Straight Forward and Superb Customer Service. We are in this business because it’s what we love and because you deserve to be treated like you matter, not like your just part of someone’s bottom line. From start to finish, you, the customer, your home and your family are what matter most to us.
Welcome to the wonderful world of gourmet food smoking. An exciting adventure awaits you, filled with a realm of endless possibilities for delicious food that brings everyone back for seconds and thirds!
360-659-6901
Located at 1235 State Ave in Marysville
Hometown Fireplace Services LLC
Monday - Friday 9am-5:00pm Saturday 10-4
Ph 360-659-6901  Fax 360-322-7496
email:
Contractors License # HOMEFS901DB
Service@Hometownfps.com
BONDED & INSURED
Contact us
 
We are not satisfied untill you are satisfied
Family Owned and Operated

The name "Hometown" Belongs next to words like Honesty, Fairness, Integrity, Straight Forward and Superb Customer Service. We are in this business over 20 years because it’s what we love and because you deserve to be treated like you matter, not like your just part of someone’s bottom line. From start to finish, you, the customer, your home and your family are what matter most to us.

Come talk to us before you decide, you'll be glad you did

About Us
Back<<<
Serving Snohomish and King counties with top quality wood, gas and pellet stoves, inserts and fireplace sales, service and installation. Quadrafire and Regency are industry leaders
Arlington,  Baring,   Bothell,   Brier,  Camano Island,   Clearview,   Darrington,   Duvall,   Edmonds,   Goldbar,   Granite Falls,   Everett,   Index,   Juanita,   Kenmore,   Kirkland,   Lake Stevens,  Lynnwood,   Marysville,   Mill Creek,  Monroe,  Mounlake Terrace,   Mulkilteo,    Redmond,   Shoreline, Snohomish,   Stanwood,   Sultan,   Skykomish,   Woodinville,   CALL NOW  360-659-6901
Pellet stove, Pellet insert, Pellet fireplace, Wood stove, Wood insert, Wood fireplace, Gas stove, Gas insert, Gas fireplace
Get A
Quote

http://www.youtube.com/watch?v=DzjUdKtYFA8&feature=player_embedded
 
Back to top
Name:
Email:
Phone
I would like info on:
Cool Text: Logo and Graphics Generator
Ask us for a qoute