$cachetime = 30 * 60; // 5 minutes $cachefile = "cache/stnd{$_GET['limit']}.html"; if (file_exists($cachefile) && (time() - $cachetime < filemtime($cachefile))) { include($cachefile); echo ""; exit; } ob_start(); // start the output buffer include 'sp_api_func.php'; ini_set("date.timezone", "Asia/Jerusalem"); date_default_timezone_set("Asia/Jerusalem"); error_reporting(0); $leagues=array(775,524,891,637,633,754,525); $leaguestexts=array(" الاسباني"," الانجليزي"," الايطالي","الدرجة العليا","الدرجة الممتازة"," الالماني"," الفرنسي"); ?>