| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/components/com_mymaplocations/views/locations/tmpl/ |
Upload File : |
<?php
/**
* @version 4.6.2
* @package com_mymaplocations
* @copyright JoomUnited (C) 2011. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* ****@author joomunited - contact@joomunited.com
*/
defined('_JEXEC') or die('Restricted access');
if (version_compare(JVERSION, '3.999.999', 'le'))
{
JHtml::_('behavior.calendar');
}
JHtml::_('behavior.formvalidator');
$advsearch=MyMaplocationsHelper::getAdvanceCommunitySearch($this->component);?>
<div id="locationlocator" class="span12" <?php if (!empty($this->bgimage)) {
echo "style='background:url(" . $this->bgimage . ") no-repeat;'";
} ?>>
<div class="innerLeft">
<div class="innerRight">
<div class="row-fluid">
<div class="mymap-group span2">
<h2><?php echo JText::_('COM_MYMAPLOCATIONS_USELOCATION'); ?></h2><br/>
<button class="sample mymap custom large a mymap-success button resultmymap" onClick="useGeocode()"><i class="mml-map-marker"></i><?php echo JTEXT::_('COM_MYMAPLOCATIONS_SEARCH_BYGEO'); ?></button>
</div>
<div class="span1"><div class="separatorLoc"><h5 <?php if (!empty($this->orcolor)) {
echo "style='background:" . $this->orcolor . " ;'";
} ?>><?php echo JText::_('COM_MYMAPLOCATIONS_OR'); ?></h5></div></div>
<div id="locationsearch_div" class="span8 offset1">
<form role="search" method="post"
action="<?php echo JURI::getInstance()->toString(); ?>" class="form-inline form-search form-validate" id="map-location">
<div class="controls">
<h2><?php echo JText::_('COM_MYMAPLOCATIONS_KEYWORD'); ?></h2>
<div class="input-append" id="autosuggest">
<input type="text" class="span9 search-query required" id="searchinput" name="searchzip" value="<?php echo $this->escape($this->state->get('filter.zip')); ?>"
autocomplete="off" label="search"/>
<button type="submit" class="mymap mymap-primary"><?php echo JText::_('COM_MYMAPLOCATIONS_SUBMIT'); ?></button>
</div>
<input type="hidden" value="search" name="task" />
<?php if ($this->distance_hide == 1) { ?>
<input
type="hidden" value="<?php echo $this->state->get('filter.radius'); ?>" name="radius">
<?php } else { ?>
<select name="radius" id="radius" class="span3 custom-select" label="radius">
<?php
foreach ($this->distances as $distance) {
?>
<option value="<?php echo $distance; ?>"
<?php if (($this->escape($this->state->get('filter.radius')))== ($distance)) { ?>
selected="selected" <?php } ?>><?php echo $distance; ?><?php
if ($this->distance_type == 1) {
echo JText::_('COM_MYMAPLOCATIONS_MILES');
} else {
echo JText::_('COM_MYMAPLOCATIONS_KM');
}
?></option>
<?php } ?>
<?php if ($this->show_anywhere == 1) { ?>
<option <?php if (($this->escape($this->state->get('filter.radius')) == -1)) { ?>
selected="selected" <?php } ?> value="-1"><?php echo JText::_('COM_MYMAPLOCATIONS_ANYWHERE'); ?></option>
<?php } ?>
</select>
<?php } ?>
<?php if ($this->show_filter == 1) {
?>
<?php if($this->component=="com_k2")
{
echo $this->k2category;
}
else if($this->component=="com_hikamarket")
{
echo $this->hikacategory;
}
else if($this->component=="com_virtuemart")
{
echo $this->virtuecategory;
}
else if($this->component=="com_mymaplocations")
{
echo $this->category;
}
else if($this->component=="com_mytestimonials")
{
echo $this->mytestimonialscategory;
}
else if($this->component=="com_zoo")
{
echo $this->zoocategory;
}
else if($this->component=="com_community")
{
echo $this->communitycategory;
}
else if($this->component=="com_content")
{
echo $this->contentcategory;
}
else if($this->component=="com_ohanah")
{
echo $this->ohanahcategory;
}
else if($this->component=="com_eventbooking")
{
echo $this->eventbookingcategory;
}
else if($this->component=="com_easyblog")
{
echo $this->easyblogcategory;
}
else if($this->component=="com_jomclassifieds")
{
echo $this->jomcategory;
}
else if($this->component=="com_adsmanager")
{
echo $this->adsmanagercategory;
}
else if($this->component=="com_djclassifieds")
{
echo $this->djclassifiedscategory;
}
?>
<?php }
if($this->component=="com_ohanah")
{
$now=JFactory::getDate()->Format('Y-m-d');
$date = JFactory::getDate();
$newDate = new JDate($date . ' ++ 365 day Weekday');
$endate = $newDate->format('Y-m-d');
$cal_event_date=JFactory::getApplication()->input->getString('cal_event_date',$now);
$cal_event_enddate=JFactory::getApplication()->input->getString('cal_event_enddate',$endate);
echo "<br/>".JText::_('COM_MYMAPLOCATIONS_START').str_replace("input-append","calendar-append",JHTML::calendar($cal_event_date,'cal_event_date','cal_event_id','%Y-%m-%d'));
echo "<br/>".JText::_('COM_MYMAPLOCATIONS_END').str_replace("input-append","calendar-append",JHTML::calendar($cal_event_enddate,'cal_event_enddate','cal_event_endid','%Y-%m-%d'));
}
else if($this->component=="com_eventbooking")
{
$now=JFactory::getDate()->Format('Y-m-d');
$date = JFactory::getDate();
$newDate = new JDate($date . ' + 365 day Weekday');
$endate = $newDate->format('Y-m-d');
$cal_event_date=JFactory::getApplication()->input->getString('cal_event_date',$now);
$cal_event_enddate=JFactory::getApplication()->input->getString('cal_event_enddate',$endate);
echo "<br/>".JText::_('COM_MYMAPLOCATIONS_START').str_replace("input-append","calendar-append",JHTML::calendar($cal_event_date,'cal_event_date','cal_event_id','%Y-%m-%d'));
echo "<br/>".JText::_('COM_MYMAPLOCATIONS_END').str_replace("input-append","calendar-append",JHTML::calendar($cal_event_enddate,'cal_event_enddate','cal_event_endid','%Y-%m-%d'));
}
?>
<?php
if($this->show_country==1)
{
echo MyMaplocationsHelper::getcountryList();?>
<span class="city">
<?php
$country_list=JFactory::getApplication()->input->getString('country_list');
if($country_list)
{
echo MyMaplocationsHelper::getstateList($country_list);
}?>
</span>
<span class="scity">
<?php
$state_list=JFactory::getApplication()->input->getString('state_list');
if($state_list)
{
echo MyMaplocationsHelper::getcityajaxList($country_list,$state_list);
}?>
</span>
<?php } ?>
<?php
if($advsearch){
echo "<div class='adv-search'>".MyMaplocationsHelper::getAdvanceSearchDiv($this->component)."</div>";
} ?>
<?php if(($this->component=="com_mymaplocations")&&(($this->show_zip == 1))) {
$doc = JFactory::getDocument();
$doc->addScript(JURI::base() . 'components/com_mymaplocations/assets/js/bootstrap-typeahead.js');
?>
<div class='adv-search'><input type="text" class="mmlsearch-query" id="searchzipcode" name="searchzipcode" value="<?php echo $this->escape(JFactory::getApplication()->input->getString('searchzipcode')); ?>" autocomplete="off" placeholder="<?php echo JText::_('COM_MYMAPLOCATIONS_FORM_DESC_STORE_POSTAL'); ?>" label="<?php echo JText::_('COM_MYMAPLOCATIONS_FORM_DESC_STORE_POSTAL'); ?>"/>
</div>
<script type="text/javascript">
jQuery('#searchzipcode').typeahead({
displayField: 'postal',
valueField: 'postal',
ajax: {
url: 'index.php?option=com_mymaplocations&task=getListzip',
method: 'post'
}
});
</script>
<?php } ?>
<?php
if(($this->component=="com_mymaplocations")||($this->component=="com_k2")||($this->component=="com_zoo")||($this->component=="com_hikamarket")||($this->component=="com_content")||($this->component=="com_jomclassifieds")||($this->component=="com_easyblog"))
{
echo $this->loadTemplate('tag');
}
?>
<input
type="hidden" value="com_mymaplocations" name="option" />
<input type="hidden" name="limit" value="<?php echo $this->limit;?>"/>
<input type="hidden" name="component" value="<?php echo $this->component; ?>" />
<input
type="hidden" value="<?php echo JFactory::getApplication()->input->getString('Itemid'); ?>" name="Itemid" />
<input
type="hidden" value="<?php echo $this->zoom; ?>" name="zoom" />
<?php if($this->ajax) {?>
<input
type="hidden" value="json" name="format" />
<?php } ?>
<input
type="hidden" value="<?php echo $this->geo; ?>" name="geo" id="geo" />
<input type="hidden" value="0" name="limitstart" />
<input type="hidden" id="mj_rs_ref_lat" name="latitude" value=""/>
<input type="hidden" id="mj_rs_ref_lng" name="longitude" value=""/>
</div>
</form>
</div>
</div> </div> </div></div>
<div id='noresult' class="noresult" style="display:none;"></div>