---------------------------------------------------------------------------< //> Simple counter version 1.0 < //> < //> You may use this counter script anywhere you want to, modified in any way < //> to suit your needs provided this header text is not removed. < //> < //> You can register for upgrades by sending your name and e-mail to me at < //> ray@rjj.uk.co < //> < //> Other scripts will be available from time to time, and you can get them < //> Direct from my website at www.webdesigntoolz.co.uk < //>---------------------------------------------------------------------------< //> Configure script variables < //> < //> Modify $counterfile to point at the location of your text counter file. < //> Modify $image directory to point at your counter image directory. Include < //> the backslash. < //> Modify $digits to specify how many digits you want. There is no limit. < //> If you want to use your own images, you need to overwrite the ones < //> provided with this script. They are called '0.gif' to '9.gif'. You can < //> use any image type you like, jpeg, png, for example, but you will need to < //> modify the file extensions in the two loops as indicated below. < //>---------------------------------------------------------------------------< $counterfile = "counter.dat"; $imagedirectory = "/imagenes/"; $digits = 4; $opencount = @fopen($counterfile,"r"); $currentcount = fread($opencount, filesize($counterfile)); fclose($opencount); $newcount = $currentcount; if (!(isset($avion))) { // Cookie expira en 1 hora (3600 seg) setcookie("avion", "Entro", time()+3600, "/", "virtualiners.cl"); ++$newcount; } $numdigits = strlen($newcount); if ($numdigits > $digits) { $newcount = "0"; } else { } $actdigits = strlen($newcount); //>---------------------------------------------------------------------------< //> To use images other than gifs, you will need to modify the file extension < //> after the 'else' statement in the following loop. < //>---------------------------------------------------------------------------< for ($a=0; ; $a++) { if ($a == $digits) { break; } else { $img[$a] = "$imagedirectory"; $img[$a] .= "0.gif"; } } //>---------------------------------------------------------------------------< //> To use images other than gifs, you will need to modify the file extension < //> after the $showdig variable in the following loop. < //>---------------------------------------------------------------------------< for ($a=0; ; $a++) { if ($a == $actdigits) { break; } else { $showdig = substr($newcount, $a, 1); $img[$digits - $actdigits + $a] = "$imagedirectory"; $img[$digits - $actdigits + $a] .= "$showdig.gif"; } } $displayblock = ""; for ($a=0; $a < $digits; $a++){ $displayblock .= ""; } if (!(isset($avion))) { $opennewcount = @fopen($counterfile,"w"); @fwrite($opennewcount, $newcount); @fclose ($opennewcount); } ?> main

Bienvenidos a Virtualiners.

Este sitio esta dedicado a todos los fanáticos de la aviación, y a todos cuyo interés, o pasatiempo sea la fotografía aeronáutica.

Aquí podrán encontrar fotografías de aviones tomadas en el Aeropuerto Internacional de Santiago (SCL / SCEL).

Las fotografías nacionales las he divido por aerolíneas y sus respectivas flotas por matrícula de la Aeronave.

Las Fotografías internacionales estan ordenadas por Aerolíneas.

Y las Fotografías varias están ordenadas por categoría.

Optimizado para Mozila FIREFOX a una resolución de 1024x768
Sitio diseñado y construido por Carlos Valle C.
Todos los Derechos Reservados 2004-2007
Guía de Spotting en SCL / SCEL