-
Notifications
You must be signed in to change notification settings - Fork 7
/
search_sellers.php
61 lines (48 loc) · 2.14 KB
/
search_sellers.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
define( 'PMR', true );
$page = 'search';
include 'config.php';
include PATH . '/defaults.php';
$title = $conf['website_name_short'] . ' - ' . $lang['Realtor_Search'];
include PATH . '/templates/' . $cookie_template . '/header.php';
$tpl = PATH . '/templates/' . $cookie_template . '/tpl/search_sellers.tpl';
$template = new Template;
$template->load ( $tpl );
// Values
$template->set( 'address1', $_REQUEST['address1'] );
$template->set( 'zip', $_REQUEST['zip'] );
$template->set( 'location1', get_locations() );
$template->set( 'title', $_REQUEST['title'] );
$template->set( 'keyword', $_REQUEST['keyword'] );
$template->set( 'address', $_REQUEST['address'] );
$template->set( 'first_name', $_REQUEST['first_name'] );
$template->set( 'last_name', $_REQUEST['last_name'] );
$template->set( 'company_name', $_REQUEST['company_name'] );
$template->set( 'email', $_REQUEST['email'] );
$template->set( 'phone', $_REQUEST['phone'] );
$template->set( 'mobile', $_REQUEST['mobile'] );
// Labels
$template->set( '@email', $lang['Realtor_e_mail'] );
$template->set( '@first_name', $lang['Realtor_First_Name'] );
$template->set( '@last_name', $lang['Realtor_Last_Name'] );
$template->set( '@company_name', $lang['Realtor_Company_Name'] );
$template->set( '@keyword', $lang['Search_Keyword'] );
$template->set( '@address', $lang['Realtor_Address'] );
$template->set( '@phone', $lang['Realtor_Phone'] );
$template->set( '@mobile', $lang['Realtor_Mobile'] );
$template->set( 'submit', $lang['Listing_Submit'] );
$template->set( '@location', $lang['Location'] );
$template->set( '@address1', $lang['Listing_Address1'] );
$template->set( '@zip', $lang['Zip_Code'] );
$template->set( 'select', $lang['Select'] );
$template->set( 'search', $lang['Menu_Search'] );
$template->set( 'output_message', $output_message );
$template->set( 'header', $lang['Realtor_Search'] );
$template->set( '@locations', $lang['Location'] );
$template->set( '@by_location', $lang['By_Location'] );
$template->set( '@by_name', $lang['By_Name'] );
$template->set( '@advanced', $lang['Advanced_Search'] );
$template->publish();
// Template Footer
include PATH . '/templates/' . $cookie_template . '/footer.php';
?>