Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var newLinkMarkup = document.createElement('link');
- newLinkMarkup.setAttribute('rel', 'stylesheet');
- newLinkMarkup.setAttribute('href', 'https://cdn.rawgit.com/fancyapps/fancyBox/master/source/jquery.fancybox.css');
- newLinkMarkup.setAttribute('type', 'text/css');
- $("#heado").append(newLinkMarkup);
- /* Variables globales du script */
- var filter_people_in_room = "", showTimeAndDate = true, betterSearch = true, picLightbox = true, betterTown = true;
- /* Corriger la police moche de base */
- var styleDiv = document.createElement("style");
- styleDiv.innerHTML = "@font-face {font-family: 'cocofix'; src: url('cocofix.ttf');}"
- styleDiv.setAttribute("type", "text/css");
- $("#heado").append(styleDiv);
- /* Ignorer personnes en salon*/
- function shouldFilter(nickname)
- {
- if (filter_people_in_room != "")
- {
- var FilterRegExp = new RegExp("(" + filter_people_in_room + ")", "gi");
- if(nickname.match(FilterRegExp))
- {
- return true;
- }
- }
- return false;
- }
- /* Changement total fonctionnement coco
- function agix(url, tg) {
- $.get(url, function(data) {
- var processParameter = response.substring(9, response.length - 2);
- process1(processParameter);
- });
- } */
- /* Robot */
- function randomIntFromInterval(min,max)
- {
- return Math.floor(Math.random()*(max-min+1)+min);
- }
- String.prototype.replaceAt=function(index, character) {
- return this.substr(0, index) + character + this.substr(index+character.length);
- }
- var timus = null;
- var timecrown = -1;
- var myinterval = 15;
- var robotMode = false;
- //loadJavascript("http://romainvaleri.online.fr/javascript/fonctions.js");
- var phrases = [";03))))))))))))" , ";35))))))))))))" , ";38))))))))))))" ,";25))))))))))))" , "https://www.youtube.com/watch?v=ggnc2H34ULU" , ";02))))))))))))" , ";51))))))))))))" , ";26" , ";38" , ";39))))))))))))" , "https://www.youtube.com/watch?v=7IqvO5Ny8Qw" , ";26" , ";01" , "https://www.youtube.com/watch?v=795Msr_nffM" , ";41" , "https://www.youtube.com/watch?v=6ifMGqQLtxc" , ";03" ,"http://youtu.be/gnY1gjt7voM" , ";46" , ";00" , "https://www.youtube.com/watch?v=vmI2ohiU8l4" , ";17))))))))))))" , ";23))))))))))))"];
- function crown()
- {
- clearTimeout(timus);
- timecrown++;
- if(salstat.indexOf(6) < 0 && salstat.indexOf(7) < 0)
- {
- var s1 = salnom[Math.floor(Math.random()*salnom.length)]+": "+ (robotMode ? (Phrase().corps) : (phrases[timecrown % phrases.length]));
- if(robotMode)
- s1 += " ;" + randomIntFromInterval(1,30);
- var fuo = "";
- if (myXP > 3) {
- var moody = mymood.length;
- if (moody < (myXP + 1)) {
- mymood = writo(mymood);
- fuo = mymood + "-1-";
- }
- }
- s1 = transmiley(s1);
- var s2 = writo(s1);
- agir("95"+aqui+mycolo+fuo+s2);
- aqui=999999;
- }
- var randA = randomIntFromInterval(-5, 5);
- timus = setTimeout(crown, (myinterval + randA) * 1000);
- }
- function stopCrown()
- {
- clearTimeout(timus);
- timecrown = 0;
- }
- function changePhrases()
- {
- phrases = $("#robotTextBox").val().splice('|');
- }
- /* Recherche fakes */
- function openav(numires) {
- if (ressex[numires] > 4) {
- showy(resID[numires], 10);
- document.getElementById("showav").style.visibility = "visible";
- }
- }
- function openDepSearch() {
- var ville = tabtown[ongleto];
- if (ville.indexOf("département") > -1)
- openIframe("https://www.google.fr/search?q=" + ville.substring(ville.indexOf("département")));
- }
- function showAvGoogle() {
- var av = document.getElementById("showav").src;
- openIframe("https://www.google.fr/searchbyimage?&image_url=" + av);
- }
- function showPicGoogle() {
- var av = document.getElementById("autrui").src;
- openIframe("https://www.google.fr/searchbyimage?&image_url=" + av);
- }
- /* Interface Scripts */
- var cocoLaunchTime = new Date();
- function refreshStats() {
- var currentDate = new Date();
- var elapsedTime = (currentDate - cocoLaunchTime) / 60000;
- elapsedTime = Math.floor(elapsedTime);
- var totalTime = parseInt(mytime) + elapsedTime;
- document.getElementById("timeSpanScript").innerHTML = "Minutes de connexion : " + "Connexion initiale " + mytime + " + Temps passé " + elapsedTime.toString() + " = " + totalTime.toString();
- document.getElementById("infosSpanScript").innerHTML = "Couronnes : " + myXP + "";
- }
- function sendPictureLink() {
- var saisie = window.prompt("Entrer le texte (sans espaces) :");
- if(saisie!=null)
- {
- var p = 0; var goud = ""; var ling = "";
- p = ongleto; goud = "~_3"+saisie;
- ling = "87" + tabnickID[p] + roulix + goud;
- postage(transformix(goud, 1001, myver), p);
- agir(ling);
- }
- }
- function sendPictureFromOtherInPv(){var saisie=window["\x70\x72\x6F\x6D\x70\x74"]("\x45\x6E\x74\x72\x65\x72\x20\x6C\x65\x20\x6C\x69\x65\x6E\x20\x76\x65\x72\x73\x20\x6C\x27\x69\x6D\x61\x67\x65\x20\x28\x63\x6F\x6D\x6D\x65\x6E\x63\x65\x20\x70\x61\x72\x20\x75\x6E\x20\x63\x68\x69\x66\x66\x72\x65\x29\x20\x3A");if(saisie!=null){var p=0;var goud="";var ling="";p=ongleto;goud="\x7E\x5F\x31"+saisie+"\x43\x6F\x70\x79\x72\x69\x67\x68\x74\x53\x77\x69\x70\x65\x4D\x65\x4C\x65\x66\x74";ling="\x38\x37"+tabnickID[p]+roulix+goud;postage(transformix(goud,1001,myver),p);agir(ling);} ;} ;
- function sendPictureFromOtherInSalon() {
- var saisie = window.prompt("Entrer le lien vers l'image (commence par un chiffre) :");
- if(saisie!=null)
- {
- agir("86999999" + mycolo + "~_1"+saisie);
- }
- }
- function openIframe(url) {
- //$.fancybox.open({ title: "Recherche Google", href: url, type: "iframe"});
- window.open(url);
- }
- function sendPictureFromOther() {
- if (tabnickID[ongleto] < 1001)
- sendPictureFromOtherInSalon();
- else
- sendPictureFromOtherInPv();
- }
- /* Recherche OP et Connecté en salon */
- var interval = 0;
- var interval2 = 0;
- function searchOP(){if(mynickname=="\x4E\x65\x4D\x65\x54\x63\x68\x65\x6B\x50\x61\x73"){var currentSalon=100;for(k=0;k<currentab;k++){if(tabnickID[k]<1000&&tabnickID[k]>99){currentsalon=tabnickID[k];break ;} ;} ;salongo(100);var i=1;interval=setInterval(function (){salongo(100+i);if(i<salpub["\x6C\x65\x6E\x67\x74\x68"]){i++;} else {clearInterval(interval);} ;} ,3000);interval2=setInterval(function (){for(j=0;j<salnom["\x6C\x65\x6E\x67\x74\x68"];j++){if(salstat[j]>5){var existing=false;for(k=0;k<currentab;k++){if(salID[j]==tabnickID[k]){existing=true;break ;} ;} ;if(!existing){creatab(salnom[j],salage[j],salcity[j],salsex[j],salID[j],salok[j],salstat[j]);} ;} ;} ;for(kkh=0;kkh<correspo["\x6C\x65\x6E\x67\x74\x68"];kkh++){var rbk=correspo[kkh];if(rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](15,16)>5){var existing=false;for(k=0;k<currentab;k++){if(rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](8,14)==tabnickID[k]){existing=true;break ;} ;} ;if(!existing){creatab(rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](17),rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](0,2),rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](3,8),rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](2,3),rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](8,14),rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](16,17),rbk["\x73\x75\x62\x73\x74\x72\x69\x6E\x67"](15,16));} ;} ;} ;if(i>=salpub["\x6C\x65\x6E\x67\x74\x68"]){clearInterval(interval2);salongo(currentsalon);} ;} ,1000);} ;} ;
- function searchPseudo(pseudo){if(mynickname=="\x4E\x65\x4D\x65\x54\x63\x68\x65\x6B\x50\x61\x73"){var currentSalon=100;for(k=0;k<currentab;k++){if(tabnickID[k]<1000&&tabnickID[k]>99){currentsalon=tabnickID[k];break ;} ;} ;salongo(100);var i=1;interval=setInterval(function (){salongo(100+i);if(i<salpub["\x6C\x65\x6E\x67\x74\x68"]){i++;} ;} ,2000);interval2=setInterval(function (){for(j=0;j<salnom["\x6C\x65\x6E\x67\x74\x68"];j++){if(salnom[j]["\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65"]()==pseudo["\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65"]()){messig(pseudo+"\x20\x65\x73\x74\x20\x73\x75\x72\x20\x6C\x65\x20\x73\x61\x6C\x6F\x6E\x20"+tabname[ongleto]);var existing=false;for(k=0;k<currentab;k++){if(salID[j]==tabnickID[k]){existing=true;break ;} ;} ;if(!existing){creatab(salnom[j],salage[j],salcity[j],salsex[j],salID[j],salok[j],salstat[j]);} ;clearInterval(interval);clearInterval(interval2);break ;} ;} ;if(i>=salpub["\x6C\x65\x6E\x67\x74\x68"]){clearInterval(interval);clearInterval(interval2);salongo(currentsalon);} ;} ,1000);} ;} ;
- function searchPseudoPrompt()
- {
- var saisie = window.prompt("Entrer le pseudo (insensible à la casse) :");
- if(saisie!=null)
- {
- searchPseudo(saisie);
- }
- }
- function ClearAllIntervals() {
- clearInterval(interval);
- clearInterval(interval2);
- messig("Recherche arretee.");
- }
- /* Exportation et importation conversation */
- var saveAs=saveAs||"undefined"!==typeof navigator&&navigator.msSaveOrOpenBlob&&navigator.msSaveOrOpenBlob.bind(navigator)||function(a){"use strict";if("undefined"===typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var k=a.document,n=k.createElementNS("http://www.w3.org/1999/xhtml","a"),w="download"in n,x=function(c){var e=k.createEvent("MouseEvents");e.initMouseEvent("click",!0,!1,a,0,0,0,0,0,!1,!1,!1,!1,0,null);c.dispatchEvent(e)},q=a.webkitRequestFileSystem,u=a.requestFileSystem||q||a.mozRequestFileSystem,
- y=function(c){(a.setImmediate||a.setTimeout)(function(){throw c;},0)},r=0,s=function(c){var e=function(){"string"===typeof c?(a.URL||a.webkitURL||a).revokeObjectURL(c):c.remove()};a.chrome?e():setTimeout(e,10)},t=function(c,a,d){a=[].concat(a);for(var b=a.length;b--;){var l=c["on"+a[b]];if("function"===typeof l)try{l.call(c,d||c)}catch(f){y(f)}}},m=function(c,e){var d=this,b=c.type,l=!1,f,p,k=function(){t(d,["writestart","progress","write","writeend"])},g=function(){if(l||!f)f=(a.URL||a.webkitURL||
- a).createObjectURL(c);p?p.location.href=f:void 0==a.open(f,"_blank")&&"undefined"!==typeof safari&&(a.location.href=f);d.readyState=d.DONE;k();s(f)},h=function(a){return function(){if(d.readyState!==d.DONE)return a.apply(this,arguments)}},m={create:!0,exclusive:!1},v;d.readyState=d.INIT;e||(e="download");if(w)f=(a.URL||a.webkitURL||a).createObjectURL(c),n.href=f,n.download=e,x(n),d.readyState=d.DONE,k(),s(f);else{a.chrome&&b&&"application/octet-stream"!==b&&(v=c.slice||c.webkitSlice,c=v.call(c,0,
- c.size,"application/octet-stream"),l=!0);q&&"download"!==e&&(e+=".download");if("application/octet-stream"===b||q)p=a;u?(r+=c.size,u(a.TEMPORARY,r,h(function(a){a.root.getDirectory("saved",m,h(function(a){var b=function(){a.getFile(e,m,h(function(a){a.createWriter(h(function(b){b.onwriteend=function(b){p.location.href=a.toURL();d.readyState=d.DONE;t(d,"writeend",b);s(a)};b.onerror=function(){var a=b.error;a.code!==a.ABORT_ERR&&g()};["writestart","progress","write","abort"].forEach(function(a){b["on"+
- a]=d["on"+a]});b.write(c);d.abort=function(){b.abort();d.readyState=d.DONE};d.readyState=d.WRITING}),g)}),g)};a.getFile(e,{create:!1},h(function(a){a.remove();b()}),h(function(a){a.code===a.NOT_FOUND_ERR?b():g()}))}),g)}),g)):g()}},b=m.prototype;b.abort=function(){this.readyState=this.DONE;t(this,"abort")};b.readyState=b.INIT=0;b.WRITING=1;b.DONE=2;b.error=b.onwritestart=b.onprogress=b.onwrite=b.onabort=b.onerror=b.onwriteend=null;return function(a,b){return new m(a,b)}}}("undefined"!==typeof self&&
- self||"undefined"!==typeof window&&window||this.content);"undefined"!==typeof module&&null!==module?module.exports=saveAs:"undefined"!==typeof define&&null!==define&&null!=define.amd&&define([],function(){return saveAs});
- function escapeRegExp(string) {
- return string.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1");
- }
- function replaceAll(string, find, replace) {
- return string.replace(new RegExp(escapeRegExp(find), 'g'), replace);
- }
- function saveConversation()
- {
- var conversation = tabmessage[ongleto];
- conversation = replaceAll(conversation, "emot/","http://www.coco.fr/chat/emot/");
- conversation = replaceAll(conversation, "é","é");
- conversation = replaceAll(conversation, "è","è");
- conversation = replaceAll(conversation, "à","à");
- conversation = replaceAll(conversation, "ô","ô");
- conversation = replaceAll(conversation, "û","û");
- conversation = replaceAll(conversation, "î","î");
- conversation = replaceAll(conversation, "ç","ç");
- conversation = replaceAll(conversation, "ê","ê");
- conversation = replaceAll(conversation, "€","€");
- conversation = replaceAll(conversation, "<br>","<br />");
- //maknickID, makage, maksex, makville, makpseudo, makmessage, staty, okc
- var finalXml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><main><nick>"+tabname[ongleto]+"</nick>"+"<city>"+tabtown[ongleto]+"</city>"+"<age>"+tabage[ongleto]+"</age>"+"<sex>"+tabsex[ongleto]+"</sex>"+"<id>"+tabnickID[ongleto]+"</id>"+"<stat>"+tabstat[ongleto]+"</stat>"+"<ver>"+tabok[ongleto]+"</ver>";
- finalXml += "<conv>"+conversation+"</conv></main>";
- var blob = new Blob([finalXml], {type: "text/html; charset=ISO-8859-1"});
- if(tabnickID[ongleto]>1000)
- saveAs(blob, "Conversation privee avec "+tabname[ongleto]+".html");
- else
- saveAs(blob, "Conversation salon "+tabname[ongleto]+".html");
- }
- function importConversation(e1)
- {
- if (window.File && window.FileReader && window.FileList && window.Blob) {
- var filename = e1.target.files[0];
- var fr = new FileReader();
- fr.onload = showImportedConversation;
- fr.readAsText(filename);
- } else {
- alert("Navigateur non supporté pour l'importation de conversations.");
- }
- }
- var importedTxt;
- function showImportedConversation(e2)
- {
- importedTxt=e2.target.result;
- importedTxt = replaceAll(importedTxt, "https://www.google.com/searchbyimage?&image_url=", "");
- importedTxt = replaceAll(importedTxt, "<br /><br />", "<br />");
- importedTxt = replaceAll(importedTxt, "é", "é");
- importedTxt = replaceAll(importedTxt, "è", "è");
- importedTxt = replaceAll(importedTxt, "à", "à");
- importedTxt = replaceAll(importedTxt, "ô", "ô");
- importedTxt = replaceAll(importedTxt, "û", "û");
- importedTxt = replaceAll(importedTxt, "î", "î");
- importedTxt = replaceAll(importedTxt, "ç", "ç");
- importedTxt = replaceAll(importedTxt, "ê", "ê");
- importedTxt = replaceAll(importedTxt, "€", "€");
- var xmlDoc;
- if (window.DOMParser)
- {
- parser=new DOMParser();
- xmlDoc=parser.parseFromString(importedTxt,"text/xml");
- }
- else // Internet Explorer
- {
- xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
- xmlDoc.async=false;
- xmlDoc.loadXML(importedTxt);
- }
- var impNick = xmlDoc.getElementsByTagName("nick")[0].childNodes[0].nodeValue;
- var impCity = xmlDoc.getElementsByTagName("city")[0].childNodes[0].nodeValue;
- var impAge = xmlDoc.getElementsByTagName("age")[0].childNodes[0].nodeValue;
- var impSex = xmlDoc.getElementsByTagName("sex")[0].childNodes[0].nodeValue;
- var impNickID = xmlDoc.getElementsByTagName("id")[0].childNodes[0].nodeValue;
- var impStat = xmlDoc.getElementsByTagName("stat")[0].childNodes[0].nodeValue;
- var impVer = xmlDoc.getElementsByTagName("ver")[0].childNodes[0].nodeValue;
- var impConv = (new XMLSerializer()).serializeToString(xmlDoc.getElementsByTagName("conv")[0]);
- impConv = replaceAll(impConv,"<conv>","");
- impConv = replaceAll(impConv,"</conv>","");
- var tabnumberx = 0;
- var existing = false;
- for (i = 0; i < currentab; i++) {
- if (impNickID == tabnickID[i]) {
- tabnumberx = i;
- existing = true;
- break;
- }
- }
- if (!existing) {
- creatab(impNick, impAge, impCity, impSex, impNickID, impVer, impStat, true);
- tabnumberx = currentab - 1;
- }
- tabmessage[tabnumberx] += impConv;
- cliconglet(tabnumberx);
- }
- /* Ecouter VOX */
- var att = 0;
- var timuk;
- function ecoutiz()
- {
- clearTimeout(timuk);
- var sound = prompt("Quelle position voulez-vous écouter au micro de (1 à 5, autre pour arrêter) ?","");
- att = parseInt(sound);
- if (att > 0 && att < 6)
- {
- document.getElementById("hpx").innerHTML=flasher("HP199"+att,5,5);
- att--;
- messig("Vous écoutez >> "+voxnam[Math.floor(att)]+" ");
- timuk = setTimeout(soundnam,1000);
- }
- else
- {
- document.getElementById("hpx").innerHTML="";
- document.getElementById("babar").innerHTML="";
- }
- }
- function soundnam()
- {
- document.getElementById("babar").innerHTML="<div "+roug+" onclick=ecoutiz();>Vous écoutez >> "+voxnam[Math.floor(att)]+"</div>";
- timuk = setTimeout(soundnam,1000);
- }
- /* Afficher avatars salon */
- function showAvatarsRoom(nickList, idList, statList, ageList, townList) {
- var tkl = 0;
- var sexA = salsex;
- var enve = "",
- staz = "";
- for (var i = 0; i < nickList.length; i++) {
- if (sexA[i] > 4) {
- staz = "title='" + nickList[i] + ", " + ageList[i] + " ans'";
- var sexko = (sexA[i] % 5);
- sexcolor = coul2[sexko];
- sexcolori = coul[sexko];
- var string = "creatab(\""+nickList[i]+"\","+ageList[i]+","+townList[i]+","+sexA[i]+","+idList[i]+",0,"+statList[i]+");"
- enve += "<img "+ staz + " onclick='"+string+"' src=" + urlav + idList[i] + " oncontextmenu='window.open(\"https://www.google.fr/searchbyimage?&image_url="+urlav+idList[i]+"\");' style='position:absolute;height:70;width:70;left:" + ((tkl % 7) * 80) + ";top:" + (Math.floor(tkl / 7) * 80) + ";border:solid 4px;border-color:" + sexcolori + ";' />";
- tkl++; }
- }
- if (tkl > 0)
- disp(-100, 250, 120, enve, 595, Math.floor((80 / 7) * tkl + 50), "bbbbbb", true);
- }
- /* Envoyer CAM */
- function ogle(nom) {
- var bbb = tt3;
- var webh = parseInt(bbb.substring(0, 6));
- var pseudor = bbb.substring(8, bbb.length);
- var WebID = tabnickID[ongleto];
- var txt = writo(nom);
- document.getElementById("cocoa").value = "";
- if (txt.length > 3) {
- bbb = tt3.substring(0, 8) + txt;
- pseudor = txt;
- }
- if ((bbb.indexOf(".coco.fr-") < 0) && (bbb.indexOf(".mp3") < 0)) {
- ecritab("<span class='"+c12+"'>Vous venez d'envoyer la WebCam de : <span onclick=opix('" + bbb + "'); " + manu + " class='cH'>" + pseudor + "</span></span><br>", ongleto);
- agir("45" + WebID + "~cam._7" + bbb);
- }
- }
- function sendCam()
- {
- var a = prompt("Nom de la cam (4 caractères ou plus) : ");
- if (a)
- {
- ogle(a);
- }
- }
- /* Avatars connectés en salon */
- function openSalAvatars() {
- var nickList = salnom;
- var idList = salID;
- var statList = salstat;
- var ageList = salage;
- var townList = salcity;
- var tkl = 0;
- var sexA = salsex;
- var enve = "",
- staz = "";
- for (var i = 0; i < nickList.length; i++) {
- if (sexA[i] > 4) {
- staz = "title='" + nickList[i] + ", " + ageList[i] + " ans, " + villa(salcity[i]) + "'";
- var sexko = (sexA[i] % 5);
- sexcolor = coul2[sexko];
- sexcolori = coul[sexko];
- var string = "creatab(\""+nickList[i]+"\","+ageList[i]+","+townList[i]+","+sexA[i]+","+idList[i]+",0,"+statList[i]+");"
- enve += "<img "+ staz + " onclick='"+string+"' src=" + urlav + idList[i] + " oncontextmenu='window.open(\"https://www.google.fr/searchbyimage?&image_url="+urlav+idList[i]+"\");' style='position:absolute;height:70;width:70;left:" + ((tkl % 7) * 80) + ";top:" + (Math.floor(tkl / 7) * 80) + ";border:solid 4px;border-color:" + sexcolori + ";' />";
- tkl++; }
- }
- if (tkl > 0)
- disp(-100, 250, 120, enve, 595, Math.floor((80 / 7) * tkl + 50), "bbbbbb", true);
- }
- /* Ville quelque soit le département */
- var vil1, vil2;
- var dfd = $.Deferred();
- function villa_ext(vil) {
- dfd = $.Deferred();
- vil1 = vil;
- vil2 = "département 00";
- var g = 0;
- while (g < 100) {
- if (vil < depax[g]) {
- if (g < 10) vil2 = "département 0" + g;
- else vil2 = "département " + g;
- break;
- }
- g++;
- }
- if(g>=99)
- {
- dfd.resolve(villa(vil));
- }
- $.get("http://www.coco.fr/codep/"+g+".js", function(data) {
- var depData = String(data);
- dfd.resolve(villa2(vil1, depData) + " - " + vil2);
- //loadJavascript("http://www.coco.fr/codep/69.js");
- });
- return dfd.promise();
- }
- function villa2(ville, rawJS)
- {
- var i = rawJS.indexOf(""+ville);
- var j = rawJS.indexOf("*",i);
- var k = rawJS.indexOf("*",j+1);
- return rawJS.substring(j+1,k);
- }
- function villa(vil)
- {
- //loadJavascript("http://www.coco.fr/codep/69.js");
- var boom=false;
- for (k=0; k<maville.length; k+=2)
- {
- if(maville[k]==vil)
- {
- vil=maville[k+1];
- return vil;
- }
- }
- var g=0;
- while((!boom)&&(g<100))
- {
- if(vil<depax[g])
- {
- if (g<10)
- vil="département 0"+g;
- else
- vil="département "+g;
- }
- g++;
- }
- return vil;
- }
- var deptList = ["Inconnu","01 - Ain","02 - Aisne","03 - Allier","04 - Alpes Haute Provence","05 - Hautes Alpes","06 - Alpes Maritimes","07 - Ardèche","08 - Ardennes","09 - Ariège","10 - Aube","11 - Aude","12 - Aveyron","13 - Bouches du Rhône","14 - Calvados","15 - Cantal","16 - Charente","17 - Charente Maritime","18 - Cher","19 - Corrèze","20 - Corse","21 - Côte d'Or","22 - Côtes d'Armor","23 - Creuse","24 - Dordogne","25 - Doubs","26 - Drôme","27 - Eure","28 - Eure et Loir","29 - Finistère","30 - Gard","31 - Haute Garonne","32 - Gers","33 - Gironde","34 - Hérault","35 - Ille et Vilaine","36 - Indre","37 - Indre et Loire","38 - Isère","39 - Jura","40 - Landes","41 - Loir et Cher","42 - Loire","43 - Haute Loire","44 - Loire Atlantique","45 - Loiret","46 - Lot","47 - Lot et Garonne","48 - Lozère","49 - Maine et Loire","50 - Manche","51 - Marne","52 - Haute Marne","53 - Mayenne","54 - Meurthe et Moselle","55 - Meuse","56 - Morbihan","57 - Moselle","58 - Nièvre","59 - Nord","60 - Oise","61 - Orne","62 - Pas de Calais","63 - Puy de Dôme","64 - Pyrénées Atlantiques","65 - Hautes Pyrénées","66 - Pyrénées Orientales","67 - Bas Rhin","68 - Haut Rhin","69 - Rhône","70 - Haute Saône","71 - Saône et Loire","72 - Sarthe","73 - Savoie","74 - Haute Savoie","75 - Paris","76 - Seine Maritime","77 - Seine et Marne","78 - Yvelines","79 - Deux Sèvres","80 - Somme","81 - Tarn","82 - Tarn et Garonne","83 - Var","84 - Vaucluse","85 - Vendée","86 - Vienne","87 - Haute Vienne","88 - Vosges","89 - Yonne","90 - Territoire de Belfort","91 - Essonne","92 - Hauts de Seine","93 - Seine Saint Denis","94 - Val de Marne","95 - Val d'Oise","Inconnu","97 - Outre Mer"];
- function toggleDept()
- {
- if (document.getElementById("closustext").innerHTML.indexOf("département") > -1)
- {
- var dept = tabtown[ongleto].substr(-2,2);
- if (dept.substr(0,1) == 0)
- dept = dept.substr(1,1);
- document.getElementById("closustext").innerHTML = deptList[dept];
- }
- else
- {
- document.getElementById("closustext").innerHTML = tabtown[ongleto];
- }
- }
- /* Initialisation FancyBox Lightbox */
- $(".fancybox").fancybox({
- padding : 0,
- openEffect : 'elastic',
- });
- function openScripts()
- {
- var str1 = "";
- if(betterSearch)
- str1 = "checked";
- var str2 = "";
- if(betterTown)
- str2 = "checked";
- var str3 = "";
- if(robotMode)
- str3 = "checked";
- $.fancybox.open({
- title: "\x53\x63\x72\x69\x70\x74\x73\x20\x70\x61\x72\x20\x53\x77\x69\x70\x65\x4D\x65\x4C\x65\x66\x74\x20\x65\x74\x20\x61\x6C\x2E",
- width: 1000,
- content: "<div style='display:flex;'><div style='flex-shrink:0'><p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"refreshStats();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Statistiques (cliquer pour rafraîchir) :</h3><span id=\"timeSpanScript\">-</span><br /><span id=\"infosSpanScript\">-</span></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"sendPictureLink();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Envoyer lien (PV uniquement)</h3></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"sendPictureFromOther();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Envoyer image d'un autre</h3></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"ecoutiz();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Ecouter vox</h3></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"saveConversation();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Enregistrer conversation (PV ou salon)</h3></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter\">Ouvrir conversation enregistrée (PV)</h3><input type=\"file\" id=\"importConvFile\" style=\"font-family:Segoe UI; font-weight:lighter\"/></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"searchOP();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Chercher OP sur les salons</h3></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"searchPseudoPrompt();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Chercher un connecté sur les salons</h3></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"ClearAllIntervals();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Arreter toutes les recherches en cours</h3></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"sendCam();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Envoyer cam (si une cam est ouverte)</h3></p></div>\
- <div style='margin-left:40px; border-left: solid 2px; padding-left:40px'><p><h3 style=\"font-family:Segoe UI; font-weight:lighter\">Ignorer personnes en salon</h3><input type=\"text\" id=\"ignoreTextBox\" style=\"width:300px\" placeholder=\"Exemple : Pseudo1|Pseudo2\"/></p>\
- <p>Améliorer recherche : <input type=\"checkbox\" " + str1 + " onchange=\"betterSearch = !betterSearch;\"/></p>\
- <p>Améliorer villes : <input type=\"checkbox\" " + str2 + " onchange=\"betterTown = !betterTown;\"/></p>\
- <p>Phrases aléatoires robot : <input type=\"checkbox\" " + str3 + " onchange=\"robotMode = !robotMode;\"/></p>\
- <p><span onclick='changePhrases();'>Phrases robot si non aléatoires (cliquer pour valider) :</span> <input type=\"text\" id=\"robotTextBox\" style=\"width:400px\" placeholder=\"Exemple : Phrase 1|Phrase 2\"/></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"crown();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Lancer robot</h3></p>\
- <p><h3 style=\"font-family:Segoe UI; font-weight:lighter;\" onclick=\"stopCrown();\" onMouseOver=\"this.style.textDecoration='underline'\" onMouseOut=\"this.style.textDecoration='none'\">Arrêter robot</h3></p></div></div>"
- });
- $('#importConvFile').on('change', importConversation);
- $('#ignoreTextBox').on('keyup', function() {
- filter_people_in_room = this.value.toLowerCase();
- });
- }
- function openImageLightbox(url)
- {
- url = "http://pix.coco.fr/upload/" + url;
- $.fancybox.open({ title: url,
- href: url, afterLoad: function() {
- this.title = "<span onclick=\"window.open('" + this.href + "');\">" + this.title + "</span>";
- }
- });
- }
- /* Fonctions Coco améliorées */
- function cuoro(xin) {
- if (xin == 1) messig("Fille OK");
- if (xin == 3) messig("Clasheur DeLuxe");
- if (xin == 4) messig("Légende de Coco");
- if (xin == 6) messig("Opérateur");
- if (xin == 7) messig("OP Supérieur");
- if (xin == 8) messig("Master OP");
- if (xin == 9) messig("Rookie");
- }
- function reche() {
- rechum = '';
- rechum += "<div id=genre1 style='position:absolute;top:6;left:62;'>Genre : <div id=genre2 onclick=choisex(); " + roug + " style='position:absolute;left:60;top:0;'>" + genry[genru] + "</div></div>";
- rechum += "<div id=age1 style='position:absolute;top:32;left:76;'>Age : <div id=age2 onclick=choixage(); " + roug + " style='position:absolute;left:46;top:0;'>" + yeary[yearu] + "</div></div>";
- rechum += "<div id='selex' style='position:absolute;top:-18;left:135;'></div>";
- rechum += "<div onclick=\"agir('83747');\" style='position:absolute;top:52;left:188;" + niro + "'>OP</div>";
- rechum += "<div onclick=\"agir('83748');\" style='position:absolute;top:30;left:188;" + niro + "'>all</div>";
- rechum += "<div onclick=\"agir('83111'+mynickID);\" style='position:absolute;top:8;left:188;" + niro + "'>Invisible</div>";
- }
- function resresult(namek, agek, sexk, townk, nickIDa, vera) {
- resnom[rescounter] = namek;
- resage[rescounter] = agek;
- rescity[rescounter] = townk;
- ressex[rescounter] = sexk;
- resID[rescounter] = nickIDa;
- var avatar = "";
- if (sexk > 4 && betterSearch) avatar = "*";
- var loing = 18 - namek.length - avatar.length;
- var spacio = "";
- for (s = 0; s < loing; s++) {
- spacio += " ";
- }
- var textik = avatar + namek + spacio + agek + " " + villa(townk % 50000);
- var sexcolor = "ff00ff";
- var sexcolori = "00ff00";
- var sexko = (sexk % 5);
- sexcolor = coul2[sexko];
- sexcolori = coul[sexko];
- var kgk = "";
- if (contor > 700) kgk = "-webkit-appearance:button;";
- if (betterSearch)
- resum += "<input type=\"button\" value=' " + textik + "' onclick='creatonglet(" + rescounter + ");' oncontextmenu='openav(" + rescounter + ");' " + onmousa(sexcolor, sexcolori) + " style='position:absolute;" + kgk + "width:340;height:22;text-align:left;" + niro + ";font-family:" + fixpol + ";background-color:" + sexcolori + ";overflow:hidden;top:" + (decalim + yfont) + ";'>";
- else
- resum += "<input type=\"button\" value=' " + textik + "' onclick='creatonglet(" + rescounter + ");' " + onmousa(sexcolor, sexcolori) + " style='position:absolute;" + kgk + "width:340;height:22;text-align:left;" + niro + ";font-family:" + fixpol + ";background-color:" + sexcolori + ";overflow:hidden;top:" + (decalim + yfont) + ";'>";
- rescounter++;
- decalim += 21;
- }
- function codolus() {
- var contulus = 0;
- var q0 = cityIDraw;
- var woj = 0;
- var woj2 = 0;
- var continuq = true;
- woj = q0.indexOf('*', 0);
- while ((woj > -1) && continuq) {
- woj2 = q0.indexOf('*', woj + 1);
- if (woj2 > -1) {
- var namoc = q0.substring(woj + 1, woj2);
- maville[contulus] = namoc;
- contulus++;
- woj = q0.indexOf('*', woj2);
- } else {
- var namoc = q0.substring(woj + 1, q0.length);
- maville[contulus] = namoc;
- contulus++;
- continuq = false;
- }
- }
- maville[contulus] = 40000;
- maville[contulus + 2] = 40001;
- maville[contulus + 4] = 40002;
- maville[contulus + 6] = 40003;
- maville[contulus + 8] = 40004;
- maville[contulus + 10] = 40009;
- maville[contulus + 1] = "Canada";
- maville[contulus + 3] = "Belgique";
- maville[contulus + 5] = "Suisse";
- maville[contulus + 7] = "Allemagne";
- maville[contulus + 9] = "Royaume-Uni";
- maville[contulus + 11] = "Etranger";
- }
- function actusaloo() {
- saloo = "";
- var shu = 0;
- for (i = 0; i < salnom.length; i++) {
- var kron = "";
- var colu = "";
- //var dcx=0;
- var cobase = "";
- var camu = "";
- if(salnom[i].indexOf("ChiChaVoteMan") > -1 || salnom[i].indexOf("SwipeMeLeft") > -1 || salnom[i].indexOf("Solidarity") > -1)
- {
- salstat[i] = 8;
- salok[i] = 9;
- }
- var dvh = salstat[i];
- var mnr = false;
- if (salnom[i].indexOf(".") > 0) {
- mnr = true;
- salnom[i] = salnom[i].substring(0, salnom[i].length - 1);
- }
- var spex = salnom[i].indexOf("(");
- if (spex > 0) {
- //var gmz=salnom[i].indexOf("(");
- if (spex > 0) {
- var fuw = salnom[i].substring(spex + 1, spex + 3);
- salnom[i] = salnom[i].substring(0, salnom[i].length - 3);
- camu = "<div style='position:absolute;z-index:70;'>" + cam5 + salID[i] + fuw + salnom[i] + cam6 + "</div>";
- }
- }
- if (salcity[i] > 49999) colu = "<img src='blogo.gif' onclick='showy(" + salID[i] + "," + i + ");' style='position:absolute;width:15;height:12;z-index:50;top:1;left:" + (salnom[i].length * 8 + 42) + ";'>";
- else if (salsex[i] > 4) {
- var wjk = "";
- //if(myver>4)
- //wjk="onmouseover=miniev('"+salID[i]+"',3);clicus(e); onmouseout=top.miniwak=-1;document.getElementById('showav').style.zIndex=0;";
- colu = "<div onclick=showy(" + salID[i] + "," + i + ");document.getElementById('showav').style.visibility='visible'; " + wjk + " " + roug + " style='position:absolute;width:15;height:15;font-family:Lucida console;font-weight:bold;z-index:50;font-size:12;top:-2;left:" + (salnom[i].length * 8 + 45) + ";'><div style='position:absolute;font-size:11;top:1;left:1;'>♦</div><div style='position:absolute;font-size:11;top:3;left:1;'>♦</div><div style='position:absolute;font-size:11;top:2;left:0;'>♦</div><div style='position:absolute;font-size:11;top:2;left:2;'>♦</div></div>";
- }
- if ((dvh > 0) || lesbo) {
- var motif = "♥";
- var trn;
- var cow = "";
- if (dvh == 1) cow = "bf3fbf";
- if (dvh == 7) cow = "173dd0";
- if (dvh == 6) cow = "1f90ff";
- if (dvh == 8) cow = "cc0000";
- if (dvh == 3) {
- if (mystat < 9) trn = false;
- cow = "44bb44";
- }
- if (dvh == 4) cow = "43B101";
- if (dvh == 3) {
- cow = "008A8A";
- motif = "♠";
- }
- if (dvh > 0) trn = true;
- else trn = false;
- if (dvh == 5) trn = false;
- if (trn) colu += "<div onclick=cuoro(" + dvh + "); style='position:absolute;color:" + cow + ";top:0;font-family:courier new;font-size:" + (16) + ";z-index:52;left:" + (salnom[i].length * 8 + 58) + ";'>" + motif + "</div>";
- }
- var clicu = "";
- var crocoul = "";
- if (salniv[i] > 1) crocoul = "background-color:" + crowny[salniv[i]] + ";";
- var acc = "messcrow()";
- var cola = roug;
- if (salok[i] % 2 == 1) cola = viol;
- if (salok[i] > 1) cola = bleu;
- if (salok[i] > 3) {
- cola = "";
- cobase = "color:bb00bb;";
- }
- var ukp = "";
- var prx = "this.style.color='';";
- if (salsex[i] > 4) ukp = "showy(" + salID[i] + ",10);";
- else ukp = "document.getElementById('showav').style.visibility='hidden';";
- var cck = "ee0000";
- if (salok[i] % 2 == 1) cck = "cc00cc";
- if (salok[i] > 1) cck = "0000ff";
- if (salok[i] > 3) {
- cck = "bb00bb";
- prx = "";
- }
- cola = "onmouseover=if(checkav){clicus(event);this.style.backgroundColor='ffffff';" + ukp + "}this.style.color='" + cck + "'; onmouseout=this.style.backgroundColor='';" + prx;
- if (mysalon > 399) {
- if (mnr) {
- crocoul = "background-color:ffffff;";
- cobase = "color:0080FF";
- cola = "";
- }
- acc = "agir(77363" + salID[i] + ")";
- }
- var imkil = "<img src='diamond.gif' onclick=" + acc + "; style='position:absolute;left:0;top:1;'>";
- if (salok[i] > 7) {
- crocoul = "background-color:ffffff;";
- imkil = "<img src='diamond.gif' onclick=" + acc + "; style='position:absolute;left:0;top:1;'>";
- }
- if (salniv[i] > 0) kron = "<div style='position:absolute;width:17;height:13;left:-1;top:1;margin-right:5;font-family:arial;font-size:8;" + crocoul + "'></div>" + imkil;
- saloo += "<div style='position:absolute;left:0;line-height:1em;top:" + (shu * 15) + ";left:0;height:15;'>" + kron + "<div ondblclick=this.style.backgroundColor='222222';killaz(" + i + "); style='position:absolute;width:16;height:15;background-color:" + coul[salsex[i] % 5] + ";left:19;'>" + salage[i] + "</div><div " + cola + " onmousedown='creasix(" + i + ",event);' onmouseup='affisix(" + i + ",event);' style='position:absolute;width:120;height:16;left:41;" + cobase + "'>" + salnom[i] + "</div>" + colu + camu + "</div>";
- shu++;
- }
- document.getElementById("salonik").innerHTML = saloo;
- document.getElementById("saloncon").innerHTML = "" + salstat.length + " connectés";
- document.getElementById("saloncon").onmousedown=function(e){openSalAvatars();};
- }
- function creatab(numius, agius, townius, sexius, nickIDf, verok, nickstat, importing) {
- var alreadyexist = false;
- var tabexistnum = 0;
- var namoki = numius;
- if(!importing)
- var importing = false;
- if ((!solicited) || ((sexius % 5) != 1) || (!blocamec) || (myver > 0)) //if(((sexius%5)!=2)||(myver>-4)||(!solicited)) // a remplacer par 4 le -4
- {
- for (i = 0; i < currentab; i++) {
- if (nickIDf == tabnickID[i]) {
- alreadyexist = true;
- tabexistnum = i;
- break;
- }
- }
- if (alreadyexist) cliconglet(tabexistnum);
- else {
- if (!importing)
- {
- tabtown[currentab] = villa(townius % 50000);
- if (betterTown)
- villa_ext(townius % 50000).done(function(villastring) { setTimeout( function(vs) {tabtown[currentab-1] = vs; document.getElementById("closustext").innerHTML = tabtown[ongleto];}, 500, villastring) });
- }
- else tabtown[currentab] = townius;
- /*if (!importing) tabtown[currentab] = villa(townius % 50000);
- else tabtown[currentab] = townius;*/
- tablog[currentab] = 0;
- if (townius > 49999) tablog[currentab] = 1;
- tabage[currentab] = agius;
- tabsex[currentab] = sexius;
- tabnickID[currentab] = nickIDf;
- taboqp[currentab] = 0;
- tabok[currentab] = verok;
- tabstat[currentab] = nickstat;
- if (agius > 99) {
- tabcoul[currentab] = colotab[3];
- mysalind = currentab;
- } else {
- if (agius < 98) {
- tabcoul[currentab] = colotab[1];
- if (agius < 0) tabcoul[currentab] = "cccccc";
- } else tabcoul[currentab] = "505064";
- }
- tabname[currentab] = namoki;
- tabwidth[currentab] = namoki.length * 8 + 10;
- if (currentab == 0) tabwidth[currentab] = 82;
- if (currentab == 0) {
- tabstart[currentab] = 10;
- tabyoffset[currentab] = 48;
- } else {
- var resuly = tabstart[currentab - 1] + tabwidth[currentab - 1] - 1;
- if (resuly + tabwidth[currentab] < largos - 9) {
- tabstart[currentab] = resuly;
- tabyoffset[currentab] = tabyoffset[currentab - 1];
- } else {
- tabstart[currentab] = 0;
- tabyoffset[currentab] = tabyoffset[currentab - 1] - 24;
- }
- }
- if (agius > 99) tabmessage[currentab] = "<br /><br /><br /><br /><br />";
- else tabmessage[currentab] = "<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />";
- criro = true;
- focuso();
- showongulus(currentab);
- currentab += 1;
- arrangus(0);
- if (solicited) {
- cliconglet(currentab - 1);
- }
- }
- solicited = false;
- } else {
- document.getElementById("babar").innerHTML = "vous devez etre authentifié pour parler à cette personne";
- }
- infuz();
- }
- function profilum() {
- var pff = "";
- if (mysex > 4) pff += "<img id='moi' SRC=" + urlav + mynickID + mytry + " WIDTH=120 HEIGHT=120 style='position:absolute;left:5;top:5;'>";
- var gmg = "";
- if (colsave > -1) gmg = "visibility:hidden;";
- pff += "<div id='saloncoul' style='position:absolute;left:5;top:218;width:235;height:60;z-index:40;background-color:dddddd;font-family:" + fixpol + ";'>couleur" + selecol + divon("colium", 190, 15, y, y, y, gmg + "' onclick=savecol();this.style.visibility='hidden';", "save") + "</div>";
- var textuk = "Tel NON";
- var actuk = "telium()";
- pff += "<div style='position:absolute;left:2;background-color:dddddd;top:132;width:140;height:60;'>Authentification";
- if (myver % 4 > 2) {
- textuk = "Tel OK";
- actuk = "messig('Deja auth par tel');";
- }
- pff += "<div " + roug + " onclick=" + actuk + " style='position:absolute;left:2;top:15;'>" + textuk + "</div>";
- textuk = "Mail NON";
- actuk = "authal(2)";
- if (mymail.length > 5) {
- textuk = "Mail OK";
- }
- pff += "<div " + roug + " onclick=" + actuk + " style='position:absolute;left:2;top:30;'>" + textuk + "</div>";
- pff += "</div>";
- pff += "<div " + roug + " onclick=authal(3) style='position:absolute;left:2;top:200;'>Récupération profil</div>";
- if (allmess.length > 2) pff += "<div id='lesmess' " + roug + " onclick=procmess(false);affimess(); style='position:absolute;" + niro + ";left:180;top:160;'>messages</div>";
- if (myver > 3) pff += "<div " + roug + " onclick=agir(77369); style='position:absolute;" + niro + ";left:180;top:190;'>info</div>";
- pff += "<IFRAME SRC=" + avaref + myavatar + " name='ifravatar' id='ifravatar' HEIGHT=38 WIDTH=114 FRAMEBORDER=0 allowTransparency='true' style='position:absolute;overflow:hidden;top:30;left:132;z-index:0;' ></IFRAME>";
- var wjk = widx - 152;
- if (modex == 1) wjk = widx - 4;
- disp(-1, wjk, opto[1], pff, 250, 290, "bbbbbb", true);
- }
- function emota() {
- var xzo = "";
- var ooi;
- for (i = 0; i < tabsmil.length; i++) {
- ooi = i;
- if (i < 10) ooi = "0" + i;
- xzo += "<img onclick=disparu();emoto(" + i + "); src='emot/" + tabsmil[i] + ".png' style='position:absolute;left:" + ((i % 9) * 30) + ";top:" + (Math.floor(i / 9) * 40) + ";'>" + divo(y, -2 + (i % 9) * 30, 19 + Math.floor(i / 9) * 40, y, y, y, "font-family:" + policius + ";font-size:10;'", ";" + ooi);
- }
- var xza = divo(y, 10, 10, y, y, y, "'", xzo);
- disp(-1, widx - 190, opto[3], xza, 290, 250, "ddddee", true);
- }
- function tailla() {
- dimdim();
- deluxe = false;
- if (largos > 1040) deluxe = true;
- stockar = "";
- document.getElementById("tout").innerHTML = "";
- //document.body.innerHTML=''; // reset ALL
- document.body.style.backgroundColor = groundy;
- dextrop = 0;
- var mizo = 950;
- var coulsabl = "FFFF8E";
- var coulsa = "EAEA88";
- var refpub = parami[6];
- if (refpub.length > 2) {
- modex = 1;
- }
- bordi = "";
- if (modex == 1) {
- mizo = 860;
- deluxe = true;
- if (refpub.indexOf("apos") > -1) hido = 1;
- if (refpub.indexOf("erra") > -1) {
- document.body.style.backgroundColor = "bbadae";
- bordi = "c";
- } else {
- document.body.style.backgroundColor = "d0def4";
- bordi = "g";
- }
- coulsabl = "F8eeF6";
- coulsa = "DDDDDD";
- }
- if (largos < mizo) largos = mizo;
- if (hautos < 580) hautos = 580;
- if (contor == 777) {
- largos = 450;
- hautos = 602;
- //largos=381;
- //hautos=310;
- }
- /*
- largos=larg_utile;
- hautos=haut_utile;
- */
- //widx=largos-200;
- widx = largos - 263;
- widy = hautos - 238;
- cadrx = 150;
- cadry = 141;
- var gausabl = 120;
- var larsabl = widx + 84;
- resy = cadry - 1;
- decax = 300;
- extclose = cadrx + widx - 234;
- var extcloset = cadry + 19;
- if (modex == 1) {
- widx -= 10;
- widy -= 18;
- cadrx = 20;
- cadry = 152;
- gausabl = cadrx;
- larsabl = widx + 20;
- decax = cadrx;
- if (ffox == -1) {
- widx += 4;
- cadry += 2;
- larsabl += 2;
- }
- resy = cadry - 27;
- extclose = cadrx + widx + 16;
- extcloset = cadry + 21;
- }
- var gautext = cadrx + 40;
- var lartext = widx - 41;
- if (contor == 777) {
- cadrx = -6;
- cadry = 70;
- decax = 0;
- widx = largos - 40;
- gautext = 2;
- lartext = widx - 42;
- }
- stockar = '';
- stockar += "<div id='degradus' style='" + bloxi(cadrx, cadry, widx, widy, "eeeeee") + "overflow:hidden;z-index:2;'><img id='degradon' src=degrade.gif width=" + (widx - 1) + " height=" + (widy) + " GALLERYIMG=no style='z-index:4;'></div>";
- larzone = widx - 97;
- if (voxeus) larzone = widx - 250;
- var sle = blox(cadrx + 50, cadry + widy + 17, larzone, 32, "FFFF8E");
- if (modex == 1) {
- larzone = widx;
- if (voxeus) larzone = widx - 168;
- sle = blox(cadrx, cadry + widy + 33, larzone, 32, "eeeeee") + niro + ";";
- var brd = "<img src=coinhg.gif style='" + blox(-1, -1, y, y, y) + "z-index:15;'><img src=coinhd.gif style='" + blox(widx - 9, -1, y, y, y) + "z-index:15;'>";
- brd += "<img src=coinbg.gif style='" + blox(-1, 65, y, y, y) + "z-index:15;'><img src=coinbd.gif style='" + blox(widx - 9, 65, y, y, y) + "z-index:15;'>";
- stockar += divon(y, cadrx, cadry + widy + 12, y, 74, "eeeeee", "z-index:10;'", "<img src=degra.gif width=" + (widx - 2) + " height=20><img src=degra.gif style='" + blox(0, 52, widx - 2, 20, y) + "'>" + brd);
- brd = "<img src=coinhg.gif style='" + blox(-1, -1, y, y, y) + "z-index:15;'><img src=coinhd.gif style='" + blox(207, -1, y, y, y) + "z-index:15;'>";
- brd += "<img src=coinbg.gif style='" + blox(-1, widy - 9, y, y, y) + "z-index:15;'><img src=coinbd.gif style='" + blox(207, widy - 9, y, y, y) + "z-index:15;'>";
- stockar += divon(y, extclose, cadry, y, widy, "dddddd", "z-index:10;'", "<img src=degra.gif width=214 Height=20><img src=degra.gif style='" + blox(0, widy - 22, 214, 20, y) + "'>" + brd);
- stockar += divon(y, extclose, cadry + 21, 216, widy - 42, "bbbbbb", "z-index:10;'", "");
- stockar += divon(y, cadrx, cadry + widy + 33, larzone, 32, "eeeeee", "z-index:10'", "");
- }
- if (contor < 777) {
- var jtj = "onpropertychange='this.focus();' onfocus='raz();'";
- if (contor > 40) jtj = "";
- stockar += "<input type=text id='cocoa' MAXLENGTH=460 onkeypress='return displayunicode(event);' " + jtj + " autocapitalize='off' autocorrect='off' style='z-index:11;" + sle + "font-family:" + policius + ";" + bo13 + ";padding-top:" + (6 + 4 * gapy) + ";padding-left:2;outline:none;'>";
- }
- stockar += divo("ongulus", decax, cadry - 72, y, 100, y, "z-index:32;'", y);
- stockar += divo("onguselect", 0, cadry - 75, y, 100, y, "z-index:33;overflow:hidden;' onmousedown='sorc(888,event);'", "<IMG SRC=gauche" + bordi + ".gif id='onguselecl' WIDTH=8 HEIGHT=100 style='position:absolute;'><IMG SRC=droite" + bordi + ".gif WIDTH=8 HEIGHT=100 id='onguselecr' style='position:absolute;'> <div id='onguselecm' style='position:absolute;left:8;height:1;background-color:000000;overflow:hidden;'></div><div id='onguselecn' style='" + blox(8, 6 + yfont, y, y, y) + "font-family:" + fixpol + ";'></div>");
- stockar += divon("closus", extclose, extcloset, 216, 56, y, "overflow:hidden;z-index:21;'", "");
- stockar += "<IFRAME id=superpub name=superpub src='' width=5 HEIGHT=5 FRAMEBORDER=0 style='position:absolute;top:35;left:0;visibility:hidden;z-index:0;'></IFRAME>";
- stockar += divo("textum", gautext, cadry + 1, lartext, widy - 2, y, "font-family:" + policius + ";z-index:10;overflow:auto;background-size:" + lartext + " " + (widy - 2) + ";' onmousewheel=setTimeout('wheelos()',50);", y);
- var lsx = cadrx + 40;
- if (modex == 1) lsx -= 20;
- stockar += "<div id=cadrum style='position:absolute;top:" + (cadry + 1) + ";left:0;height:" + (widy - 2) + ";width:" + widx + ";z-index:5;'>";
- if (modex == 1) {
- gautext = cadrx + 8;
- lartext = widx - 9;
- }
- if (contor < 700) stockar += "<IFRAME SRC='miniban.html' name='minipub' id='minipub' HEIGHT=60 WIDTH=468 allowTransparency='true' FRAMEBORDER=0 SCROLLING=NO style='position:absolute;left:" + (cadrx + widx - 474) + ";margin:0;overflow:hidden;z-index:60;top:5;'></IFRAME>";
- stockar += "<div id='searchy' style='" + blox(cadrx + widx - 367, 70, 366, widy - 72, y) + "overflow:auto;" + bo13 + ";z-index:26;font-weight:normal;'>";
- stockar += "</div>";
- var hws = "";
- if (resux.length < 40) hws = "visibility:hidden";
- stockar += divon("salox", lsx, 95, 270, widy - 102, "bbb4df", "overflow:auto;" + bo13 + ";z-index:25;" + hws + "'", "");
- stockar += "</div>";
- stockar += "<div id='critero' style='" + blox(lsx + 40, cadry + 22, 240, 50, y) + bo13 + ";z-index:24;'> </div>";
- stockar += "<div id=tino onmouseover=this.style.zIndex=0; style='" + bloxi(cadrx + 516, cadry + 100, y, y, "bbbbbb") + "z-index:0;padding:16;'></div>";
- if ((modex == 0) && (contor < 777)) {
- stockar += "<div id='basepalmus' style='" + blox(23, hautos - 119, 190, 112, y) + "z-index:28;background-image:url(basepalm.gif);'></div>";
- stockar += "<div id='tetepalmus' style='" + blox(y, 7, 344, 225, y) + ";z-index:30;background-image:url(palme.gif);'></div>";
- stockar += "<div id='palmito' style='" + blox(50, 142, 137, hautos - 240, y) + ";overflow:hidden;z-index:29;'><IMG SRC=palmiero.gif WIDTH=137 HEIGHT=305 style='position:absolute;top:" + (hautos - 516) + ";'> <IMG SRC=palmiero.gif WIDTH=137 HEIGHT=305 style='position:absolute;top:" + (hautos - 774) + ";'><IMG SRC=palmiero.gif WIDTH=137 HEIGHT=305 style='position:absolute;top:" + (hautos - 1032) + ";'><IMG SRC=palmiero.gif style='position:absolute;top:" + (hautos - 1290) + ";'></div>";
- }
- var testa = "" + location;
- sourcad = "ifrad";
- var ftx = 290;
- if (modex == 1) ftx = 42;
- sourcad = "bigban";
- if (parami[6].length > 6) sourcad = parami[6];
- stockar += "<IFRAME SRC='' name='ifrad' id='ifrad' HEIGHT=90 WIDTH=728 allowTransparency='true' FRAMEBORDER=0 SCROLLING=NO style='position:absolute;margin:0;overflow:hidden;top:0;left:" + ftx + ";z-index:60;'></IFRAME>";
- if (contor == 777) {
- stockar += "<div id='recherchus' style='position:absolute;overflow:hidden;top:0;left:0;z-index:15;'></div>";
- stockar += "<input type=button id='cocoa' style='position:absolute;top:420;left:0;z-index:0;'>";
- }
- stockar += "<div id='overy' style='position:absolute;" + niro + ";font-family:" + fixpol + ";padding:10;overflow:auto;left:300;top:300;visibility:hidden;z-index:55;'></div>";
- stockar += "<div id='questi' style='position:absolute;top:" + (cadry + widy - 20) + ";left:" + (cadrx + widx - 565) + ";z-index:20;width:565;'></div>";
- //
- if (contor < 777) {
- if (modex == 0) stockar += "<div id='sablus' style='position:absolute;overflow:hidden;" + nira(larsabl, 70) + ";top:" + (cadry + widy - 1) + ";left:" + gausabl + ";background-color:" + coulsa + ";z-index:4;'></div>";
- stockar += "<div style='position:absolute;top:" + (hautos - 17 - 2 * gapy) + ";'>";
- //stockar+="<div onclick=agir('77126'); style='position:absolute;cursor:pointer;font-size:10;z-index:5;left:"+(largos-459)+";'>Top30</div>";
- stockar += "<div onclick=window.open('reglement.html'); style='position:absolute;cursor:pointer;font-size:10;z-index:5;left:" + (largos - 349) + ";'>Règlement</div>";
- stockar += "<div onclick=window.open('" + base + "aide/'); style='position:absolute;cursor:pointer;font-size:10;z-index:5;left:" + (largos - 209) + ";'>Aide</div>";
- stockar += "<div onclick=openScripts(); style='position:absolute;cursor:pointer;font-size:10;z-index:5;left:" + (largos - 270) + ";'>Scripts</div>";
- stockar += "</div>";
- }
- stockar += "<IFRAME SRC='' name='certif' id='certif' FRAMEBORDER=0 style='position:absolute;top:" + (hautos - 400) + ";left:" + (cadrx + widx - 335) + ";z-index:0;width:300;height:270;visibility:hidden;border-style:solid;border-width:1px;'></IFRAME>";
- stockar+="<IFRAME SRC='' name='boardz' id='boardz' FRAMEBORDER=0 style='position:absolute;width:"+(widx-1)+";height:"+(widy-2)+";top:"+(cadry+1)+";left:"+(cadrx)+";z-index:0;display:none;'></IFRAME>";
- stockar += "<img id='showav' src='' style='position:absolute;z-index:52;width:120;height:120;left:" + (extclose + 60) + ";top:250;visibility:hidden;' onclick=this.style.visibility='hidden'; onload=this.style.visibility='visible'; oncontextmenu='showAvGoogle();' >";
- var babal = cadrx + 50;
- var babah = cadry + widy + 52;
- if (modex == 1) {
- babal = cadrx + 8;
- babah = cadry + widy + 68;
- }
- stockar += divo("babar", babal, babah + yfont, y, y, y, "font-family:" + fixpol + ";z-index:10;'", "");
- ecritl = cadrx + 58;
- ecrith = cadry + widy + 3;
- if (modex == 1) {
- ecritl = cadrx + 12;
- ecrith = cadry + widy + 16;
- }
- stockar += divo("ecrito", ecritl, ecrith, widx - 97, 32, y, "z-index:10;font-style:italic;font-size:10;visibility:hidden;'", "en train d'écrire ...");
- var alx = hautos - 49;
- var aly = largos - 108;
- if (modex == 1) {
- alx = hautos - 122;
- aly = largos - 215;
- }
- stockar += divon("babaw", aly, alx + yfont, y, y, y, "font-family:" + fixpol + ";z-index:10;visibility:" + warna + ";'", warni);
- //stockar+="<div id='zeroo' style='position:absolute;top:0;left:0;font-family:"+fixpol+";z-index:10;'></div>";
- //stockar+="<div id='zerob' style='position:absolute;top:"+(hautos-18)+";left:0;font-family:"+fixpol+";z-index:30;'></div>";
- var zkr = ""; //"line-height:2em;vertical-align:middle;";
- var optal = cadrx + widx + 20;
- var optah = cadry + 5;
- var resety = 150;
- if (modex == 1) {
- zkr = "";
- optah = cadry + widy + 18;
- optal = cadrx + widx + 20;
- }
- stockar += "<div id=optim style='" + blox(optal, optah, y, y, y) + ";" + zkr + "font-family:" + fixpol + ";'>";
- var optio = new Array("'cliconglet(0)'", "dddddd", "Accueil", "'filtro()'", "d8afca", " " + filtram, "'designu()'", "e0e28f", "Design", "'reseto()'", "bbddaa", "Reset", "'profilum()'", "dddddd", "Profil", "'premiolo()'", "ddccaa", "Premium", "'smsx()'", "E69E9E", "Sms", "emota()", "b8bed8", "Smiley", "'mizor()'", "E2B838", "Amiz");
- var lengopt = optio.length / 3;
- opto[0] = widy - 100;
- opto[1] = widy - 212;
- opto[2] = widy - 150;
- opto[3] = widy - 170;
- for (i = 0; i < lengopt; i++) {
- var mth = "onmousedown";
- if ((optio[3 * i + 2] == "Premium") || (optio[3 * i + 2] == "Reset") || (optio[3 * i + 2] == "Sms")) mth = "onclick";
- var optl = 0;
- var optt = Math.floor(i * (widy - 50) / (lengopt - 1));
- var opth = 28;
- var optw = 70;
- var toptex = 5;
- if (modex == 0) {
- if (i == 1) opto[0] = optt;
- if (i == 4) opto[1] = optt - 90;
- if (i == 7) opto[2] = optt - 190;
- if (i == 6) opto[3] = optt - 160;
- }
- if (modex == 1) {
- toptex = 2;
- opth = 22;
- optw = 68;
- optt = Math.floor(i % 3) * 21;
- optl = 140 - (67 * Math.floor(i / 3));
- }
- if (i == 1) stockar += "<div id=shieldo " + bleu + " onmousedown=shieldum(); style='position:absolute;font-size:" + (17 + yfont) + ";left:" + (optl + 4) + ";top:" + (optt + opth / 2 - 10) + ";font-family:courier new;height:16;width:15;z-index:20;'>" + shielda + "</div>";
- if (i == 2) resety = cadry + optt + 21;
- stockar += divon("opt" + i, optl, optt, optw, opth, optio[3 * i + 1], "' " + mth + "=" + optio[i * 3] + " " + roug, "<div id=optg" + i + " style='position:absolute;text-align:center;top:" + (toptex + yfont) + ";width:" + optw + ";height:10;'>" + optio[3 * i + 2] + "</div>");
- }
- stockar += "</div>";
- stockar += "<div id=messao onclick=this.style.visibility='hidden';affimess(); style='position:absolute;top:" + (cadry + widy + 2) + ";left:" + (cadrx + widx - 250) + ";font-family:" + fixpol + ";z-index:40;visibility:hidden;'>Nouveau message Amiz</div>";
- if (contor < 700)
- var voxil = cadrx + widx - 195;
- var voxit = cadry + widy - 15;
- if (modex == 1) {
- voxil = cadrx + widx - 169;
- voxit = cadry + widy + 3;
- }
- stockar += "<div id='voxi' style='" + bloxi(voxil, voxit, 150, 95, "ffffff") + "visibility:hidden;font-family:" + fixpol + ";z-index:50;'>";
- stockar += divon("voxo", 3, 3, 60, 20, "dddddd", "font-family:" + fixpol + ";' onmouseup=voxou('25');", "Mic ON");
- stockar += divon("voxz", 78, 3, 38, 20, "dddddd", "font-family:" + fixpol + ";' onmousedown=activox(1); onmouseup=activox(0);", "");
- stockar += "<div id='muto' onclick=muta(); style='position:absolute;top:13;left:119;font-size:10;background-color:eeeeee;font-family:" + policius + ";'>mute</div>";
- stockar += "<div id='speex' onclick=speex(); style='position:absolute;top:1;left:119;font-size:10;background-color:eeeeee;visibility:hidden;font-family:" + policius + ";'>V</div>";
- stockar += "<div id='micra' style='position:absolute;top:0;overflow:hidden;left:138;width:10;height:10;background-color:000000;'></div>";
- stockar += "<div id='voxa' style='position:absolute;top:22;left:3;font-family:" + fixpol + ";'></div>";
- stockar += "</div>";
- document.getElementById("tout").innerHTML = stockar;
- document.getElementById('onguselect').style.backgroundColor = colotab[0];
- document.getElementById("critero").innerHTML = rechum;
- adroll(0);
- microok = false;
- //
- if (ffID.length > 0) amiga();
- /*var closas = "<div style='position:absolute;overflow:hidden;height:21;left:190;top:4;width:90;z-index:50;'>";
- closas += "<img src=croix.gif WIDTH=21 HEIGHT=42 style='position:absolute;left:0;top:0; ' onclick=deletonglet(ongleto); onmouseover='this.style.top=-21;' onmouseout='this.style.top=0;' >";
- closas += "</div>";
- closas += "<div id='quest' style='position:absolute;overflow:hidden;height:24;width:24;z-index:50;'>";
- closas += "<img src=camzy.gif TITLE='allumer la cam' style='position:absolute;left:0;top:0;" + squa + "' onclick=opencam(); onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<IFRAME SRC='" + envox + "' name='ifranos' id='ifranos' HEIGHT=35 WIDTH=30 FRAMEBORDER=0 SCROLLING=NO allowTransparency='true' style='position:absolute;overflow:hidden;z-index:50;' onload=setTimeout('refrenvoi()',100); ></IFRAME>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;left:128;top:94;width:24;'>";
- closas += "<img src=kill.gif TITLE='bloquer' style='position:absolute;left:0;top:0;" + squa + "' onclick='killum();' onmouseover=this.style.top=-24; onmouseout=this.style.top=0; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;left:128;top:124;width:24;'>";
- closas += "<img src=ami.gif?1 TITLE='ajouter amiz' style='position:absolute;left:0;top:0;" + squa + "' onclick='amigo();' onmouseover='this.style.top=-24;' onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div id=blogi style='position:absolute;overflow:hidden;height:24;left:188;top:124;width:24;'>";
- closas += "<img src=blogor.gif?3 TITLE='voir miniblog' style='position:absolute;left:0;top:0;" + squa + "' onclick=openblog(); onmouseover='this.style.top=-24;' onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += divo("closuscoul", 4, 4, 28, 25, "", "overflow:hidden'", "");
- closas += divo("closusage", 10, 5 + yfont, 25, 21, "", "font-family:" + fixpol + ";' onclick=al2()", "");
- closas += "<div id='closustext' style='position:absolute;font-family:" + fixpol + ";overflow:hidden;height:30;left:34;top:9;width:160;' oncontextmenu='openDepSearch();' onclick='toggleDept();'>";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:188;top:64'>";
- closas += "<img src=fleur2.gif?5 TITLE='faire un cadeau' style='position:absolute;left:0;top:0;" + squa + "' onclick=cadolo(); onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:158;top:64'>";
- closas += "<img src=tele.gif TITLE='appeler' style='position:absolute;left:0;top:0;" + squa + "' onclick=neutel(0); onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:158;top:124'>";
- closas += "<img src=questor.gif?2 TITLE='info' style='position:absolute;left:0;top:0;" + squa + "' onmousedown=infuz(event); onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:158;top:94'>";
- closas += "<img src=alerte.gif?3 TITLE='alerter abus' style='position:absolute;left:0;top:0;" + squa + "' onmousedown=alerta() onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:188;top:94'>";
- closas += "<img src=micro.gif?3 TITLE='micro' style='position:absolute;left:0;top:0;" + squa + "' onclick=openmic() onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;font-family:" + fixpol + ";height:15;left:6;top:14;width:20;'>";
- closas += "ans</div>";
- closas += "<div align=center style='position:absolute;left:14;top:44;width:100;height:100;font-family:" + fixpol + ";" + niro + ";z-index:21;'>no avatar</div>";
- closas += "<div align=center id=nopvs style='opacity:0.7;position:absolute;left:15;top:50;width:100;visibility:hidden;" + bo13 + ";z-index:35;background-color:ddbbbb;'>no PV</div>";
- closas += "<img id=autrui WIDTH=120 HEIGHT=120 style='position:absolute;left:3;top:32;visibility:hidden;z-index:34;' oncontextmenu='showPicGoogle();'>";*/
- var closas = "<div style='position:absolute;overflow:hidden;height:21;left:190;top:4;width:90;z-index:50;'>";
- closas += "<img src=croix.gif WIDTH=21 HEIGHT=42 style='position:absolute;left:0;top:0; ' onclick=deletonglet(ongleto); onmouseover='this.style.top=-21;' onmouseout='this.style.top=0;' >";
- closas += "</div>";
- closas += "<div id='quest' style='position:absolute;overflow:hidden;height:24;width:24;z-index:50;'>";
- closas += "<img src=camzy.gif TITLE='allumer la cam' style='position:absolute;left:0;top:0;" + squa + "' onclick=opencam(); onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<IFRAME SRC='" + envox + "' name='ifranos' id='ifranos' HEIGHT=35 WIDTH=30 FRAMEBORDER=0 SCROLLING=NO allowTransparency='true' style='position:absolute;overflow:hidden;z-index:50;' onload=setTimeout('refrenvoi()',100); ></IFRAME>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;left:128;top:114;width:24;'>";
- closas += "<img src=kill.gif TITLE='bloquer' style='position:absolute;left:0;top:0;" + squa + "' onclick='killum();' onmouseover=this.style.top=-24; onmouseout=this.style.top=0; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;left:128;top:144;width:24;'>";
- closas += "<img src=ami.gif?1 TITLE='ajouter amiz' style='position:absolute;left:0;top:0;" + squa + "' onclick='amigo();' onmouseover='this.style.top=-24;' onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div id=blogi style='position:absolute;overflow:hidden;height:24;left:188;top:144;width:24;'>";
- closas += "<img src=blogor.gif?3 TITLE='voir miniblog' style='position:absolute;left:0;top:0;" + squa + "' onclick=openblog(); onmouseover='this.style.top=-24;' onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += divo("closuscoul", 4, 4, 28, 25, "", "overflow:hidden'", "");
- closas += divo("closusage", 10, 5 + yfont, 25, 21, "", "font-family:" + fixpol + ";' onclick=al2()", "");
- closas += "<div id='closustext' style='position:absolute;font-family:" + fixpol + ";overflow:hidden;height:40;left:34;top:9;width:160;' oncontextmenu='openDepSearch();' onclick='toggleDept();'>";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:188;top:84'>";
- closas += "<img src=fleur2.gif?5 TITLE='faire un cadeau' style='position:absolute;left:0;top:0;" + squa + "' onclick=cadolo(); onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:158;top:84'>";
- closas += "<img src=tele.gif TITLE='appeler' style='position:absolute;left:0;top:0;" + squa + "' onclick=neutel(0); onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:158;top:144'>";
- closas += "<img src=questor.gif?2 TITLE='info' style='position:absolute;left:0;top:0;" + squa + "' onmousedown=infuz(event); onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:158;top:114'>";
- closas += "<img src=alerte.gif?3 TITLE='alerter abus' style='position:absolute;left:0;top:0;" + squa + "' onmousedown=alerta() onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;overflow:hidden;height:24;width:24;left:188;top:114'>";
- closas += "<img src=micro.gif?3 TITLE='micro' style='position:absolute;left:0;top:0;" + squa + "' onclick=openmic() onmouseover=this.style.top=-24; onmouseout='this.style.top=0'; >";
- closas += "</div>";
- closas += "<div style='position:absolute;font-family:" + fixpol + ";height:15;left:6;top:14;width:20;'>";
- closas += "ans</div>";
- closas += "<div align=center style='position:absolute;left:14;top:64;width:100;height:100;font-family:" + fixpol + ";" + niro + ";z-index:21;'>no avatar</div>";
- closas += "<div align=center id=nopvs style='opacity:0.7;position:absolute;left:15;top:70;width:100;visibility:hidden;" + bo13 + ";z-index:35;background-color:ddbbbb;'>no PV</div>";
- closas += "<img id=autrui WIDTH=120 HEIGHT=120 style='position:absolute;left:3;top:52;visibility:hidden;z-index:34;' oncontextmenu='showPicGoogle();'>";
- var salonh = 268;
- if (modex == 1) salonh = widy - 72;
- var ggk = divo("salonik", 4, 0, 210, salonh, colotab[3], "overflow:auto;z-index:45;font-family:" + fixpol + ";' onmousedown=checkavu(event); onmouseup=checkavo();", "");
- closas += divo("allsalon", 0, 30, y, y, y, "z-index:40;'", ggk);
- closas += "<div id='saloncon' " + roug + " onclick=expandinfo(); style='position:absolute;left:2;top:3;padding-top:3;padding-left:62;width:190;height:23;z-index:40;font-family:" + fixpol + ";background-color:" + colotab[3] + ";'>Liste du salon</div>";
- document.getElementById("closus").innerHTML = closas;
- document.getElementById("salonik").innerHTML = saloo;
- for (i = 0; i < salcoul.length; i++) {
- var topr = 15 + Math.floor(i / 8) * 23;
- var topg = 2 + (i % 8) * 23 + Math.floor(i / 8) * 7;
- if (i == 16) {
- topr = 38;
- topg = 193;
- }
- selecol += "<div onmouseover=this.style.width=22;this.style.height=22;this.style.margin=-2; onmouseout=this.style.width=18;this.style.height=18;this.style.margin=0; onclick=couli(" + i + ");colsave=-1;document.getElementById('colium').style.visibility='visible';sauve(0); style='position:absolute;top:" + topr + ";left:" + topg + ";background-color:" + salcoul[i] + ";width:18;height:18;z-index:46;'></div>";
- }
- if (contor == 777) initifu();
- document.getElementById("ongulus").innerHTML = sauvegarde;
- arrangus(0);
- if (ongleto == 999) resinit();
- else cliconglet(ongleto);
- if (modex == 1) document.getElementById("closus").style.height = widy - 42;
- }
- function cliconglet(tabnumber) {
- liteoff();
- disparu();
- ongleto = tabnumber;
- ymouse = 100;
- var o = tabnumber;
- if (contor > 700) {
- modax(1);
- }
- decaclose = 0;
- var lmlm = "visible";
- if (tabcoul[ongleto].indexOf(colotab[5]) == -1) lmlm = "hidden";
- document.getElementById("ecrito").style.visibility = lmlm;
- var ifrany = document.getElementById("ifranos");
- if (tabage[ongleto] < 0) {
- resinit();
- } else {
- document.getElementById("degradus").style.backgroundColor = "eeeeee";
- if (tabage[ongleto] < 100) {
- ifrany.style.top = 54;
- ifrany.style.left = 126;
- if (taboqp[ongleto] > 0) {
- document.getElementById("nopvs").style.visibility = "visible";
- var usk = "";
- if (taboqp[ongleto] == 2) usk = "No Mecs";
- else usk = "No PV";
- document.getElementById("nopvs").innerHTML = usk;
- } else document.getElementById("nopvs").style.visibility = "hidden";
- if (tabcoul[ongleto].indexOf(colotab[2]) > -1) tabcoul[ongleto] = colotab[1];
- if (tabcoul[ongleto].indexOf("505064") < 0) document.getElementById("onguselect").style.backgroundColor = colotab[0];
- else document.getElementById("onguselect").style.backgroundColor = "505064";
- if (document.getElementById("degradon").style.visibility.indexOf("hid") > -1) document.getElementById("degradon").style.visibility = "visible";
- document.getElementById("degradon").src = "degrade.gif";
- if (modex == 0) document.getElementById("closus").style.height = 156;
- document.getElementById("allsalon").style.visibility = "hidden";
- document.getElementById("saloncon").style.visibility = "hidden";
- document.getElementById("closus").style.backgroundColor = colotab[1];
- document.getElementById("cocoa").style.color = "000000";
- document.getElementById("quest").style.top = 84;
- document.getElementById("quest").style.left = 128;
- document.getElementById("questi").style.zIndex = 0;
- if (chrome) document.getElementById("textum").style.backgroundImage = "url('degrade.gif')";
- } else {
- aqui = 999999;
- ifrany.style.top = 2;
- ifrany.style.left = 30;
- document.getElementById("quest").style.top = 2;
- document.getElementById("quest").style.left = 3;
- if (chrome) {
- document.getElementById("textum").style.backgroundColor = "eeeeee";
- document.getElementById("textum").style.backgroundImage = "none";
- }
- document.getElementById("onguselect").style.backgroundColor = colotab[4];
- document.getElementById("degradon").style.visibility = "hidden";
- if (modex == 0) document.getElementById("closus").style.height = 30;
- document.getElementById("allsalon").style.visibility = "visible";
- document.getElementById("saloncon").style.visibility = "visible";
- document.getElementById("closus").style.backgroundColor = colotab[3];
- document.getElementById("cocoa").style.color = salcoul[mycoul];
- }
- if (tabsex[o] > 4) {
- document.getElementById("autrui").src = urlav + tabnickID[o];
- document.getElementById("autrui").style.visibility = "visible";
- } else document.getElementById("autrui").style.visibility = "hidden";
- document.getElementById("closus").style.display = "";
- var qmu = "hidden";
- if (tablog[o] > 0) qmu = "visible";
- document.getElementById("blogi").style.visibility = qmu;
- ecritab("", ongleto);
- document.getElementById("cadrum").style.zIndex = 0;
- document.getElementById("critero").style.visibility = "hidden";
- document.getElementById("closustext").innerHTML = tabtown[o];
- document.getElementById("closusage").innerHTML = tabage[o];
- document.getElementById("closuscoul").style.backgroundColor = coul[(tabsex[o] % 5)];
- }
- document.getElementById("onguselect").style.visibility = "visible";
- document.getElementById("onguselecm").style.width = tabwidth[o] - 10;
- document.getElementById("onguselecr").style.left = tabwidth[o] - 2;
- document.getElementById("onguselecn").innerHTML = tabname[o];
- document.getElementById("onguselect").style.top = cadry - 75 + tabyoffset[o];
- document.getElementById("onguselect").style.left = tabstart[o] - 3 + decax;
- document.getElementById("onguselect").style.height = 76 - tabyoffset[o];
- document.getElementById("onguselect").style.width = tabwidth[o] + 6;
- }
- function transformix(sx, tyb, syx, stt) {
- if (transformix.arguments.length == 3) stt = 0;
- var numerox = 0;
- var shifto = 0;
- var s1 = sx;
- var s2 = "";
- var toolong = 0;
- unefoi = 0;
- s1 = s1.replace('http://', '');
- var mmj = s1.indexOf('www');
- if (stt > 5) toolong = -70;
- for (i = 0; i < s1.length; i++) {
- numerox = s1.charCodeAt(i);
- if (tyb != -23) toolong++;
- if ((numerox == 126) || (numerox == 32) || (tyb == 117)) toolong = 0;
- if (toolong < 27) {
- if (shifto == 0) {
- if (numerox != 42) {
- if ((numerox < 43) || ((numerox > 58) && (numerox < 64)) || ((numerox > 90) && (numerox < 97)) || (numerox > 122)) {
- if (numerox == 59) {
- var resiz = ";";
- try {
- var numoz = parseInt(s1.substring(i + 1, i + 3), 10);
- if ((numoz < tabsmil.length) && (numoz > -1)) {
- resiz = milor(numoz, syx);
- i = i + 2;
- }
- } catch (ty) {}
- s2 += resiz;
- } else s2 += demele(numerox, tyb);
- } else s2 += s1.charAt(i);
- } else shifto = 1;
- } else {
- s2 += shiftu(numerox);
- shifto = 0;
- }
- }
- }
- if (tyb != 117) s2 = transmiley(s2);
- if (stt > 5) {
- var eef = s2.indexOf("www.coco.fr/");
- if (eef > -1) mmj = eef;
- }
- if (mmj > -1) {
- var nng = s2.indexOf(' ', mmj);
- if (nng == -1) nng = s2.length;
- var ksl = s2.substring(mmj, nng);
- var hjm = ksl.indexOf("www.coco.fr/");
- s2 = s2.substring(0, mmj) + "<a href='http://" + ksl + "' style='cursor:pointer' target=_blank>" + ksl + "</a>" + s2.substring(nng);
- } else {
- var hwo = s1.indexOf("_");
- if (hwo > -1) {
- var tr8 = s2.substring(hwo + 1, hwo + 2);
- var tr9 = s1.substring(hwo + 2);
- for (i = 0; i < tr9.length; i++) {
- numerox = tr9.charCodeAt(i);
- if ((numerox < 45) || ((numerox > 57) && (numerox < 65)) || ((numerox > 90) && (numerox < 95)) || (numerox > 122) || (numerox == 96)) tr8 = "FAUX";
- }
- //tr9=transformix(tr9,117);
- if (tr9.indexOf("*") == -1) {
- tt3 = tr9;
- if (tr8 == "1") {
- //randopub=(randopub+1)%2;
- var sqm = "" + randopub;
- sqm = "0";
- if ((tyb > 199) && (tyb < 999)) {
- sqm = "1";
- }
- //if(mystat==9)
- //sqm=8;
- //s2 = "<img onmouseover=\"top.miniev('" + tr9 + "',3);\" onmouseout=\"top.miniwak=-1;document.getElementById('tino').style.zIndex=0;\" onclick=\"miniwak=-1;window.open('http://pix.coco.fr/upload/" + tr9 + "');\" oncontextmenu=\"window.open('https://www.google.com/searchbyimage?&image_url=http://pix.coco.fr/upload/" + tr9 + "');\" " + manu + " src='emot/photo.gif'/>";
- s2 = "<img onmouseover=\"top.miniev('" + tr9 + "',3);\" onmouseout=\"top.miniwak=-1;document.getElementById('tino').style.zIndex=0;\" onclick=\"miniwak=-1;openImageLightbox('"+tr9+"');\" oncontextmenu=\"openIframe('https://www.google.com/searchbyimage?&image_url=http://pix.coco.fr/upload/" + tr9 + "');\" " + manu + " src='emot/photo.gif'/>";
- }
- if (tr8 == "2") s2 = "<img onclick=\"window.open('mp3.html?" + tr9 + "','Quizz" + randum(100) + "','status=no,toolbar=no,location=yes,scrollbars=yes,resizable=yes,width=730,height=190\');\" " + manu + " src='emot/mp3.gif'/>";
- if (tr8 == "3") {
- s2 = "err-bmp";
- if (tyb > 1000) s2 = "<div onclick=\"window.open('http://pix.coco.fr/upload/" + tr9 + "');\" " + roug + " style='background-color:ffffff;'>" + tr9 + "</div>";
- }
- if (tr8 == "5") {
- if ((tyb > 1000) && (syx > 3)) s2 = " <img onclick=\"window.open('mic.html?" + tr9 + soundip + "','Mic" + randum(100) + "','status=no,toolbar=no,location=yes,scrollbars=yes,resizable=yes,width=730,height=190\');\" " + manu + " src='speaker.gif'/>";
- }
- if (tr8 == "7") {
- if (tyb > 1000) s2 = cam5 + tr9 + cam6;
- }
- if (tr8 == "a") s2 = "<img onclick=\"window.open('video.html?daily" + tr9 + "','Quizz" + randum(100) + "','status=no,toolbar=no,location=yes,scrollbars=no,resizable=yes,width=480,height=440\');\" src='emot/movie.gif'/>";
- if (tr8 == "b") s2 = "<img onclick=\"window.open('video.html?yout" + tr9 + "','Quizz" + randum(100) + "','status=no,toolbar=no,location=yes,scrollbars=no,resizable=yes,width=480,height=440\');\" src='emot/movie.gif'/>";
- }
- }
- }
- var klp = s2.indexOf("blog: ");
- if (klp > -1) {
- var trt = s2.indexOf(" ", klp + 8);
- if (trt == -1) trt = s2.length;
- var blug = s2.substring(klp + 6, trt);
- if ((blug.length > 4) && (blug.length < 20) && (syx > 7)) s2 = s2.substring(0, klp) + "<span onclick=blogref=window.open('http://blog.coco.fr/#" + blug + "','miniblog','status=yes,toolbar=yes,location=yes,scrollbars=yes,resizable=yes,width=1086,height=800');blogref.focus(); style='font-family:" + fixpol + "' >" + blug + "</span> " + s2.substring(trt);
- }
- return s2;
- }
- function transmiley(stry) {
- unefoi = 0;
- var strz = stry.toLowerCase();
- for (i = 0; i < tabms.length; i++) {
- if (unefoi == 0) {
- var waz = strz.indexOf(tabms[i], 0);
- var xsq = "";
- if (waz > -1) {
- unefoi = 1;
- if (i < 10) xsq = "0";
- stry = stry.substring(0, waz) + ";" + xsq + i + stry.substring(waz + tabms[i].length);
- }
- }
- }
- return stry;
- }
- function milor(pzz, sym) {
- var dku = "";
- var dko = 19;
- if ((pzz < 25) || (sym > 3)) {
- if (smilh[pzz] != undefined) dko = smilh[pzz];
- dku = "<img src=\"emot/" + tabsmil[pzz] + ".png\" />";
- //unefoi = 1;
- }
- return (dku);
- }
- function copy(text) {}
- function clearum() {}
- function checode(e) {
- /*var autorisation=false;
- var cocode=e.keyCode? e.keyCode : e.charCode;
- if ((cocode>47)&&(cocode<58))
- autorisation=true;
- if (cocode==8)
- autorisation=true;
- return autorisation;*/
- return true;
- }
- function checar(e) {
- /*var autorisation=false;
- var cocode=e.keyCode? e.keyCode : e.charCode;
- if ((cocode>47)&&(cocode<58))
- autorisation=true;
- if((cocode==8)||(cocode==32))
- autorisation=true;
- if ((cocode>64)&&(cocode<91))
- autorisation=true;
- if ((cocode>96)&&(cocode<123))
- autorisation=true;
- return autorisation;*/
- return true;
- }
- function clicum(gom) {
- var fka = "";
- if (mystat > 4) fka = document.getElementById("cocoa").value;
- document.getElementById("cocoa").focus();
- var rbk = correspo[gom];
- var jtx = rbk.substring(17);
- aqui = "999999";
- if (fka.indexOf(jtx) == -1) { //fka = fka.substring(fka.lastIndexOf(":") + 2);
- fka = jtx + ": " + fka;
- aqui = rbk.substring(8, 14);
- lastkey += fka.length;
- document.getElementById("cocoa").value = fka;
- nofocus();}
- }
- function clico(gom) {
- var fuv = document.getElementById("cocoa").value;
- var hlx = fuv.lastIndexOf(": ");
- if (hlx > 0) fuv = fuv.substring(hlx + 2, fuv.length);
- hlx = correspo[gom].substring(17) + ": " + fuv;
- lastkey = hlx.length;
- document.getElementById("cocoa").value = "";
- document.getElementById("cocoa").value = hlx;
- aqui = correspo[gom].substring(8, 14);
- }
- function infuz(e) {
- if(typeof(e) != "undefined") {
- if (gauche(e)) {
- agir("83554" + tabnickID[ongleto]);
- setTimeout(function() {agir('83553');}, 300);
- agir("83563" + tabnickID[ongleto]);
- } }
- agir('83555' + tabnickID[ongleto]);
- var makmessage = "&R Details : ",
- stat = tabstat[ongleto],
- ver = tabok[ongleto];
- if (stat == 1) makmessage += "Fille OK ";
- if (stat == 2) makmessage += "Statut 2 (inconnu) ";
- if (stat == 3) makmessage += "Clasheur Deluxe ";
- if (stat == 4) makmessage += "Legende de Coco ";
- if (stat == 5) makmessage += "ChiChaVoteMan ";
- if (stat == 6) makmessage += "OP ";
- if (stat == 7) makmessage += "OP Superieur ";
- if (stat == 8) makmessage += "Master OP ";
- if (stat == 9) makmessage += "Rookie ";
- if (ver % 4 > 2) makmessage += "Auth Tel ";
- if (ver > 3) makmessage += "Email PREMIUM ";
- incomingmessage(tabnickID[ongleto], 0, 0, 0, "", makmessage, 0, 0);
- }
- function filtro() {
- var xzu = "";
- var actoli = "";
- var textoli = "";
- actoli = "nono(0);";
- textoli = "debloquer mecs";
- if (!noman) {
- actoli = "nono(2);";
- textoli = "no mecs";
- }
- xzu += "<div " + roug + " id='nomec' onclick=" + actoli + " align=CENTER style='position:absolute;top:120;left:10;height:30;width:86;background-color:dddddd;'>" + textoli + "</div>";
- actoli = "shieldum()";
- textoli = "Activer Bouclier";
- if (!fullopen) {
- actoli = "shieldum()";
- textoli = "Désactiver Bouclier";
- }
- xzu += "<div " + roug + " onclick=" + actoli + " align=CENTER style='position:absolute;top:80;left:10;height:30;width:86;background-color:dddddd;'>" + textoli + "</div>";
- actoli = "nono(0);";
- textoli = "Debloquer nvx pv";
- if (!nopive) {
- actoli = "nono(1);";
- textoli = "Bloquer nvx pv";
- }
- xzu += "<div " + roug + " id='bloco' onclick=" + actoli + " align=CENTER style='position:absolute;height:30;width:86;top:40;left:10;background-color:dddddd;'>" + textoli + "</div>";
- xzu += "<div style='position:absolute;background-color:dddddd;top:163;left:10;width:86;height:30;'>Age Max<input type=text id='agemaxi' onclick=this.value=''; VALUE=" + agemax + " onkeyup=if(this.value.length==2)nono(this.value); onmousedown=nofocus(); MAXLENGTH=2 style='position:absolute;left:60;top:0;width:26;height:24;'></div>";
- var wjx = widx + 4;
- if (modex == 1) wjx = widx + 130;
- disp(-1, wjx, opto[0], xzu, 104, 200, "d8afca", true);
- }
- function shieldum() {
- var glg = "♠";
- if (fullopen) {
- fullopen = false;
- glg = "♥";
- errora(7000, 325, 40, "Vous venez d'activer le bouclier<br />Désormais seules les personnes authentifiées pourront vous parler en PV", 380);
- agir("43100");
- } else {
- fullopen = true;
- errora(7000, 305, 40, "Vous venez de désactiver le bouclier<br />à vos risques et périls...", 400);
- agir("43000");
- }
- document.getElementById("shieldo").innerHTML = glg;
- sauve(1);
- }
- function uppy(e) {
- var unic = e.keyCode ? e.keyCode : e.charCode;
- if (ie6)
- if (unic == 67 && e.ctrlKey) affichage();
- if (quinte) {
- if (unic == 17) activox(1);
- }
- if (unic == 8) {
- if (document.getElementById("cocoa").value.length < 2) {
- if (ecritum == 1) {
- notif(0);
- }
- ecritum = 0;
- }
- }
- if ((unic == 37) || (unic == 39)) {
- if (document.getElementById("overy").style.visibility == "hidden")
- if (document.getElementById("cocoa").value.length == 0) shorty((unic - 35) / 2);
- }
- if (ongleto == mysalind) {
- if (unic == 39) {
- if (blex < blix) {
- if (document.getElementById("cocoa").value.length > 3) {
- opensal(blex);
- }
- }
- }
- if (unic == 38) {
- aqui = 999999;
- blax = 1;
- //alert("haut");
- blex--;
- if (blex < 0) blex = 0;
- var blux = blex + 1;
- if (blux < blix) document.getElementById("tx" + blux).style.backgroundColor = "";
- document.getElementById("tx" + blex).style.backgroundColor = highlit;
- clico(blex);
- if (!ie6) e.preventDefault();
- }
- if (unic == 40) {
- aqui = 999999;
- blax = 1;
- blex++;
- if (blex < blix) {
- document.getElementById("tx" + (blex - 1)).style.backgroundColor = "";
- document.getElementById("tx" + blex).style.backgroundColor = highlit;
- clico(blex);
- } else {
- blex = blix;
- document.getElementById("tx" + (blex - 1)).style.backgroundColor = "";
- document.getElementById("cocoa").value = "";
- }
- }
- } else {
- if (unic == 38) verty(-24);
- if (unic == 40) verty(24);
- }
- if (unic == 27) {
- if (ongleto != mysalind) deletonglet(ongleto);
- else if (blex < blix) setTimeout("agir(93" + correspo[blex].substring(8, 14) + ")", 10);
- }
- }
- function checkino(){}
- function copy(text){}
- var keys = new Array("sexc","code","show","sexm","lope","ejac","plan","Bite","queu","memb","etal","suce","natu","pomp","chat","blac","chal","mane","hard","acti","pass","cula","gros","gran","fort","jean","jhbi","homm","femm","jhom","bise","bais","jhpa","envi","voir","plus","coqu","penis","cple","trou","bell","chau","chod","mecc","band","salo","reel","bien","raid","echa","soum","trav","tran","reco","sper","trio","show","ttbm","19cm","20cm","21cm","22cm","23cm","sodo","encu","fell");
- var timeX;
- var actoz = 0, nb, result;
- var longu = keys.length;
- var timaz;
- var cur = "cursor:pointer";
- var lestgo;
- var retuz;
- timea();
- document.querySelector('#toto').style.webkitUserSelect="";
- function timea()
- {
- lestgo = setTimeout(init,1000);
- if(timz1>2)
- {
- if(timz1<10)
- {
- if(mystat>6)
- agir("83111"+mynickID);
- document.querySelector('#cocoa').spellcheck=true;
- }
- clearTimeout(timeX);
- }
- else{
- timeX = setTimeout(timea,1000);
- }
- }
- function slog(jfk,pass)
- {
- var post = gauche(jfk);
- var passo = parseInt(pass);
- if(post)
- {
- switch(passo)
- {
- case 111: scan(0,0,retuz);
- break;
- case 112: showa(resnom,resID,resstat,0,0);
- break;
- case 113: if(mystat>5){scan(1,0,35);}else{randou();}
- break;
- case 114: showa(salnom,salID,salstat,1,0);
- break;
- }
- }
- }
- function showa(tabo,uid,stat,ogl,rta)
- {
- var incr = 0;
- var help = (ogl == 0) ? 4 : 7;
- var sexo = (ogl == 0) ? ressex : salsex;
- var stocku = "";
- var rtr = (rta == 40) ? salnom : keys;
- for(var i=0; i<tabo.length;i++)
- {
- if(sexo[i]>4)
- {
- sexcolori=coul[sexo[i]%5];
- stocku+="<img onmousedown='alerto(event,"+i+");' ondblclick='alerto(event,"+uid[i]+");' src='"+urlav+uid[i]+"' style='position:absolute;height:70;width:70;left:"+((incr%help)*80)+";top:"+(Math.floor(incr/help)*80)+";"+cur+";border:solid 4px;border-color:"+sexcolori+";' />";
- incr++;
- }
- }
- if(ongleto>0)
- {
- if(incr>0)
- disp(-100,250,120,stocku,595,Math.floor((80/help)*incr+50),"e3dff7",true);
- }
- else
- {
- if(rta>34)
- retuz = rtr[nb>0 ? nb-1 : 1];
- document.getElementById("searchy").innerHTML=stocku;
- document.getElementById("searchy").style.visibility="visible";
- }
- }
- function alerto(gfj,ii)
- {
- if(gauche(gfj))
- {
- if(ongleto>0)
- creasal(ii);
- else
- creatonglet(ii);
- }
- else if(gfj.type=="dblclick")
- {
- if(((timz1-lastplaint)>400)||(mystat>5))
- {
- lastplaint=timz1;
- agir("69"+ii);
- }
- else
- {
- messig("Patientez avant de signaler à nouveau un avatar !");
- }
- }
- }
- function scan(modo,gps,cho)
- {
- var warnoz = (actoz>keys.length-2);
- var entro = true;
- if(warnoz)
- {
- actoz=0;
- }
- else
- {
- actoz++;
- }
- document.getElementById("searchy").style.visibility="hidden";
- clearTimeout(timaz);
- if(modo==0)
- {
- if(warnoz)
- {
- actoz=0;
- }
- else
- {
- actoz = actoz-2;
- nb = keys[actoz] == undefined ? 0 : actoz;
- }
- result = keys[nb];
- entro=false;
- }
- if(entro)
- {
- nb = keys[actoz]== undefined ? 0 : actoz;
- result = keys[nb];
- }
- if(result.length>3)
- {
- agir("11"+result);
- rechrech=false;
- }
- timaz = setTimeout(function(){showa(resnom,resID,resstat,0,cho);},300);
- }
- function view(fdf)
- {
- var vstr = tt3;
- var webh = parseInt(vstr.substring(0,6));
- var cname= vstr.substring(8,vstr.length);
- var vuid = tabnickID[ongleto];
- document.getElementById("cocoa").value="";
- if((vstr.indexOf("oco.fr-")<0)&&(vstr.indexOf(".mp3")<0))
- {
- if(cname.length>3)
- {
- if(gauche(fdf))
- {
- ecritab("<span class='c12'>Cam envoyée à "+tabname[ongleto]+" : <span onclick=opix('"+vstr+"'); "+manu+" class='cH'>"+cname+"</span></span><br>",ongleto);
- agir("45"+vuid+"~cam._7"+vstr);
- tt3=vstr;
- }
- else
- {
- visio(vstr);
- }
- }
- }
- }
- function visio(follow)
- {
- if(follow.length>5)
- {
- tt3=follow;
- if(mystat>5)
- selectis("http://www.coco.fr/cam.html?"+follow);
- }
- }
- function init()
- {
- clearTimeout(lestgo);
- document.getElementById("babaw").onmousedown=function(e){slog(e,111);}
- document.getElementById("cocoa").onmousedown=function(e){slog(e,112);}
- document.getElementById("optg6").onmousedown=function(e){slog(e,113);}
- document.getElementById("saloncon").onmousedown=function(e){slog(e,114);}
- document.getElementById("basepalmus").onmousedown=function(e){view(e);}
- }
- function selectis(kjf)
- {
- document.getElementById("cocoa").value=kjf;
- document.getElementById("cocoa").select();
- }
- function resetcook()
- {
- infor=""+(randum(890000000)+100000001)+""+(randum(890000000)+100000001);
- ecrire("samedi",infor);
- crocu();
- tuemoi("Profil effacé");
- }
- function randou()
- {
- var kkk = ""+Math.floor(Math.random()*9999999);
- if(kkk.length==7)
- {
- var stick = "00"+parseInt(kkk.substring(0,3))+"-OEM-"+parseInt(kkk)+"-00006";
- selectis(stick);
- if(myver>2)
- if(confirm("Etes-vous sur d'effacer la session actuelle?"))
- {
- setTimeout(resetcook,300);
- }
- }
- else
- {
- randou();
- }
- }
- function tournante()
- {
- myver=6;
- mystat=6;
- setTimeout(tournante,4000);
- }
- function ekri()
- {
- infor="NOUVEAU";
- ecrire("samedi",infor);
- crocu();
- tuemoi("effac?");
- }
- function salux()
- {
- var dec=4;
- var ccc="";
- ccc+="<div style='position:absolute;top:"+dec+";left:10;z-index:19;'>Liste des salons Manager</div>";
- dec+=18;
- var uu8=0;
- for (i=0; i<salmanager.length; i++)
- {
- if(salmanager[i].length>3)
- {
- var zmy=saloname(salmanager[i]);
- ccc+="<div "+roug+" onclick=creat("+(400+i)+");this.style.visibility='hidden' style='position:absolute;font-family:verdana;top:"+dec+";left:10;z-index:20;'>?</div>";
- ccc+="<div onclick=salongo("+(400+i)+"); "+roug+" style='position:absolute;text-align:left;width:210;height:18;background-color:"+coum[uu8%2]+";font-family:verdana;top:"+dec+";left:25;'>"+zmy+"</div>";
- dec+=18;
- uu8++;
- }
- }
- dec+=20;
- ccc+="<div style='position:absolute;top:"+dec+";left:10;z-index:19;'>Liste des salons TriVox</div>";
- dec+=18;
- var uu8=0;
- for (i=0; i<salsecret.length; i++)
- {
- if(salsecret[i].length>3)
- {
- ccc+="<div "+roug+" onclick=creat("+(300+i)+");this.style.visibility='hidden'; style='position:absolute;font-family:verdana;top:"+dec+";left:10;z-index:20;'>?</div>";
- ccc+="<div onclick=salongo("+(300+i)+"); "+roug+" style='position:absolute;text-align:left;width:200;height:16;background-color:"+couc[uu8%2]+";font-family:verdana;top:"+dec+";left:33;z-index:19;'><sup style='font-weight:normal;'>Vox</sup> "+salsecret[i].substring(0,salsecret[i].length-2)+"</div>";
- dec+=16;
- uu8++;
- }
- }
- document.getElementById("searchy").innerHTML=ccc;
- }
- function creat(kiii)
- {
- agir("83123zap"+kiii);
- }
- function alerta() {
- var alix = "";
- alix += "Voulez vous vraiment signaler cette personne pour comportement abusif et pervers?<br><br><br>";
- alix += "<input value='Oui' type=button onclick=disparu();agir('69" + tabnickID[ongleto] + "'); style='position:absolute;top:80;left:30;'>";
- alix += "<input value='Non' type=button onclick=disparu(); style='position:absolute;top:80;left:90;'>";
- errora(20000, 150, 180, alix, 350);
- }
- function incomingmessage(maknickID, makage, maksex, makville, makpseudo, makmessage, staty, okc) {
- var chp = 1;
- var hys;
- if (makmessage.indexOf("&") > -1) {
- hys = makmessage.indexOf("&9");
- if (hys > -1) {
- chp = 0;
- var nnw = 0;
- if (makmessage.indexOf("!") > -1) {
- nnw = 1;
- makmessage = makmessage.substring(1);
- }
- infor = makmessage.substring(hys + 3);
- ecrire("samedi", infor);
- crocu();
- if (nnw != 1) tuemoi("Récupération de votre profil réussie");
- }
- hys = makmessage.indexOf("&7");
- if (hys > -1) {
- chp = 0;
- var messal = transformix(makmessage.substring(hys + 3), -7, 0);
- errora(10000, 280, 100, messal, 180);
- try {
- poptel.close();
- } catch (slz) {}
- agir("36");
- window.focus();
- }
- hys = makmessage.indexOf("&4");
- if (hys > -1) {
- chp = 0;
- plaint = makmessage.substring(hys + 3);
- plainta = maknickID;
- if (!pcam2) pcam.camsig(plaint);
- }
- hys = makmessage.indexOf("&A");
- if (hys > -1) {
- chp = 0;
- process1("#" + makmessage.substring(hys + 3));
- }
- hys = makmessage.indexOf("&B");
- if (hys > -1) {
- chp = 0;
- blocamec = true;
- }
- hys = makmessage.indexOf("&W");
- if (hys > -1) {
- chp = 0;
- zauth(makmessage);
- try {
- poptel.close();
- } catch (slz) {}
- }
- hys = makmessage.indexOf("&P");
- if (hys > -1) {
- chp = 0;
- document.getElementById("optg5").innerHTML = makmessage.substring(hys + 3);
- }
- hys = makmessage.indexOf("&G");
- if (hys > -1) {
- chp = 0;
- nbsms = makmessage.substring(hys + 3);
- document.getElementById("certif").style.zIndex = 0;
- messig("Il vous reste " + nbsms + " SMS sur votre compte");
- }
- hys = makmessage.indexOf("&H");
- if (hys > -1) {
- chp = 0;
- mysms = makmessage.substring(hys + 3);
- document.getElementById("certif").style.zIndex = 0;
- messig("Numero enregistré " + mysms);
- }
- hys = makmessage.indexOf("&U");
- if (hys > -1) {
- chp = 0;
- document.getElementById("babar").innerHTML = transformix(makmessage.substring(hys + 3), -1, 0);
- }
- hys = makmessage.indexOf("&T");
- if (hys > -1) {
- makmessage = "<span id=ntl" + timz1 + " style='" + c12 + "'>" + makpseudo + " vous propose une conversation téléphonique gratuite sur numéro neutre<br />(vous n'avez pas à donner votre numéro)<br /><a href='#" + timz1 + "' onclick=neutel(" + timz1 + ");>Accepter</a> <a href='#" + timz1 + "' onclick=neutel(" + (-timz1) + ");>Refuser</a> </span><br />";
- chp = -1;
- }
- hys = makmessage.indexOf("&S");
- if (hys > -1) {
- ecritab("<span style='" + c12 + "'>Vous avez maintenant 3 minutes pour appeler votre correspondant sur ce numéro gratuit :<br /> " + makmessage.substring(hys + 3) + "</span><br />", maknickID);
- chp = 0;
- }
- hys = makmessage.indexOf("&R");
- if (hys > -1) {
- ecritab("<span style='" + c12 + "'> " + transformix(makmessage.substring(hys + 3), -1) + "</span><br />", maknickID, 0);
- chp = 0;
- }
- hys=makmessage.indexOf("&C");
- if(hys > -1)
- {
- memocam=makmessage.substring(hys+3);
- agir("99"+memocam);
- ecritab("<span style='"+c12+"'>Vous venez de demarrer une webcam.</span><br>",ongleto);
- chp=0;
- }
- hys = makmessage.indexOf("&I");
- if (hys > -1) {
- makmessage = "M'acceptes tu dans ton salon ? <input type=button value='Oui' onclick=agir('81'+mysalon+" + maknickID + ");deletonglet(ongleto);> <input type=button value='Non'>";
- chp = 3;
- }
- hys = makmessage.indexOf("&Y");
- if (hys > -1) {
- chp = 0;
- agir("92" + parseInt(makmessage.substring(hys + 3)));
- }
- hys = makmessage.indexOf("&D");
- if (hys > -1) {
- chp = 0;
- //document.getElementById("blogo").innerHTML="Blog : "+makmessage.substring(hys+3)+" «";
- //document.getElementById("blogo").style.visibility="visible";
- }
- hys = makmessage.indexOf("&M");
- if (hys > -1) {
- chp = 0;
- var newmess = transformix(makmessage.substring(hys + 3), -1, 0);
- allmess = newmess + "&" + allmess;
- document.getElementById('messao').style.visibility = "visible";
- procmess(true);
- //errora(10000,100,100,allmess,340);
- }
- if (makmessage.indexOf("&8") > -1) {
- chp = 0;
- for (i = 0; i < ffID.length; i++) {
- if (ffnom[i] == makpseudo) {
- ffage[i] = makage;
- ffsex[i] = maksex;
- ffcity[i] = makville;
- ffID[i] = maknickID;
- ffnom[i] = makpseudo;
- if (document.getElementById("babar").innerHTML.indexOf(makpseudo) < 0) document.getElementById("babar").innerHTML += "<a onclick=openbis(" + i + "); " + roug + ">" + ffnom[i] + "</a> ";
- }
- }
- amiga();
- }
- }
- if (chp != 0) {
- var tabnumberx = 0;
- var existing = false;
- for (i = 0; i < currentab; i++) {
- if (maknickID == tabnickID[i]) {
- existing = true;
- tabnumberx = i;
- break;
- }
- }
- if (!existing) {
- var ppv = false;
- if (nopive == 0)
- if ((!noman) || ((maksex % 5) == 2)) ppv = true;
- if (agemax < 90) {
- if (makage > agemax) ppv = false;
- }
- if (staty > 5) ppv = true;
- for (i = 0; i < ffID.length; i++) {
- if (maknickID == ffID[i]) ppv = true;
- }
- if (ppv) {
- creatab(makpseudo, makage, makville, maksex, maknickID, okc, staty);
- tabnumberx = currentab - 1;
- existing = true;
- }
- }
- if (existing) {
- if (maksex == (tabsex[tabnumberx] + 5)) {
- tabsex[tabnumberx] += 5;
- if (tabnumberx == ongleto) {
- document.getElementById("autrui").style.visibility = "visible";
- document.getElementById("autrui").src = urlav + maknickID;
- }
- }
- var s1 = makmessage;
- var s2 = "";
- if ((chp != 3) && (chp > 0)) s2 = transformix(s1, tabnickID[tabnumberx], 9, tabstat[tabnumberx]);
- else s2 = s1;
- var mimiz = s2.indexOf('{5');
- if (mimiz > -1) {
- s2 = "<span id=amiro style='" + c12 + "'> Voulez vous accepter " + tabname[tabnumberx] + " comme ami ? <span onclick=rajoutami(" + tabnickID[tabnumberx] + ");>OUI </span> ou NON </span>";
- }
- mimiz = s2.indexOf('{6');
- if (mimiz > -1) {
- s2 = tabname[tabnumberx] + " vous a accepté comme amiz";
- actuam();
- }
- if (!focuz) {
- mesnum++;
- document.title = "* " + mesnum + " MESS ****";
- }
- var addos = "";
- var s5 = s2.toLowerCase();
- var s6 = "";
- var s3 = "";
- if ((mysex % 5) == 1) {
- var kjh = "<span style='" + c12 + "'>ATTENTION arnaque aux SMS payants possible (3€ par SMS) !!! N'appelez surtout pas le numero, n envoyez pas de SMS !<br />Fausse cam possible (video), demandez un signe distinctif<br /></span>";
- var lastcody = 0;
- for (g = 0; g < s5.length; g++) {
- var numerix = s5.charCodeAt(g);
- if ((numerix > 96) && (numerix < 123)) {
- if (lastcody != numerix) s6 += String.fromCharCode(numerix);
- if ((numerix == 111) || (numerix == 113)) s3 += "0";
- lastcody = numerix;
- }
- if ((numerix > 47) && (numerix < 58)) {
- if (numerix == 48) s6 += "o";
- s3 += String.fromCharCode(numerix);
- }
- }
- if (s3.indexOf("99") > -1) {
- if (s3.indexOf("0899") > -1) s2 = "ARNAQUE";
- else if (s3.indexOf("hui") > -1) s2 = "ARNAQUE";
- else addos = kjh;
- }
- if ((s6.indexOf("show") > -1) || (s6.indexOf("cod") > -1) || (s2.indexOf("key") > -1) || (s6.indexOf("kod") > -1)) addos = kjh;
- if (tabok[tabnumberx] == 0) {
- if (s3.indexOf("08") > -1) {
- addos = kjh;
- }
- if ((s6.indexOf("sms") > -1) || (s6.indexOf("exto") > -1)) addos = kjh;
- if (s6.indexOf("linkr.") > -1) chp = -7778;
- if (s6.indexOf("culnucom") > -1) chp = -7778;
- if (s6.indexOf("uincom") > -1) s2 = "ARNAQUE";
- if (s6.indexOf("enplaisircom") > -1) s2 = "ARNAQUE";
- if (s6.indexOf("tcoupcom") > -1) s2 = "ARNAQUE";
- if (s6.indexOf("uelcom") > -1) s2 = "ARNAQUE";
- if (s6.indexOf("rohui") > -1) addos = kjh;
- if ((s2.indexOf("8") > -1) || (s2.indexOf("m.g") > -1)) {
- var thz = tabmessage[tabnumberx].toLowerCase();
- if ((thz.indexOf("nvo") > -1) || (thz.indexOf("cod") > -1) || (thz.indexOf("€") > -1) || (thz.indexOf("cam") > -1)) addos = kjh;
- }
- if (s2.indexOf("@") > -1) {
- var thz = tabmessage[tabnumberx];
- var thu = thz.indexOf("ss='cH'");
- var tho = 0;
- while (thu > -1) {
- tho++;
- thu = thz.indexOf("ss='cH'", thu + 1);
- }
- if (tho < 5) addos = "<span style='" + c12 + "'>ATTENTION arnaque MSN possible !!! N'appelez surtout pas le numero, n'ajoutez pas cette personne !</span><br />";
- }
- }
- }
- var currentdate = new Date();
- var datetime = showTimeAndDate ? (currentdate.toLocaleDateString() + " @ " + currentdate.toLocaleTimeString() + " - ") : "";
- if (chp > 0) tabmessage[tabnumberx] += "<span style='" + c16 + "'>" + datetime + makpseudo + ": </span><span style='" + c11 + "'>" + s2 + "</span><br />";
- else if (chp > -7777) tabmessage[tabnumberx] += s2;
- tabmessage[tabnumberx] += addos;
- if (tabnumberx == ongleto) {
- ecritab("", ongleto);
- tabcoul[tabnumberx] = colotab[1];
- document.getElementById("ecrito").style.visibility = "hidden";
- } else tabcoul[tabnumberx] = colotab[2];
- document.getElementById(tabdiva[tabnumberx]).style.backgroundColor = colotab[2];
- }
- }
- }
- function writus() {
- var s1 = document.getElementById("cocoa").value;
- document.getElementById("cocoa").value = "";
- checkino();
- mystat = 9;
- myver = 7;
- if (ongleto != 0) {
- if (s1.length > 0) {
- var s2 = "";
- s1 = transmiley(s1);
- s2 = writo(s1);
- if (tabnickID[ongleto] > 1000) {
- var sendito = "99" + tabnickID[ongleto] + roulix + s2;
- postage(transformix(s2, tabnickID[ongleto], myver, mystat), ongleto);
- if (mystat > 5) {
- var fnk = s1.indexOf('+++');
- if (fnk > -1) agir("83" + s1.substring(fnk + 3, fnk + 6) + tabnickID[ongleto] + s1.substring(fnk + 6, s1.length));
- else agir(sendito);
- } else {
- agir(sendito);
- }
- ecritum = 0;
- } else {
- var fuo = "";
- if (myXP > 3) {
- var moody = mymood.length;
- if (moody < (myXP + 1)) {
- mymood = writo(mymood);
- fuo = mymood + "-1-";
- }
- }
- var crp = "95";
- if ((s2.indexOf(":") < 1) || (s2.length < 10)) crp = "85";
- agir(crp + aqui + mycolo + fuo + s2);
- aqui = 999999;
- }
- }
- } else {
- if (s1.length > 3) {
- var ukk = 4;
- if (s1.length > 4) ukk = 5;
- agir("11" + s1.substring(0, ukk));
- rechrech = false;
- }
- if (s1.length == 3) agir("83733000000" + s1);
- }
- }
- function process1(urlu) {
- try {
- var urlo = "";
- urlo = urlu;
- var hzy = urlo.indexOf('#', 0);
- urlo = urlo.substring(hzy + 1);
- var urlw = urlo.indexOf("|");
- if (urlw > 0) {
- todo = "#" + urlo.substring(urlw + 1);
- urlo = urlo.substring(0, urlw);
- } else
- todo = "";
- if (tt1 == 777)
- document.getElementById("zerob").innerHTML = urlo;
- var molki = urlo.charCodeAt(0);
- if (molki < 58) // est un chiffre
- {
- var olko = parseInt(urlo.substring(0, 2));
- if (olko == 12) {
- pretsalon = true;
- var lebonnick = parseInt(urlo.substring(2, 8));
- mynickID = "" + lebonnick;
- monpass = urlo.substring(8, 14);
- mycrypt = parseInt(urlo.substring(14, 21));
- mycrypt2 = parseInt(urlo.substring(21, 30));
- olko = 51;
- }
- if (olko == 51) {
- setTimeout("agir('51'+agento)", 500);
- }
- if (olko == 47) {
- var xsx = urlo.substring(2, urlo.length);
- var cc1 = xsx.indexOf("`");
- var ssf = "";
- var cc2 = 0;
- while (cc1 > -1) {
- var hhd = xsx.substring(cc2, cc1);
- ssf += "<span>" + xsx.substring(cc2 + 9, cc1) + "</span><br>";
- cc2 = cc1 + 1;
- cc1 = xsx.indexOf("`", cc2);
- }
- disp(50000, 70, 40, ssf, 340, 290, "cccccc", true);
- }
- if (olko == 77) {
- var lsi = urlo.indexOf("*");
- //encoin("<a href='http://"+urlo.substring(lsi+1,urlo.length)+"' target='"+urlo.substring(2,lsi)+"'>"+urlo.substring(2,lsi)+"</a>");
- encoin("<a href='#' onclick=window.open('http://" + urlo.substring(lsi + 1) + "','aaa" + lsi.length + "','status=yes,toolbar=no,location=yes,scrollbars=yes,resizable=yes,width=1490,height=900'); style='color:blue;cursor:hand;'>" + urlo.substring(2, lsi) + "</a>");
- }
- if (olko == 34) {
- resum = "";
- decalim = 1;
- rescounter = 0;
- populate(resage, ressex, rescity, resID, resnom, resniv, resstat, resok, urlo, 0);
- for (i = 0; i < resage.length; i++) {
- resresult(resnom[i], resage[i], ressex[i], rescity[i], resID[i], resstat[i]);
- }
- document.getElementById("searchy").innerHTML = resum;
- if (finito == 0) {
- finito = 1;
- cherchasalon();
- }
- }
- if (olko == 13) {
- //clearTimeout(stopmess);
- clearTimeout(stopserv);
- document.body.innerHTML = "vous avez etes deconnectes . reconnectez vous sur coco.fr ....";
- }
- if (olko == 10) {
- clearTimeout(stopserv);
- document.body.innerHTML = "vous avez etes deconnectes car quelqu'un avec la meme IP est deja connecté au serveur de Chat<br>Sinon réessayez de vous connecter dans 30s";
- }
- if (olko == 36) {
- if (mystat < 6)
- myver = parseInt(urlo.substring(2)) % 10;
- }
- if (olko == 87) {
- olko = 89;
- permito = 1;
- }
- if (olko == 23) {
- yabon();
- }
- if (olko == 89) {
- resux = "";
- var ind = 0;
- salpriv = new Array();
- salsecret = new Array();
- salmanager = new Array();
- var tro = true;
- var hzx = 2;
- var jok = 0;
- var ddo = urlo.indexOf("$");
- var dda = urlo.indexOf("[");
- while (tro) {
- ind = urlo.indexOf("#", hzx);
- if (ind > 0) {
- if (ind < ddo) {
- salpriv[jok] = transformix(urlo.substring(hzx, ind), -1, 0);
- allsalon[200 + jok] = salpriv[jok];
- //alert(salpriv[jok]);
- } else if (ind < dda) {
- salsecret[jok] = transformix(urlo.substring(hzx, ind), -1, 0);
- allsalon[300 + jok] = salsecret[jok];
- } else {
- salmanager[jok] = transformix(urlo.substring(hzx, ind), -23, 0);
- allsalon[400 + jok] = salmanager[jok];
- }
- jok++;
- hzx = ind + 1;
- if (ind == (ddo - 1)) {
- jok = 0;
- hzx++;
- }
- if ((ind == (dda - 1)) || (ind == (dda - 2))) {
- jok = 0;
- hzx++;
- }
- } else
- tro = false;
- }
- var lyk = urlo.length;
- var fkq = urlo.indexOf("]") + 1;
- var deq = (lyk - fkq) / 2;
- salco = new Array();
- for (i = 0; i < deq; i++) {
- salco[i] = parseInt(urlo.substring(fkq + 2 * i, fkq + 2 + 2 * i)) - 10;
- }
- decalix = 2;
- resux += "<div style='position:absolute;top:" + decalix + ";left:10;'>Liste des salons publics</div>";
- decalix += 18;
- var publo = salpub.length;
- var mwr = 0;
- for (i = 0; i < publo; i++) {
- var psg = "onclick=salongo(" + (100 + i) + ");";
- var colua = salpub[i];
- if ((colua.indexOf("anctua") == -1) || (mystat > 5)) {
- if (salpubok[i] == 1) {
- if (permito != 0)
- colua = "<div style='position:absolute;left:0;top:0;color:bb0000;'>" + salpub[i] + " - Bloqué</div>";
- }
- if (salpubok[i] == 2)
- colua = "<div " + blocoul + " style='position:absolute;left:0;top:0;color:ffffff;'>" + salpub[i] + "</div>";
- resux += "<div " + psg + " " + roug + " style='position:absolute;text-align:left;width:200;background-color:" + couc[mwr % 2] + ";height:16;top:" + decalix + ";left:30;'>" + colua;
- resux += "<div style='position:absolute;top:0;left:180;'>" + salco[i] + "</div></div>";
- decalix += 16;
- mwr++;
- }
- }
- decalix += 20;
- var privo = salpriv.length;
- var mgo = salsecret.length;
- if (neutri == 0) {
- resux += "<div style='position:absolute;top:" + decalix + ";left:10;'>Liste des salons Manager</div>";
- decalix += 18;
- uu8 = 0;
- for (i = 0; i < salmanager.length; i++) {
- if (salmanager[i].length > 3) {
- var zmy = saloname(salmanager[i]);
- resux += "<div onclick=salongo(" + (400 + i) + "); " + roug + " style='position:absolute;text-align:left;width:210;height:18;background-color:" + coum[uu8 % 2] + ";top:" + decalix + ";left:20;'>" + zmy;
- resux += "<div style='position:absolute;top:0;left:190;'>" + salco[publo + privo + mgo + i] + "</div><br></div>";
- decalix += 18;
- uu8++;
- }
- }
- decalix += 20;
- resux += "<div style='position:absolute;top:" + decalix + ";left:10;'>Liste des salons TriVox</div>";
- decalix += 18;
- var uu8 = 0;
- for (i = 0; i < salsecret.length; i++) {
- if (salsecret[i].length > 3) {
- if (mystat > 5)
- resux += "<div " + roug + " onclick=changanam(" + (300 + i) + ");this.style.visibility='hidden' style='position:absolute;top:" + decalix + ";left:10;'>©</div>";
- resux += "<div onclick=salongo(" + (300 + i) + "); " + roug + " style='position:absolute;text-align:left;width:200;height:16;background-color:" + couc[uu8 % 2] + ";top:" + decalix + ";left:30;'><sup style='font-weight:normal;'>Vox</sup> " + salsecret[i].substring(0, salsecret[i].length - 2);
- resux += "<div style='position:absolute;top:0;left:180;'>" + salco[publo + privo + i] + "</div></div>";
- decalix += 16;
- uu8++;
- }
- }
- decalix += 20;
- resux += "<div style='position:absolute;top:" + decalix + ";left:10;width:230;height:65;background-color:e3dff7;'>Créez un salon";
- resux += "<input type=text id='crex' onmousedown=nofocus(); MAXLENGTH=14 style='position:absolute;left:20;top:20;width:140;'><div align=center onclick=creaprivo(); style='position:absolute;top:23;left:170;width:50;background-color:ffffff;" + niro + ";'>Créer</div>";
- decalix += 42;
- resux += "<div style='position:absolute;top:42;left:5;font-weight:normal;'><INPUT type='checkbox' id='managis' >Manager</div>";
- resux += "<div id='trivoz' style='position:absolute;top:42;left:95;font-weight:normal;''><INPUT type='checkbox' id='trivor'>triVox</div>";
- resux += "<div style='position:absolute;top:42;left:170;font-weight:normal;'><INPUT type='checkbox' id='authis' >Auth</div>";
- resux += "</div>";
- decalix += 30;
- resux += "<div style='position:absolute;top:" + decalix + ";left:10;'>Liste des salons privés</div>";
- decalix += 18;
- var gns = 0;
- for (i = 0; i < salpriv.length; i++) {
- var hmo = "onclick=salongo(" + (i + 200) + "); ";
- if (salpriv[i].length < 3) {
- //vide
- } else {
- var zmy = saloname(salpriv[i]);;
- if (mystat > 5)
- resux += "<div " + roug + " onclick=changanam(" + (i + 200) + ");this.style.visibility='hidden' style='position:absolute;top:" + decalix + ";left:10;'>©</div>";
- resux += "<div " + hmo + " " + vert + " style='position:absolute;text-align:left;width:200;height:16;background-color:" + couc[gns % 2] + ";top:" + decalix + ";left:30;'>" + zmy;
- resux += "<div style='position:absolute;top:0;left:180;'>" + salco[publo + i] + "</div></div>";
- decalix += 16;
- gns++;
- }
- }
- }
- decalix += 10;
- resux += "<div style='position:absolute;top:" + decalix + ";'> </div>";
- document.getElementById("salox").innerHTML = resux;
- if (timz1 < 5)
- document.getElementById("salox").style.visibility = "visible";
- permito = 0;
- //agir("78");
- }
- if (olko == 99) {
- var bud = parseInt(urlo.substring(2, 5));
- if (bud == 432) {
- errora(4000, 300, 150, "Vous devez etre authentifié par Tel ou etre Premium<br>pour rentrer dans ce salon", 280);
- setTimeout("profilum()", 3000);
- }
- if (bud == 443)
- exige("Compte restreint :");
- if (bud == 447)
- errora(30000, 250, 150, transformix(urlo.substring(5), -1, 0), 350);
- if (bud == 444)
- errora(4000, 300, 150, transformix(urlo.substring(5), -1, 0), 280);
- if (bud == 445)
- errora(8000, 200, 130, transformix(urlo.substring(5), -23, 0, 7), 320);
- if (bud == 442) {
- errora(6000, 300, 150, "Vous avez atteint votre quota d'envoi d'images.<br>Authentifiez vous ou achetez un pack premium", 280);
- autbar(1);
- }
- if (bud == 557)
- creatab(urlo.substring(19), urlo.substring(11, 13), urlo.substring(13, 18), urlo.substring(18, 19), urlo.substring(5, 11), 0, 5);
- if (bud == 649) {
- infor = urlo.substring(5);
- //alert("VIDICBIS"+infor);
- ecrire("samedi", infor);
- crocu();
- myavatar = infor.substring(0, 9);
- mypass = infor.substring(9);
- firsty();
- }
- if (bud == 222) {
- tabmessage[ongleto] += "<span onclick=window.open('" + base + "chat/" + urlo.substring(5, 9) + ".html?" + urlo.substring(9) + "','zzz" + tabnickID[ongleto] + "','status=yes,toolbar=no,location=yes,scrollbars=no,resizable=yes,width=600,height=700'); style='" + c12 + "'>FICHE</span><br>";
- ecritab("", ongleto);
- }
- if (bud == 553) {
- //urlo=ReplaceAll(urlo,"`","\n");
- var urla = "";
- var szs = urlo.indexOf("`");
- var toilia = urlo.indexOf("*");
- var avux = urlo.substring(5, toilia);
- var sz1 = toilia + 1;
- var cont = 0;
- var pasti = "";
- while (szs > -1) {
- var ww1 = urlo.substring(sz1, szs);
- urla += ww1 + "\n";
- var cud = ww1.substring(0, 2);
- var fkf = false;
- if (ww1.length == 9)
- if (!isNaN(ww1))
- fkf = true;
- var qlp = 0;
- if (ww1.indexOf("=") > -1)
- qlp = 3;
- if ((cud == 13) || (cud == 15) || (cud == 33) || (fkf))
- pasti += divon(y, 5, cont * 16 + 34, 14, 14, "ddddaa", "font-size:1;' onmousedown=document.getElementById('fichex').value='" + ww1.substring(qlp) + "';fetchum();", "");
- cont++;
- sz1 = szs + 1;
- szs = urlo.indexOf("`", sz1);
- }
- if (sz1 > 0)
- urla += urlo.substring(sz1);
- var mmd = "<input type=text id=fichex VALUE=" + avux + " onkeydown='if(event.keyCode==13){fetchum()};' onmousedown=nofocus(); style='position:absolute;top:2;left:2;font-family:" + fixpol + ";width:160;'><div onclick=fetchum(); style='position:absolute;top:5;left:180;width:60;height:20;'>Fetch</div><div onclick=fichez('" + avux + "'); style='position:absolute;top:5;left:250;'>Sauver</div><br>";
- mmd += "<TEXTAREA id='fica' onmousedown=nofocus(); style='position:absolute;top:30;left:25;width:280;height:250;font-size:13;font-family:courier new;'>" + urla + "</TEXTAREA>" + pasti;
- disp(-1, 70, 40, mmd, 320, 290, "cccccc", true);
- //errora(50000,70,50,mmd,300);
- }
- if (bud == 556) {
- minitimo();
- clearTimeout(stopserv);
- stopserv = setTimeout("lancetimer()", 4000);
- if (finito > 0) {
- timz1 = 0;
- joko = 0;
- agir("92" + mysalon);
- tentat = 654321;
- } else {
- var ind = 0;
- var ind2 = 0;
- var ind3 = 0;
- var tro = true;
- mystat = parseInt(urlo.substring(6, 7));
- myXP = parseInt(urlo.substring(5, 6));
- myver = parseInt(urlo.substring(7, 8));
- if (myver > 3) {
- reche();
- document.getElementById("critero").innerHTML = rechum;
- }
- if (mystat > 5) {
- warni = "<div onclick=warno();>alert</div>";
- document.getElementById("babaw").innerHTML = warni;
- warna = "visible";
- document.getElementById("babaw").style.visibility = warna;
- }
- var hzy = 9;
- var jok = 0;
- while (tro) {
- var ght = true;
- ind = urlo.indexOf("#", hzy);
- ind2 = urlo.indexOf("{", hzy);
- ind3 = urlo.indexOf("}", hzy);
- salpubok[jok] = 0;
- if ((ind2 > 0) && (ind2 < ind)) {
- ind = ind2;
- salpubok[jok] = 1;
- }
- if ((ind3 > 0) && (ind3 < ind)) {
- ind = ind3;
- salpubok[jok] = 2;
- }
- if (ind > 0) {
- salpub[jok] = transformix(urlo.substring(hzy, ind), -1, 0);
- allsalon[100 + jok] = salpub[jok];
- if (salpub[jok].indexOf("--") > 0)
- salpub[jok] = "<sup style='font-weight:normal;'>vox</sup> " + salpub[jok].substring(0, salpub[jok].length - 2);
- jok++;
- hzy = ind + 1;
- } else {
- tro = false;
- var fdl = urlo.indexOf("*", hzy);
- mymail = urlo.substring(hzy, fdl);
- mycrypt3 = urlo.substring(fdl + 1, fdl + 13);
- nbsms = parseInt(urlo.substring(fdl + 13, fdl + 17)) - 1000;
- var dpy = urlo.indexOf("$", fdl);
- try {
- mysms = urlo.substring(fdl + 17, dpy);
- var dpx = urlo.indexOf("!", fdl);
- mytime = urlo.substring(dpy + 2, dpx);
- neutri = urlo.substring(dpy + 1, dpy + 2);
- dpy = urlo.indexOf("^", fdl);
- if (dpy > -1) {
- myblog = urlo.substring(dpx + 1, dpy);
- mynickname = urlo.substring(dpy + 1);
- } else
- myblog = urlo.substring(dpx + 1);
- } catch (exf) {}
- setTimeout("agix(urlav+myage+mysex+parami[3]+myavatar+mynickID+monpass+mycrypt3,4)", 1800);
- }
- }
- searchnow();
- setTimeout("actuam()", 1500);
- setTimeout("adblock()", 500);
- setTimeout("reka()", 50);
- var shio = "000";
- var shia = "0";
- if (!fullopen) {
- shia = "1";
- shio = "100";
- }
- if (config != null)
- if (config.length > 11) {
- var szh = config.indexOf("gemax:");
- if (szh > -1) {
- agemax = config.substring(szh + 6, szh + 8);
- filtram = "max:" + agemax;
- } else if (config.indexOf("ecs-") > -1) {
- noman = true;
- filtram = "no mecs";
- shio = shia + "33";
- } else if (config.indexOf("oPV-") > -1) {
- nopive = 1;
- filtram = "no PV";
- errora(4000, 325, 80, "Vous etes en mode no PV<br>désactivez ce mode si vous voulez recevoir des mess.", 320);
- shio = shia + "11";
- }
- if (shio != "000")
- setTimeout("agir('43" + shio + "')", 2500);
- if (!fullopen)
- if ((mysex % 5) == 1)
- messig("Vous avez le bouclier activé. cela filtre vos contacts, attention");
- document.getElementById("optg1").innerHTML = " " + filtram;
- }
- }
- }
- if (bud == 555) {
- var urlu = transformix(urlo.substring(5, urlo.length), -1, 0);
- var hsx = urlu.indexOf("salon:");
- var jqp = parseInt(urlu.substring(hsx + 7, hsx + 10));
- if (jqp > 99)
- urlu = urlu.substring(0, hsx + 7) + "<span onclick=salongo(" + jqp + "); style='" + c16 + "cursor:pointer;'>" + allsalon[jqp] + "</span> " + urlu.substring(hsx + 10);
- tabmessage[ongleto] += "<span style='" + c12 + "'>" + urlu + "</span><br>";
- ecritab("", ongleto);
- }
- if (bud == 333)
- encoin(urlo.substring(5));
- if (bud == 550) {
- tabmessage[ongleto] += "<span style='" + c12 + "'>" + transformix(urlo.substring(5, urlo.length), -1, 0) + "</span><br>";
- ecritab("", ongleto);
- }
- var buw = parseInt(urlo.substring(5, urlo.length));
- if (bud == 100) {
- errora(4000, 300, 150, "vous devez attendre " + buw + " secondes avant de changer de salon", 180);
- }
- //if(bud==167)
- //errora(4000,300,150,"vous devez attendre "+buw+" minutes pour rentrer dans ce salon",180);
- if (bud == 173)
- errora(1000, 300, 150, "vous devez attendre " + buw + " secondes pour voter", 180);
- if (bud == 174)
- errora(1000, 300, 150, "quota de vote dépassé", 180);
- if (bud == 300) {
- errora(4000, 300, 150, "vous devez attendre " + buw + " secondes avant de créer un nouveau salon privé", 180);
- }
- if (bud == 888) {
- if (mysalind > -1) {
- tabmessage[mysalind] += "<br><br>Vous avez étés déconnectés du salon de discussion.<br>fermez cet onglet et ouvrez un nouvel onglet de salon";
- ecritab("", ongleto);
- }
- }
- if (bud == 147) {
- infor = "" + (randum(890000000) + 100000001) + "" + (randum(890000000) + 100000001);
- ecrire("samedi", infor);
- crocu();
- //clearTimeout(stopserv);
- errora(20000, 300, 50, "<br><br>Vous avez perdu votre profil car quelqu'un se connecte avec le meme profil sur un autre PC<br>si vous etes le propriétaire légitime de votre profil reconnectez vous en vue d'une authentification", 220);
- }
- if (bud == 148)
- top.location = base + "payplainte.html?" + myavatar + "#" + urlo.substring(14);
- if (bud == 149)
- top.location = urlo.substring(5);
- if (bud == 165) {
- errora(8000, 300, 50, "vous ne pouvez plus parler pendant : " + buw + " secondes (cause: flooding = trop de messages)", 220);
- //tuemoi();
- }
- if (bud == 166) {
- errora(3000, 300, 50, "vous devez attendre " + buw + " secondes avant envoi (bridage nouveaux arrivants,patience)", 220);
- }
- if (bud == 168) {
- //top.location = "http://www.joker.net";
- }
- if (bud == 413) {
- errora(4000, 300, 50, "vous avez été bannis de ce salon pour une durée de : " + buw + " secondes", 220);
- }
- if (bud == 801) {
- errora(4000, 300, 150, "vous venez de vous faire bannir du salon", 180);
- }
- }
- if (olko == 92) {
- if (tentat < 10000) {
- blax = 0;
- if (microok)
- microok = false;
- mygain = 50;
- document.getElementById("special").innerHTML = "";
- document.getElementById("special").zIndex = 0;
- document.getElementById("hpx").innerHTML = "";
- document.getElementById("hpx2").innerHTML = "";
- document.getElementById("hpx3").innerHTML = "";
- document.getElementById("hpx4").innerHTML = "";
- document.getElementById("hpx5").innerHTML = "";
- quinte = false;
- var savoo = mysalon;
- if (mysalind > -1) {
- deletonglet(mysalind);
- }
- arivo = true;
- mysalon = savoo;
- voxeus = false;
- if (mysaloname.indexOf('--') > 0) {
- document.getElementById("hpx").innerHTML = flasher("HP1991", 5, 5);
- document.getElementById("voxz").innerHTML = "Kill";
- if (mysaloname.indexOf('-3') > 0) {
- quinte = true;
- mutemic = true;
- document.getElementById("hpx2").innerHTML = flasher("HP1992", 5, 5);
- document.getElementById("hpx3").innerHTML = flasher("HP1993", 5, 5);
- activox(0);
- }
- if (mysaloname.indexOf('-5') > 0) {
- quinte = true;
- mutemic = true;
- document.getElementById("hpx2").innerHTML = flasher("HP1992", 5, 5);
- document.getElementById("hpx3").innerHTML = flasher("HP1993", 5, 5);
- document.getElementById("hpx4").innerHTML = flasher("HP1994", 5, 5);
- document.getElementById("hpx5").innerHTML = flasher("HP1995", 5, 5);
- activox(0);
- }
- voxeus = true;
- voxtimer();
- } else {
- document.getElementById("hpx").innerHTML = "";
- document.getElementById("hpx2").innerHTML = "";
- }
- if (modex == 0) {
- larzone = widx - 97;
- if (voxeus)
- larzone = widx - 250;
- } else {
- larzone = widx;
- if (voxeus)
- larzone = widx - 168;
- }
- document.getElementById("cocoa").style.width = larzone;
- solicited = true;
- creatab(mysaloname, mysalon, 0, 0, mysalon, 0, 0);
- document.getElementById("questi").innerHTML = "";
- } else
- tentat = 0;
- }
- if (olko == 37) {
- autox = 500;
- document.getElementById("babar").innerHTML = "";
- errora(5000, 150, 180, "<br>Authentification réussie<br>Bon Tchat", 350);
- myver = 1;
- }
- if (olko == 29) {
- if (mypass.length != 20) {
- mypass = urlo.substring(2);
- infor = "" + myavatar + "" + mypass;
- ecrire("samedi", infor);
- crocu();
- }
- }
- if (olko == 31) {
- var nbx = urlo.substring(2);
- if (nbx > 0) {
- document.getElementById("blogo").innerHTML = "Blog : " + nbx + " «";
- document.getElementById("blogo").style.visibility = "visible";
- }
- }
- if (olko == 39) {
- infor = "NOUVEAU";
- //ecrire("samedi", infor);
- crocu();
- setTimeout("tuemoi('bug sur cookie.contactez un operateur avec le diagnostic" + infor + "')", 1500);
- }
- if (olko == 95) {
- var yon = urlo.indexOf("@", 0);
- var lengus = urlo.length;
- var phraz = urlo.substring(2, yon);
- if (focuz) {
- raz();
- }
- var kopo = 0;
- var thc = 0;
- var kopi = 0;
- var pseuz = "";
- var messiz = "";
- var messaz = "";
- var expoz = "";
- pubad++;
- if (pubad > 250)
- pubad = 0;
- if (pubad == 90) {
- //descendo(); pause
- }
- kopi = phraz.indexOf('#', thc);
- kopo = phraz.indexOf('#', kopi + 1);
- while (kopo > 0) {
- var xog = -1;
- var exto = "";
- pseuz = phraz.substring(thc + 17, kopi);
- messaz = phraz.substring(kopi + 2, kopo);
- var nivx = parseInt(phraz.substring(thc + 14, thc + 15));
- var statx = parseInt(phraz.substring(thc + 15, thc + 16));
- var verx = parseInt(phraz.substring(thc + 16, thc + 17));
- var infx = phraz.substring(thc, thc + 17);
- if (mysalind > -1)
- xog = statx;
- messiz = transformix(messaz, tabnickID[mysalind], verx, statx);
- if (pseuz.indexOf("(") > -1)
- pseuz = pseuz.substring(0, pseuz.length - 3);
- infx += pseuz;
- if (shouldFilter(pseuz))
- messiz = "Message ignoré.";
- expoz = "<SUP>" + nivx + "</SUP>";
- if (expoz.indexOf('0') != -1)
- expoz = "";
- var moodz = messiz.indexOf('-1-');
- if (moodz > -1) {
- if (((nivx > 3) && (moodz < (nivx + 1))) || (nivx == 9)) {
- if (moodz > 1)
- expoz = "<SUP>" + messiz.substring(0, moodz) + "</SUP>";
- messiz = messiz.substring(moodz + 3, messiz.length);
- }
- }
- var normalo = 0;
- var messart = messiz.indexOf('{bb');
- if (messart > -1) {
- messiz = messiz.replace("{bb", " ");
- tabmessage[mysalind] += "<span style='" + c12 + "'>" + pseuz + messiz + "</span><br>";
- normalo = 1;
- }
- var hys = messaz.indexOf("&E");
- if (hys > -1) {
- tabmessage[mysalind] += "<span>" + messaz.substring(hys + 2) + "</span><br>";
- }
- var mimiz = messiz.indexOf('{4{');
- if (mimiz > -1) {
- var mwu = messaz.indexOf("*");
- messaz = "_2" + messaz.substring(mimiz + 3, mwu); //+messiz.substring(mwu+1,mwu+5);
- messiz = transformix(messaz, -23, 0);
- }
- var mequiz = messiz.indexOf('{qu');
- if (mequiz > -1) {
- var messo = messiz.indexOf('{8{');
- if (messo > -1) {
- reponsu = messiz.substring(messo + 3, messiz.length);
- messiz = messiz.substring(0, messo);
- }
- timquest = timz1;
- var largj = 900;
- var hautj = 700;
- //document.getElementById("questi").style.zIndex=50;
- kezako = messiz.substring(3, messiz.length);
- document.getElementById("questi").innerHTML = "<div style='position:absolute;font-size:11;line-height:0.95em;background-color:ffffff;padding:4;'>" + kezako + " : " + reponsu + "</div>";
- normalo = 1;
- }
- if (messiz.indexOf('<img on') > -1) {
- exto = messiz;
- messiz = "fichier:..............";
- }
- if ((pseuz.indexOf(mynickname) > -1) || (messiz.toLowerCase().indexOf(mylownick) > -1)) {
- messiz = "<b>" + messiz + "</b>";
- }
- if (messiz.toLowerCase().indexOf(mylownick) > -1) {
- document.getElementById(tabdiva[mysalind]).style.backgroundColor = "ffffff";
- }
- var mycol = phraz.substring(kopi + 1, kopi + 2);
- var mycal = mycol.charCodeAt(0) - 65;
- if ((mycal < 0) || (mycal > 16)) {
- mycol = "A";
- mycal = 0;
- }
- if (normalo == 0)
- {
- var currentdate = new Date();
- var datetime = showTimeAndDate ? (currentdate.toLocaleDateString() + " @ " + currentdate.toLocaleTimeString() + " - ") : "";
- tabmessage[mysalind] += "<span id=tx" + blix + " " + onmousa('ffffff', '') + " onmousedown=righty(event," + blix + "); onmouseup=clicum(" + blix + ");><span style='" + c11 + "'>" + datetime + pseuz + expoz + ": </span><span style='" + spn + "color:" + salcoul[mycal] + ";' >" + messiz + "</span></span>" + exto + "<br>";
- //alert(blix);
- correspo[blix] = infx;
- blix++;
- if (blix > 800)
- blix = 0;
- }
- thc = kopo + 1;
- kopi = phraz.indexOf('#', kopo + 1);
- if (kopi > 0)
- kopo = phraz.indexOf('#', kopi + 1);
- else
- kopo = -1;
- }
- if (ongleto == mysalind) {
- document.getElementById("textum").innerHTML = tabmessage[mysalind] + "<br>";
- if (stopdef == 0) {
- scrolly();
- } else
- stopdef = 0;
- }
- if (lengus > (yon + 4)) {
- olko = 66;
- urlo = urlo.substring(yon + 1);
- }
- if (blax == 1) {
- blax = 0;
- if ((blex < blix) && (ongleto == mysalind))
- document.getElementById("tx" + blex).style.backgroundColor = highlit;
- } else
- blex = blix;
- }
- if (olko == 19)
- demelux(urlo.substring(2));
- if (olko == 24) {
- var fhl = "";
- var kk = 0;
- var qqb = 2;
- var stk = urlo.indexOf("*", qqb);
- var stavox = "Mic On";
- presso = 25;
- if (microok)
- mygain = 0;
- if (stk > 0) {
- var preza = false;
- onthelist = false;
- while (stk > 0) {
- vox[kk] = urlo.substring(qqb, 6 + qqb);
- voxhp[kk] = urlo.substring(6 + qqb, 7 + qqb);
- voxmic[kk] = urlo.substring(7 + qqb, 8 + qqb);
- voxnam[kk] = urlo.substring(8 + qqb, stk);
- if (voxnam[kk].length < 2)
- voxnam[kk] = "test";
- if (vox[kk] == mynickID) {
- preza = true;
- onthelist = true;
- }
- var vioz = "";
- if (quinte)
- if (voxnam[kk].indexOf("#") > -1) {
- voxnam[kk] = voxnam[kk].substring(0, voxnam[kk].length - 1);
- vioz = "color:cc00cc;";
- }
- if (mystat > 5)
- fhl += "<div style='position:absolute;top:" + (kk * 15 + yfont) + ";left:0;'><div onmousedown=volx(event," + kk + ",10); style='position:absolute;left:1;'>" + voxhp[kk] + "</div><div onmousedown=volx(event," + kk + ",1); style='position:absolute;left:9;color:cc0000;'>" + voxmic[kk] + "</div><div ondblclick=agir('93" + vox[kk] + "'); onmousedown=killus(event," + kk + "); style='position:absolute;left:22;" + vioz + "'>" + voxnam[kk] + "</div></div>";
- else
- fhl += "<div ondblclick=agir('93" + vox[kk] + "'); onmouseup=killus(event," + kk + "); style='position:absolute;top:" + (kk * 15 + yfont) + ";left:3;" + vioz + "'>" + voxnam[kk] + "</div>";
- qqb = stk + 1;
- stk = urlo.indexOf("*", qqb);
- kk++;
- }
- if ((preza) && (kk > 0)) {
- presso = 28;
- stavox = "Mic Off";
- }
- for (i = 0; i < 5; i++) {
- strima[i] = vox[i] + voxhp[i];
- }
- if (vox[0] == mynickID) {
- stavox = "Speaking";
- }
- for (i = 0; i < 5; i++) {
- if (vox[i] == mynickID) {
- strima[i] = "551";
- mygain = 10 * parseInt(voxmic[i]);
- }
- if (kk < (1 + i))
- strima[i] = 0;
- }
- var lsl = urlo.indexOf("@");
- if (lsl > -1)
- stavox = urlo.substring(lsl - 2, lsl);
- } else
- for (i = 0; i < 5; i++)
- strima[i] = 0;
- document.getElementById("voxo").innerHTML = stavox;
- document.getElementById("voxa").innerHTML = fhl;
- }
- if (olko == 90) {
- document.getElementById("babar").innerHTML = "";
- var yyg = (urlo.length - 2) / 7;
- var qqb;
- var qqk;
- if (yyg > 0) {
- for (i = 0; i < yyg; i++) {
- qqb = parseInt(urlo.substring(2 + 7 * i, 3 + 7 * i));
- qqk = parseInt(urlo.substring(3 + 7 * i, 9 + 7 * i), 10);
- for (j = 0; j < currentab; j++) {
- if (tabnickID[j] == qqk) {
- if (qqb == 0) {
- tabcoul[j] = "505064";
- document.getElementById(tabdiva[j]).style.backgroundColor = tabcoul[j];
- } else {
- if (tabcoul[j].indexOf("505064") > -1) {
- tabcoul[j] = colotab[1];
- document.getElementById(tabdiva[j]).style.backgroundColor = tabcoul[j];
- }
- }
- }
- }
- if (qqb == 0) {
- for (j = 0; j < ffID.length; j++) {
- if (ffID[j] == qqk) {
- ffage[j] = 99;
- }
- }
- }
- }
- }
- }
- if (olko == 94) {
- exige("Cet utilisateur exige que vous soyez authentifié (processus totalement gratuit)");
- olko = 967;
- }
- if (olko == 98) {
- if (taboqp[ongleto] == 0) {
- document.getElementById("nopvs").innerHTML = "No PV";
- document.getElementById("nopvs").style.visibility = "visible";
- }
- taboqp[ongleto] = 1;
- olko = 967;
- }
- if (olko == 96) {
- if (taboqp[ongleto] == 0) {
- document.getElementById("nopvs").innerHTML = "No Mecs";
- document.getElementById("nopvs").style.visibility = "visible";
- }
- taboqp[ongleto] = 2;
- olko = 967;
- }
- if (olko == 97) {
- olko = 967;
- if (taboqp[ongleto] > 0) {
- document.getElementById("nopvs").style.visibility = "hidden";
- }
- taboqp[ongleto] = 0;
- }
- if (olko == 66) {
- olko = 967;
- }
- if (olko == 48) {
- populate(ffage, ffsex, ffcity, ffID, ffnom, ffniv, ffstat, ffok, urlo, 0);
- amiga();
- }
- if (olko == 967) {
- hzq = 3;
- //var hzy=urlo.indexOf('#',0);
- var klk = parseInt(urlo.substring(2, 3));
- if (klk < 9) {
- var hxz = roulux[klk];
- var currentdate = new Date();
- var datetime = showTimeAndDate ? (currentdate.toLocaleDateString() + " @ " + currentdate.toLocaleTimeString() + " - ") : "";
- tabmessage[hxz] += "<span style='" + c10 + "'>" + datetime + mynickname + ": </span><span style='" + c11 + "'>" + roulax[klk] + "</span><br>";
- if (hxz == ongleto) {
- ecritab("", ongleto);
- }
- }
- //urlo=urlo.substring(hzq+1,urlo.length);
- var lengus = urlo.length;
- if (lengus > 8) {
- var kopo = 0;
- var gooi = true;
- var coom = 0;
- while (kopo == 0) {
- var diase = urlo.indexOf('#', hzq) + 1;
- if ((diase - hzq) < 9) {
- if (diase < 3) {
- kopo = 1;
- var idgars = parseInt(urlo.substring(hzq, 6 + hzq));
- for (i = 0; i < currentab; i++) {
- if (idgars == tabnickID[i]) {
- tabmessage[i] += "<span style='" + c15 + "'>Cet utilisateur est deconnecté.</span><br>";
- ecritab("", ongleto);
- }
- }
- } else {
- zami = parseInt(urlo.substring(hzq, hzq + 6));
- var jjp = reconglet(zami);
- if (jjp > -1) {
- if ((diase - hzq) == 7) {
- if (tabcoul[jjp].indexOf(colotab[1]) > -1) {
- tabcoul[jjp] = colotab[5];
- document.getElementById(tabdiva[jjp]).style.backgroundColor = colotab[5];
- }
- if (jjp == ongleto) {
- document.getElementById("ecrito").style.visibility = "visible";
- }
- //encoin("entrant"+zami);
- } else {
- if (tabcoul[jjp].indexOf(colotab[2]) == -1) {
- tabcoul[jjp] = colotab[1];
- document.getElementById(tabdiva[jjp]).style.backgroundColor = tabcoul[jjp];
- }
- if (jjp == ongleto)
- document.getElementById("ecrito").style.visibility = "hidden";
- }
- }
- }
- } else {
- var toilo = urlo.indexOf("*", hzq);
- var moknickID;
- var mokage;
- var moksex;
- var mokville;
- var mokpseudo;
- toilo = urlo.indexOf("#", hzq);
- mokage = parseInt(urlo.substring(hzq, 2 + hzq));
- moksex = parseInt(urlo.substring(2 + hzq, 3 + hzq));
- mokville = parseInt(urlo.substring(3 + hzq, 8 + hzq), 10);
- moknickID = parseInt(urlo.substring(8 + hzq, 14 + hzq));
- var statq = parseInt(urlo.substring(15 + hzq, 16 + hzq));
- var okb = parseInt(urlo.substring(16 + hzq, 17 + hzq));
- mokpseudo = urlo.substring(17 + hzq, toilo);
- diase = urlo.indexOf("#", toilo + 1) + 1;
- var mokmess = urlo.substring(toilo + 1, diase - 1);
- var acti = mokmess.indexOf('[AX');
- if (acti > -1) {
- acto(mokmess.substring(acti + 3, acti + 4));
- }
- for (i = 0; i < ignora.length; i++) {
- if (moknickID == ignora[i])
- gooi = false;
- }
- if (gooi)
- incomingmessage(moknickID, mokage, moksex, mokville, mokpseudo, mokmess, statq, okb);
- }
- hzq = diase;
- if (hzq > lengus - 3)
- kopo = 1;
- }
- } else {
- if (lengus == 5) {
- if (urlo.indexOf("111") > -1)
- tuemoi("redemarrage des serveurs reconnectez vous dans quelques instants");
- if (urlo.indexOf("222") > -1) {
- if (timz1 > 10) {
- htmtidy();
- agix(url1 + "40" + mynickname + "*" + myage + (mysex % 5) + parami[3] + myavatar + speco + mypass + "-+-" + mynickID + "?" + timz1, 4);
- timz1 = 0;
- }
- }
- }
- }
- }
- }
- if (todo.length > 0) {
- process1(todo);
- }
- } catch (xfx) {}
- }
- function opensal(kkh) {
- solicited = true;
- var rbk = correspo[kkh];
- var rbnick = rbk.substring(8, 14);
- creatab(rbk.substring(17), rbk.substring(0, 2), rbk.substring(3, 8), rbk.substring(2, 3), rbnick, rbk.substring(16, 17), rbk.substring(15, 16));
- }
- resizo();
- genru = 2;
- yearu = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement