TSONOFF V1.1 - © 16.11.2014 by Erik Schauer - www.funkfreunde-essen.de


Sinn dieses Scripts: Online-/Offline-Anzeige eines Teamspeak2-Users mittels dessen LOGINNAME(N)

Ausgabe wenn User online:(oder eigene Bilddatei, siehe unten)
Ausgabe wenn User offline:(oder eigene Bilddatei, siehe unten)


Syntax:
Bei EINEM LOGINNAMEN des Users: tsonoff.php?user=LOGINNAME
Bei ZWEI LOGINNAMEN des Users: tsonoff.php?user=LOGINNAME&user2=LOGINNAME2
Bei DREI LOGINNAMEN des Users: tsonoff.php?user=LOGINNAME&user2=LOGINNAME2&user3=LOGINNAME3
zum Beispiel: tsonoff.php?user=13RF130


Als PHP-Include mit EINEM: <?php include('http://www.funkfreunde-essen.de/tsonoff.php?ip=SERVER_IP&udp=UDP_PORT&query=QUERY_PORT&user=LOGINNAME'); ?>
Als PHP-Include mit ZWEI: <?php include('http://www.funkfreunde-essen.de/tsonoff.php?ip=SERVER_IP&udp=UDP_PORT&query=QUERY_PORT&user=LOGINNAME&user2=LOGINNAME2'); ?>
Als PHP-Include mit DREI: <?php include('http://www.funkfreunde-essen.de/tsonoff.php?ip=SERVER_IP&udp=UDP_PORT&query=QUERY_PORT&user=LOGINNAME&user2=LOGINNAME2&user3=LOGINNAME3'); ?>
Beispiel mit EINEM: <?php include('http://www.funkfreunde-essen.de/tsonoff.php?ip=88.80.197.64&udp=8767&query=51234&user=13RF130'); ?>


NEU: Eigene Online-/Offline-Bilder tsonoff.php?onlinegif=URL&offlinegif=URL&user=LOGINNAME
Beispiel: <?php include('http://www.funkfreunde-essen.de/tsonoff.php?ip=88.80.197.64&udp=8767&query=51234&onlinegif=http://domain.de/pic/online.gif&offlinegif=http://domain.de/pic/offline.gif&user=13RF130'); ?>