L'ancien dépot du générateur de sites d'Antopie https://antopie.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

172 lines
3.8 KiB

<?php include "inc/debut.php";
head("cgu.php"); ?>
<h1>Conditions générales d'utilisation du site Antopie.org/web</h1>
<?php
function motShadock($nombreDeMots) {
$i = 1;
while ($i <= $nombreDeMots) {
switch (mt_rand(0, 69)) {
case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16:
echo "GA ";
break;
case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32:
echo "BU ";
break;
case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48:
echo "ZO ";
break;
case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64:
echo "MEU ";
break;
case 65:
switch (mt_rand(1, 4)) {
case 1:
echo "<span class='souligne'>GA</span> ";
break;
case 2:
echo "<span class='souligne'>BU</span> ";
break;
case 3:
echo "<span class='souligne'>ZO</span> ";
break;
case 4:
echo "<span class='souligne'>MEU</span> ";
break;
default:
echo "ERREUR 1";
}
break;
case 66:
switch (mt_rand(1, 4)) {
case 1:
echo "<span class='gras-css'>GA</span> ";
break;
case 2:
echo "<span class='gras-css'>BU</span> ";
break;
case 3:
echo "<span class='gras-css'>ZO</span> ";
break;
case 4:
echo "<span class='gras-css'>MEU</span> ";
break;
default:
echo "ERREUR 2";
}
break;
case 67:
switch (mt_rand(1, 4)) {
case 1:
echo "<span class='fin-it'>GA</span> ";
break;
case 2:
echo "<span class='fin-it'>BU</span> ";
break;
case 3:
echo "<span class='fin-it'>ZO</span> ";
break;
case 4:
echo "<span class='fin-it'>MEU</span> ";
break;
default:
echo "ERREUR";
}
break;
case 68:
switch (mt_rand(1, 3)) {
case 1:
echo "JE CE RT IF IE ÊT RE UN PO UL ET WI SI GO TH AF FA MÉ ";
break;
case 2:
echo "JE JU RE SU RL 'H ON NE UR ÊT RE UN IL LU MI NA TI AY AN TP OU RO BJ EC TI FD ED ÉT RU IR EL 'H UM AN IT É, PA SL EJ OU RN AL ,L 'E SP ÈCE ";
break;
case 3:
echo "J' AC CE PT ED EN EP AS PO UV OI RP OR TE RP LA IN TE AU PR ÈS DE AN TO PI E. OR G ";
break;
default:
echo "ERREUR";
}
break;
case 69:
echo "<span class='fin-it'>GA GA GA !</span> ";
break;
default:
echo "ERREUR";
}
$i++;
}
}
function motShadockTitre($nombreDeMots) {
$i = 1;
while ($i <= $nombreDeMots) {
switch (mt_rand(1, 4)) {
case 1:
echo "GA ";
break;
case 2:
echo "BU ";
break;
case 3:
echo "ZO ";
break;
case 4:
echo "MEU ";
break;
default:
echo "ERREUR";
}
$i++;
}
}
$i = 1;
$max = mt_rand(2, 8);
while ($i <= $max) { ?>
<br><h2><?php echo $i . ") "; motShadockTitre(mt_rand(5, 20)); ?></h2>
<?php
$i2 = 1;
$max2 = mt_rand(2, 6);
while ($i2 <= $max2) { ?>
<br><h4><?php echo $i2 . ". "; motShadockTitre(mt_rand(5, 20)); ?></h4>
<?php
$i3 = 1;
$max3 = mt_rand(2, 6);
while ($i3 <= $max3) { ?>
<div class='t06'> <?php motShadock(mt_rand(100, 800)); ?></div><br>
<?php
$i3++;
}
$i2++;
}
$i++;
}
?>
<br><br>
<?php include "inc/footer.php"; ?>