<?php if (file_exists("../../inc/common.inc")) { require_once "../../inc/common.inc"; } elseif (file_exists("../inc/common.inc")) { require_once "../inc/common.inc"; } elseif (file_exists("../../../inc/common.inc")) { require_once "../../../inc/common.inc"; } require_once BASEPATH . '/qcn/inc/utils.inc'; require_once BASEPATH . '/qcn/inc/qcn_auto_detect.inc'; $show_mg = $_GET["show_mag"]; page_top(); if ($show_mg == "y" || $show_mg == "Y") { event_info("y"); } else { event_info(); } if ($show_mg == "y" || $show_mg == "Y") { show_maps("y"); } else { show_maps(); } echo "<hr> \n<h2>Triggers:</h2>\n"; trigger_info(); show_scatter_tvt(); // Show Estimated v. Observed Travel time scatter plot show_scatter_avd(); // Show Amplitude v. Distance scatter plot show_triggers_db(); // Show the trigger database
{ ?> <div class="article"> <h2>Error</h2> <p><?php echo $msg; ?> </p> </div><?php exit(1); } function page_bottom() { ?> </li></ul></div> <div id="footer"> <div> <p> <span>2016 © Plaid Parliament of Pixels.</span>All rights reserved. If it doesn't work, try Chrome or Firefox. </p> </div> </div> </body> </html><?php ob_end_flush(); } register_shutdown_function('page_bottom'); page_top($op); if (!(include $op . '.php')) { fatal('no such page'); }