2 && $user['align'] != '2.99')) { exit(); } function nics($id) { $user = mysql_fetch_array(mysql_query("SELECT `id`, `align`, `level`, `login`, `klan` FROM `users` WHERE `id` = '{$id}' LIMIT 1")); if(isset($user['id'])) { $mm .= ' 0 ? $user['align']:0).'.gif\' />'; if($user['klan'] > 0) { $mm .= ''; } $mm .= ''.$user['login'].' ['.$user['level'].']'; } return $mm; } $action = isset($_GET["act"]) ? $_GET["act"] : ""; $fid = isset($_GET["fid"]) ? $_GET["fid"] : ""; $page = isset($_GET["page"]) ? $_GET["page"] : 0; if(!empty($fid)) { $txt = mysql_fetch_array(mysql_query('SELECT `id`, `text` FROM `forum` WHERE `id` = "'.$fid.'" LIMIT 1')); } if($action == "edit" && !empty($fid)) { $output = "
"; echo $output; } elseif($action == "send") { $txt = iconv('UTF-8', 'utf-8', $_GET['message']); $us = nics($user['id']); $txt .= '