Hy leute,
also ich brauche die id von dem eingeloggten user in der loginbox, brauche sie für ein paar verlinkungen, zb. zum eigenen Fotoalbum, aber wie hol ich mir die ip in die boxen/login.php datei??
verwendete ilchClan Version: 1.1
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
$userid = $_SESSION['authid']; $tpl->set('uid', $userid);
<a href="LINK-{uid}">BESCHREIBUNG</a>
<?php # Copyright by Manuel # Support www.ilch.de defined ('main') or die ( 'no direct access' ); $tpl = new tpl ( 'user/boxen_login.htm' ); if ( loggedin() ) { $uabf = "SELECT posts FROM `prefix_user` WHERE id = ".$_SESSION['authid']; $uerg = db_query($uabf); $urow = db_fetch_assoc($uerg); if ( user_has_admin_right($menu,false) ) { $tpl->set ( 'ADMIN', '<a class="box" href="admin.php?admin">'.$lang['adminarea'].'</a>' ); } else { $tpl->set ( 'ADMIN', '' ); } if ( $allgAr['Fpmf'] == 1 ) { $erg = db_query("SELECT COUNT(id) FROM `prefix_pm` WHERE gelesen = 0 AND status < 1 AND eid = ".$_SESSION['authid']); $check_pm = db_result($erg,0); $nachrichten_link = '<a class="box" href="index.php?forum-privmsg">'.$lang['messages'].'</a> ('.$check_pm.')<br>'; } else { $nachrichten_link = ''; } $tpl->set ( 'SID' , session_id() ); $tpl->set ( 'NACHRICHTEN' , $nachrichten_link ); $tpl->set ( 'NAME', $_SESSION['authname'] ); $tpl->set ( 'RANG', userrang ($urow['posts'],$_SESSION['authid'])); $tpl->out (0); } else { if (empty($_POST['login_name'])) { $_POST['login_name'] = 'Nickname'; } if (empty($_POST['login_pw'])) { $_POST['login_pw'] = 'ääääääää'; } $regist = ''; if ( $allgAr['forum_regist'] == 1 ) { $regist = ' <a href="index.php?user-regist">Regist</a>'; } $tpl->set_ar_out ( array ( 'regist' => $regist, 'wdlink' => '?'.$allgAr['smodul'], 'PASS' => $_POST['login_pw'], 'NAME' => $_POST['login_name'] ) , 1 ); } unset($tpl); ?>
<table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td> Hallo <b>{NAME}</b> <i>{RANG}</i> <br /> <br /> {NACHRICHTEN} <a class="box" href="index.php?user-3">{_lang_logout}</a> | <a class="box" href="index.php?user-8">{_lang_profil}</a> <br> {ADMIN} </td> </tr> </table> {EXPLODE} <table width="100%" border="0" cellspacing="0" cellpadding="10"> <tr> <td> <form method="POST"> <input type="text" name="name" size="13" value="{NAME}" onFocus="if (value == '{NAME}') {value = ''}" onBlur="if (value == '') {value = '{NAME}'}" maxlength="15" style="margin-top:5px; " /><br /> <input type="password" size="13" value="{PASS}" onFocus="if (value == '{PASS}') {value = ''}" onBlur="if (value == '') {value = '{PASS}'}" maxlength="20" name="pass" style="margin-top:5px; " /><br /> <input type="hidden" name="wdlink" value="{wdlink}" /> <input type="submit" name="user_login_sub" value="Login" style="margin-top:5px; " />{regist} </form> </td> </tr> </table>
<img src="include/images/avatars/{UID}.jpg" width="30">
<?php # Copyright by Manuel Staechele # Support www.ilch.de defined ('main') or die ( 'no direct access' ); if ($menu->get(0) == 'newsextended' OR $menu->get(0) == '' AND $menu->get(1) == '') { if ($_SESSION['authright'] <= 1) { function shoutboxsmileys($string){ $smileys = array( ':-)' => ':smilie:#@#-_-_-#@#smile.gif', ':-$' => ':unknow:#@#-_-_-#@#dntknw.gif', ':-(' => ':sad:#@#-_-_-#@#sad.gif', ';-)' => ':blinking:#@#-_-_-#@#blinking.gif', 'girlf' => ':girlf:#@#-_-_-#@#girlf.gif', ':-P' => ':tongueout:#@#-_-_-#@#tongueout.gif', 'cray' => ':cray:#@#-_-_-#@#cray.gif', 'dance' => ':*dance*:#@#-_-_-#@#dance.gif', 'joke' => ':joke:#@#-_-_-#@#jokingly.gif', 'vala1' => ':vala1:#@#-_-_-#@#vala1.gif' , 'vala2' => ':vala2:#@#-_-_-#@#vala2.gif', 'happy' => ':happy:#@#-_-_-#@#happy.gif', 'boyf' => ':boyf:#@#-_-_-#@#boyf.gif', 'blush' => ':blush:#@#-_-_-#@#blush.gif', 'give_rose' => ':give_rose:#@#-_-_-#@#give_rose.gif', 'give_heart' => ':give_heart:#@#-_-_-#@#give_heart.gif', 'tschoe' => ':tschoe:#@#-_-_-#@#tschoe.gif', 'help' => ':help:#@#-_-_-#@#help.gif', 'hallo' => ':hallo:#@#-_-_-#@#hallo.gif', 'dank1' => ':dank1:#@#-_-_-#@#dank1.gif', 'hallz' => ':hallz:#@#-_-_-#@#hallz.gif', '015' => ':015:#@#-_-_-#@#015.gif', '017' => ':017:#@#-_-_-#@#017.gif', '127' => ':127:#@#-_-_-#@#127.gif', 'gube' => ':gube:#@#-_-_-#@#gube.gif', '378' => ':378:#@#-_-_-#@#378.gif', 'a042' => ':a042:#@#-_-_-#@#a042.gif', 'c030' => ':c030:#@#-_-_-#@#c030.gif', 'doof' => ':doof:#@#-_-_-#@#doof.gif', 'eiei' => ':eiei:#@#-_-_-#@#eiei.gif', 'feed' => ':feed:#@#-_-_-#@#feed.gif', 'puh' => ':puh:#@#-_-_-#@#puh.gif', 'shit' => ':shit:#@#-_-_-#@#shit.gif', 'a020' => ':a020:#@#-_-_-#@#a020.gif', 'boast' => ':boast:#@#-_-_-#@#boast.gif', 'boogie' => ':boogie:#@#-_-_-#@#boogie.gif', 'boyg' => ':boyg:#@#-_-_-#@#boyg.gif', 'cff' => ':cff:#@#-_-_-#@#cff.gif', 'crazy' => ':crazy:#@#-_-_-#@#crazy.gif', 'd020' => ':d020:#@#-_-_-#@#d020.gif', 'd040' => ':d040:#@#-_-_-#@#d040.gif', 'exa1' => ':exa1:#@#-_-_-#@#exa1.gif', 'five' => ':five:#@#-_-_-#@#five.gif', 'freund' => ':freund:#@#-_-_-#@#freund.gif', 'ggirl' => ':ggirl:#@#-_-_-#@#ggirl.gif', 'girlc' => ':girlc:#@#-_-_-#@#girlc.gif', 'girlcr' => ':girlcr:#@#-_-_-#@#girlcr.gif', 'girlgl' => ':girlgl:#@#-_-_-#@#girlgl.gif', 'girlmad' => ':girlmad:#@#-_-_-#@#girlmad.gif', 'girlwa' => ':girlwa:#@#-_-_-#@#girlwa.gif', 'idea' => ':idea:#@#-_-_-#@#idea.gif', 'sandu' => ':sandu:#@#-_-_-#@#sandu.gif', 'kosh' => ':kosh:#@#-_-_-#@#kosh.gif', 'nase' => ':nase:#@#-_-_-#@#nase.gif', 'prosit' => ':prosit:#@#-_-_-#@#prosit.gif', 'puni' => ':puni:#@#-_-_-#@#puni.gif', 'such1' => ':such1:#@#-_-_-#@#such1.gif', 'smoke' => ':smoke:#@#-_-_-#@#smoke.gif', 'tanz2' => ':tanz2:#@#-_-_-#@#tanz2.gif', 'tap4' => ':tap4:#@#-_-_-#@#tap4.gif', 'tap5' => ':tap5:#@#-_-_-#@#tap5.gif', 'tati' => ':tati:#@#-_-_-#@#tati.gif', 'tra1' => ':tra1:#@#-_-_-#@#tra1.gif', 'vala05' => ':vala05:#@#-_-_-#@#vala05.gif', 'vala28' => ':vala28:#@#-_-_-#@#vala28.gif', 'vala32' => ':vala32:#@#-_-_-#@#vala32.gif', 'via45' => ':via45:#@#-_-_-#@#via45.gif', 'via44' => ':via44:#@#-_-_-#@#via44.gif', '1sauer' => ':1sauer:#@#-_-_-#@#1sauer.gif', 's105' => ':s105:#@#-_-_-#@#s105.gif', 's006' => ':s006:#@#-_-_-#@#s006.gif', 's010' => ':s010:#@#-_-_-#@#s010.gif', 'beee' => ':beee:#@#-_-_-#@#beee.gif', 'con1' => ':con1:#@#-_-_-#@#con1.gif', 'l026' => ':l026:#@#-_-_-#@#l026.gif', 'l091' => ':l091:#@#-_-_-#@#l091.gif', 'me01' => ':me01:#@#-_-_-#@#me01.gif', 'nea' => ':nea:#@#-_-_-#@#nea.gif', 'g83' => ':g83:#@#-_-_-#@#g83.gif', 'g63' => ':g63:#@#-_-_-#@#g63.gif', 'a025' => ':a025:#@#-_-_-#@#a025.gif', 'a032' => ':a032:#@#-_-_-#@#a032.gif', 'a056' => ':a056:#@#-_-_-#@#a056.gif', 'a063' => ':a063:#@#-_-_-#@#a063.gif', 'zer1' => ':zer1:#@#-_-_-#@#zer1.gif', 'waus1' => ':waus1:#@#-_-_-#@#waus1.gif', 'weg1' => ':weg1:#@#-_-_-#@#weg1.gif', 'wato' => ':wato:#@#-_-_-#@#wat.gif', 'sch1' => ':sch1:#@#-_-_-#@#sch1.gif', 'schweb' => ':schweb:#@#-_-_-#@#schweb.gif', 'silz' => ':silz:#@#-_-_-#@#silz.gif', 'd41' => ':d41:#@#-_-_-#@#d41.gif', 'wut1' => ':wut1:#@#-_-_-#@#wut1.gif', 'tweet' => ':tweet:#@#-_-_-#@#tweet.gif', 's004' => ':s004:#@#-_-_-#@#s004.gif', 'mom1' => ':mom1:#@#-_-_-#@#mom1.gif', 'kinn' => ':kinn:#@#-_-_-#@#kinn.gif', 'iro1' => ':iro1:#@#-_-_-#@#iro1.gif', 'hip1' => ':hip1:#@#-_-_-#@#hip1.gif', 'well' => ':well:#@#-_-_-#@#well.gif', 'a26' => ':a26:#@#-_-_-#@#a26.gif', 'dan1' => ':dan1:#@#-_-_-#@#dan1.gif', 'd070' => ':d070:#@#-_-_-#@#d070.gif', 'cle1' => ':cle1:#@#-_-_-#@#cle1.gif', 'bad' => ':bad:#@#-_-_-#@#bad.gif', 'a176' => ':a176:#@#-_-_-#@#a176.gif', 'psstx' => ':psstx:#@#-_-_-#@#psstx.gif', 'iboese' => ':iboese:#@#-_-_-#@#iboese.gif', 'gratula' => ':gratula:#@#-_-_-#@#gratula.gif' ); foreach ($smileys as $icon => $info) { list($emo, $url) = explode('#@#-_-_-#@#', $info); $string = str_replace($icon,'<img src="include/images/sBsmileys/'.$url.'" border="0" alt="'.$emo.'" title="'.$emo.'" />',$string); } return $string; } $shoutbox_VALUE_name2 = getenv("REMOTE_ADDR"); $datum=date("j.n.Y"); $zeit=date(" H:i "); if ( loggedin() ) { $shoutbox_VALUE_name = $_SESSION['authname']; } else { $shoutbox_VALUE_name = 'Gast'; } if ( !empty($_POST['shoutbox_submit']) AND chk_antispam ('shoutbox')) { $insert = true; if (!loggedin()) { $shoutbox_nickname = escape($_POST['shoutbox_nickname'],'string'); $shoutbox_nickname = substr($shoutbox_nickname, 0, 15); if (db_count_query("SELECT COUNT(*) FROM prefix_user WHERE name LIKE '%$shoutbox_nickname%'") > 0) { $insert = false; echo '<center><font color="#ff0000">Benutzen sie einen anderen Namen, dieser ist bereits vergeben.</font></center><br />'; } } else { $shoutbox_nickname = escape($_SESSION['authname'],'string'); } $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) AND $insert) { db_query('INSERT INTO `prefix_shoutbox` VALUES ( "" , "'.$datum.' <br> '.$zeit.' '.$shoutbox_nickname.'" , "'.$shoutbox_textarea.'" ) ' ); } } echo "<center>Shoutbox von: <i><b>$shoutbox_VALUE_name</b></i> / $datum / $zeit Uhr / IP $shoutbox_VALUE_name2 </center>"; echo ' <div style="width:587px; height:310px; overflow:auto; border:1px solid #347; margin:1px;"> <table width="568px" cellpadding="2" cellspacing="2" border="1">'; $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:11px;"><b>'.$row->nickname.'</b>:</td><td style="font-size:12px;"> '.shoutboxsmileys(preg_replace( '/([^\s]{'.$allgAr['sb_maxwordlength'].'})(?=[^\s])/', "$1\n", bbcode($row->textarea))).'</td> </tr>'; } echo '</table></div>'; echo '<script language="JavaScript" type="text/javascript" src="include/includes/js/bbcode.js"></script>'; echo '<a href="javascript:put_sb(\':-)\')"><img src="include/images/sBsmileys/smile.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\':-$\')"><img src="include/images/sBsmileys/dntknw.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\':-(\')"><img src="include/images/sBsmileys/sad.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\';-)\')"><img src="include/images/sBsmileys/blinking.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'girlf\')"><img src="include/images/sBsmileys/girlf.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'boyf\')"><img src="include/images/sBsmileys/boyf.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\':-P\')"><img src="include/images/sBsmileys/tongueout.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'cray\')"><img src="include/images/sBsmileys/cray.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'dance\')"><img src="include/images/sBsmileys/dance.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'joke\')"><img src="include/images/sBsmileys/jokingly.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'vala1\')"><img src="include/images/sBsmileys/vala1.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'vala2\')"><img src="include/images/sBsmileys/vala2.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'happy\')"><img src="include/images/sBsmileys/happy.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'psstx\')"><img src="include/images/sBsmileys/psstx.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'blush\')"><img src="include/images/sBsmileys/blush.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'give_rose\')"><img src="include/images/sBsmileys/give_rose.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'give_heart\')"><img src="include/images/sBsmileys/give_heart.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'help\')"><img src="include/images/sBsmileys/help.gif" border ="0"/></a>'; echo '<a href="javascript:put_sb(\'hallo\')"><img src="include/images/sBsmileys/hallo.gif" border ="0"/></a>'; echo '<hr>'; if (has_right($allgAr['sb_recht'])){ echo ' <form method="post" name="shoutbox" action="index.php"> <input type="text" size="15" name="shoutbox_nickname" value="'.$shoutbox_VALUE_name.'" onFocus="if (value == \''.$shoutbox_VALUE_name.'\') {value = \'\'}" onBlur="if (value == \'\') {value = \''.$shoutbox_VALUE_name.'\'}" maxlength="15"> <textarea style="width: 98%" cols="15" rows="4" name="shoutbox_textarea"></textarea>'; ?> <script type="text/javascript"> function opensmiliespopup() { smiliespopup = window.open('about:blank','smiliespopup','status=no','scrollbars=yes','resizable=yes','width=400,height=300,left=300,top=200'); smiliespopup.document.open(); smiliespopup.document.write('<script>function put_sb(toWrite) {\n' +' top.opener.put_sb(toWrite); window.focus(); \n' +' }<\/script>'); smiliespopup.document.write(' <hr>Mehr Smilies<hr>\n' +' <a href="javascript:put_sb(\'a020\')"><img src="include\/images\/sBsmileys\/a020.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'boast\')"><img src="include\/images\/sBsmileys\/boast.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'boogie\')"><img src="include\/images\/sBsmileys\/boogie.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'boyg\')"><img src="include\/images\/sBsmileys\/boyg.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'cff\')"><img src="include\/images\/sBsmileys\/cff.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'crazy\')"><img src="include\/images\/sBsmileys\/crazy.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'d020\')"><img src="include\/images\/sBsmileys\/d020.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'d040\')"><img src="include\/images\/sBsmileys\/d040.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'exa1\')"><img src="include\/images\/sBsmileys\/exa1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'five\')"><img src="include\/images\/sBsmileys\/five.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'freund\')"><img src="include\/images\/sBsmileys\/freund.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'ggirl\')"><img src="include\/images\/sBsmileys\/ggirl.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'girlc\')"><img src="include\/images\/sBsmileys\/girlc.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'girlcr\')"><img src="include\/images\/sBsmileys\/girlcr.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'girlgl\')"><img src="include\/images\/sBsmileys\/girlgl.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'girlmad\')"><img src="include\/images\/sBsmileys\/girlmad.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'girlwa\')"><img src="include\/images\/sBsmileys\/girlwa.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'idea\')"><img src="include\/images\/sBsmileys\/idea.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'sandu\')"><img src="include\/images\/sBsmileys\/sandu.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'kosh\')"><img src="include\/images\/sBsmileys\/kosh.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'nase\')"><img src="include\/images\/sBsmileys\/nase.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'prosit\')"><img src="include\/images\/sBsmileys\/prosit.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'puni\')"><img src="include\/images\/sBsmileys\/puni.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'such1\')"><img src="include\/images\/sBsmileys\/such1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'smoke\')"><img src="include\/images\/sBsmileys\/smoke.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'tanz2\')"><img src="include\/images\/sBsmileys\/tanz2.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'tap4\')"><img src="include\/images\/sBsmileys\/tap4.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'tap5\')"><img src="include\/images\/sBsmileys\/tap5.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'tati\')"><img src="include\/images\/sBsmileys\/tati.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'tra1\')"><img src="include\/images\/sBsmileys\/tra1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'vala05\')"><img src="include\/images\/sBsmileys\/vala05.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'vala28\')"><img src="include\/images\/sBsmileys\/vala28.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'vala32\')"><img src="include\/images\/sBsmileys\/vala32.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'via45\')"><img src="include\/images\/sBsmileys\/via45.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'via44\')"><img src="include\/images\/sBsmileys\/via44.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'beee\')"><img src="include\/images\/sBsmileys\/beee.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'con1\')"><img src="include\/images\/sBsmileys\/con1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'l026\')"><img src="include\/images\/sBsmileys\/l026.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'l091\')"><img src="include\/images\/sBsmileys\/l091.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'me01\')"><img src="include\/images\/sBsmileys\/me01.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'nea\')"><img src="include\/images\/sBsmileys\/nea.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'weg1\')"><img src="include\/images\/sBsmileys\/weg1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'a26\')"><img src="include\/images\/sBsmileys\/a26.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'dan1\')"><img src="include\/images\/sBsmileys\/dan1.gif" border ="0"\/><\/a>\n' +' <hr>Schildersmilies<hr>\n' +' <a href="javascript:put_sb(\'tschoe\')"><img src="include\/images\/sBsmileys\/tschoe.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'dank1\')"><img src="include\/images\/sBsmileys\/dank1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'hallz\')"><img src="include\/images\/sBsmileys\/hallz.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'015\')"><img src="include\/images\/sBsmileys\/015.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'017\')"><img src="include\/images\/sBsmileys\/017.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'127\')"><img src="include\/images\/sBsmileys\/127.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'gube\')"><img src="include\/images\/sBsmileys\/gube.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'378\')"><img src="include\/images\/sBsmileys\/378.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'a042\')"><img src="include\/images\/sBsmileys\/a042.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'c030\')"><img src="include\/images\/sBsmileys\/c030.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'doof\')"><img src="include\/images\/sBsmileys\/doof.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'eiei\')"><img src="include\/images\/sBsmileys\/eiei.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'feed\')"><img src="include\/images\/sBsmileys\/feed.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'puh\')"><img src="include\/images\/sBsmileys\/puh.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'shit\')"><img src="include\/images\/sBsmileys\/shit.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'s105\')"><img src="include\/images\/sBsmileys\/s105.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'s006\')"><img src="include\/images\/sBsmileys\/s006.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'s010\')"><img src="include\/images\/sBsmileys\/s010.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'wato\')"><img src="include\/images\/sBsmileys\/wat.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'s004\')"><img src="include\/images\/sBsmileys\/s004.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'iro1\')"><img src="include\/images\/sBsmileys\/iro1.gif" border ="0"\/><\/a>\n' +' <hr>Big Smilies<hr>\n' +' <a href="javascript:put_sb(\'1sauer\')"><img src="include\/images\/sBsmileys\/1sauer.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'g83\')"><img src="include\/images\/sBsmileys\/g83.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'g63\')"><img src="include\/images\/sBsmileys\/g63.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'a025\')"><img src="include\/images\/sBsmileys\/a025.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'a032\')"><img src="include\/images\/sBsmileys\/a032.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'a056\')"><img src="include\/images\/sBsmileys\/a056.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'a063\')"><img src="include\/images\/sBsmileys\/a063.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'zer1\')"><img src="include\/images\/sBsmileys\/zer1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'waus1\')"><img src="include\/images\/sBsmileys\/waus1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'sch1\')"><img src="include\/images\/sBsmileys\/sch1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'schweb\')"><img src="include\/images\/sBsmileys\/schweb.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'silz\')"><img src="include\/images\/sBsmileys\/silz.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'d41\')"><img src="include\/images\/sBsmileys\/d41.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'mom1\')"><img src="include\/images\/sBsmileys\/mom1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'well\')"><img src="include\/images\/sBsmileys\/well.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'d070\')"><img src="include\/images\/sBsmileys\/d070.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'cle1\')"><img src="include\/images\/sBsmileys\/cle1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'bad\')"><img src="include\/images\/sBsmileys\/bad.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'a176\')"><img src="include\/images\/sBsmileys\/a176.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'iboese\')"><img src="include\/images\/sBsmileys\/iboese.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'gratula\')"><img src="include\/images\/sBsmileys\/gratula.gif" border ="0"\/><\/a>\n' +' <hr>Sonstige<hr>\n' +' <a href="javascript:put_sb(\'wut1\')"><img src="include\/images\/sBsmileys\/wut1.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'tweet\')"><img src="include\/images\/sBsmileys\/tweet.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'kinn\')"><img src="include\/images\/sBsmileys\/kinn.gif" border ="0"\/><\/a>\n' +' <a href="javascript:put_sb(\'hip1\')"><img src="include\/images\/sBsmileys\/hip1.gif" border ="0"\/><\/a>\n' +' <hr><a href="javascript:void(0)" onclick="window.close();">Fenster schließen<\/a>'); smiliespopup.document.close(); } // S-Box-Smileys START function simple_insert_sb(aTag,eTag) { var input = document.forms['shoutbox'].elements['shoutbox_textarea']; input.focus(); /* für Internet Explorer */ if(typeof document.selection != 'undefined') { /* Einfügen des Formatierungscodes */ var range = document.selection.createRange(); var insText = range.text; range.text = aTag + insText + eTag; /* Anpassen der Cursorposition */ range = document.selection.createRange(); if (insText.length == 0) { range.move('character', -eTag.length); } else { range.moveStart('character', aTag.length + insText.length + eTag.length); } range.select(); } /* für neuere auf Gecko basierende Browser */ else if(typeof input.selectionStart != 'undefined') { /* Einfügen des Formatierungscodes */ var start = input.selectionStart; var end = input.selectionEnd; var insText = input.value.substring(start, end); input.value = input.value.substr(0, start) + aTag + insText + eTag + input.value.substr(end); /* Anpassen der Cursorposition */ var pos; if (insText.length == 0) { pos = start + aTag.length; } else { pos = start + aTag.length + insText.length + eTag.length; } input.selectionStart = pos; input.selectionEnd = pos; } /* für die übrigen Browser */ else { /* Abfrage der Einfügeposition */ var pos = input.value.length; /* Einfügen des Formatierungscodes */ var insText = prompt("Bitte geben Sie den zu formatierenden Text ein:"); input.value = input.value.substr(0, pos) + aTag + insText + eTag + input.value.substr(pos); } } function put_sb ( towrite ) { simple_insert_sb ( towrite, '' ); } // S-Box-Smileys END </script> <?php echo '<form action="index.php?newsextended" method="POST" name="shoutbox">'; echo get_antispam ('shoutbox', 0); echo '<input type="submit" value="'.$lang['formsub'].'" name="shoutbox_submit">'; echo '<center><b><a href="javascript:void(0)" onclick="opensmiliespopup()">Mehr Smilies</a></b></center>'; echo '</form>'; } echo '</table><a class="box" href="index.php?shoutbox">'.$lang['archiv'].'</a>'; echo '<p/>'; }}
Geschlossen | ||
Zurück zu Module und Modifikationen |