Migration

This commit is contained in:
2016-02-21 01:33:05 +01:00
commit 6db8a86a48
386 changed files with 17311 additions and 0 deletions

73
0.8.0/module/divers/bridage.php Executable file
View File

@@ -0,0 +1,73 @@
<?php
/*
Copyright (C) 2007 Mercier Benjamin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
$ListBDD = $MySql->Select("*", "domaine", "Utilisateur='".$_SESSION['Utilisateur']."' AND Status='2'", "", "", "", "");
?><h3>Bridage de vos sites Internet</h3><br />
<p>Afin de favoriser les gens qui affichent notre publicit<69> sur leurs sites, un bridage est impos<6F> <20> tous les sites, sauf ceux dont notre pub est affich<63>e.<br />
Une limite est fix<69>e uniquement pour le t<>lechargement de fichiers, celle-ci est de 50Ko/sec pour tout le site. <br />
Cependant, si notre publicit<69> est affich<63>e au moins sur l'accueil, le site sera totalement d<>brid<69> et pourra ainsi b<>n<EFBFBD>ficier jusqu'<27> 12Mo/sec de bande passante (dans les limites de la charte).<br />
Pour afficher notre publicit<69>, veuillez en g<>n<EFBFBD>rer-une sur la page <a href="Page-Divers-Contribuer.html">"Nous soutenir"</a>. (publicit<69>s adsense seulement).<br />
Notre robot passe une fois toutes les 24 heures, ne vous <20>tonnez donc pas que le bridage soit toujours actif imm<6D>diatement apr<70>s l'affichage de la publicit<69>.<br />
Notez que <?php echo $_SESSION['Utilisateur']; ?>.kelio.org ne peut <20>tre d<>brid<69>.<br /><br />
Ci-dessous un r<>capitulatif de tous les bridages sur vos domaines.</p><br />
<div style="border:#006633 1px solid; width: 90%; margin: auto; margin-top: 15px;">
<table style="width:100%">
<tr>
<td class="Tableau1" style="text-align: center; width: 80%;"><strong>Domaine</strong></td>
<td class="Tableau1" style="text-align: center; width: 20%;"><strong>Bridage</strong></td>
</tr>
<?php
$TotalBDD = count($ListBDD);
if ( $ListBDD == FALSE )
{
echo '
<tr>
<td class="Tableau1" colspan="2" style="text-align: center;"><strong>Vous n\'avez aucun domaine actif</strong></td>
</tr>';
}
else
{
for ($i=0; $i < $TotalBDD; $i++)
{
if ( $ListBDD[$i]["Bridage"] == "Oui" )
{
$Bridage = "brid<69>";
$Couleur = "#FF3333";
}
else
{
$Bridage = "d<>brid<69>";
$Couleur = "#009933";
}
echo '
<tr>
<td class="Tableau1" style="text-align: center; width: 80%;">'.$ListBDD[$i]["Adresse"].'</td>
<td class="Tableau1" style="text-align: center; width: 20%; color: '.$Couleur.';">'.$Bridage.'</td>
</tr>';
}
}
?>
</table>
</div>