Hotel | Location |
Str. Domneasca nr. 12 | |
Str. Domneasca nr. 13 | |
Str. Portului nr. 23 | |
Hotel Vega |
Bd. Marii Uniri nr. 107 |
Hotel Viva |
Aleea Meteo nr. 4 |
// defined('_JEXEC') or die; //class plgSystemCustomredirect extends JPlugin //{ // public function onAfterInitialise() // { // $app = JFactory::getApplication(); // // // Only redirect on the frontend // if ($app->isClient('site')) //{ // $user = JFactory::getUser(); // // Only redirect logged-in users // if ($user->id > 0) { // Target URL (change to what you need) // $redirectUrl = 'index.php?option=com_content&view=article&id=1'; // Prevent infinite loop // $currentUrl = JUri::getInstance()->toString(); // Only redirect if not already on that page // if (strpos($currentUrl, $redirectUrl) === false) // { // $app->redirect(JRoute::_($redirectUrl, false)); // $app->close(); // Or use exit; // } // } // } // } // }
Hotel | Location |
Str. Domneasca nr. 12 | |
Str. Domneasca nr. 13 | |
Str. Portului nr. 23 | |
Hotel Vega |
Bd. Marii Uniri nr. 107 |
Hotel Viva |
Aleea Meteo nr. 4 |