uawdijnntqw1x1x1
IP : 216.73.217.93
Hostname : webd004.cluster102.gra.hosting.ovh.net
Kernel : Linux webd004.cluster102.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
sunflowe
/
www
/
5dd40
/
..
/
modules
/
mod_sp_weather
/
mod_sp_weather.php
/
/
<?php /*------------------------------------------------------------------------ # mod_sp_weather - Weather Module by JoomShaper.com # ------------------------------------------------------------------------ # Author JoomShaper http://www.joomshaper.com # Copyright (C) 2010 - 2014 JoomShaper.com. All Rights Reserved. # License - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://www.joomshaper.com -------------------------------------------------------------------------*/ // http://developer.yahoo.com/weather/ // no direct access defined('_JEXEC') or die('Restricted access'); $layout = $params->get('layout', 'default'); $moduleName = basename(dirname(__FILE__)); $moduleID = $module->id; $document = JFactory::getDocument(); //Include helper.php require_once (dirname(__FILE__).'/helper.php'); $helper = new modSPWeatherHelper($params,$moduleID); $data = $helper->getData(); $data['forecast'] = $helper->getForecastData(); if (!$data['query']['count']) { echo '<p class="alert alert-warning">Cannot get ' . $params->get('location') . ' location id in module ' . $moduleName . '. Please also make sure that you have inserted city name.</p>'; return false; } if( is_array( $helper->error() ) ) { JFactory::getApplication()->enqueueMessage( implode('<br /><br />', $helper->error()) , 'error'); } else { if ( ($layout == '_:default') ) { $document->addStylesheet(JURI::base(true) . '/modules/'.$moduleName.'/assets/css/' . $moduleName . '.css'); } else { $document->addStylesheet(JURI::base(true) . '/modules/'.$moduleName.'/assets/css/flat.css'); } require(JModuleHelper::getLayoutPath($moduleName, $layout)); }
/home/sunflowe/www/5dd40/../modules/mod_sp_weather/mod_sp_weather.php