echo $page_title; ?>
echo $company_name ?>
echo $addressline1 ?>
echo $addressline2 ?>
echo $phone1 ?>
DISCLAIMER: We make every effort to accurately describe the equipment listed on our website for sale. However, we offer no warranties or guarantees. All equipment listed or advertised on this site is sold as is, where is.
include("include/footer.php"); ?> session_start(); //check for auth and admin cookie if (isset($_COOKIE['admin'])) { //echo $_COOKIE['admin']; // uncomment to see "Yes" admin logged in } else { //echo 'admin not logged in'; // uncomment to see admin is not logged in } //connection information //name of database $db_name = "crafwzdr_dirtbutcherdb"; $db_server = "localhost"; $db_username = "crafwzdr_dirtbutcherdb"; $db_password = "This-is-a-long-password-for-the-dirtbutcher-database"; //database location & connection $connection = @mysqli_connect($db_server, $db_username, $db_password, $db_name); //or die(mysql_error()); if (mysqli_connect_error()) { echo "Failed to connect to the damn MySQL server: " . mysqli_connect_error(); exit(); } $db = @mysqli_select_db($connection, $db_name) or die(mysql_error()); $user_table="authorized"; $contact_table="contact"; $listing_category_table="listing_category"; $listing_item_table="listing_db"; $listing_photos_table="listing_photos"; $images_dir = "pics"; // this is seperated from the images folder $domain_url=@getenv("HTTP_HOST"); $domain_url=str_replace("www.","",$domain_url); if ($domain_url == "db.satphat.com") { $company_name = "Industry Equipment Co"; $addressline1 = "PO Box 16744"; $addressline2 = "Chattanooga, TN 37416"; $phone1 = "(423) 488-3561"; $contactemail = "mail@brucevoiles.com, brucevoiles@hotmail.com"; ;} if ($domain_url == "adequipment.net") { $company_name = "A & D Equipment Co"; $addressline1 = "1264 Old Federal Rd S"; $addressline2 = "Chatsworth, GA 30705"; $phone1 = "(706) 517-0429"; $contactemail = "sales@adequipment.net"; ;} if ($domain_url == "dirtbutcher.com") { $company_name = "Industry Equipment Co"; $addressline1 = "5423 Hwy 58"; $addressline2 = "Chattanooga, TN 37416"; $phone1 = "(423) 605-1111"; $contactemail = "sales@dirtbutcher.com"; ;} ?>
echo $page_title; ?>
echo $company_name ?>
echo $addressline1 ?>
echo $addressline2 ?>
echo $phone1 ?>
DISCLAIMER: We make every effort to accurately describe the equipment listed on our website for sale. However, we offer no warranties or guarantees. All equipment listed or advertised on this site is sold as is, where is.
include(__DIR__ . "/include/footer.php"); ?>