?*The rasmuslad horse Create your metroFLOG
 
2010

2008
2007
 
USERS
Username:
Password:
Remember me
 
 
01/05/2009 report photo | permalink
 
metroflog





metroFLOG


.archivos { font-weight:normal; margin-left: 40px }
select { margin-left: 3px }


var carpeta = "";
var link_carpeta = "";
var text_agregandoimagen = "agregando imagen";
var text_subiendofoto = "Subiendo foto, aguarde...";
var text_finalizado = "Transferencia finalizada";
var text_clickcontinuar = "Haga click aquí para finalizar";

function GetObj(objName) {
if (document.all) {
obj = document.all(objName);
} else if (document.getElementById) {
obj = document.getElementById(objName);
} else if (document.layers) {
obj = document.layers(objName);
}
return obj;
}

iframe_number = 1;
uploaded_files = 0;
uploaded_files_success = 0;
ActualHTML = "";
function StartUpload(objForm) {
// Obtiene el nombre del documento a subir
fullpath = objForm.file.value;
if (fullpath.indexOf('\\'))
temp_filename = fullpath.split('\\');
else
temp_filename = fullpath.split('/');
filename = temp_filename[temp_filename.length-1];

// Crea el nuevo iframe
if (document.all) {
newiframe = document.createElement('');
} else {
newiframe = document.createElement('iframe');
newiframe.setAttribute('name', 'iframe'+iframe_number);
}
newiframe.setAttribute('width', 0);
newiframe.setAttribute('height', 0);
newiframe.setAttribute('frameborder', 0);
objUpload_list = document.getElementById('files_upload_iframes');
objUpload_list.appendChild(newiframe);

// Expone que esta subiendo el documento
newdiv = document.createElement('div');
newdiv.setAttribute('id', 'div'+iframe_number);
newdiv.setAttribute('class', 'archivos');
newdiv.setAttribute('className', 'archivos');
newdiv.setAttribute('align', 'left');
newdiv.innerHTML = filename + ' - ' + text_agregandoimagen + '...';
objUpload = document.getElementById('files_upload');
if (iframe_number == 1) {
if (document.all) {
descdivIE = objUpload.childNodes[0];
descdivIE.style.display="none";
} else {
descdivFF = GetObj('descdiv');
descdivFF.style.display="none";
}
}
objUpload.appendChild(newdiv);
startPuntitos(iframe_number); // Animacion de los tres puntos

// Animacion de progreso
dataTotalFiles = GetObj('fotos_total');
dataTotalFiles.innerHTML = iframe_number;
objProgreso = GetObj('progreso');
if (objProgreso.style.display != '') {
objProgreso.style.display = '';
} else {
objImagen = GetObj('upload_image');
objImagen.src = "http://ww2.metroflog.com/images/upload.gif";
objMensaje = GetObj('fotos_mensaje');
objMensaje.innerHTML = text_subiendofoto;
}

// Comienza el proceso de subir la foto
objForm.target = "iframe" + iframe_number;
objForm.iframenumber.value = iframe_number;
objForm.submit();

objForm.reset();

iframe_number++;
}

function UploadFinished(success) {
// Computa los archivos subidos y cuales tuvieron exito
uploaded_files++;
if (success) {
uploaded_files_success++;

objCarpetas = GetObj('carpeta');
strCarpeta = objCarpetas[objCarpetas.selectedIndex].text;
for (c = strCarpeta.length-1; c >= 0 && strCarpeta.substr(c, 1) != "("; c--) { }
if (c > -1) {
tmp_cantfotos = parseInt(strCarpeta.substr(c+1, (strCarpeta.length-1)-(c+1)), 10);
strCarpeta = strCarpeta.substr(0, c) + '(' + (tmp_cantfotos+1).toString() + ')';
objCarpetas[objCarpetas.selectedIndex].text = strCarpeta;
}
}

// Muestra la nueva cantidad de archivos subidos en la barra de progreso
dataTotalFiles = GetObj('fotos_subidas');
dataTotalFiles.innerHTML = uploaded_files_success;

total_files = iframe_number-1;

if (uploaded_files == total_files) {
// Quita la animacion y mensaje de progreso y pone los de finalizacion
objImagen = GetObj('upload_image');
objImagen.src = "http://ww2.metroflog.com/images/upload2.gif";
objMensaje = GetObj('fotos_mensaje');
objMensaje.innerHTML = '' + text_finalizado + '' + text_clickcontinuar + '';
}
}

function startPun
 
Guest Book (12)
 
ema_alesana
ema_alesana @ 01-05-2009 said:
p
r
i
m
e
r
a
s

KARELITACHULA
KARELITACHULA @ 01-05-2009 said:
second

¿????????????????????????

javier_uriel
javier_uriel @ 01-05-2009 said:
que ondas que

roolloo

aquid epaso por tumetro para

dejar mi marca bueno ps me

boy al rato te cuidas bye

kossmo_pucka @ 01-05-2009 said:
amigo0o0o
te mega
adoro
asi muchote
kieor0 ke te cuides
yy pues
siii pùedes
elimina
tu firma
numero0 2
si kieres
eee
si kieres
pero0 bueno0
te ado0ro0
asiii
muchiiioooooteee
te adoro
amigito0 hermoso0
muack!!!!!!

guanda_cossmo @ 01-11-2009 said:
asy ola me recuerdass

guanda_cossmo @ 01-11-2009 said:
soy el ke te pidio limosna el otrodia aya

guanda_cossmo @ 01-11-2009 said:
en la caye pa un taco y no medistes ningun peso

guanda_cossmo @ 01-11-2009 said:
jejej e no mentyrass asy pos a ky pro poiink 0000sy xrafor passxx juegos asy ten my _________aysta salxxs bye t kuixxxdax

guanda_cossmo @ 01-11-2009 said:
next

guanda_cossmo @ 01-11-2009 said:
pazzz

guanda_cossmo @ 01-11-2009 said:
I LOVE--GAYINA Y KORBATA SUMALOS EN INGLES JAJAJAJA Y BERAS UN RESULTADO INTERESANTE

guanda_cossmo @ 01-11-2009 said:
T AMO BYE T KUIDAS TE BEO MAÑANA O SI KON UN CARLOXXX V EN LA MANO SY NO NO JJEJEJEJE

From

Message

Access information (only registered users - your link will appear)
username password     remember me
 
< PreviousNext >