echo JText::_('COM_JBLANCE_LOCATION'); ?> :</h4> <div><?php echo JblanceHelper::getLocationNames($row->id_location); ?> </div><br> <?php //show map if the id_location is > 0 if ($row->id_location > 0) { $location = new JRegistry(); $location->loadString($this->get('State')->get('projectLocation')); $lat = $location->get('latitude'); $long = $location->get('longitude'); if (!(empty($lat) && empty($long))) { JblanceHelper::getGoogleMap($lat, $long, $row->project_title); ?> <div class="img-thumbnail"> <div id="map-canvas" style="width: 100%; height: 300px;"></div> </div> <?php } else { ?> <?php } } ?> <?php if (count($this->projfiles) > 0) { ?>