Parašė bobalt· 2010 Rugp. 14 09:08:14
#14
Rezultatas:
Kodas dabar atrodo taip:
if (isset($_POST['post_shout'])) {
$flood = false;
if (iMEMBER) {
$shout_name = $userdata['user_id'];
if (i3) {
$shout_name = "<img src="img.png"> $userdata['user_id']";
if (i4) {
$shout_name = "<img src="img.png"> $userdata['user_id']";
if (i5) {
$shout_name = "<img src="img.png"> $userdata['user_id']";
} elseif ($settings['guestposts'] == "1") {
$shout_name = trim(stripinput($_POST['shout_name']));
$shout_name = preg_replace("(^[0-9]*)", "", $shout_name);
if (isnum($shout_name)) { $shout_name = ""; }
Klaida:
Parse error: syntax error, unexpected T_STRING in /home/bobalt/domains/efects.ipp.lt/public_html/infusions/shoutbox_panel_tmod/shoutbox_panel_tmod.php on line 113
113 eilutė:
$shout_name = "<img src="img.png"> $userdata['user_id']";