Tryag File Manager
Home
-
Turbo Force
Current Path :
/
home
/
cluster1
/
data
/
bu01
/
1121861
/
html
/
old_jlex_versions
/
php
/
Upload File :
New :
File
Dir
/home/cluster1/data/bu01/1121861/html/old_jlex_versions/php/query_result.php4
<? include_once("mysql_to_xml.php4"); error_reporting(0); session_start(); $vars = array_merge($_POST, $_GET); $converter = new mysql_to_xml(array_merge($_POST, $_GET)); if(array_key_exists("stylesheet",$vars)) { $stylesheet = trim($vars["stylesheet"]); } else { $stylesheet = ""; } if(array_key_exists("page",$_GET)) { $page = trim($_GET["page"]); } else { $page = ""; } if($page == "") { $main_ids = $converter->query_database(); $_SESSION["main_ids"] = $main_ids; $page = 1; } else { $main_ids = $_SESSION["main_ids"]; } /* $main_ids = array(241, 592, 1208, 1309, 1313, 2068, 2581, 3440, 3644, 3669, 3894, 4602, 4802, 5472, 5829, 6005, 6007, 6008, 6262, 6295, 6306, 7196, 2083, 4721, 6006, 2599, 3607, 6737, 7214, 7248, 7781, 7845, 8173, 8188, 8236, 8255, 8256, 1395, 1396, 6286, 6521, 6804); */ $xml = $converter->convert_resultset_to_xml($main_ids, $page, $stylesheet); if($xml_processing_script == "") { header("Content-Type: application/xml"); echo $xml; } else { include($xml_processing_script); } ?>