Hey leute habe mir Verticalshoutbox gedownloadet habe es auch geschaft das es auf meiner seite angezeigt wird aber die schrift ist zu klein wie mache ich es größer
verwendete ilchClan Version: 1.1
betroffene Homepage: externer Link
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
<?php defined ('main') or die ( 'no direct access' ); $datum=date(" j.n.Y"); $zeit=date(" H:i"); if (loggedin()) { $shoutbox_VALUE_name=$_SESSION['authname']; } else { $shoutbox_VALUE_name = 'Nickname'; } if (!empty($_POST['shoutbox_submit']) AND chk_antispam ('shoutbox')) { $shoutbox_nickname = escape($_POST['shoutbox_nickname'],'string'); $shoutbox_nickname = substr($shoutbox_nickname, 0, 15); $shoutbox_textarea = escape($_POST['shoutbox_textarea'],'textarea'); $shoutbox_textarea = preg_replace("/\[.?(url|b|i|u|img|code|quote)[^\]]*?\]/i","",$shoutbox_textarea); $shoutbox_textarea = strip_tags($shoutbox_textarea); if (!empty($shoutbox_nickname) AND !empty($shoutbox_textarea)) { db_query('DELETE FROM `prefix_shoutbox` WHERE nickname = "'.$shoutbox_VALUE_name.'" AND textarea = "'.$shoutbox_textarea.'"' ); db_query('INSERT INTO `prefix_shoutbox` VALUES ( "" , "'.$shoutbox_VALUE_name.'" , "'.$shoutbox_textarea.'" ) ' ); } } echo ' <div style="width:99%; height:100px; overflow:auto; border:1px solid #347; margin:0px;"> <table width="100%" cellpadding="2" cellspacing="1" border="0">'; $erg = db_query('SELECT * FROM `prefix_shoutbox` ORDER BY id DESC'); while ($row = db_fetch_object($erg) ) { $class = ( $class == 'Cmite' ? 'Cnorm' : 'Cmite' ); echo ' <tr class="'.$class.'"> <td style="font-size:9px;"><b>'.$row->nickname.'</b>:</td><td style="font-size:8px;"> '.preg_replace( '/([^\s]{'.$allgAr['sb_maxwordlength'].'})(?=[^\s])/', "$1\n", BBcode($row->textarea)).'</td> </tr>'; } echo '</table></div>'; if (has_right($allgAr['sb_recht'])) { echo ' <form method="post" name="post" action="index.php"> <input type="text" name="shoutbox_textarea" value="" size="87%" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">'; echo get_antispam ('shoutbox', 0); echo ' <input type="submit" value="'.$lang['formsub'].'" name="shoutbox_submit"> <input type="text" size="1" style="visibility:hidden;" name="shoutbox_nickname" value="'.$shoutbox_VALUE_name.'" onFocus="if (value == \''.$shoutbox_VALUE_name.'\') {value = \'\'}" onBlur="if (value == \'\') {value = \''.$shoutbox_VALUE_name.'\'}" maxlength="15"> <a class="box" href="index.php?shoutbox">'.$lang['archiv'].'</a> </form>'; }
<td style="font-size:9px;"><b>'.$row->nickname.'</b>:</td><td style="font-size:8px;"> '.preg_replace( '/([^\s]{'.$allgAr['sb_maxwordlength'].'})(?=[^\s])/', "$1\n", BBcode($row->textarea)).'</td>
Geschlossen | ||
Zurück zu Module und Modifikationen |