Schon gewusst?
Verfasst: 16.10.2003 12:55
Wo bekommt man diesen Mod her der immer zwischen den Forumlinks und dem forum ist der immer verschiedene themen angibt bei jedem seiten wechsel???
[ externes Bild ]
[ externes Bild ]
*gg* okitst hat geschrieben:@Dark Night: ein Banner in der Signatur muss reichen.
Code: Alles auswählen
$items = array();
$items[] = 'Hallo Welt';
$items[] = 'phpBB ist cool';
...
mt_srand((double)microtime()*1000000);
$template->assign_var('IRGENDWAS', $items[mt_rand(0, count($items)-1)]);
ganz leichtbazo hat geschrieben:Hä?In welche php Datei (NAME) und in welche Template Datei(NAME)
Kannste das mal als Mod schreiben!?!?
Code: Alles auswählen
$logged_visible_online = 0;
$logged_hidden_online = 0;
$guests_online = 0;
$online_userlist = '';
Code: Alles auswählen
//
// Schon Gewusst?
//
$items = array();
$items[] = 'Hallo Welt';
$items[] = 'phpBB ist cool';
mt_srand((double)microtime()*1000000);
$template->assign_var('IRGENDWAS', $items[mt_rand(0, count($items)-1)]);
#####################################
Code: Alles auswählen
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<tr>
<th height="25" class="thHead" nowrap="nowrap">Schon Gewusst?</th>
</tr>
<tr>
<td class="row1"><table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr>
<td width="45" align="center">{IRGENDWAS}</td>
</tr>
</table></td>
</tr>
</table>
Code: Alles auswählen
$items[] = 'Hallo Welt';
$items[] = 'phpBB ist cool';