$query = $db->simple_select("warningtypes", "*", "", array("order_by" => "title")); while($type = $db->fetch_array($query)) {
|
$query = $db->simple_select("warningtypes", "*", "", array("order_by" => "title")); while($type = $db->fetch_array($query)) {
|
$type['title'] = htmlspecialchars_uni($type['title']); $new_warning_level = round(($user['warningpoints']+$type['points'])/$mybb->settings['maxwarningpoints']*100); if($new_warning_level > 100)
| $type['title'] = htmlspecialchars_uni($type['title']); $new_warning_level = round(($user['warningpoints']+$type['points'])/$mybb->settings['maxwarningpoints']*100); if($new_warning_level > 100)
|