";
$root_element ="homepage";
$xml .= "<$root_element>";
error_reporting(0);
require '../../include/asset.php';
require '../../include/Conn.php';
require '../../include/config.php';
$main_img_path="393x213";
//$thumb_img_path="155x81";
$thumb_img_path="150x81";
$xml .="";
$xml .="+972 52-301-5230";
$xml .="+972 52-301-5230";
$xml .="+972 52-301-5230";
$xml .="+972 52-301-5230";
$xml .="true";
$xml .="yes";
$xml .="-1";
$xml .="";
$xml .="
http://openx.alarab.com/www/delivery/afr.php?zoneid=155&cb
380
60
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=113&cb
320
480
http://openx.alarab.com/www/delivery/afr.php?zoneid=155&cb
380
60
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=155&cb
380
60
http://api.alarab.com/extend/soccer/standings_swipe.php?limit=4
380
400
http://openx.alarab.com/www/delivery/afr.php?zoneid=155&cb
380
60
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=155&cb
380
60
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=155&cb
380
60
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=155&cb
380
60
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
http://openx.alarab.com/www/delivery/afr.php?zoneid=154&cb
380
220
";
$xml .= "$root_element>";
$xml = simplexml_load_string($xml); // where $xml_string is the XML data you'd like to use (a well-formatted XML string). If retrieving from an external source, you can use file_get_contents to retrieve the data and populate this variable.
$json = json_encode($xml,JSON_UNESCAPED_UNICODE); // convert the XML string to JSON
$array = json_decode($json,TRUE);
echo $json;
mysql_close($conn);
$fp = fopen($cachefile, 'w');
// save the contents of output buffer to the file
fwrite($fp, ob_get_contents());
// close the file
fclose($fp);
// Send the output to the browser
ob_end_flush();
?>