include 'engine/database.php';
mysql_select_db("mqo") or die("Could not select database");
$location = isset($HTTP_GET_VARS['location']) ? $HTTP_GET_VARS['location'] : 'gusev';
$showImages = isset($HTTP_GET_VARS['imageType']) ? $HTTP_GET_VARS['imageType'] : 'images';
$rovers = mysql_query("SELECT * FROM rover WHERE folder='".$location."' LIMIT 1");
$roverinfo = mysql_fetch_array($rovers);
$flashVars = 'location='.$location.'&roverid='.$roverinfo['roverid'].'&showImages='.$showImages;
?>
|