Zeile 116 | Zeile 116 |
---|
default: $timeonline = $promotion['online']*60*60*24; }
|
default: $timeonline = $promotion['online']*60*60*24; }
|
$sql_where .= "{$and}timeonline <= '".(TIME_NOW-$timeonline)."'";
| $sql_where .= "{$and}timeonline > '".$timeonline."'";
|
$and = " AND "; }
| $and = " AND "; }
|
Zeile 184 | Zeile 184 |
---|
$log_inserts[] = array( 'pid' => $promotion['pid'], 'uid' => $user['uid'],
|
$log_inserts[] = array( 'pid' => $promotion['pid'], 'uid' => $user['uid'],
|
'oldusergroup' => $user['additionalgroups'],
| 'oldusergroup' => $db->escape_string($user['additionalgroups']),
|
'newusergroup' => $promotion['newusergroup'], 'dateline' => TIME_NOW, 'type' => "secondary",
| 'newusergroup' => $promotion['newusergroup'], 'dateline' => TIME_NOW, 'type' => "secondary",
|