Mam problem chce zmienić kolor i wielkość wyświetlanej informacji z php Przemo.
Chce zmienić kolor tego komunikatu:
$tresc1 = 'Twoja sygnatura była nieregulaminowa i została usunięta przez ' . $pd3 . '.
Zapoznaj się z regulaminem. ';
A to jest całość kodu:
if ($userdata['user_level'] == ADMIN)
{
$pd1 = $profiledata['user_id'];
$pd2 = $profiledata['username'];
$pd3 = $userdata['username'];
if(isset($HTTP_GET_VARS['action']) && $HTTP_GET_VARS['action'] == 'banujsygne')
{
$tresc1 = 'Twoja sygnatura była nieregulaminowa i została usunięta przez ' . $pd3 . '.
Zapoznaj się z regulaminem. ';
$sql3 = "UPDATE " . USERS_TABLE . " SET `user_sig`='$tresc1',`user_sig_image`='$tresc1' WHERE `user_id`=$pd1";
$result3 = $db->sql_query($sql3);
$log = 1; // Jeśli skrypt nie ma zapisywać logów, proszę zmienić 1, na jakąkolwiek inną liczbę.
if($log == 1)
{
$username = addslashes($pd3);
$time = CR_TIME;
$action = 'Ban-sig';
$topic_id = 0;
$user_id = $userdata['user_id'];
$sql = "INSERT INTO " . LOGS_TABLE . " (mode, topic_id, user_id, username, user_ip, time)
VALUES ('$action', '$topic_id', '$user_id', '$username', '$user_ip', '$time')";
$result = $db->sql_query($sql);
}
if($result3) { $sygnatur12 = 'Sygnatura użytkownika <b>' . $pd2 . '</b> została zbanowana.<br><a href="profile.php?mode=viewprofile&u=' . $pd1 . '">Powrót</a>'; message_die(GENERAL_MESSAGE, $sygnatur12); }
}
$template->assign_block_vars('banuj_sygne',array(
'U_BANUJSIG' => append_sid("profile.$phpEx?mode=viewprofile&u=$pd1&action=banujsygne"),
'L_BANUJSIG' => $lang['Banujsig']
)
);
}
Proszę o pomoc.