{if logged_in} Hotels Comparison Report

PL vs HC Comparison of Properties

HOTEL PROPERTIES ONLY

{exp:query sql="SELECT DISTINCT(pl.hotel_name), pl.city, pl.state, pl.hotelid_ppn as hotelid_pl, hc.HotelID as hotelid_hc, hc.HotelFileName as hotelurl_hc FROM aff_pl_hotels pl JOIN aff_hc_hotels hc on pl.hotel_address = hc.HotelAddress WHERE pl.hotel_type='hotel' ORDER BY pl.city ASC LIMIT 1000 "} {if count==1}

**{total_results} Matching Hotels by Address**


{/if} {if count==total_results}
Hotel Name Priceline ID HotelsCombined ID
{hotel_name} {hotelid_pl} {if hotelurl_hc}{hotelid_hc}{if:else}{hotelid_hc}{/if}

**{total_results}**

{/if} {/exp:query}

ALL PROPERTIES

{exp:query sql="SELECT DISTINCT(pl.hotel_name), pl.city, pl.state, pl.hotelid_ppn as hotelid_pl, hc.HotelID as hotelid_hc, hc.HotelFileName as hotelurl_hc FROM aff_pl_hotels pl JOIN aff_hc_hotels hc ON pl.hotel_address = hc.HotelAddress WHERE pl.hotel_type!='hotelz' ORDER BY pl.city ASC LIMIT 1000 "} {if count==1}

**{total_results} Matching Properties by Address**


{/if} {if count==total_results}
Property Name Priceline ID HotelsCombined ID
{hotel_name} {hotelid_pl} {if hotelurl_hc}{hotelid_hc}{if:else}{hotelid_hc}{/if}

**{total_results}**

{/if} {/exp:query}

{if:else}

Notice:

Please make sure you login to the CMS before attempting to view this page...

{/if}