parseEntry("Resources on".$spio_array[$i],$_SESSION['s_userid']) == false) {
// error handling
foreach ($spioparser->error as $error_entry) {
if (is_array($error_entry)) {
$error_text = implode(" ",$error_entry);
echo "
".REPORTS_UNKNOWN_ENTRIES.": ".$error_text."
";
} else {
echo "
".$error_entry."
";
}
}
}
}
} else {
echo READ_PERMISSION."
";
}
} else {
// Galaxy views
$gala_array = preg_split('/Solar system[\n|\t|\s]+Solar system/',$contents,-1);
$parser = new Parser($dbusername,$dbpassword,$dbname,$dbtablename,$allytable,$playertable,$dbhost);
for ($i=0;$i
parseString("Solar system\n\nSolar system".$gala_array[$i],false,false);
if ($queryarray === false) {
echo $parser->error."
";
}
}
}
}
echo READ_JOB_DONE;
}
?>