</html> <?php exit; } $faq->faqRecord = null; $faq->getRecord($id); if (!isset($faq->faqRecord['content'])) { ?> Error: No entry for #<?php print $id; ?> (<?php print $lang; ?> ) available. </body> </html> <?php exit; } if (!is_null($lookup)) { if (count(ob_list_handlers()) > 0) { ob_clean(); } print $linkverifier->verifyArticleURL($faq->faqRecord['content'], $id, $lang); exit; } link_ondemand_javascript($id, $lang); ?> </body> </html>
$end = microtime(true); $output .= ' #' . $tot . ', done in ' . round($end - $start, 4) . ' sec.' . ($isRequestedByWebLocalhost ? '' : "\n"); $output .= $isRequestedByWebLocalhost ? '' : "\n"; if ($isRequestedByWebLocalhost) { echo '<pre>'; } $output = $output . "\n"; echo $output; $i = 0; foreach ($_records as $_r) { $i++; $output = ''; $output .= sprintf('%0' . strlen((string) $tot) . 'd', $i) . '/' . $tot . '. Checking ' . $_r['solution_id'] . ' (' . PMF_Utils::makeShorterText(strip_tags($_r['title']), 8) . '):'; $start = microtime(true); if ($oLnk->getEntryState($_r['id'], $_r['lang'], true) === true) { $output .= $oLnk->verifyArticleURL($_r['content'], $_r['id'], $_r['lang'], true); } $end = microtime(true); $output .= ' done in ' . round($end - $start, 4) . ' sec.'; $output .= $isRequestedByWebLocalhost ? '' : "\n"; if ($isRequestedByWebLocalhost) { $output = $output . "\n"; } echo $output; } $output = ''; $totEnd = microtime(true); $output .= $isRequestedByWebLocalhost ? '' : "\n"; $output .= 'Done in ' . round($totEnd - $totStart, 4) . ' sec.'; $output .= $isRequestedByWebLocalhost ? '' : "\n"; if ($isRequestedByWebLocalhost) {