';
$('#'+classe+'_BOX').prepend(TATAGASTON);
toframe(url,classe+'_'+leid);
}
// ee('0');
}
if(ordres == 'btnvalid') { ceci.addClass('active'); }
}
function autopop(lien) {
$('#autopop').removeClass('masque');
$('#autopop').addClass('flex');
toframe(lien,'autopopbox');
}
function fullpop(lien) {
$('#fullpop').removeClass('masque');
//$('#autopop').addClass('flex');
toframe(lien,'fullpop');
}
function fullpop_x() {
$('#fullpop').addClass('masque');
$('#fullpop').html('');
}
function autopop2(lien) {
$('#autopop2').removeClass('masque');
$('#autopop2').addClass('flex');
toframe(lien,'autopopbox2');
}
function vframe(url,display,titre,instruction) {
$('#autopop').removeClass('masque');
$('#autopop').addClass('flex');
html = '
';
html += '
'+titre+'
';
html += '
Voudriez-vous effectuer cetter opération ?
';
html += '';
html += '';
html += '';
html += '
';
$('#autopopbox').html(html);
};
function vconfirm(leclick,titre,ecopy) {
$('#autopop').removeClass('masque');
$('#autopop').addClass('flex');
html = '
';
html += '
'+titre+'
';
// operation message de confirmation
if(ecopy != '') {
viva = $('#'+ecopy).html();
localStorage.viva = viva;
$('#'+ecopy).html('');
html += viva;
}
html += '
Voudriez-vous effectuer cetter opération ?
';
html += '';
if(ecopy == '') {
html += '';
html += '';
} else {
html += '';
html += '';
}
html += '
';
$('#autopopbox').html(html);
};
function vpop(leclick,titre,ecopy) {
$('#autopop').removeClass('masque');
$('#autopop').addClass('flex');
html = '
';
html += '
'+titre+'
';
// operation message de confirmation
if(ecopy != '') {
viva = $('#'+ecopy).html();
localStorage.viva = viva;
$('#'+ecopy).html('');
html += viva;
}
html += '
Voudriez-vous effectuer cetter opération ?
';
html += '';
if(ecopy == '') {
html += '';
html += '';
} else {
html += '';
html += '';
}
html += '
';
$('#autopopbox').html(html);
}
function vconfirm2(leclick,titre,ecopy) {
html = '
';
html += '
'+titre+'
';
html += '
Voudriez-vous effectuer cetter opération ?
';
html += '';
html += '';
html += '';
html += '
';
//creer un popup puis mettre (html);
};
function vlick(leclick,titre,ecopy) {
$('#autopop').removeClass('masque');
$('#autopop').addClass('flex');
html = '
';
html += '
'+titre+'
';
// operation message de confirmation
if(ecopy != '') {
viva = $('#'+ecopy).html();
localStorage.viva = viva;
$('#'+ecopy).html('');
html += viva;
}
html += '
Voudriez-vous effectuer cetter opération ?
';
html += '';
if(ecopy == '') {
html += '';
html += '';
} else {
html += '';
html += '';
}
html += '
';
$('#autopopbox').html(html);
};
// add Auto to select xa(\'compte\',this); puis lesforms.php
function xa(pseudo,ceci) {
// alert(1);
if(pseudo == 'bye') {
$('#autopop').addClass('masque');
$('#autopop').removeClass('flex');
return;
}
if(ceci.value == 'add') {
$('#autopop').removeClass('masque');
$('#autopop').addClass('flex');
toframe('?cefile=autofom.php&form='+pseudo+'&id='+ceci.id,'autopopbox');
}
}
function zayaFilter3(letableid,filter) {
// alert(letableid);
// alert(1);
var table, tr, td, i, txtValue;
// input = document.getElementById(letableid+"_put");
filter = filter.toUpperCase();
table = document.getElementById(letableid);
tr = table.getElementsByTagName("tr");
moins = tr.length-1;
for (i = 0; i < tr.length; i++) {
tdS = tr[i].getElementsByTagName("td");
gaston_t = false
// for (iii = 0; iii < tdS.length; iii++) {
td = tdS[0];
if (td) {
txtValue = td.textContent || td.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
// alert(1);
gaston_t = true;
}
}
td = tdS[1];
if (td) {
txtValue = td.textContent || td.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
// alert(1);
gaston_t = true;
}
}
if(gaston_t == true) {
tr[i].style.display = "";
} else {
tr[i].style.display = "none";
}
}
}
var searchRunning = false;
// 24 décembre Butembo
function zayaFilter2(letableid,filter) {
var table, tr, td, i, txtValue;
// input = document.getElementById(letableid+"_put");
filter = filter.toUpperCase();
table = document.getElementById(letableid);
tr = table.getElementsByTagName("tr");
moins = tr.length-1;
for (i = 0; i < tr.length; i++) {
if (!searchRunning) {
tdS = tr[i].getElementsByTagName("td");
gaston_t = false
for (iii = 0; iii < tdS.length; iii++) {
td = tdS[iii];
if (td) {
txtValue = td.textContent || td.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
// alert(1);
gaston_t = true;
} else {
// gaston_f = true;
// alert(0);
}
}
if(gaston_t == true) {
tr[i].style.display = "";
} else {
tr[i].style.display = "none";
}
}
// if(i == moins){
// zok(letableid);
// alert(1);
//
} // fin searchRunning
}
}
function zok(letableid){
$('.'+letableid+'btn').removeClass('masque');
$('.'+letableid+'load').addClass('masque');
}
function zayaFilter(letableid) {
var input, filter, table, tr, td, i, txtValue;
input = document.getElementById(letableid+"_put");
filter = input.value.toUpperCase();
table = document.getElementById(letableid);
tr = table.getElementsByTagName("tr");
for (i = 0; i < tr.length; i++) {
tdS = tr[i].getElementsByTagName("td");
gaston_t = false
for (iii = 0; iii < tdS.length; iii++) {
td = tdS[iii];
if (td) {
txtValue = td.textContent || td.innerText;
if (txtValue.toUpperCase().indexOf(filter) > -1) {
// alert(1);
gaston_t = true;
} else {
// gaston_f = true;
// alert(0);
}
}
if(gaston_t == true) {
tr[i].style.display = "";
} else {
tr[i].style.display = "none";
}
}
}
}
// masquer les un, afficher les autres
function masque2(cela,ceci) {
$('.'+cela).addClass('masque');
$('.'+ceci).removeClass('masque');
}
function masque1(ceci,cela) {
// alert(ceci);
$('.'+cela).addClass('masque');
$('.'+ceci).removeClass('masque');
}
function balance(ceci,ceci2) {
var div1 = document.getElementById(ceci);
var div2 = document.getElementById(ceci2);
if (div1.style.display === "block") {
div1.style.display = "none";
div2.style.display = "block";
} else {
div1.style.display = "block";
div2.style.display = "none";
}
}
function leshow(ceci) {
var aa = $('.'+ceci+'leshow');
var bb = $('.'+ceci);
if(bb[0]) {
// alert(1);
$('.'+ceci).removeClass('masque');
$('.'+ceci).addClass(ceci+'leshow');
$('.'+ceci).removeClass(ceci);
} else {
$('.'+ceci+'leshow').addClass('masque');
$('.'+ceci+'leshow').addClass(ceci);
$('.'+ceci+'leshow').removeClass(ceci+'leshow');
}
}
function bascule(ceci) {
// alert(1);
$('.'+ceci+'bascule').addClass('masque');
$('.'+ceci+'bascule').addClass(''+ceci+'bascule2');
$('.'+ceci).removeClass('masque');
$('.'+ceci).addClass(ceci+'bascule');
$('.'+ceci+'bascule').removeClass(ceci);
$('.'+ceci+'bascule2').addClass(ceci);
$('.'+ceci+'bascule2').removeClass(ceci+'bascule');
$('.'+ceci+'bascule2').removeClass(ceci+'bascule2');
}
function silentprint2(url) {
$("