Single Lens Model
= ".$year." AND CAST(SUBSTRING(ID,2,4) AS signed) < ".$top." ORDER BY ID ASC"; $output = mysql_query($all); $direction = mysql_fetch_assoc($output); do{ if ($direction['ID'] == $row['ID']) {break;} $prev = $direction['ID']; } while ($direction = mysql_fetch_assoc($output)); $all = "SELECT * FROM `data_02` WHERE CAST(SUBSTRING(ID,2,4) AS signed) >= ".$year." AND CAST(SUBSTRING(ID,2,4) AS signed) < ".$top." ORDER BY ID DESC"; $output = mysql_query($all); $direction = mysql_fetch_assoc($output); do{ if ($direction['ID'] == $row['ID']) {break;} $next = $direction['ID']; } while ($direction = mysql_fetch_assoc($output)); ?>
This event is currently being processed"); } else { printf("Model last updated: %s", $processed); } ?>
Prev",$prev); } ?> Index",$year); ?> Next",$next); } ?>
",$row['event'],$row['event']); } else { printf("",$row['event']); } ?>
",$row['event'],$row['event']); } else { printf(""); } ?>

 Model Parameter Values


"); } else { printf(""); } ?>
u0 =
t0 =
tE =
Amax =
Anow =
Anomaly Index =
Combined Data Sets
"); } } elseif($row['data_linked'] == 2) { $parent_query = "SELECT * FROM `data_02` WHERE `ID`='" . escape_into_db($row['linked_data']) . "'"; $parent_location = $parent_query; $parent_result = mysql_query($parent_location); $parent_row = mysql_fetch_assoc($parent_result); $children[0] = $parent_row['event']; print("Parent
"); $num_children = strlen($parent_row['linked_data'])/10; for ($i=1; $i <= $num_children; $i++) { $children[$i] = substr($parent_row['linked_data'],0+10*($i-1),10); $child_query = "SELECT * FROM `data_02` WHERE `ID`='" . escape_into_db($children[$i]) . "'"; $child_location = $child_query; $child_result = mysql_query($child_query); $child_row = mysql_fetch_assoc($child_result); $children[$i] = $child_row['event']; print("Child
"); } } else { printf(""); } ?>
"); } } elseif($row['data_linked'] == 2) { for ($i=0; $i <= $num_children; $i++) { print(":
"); } } else { printf(""); } ?>
", $children[$i]); } } elseif($row['data_linked'] == 2) { for ($i=0; $i <= $num_children; $i++) { printf("%s
", $children[$i]); } } else { printf(""); } ?>
Modelled Magnitude Baselines Original Magnitude Baselines
",$row['event'],$row['event']); } else { printf("",$row['event']); } ?>