Hi, I have somehow corrupted my search file, probably the most important on my website and now have the error:
Parse error: syntax error, unexpected '<', expecting ',' or ';' in /home/hotpynet/public_html/public/php/en_search.php on line 25
I have looked at some forums and at the code, but have never written any php in my life so have no idea what the problem is. The original developers of my site went into liquidation and will no longer offer support and I have no idea how to fix this page. I would be really grateful if someone could show me where the error is.
The code is as follows:
<?php
$form = new akelos_forms();
$form->count_existing = FALSE;
$form->add_form_field("tipo_operacion","checkbox");
$form->add_form_field("tipos_de_ventas","checkbox");
$form->add_form_field("region","checkbox");
$form->add_form_field("city_town","checkbox");
$form->add_form_field("tipo_propiedad","checkbox");
$form->add_form_field("precio","precio_md_min_max");
$form->add_form_field("bedrooms","numero_min_max");
$form->add_form_field("bathrooms","numero_min_max");
//$form->add_form_field("pool","select_multiple");
//$form->add_form_field("area","select_multiple");
$form->recursive_fields = array("tipo_operacion","tipos_de_ventas","region","city_town","tipo_propiedad");
$form->build_recursive_form(array("ilayer_search",$config[cms_tech_url_search_results]));
$search_mode_link = "<br/><a href='[:url:]/$config[cms_tech_url_property_search]/'>Click here to switch to simple property search</a>";
echo <h1>Advanced Property Search</h1>
<p><font size="2" face="Tahoma">Use the form below to search for your ideal property in Turkey. You do not have to choose from each category, but the more information you input, the more chance of finding property that fits all your requirements. </font></p><p><font size="2" face="Tahoma"><b>Search Notes:</b> Provinces on the Aegean coast include:<br>
<b>Aydin</b> (Izmir, Altinkum, Didim, Kusadasi ) and <b>Mugla</b> (Altinkum, Bodrum, Dalaman, Dalyan, Fethiye, and Marmaris). The Mediterranean Province of <b>Antalya</b> includes the areas of Alanya, Avsallar, Side, Belek, Finike, Kemer, Kas/Kalkan, Manavgat, and Serik. </font> </p><div id="search_by_ref">
<form action="http://www.hotpropertyturkey.net/en/akelos/search_results" method="_GET">
Reference No. <input name="ref" type="text" />
<input type="submit" value="Search by reference" />
</form>
</div><br/>".$form->form
."<p><font size="2" face="Tahoma">If you are unable to find what
you are looking for, please send us your requirements and we will endeavour
to find the right property for you. We do have properties that are not yet
on the website, and our team based in Turkey have excellent knowledge of
the areas and properties so will be able to send details of other developements
or resales that suit your needs. <a href="[:url:]/enquiry_form">Submit Details
>></a></font></p><br>";
?>
I tried to copy it from Google's Cache ( http://www.hotpropertyturkey.net/en/akelos/search ) but the code showing there is different.
Please can someone point out the error if possible so I can get my site working again.
Best wishes, Debbie