<commit_before><?php
$alliance =&$player->getAlliance();
$template->assign('PageTopic',$alliance->getAllianceName() . ' (' . $alliance->getAllianceID() . ')');
require_once(get_file_loc('menu.inc'));
create_alliance_menu($alliance->getAllianceID(),$alliance->getLeaderID());

$db->query('
SELECT
account_id,
player_id,
player_name,
last_cpl_action
FROM player
WHERE game_id=' . $alliance->getAllianceID() . '
AND alliance_id=' . $alliance->getAllianceID() .'
AND account_id<>' . SmrSession::$account_id . '
ORDER BY last_cpl_action DESC
');

$PHP_OUTPUT.= '<div align="center">';

if ($db->getNumRows() != 0) {

	$container=array();
	$container['url'] = 'alliance_remove_member_processing.php';
	$container['body'] = '';
	$form = create_form($container,'Banish \'em!');
	$PHP_OUTPUT.= $form['form'];
	$PHP_OUTPUT.= '<table class="standard inset"><th>Trader Name</th><th>Last Online</th><th>Action</th>';

	while ($db->nextRecord()) {

		// we won't exile ourself!
		if ($player->getAccountID() != $account_id) {

			// get the amount of time since last_active
			$diff = TIME - $db->getField('last_cpl_action');

			if ($diff > 864000)
				$diff = 864000;

			// green
			if ($diff < 432000) {
<commit_msg>Fix SQL statement for listing players to kick.<commit_after><?php
$alliance =&$player->getAlliance();
$template->assign('PageTopic',$alliance->getAllianceName() . ' (' . $alliance->getAllianceID() . ')');
require_once(get_file_loc('menu.inc'));
create_alliance_menu($alliance->getAllianceID(),$alliance->getLeaderID());

$db->query('
SELECT
account_id,
player_id,
player_name,
last_cpl_action
FROM player
WHERE game_id=' . $alliance->getGameID() . '
AND alliance_id=' . $alliance->getAllianceID() .'
AND account_id<>' . SmrSession::$account_id . '
ORDER BY last_cpl_action DESC
');

$PHP_OUTPUT.= '<div align="center">';

if ($db->getNumRows() != 0) {

	$container=array();
	$container['url'] = 'alliance_remove_member_processing.php';
	$container['body'] = '';
	$form = create_form($container,'Banish \'em!');
	$PHP_OUTPUT.= $form['form'];
	$PHP_OUTPUT.= '<table class="standard inset"><th>Trader Name</th><th>Last Online</th><th>Action</th>';

	while ($db->nextRecord()) {

		// we won't exile ourself!
		if ($player->getAccountID() != $account_id) {

			// get the amount of time since last_active
			$diff = TIME - $db->getField('last_cpl_action');

			if ($diff > 864000)
				$diff = 864000;

			// green
			if ($diff < 432000) {

{'fraction_non_alphanumeric': 0.20196640721015977, 'fraction_numerical': 0.015567390413764851, 'mean_word_length': 5.375979112271541, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2260382', 'n_tokens_mistral': 949, 'n_tokens_neox': 862, 'n_words': 161}