bastel gerade ein wenig an meinem Forum und wollte die Google Suche aus dem Intro Portal Mod verwenden um sie in dem Mini Forum Statistik Mod einzubauen.
Dache es reicht wenn ich aus der portal_body.tpl diesen Abschnitt
Code: Alles auswählen
<!-- ##### GOOGLE START ##### -->
<!-- BEGIN switch_google_active -->
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" colspan="2" height="25"><span class="cattitle"><center><b>{IntroPortaltext25}:</b></center></span></td>
</tr>
<tr>
<td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<td align="center" nowrap="nowrap" class="row1"><span class="genmed">
<br>
<!-- Search Google -->
<center>
<FORM method=GET action="http://www.google.de/search" target="_blank">
<TABLE><tr><td><center>
<INPUT TYPE=text name=q size=18 maxlength=255 value="" style="background-color: {T_BODY_BGCOLOR}; color: {T_BODY_TEXT}">
<INPUT TYPE=hidden name=hl value=de><br><br>
<INPUT type=submit name=btnG VALUE="{IntroPortaltext25}" class="liteoption" style="background-color: {T_BODY_BGCOLOR}; color: {T_BODY_TEXT}"></center>
</td></tr></TABLE>
</FORM>
</center>
<!-- Search Google -->
</span></td>
</tr>
</table><br>
<!-- END switch_google_active -->
<!-- ##### GOOGLE END ##### -->
zusätzlich noch aus der Portal.php dieses
Code: Alles auswählen
// SWITCH GOOGLE START
if( $introportalmod_config['google_active'] == "1" )
{
$template->assign_block_vars('switch_google_active', array());
}
// SWITCH GOOGLE END
Hier mal meine actualstats.php und actualstats_body.tpl
Danke Euch schon mal