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:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
|
if($_REQUEST[action] != "") $aus = $_REQUEST[action];
switch($aus) {
case com: //Shop
$messagesb= "[sbautopost][IMG]images/sb_rahmen_info_icon.png[/IMG]Ich habe soeben einen Shop eröffnet in unsere City[IMG]images/sb_rahmen_info_icon.png[/IMG][/sbautopost]";
$db->query("INSERT INTO bb".$n."_shoutbox_messages (userid,message,time,befehl,farbe,pn,pnuserid,buzzerid) VALUES ('$wbbuserdata[userid]','".$messagesb."','".time()."','0','".$farbe."','0','0','0')");
header ("location: http://$cityname.myminicity.com/com");
exit;
break;
case env: //Baum
$messagesb= "[sbautopost][IMG]images/sb_rahmen_info_icon.png[/IMG]Ich habe soeben einen Baum gestiftet für unsere City[IMG]images/sb_rahmen_info_icon.png[/IMG][/sbautopost]";
$db->query("INSERT INTO bb".$n."_shoutbox_messages (userid,message,time,befehl,farbe,pn,pnuserid,buzzerid) VALUES ('$wbbuserdata[userid]','".$messagesb."','".time()."','0','".$farbe."','0','0','0')");
header ("location: http://$cityname.myminicity.com/env");
exit;
break;
case ind: //Fabrik
$messagesb= "[sbautopost][IMG]images/sb_rahmen_info_icon.png[/IMG]Ich habe soeben eine Fabrik gestiftet für unsere City[IMG]images/sb_rahmen_info_icon.png[/IMG][/sbautopost]";
$db->query("INSERT INTO bb".$n."_shoutbox_messages (userid,message,time,befehl,farbe,pn,pnuserid,buzzerid) VALUES ('$wbbuserdata[userid]','".$messagesb."','".time()."','0','".$farbe."','0','0','0')");
header ("location: http://$cityname.myminicity.com/ind");
exit;
break;
case sec: //Polizei
$messagesb= "[sbautopost][IMG]images/sb_rahmen_info_icon.png[/IMG]Ich habe soeben einen Polizisten gestiftet für unsere City[IMG]images/sb_rahmen_info_icon.png[/IMG][/sbautopost]";
$db->query("INSERT INTO bb".$n."_shoutbox_messages (userid,message,time,befehl,farbe,pn,pnuserid,buzzerid) VALUES ('$wbbuserdata[userid]','".$messagesb."','".time()."','0','".$farbe."','0','0','0')");
header ("location: http://$cityname.myminicity.com/sec");
exit;
break;
case tra: //Straße
$messagesb= "[sbautopost][IMG]images/sb_rahmen_info_icon.png[/IMG]Ich habe soeben eine Strasse gestiftet für unsere City[IMG]images/sb_rahmen_info_icon.png[/IMG][/sbautopost]";
$db->query("INSERT INTO bb".$n."_shoutbox_messages (userid,message,time,befehl,farbe,pn,pnuserid,buzzerid) VALUES ('$wbbuserdata[userid]','".$messagesb."','".time()."','0','".$farbe."','0','0','0')");
header ("location: http://$cityname.myminicity.com/tra");
exit;
break;
case leer: //Einwohner
$messagesb= "[sbautopost][IMG]images/sb_rahmen_info_icon.png[/IMG]Ich habe soeben einen Einwohner gestiftet für unsere City[IMG]images/sb_rahmen_info_icon.png[/IMG][/sbautopost]";
$db->query("INSERT INTO bb".$n."_shoutbox_messages (userid,message,time,befehl,farbe,pn,pnuserid,buzzerid) VALUES ('$wbbuserdata[userid]','".$messagesb."','".time()."','0','".$farbe."','0','0','0')");
header ("location: http://xxxxxxxxxx.myminicity.com/");
exit;
break;
}
|