|
|
@ -172,6 +172,12 @@ function getEventStatusBlocked($charid) {
|
|
|
|
return $row[0];
|
|
|
|
return $row[0];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function isEventToFetchAwaiting($charid) {
|
|
|
|
|
|
|
|
$sql = 'SELECT count(*) FROM event_chars e WHERE abgeholt = 1 AND char_id = ' .$charid;
|
|
|
|
|
|
|
|
$row = mysql_fetch_row(mysql_query($sql));
|
|
|
|
|
|
|
|
return $row[0] > 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function getEventIdsToFetch($charid) {
|
|
|
|
function getEventIdsToFetch($charid) {
|
|
|
|
$sql = 'SELECT event_id FROM event_chars e WHERE block_end < now() and abgeholt = 1 AND char_id = ' .$charid;
|
|
|
|
$sql = 'SELECT event_id FROM event_chars e WHERE block_end < now() and abgeholt = 1 AND char_id = ' .$charid;
|
|
|
|
$qry = mysql_query($sql);
|
|
|
|
$qry = mysql_query($sql);
|
|
|
|