vorher ezportal, dann intro mod 1.5 drübergehauen, nun funzt es nicht und bin noob und suche und finde nichts und überhaupt und trinke schon zuviel kaffee und drehe hier gerade durch und und und


gruss
Code: Alles auswählen
}
$template->assign_block_vars('switch_searchtopics_active', array());
}
// POST COUNT IN SEARCH TOPICS END
Code: Alles auswählen
// Neueste Nickpages
$sql = "SELECT a.user_id, a.username, b.name, b.created FROM ".USERS_TABLE." a, ".NICKPAGE_TABLE." b WHERE b.uid=a.user_id ORDER BY b.created DESC LIMIT 6";
if (!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not query Nickpage information', '', __LINE__, __FILE__, $sql);
}
$nickpage_list = $db->sql_fetchrowset($result);
for($i = 0; $i < count($nickpage_list); $i++)
{
$username = $nickpage_list[$i]['username'];
$userdate = $nickpage_list[$i]['created'];
if(strlen($username) > 17) { // Limit title length to avoid wrap
$username = strip_tags($username, '<a><i><b><ul><li>');
$username = substr($username,0,15);
$username .= "...";
}
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('nickpagemod', array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
'NAME' => '<a href="' . append_sid("nickpage.php?user=$username") . '">' . $username . '</a>',
'LSEEN_TIME' => date("d.m.y", $nickpage_list[$i]['created']),
)
);
}
Code: Alles auswählen
'IntroPortaltext24' => $lang['IntroPortaltext24'],
'IntroPortaltext25' => $lang['IntroPortaltext25'],
'IntroPortaltext26' => $lang['IntroPortaltext26'],
'INTRO_PORTAL_VERSION' => $introportalmod_config['modversion'],
Code: Alles auswählen
'L_NEWEST_NICKPAGES' => $lang['Newest_Nickpages'],
Code: Alles auswählen
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td nowrap="nowrap" colspan="2" class="catHead"><span class="genmed"><b>{L_NEWEST_NICKPAGES}</b></td>
</tr>
<!-- BEGIN nickpagemod -->
<tr>
<td class="row1"><span class="gensmall"><img src="templates/subSilver/images/post_ind1_bl.gif" /> {nickpagemod.NAME}</span></td>
<td class="row2" align="center"><span class="gensmall">{nickpagemod.LSEEN_TIME}</span></td>
</tr>
<!-- END nickpagemod -->
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
Code: Alles auswählen
//
// That's all Folks!
// -------------------------------------------------
Code: Alles auswählen
// Nickpage liste (Portal)
$lang['Newest_Nickpages'] = 'Neueste Nickpages';
Code: Alles auswählen
<!-- END switch_webmaster_active -->
<!-- ##### WEBMASTER / STAFF END ##### -->
Code: Alles auswählen
<!-- ##### GOOGLE START ##### -->
<!-- BEGIN switch_google_active -->
Code: Alles auswählen
Could not query Nickpage information
DEBUG MODE
SQL Error : 1054 Unknown column 'b.created' in 'field list'
SELECT a.user_id, a.username, b.name, b.created FROM phpbb_users a, phpbb_nickpagemod b WHERE b.uid=a.user_id ORDER BY b.created DESC LIMIT 6
Line : 96
File : /var/www/html/web139/html/portal.php
Code: Alles auswählen
<!-- END switch_center_active -->
<div align="center">
<!-- ################################################# CENTER START ################################################# -->
Code: Alles auswählen
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" colspan="1" height="25"><span class="cattitle"><center><b>Mitglieder Info:</b></center></span></td>
</tr>
<tr>
<td colspan="1" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<td align="left" class="row1"><span class="gensmall">Hier kommt der Text rein!</span></td>
</tr>
</table><br>