} $sql_command .= ");"; olc_db_query($sql_command); $time_end = microtime_float(); $time = $time_end - $time_start; $main_content = '<br/><b>' . $blzs . ' Datensätze wurden aus Datei: \'' . $filename . ' \' aktualisiert.</b><br/><br/>'; if ($old_status != EMPTY_STRING) { $main_content .= 'Alter Stand: ' . $old_status . HTML_BR; } $pos = strrpos($filename, '.'); $main_content .= 'Neuer Stand: ' . substr($filename, 0, $pos) . "<br/><br/>"; } else { $err_message = 'Keine BLZ-Daten in Datei \'' . $upload_dir . '/' . $filename . '\' gefunden'; } } else { $button_continue = HTML_A_START . olc_href_link(CURRENT_SCRIPT, 'full=1&ignorestatus=true', NONSSL) . '">' . olc_template_image_button('button_continue.gif', 'Weiter mit dem BLZ-Update') . HTML_A_END; $err_message = '<div class="main"><br/> Die BLZ-Datenbank hat schon den aktuellen Stand <b>"' . $old_status . '"</b>. <p>Trotzdem weiter?</p> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="left" valign="bottom">' . $button_back . ' </td> <td class="main" align="right" valign="bottom"><b><font color="#FF0000">Die Bearbeitung kann 3 bis 5 Minuten dauern! Bitte keinesfalls unterbrechen!<br/> </font></b><br/>' . $button_continue . '</td> </tr> </table> </div> '; echo $err_message; exit;
$function_write($fp, SITEMAPINDEX_HEADER); for ($ii = 1; $ii <= $i; $ii++) { $function_write($fp, sprintf(SITEMAPINDEX_ENTRY, SITEMAP_CATALOG . $sitemap_filename0 . $ii . $file_extension, iso8601_date(time()))); } $function_write($fp, SITEMAPINDEX_FOOTER); $function_close($fp); } if ($notify_google) { fopen(GOOGLE_URL . urlencode($notify_url), 'r'); $google_response = file_get_contents(GOOGLE_URL . urlencode($notify_url)); //Delete wrong Javascript in Google return page!!!!! $google_response = str_replace('document.domain="google.com";', EMPTY_STRING, $google_response); $main_content .= "<br/><br/>Google-Aufruf mit<br/><b>" . GOOGLE_URL . HTML_BR . $notify_url . "</b><br/><br/>" . '<b><font color="red">Google Antwort:</font></b><br/>' . $google_response; } $smarty->assign('CONTENT_BODY', $main_content); $smarty->assign('BUTTON_CONTINUE', HTML_A_START . olc_href_link(FILENAME_START) . '">' . olc_template_image_button('button_continue.gif', 'Weiter') . HTML_A_END); $main_content = $smarty->fetch(CURRENT_TEMPLATE_MODULE . 'google_sitemap' . HTML_EXT, SMARTY_CACHE_ID); echo ' <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> '; require DIR_WS_INCLUDES . "column_left.php"; echo ' <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td> <table width="100%" border="0"> <tr> <td> ' . $main_content . '