} else { $plt->set_if('rows_' . $rn2, 'islabel', false); } if (strpos($f, '.html') || strpos($f, '.htm') || strpos($f, '.js') || strpos($f, '.xml') || strpos($f, '.css')) { $plt->set_if('rows_' . $rn2, 'isedit', true); } else { $plt->set_if('rows_' . $rn2, 'isedit', false); } } } } } unset($colarr); unset($valarr); unset($farr); $sumsize = getFormatSize($sumsize); if ($num_path == 0) { $plt->set_var('rows_' . $rn1, ''); } if ($num_file == 0) { $plt->set_var('rows_' . $rn2, ''); } } else { $plt->set_var('rows_' . $rn1, ''); $plt->set_var('rows_' . $rn2, ''); } $plt->set_var('sumsize', $sumsize); $plt->set_var('filecount', $num_file); $plt->set_var('pathcount', $num_path); } elseif ($method == 'info') { $plt->set_file('main', $ac . '_' . $method . '.html');
function getRunTime() { $t2 = execTime() - MAC_STARTTIME; $size = memory_get_usage(); $memory = getFormatSize($size); unset($unit); return 'Processed in: ' . round($t2, 4) . ' second(s), ' . $GLOBALS['db']->sql_qc . ' queries ' . $memory . ' Mem On.'; }