Beispiel #1
0
<?php 
if (fs_db_valid()) {
    fs_output_send_info_form();
    ?>

<script type='text/javascript'>
//<![CDATA[
	// this is done here instead of sending an updated page in the first place
	// to improve startup time.
	updateAllStats();
	toggleAutoRefresh();
	sendSilentRequest('action=getNextUserMessage');

	<?php 
    if (fs_is_admin()) {
        if (fs_get_auto_bots_list_update() == 'true') {
            ?>
			sendSilentRequest('action=updateBotsList&update=botlist_placeholder,num_excluded&user_initiated=false');
			<?php 
        }
        if (fs_get_system_option('archive_method') == 'auto') {
            ?>
			FS.archiveOldData();
			<?php 
        }
        ?>
		sendSilentRequest('action=handle_pending_maintanence');
		<?php 
    }
    ?>
//]]>
Beispiel #2
0
    ?>
</button>
							<button class="button" onclick="removeBot()"><?php 
    fs_e('Remove');
    ?>
</button>
							<?php 
    fs_cfg_button('more_bots_options');
    ?>
						</td>
					</tr>
					<tr>
						<td>
							<span id="more_bots_options" class="normal_font hidden">
								<?php 
    $auto_bots_list_update = fs_get_auto_bots_list_update();
    $auto_bots_list_update = $auto_bots_list_update == 'true' ? "checked=\"checked\"" : "";
    ?>
								<input type="checkbox" 
									onclick="saveOption('auto_bots_list_update','auto_bots_list_update','boolean')"
									id="auto_bots_list_update" <?php 
    echo $auto_bots_list_update;
    ?>
/>
								<?php 
    fs_e('Automatic update');
    ?>
<br/>
								<button class="button" 
									onclick="sendRequest('action=updateBotsList&amp;update=botlist_placeholder,num_excluded')">
									<?php