Versteckter Text
global.php acin
Arayin:
![]()
Source code
1 2 $header_pms = ''; $header_acp = '';
ÜSTÜNE ekleyin:
![]()
Source code
1 2 3 4 5 6 7 8 9 10 11 12 13 14/** OnlineTimer Version 2.0 der User **/ $activtime=time()-60*$useronlinetimeout; $users_out = $db->query("SELECT * FROM bb".$n."_useronline WHERE zeit<'$activtime' AND userid<>'0'"); while($user_out = $db->fetch_array($users_out)){ $onlinetime=$user_out[zeit]-$user_out[logintime]; $db->query("UPDATE bb".$n."_users SET onlinetime=onlinetime+$onlinetime WHERE userid='$user_out[userid]'"); } $db->query("DELETE FROM bb".$n."_useronline WHERE zeit<'$activtime'"); if($wbbuserdata['userid'] !=0) { $anzahl = $db->query_first("SELECT COUNT(zeit)as anzahl FROM bb".$n."_useronline WHERE userid='$wbbuserdata[userid]'"); if($anzahl[anzahl]) $db->query("UPDATE bb".$n."_useronline SET zeit='".time()."' WHERE userid='$wbbuserdata[userid]'"); else $db->query("INSERT INTO bb".$n."_useronline VALUES ('".time()."','$wbbuserdata[userid]','".time()."')"); } /** OnlineTimer Version 2.0 der User **/
index.php acin
rayin:
![]()
Source code
1eval("\$tpl->output(\"".$tpl->get("index")."\");");
ÜSTÜNE ekleyin:
![]()
Source code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30/* OnlineTimer v2.0 Gesamtausgabe */ // gesamt online zeit $onlinetimeG = $db->query("SELECT onlinetime FROM bb".$n."_users"); if ($onlinetimeG) $anz=mysql_num_rows($onlinetimeG); for ($i=0; $i<$anz; $i++) { $row=mysql_fetch_array($onlinetimeG); $gesamt+=$row[onlinetime]; } $onlinetimeG = $gesamt; $stundenGgesamt = floor($onlinetimeG /3600); $stundenGgesamt = number_format($stundenGgesamt, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP")); $tageG = floor($onlinetimeG /86400); $tageG = number_format($tageG, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP")); $stundenG = floor(($onlinetimeG - ($tageG * 86400)) /3600); $minutenG = floor(($onlinetimeG - ($tageG * 86400)-($stundenG * 3600)) / 60); // rekord online zeit $resultonlinetime = $db->query_first("SELECT userid,username,onlinetime FROM bb".$n."_users ORDER BY onlinetime DESC LIMIT 0,10"); $onlinetimeuserid=$resultonlinetime['userid']; $onlinetimeuser=htmlconverter($resultonlinetime['username']); $onlinetime=$resultonlinetime['onlinetime']; $stundengesamt = floor($onlinetime /3600); $stundengesamt = number_format($stundengesamt, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP")); $tage = floor($onlinetime /86400); $tage = number_format($tage, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP")); $stunden = floor(($onlinetime - ($tage * 86400)) /3600); $minuten = floor(($onlinetime - ($tage * 86400)-($stunden * 3600)) / 60); /* OnlineTimer v2.0 Gesamtausgabe */
profile.php acin
Arayin:
![]()
Source code
1 $regdays = (time() - $user_info['regdate']) / 86400;
ALTINA ekleyin:
![]()
Source code
1 2 3 4 5 6 7 8/** OnlineTimer Version 2.0 der User **/ $onlinetime = $user_info[onlinetime]; $stundengesamt = floor($onlinetime /3600); $stundengesamt = number_format($stundengesamt, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP")); $tage = floor($onlinetime /86400); $tage = number_format($tage, 0, "", $lang->get("LANG_GLOBAL_THOUSANDS_SEP")); $stunden = floor(($onlinetime - ($tage * 86400)) /3600); $minuten = floor(($onlinetime - ($tage * 86400)-($stunden * 3600)) / 60);/** OnlineTimer Version 2.0 der User **/
profile.tpl acin
Arayin:
![]()
Source code
1 2 3 4<tr align="left"> <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_REGDATE']}</b></span></td> <td><span class="normalfont">$regdate</span></td> </tr>
ALTINA ekleyin:
![]()
Source code
1 2 3 4<tr align="left"> <td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ONLINETIME']}</b></span></td> <td><span class="normalfont"><b>$stundengesamt Stunden</b> ($tage Tage und $stunden Stunden) und $minuten min.</span></td> </tr>
index.tpl acin
Arayin:
![]()
Source code
1<td class="tableb" align="center"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></td>
bunun ile DEGISTIR:
![]()
Source code
1<td class="tableb" align="center" rowspan="2"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></td>
Arayin:
![]()
Source code
1 2 3 4 5<tr> <td class="tableb" align="center"><img src="{$style['imagefolder']}/stats.gif" alt="" border="0" /></td> <td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"><span class="smallfont">{$lang->items['LANG_START_STATISTIC_MEMBERS']} $stats[usercount] | {$lang->items['LANG_START_STATISTIC_THREADS']} $stats[threadcount] | {$lang->items['LANG_START_STATISTIC_POSTS']} $stats[postcount] ({$lang->items['LANG_START_STATISTIC_AVERAGE']} $postperday {$lang->items['LANG_START_STATISTIC_POSTPERDAY']})<br /> {$lang->items['LANG_START_STATISTIC_NEWESTMEMBER']} <a href="profile.php?userid=$stats[lastuserid]{$SID_ARG_2ND}">$stats[username]</a>.</span></td> </tr>
ALTINA ekleyin:
![]()
Source code
1 2 3 4 5 6 7 8 9<tr> <td colspan="<if($hide_modcell==0)><then>5</then><else>4</else></if>" class="tablea" align="left"> <span class="smallfont"> {$lang->items['LANG_START_STATISTIC_ONLINETIME']} $stundenGgesamt Stunden ($tageG Tage und $stundenG Stunden) und $minutenG Minuten. <br /> {$lang->items['LANG_START_STATISTIC_ONLINETIMEREKORD']} <a href="profile.php?userid=$onlinetimeuserid">$onlinetimeuser</a>: $stundengesamt Stunden ($tage Tage und $stunden Stunden) und $minuten Minuten. </span> </td> </tr>
Versteckter Text
Benutzer die sich bedankten: