activeChar.sendPacket(new SystemMessage(SystemMessageId.NO_CB_IN_MY_CLAN));
parsecmd("_bbsclan_clanlist",activeChar);
}
else
{
TextBuilder html = new TextBuilder("<html><body><center><br><br>");
html.append("<br1><br1><table border=0 cellspacing=0 cellpadding=0>");
html.append("<tr><td FIXWIDTH=15> </td>");
html.append("<td width=610 height=30 align=left>");
html.append("<a action=\"bypass _bbshome\">HOME</a> > <a action=\"bypass _bbsclan_clanlist\"> CLAN COMMUNITY </a> > <a action=\"bypass _bbsclan_clanhome;"
+ clanId + "\"> &$802; </a>");
html.append("</td></tr></table>");
html.append("<table border=0 cellspacing=0 cellpadding=0 width=610 bgcolor=434343>");
html.append("<tr><td height=10></td></tr>");
html.append("<tr>");
html.append("<td fixWIDTH=5></td>");
html.append("<td fixwidth=600>");
html.append("<a action=\"bypass _bbsclan_clanhome;" + clanId
+ ";announce\">[CLAN ANNOUNCEMENT]</a> <a action=\"bypass _bbsclan_clanhome;"
+ clanId + ";cbb\">[CLAN BULLETIN BOARD]</a>");
html.append("<a action=\"bypass _bbsclan_clanhome;" + clanId
+ ";cmail\">[CLAN MAIL]</a> ");
html.append("<a action=\"bypass _bbsclan_clanhome;" + clanId
+ ";cnotice\">[CLAN NOTICE]</a> ");
html.append("</td>");
html.append("<td fixWIDTH=5></td>");
html.append("</tr>");
html.append("<tr><td height=10></td></tr>");
html.append("</table>");
html.append("<table border=0 cellspacing=0 cellpadding=0 width=610>");
html.append("<tr><td height=10></td></tr>");
html.append("<tr><td fixWIDTH=5></td>");
html.append("<td fixwidth=290 valign=top>");
html.append("</td>");
html.append("<td fixWIDTH=5></td>");
html.append("<td fixWIDTH=5 align=center valign=top><img src=\"l2ui.squaregray\" width=2 height=128></td>");
html.append("<td fixWIDTH=5></td>");
html.append("<td fixwidth=295>");
html.append("<table border=0 cellspacing=0 cellpadding=0 width=295>");
html.append("<tr>");
html.append("<td fixWIDTH=100 align=left>CLAN NAME</td>");
html.append("<td fixWIDTH=195 align=left>" + cl.getName() + "</td>");
html.append("</tr>");
html.append("<tr><td height=7></td></tr>");
html.append("<tr>");
html.append("<td fixWIDTH=100 align=left>CLAN LEVEL</td>");
html.append("<td fixWIDTH=195 align=left height=16>" + cl.getLevel() + "</td>");
html.append("</tr>");
html.append("<tr><td height=7></td></tr>");
html.append("<tr>");
html.append("<td fixWIDTH=100 align=left>CLAN MEMBERS</td>");
html.append("<td fixWIDTH=195 align=left height=16>" + cl.getMembersCount() + "</td>");
html.append("</tr>");
html.append("<tr><td height=7></td></tr>");
html.append("<tr>");
html.append("<td fixWIDTH=100 align=left>CLAN LEADER</td>");
html.append("<td fixWIDTH=195 align=left height=16>" + cl.getLeaderName() + "</td>");
html.append("</tr>");
html.append("<tr><td height=7></td></tr>");
//ADMINISTRATOR ??
/*html.append("<tr>");
html.append("<td fixWIDTH=100 align=left>ADMINISTRATOR</td>");
html.append("<td fixWIDTH=195 align=left height=16>"+cl.getLeaderName()+"</td>");
html.append("</tr>");*/
html.append("<tr><td height=7></td></tr>");
html.append("<tr>");
html.append("<td fixWIDTH=100 align=left>ALLIANCE</td>");
html.append("<td fixWIDTH=195 align=left height=16>"
+ ((cl.getAllyName() != null) ? cl.getAllyName() : "") + "</td>");
html.append("</tr>");
html.append("</table>");
html.append("</td>");
html.append("<td fixWIDTH=5></td>");
html.append("</tr>");
html.append("<tr><td height=10></td></tr>");
html.append("</table>");
//TODO: the BB for clan :)
//html.append("<table border=0 cellspacing=0 cellpadding=0 width=610 bgcolor=333333>");
html.append("<img src=\"L2UI.squareblank\" width=\"1\" height=\"5\">");
html.append("<img src=\"L2UI.squaregray\" width=\"610\" height=\"1\">");
html.append("<br>");
html.append("</center>");
html.append("<br> <br>");
html.append("</body>");
html.append("</html>");
separateAndSend(html.toString(), activeChar);
}
}
}