ich hätte folgendes problem, ich möchte für inbox, outbox & savebox, verschiedene bilder einblenden lassn..
habe aber net viel ahnung von php..
also ich habe bissher volgendes im privmsg.php geschrieben:
Code: Alles auswählen
if ( $folder == 'inbox' )
{
// xCom //
{
$new_image = 'templates/subSilver/main/temp_menu2.gif';
}
$template->assign_vars(array(
'outbox_headline' => $new_image
));
// ---- //
$post_img = $post_icons['post_img'];
$reply_img = $post_icons['reply_img'];
$quote_img = $post_icons['quote_img'];
$edit_img = '';
$post = $post_icons['post'];
$reply = $post_icons['reply'];
$quote = $post_icons['quote'];
$edit = '';
$l_box_name = $lang['Inbox'];
}
else if ( $folder == 'outbox' )
{
// xCom //
{
$new_image2 = 'templates/subSilver/main/temp_menu2.gif';
}
$template->assign_vars(array(
'outbox_headline' => $new_image2
));
// ---- //
$post_img = $post_icons['post_img'];
$reply_img = '';
$quote_img = '';
$edit_img = $post_icons['edit_img'];
$post = $post_icons['post'];
$reply = '';
$quote = '';
$edit = $post_icons['edit'];
$l_box_name = $lang['Outbox'];
}
else if ( $folder == 'savebox' )
{
// xCom //
// ---- //
if ( $privmsg['privmsgs_type'] == PRIVMSGS_SAVED_IN_MAIL )
{
$post_img = $post_icons['post_img'];
$reply_img = $post_icons['reply_img'];
$quote_img = $post_icons['quote_img'];
$edit_img = '';
$post = $post_icons['post'];
$reply = $post_icons['reply'];
$quote = $post_icons['quote'];
$edit = '';
}
else
{
$post_img = $post_icons['post_img'];
$reply_img = '';
$quote_img = '';
$edit_img = '';
$post = $post_icons['post'];
$reply = '';
$quote = '';
$edit = '';
}
$l_box_name = $lang['Saved'];
}
else if ( $folder == 'sentbox' )
{
// xCom //
// ---- //
$post_img = $post_icons['post_img'];
$reply_img = '';
$quote_img = '';
$edit_img = '';
$post = $post_icons['post'];
$reply = '';
$quote = '';
$edit = '';
$l_box_name = $lang['Sent'];
}
des funzt aber trotzdem irgendwie imma noch net

hätte jemand ne idee, voran des liegen könnte?
schon ma danke im voraus
mfg
iixo
PS: alles was zwischen:
Code: Alles auswählen
// xCom //
Code: Alles auswählen
// ---- //