  |  |  |  | Download and Version info |  |  |  |  |  |  | rollover2.php can be downloaded and the latest version info can be seen [here] . Feel free to link to this page, if you like it.  rollover2.php © 2002 by knito |  |  |  |  |
 |  |  |  |  |  | Features |  |  |  |  |  |  |
- Die Klasse wird nur einmal für alle Buttons aufgerufen.
The class is instantiated only once for all buttons.
- Der preload() erzeugt alle erforderlichen Javascript-Einträge, auch das
Einbinden von image.js und der <script> Sektion.
The preload() inserts all necessary javascript entries including
image.js and the <script> section.
- Der Hint-Text (Alt) wird auch in der Statuszeile ausgegeben.
The hint text is shown in the status bar.
- Bis zu drei verschiedene Statusbilder können pro Button verwaltet werden.
Managing up to three different status images per button.
- W3C Tidy Proof
|  |  |  |  |
  |  |  |  | Links to pages which use rollover2.php |  |  |  |  |  |  |
Em@il
your link to me, I will add it right here, if it points to a rollover2-page.
|

|
|
#######################################################
# Besucherzähler von Andrepolo
# bzaehler_v 1.03
#######################################################
# Info: andrepolo@gmx.de
# I-Net: http://www.andrepolo.de
# Dieses Script ist Freeware !!!
#######################################################
//Deine Einstellungen
$numip = "10"; //Anzahl der IP-Nummern, die gespeichert werden sollen
$font = "verdana"; //gewuenschte Schriftart eingeben
$fontsize = "2"; //gewuenschte Schriftgroesse eingeben / Standard ist 2
$fontcolor = "#000000"; //gewuenschte Schriftfarbe eingeben
$datum = "May 9, 2002"; // Datum, ab wann gezählt wird ( z.B. 05.07.2001 od. 5. Juli 2001)
#######################################################
// Setzen der 'file dir'
$anzdir="counter.txt" ;
$ipdir= "counter_ip.txt" ;
#######################################################
// Nur editieren, wenn du weißt was du tust !!!
if (file_exists($anzdir) AND ($ipdir))
{
#global $REMOTE_ADDR, $ipdata, $userip1;
$userip = $REMOTE_ADDR ;
$ipfile = fopen($ipdir,"r+");
$ipfile1 = fgets($ipfile,200);
$ipdata = explode(":",$ipfile1);
# inserted by knito for php3
$gefunden = false;
while (list($key, $val) = each($ipdata))
{
if( $userip == $val )
{
$gefunden = true;
break;
}
}
if( $gefunden ) // by knito for php3 (in_array($userip, $ipdata))
{
#global $nummer;
$anzahl = fopen("$anzdir", "r+") ;
$nummer = fgets($anzahl,9);
fclose($anzahl);
}
else
{
#global $num, $userip;
$num = count($ipdata);
if ($num <= $numip)
{
fputs($ipfile,$userip.":");
fclose($ipfile);
$anzahl = fopen("$anzdir", "r+");
$nummer = fgets( $anzahl, 9 );
$nummer++;
fseek($anzahl, 0);
fputs( $anzahl, $nummer );
fclose($anzahl);
}
else
{
global $ipdata9, $push;
$pop = array_pop($ipdata);
$ipdata = array_reverse($ipdata);
array_push($ipdata,$userip);
$ipdata = array_reverse($ipdata);
$userip2 = implode(":",$ipdata);
$ipfile = fopen($ipdir,"w+");
fputs($ipfile,$userip2);
fclose($ipfile);
$anzahl = fopen("$anzdir", "r+");
$nummer = fgets( $anzahl, 9 );
$nummer++;
fseek($anzahl, 0);
fputs( $anzahl, $nummer );
fclose($anzahl);
}
}
}
else
{
if (file_exists($ipdir))
{
#global $nummer;
$fo = fopen($anzdir,"w+");
fputs($fo, 1);
$nummer = 1;
}
else
{
#global $nummer;
$foip = fopen($ipdir, "w+");
fputs($foip, $REMOTE_ADDR.":");
fclose($foip);
$foan = fopen($anzdir,"w+");
fputs($foan, 1);
$nummer = 1;
}
}
$date = addslashes($datum);
echo "".
"$nummer visitors since $date counted with bzaehler_v 1.03 from ".
'www.andrephp.de';
?> | |  |  |  |  |  |  |  |  |  | L'école St-Vincent 20, Rue de Gex 01210 Ferney Voltaire |  |  |  |  |
|