"" && $clanshort>""){ $sql = "UPDATE " . db_prefix("clans") . " SET clanname='$clanname',clanshort='$clanshort' WHERE clanid='$detail'"; output("Updating clan names`n"); db_query($sql); invalidatedatacache("clandata-$detail"); } if (httppost('block')>""){ $blockdesc = translate_inline("Description blocked for inappropriate usage."); $sql = "UPDATE " . db_prefix("clans") . " SET descauthor=4294967295, clandesc='$blockdesc' where clanid='$detail'"; output("Blocking public description`n"); db_query($sql); invalidatedatacache("clandata-$detail"); }elseif (httppost('unblock')>""){ $sql = "UPDATE " . db_prefix("clans") . " SET descauthor=0, clandesc='' where clanid='$detail'"; output("UNblocking public description`n"); db_query($sql); invalidatedatacache("clandata-$detail"); } } $sql = "SELECT * FROM " . db_prefix("clans") . " WHERE clanid='$detail'"; $result1 = db_query_cached($sql, "clandata-$detail", 3600); $row1 = db_fetch_assoc($result1); if ($session['user']['superuser'] & SU_EDIT_COMMENTS){ rawoutput("
$rank | $name | $dk | $jd |
"); output_notl($ranks[$row['clanrank']]); //translated earlier rawoutput(" | "); $link = "bio.php?char=".$row['acctid']."&ret=".urlencode($_SERVER['REQUEST_URI']); rawoutput(""); addnav("", $link); output_notl("`&%s`0", $row['name']); rawoutput(""); rawoutput(" | "); output_notl("`\$%s`0", $row['dragonkills']); rawoutput(" | "); output_notl("`3%s`0", $row['clanjoindate']); rawoutput(" |