<p><?php echo T_('You can setup a manual crontab update by calling automatically every X time the following page :'); ?> <br/> <b><?php $token = $core->auth->userToken(); echo BP_PLANET_URL . "/inc/update_manual.php?token=" . $token; ?> </b><br /> <?php echo T_('This will automatically launch the update and log it into the log files.'); ?> </p> </fieldset> <?php if ($update) { echo '<div class="update_logs">' . $update_logs . '</div>'; } include dirname(__FILE__) . '/footer.php'; if (isset($_POST) && isset($_POST['action']) && !empty($_POST['action']) && $_POST['action'] == '1') { if (!get_cron_running()) { require_once dirname(__FILE__) . '/../inc/cron.php'; } } include dirname(__FILE__) . '/footer.php'; } else { $page_url = urlencode(http::getHost() . $_SERVER['REQUEST_URI']); http::redirect('../auth.php?came_from=' . $page_url); }
?> <div id="dashboard"> <div class="box-container-left"> <?php echo showArticleSummary($core->con); ?> <p class="clear"/> <div class="box-dashboard"><div class="top-box-dashboard"><?php echo T_('Statistics :'); ?> </div> <ul> <?php if (get_cron_running()) { echo '<li><div id="BP_startupdate">' . T_('The update is running') . '</div></li>'; } else { echo '<li><div id="BP_stopupdate">' . T_('The update is stopped') . '</div></li>'; } if (file_exists(dirname(__FILE__) . '/../inc/STOP')) { echo '<li><div id="BP_disableupdate">' . T_('The update is disabled') . '</div></li>'; } if ($blog_settings->get('planet_index_update')) { echo '<li><div id="BP_index_update">' . T_('The update on loading of index page enabled') . '</div></li>'; } ?> <li><div id="BP_stats_db"><?php echo T_('Current size of the database :'); echo ' <strong>' . formatfilesize(get_database_size()) . '</strong>'; ?>