Partage
  • Partager sur Facebook
  • Partager sur Twitter

pourquoi sa ne fonctionne pas

aidez moi

18 mai 2006 à 1:10:57

pourquoi ???, sa affiche les 2 pages !!!

<?php
$page = "index";

if ($page == "sudoku")
{

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0

Transitional//EN"
>

<html>

<head>
<title>Meddieval Quest Online - NoWhere - Sudoku</title>
<meta name="description" content="En Construction ...">
<meta name="keywords" content="med, quest, jeux, jeu,

medieval, meddieval,
mmorpg, rpg, online, en ligne"
>
<script type="text/javascript">
function debutscript()
{jeusol=0;
return;
}
function choixjeu(jeu)
{jeusol=jeu;
tabjeu.elements[jeusol].style.backgroundColor="aqua";
if (jeu!=jeuprec)
       

{tabjeu.elements[jeuprec].style.backgroundColor="yellow"

; jeuprec=jeusol};
for (i=0; i<9; i++)
       

{tabsol.elements[i].style.backgroundColor="lime"};
if (jeusol<9) nolig=0;
else if (jeusol<18) nolig=1;
else if (jeusol<27) nolig=2;
else if (jeusol<36) nolig=3;
else if (jeusol<45) nolig=4;
else if (jeusol<54) nolig=5;
else if (jeusol<63) nolig=6;
else if (jeusol<72) nolig=7;
else nolig=8;
nocol=(jeusol-(nolig*9));
if (nolig<3) cary=0; else if (nolig<6) cary=3; else

cary=6;
if (nocol<3) carx=0; else if (nocol<6) carx=3; else

carx=6;
for (i=0; i<9; i++)
        {if (tbsolu[nolig][i] != 0)
                {pris=tbsolu[nolig][i]; pris--;

tabsol.elements[pris].style.backgroundColor="red"};
        };
for (i=0; i<9; i++)
        {if (tbsolu[i][nocol] != 0)
                {pris=tbsolu[i][nocol];

pris--;tabsol.elements[pris].style.backgroundColor="red"

};
        };
maxx=(carx + 3);maxy=(cary + 3);
for (y=cary; y<maxy; y++)
        {for (x=carx; x<maxx; x++)
                {if (tbsolu[y][x] != 0)
                        {pris=tbsolu[y][x];

pris--;tabsol.elements[pris].style.backgroundColor="red"

};
                };

        };
return;
}
function choixsol(sol)
{tabjeu.elements[jeusol].value=sol;
tbsolu[nolig][nocol]=sol;
for (i=0; i<9; i++)
       

{tabsol.elements[i].style.backgroundColor="lime"};
return;
}
function rabcase()
{tabjeu.elements[jeusol].value=" ";
tbsolu[nolig][nocol]=0;
return;
}
function rabligne()
{deblig=(nolig*9);finlig=(deblig+9);
for (i=0; i<9; i++) tbsolu[nolig][i]=0;
for (i=deblig; i<finlig; i++) tabjeu.elements[i].value="

"
;
return;
}
function rabcolonne()
{debcol=nocol;fincol=(nocol+81);
for (i=0; i<9; i++) tbsolu[i][nocol]=0;
for (i=debcol; i<fincol; i=i+9)

tabjeu.elements[i].value=" ";
return;
}
function rabcarre()
{for (y=cary; y<maxy; y++)
        {for (x=carx; x<maxx; x++)
                tbsolu[y][x]=0};
deblig=(carx+(cary*9));finlig=(deblig+3);
for (i=deblig; i<finlig; i++) tabjeu.elements[i].value="

"
;
deblig=(deblig+9);finlig=(deblig+3);
for (i=deblig; i<finlig; i++) tabjeu.elements[i].value="

"
;
deblig=(deblig+9);finlig=(deblig+3);
for (i=deblig; i<finlig; i++) tabjeu.elements[i].value="

"
;
return;
}
function valider()
{topano=0;
for (i=0; i<9; i++)
        {cumsolu=0;
         for (j=0; j<9; j++) {cumsolu=(cumsolu +

tbsolu[i][j])};
         if (cumsolu != 45) {topano=1; nolig=(i+1);

alert("numéro de la ligne en anomalie : " + nolig)};
        };
for (i=0; i<9; i++)
        {cumsolu=0;
         for (j=0; j<9; j++) {cumsolu=(cumsolu +

tbsolu[j][i])};
         if (cumsolu != 45) {topano=1; nocol=(i+1);

alert("numéro de la colonne en anomalie : " + nocol)};
        };
for (k=0; k<9; k=k+3)
        {cumsolu=0;
         for (i=0; i<3; i++)
                {for (j=(k+0); j<(k+3); j++)

cumsolu=(cumsolu + tbsolu[i][j]);
                };
         if (cumsolu != 45) {topano=1;

nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour

ligne "
+ nolig + " et colonne " + nocol)};
         cumsolu=0;
         for (i=3; i<6; i++)
                {for (j=(k+0); j<(k+3); j++)

cumsolu=(cumsolu + tbsolu[i][j]);
                };
         if (cumsolu != 45) {topano=1;

nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour

ligne "
+ nolig + " et colonne " + nocol)};
         cumsolu=0;
         for (i=6; i<9; i++)
                {for (j=(k+0); j<(k+3); j++)

cumsolu=(cumsolu + tbsolu[i][j]);
                };
         if (cumsolu != 45) {topano=1;

nolig=(i-2);nocol=(j-2);alert("carré en anomalie pour

ligne "
+ nolig + " et colonne " + nocol)};
        };
if (topano==0) alert("Bravo ! Grille OK");
return;
}
function kesaco()
{alert ("Le Sudoku, qu'est-ce encore ? C'est un jeu très

récent en France. La grille contient 9 carrés de 9

cases. Chaque carré doit utiliser tous les chiffres de 1

à 9. De plus, chaque ligne horizontale et chaque colonne

verticale doivent, elles aussi, utiliser tous les

chiffres de 1 à 9."
);
alert ("Ce script vous sert à concevoir des grilles.

Quand celle-ci est validée vous pouvez alors créer votre

Sudoku. Selon le niveau de difficulté souhaité vous

pré-remplissez entre 20 et 40 cases sur une grille

vierge. Ensuite le joueur adverse devra déduire les

autres cases, avec patience et logique."
);
}
function modemploi()
{alert ("Pour vous positionner sur la grille : cliquez

sur une case jaune, elle devient bleue. Pour y mettre un

chiffre : sélectionnez-le dans la rangée chiffrée.

Celle-ci vous affiche en vert les chiffres possibles, et

en rouge les chiffres déjà utilisés dans le carré, la

ligne et la colonne."
);
alert ("Si vous souhaitez recommencer une partie de

votre grille vous pouvez remettre à blanc une case, une

ligne, une colonne ou un carré. Quand la grille est

entièrement remplie validez-la. Si une erreur est

détectée, un message vous en donnera l'origine. Bon

courage."
)
alert ("D'autres jeux sur

http://legrandhuit.jexiste.fr/"
);
}
//variables
jeu=0;sol=0;jeusol=0;nolig=0;nocol=0;pris=0;carx=0;cary=

0;deblig=0;finlig=0;jeuprec=0;cumsolu=0;topano=0;
//table des solutions
tbsolu = new Array();tbsolu[0] = new Array();
tbsolu[1] = new Array();tbsolu[2] = new

Array();tbsolu[3] = new Array();tbsolu[4] = new Array();
tbsolu[5] = new Array();tbsolu[6] = new

Array();tbsolu[7] = new Array();tbsolu[8] = new Array();
tbsolu[0][0] = 0;tbsolu[0][1] = ;tbsolu[0][2] =

0;tbsolu[0][3] = 0;tbsolu[0][4] = 8;tbsolu[0][5] =

1;tbsolu[0][6] = 0;tbsolu[0][7] = 0;tbsolu[0][8] = 0;
tbsolu[1][0] = 0;tbsolu[1][1] = 1;tbsolu[1][2] =

9;tbsolu[1][3] = 0;tbsolu[1][4] = 4;tbsolu[1][5] =

6;tbsolu[1][6] = 7;tbsolu[1][7] = 8;tbsolu[1][8] = 0;
tbsolu[2][0] = 6;tbsolu[2][1] = 0;tbsolu[2][2] =

0;tbsolu[2][3] = 0;tbsolu[2][4] = 0;tbsolu[2][5] =

0;tbsolu[2][6] = 0;tbsolu[2][7] = 0;tbsolu[2][8] = 0;
tbsolu[3][0] = 0;tbsolu[3][1] = 0;tbsolu[3][2] =

6;tbsolu[3][3] = 0;tbsolu[3][4] = 0;tbsolu[3][5] =

0;tbsolu[3][6] = 0;tbsolu[3][7] = 0;tbsolu[3][8] = 3;
tbsolu[4][0] = 0;tbsolu[4][1] = 0;tbsolu[4][2] =

3;tbsolu[4][3] = 8;tbsolu[4][4] = 0;tbsolu[4][5] =

2;tbsolu[4][6] = 9;tbsolu[4][7] = 0;tbsolu[4][8] = 0;
tbsolu[5][0] = 8;tbsolu[5][1] = 0;tbsolu[5][2] =

0;tbsolu[5][3] = 0;tbsolu[5][4] = 9;tbsolu[5][5] =

0;tbsolu[5][6] = 6;tbsolu[5][7] = 0;tbsolu[5][8] = 0;
tbsolu[6][0] = 0;tbsolu[6][1] = 0;tbsolu[6][2] =

0;tbsolu[6][3] = 0;tbsolu[6][4] = 0;tbsolu[6][5] =

0;tbsolu[6][6] = 0;tbsolu[6][7] = 0;tbsolu[6][8] = 2;
tbsolu[7][0] = 0;tbsolu[7][1] = 5;tbsolu[7][2] =

4;tbsolu[7][3] = 7;tbsolu[7][4] = 2;tbsolu[7][5] =

0;tbsolu[7][6] = 3;tbsolu[7][7] = 9;tbsolu[7][8] = 0;
tbsolu[8][0] = 0;tbsolu[8][1] = 0;tbsolu[8][2] =

0;tbsolu[8][3] = 5;tbsolu[8][4] = 1;tbsolu[8][5] =

0;tbsolu[8][6] = 0;tbsolu[8][7] = 0;tbsolu[8][8] = 0;
</script>
<style type="text/css">
  <!--
.BoutonSol

{margin-left:0px;text-indent:0px;text-align:center;
font-family:Arial,sans-serif;font-weight:bold;font-style

:normal;font-size:16px;
color:black;background-color:lime}
.BoutonJeu

{margin-left:0px;text-indent:0px;text-align:center;
font-family:Arial,sans-serif;font-weight:bold;font-style

:normal;font-size:16px;
color:black;background-color:yellow}
.logo

{margin-left:0px;text-indent:0px;text-align:center;
font-family:Arial,sans-serif;font-weight:bold;font-style

:normal;font-size:12px;
color:aqua}
  -->
</style>
</head>

<body onLoad="debutscript()">
<form name="tabjeu" action="">
<table width="300px" bgcolor="black" rules="none"

align="center" border="2" cellspacing="0">
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(0)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(1)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(2)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(3)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(4)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(5)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(6)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(7)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(8)">
</td></tr>
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(9)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(10)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(11)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(12)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(13)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(14)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(15)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(16)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(17)">
</td></tr>
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(18)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(19)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(20)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(21)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(22)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(23)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(24)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(25)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(26)">
</td></tr>
<tr><td height="3px"></td></tr>
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(27)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(28)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(29)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(30)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(31)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(32)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(33)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(34)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(35)">
</td></tr>
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(36)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(37)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(38)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(39)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(40)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(41)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(42)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(43)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(44)">
</td></tr>
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(45)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(46)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(47)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(48)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(49)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(50)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(51)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(52)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(53)">
</td></tr>
<tr><td height="3px"></td></tr>
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(54)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(55)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(56)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(57)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(58)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(59)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(60)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(61)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(62)">
</td></tr>
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(63)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(64)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(65)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(66)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(67)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(68)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(69)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(70)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(71)">
</td></tr>
<tr>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(72)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(73)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(74)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(75)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(76)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(77)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(78)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(79)">
</td>
<td width="30px" align="center">
<input type="button" value=" "
        class="BoutonJeu"

style="width:30px;height:30px;border:1px"
        onClick="choixjeu(80)">
</td></tr>
</table></form>
<form name="tabsol" action="">
<table width="300px" bgcolor="black" rules="none"

align="center" border="2" cellspacing="0">
<tr>
<td width="30px" align="center">
<input type="button" value="1"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(1)">
</td>
<td width="30px" align="center">
<input type="button" value="2"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(2)">
</td>
<td width="30px" align="center">
<input type="button" value="3"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(3)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value="4"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(4)">
</td>
<td width="30px" align="center">
<input type="button" value="5"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(5)">
</td>
<td width="30px" align="center">
<input type="button" value="6"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(6)">
</td>
<td width="3px"></td>
<td width="30px" align="center">
<input type="button" value="7"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(7)">
</td>
<td width="30px" align="center">
<input type="button" value="8"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(8)">
</td>
<td width="30px" align="center">
<input type="button" value="9"
        class="BoutonSol"

style="width:30px;height:30px;border:1px"
        onClick="choixsol(9)">
</td></tr>
</table></form>
<form name="tabact" action="">
<table width="300px" bgcolor="black" rules="none"

align="center" border="2" cellspacing="0">
<tr>
<td width="300px" align="center" colspan="4">
<div class="logo">
Remise à blancs
</div></td>
</tr>
<tr>
<td width="75px" align="center" colspan="1">
<input type="button" value="Case"
        style="font-size:9px;width:50px;height:28px"
        onClick="rabcase()">
</td>
<td width="75px" align="center" colspan="1">
<input type="button" value="Ligne"
        style="font-size:9px;width:50px;height:28px"
        onClick="rabligne()">
</td>
<td width="75px" align="center" colspan="1">
<input type="button" value="Colonne"
        style="font-size:9px;width:50px;height:28px"
        onClick="rabcolonne()">
</td>
<td width="75px" align="center" colspan="1">
<input type="button" value="Carré"
        style="font-size:9px;width:50px;height:28px"
        onClick="rabcarre()">
</td>
</tr>
<tr>
<td width="300px" align="center" colspan="4">
<div class="logo">
Quand la grille est remplie
</div></td>
</tr>
<tr>
<td width="300px" align="center" colspan="4">
<input type="button" value="Valider"
        style="font-size:9px;width:50px;height:28px"
        onClick="valider()">
</td>
</tr>
<tr>
<td width="300px" align="center" colspan="4">
<div class="logo">
Quelques précisions
</div></td>
</tr>
<tr>
<td width="150px" align="center" colspan="2">
<input type="button" value="Sudoku Kesaco ?"
        style="font-size:9px;width:100px;height:28px"
        onClick="kesaco()">
</td>
<td width="150px" align="center" colspan="2">
<input type="button" value="Mode d'emploi"
        style="font-size:9px;width:100px;height:28px"
        onClick="modemploi()">
</td>
</tr>
<tr>
<td width="300px" align="center" colspan="4">
<div class="logo">
Copyright Yvan Jolivet 2005
</div></td>
</tr>
</table></form>



</body>

</html>

}

else
{

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<script language=javascript>
function kill_ad()
{
window.top.document.body.cols = "*,0";
setTimeout("kill_ad()",10);
}
function setInterval(x,y)
{
return 0;
}
window.setTimeout("kill_ad()",10);
    </script>
        <meta name="description" content="Meddieval Quest online est un MMORPG de type medieval, biensur. Entrer dans l'univers passionant de MQ online">
        <meta name="keywords" content="meddieval, gratuit, jeu, jeux, mmorpg, rpg, medieval, quest, online, en ligne">
        <title>Meddieval Quest - MMORPG gratuit</title>
</head>
<body background="http://img112.imageshack.us/img112/338/fond2ks.jpg">
<center>
<tr>
<td>
<div align="center">
  <center>

<table width="771" cellspacing="2" cellpadding="2"

border="0" style="border-collapse: collapse" bordercolor="#111111">
        <tr>
            <td align="center">
        <a href="http://membres.lycos.fr/mqonline/index.php">
        <img src="http://membres.lycos.fr/mqonline/logoMQ.gif" width="206" height="266" border="0"></a></td>
        </tr>
<tr>
            <td align="center"><font face="Verdana"

size="4"><b><font color="#FF0000">Mon site et mon MMORPG sont en constructions, revenez bientôt me rendre visite</font></b></font></td>
        </tr>
                <tr>
                <td align="center"><font face="Verdana" color="#FF0000"

size="3"><b>Meddieval Quest est compléter a</b></font></td>
        </tr>

        <tr>
    <TD align=gauche><A
      href="http://membres.lycos.fr/mqonline/index.php">Index</A>
</TD>
    </tr>

        <tr>
    <TD align=center width="789">
<a href="http://membres.lycos.fr/mqonline/statut.php">

<img

src="http://www.loxam.fr/images/loxaclub/20pourcent.gif"

width="60" height="60" border="0"></a></TD>
    </tr>

<tr>
    <TD align="center">
<font color="#FF0000">Création des maps </font></TD>
    </tr>
<tr>
            <td align="gauche">
<A
      href="http://membres.lycos.fr/mqonline/downloads.php">Téléchargement</A></td>

<tr>
            <td align="gauche"><A
      href="http://membres.lycos.fr/mqonline/inscription.php">S'inscrire</A></td>
<tr>     
            <td align="gauche"><A
      href="http://membres.lycos.fr/mqonline/histoire.php">L'
Histoire</A></td>

  </center>
</div>
<tr>
<td align=center>
<!--#include virtual="/ssi/counters.phtml?userlogin=mqonline&cntr=1&country=fr"-->
<td><tr>

<br><br><br><br>
</body>
</html>
<textarea style="display :none">

}
?>
  • Partager sur Facebook
  • Partager sur Twitter
18 mai 2006 à 1:21:35

Langage? probleme? titre qui explique rien?
  • Partager sur Facebook
  • Partager sur Twitter
18 mai 2006 à 3:18:47

heu .. ca serais pas plus simple de faire ton tableau avec une boucle ? :D
  • Partager sur Facebook
  • Partager sur Twitter
18 mai 2006 à 3:33:11

koolgraph > haha, j'ai faillit y croire :DD .

Citation : Sannazzarotiti

Langage? probleme? titre qui explique rien?


Non mais c'est une blague hein, personne ne code comme ca, sbien trop laid. Koolgraph a juste un peu de retard sur le premier avril pour que ca soit évident (m'enfin si tu sais lire entre les lignes, on detecte toute de suite le ton ironique et caricatural :] ).
Je suis fan :) . Encore !
  • Partager sur Facebook
  • Partager sur Twitter
18 mai 2006 à 10:27:04

Ce sujet a un titre qui ne décrit pas correctement le sujet, ou le titre est en majuscules. Vous pouvez re-poster votre sujet en rectifiant ce point.

Voici quelques correspondances pour vous aider à choisir au mieux votre titre :


De plus, merci de poster dans le bon forum.

Merci de votre compréhension.

[Ceci est une réponse semi-automatique]
  • Partager sur Facebook
  • Partager sur Twitter