Registrieren | Passwort vergessen |
Benutzername    Passwort    Eingeloggt bleiben    
Seitenaufbau in 0.54 Sekunden - 552 DB-Abfragen | Mitglieder: 2377 | Forum: 15684 | Downloads: 127 | Insgesamt runtergeladen: 41161 | Insgesamt: 14,739,667 eindeutige Besuche
Guten Abend [Gast]
Wenn Sie bereits Registriert sind loggen Sie sich einfach ein
©
DerEinsame2 (04.01.2024 13:19): Hallo ihr lieben ich wünsche euch ein Frohes und es Gesundes neues jahr. Chat-Radio24 (02.01.2024 17:36): Ein Frohes neues Jahr wünsche ich allen JP_ONAIR (01.01.2024 15:33): Frohes neues ^^ DerEinsame2 (17.12.2023 17:24): liebe leute ich wünsche euche tolle feiertage, und das beste fürs neue jahr 2024 Radiotv (18.11.2023 18:39): Liebe Grüsse Von www.radiotvmg.de Charly3000 (18.05.2023 16:09): Happy Vatertag wünscht www.Charlys-Funradio.de Charly3000 (08.05.2023 00:41): Wünsche eine erfolgreiche Woche RadioNightlineStudios (05.10.2022 07:27): RADIO-NIGHTLINE-STUDIOS WÜNSCHT EINEN GOLDENEN OKTOBER Pilzwb (29.01.2022 09:28): Guten Morgen BlackScorpion (07.01.2022 23:00): https://radio-black-scorpion.de wünscht ein erholsames We
Datum: Dienstag, 23. April 2024 Diese Seite Geladen Am: 20:39:34Aktuelle Zeit: Zeit
 Wer ist online
Gäste & Bots online: 1
Mitglieder online: 0
Neuestes Mitglied: Leon Schlemmer

DevicepartybremenPunkte
Offline
DeviceArminPremium bis 25.12.2025 - 12:05 UhrPunkte
Offline
DeviceMarioPremium bis 17.10.2024 - 09:58 UhrPunkte
Offline
DeviceRolly8-HLPunkte
Offline
DevicehexerPremium bis 24.04.2024 - 19:40 UhrPunkte
Offline
DeviceJP_ONAIRPunkte
Offline
Device21Matze
Offline
DeviceLoewenperle
Offline
DeviceHarlekinPunkte
Offline
DeviceEsoxPunkte
Offline
Gast
gast
Mehr anzeigen

     - SuperAdmin|         - Admin ©
     - Forum Mod |         - Mitglied


 Unwetterwarnung

 Server uptime
Serverchecks bei http://www.my-cronjob.de - Ihr kostenloser Cronjob- und Serverüberwachungsdienst mit Uptime-Statistik für Ihre Homepage

Suche
Durchsuchen Sie die gesamte Website:
Themen-Autor: JP_ONAIR
Thema ID: 1385
Thema Info
Es gibt 17 Beiträge zu diesem Thema, und es wurde angesehen 2065 mal.
Thema ansehen
Wer ist hier? 1 Gäste
 Thema drucken
D1 Device Ident
JP_ONAIR
Hallo!
Mir ist aufgefallen, das Tablets als "PC" durchgehen, wie muss man es erweitern damit auch Tablets (Samsung Galaxy Tab, Ipad, etc.) als Mobil erkannt werden?


Für Rückfragen stehe ich gerne zur Verfügung.

Mit freundlichen Grüßen
JP
Verwarnstatus: warningwarningwarningwarning
 
https://webmusik.net
MyLife MyRight
naja bei antroit tabs unmöglich bei iphon suche ich da die die Dektop ansicht nicht haben sonst wird es als mobil angelegt


www.champstyle.de
Verwarnstatus: warningwarningwarningwarning
 
https://champstyle.de
DeeoNe
Wenn du raus bekommst was für ein User Agent er für das Tap anzeigt, könntest du das hier erweitern in der Panel datei:
Download Code  Code
function check_mobi($useragent) {
if(preg_match('/android.+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i',$useragent)||preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-/i',substr($useragent,0,4))) { return true; }
}




www.deeone.de/signaturen/deeone_1.png
Verwarnstatus: warningwarningwarningwarning
 
https://www.deeone.de
JP_ONAIR
Okay, ich hab das ausgetestet das Tablet von meiner Mutter hat folgenden User Agent:
Mozilla/5.0 (Linux; U; Android 4.2.2; nl-nl; GT-P5210 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30


Für Rückfragen stehe ich gerne zur Verfügung.

Mit freundlichen Grüßen
JP
Verwarnstatus: warningwarningwarningwarning
 
https://webmusik.net
matze
Tablet läuft mit unter android.......Da tablets meistens Android betriebssystem benutzen von Google. Da es eine Entwicklung ist von denen. Da wirste nicht mehr erreichen....so lassen.

Verwarnstatus: warningwarningwarningwarning
 
https://fusion-mods.de
Deleted_User
Mahlzeit,

ist ja ne coole Sache, nur bekomm ich es bei mir im Online User panel nei richtig eingebaut.
Es erscheint über den online User nebeneinander.

jemand nen Tipp was ich da wohl falsch mache?

MFG
Thomas

Verwarnstatus: warningwarningwarningwarning
  x 1
 
JP_ONAIR
@ Matze:
Das ist richtg, jedoch MUSS es eine funktion geben um das bestimmen zu können z.B. von der Bildschirmgröße oder so? ... Wenn ich mit meinem Tablet angemeldet bin bin ich für alle mit PC online und das ist dann schon bissl doof. .. Hab Samsung Galaxy Tab3 mit 7 Zoll


Für Rückfragen stehe ich gerne zur Verfügung.

Mit freundlichen Grüßen
JP
Verwarnstatus: warningwarningwarningwarning
 
https://webmusik.net
DeeoNe
hauser schrieb:

Mahlzeit,

ist ja ne coole Sache, nur bekomm ich es bei mir im Online User panel nei richtig eingebaut.
Es erscheint über den online User nebeneinander.

jemand nen Tipp was ich da wohl falsch mache?

MFG
Thomas

dann hast du es an der falschen stelle eingefügt.
Ohne zu sehen was du gemacht hast, kann ich nicht mehr Tips geben.


www.deeone.de/signaturen/deeone_1.png
Verwarnstatus: warningwarningwarningwarning
 
https://www.deeone.de
Deleted_User
öhm jo stimmt, da zum beispiel habs mal rot markiert

Download Code  Code
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2011 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: online_users_panel.php
| Relased for Pimped ab V 09 & PHP Fusion ab V7 & NEW 7.02.xx
| Version : 1.01
| Website: http://pif.de.gg
| Author : © DigiFAQ™
| Email : digifaq(at)gmx.de
| Release Date : 23.04.2011
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

include INFUSIONS."online_users_panel/infusion_db.php";
include LOCALE.LOCALESET."user_fields/user_shouts-stat.php";
$go = "base64_decode";
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
if (file_exists(INFUSIONS."online_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."online_users_panel/locale/".$settings['locale'].".php";
} else {

   include INFUSIONS."online_users_panel/locale/German.php";
}





echo "
   <link rel='stylesheet' type='text/css' href='".INFUSIONS."online_users_panel/tooltip.css' />
   <script src='".INFUSIONS."online_users_panel/jquery.tooltip.pack.js' type='text/javascript'><!-- $author--></script>
   <script type='text/javascript'>
   $(function() {
   $('#myonuser a').tooltip({
      track: true,
   delay: 0,
   showURL: false,
   showBody: ' - ',
   fade: 250
   });
   });
   </script>

";




$trackUserAgent = strtolower($_SERVER['HTTP_USER_AGENT']);
$go = "base64_decode";
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
$bots = array(
'archiver' => 'alexa',
'exabot' => 'exalead',
'fast' => 'fast',
'firefly' => 'fireball',
'googlebot' => 'google',
'msnbot' => 'msn',
'architextspider' => 'excite',
'lycos_spider' => 'lycos',
'slurp' => 'yahoo'
);

foreach ($bots as $bot_ua => $bot_db) {
if (stristr($trackUserAgent, $bot_ua)) { $result = dbquery("UPDATE ".DB_ONLINE_SETTINGS." SET online_".$bot_db."='".time()."'"); }
}

$result = dbquery("SELECT * FROM ".DB_ONLINE_SETTINGS);
$online = dbarray($result);

$result = dbquery("SELECT * FROM ".DB_ONLINE." WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'"));
if (dbrows($result)) {
$result = dbquery("UPDATE ".DB_ONLINE." SET online_lastactive='".time()."' WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'")."");
} else {
$result = dbquery("INSERT INTO ".DB_ONLINE." (online_user, online_ip, online_lastactive) VALUES ('".($userdata['user_level'] != 0 ? $userdata['user_id'] : "0")."', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".DB_ONLINE." WHERE online_lastactive<".(time()-300)."");

if (dbrows($result)) {
$result = dbquery(
   "SELECT ts.*, tu.*, tu.user_id, tu.user_name FROM ".DB_SHOUTBOX." ts
   LEFT JOIN ".DB_USERS." tu ON ts.shout_name=tu.user_id
   ORDER BY ts.shout_datestamp DESC LIMIT 0,".$settings['numofshouts']
);

  $i = 0;
}
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
openside($locale['global_010']);
echo "<div id='myonuser'>";
$result = dbquery("SELECT * FROM ".DB_ONLINE." ton LEFT JOIN ".DB_USERS." tu ON ton.online_user=tu.user_id");

$guests = 0; $members = array();

while ($data = dbarray($result)) {
 
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
  }
 }
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
if (!$author == $go('wqkgYnkgRGlnaUZBUeKEog==')) { die($go("R2VrbGF1dCBiZWkgRGlnaUZBUeKEog==")); }
if ($online['online_showguests'] == 1) echo THEME_BULLET." ".$locale['global_011'].": ".$guests."<hr />\n";
if ($online['online_showmembers'] == 1) echo THEME_BULLET." ".$locale['global_012'].": ".count($members)."<br />\n";                                                                           $info = $go("PGEgaHJlZj0naHR0cDovL3BpZi5kZS5nZycgdGFyZ2V0PSdfYmxhbmsnIHRpdGxlPSc8Y2VudGVyPjx0YWJsZSBib3JkZXI9IjIiIGNlbGxwYWRkaW5nPSIxIiBjbGFzcz0ib25saW5lIj48dHI+PHRkIGNsYXNzPSJzaWRlLUluZm8iIHdpZHRoPSIyNTAiPjxmb250IHNpemU9IjIiPjxjZW50ZXI+PGZvbnQgY29sb3I9IndoaXRlIj5NaXRnbGllZGVyIE9ubGluZTwvZm9udD48YnIgLz48Yj48Zm9udCBjb2xvcj1ncmF5PlBpbXBlZCAmIFBIUC1GdXNpb24gNyBWZXJzaW9uPC9iPjxiciAvPjxmb250IHNpemU9IjFweCIgY29sb3I9ImxpZ2h0Z3JheSI+JmNvcHk7IERpZ2lGQVEmIzAxNTM7IC8gVjAzIDIwMTEgPC9mb250PjwvZm9udD48L3RkPjwvdHI+PC90YWJsZT4nPjxpbWcgc3JjPSIuLi8uLi9pbmZ1c2lvbnMvb25saW5lX3VzZXJzX3BhbmVsL2ltYWdlcy9pbmZvLnBuZyIgd2lkdGg9IjE1Ij48L2E+");
if ($online['online_showguests'] == 0 && $online['online_showmembers'] == 0 && $online['online_showmembersnum'] != 0) echo " ";
elseif ($online['online_showmembersnum'] != 0) {
echo "<hr />\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='body'>";

$result = dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,".$online['online_showmembersnum']);
if (dbrows($result) != 0) {
while ($data = dbarray($result)) {



if ($data['user_avatar'] != "") {

$deviceio1 = "<img src='".INFUSIONS."D1_device_ident_panel/images/".$data['user_device'].".png' alt='Device' width='12' height='12' style='vertical-align: middle;' />";
echo $deviceio1;


      $onus = "<img src=\"".IMAGES."avatars/".$data['user_avatar']."\" border=\"0\" width=\"100\" height=\"100\">";
      $onus2 = "<img src=\"".IMAGES."avatars/".$data['user_avatar']."\" border=\"0\" width=\"18\" height=\"18\">";
      $onus0 = "<img src=\"".IMAGES."avatars/".$data['user_avatar']."\" border=\"0\" width=\"35\" height=\"35\">";
   } else {
      $onus = "<img src=\"".INFUSIONS."online_users_panel/images/noav.gif\" border=\"0\" height=\"100\" width=\"100\">";
      $onus2 = "<img src=\"".INFUSIONS."online_users_panel/images/noav.gif\" border=\"0\" witdh=\"18\" height=\"18\">";
      $onus0 = "<img src=\"".INFUSIONS."online_users_panel/images/noav.gif\" border=\"0\" witdh=\"35\" height=\"35\">";
   }

$lastseen = time() - $data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
$iH2=$iH+1;
$iM3=$iM+1;
$iD1=$iD+1;

if ($iM < 10) $iM2=10;
if ($iM < 20) $iM2=20;
if ($iM < 30) $iM2=30;
if ($iM < 40) $iM2=40;
if ($iM < 50) $iM2=50;
if ($iM < 60) $iM2=60;

if ($iM >= 00) $iM4=10;
if ($iM >= 10) $iM4=20;
if ($iM >= 20) $iM4=30;
if ($iM >= 30) $iM4=40;
if ($iM >= 40) $iM4=50;
if ($iM >= 50) $iM4=60;

if ($data['user_level'] == 104) { $level = ' <img src=/infusions/online_users_panel/bot/admin.gif> '; $color = $online['online_boardccolor']; }
if ($data['user_level'] == 103) { $level = ' <img src=/infusions/online_users_panel/bot/admin.gif> '; $color = $online['online_superadmincolor']; }
if ($data['user_level'] == 102) { $level = ' <img src=/infusions/online_users_panel/bot/mod.gif> '; $color = $online['online_admincolor']; }
if ($data['user_level'] == 101) { $level = ' <img src=/infusions/online_users_panel/bot/member.gif> '; $color = $online['online_usercolor']; }

if ($lastseen < 60) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\" color=\"green\"> Ist auf der Page gerade Online <font color=\"red\"> <br><table width=\"250\"><td> $level </td><td bgcolor=\"green\" height=\"18\" width=\"230\"> <font color=\"#F0F0F0\"><center>O n l i n e</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"green\" height=\"18\"><td align='center'><font color='white' size=1><b>OnLine</b></font></td></table></a>";
elseif ($lastseen < 295) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\"> Logout seit<font color=\"red\"> $iM min $iS Sek. <br><table width=\"250\"><td> $level </td><td bgcolor=\"orange\" height=\"18\" width=\"230\"> <font color=\"yellow\"><center>seit < $iM3 min. LogOut</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"lightgray\" height=\"18\"><td align='center'><font color='gray' size=1><b>LogOut</b></font></td></table></a>";
elseif ($lastseen < 3598) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\"> Logoff seit<font color=\"red\"> $iM min $iS Sek. <br><table width=\"250\"><td> $level </td><td bgcolor=\"orange\" height=\"18\" width=\"230\"> <font color=\"yellow\"><center>seit < $iM4 min. Offline</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"orange\" height=\"18\"><td><font color='black' size=1><b><b>< $iM4 min.</b></font></td></table></a>";
elseif ($lastseen < 86390) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\"> Logoff seit<font color=\"red\"> $iH Std. $iM min $iS Sek. <br><table width=\"250\"><td> $level </td><td bgcolor=\"yellow\" height=\"18\" width=\"230\"> <font color=\"#AAAAAA\"><center>seit < $iH2 Std. Offline</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"yellow\" height=\"18\"><td><font color='black' size=1><b>< $iH2 Std.</b></font></td></table></a>";
elseif ($lastseen < 604800) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\"> Abwesend seit<font color=\"red\"> $iD Tg $iH:$iM:$iS Std<br><table width=\"250\"><td> $level </td><td bgcolor=\"lightblue\" height=\"18\" width=\"230\"> <font color=\"#CCCCCC\"><center>seit < $iD1 Tage Offline</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"lightblue\" height=\"18\"><td><font color='black' size=1><b>< $iD1 Tage</b></font></td></table></a>";
else
if ($data['user_lastvisit'] == 0) {
$lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font color=\"lightgray\"size=\"2\">".$locale['aou102']."<br><table width=\"250\"><td>  <img src=\"".INFUSIONS."online_users_panel/bot/einsteiger.gif\"></td><td bgcolor=\"red\" height=\"18\" width=\"230\"> <font color=\"lightgray\"><center>".$locale['aou103']."</center></font> </font> </td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"red\" height=\"18\"><td align='center'><font color='white' size=1><b>Offline</font></b></td></table></a>";
} else {
$lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font color=\"gray\"size=\"2\">Offline seit<font color=\"red\"> $iW Wo $iD Tg $iH:$iM:$iS Std<br><table width=\"250\"><td> $level </td><td bgcolor=\"red\" height=\"18\" width=\"230\"> <font color=\"white\"><center>seit $iD Tag(e) Offline</center></font> </font> </td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"red\" height=\"18\"><td align='center'><font color='white' size=1><b>Offline</font></b></td></table></a>";
}



// Neu fuer PHP V7.02 ! Abfrage der Shoutbox Installation ! //
if (defined("DB_SHOUTBOX")) {
$shoutbix = "ShoutBox";
$shoutcount = dbcount("(shout_id)", DB_SHOUTBOX, "shout_name='".$data['user_id']."'");
} else {
$shoutbix = "";
$shoutcount = "";}
// END //





if ($data['user_lastvisit'] == 0) {
echo "<tr>\n<td class='online' align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='<table class=\"onuser\"><td>$onus</td><td class=\"side-Info\"><center><font size=\"3\" face=verdana color=".$color."><b><strong>".trimlink($data['user_name'],18)."<br><font color=".$color." size=\"2\"> <img src=\"".INFUSIONS."online_users_panel/bot/einsteiger.gif\"></font></b></strong></font></center><br>Mitglied seit<font color=\"darkblue\"> ".showdate("longdate", $data['user_joined'])."</font><br>Zuletzt hier&nbsp;<font color=\"lightgray\">".$locale['aou102']."</font><br>Das war vor&nbsp;&nbsp;<font color=\"lightgray\">".$locale['aou103']."<br></font><font size=\"1\" color=\"blue\" face=\"Arial\">Beitr&auml;ge : </font> <font size=\"1\" color=\"black\" face=\"Arial\"> Forum </font> <font color=\"red\" size=\"1\"> ".$data['user_posts']." </font> <font size=\"1\" color=\"black\" face=\"arial\"> $shoutbix </font> <font size=\"1\" color=\"red\"> $shoutcount</center></font></font><br></td></table>' class='online' style='color: #".$color."'>";
} else {
echo "<tr>\n<td class='online' align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='<table class=\"onuser\"><td>$onus</td><td class=\"side-Info\"><center><font size=\"3\" face=verdana color=".$color."><b><strong>".trimlink($data['user_name'],18)."<br><font color=".$color." size=\"2\">".$level."</font></b></strong></font></center><br>Mitglied seit<font color=\"darkblue\"> ".showdate("longdate", $data['user_joined'])."</font><br>Zuletzt hier&nbsp;<font color=\"red\"> ".showdate("longdate", $data['user_lastvisit'])."</font><br>Das war vor&nbsp;&nbsp;<font color=\"red\"> $iD Tage $iH:$iM:$iS Stunden<br></font><font size=\"1\" color=\"blue\" face=\"Arial\">Beitr&auml;ge : </font> <font size=\"1\" color=\"black\" face=\"Arial\"> Forum </font> <font color=\"red\" size=\"1\"> ".$data['user_posts']." </font> <font size=\"1\" color=\"black\" face=\"arial\"> $shoutbix </font> <font size=\"1\" color=\"red\"> $shoutcount</center></font></font><br></td></table>' class='online' style='color: #".$color."'>";
 }
echo "$onus2 ".trimlink($data['user_name'],13)."</a></td><td class='online' align='right'>".$lastseen."</td></tr>";
  }
 }
}
if ($online['online_showbots'] == 1) {
if ($online['online_showmembersnum'] == 0) echo "<table width='100%' cellpadding='0' cellspacing='0'>";

$bot_list = array(
$online['online_alexa'] => 'Alexa',
$online['online_exalead'] => 'Exalead',
$online['online_excite'] => 'Excite',
$online['online_fast'] => 'Fast',
$online['online_fireball'] => 'Fireball',
$online['online_google'] => 'Google',
$online['online_lycos'] => 'Lycos',
$online['online_msn'] => 'MSN',
$online['online_yahoo'] => 'Yahoo!'
);

foreach ($bot_list as $bot_time => $bot_name) {
if ((time() - $online['online_showbotstime']) <= $bot_time) echo "<tr>\n<td class='online' align='left'><a title='<table width=292 class=online><td><img src=".INFUSIONS."online_users_panel/images/8812.gif width=100 height=100></td><td class=side-Info><center><img height=35 width=182 src=".INFUSIONS."online_users_panel/bot/".$bot_name.".gif><br><font size=1 color=green>ROBOT SUCHMASCHINE</font></b><br><br><font size=1 face=Arial>Der Suchmaschinenschn&uuml;ffler<br>Es wird nach dir gesucht</font></center><br></td></table>'><img src=".INFUSIONS."online_users_panel/images/8812.gif width=20 height=20><strong> ".$bot_name."</strong></a></td><td class='side-small' align='right'><a title='<img src=".INFUSIONS."online_users_panel/bot/".$bot_name.".gif width=100 height=15> <font size=2 color=green> ist Online <font color=red>um zu schn&uuml;ffeln</font></font>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"transparent\" height=\"18\"><td><img height='14' width='56' src='".INFUSIONS."online_users_panel/images/robot.png' border='0' name='Robot' /></a></td></table></td></tr>";
}
}

if ($online['online_showmembersnum'] != 0 || $online['online_showbots'] == 1) echo "</div></table><hr>\n";

if ($online['online_showguests'] == 0 && $online['online_showmembers'] == 0 && $online['online_showmembersnum'] == 0) echo "";
elseif ($online['online_showallmembers'] != 0 || $online['online_shownewmember'] != 0) echo "\n";
if ($online['online_showallmembers'] == 1) echo THEME_BULLET." ".$locale['global_014'].": ".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."<br />\n";
if (iADMIN && checkrights("M") && $settings['admin_activation'] == "1") {
echo THEME_BULLET." <a href='".ADMIN."members.php".$aidlink."&amp;status=2' class='side'>".$locale['global_015']."</a>";
echo ": ".dbcount("(user_id)", DB_USERS, "user_status='2'")."<br />\n";
}

if ($online['online_shownewmember'] == 1) {
$data = dbarray(dbquery("SELECT user_id,user_name,user_avatar FROM ".DB_USERS." WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
if ($data['user_avatar'] != "") {
            $author = $go('wqkgYnkgRGlnaUZBUeKEog==');
      $onus = "<img src=\"".IMAGES."avatars/".$data['user_avatar']."\" border=\"0\" width=\"100\" height=\"100\">";
   } else {
            $author = $go('wqkgYnkgRGlnaUZBUeKEog==');
            $onus = "<img src=\"".INFUSIONS."online_users_panel/images/new.gif\" border=\"0\" width=\"100\" height=\"100\">";
   }
echo "<hr>$info &nbsp; &nbsp;<a title='<font class=online size=\"2\"><center>".$loacle['aou199']."&nbsp;".trimlink($data['user_name'],30)."</font><img src=\"".INFUSIONS."online_users_panel/images/smile.gif\"></center>'><font size=2>".$locale['aou208']." </font></a><center><br><b><em><a href=\"".BASEDIR."profile.php?lookup=".$data['user_id']."\" title='<table><td> $onus </td><td class=\"side-Info\" width=\"182\" height=\"98\"><center><img src=\"".INFUSIONS."online_users_panel/images/smile.gif\"> <font face=\"Verdana\" size=\"2\" color=\"#FFFFFF\"><b>".trimlink($data['user_name'],30)." </font><br><br> <img src=\"".INFUSIONS."online_users_panel/bot/einsteiger.gif\"></b></center><br><font size=\"3\" color=\"blue\"><strong><center> Herzlich Willkommen</EM></FONT></font></CENTER></td></table>' class=\"side\" style=\"color: #".$online['online_usercolor']."\">";
echo trimlink($data['user_name'],13)."</a><br>";
}










echo"</div><!-- $author --><br>";
closeside();
?>



Verwarnstatus: warningwarningwarningwarning
  x 1
 
JP_ONAIR
Probiere mal das:
Download Code  Code
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright © 2002 - 2011 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: online_users_panel.php
| Relased for Pimped ab V 09 & PHP Fusion ab V7 & NEW 7.02.xx
| Version : 1.01
| Website: http://pif.de.gg
| Author : © DigiFAQ™
| Email : digifaq(at)gmx.de
| Release Date : 23.04.2011
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licen... Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

include INFUSIONS."online_users_panel/infusion_db.php";
include LOCALE.LOCALESET."user_fields/user_shouts-stat.php";
$go = "base64_decode";
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
if (file_exists(INFUSIONS."online_users_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."online_users_panel/locale/".$settings['locale'].".php";
} else {

   include INFUSIONS."online_users_panel/locale/German.php";
}





echo "
   <link rel='stylesheet' type='text/css' href='".INFUSIONS."online_users_panel/tooltip.css' />
   <script src='".INFUSIONS."online_users_panel/jquery.tooltip.pack.js' type='text/javascript'><!-- $author--></script>
   <script type='text/javascript'>
   $(function() {
   $('#myonuser a').tooltip({
      track: true,
   delay: 0,
   showURL: false,
   showBody: ' - ',
   fade: 250
   });
   });
   </script>

";




$trackUserAgent = strtolower($_SERVER['HTTP_USER_AGENT']);
$go = "base64_decode";
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
$bots = array(
'archiver' => 'alexa',
'exabot' => 'exalead',
'fast' => 'fast',
'firefly' => 'fireball',
'googlebot' => 'google',
'msnbot' => 'msn',
'architextspider' => 'excite',
'lycos_spider' => 'lycos',
'slurp' => 'yahoo'
);

foreach ($bots as $bot_ua => $bot_db) {
if (stristr($trackUserAgent, $bot_ua)) { $result = dbquery("UPDATE ".DB_ONLINE_SETTINGS." SET online_".$bot_db."='".time()."'"); }
}

$result = dbquery("SELECT * FROM ".DB_ONLINE_SETTINGS);
$online = dbarray($result);

$result = dbquery("SELECT * FROM ".DB_ONLINE." WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'"));
if (dbrows($result)) {
$result = dbquery("UPDATE ".DB_ONLINE." SET online_lastactive='".time()."' WHERE online_user=".($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'")."");
} else {
$result = dbquery("INSERT INTO ".DB_ONLINE." (online_user, online_ip, online_lastactive) VALUES ('".($userdata['user_level'] != 0 ? $userdata['user_id'] : "0")."', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".DB_ONLINE." WHERE online_lastactive<".(time()-300)."");

if (dbrows($result)) {
$result = dbquery(
   "SELECT ts.*, tu.*, tu.user_id, tu.user_name FROM ".DB_SHOUTBOX." ts
   LEFT JOIN ".DB_USERS." tu ON ts.shout_name=tu.user_id
   ORDER BY ts.shout_datestamp DESC LIMIT 0,".$settings['numofshouts']
);

  $i = 0;
}
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
openside($locale['global_010']);
echo "<div id='myonuser'>";
$result = dbquery("SELECT * FROM ".DB_ONLINE." ton LEFT JOIN ".DB_USERS." tu ON ton.online_user=tu.user_id");

$guests = 0; $members = array();

while ($data = dbarray($result)) {
 
if ($data['online_user'] == "0") {
$guests++;
} else {
array_push($members, array($data['user_id'], $data['user_name']));
  }
 }
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
if (!$author == $go('wqkgYnkgRGlnaUZBUeKEog==')) { die($go("R2VrbGF1dCBiZWkgRGlnaUZBUeKEog==")); }
if ($online['online_showguests'] == 1) echo THEME_BULLET." ".$locale['global_011'].": ".$guests."<hr />\n";
if ($online['online_showmembers'] == 1) echo THEME_BULLET." ".$locale['global_012'].": ".count($members)."<br />\n";                                                                           $info = $go("PGEgaHJlZj0naHR0cDovL3BpZi5kZS5nZycgdGFyZ2V0PSdfYmxhbmsnIHRpdGxlPSc8Y2VudGVyPjx0YWJsZSBib3JkZXI9IjIiIGNlbGxwYWRkaW5nPSIxIiBjbGFzcz0ib25saW5lIj48dHI+PHRkIGNsYXNzPSJzaWRlLUluZm8iIHdpZHRoPSIyNTAiPjxmb250IHNpemU9IjIiPjxjZW50ZXI+PGZvbnQgY29sb3I9IndoaXRlIj5NaXRnbGllZGVyIE9ubGluZTwvZm9udD48YnIgLz48Yj48Zm9udCBjb2xvcj1ncmF5PlBpbXBlZCAmIFBIUC1GdXNpb24gNyBWZXJzaW9uPC9iPjxiciAvPjxmb250IHNpemU9IjFweCIgY29sb3I9ImxpZ2h0Z3JheSI+JmNvcHk7IERpZ2lGQVEmIzAxNTM7IC8gVjAzIDIwMTEgPC9mb250PjwvZm9udD48L3RkPjwvdHI+PC90YWJsZT4nPjxpbWcgc3JjPSIuLi8uLi9pbmZ1c2lvbnMvb25saW5lX3VzZXJzX3BhbmVsL2ltYWdlcy9pbmZvLnBuZyIgd2lkdGg9IjE1Ij48L2E+");
if ($online['online_showguests'] == 0 && $online['online_showmembers'] == 0 && $online['online_showmembersnum'] != 0) echo " ";
elseif ($online['online_showmembersnum'] != 0) {
echo "<hr />\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='body'>";

$result = dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,".$online['online_showmembersnum']);
if (dbrows($result) != 0) {
while ($data = dbarray($result)) {



if ($data['user_avatar'] != "") {
      $onus = "<img src=\"".IMAGES."avatars/".$data['user_avatar']."\" border=\"0\" width=\"100\" height=\"100\">";
      $onus2 = "<img src=\"".IMAGES."avatars/".$data['user_avatar']."\" border=\"0\" width=\"18\" height=\"18\">";
      $onus0 = "<img src=\"".IMAGES."avatars/".$data['user_avatar']."\" border=\"0\" width=\"35\" height=\"35\">";
   } else {
      $onus = "<img src=\"".INFUSIONS."online_users_panel/images/noav.gif\" border=\"0\" height=\"100\" width=\"100\">";
      $onus2 = "<img src=\"".INFUSIONS."online_users_panel/images/noav.gif\" border=\"0\" witdh=\"18\" height=\"18\">";
      $onus0 = "<img src=\"".INFUSIONS."online_users_panel/images/noav.gif\" border=\"0\" witdh=\"35\" height=\"35\">";
   }

$lastseen = time() - $data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
$author = $go('wqkgYnkgRGlnaUZBUeKEog==');
$iH2=$iH+1;
$iM3=$iM+1;
$iD1=$iD+1;

if ($iM < 10) $iM2=10;
if ($iM < 20) $iM2=20;
if ($iM < 30) $iM2=30;
if ($iM < 40) $iM2=40;
if ($iM < 50) $iM2=50;
if ($iM < 60) $iM2=60;

if ($iM >= 00) $iM4=10;
if ($iM >= 10) $iM4=20;
if ($iM >= 20) $iM4=30;
if ($iM >= 30) $iM4=40;
if ($iM >= 40) $iM4=50;
if ($iM >= 50) $iM4=60;

if ($data['user_level'] == 104) { $level = ' <img src=/infusions/online_users_panel/bot/admin.gif> '; $color = $online['online_boardccolor']; }
if ($data['user_level'] == 103) { $level = ' <img src=/infusions/online_users_panel/bot/admin.gif> '; $color = $online['online_superadmincolor']; }
if ($data['user_level'] == 102) { $level = ' <img src=/infusions/online_users_panel/bot/mod.gif> '; $color = $online['online_admincolor']; }
if ($data['user_level'] == 101) { $level = ' <img src=/infusions/online_users_panel/bot/member.gif> '; $color = $online['online_usercolor']; }

if ($lastseen < 60) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\" color=\"green\"> Ist auf der Page gerade Online <font color=\"red\"> <br><table width=\"250\"><td> $level </td><td bgcolor=\"green\" height=\"18\" width=\"230\"> <font color=\"#F0F0F0\"><center>O n l i n e</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"green\" height=\"18\"><td align='center'><font color='white' size=1><b>OnLine</b></font></td></table></a>";
elseif ($lastseen < 295) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\"> Logout seit<font color=\"red\"> $iM min $iS Sek. <br><table width=\"250\"><td> $level </td><td bgcolor=\"orange\" height=\"18\" width=\"230\"> <font color=\"yellow\"><center>seit < $iM3 min. LogOut</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"lightgray\" height=\"18\"><td align='center'><font color='gray' size=1><b>LogOut</b></font></td></table></a>";
elseif ($lastseen < 3598) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\"> Logoff seit<font color=\"red\"> $iM min $iS Sek. <br><table width=\"250\"><td> $level </td><td bgcolor=\"orange\" height=\"18\" width=\"230\"> <font color=\"yellow\"><center>seit < $iM4 min. Offline</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"orange\" height=\"18\"><td><font color='black' size=1><b><b>< $iM4 min.</b></font></td></table></a>";
elseif ($lastseen < 86390) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\"> Logoff seit<font color=\"red\"> $iH Std. $iM min $iS Sek. <br><table width=\"250\"><td> $level </td><td bgcolor=\"yellow\" height=\"18\" width=\"230\"> <font color=\"#AAAAAA\"><center>seit < $iH2 Std. Offline</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"yellow\" height=\"18\"><td><font color='black' size=1><b>< $iH2 Std.</b></font></td></table></a>";
elseif ($lastseen < 604800) $lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font size=\"2\"> Abwesend seit<font color=\"red\"> $iD Tg $iH:$iM:$iS Std<br><table width=\"250\"><td> $level </td><td bgcolor=\"lightblue\" height=\"18\" width=\"230\"> <font color=\"#CCCCCC\"><center>seit < $iD1 Tage Offline</center></font> </font> </td></table></td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"lightblue\" height=\"18\"><td><font color='black' size=1><b>< $iD1 Tage</b></font></td></table></a>";
else
if ($data['user_lastvisit'] == 0) {
$lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font color=\"lightgray\"size=\"2\">".$locale['aou102']."<br><table width=\"250\"><td>  <img src=\"".INFUSIONS."online_users_panel/bot/einsteiger.gif\"></td><td bgcolor=\"red\" height=\"18\" width=\"230\"> <font color=\"lightgray\"><center>".$locale['aou103']."</center></font> </font> </td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"red\" height=\"18\"><td align='center'><font color='white' size=1><b>Offline</font></b></td></table></a>";
} else {
$lastseen = "<a title='<table cellpadding=\"0\" width=\"305\"><td> $onus0 </td><td><font color=\"gray\"size=\"2\">Offline seit<font color=\"red\"> $iW Wo $iD Tg $iH:$iM:$iS Std<br><table width=\"250\"><td> $level </td><td bgcolor=\"red\" height=\"18\" width=\"230\"> <font color=\"white\"><center>seit $iD Tag(e) Offline</center></font> </font> </td></table>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"red\" height=\"18\"><td align='center'><font color='white' size=1><b>Offline</font></b></td></table></a>";
}



// Neu fuer PHP V7.02 ! Abfrage der Shoutbox Installation ! //
if (defined("DB_SHOUTBOX")) {
$shoutbix = "ShoutBox";
$shoutcount = dbcount("(shout_id)", DB_SHOUTBOX, "shout_name='".$data['user_id']."'");
} else {
$shoutbix = "";
$shoutcount = "";}
// END //





if ($data['user_lastvisit'] == 0) {
echo "<tr>\n<td class='online' align='left'>";
$deviceio1 = "<img src='".INFUSIONS."D1_device_ident_panel/images/".$data['user_device'].".png' alt='Device' width='12' height='12' style='vertical-align: middle;' />";
echo $deviceio1;
echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='<table class=\"onuser\"><td>$onus</td><td class=\"side-Info\"><center><font size=\"3\" face=verdana color=".$color."><b><strong>".trimlink($data['user_name'],18)."<br><font color=".$color." size=\"2\"> <img src=\"".INFUSIONS."online_users_panel/bot/einsteiger.gif\"></font></b></strong></font></center><br>Mitglied seit<font color=\"darkblue\"> ".showdate("longdate", $data['user_joined'])."</font><br>Zuletzt hier&nbsp;<font color=\"lightgray\">".$locale['aou102']."</font><br>Das war vor&nbsp;&nbsp;<font color=\"lightgray\">".$locale['aou103']."<br></font><font size=\"1\" color=\"blue\" face=\"Arial\">Beitr&auml;ge : </font> <font size=\"1\" color=\"black\" face=\"Arial\"> Forum </font> <font color=\"red\" size=\"1\"> ".$data['user_posts']." </font> <font size=\"1\" color=\"black\" face=\"arial\"> $shoutbix </font> <font size=\"1\" color=\"red\"> $shoutcount</center></font></font><br></td></table>' class='online' style='color: #".$color."'>";
} else {
echo "<tr>\n<td class='online' align='left'>";
$deviceio1 = "<img src='".INFUSIONS."D1_device_ident_panel/images/".$data['user_device'].".png' alt='Device' width='12' height='12' style='vertical-align: middle;' />";
echo $deviceio1;
echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='<table class=\"onuser\"><td>$onus</td><td class=\"side-Info\"><center><font size=\"3\" face=verdana color=".$color."><b><strong>".trimlink($data['user_name'],18)."<br><font color=".$color." size=\"2\">".$level."</font></b></strong></font></center><br>Mitglied seit<font color=\"darkblue\"> ".showdate("longdate", $data['user_joined'])."</font><br>Zuletzt hier&nbsp;<font color=\"red\"> ".showdate("longdate", $data['user_lastvisit'])."</font><br>Das war vor&nbsp;&nbsp;<font color=\"red\"> $iD Tage $iH:$iM:$iS Stunden<br></font><font size=\"1\" color=\"blue\" face=\"Arial\">Beitr&auml;ge : </font> <font size=\"1\" color=\"black\" face=\"Arial\"> Forum </font> <font color=\"red\" size=\"1\"> ".$data['user_posts']." </font> <font size=\"1\" color=\"black\" face=\"arial\"> $shoutbix </font> <font size=\"1\" color=\"red\"> $shoutcount</center></font></font><br></td></table>' class='online' style='color: #".$color."'>";
 }
echo "$onus2 ".trimlink($data['user_name'],13)."</a></td><td class='online' align='right'>".$lastseen."</td></tr>";
  }
 }
}
if ($online['online_showbots'] == 1) {
if ($online['online_showmembersnum'] == 0) echo "<table width='100%' cellpadding='0' cellspacing='0'>";

$bot_list = array(
$online['online_alexa'] => 'Alexa',
$online['online_exalead'] => 'Exalead',
$online['online_excite'] => 'Excite',
$online['online_fast'] => 'Fast',
$online['online_fireball'] => 'Fireball',
$online['online_google'] => 'Google',
$online['online_lycos'] => 'Lycos',
$online['online_msn'] => 'MSN',
$online['online_yahoo'] => 'Yahoo!'
);

foreach ($bot_list as $bot_time => $bot_name) {
if ((time() - $online['online_showbotstime']) <= $bot_time) echo "<tr>\n<td class='online' align='left'><a title='<table width=292 class=online><td><img src=".INFUSIONS."online_users_panel/images/8812.gif width=100 height=100></td><td class=side-Info><center><img height=35 width=182 src=".INFUSIONS."online_users_panel/bot/".$bot_name.".gif><br><font size=1 color=green>ROBOT SUCHMASCHINE</font></b><br><br><font size=1 face=Arial>Der Suchmaschinenschn&uuml;ffler<br>Es wird nach dir gesucht</font></center><br></td></table>'><img src=".INFUSIONS."online_users_panel/images/8812.gif width=20 height=20><strong> ".$bot_name."</strong></a></td><td class='side-small' align='right'><a title='<img src=".INFUSIONS."online_users_panel/bot/".$bot_name.".gif width=100 height=15> <font size=2 color=green> ist Online <font color=red>um zu schn&uuml;ffeln</font></font>'><table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60\" bgcolor=\"transparent\" height=\"18\"><td><img height='14' width='56' src='".INFUSIONS."online_users_panel/images/robot.png' border='0' name='Robot' /></a></td></table></td></tr>";
}
}

if ($online['online_showmembersnum'] != 0 || $online['online_showbots'] == 1) echo "</div></table><hr>\n";

if ($online['online_showguests'] == 0 && $online['online_showmembers'] == 0 && $online['online_showmembersnum'] == 0) echo "";
elseif ($online['online_showallmembers'] != 0 || $online['online_shownewmember'] != 0) echo "\n";
if ($online['online_showallmembers'] == 1) echo THEME_BULLET." ".$locale['global_014'].": ".number_format(dbcount("(user_id)", DB_USERS, "user_status<='1'"))."<br />\n";
if (iADMIN && checkrights("M") && $settings['admin_activation'] == "1") {
echo THEME_BULLET." <a href='".ADMIN."members.php".$aidlink."&amp;status=2' class='side'>".$locale['global_015']."</a>";
echo ": ".dbcount("(user_id)", DB_USERS, "user_status='2'")."<br />\n";
}

if ($online['online_shownewmember'] == 1) {
$data = dbarray(dbquery("SELECT user_id,user_name,user_avatar FROM ".DB_USERS." WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
if ($data['user_avatar'] != "") {
            $author = $go('wqkgYnkgRGlnaUZBUeKEog==');
      $onus = "<img src=\"".IMAGES."avatars/".$data['user_avatar']."\" border=\"0\" width=\"100\" height=\"100\">";
   } else {
            $author = $go('wqkgYnkgRGlnaUZBUeKEog==');
            $onus = "<img src=\"".INFUSIONS."online_users_panel/images/new.gif\" border=\"0\" width=\"100\" height=\"100\">";
   }
echo "<hr>$info &nbsp; &nbsp;<a title='<font class=online size=\"2\"><center>".$loacle['aou199']."&nbsp;".trimlink($data['user_name'],30)."</font><img src=\"".INFUSIONS."online_users_panel/images/smile.gif\"></center>'><font size=2>".$locale['aou208']." </font></a><center><br><b><em><a href=\"".BASEDIR."profile.php?lookup=".$data['user_id']."\" title='<table><td> $onus </td><td class=\"side-Info\" width=\"182\" height=\"98\"><center><img src=\"".INFUSIONS."online_users_panel/images/smile.gif\"> <font face=\"Verdana\" size=\"2\" color=\"#FFFFFF\"><b>".trimlink($data['user_name'],30)." </font><br><br> <img src=\"".INFUSIONS."online_users_panel/bot/einsteiger.gif\"></b></center><br><font size=\"3\" color=\"blue\"><strong><center> Herzlich Willkommen</EM></FONT></font></CENTER></td></table>' class=\"side\" style=\"color: #".$online['online_usercolor']."\">";
echo trimlink($data['user_name'],13)."</a><br>";
}










echo"</div><!-- $author --><br>";
closeside();
?>





Für Rückfragen stehe ich gerne zur Verfügung.

Mit freundlichen Grüßen
JP
Verwarnstatus: warningwarningwarningwarning
  x 1
 
https://webmusik.net
Deleted_User
super, Danke
so schauts richtig aus^^

nu mal gucken wo du es eingebaut hast.

Schönen Sonntag wünsch ich

Verwarnstatus: warningwarningwarningwarning
  x 1
 
JP_ONAIR
Du des isch ganz Einfach

VORHER:
Download Code  Code
if ($data['user_lastvisit'] == 0) {
echo "<tr>\n<td class='online' align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='<table class=\"onuser\"><td>$onus</td><td class=\"side-Info\"><center><font size=\"3\" face=verdana color=".$color."><b><strong>".trimlink($data['user_name'],18)."<br><font color=".$color." size=\"2\"> <img src=\"".INFUSIONS."online_users_panel/bot/einsteiger.gif\"></font></b></strong></font></center><br>Mitglied seit<font color=\"darkblue\"> ".showdate("longdate", $data['user_joined'])."</font><br>Zuletzt hier&nbsp;<font color=\"lightgray\">".$locale['aou102']."</font><br>Das war vor&nbsp;&nbsp;<font color=\"lightgray\">".$locale['aou103']."<br></font><font size=\"1\" color=\"blue\" face=\"Arial\">Beitr&auml;ge : </font> <font size=\"1\" color=\"black\" face=\"Arial\"> Forum </font> <font color=\"red\" size=\"1\"> ".$data['user_posts']." </font> <font size=\"1\" color=\"black\" face=\"arial\"> $shoutbix </font> <font size=\"1\" color=\"red\"> $shoutcount</center></font></font><br></td></table>' class='online' style='color: #".$color."'>";
} else {
echo "<tr>\n<td class='online' align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='<table class=\"onuser\"><td>$onus</td><td class=\"side-Info\"><center><font size=\"3\" face=verdana color=".$color."><b><strong>".trimlink($data['user_name'],18)."<br><font color=".$color." size=\"2\">".$level."</font></b></strong></font></center><br>Mitglied seit<font color=\"darkblue\"> ".showdate("longdate", $data['user_joined'])."</font><br>Zuletzt hier&nbsp;<font color=\"red\"> ".showdate("longdate", $data['user_lastvisit'])."</font><br>Das war vor&nbsp;&nbsp;<font color=\"red\"> $iD Tage $iH:$iM:$iS Stunden<br></font><font size=\"1\" color=\"blue\" face=\"Arial\">Beitr&auml;ge : </font> <font size=\"1\" color=\"black\" face=\"Arial\"> Forum </font> <font color=\"red\" size=\"1\"> ".$data['user_posts']." </font> <font size=\"1\" color=\"black\" face=\"arial\"> $shoutbix </font> <font size=\"1\" color=\"red\"> $shoutcount</center></font></font><br></td></table>' class='online' style='color: #".$color."'>";
 }




NACHER:
Download Code  Code
if ($data['user_lastvisit'] == 0) {
echo "<tr>\n<td class='online' align='left'>";
$deviceio1 = "<img src='".INFUSIONS."D1_device_ident_panel/images/".$data['user_device'].".png' alt='Device' width='12' height='12' style='vertical-align: middle;' />";
echo $deviceio1;
echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='<table class=\"onuser\"><td>$onus</td><td class=\"side-Info\"><center><font size=\"3\" face=verdana color=".$color."><b><strong>".trimlink($data['user_name'],18)."<br><font color=".$color." size=\"2\"> <img src=\"".INFUSIONS."online_users_panel/bot/einsteiger.gif\"></font></b></strong></font></center><br>Mitglied seit<font color=\"darkblue\"> ".showdate("longdate", $data['user_joined'])."</font><br>Zuletzt hier&nbsp;<font color=\"lightgray\">".$locale['aou102']."</font><br>Das war vor&nbsp;&nbsp;<font color=\"lightgray\">".$locale['aou103']."<br></font><font size=\"1\" color=\"blue\" face=\"Arial\">Beitr&auml;ge : </font> <font size=\"1\" color=\"black\" face=\"Arial\"> Forum </font> <font color=\"red\" size=\"1\"> ".$data['user_posts']." </font> <font size=\"1\" color=\"black\" face=\"arial\"> $shoutbix </font> <font size=\"1\" color=\"red\"> $shoutcount</center></font></font><br></td></table>' class='online' style='color: #".$color."'>";
} else {
echo "<tr>\n<td class='online' align='left'>";
$deviceio1 = "<img src='".INFUSIONS."D1_device_ident_panel/images/".$data['user_device'].".png' alt='Device' width='12' height='12' style='vertical-align: middle;' />";
echo $deviceio1;
echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='<table class=\"onuser\"><td>$onus</td><td class=\"side-Info\"><center><font size=\"3\" face=verdana color=".$color."><b><strong>".trimlink($data['user_name'],18)."<br><font color=".$color." size=\"2\">".$level."</font></b></strong></font></center><br>Mitglied seit<font color=\"darkblue\"> ".showdate("longdate", $data['user_joined'])."</font><br>Zuletzt hier&nbsp;<font color=\"red\"> ".showdate("longdate", $data['user_lastvisit'])."</font><br>Das war vor&nbsp;&nbsp;<font color=\"red\"> $iD Tage $iH:$iM:$iS Stunden<br></font><font size=\"1\" color=\"blue\" face=\"Arial\">Beitr&auml;ge : </font> <font size=\"1\" color=\"black\" face=\"Arial\"> Forum </font> <font color=\"red\" size=\"1\"> ".$data['user_posts']." </font> <font size=\"1\" color=\"black\" face=\"arial\"> $shoutbix </font> <font size=\"1\" color=\"red\"> $shoutcount</center></font></font><br></td></table>' class='online' style='color: #".$color."'>";
 }




Für Rückfragen stehe ich gerne zur Verfügung.

Mit freundlichen Grüßen
JP
Verwarnstatus: warningwarningwarningwarning
  x 1
 
https://webmusik.net
Rolly8-HL
Hallo habe in der Locale diesen Eintrag gefunden
Download Code  Code
$locale['uf_d1di_001'] = "Ger&auml;teerkennung:";



wozu soll der gut sein?

Habe das ganze System durchsucht aber nichts gefunden wozu es benötigt wird?


Gruß Rolly8-HL
Was für Andere Wichtig ist muss für mich nicht genauso Wichtig sein!
Bin Dickkopf Unbelehrbar mache aus Protest nicht das was andere für Richtig halten!
Das gibt einem zu Denken oder?
Verwarnstatus: warningwarningwarningwarning
 
https://rolly8-hl.de
JP_ONAIR
Für das Profilfeld Smile


Für Rückfragen stehe ich gerne zur Verfügung.

Mit freundlichen Grüßen
JP
Verwarnstatus: warningwarningwarningwarning
 
https://webmusik.net
Rolly8-HL
Wohl kaum, es wird da angezeigt aber nicht gebraucht, die Anzeige im Profile funktioniert ja trotzdem.
Wenn ich da "Hallo Banane" hin schreibe wird das ja nicht so ausgegeben.


.


Gruß Rolly8-HL
Was für Andere Wichtig ist muss für mich nicht genauso Wichtig sein!
Bin Dickkopf Unbelehrbar mache aus Protest nicht das was andere für Richtig halten!
Das gibt einem zu Denken oder?
Verwarnstatus: warningwarningwarningwarning
 
https://rolly8-hl.de
DeeoNe
Der sollte für das Profilfeld sein, zum mehrsprachigen nutzen, aber habe es wohl im Profilfeld direkt eingetragen und nicht als Locale dahin definiert.


www.deeone.de/signaturen/deeone_1.png
Verwarnstatus: warningwarningwarningwarning
 
https://www.deeone.de
Rolly8-HL
Habe das jetzt nicht ganz verstanden was auch nicht so Wichtig ist, da ich eine andere Theme benutze wo nicht die profile.php sondern eine profile.tpl.php abgerufen wird erhielt ich immer den Fehler im Log
Undefined index: uf_device

Habe die jetzt mit anderen user_fields verglichen und festgestellt das die anders aufgebaut sind.
Habe es jetzt so eingetragen
Download Code  Code
$locale['uf_device'] = "Ger&auml;teerkennung";
$locale['uf_device_desc'] = "MobileANDWeb Auslesung";




Inc. auch die Änderung in der user_device_include.php und user_device_include_var.php damit ist bei mir jetzt der Fehler behoben.


.


Gruß Rolly8-HL
Was für Andere Wichtig ist muss für mich nicht genauso Wichtig sein!
Bin Dickkopf Unbelehrbar mache aus Protest nicht das was andere für Richtig halten!
Das gibt einem zu Denken oder?
Verwarnstatus: warningwarningwarningwarning
 
https://rolly8-hl.de
Springe ins Forum:
Ähnliche Themen
Thema Forum Antworten Letzter Beitrag
D1 Device Ident Allgemeines 15 07-11-2021 17:05
D1 Device Ident 1.0.0 D1 Mods & Infusionen 13 28-02-2014 22:27
D1 Device Ident in online user panel D1 Mods & Infusionen 3 28-02-2014 13:49
Sämtliche Grafiken und Texte dieser Seite unterliegen dem Urheberrecht und dürfen nicht ohne Erlaubnis kopiert werden!!!