1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
}else if (cmd.equals("abo")){
String nickname = KCodeParser.escape(arg);
Client target;
if (nickname.isEmpty() || nickname.equalsIgnoreCase(client.getName())) {
target = client;
} else {
target = Server.get().getClient(nickname);
if (target == null) {
target = new Client(null);
target.loadStats(nickname);
}
}
Channel ch = target.getChannel();
String title = String.format("Smiley-Abo im Abo kaufen.", ch.getName());
StringBuilder whois = new StringBuilder();
whois.append(String.format("°>{imageboxstart}boxS.my_-7.mx_3.mw_-6<°°+0022°°11° #°20°_Smiley-Abo abschließen_°10°# #°>200px-Logo_abo.png<22°°>{imageboxend}<12°#°12°°+0006°°+9010°°12° ##°>{imageboxstart}boxS.my_-16.mx_3.mh_40.mw_-6<°°10° °+0005°°>{table|15|min165|7|min115|397|min150}<°°>{tc}<°°+9006°°>{imageboxstart}togglebox_on.my_-5.mx_4<°°14°°>CENTER<°°[102,104,117]°_ 1. Nummer eingeben_#°10° °>{imageboxend}<°°>{tc}<°°>{tc}<°°+9006°°>{imageboxstart}togglebox-off.my_-5.mx_4<°°14°°>CENTER<°°WW°_ 2. Bestätigen_#°10° °>{imageboxend}<°°>{tc}<°°>{tc}<°°+9006°°>finger.b...my_1.gif<° _°14°°BB>_hFAQ|/h abo<°_°>{tc}<°°>{endtable}<°°08° #°>LEFT<°°+0016°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°>layout/hbar_black_20.png<°°20° °+9006°#°K°°14°°>justify<°°>{table|0|260|2|w1|20}<°°>{tc}<°°>layout/product_box...h_0.my_131.jpg<°#°16° #°>center<°°14°°[113,113,113]°_Begrüßungsserie_ #°>left<°°18° #°10° °>sm_abo_000_basic.b.my_14.h_37...h_10.my_14.gif<°°>sm_abo_006_steamingangry...b.mx_-2.gif<° °>sm_abo_011B_bdaycake...b.mx_-1.my_1.h_10.gif<° °>sm_abo_005B_lookoflove...b.gif<°# # # #°+9010°°>sm_abo_013_butterfly...b.h_18.gif<° °>sm_abo_001B_biglaugh...b.gif<° °>sm_abo_010_cryinintherain...b.h_10.gif<° °>sm_abo_008_doublerainbow...b.h_10.gif<°# # # #°+9003°°>sm_abo_015_proposaldance...b.my_6.h_10.gif<° °>sm_abo_012_rosysurprise...b.my_5.h_10.gif<° °>sm_abo_009_pigeon...b.my_2.h_10.gif<° # # # # °+9013°°>sm_abo_007_kisskonfetti...b.h_10.w_40.gif<° °>sm_abo_003_blush...b.gif<° °>sm_abo_002_speaknoevil...b.gif<° °>sm_abo_004B_halo...b.gif<° °>sm_abo_014_heartbazooka...b.my_1.h_19.mx_-4.w_94.clipw_84.w_10.gif<°# #°>center<°_°+9005°°>finger.b...my_1.gif<°°14°°BB°°>_hDetails|/habo-info<°_ °10°#°K° °>{tc}<°°>{tc}<°°+0000+9007°°12° #°>justify<°Bitte gib deine Handynummer ein, wir schicken dir dann einen Bestätigungscode per SMS.°7°# # #°[240,239,255]°°>{colorboxstart}<°°K°°7° #°>Center<°°18°_Handynummer:_#°12°z.B. 0172/1234567°6°# #_°17°°>{textfield}1||width|187<°°4°_# #_°15°°>{button} Weiter ||call|/close-and-send mobpaydlg1311146931554-26777-0.3615128096841874|width|187|heigth|24<°°10°_# °[239,240,255]°°>{colorboxend}<°°K°°>LEFT<°#°17° #°>justify<°°12°Du akzeptierst die °BB°°>_hAGB|http://www.DEINEURL.de/abo<°°K° und bestellst ein Smileycode-Abo für _EUR 1,99_ pro Monat. Jeder Smileycode verwandelt sich in _einen_ Smiley. Kündigung unter °BB°°>_hDEINEURL.de/abo|http://www.DEINEURL.de/abo<°°K°#°>{tc}<°°>{endtable}<°°4°°>{imageboxend}<°# #°>{table|11|527}<°°>{tc}<°# # # # # °K°°>justify<°°12°°+0020°°>bullet.b...mx_-15.w_0.png<°Du erhältst bei Abschluss _sofort den Code für die Begrüßungsserie_. Dieser verwandelt sich nach 2 Wochen in _einen_ der oben abgebildeten Smilieys.°07°# #°12°°K°°>justify<°°12°°+0020°°>bullet.b...mx_-15.w_0.png<°Du erhältst monatlich einen Code aus einer _exklusiven Serie_, der sich _sofort verwandelt_.°>{endtable}<°", ch.getName()));
Popup popup = new Popup(title, title, whois.toString(), 585, 587);
Panel panel = new Panel();
popup.setOpcode(ReceiveOpcode.WHOIS.getValue(), nickname);
popup.addPanel(panel);
client.send(popup.toString());
|