"><\/script>')</script> <?php } ?> <!--JAVASCRIPT FILES--> <?php echo GetJavascriptFiles('url', 'bottom'); echo GetJavascriptFiles(); ?> <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> <?php if (PrintData('data', 'google-analytics') != false) { ?> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-49837310-1', 'iterax.se'); ga('send', 'pageview'); </script> <?php } ?>
for ($replica_index = 0; $replica_index < $replicas; $replica_index++) { $result = GetLambdaResult($promises[$replica_index]); $stats[$replica_index] = $result['stats']; unset($result['stats']); if (isset($_ENV['IMOS_LAMBDA_PRINT'])) { if (!isset($result[$_ENV['IMOS_LAMBDA_PRINT']])) { $failed = true; continue; } fwrite(STDOUT, $result[$_ENV['IMOS_LAMBDA_PRINT']]); continue; } PrintData($result); } $merged_stats = []; for ($replica_index = 0; $replica_index < $replicas; $replica_index++) { $stat = $stats[$replica_index]; if (isset($stat['Memory Size'])) { $merged_stats['Memory Size'] = max(intval($merged_stats['Memory Size']), intval($stat['Memory Size'])) . ' MB'; } if (isset($stat['Max Memory Used'])) { $merged_stats['Max Memory Used'] = max(intval($merged_stats['Max Memory Used']), intval($stat['Max Memory Used'])) . ' MB'; } if (isset($stat['Billed Duration'])) { $merged_stats['Billed Duration'] = intval($merged_stats['Billed Duration']) + intval($stat['Billed Duration']) . ' ms'; } } PrintData(['stats' => $merged_stats, 'replicas' => $replicas]); if ($failed) { return 1; }
if (0 < strlen($_POST['rows_form_submit'])) { $result = delete_records(); } } } if (strlen($result)) { echo "<br><center>{$result}</center><br>"; } if ('edit' == $_GET['action']) { echo get_edit_new_form(1); } else { if ('insert' == $_GET['action']) { echo get_edit_new_form(0); } } PrintData(); // put bottom top HTML code BottomCode(); // public functions =================================================================================== /** * print list of the table date */ function PrintData() { global $fields_types; global $fields_titles; global $fields_sizes; global $fields_align; global $class_titles; global $class_data; global $class_error;