Verfasst: 27.05.2006 11:41
Kann ich nicht aufrufen index.php endet in einem time-out und index_body.tpl in einem "Server nicht gefunden" Message.ATARI hat geschrieben:@fanrpg: index.php & index_body.tpl
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Kann ich nicht aufrufen index.php endet in einem time-out und index_body.tpl in einem "Server nicht gefunden" Message.ATARI hat geschrieben:@fanrpg: index.php & index_body.tpl
Code: Alles auswählen
if ( $forum_data[$j]['title_is_link'] == 1 )
{
$template->assign_block_vars('catrow.forumrow.switch_forum_link_on', array());
}
else
{
$template->assign_block_vars('catrow.forumrow.switch_forum_link_off', array());
}
Code: Alles auswählen
if( !empty($icon) )
{
$template->assign_block_vars('catrow.forumrow.switch_forum_link_off.switch_icon', array());
}
Code: Alles auswählen
<!-- BEGIN switch_icon -->
{catrow.forumrow.ICON}
<!-- END switch_icon -->
fanrpg hat geschrieben:Und der Codeblock aus der common.php raus.
Code: Alles auswählen
if( !empty($icon) )
{
$template->assign_block_vars('catrow.forumrow.switch_forum_link_off.switch_icon', array());
}
Code: Alles auswählen
$icon = get_icon_title($forum_data[$j]['topic_icon'], 1, $type);
Code: Alles auswählen
switch ($empty)
{
case 0:
$res = '';
break;
case 1:
$res = '<img width="20" align="' . $align . '" src="' . $admin_path . $images['spacer'] . '" alt="" border="0">';
break;
case 2:
$res = isset($lang[ $icones[$icon_map]['alt'] ]) ? $lang[ $icones[$icon_map]['alt'] ] : $icones[$icon_map]['alt'];
break;
}
Code: Alles auswählen
$last_post_time = create_date_ty($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);
$last_post = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br>';
$last_postlink = '' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '';
$last_post .= $last_post_time;
$last_post .= ' <a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a><br>' . $lang['by'] . ' ';
$last_post_sub = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . ($unread_topics ? $images['icon_newest_replyy'] : $images['icon_latest_replyy']) . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a>';
$last_post_time = $forum_data[$j]['post_time'];
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '" title="Benutzer-Profil anzeigen">' . $forum_data[$j]['username'] . '</a> ';
Code: Alles auswählen
$last_post_time = create_date_ty($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);
$last_post = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br />von ';
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '" title="Benutzer-Profil anzeigen">' . $forum_data[$j]['username'] . '</a><br /> ';
//$last_postlink = '' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '';
$last_post .= '<span style="text-align:right">'.$forum_data[$j]['post_time'];
$last_post .= '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . ($unread_topics ? $images['icon_newest_replyy'] : $images['icon_latest_replyy']) . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" /></a></span>';