Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> opis gg na www
vow
post 7.02.2004, 16:54:09
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 24.01.2004

Ostrzeżenie: (0%)
-----


Tak jak w temacie tongue.gif szukam skryptu ktory pokazuje opis z gadugadu na www
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
peterj
post 9.02.2004, 16:54:15
Post #2





Grupa: Zarejestrowani
Postów: 121
Pomógł: 0
Dołączył: 9.02.2004
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


Możesz zastosować skrypt php wyświetlający status GG, autorem jest cezi:
[php:1:0658f2d2f1]<?php

# autor - cezi
set_time_limit(0);

function pokaz_status_gg($nr, $error, $BLAD, $ONLINE, $NIEDOSTEPNY, $AWAY, $LineALL="")
{
$str = 'http://www.gadu-gadu.pl/users/status.asp?id='.$nr.'&styl=2';
if(!@fopen($str, 'r'))
{
print $error;
}
else{
$foo = fopen($str, 'r');
$LineAll = fgets($foo, 300);
$LineAll = str_replace('0', $BLAD, $LineAll);
$LineAll = str_replace('1', $NIEDOSTEPNY, $LineAll);
$LineAll = str_replace('2', $ONLINE, $LineAll);
$LineAll = str_replace('3', $AWAY, $LineAll);
fclose($foo);
}


return eregi_replace("(.*)", "<font style='font-family:verdana;color:darkblue;font-size:12px'>1</font>", @$LineAll);
};

print pokaz_status_gg('3910481','error', 'Blad GG', 'Jestem smile.gif','Nie ma mnie sad.gif','Jestem On-line ale chwilowo wyszedlem');

?>[/php:1:0658f2d2f1]
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 18:56