?> <button class="button" onclick="sendRequest('action=logout')"> <?php fs_e('Log out'); ?> </button> <?php } ?> </span> <?php } $home = FS_HOMEPAGE; echo "<a style='border-bottom: 0px' href='{$home}'><img alt='" . fs_r('FireStats') . "' src='" . fs_url("img/firestats-header.png") . "'/></a>"; echo '<span class="normal_font" style="padding-left:10px">'; echo sprintf("%s %s\n", FS_VERSION, fs_is_demo() ? fs_r('Demo') : ''); if (fs_is_admin()) { echo "<!-- Checking if there is a new FireStats version, if FireStats hangs refresh the page -->\n"; flush(); echo fs_get_latest_firestats_version_message() . "\n"; echo "<!-- Checking if there is a new IP2Country database, if FireStats hangs refresh the page -->\n"; flush(); echo '<span id="new_ip2c_db_notification">' . fs_get_latest_ip2c_db_version_message() . "</span>"; } echo '</span>'; ?> </h1> <div id="feedback_div"> <button class="button" onclick="hideFeedback();"><?php
"> <!-- __js__: <?php echo fs_js_url('js/page-wordpress-settings.js.php'); ?> --> <!-- __page__: <?php echo fs_js_url('php/page-wordpress-settings.php'); ?> --> </div><!-- wordpress_settings_id --> <?php } ?> <?php if (fs_is_admin() || fs_is_demo()) { ?> <div id="database_page_id" class="tabbertab ajax_tab" title="<?php fs_e("Database"); ?> "> <!-- __js__: <?php echo fs_js_url('js/page-database.js.php'); ?> --> <!-- __page__: <?php echo fs_js_url('php/page-database.php'); ?> --> </div><!-- database_page_id -->
function fs_ajax_getNextUserMessage(&$response) { require_once FS_ABS_PATH . '/php/html-utils.php'; require_once FS_ABS_PATH . '/php/utils.php'; // currently we don't show any user messages in demo mode. if (fs_is_demo()) { return; } if (fs_is_admin() && fs_get_system_option("user_agreed_to_send_system_information", '') == '') { fs_ajax_get_window($response, 'ask_to_send_sysinfo'); } else { if (fs_time_to_nag()) { fs_ajax_get_window($response, 'ask_for_donation'); } else { if (fs_is_admin() && fs_mysql_newer_than("4.1.14") && fs_get_system_option('archive_method') == null && fs_get_num_old_days() > 0) { // if the user never selected archive method fs_ajax_get_window($response, 'notify_about_archive'); } } } }