1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
| <html><head>
<style type="text/css">
body {
background-color: #ECECFF;
}
.violet {
color: #609;
}
.bleu {
color: #036;
}
</style>
<script src="scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$("#conteneur img" ).click(function(){
var $picture1 = $(this).id;
alert($picture1);
$.ajax({
url: 'jeup4verif.php?pseudo=foxbond&play='+$picture1,
dataType: "json",
success: function(data) {
alert(data.donnee1);
alert(data.donnee2);
alert(data.donnee3);
$picture1.attr('src', data.data.donnee1);
document.getElementById('tour').innerHTML.replace(document.getElementById('tour').innerHTML,'data.donnee3');
document.getElementById('final').innerHTML.replace(document.getElementById('final').innerHTML,'data.donnee2');
if (data.donnee3!='') {
clearInterval(monInterval);
}
}
});
});
});
</script>
<script language="javascript">
function charge()
{
$.ajax({
url: 'jeup4verif2.php',
success: function(data) {
$picture1.attr('data.donnee2', data.donnee1);
document.getElementById('final').innerHTML.replace(document.getElementById('final').innerHTML,'data.donnee3');
if (data.donnee3!='') {
clearInterval(monInterval);
}
});
});
});
var monInterval = setInterval(charge, 5000);
</script>
</head>
<body><img src='Images/Jeux/44-4.png' alt='' width="800" height="650" border="0" style='display:block; position:absolute; top:10; left:10;' />
<table width="200" border="0" cellpadding="2" cellspacing="2" style='display:block; position:absolute; top:10; left:10; width: 1000; font-family: Verdana, Geneva, sans-serif; font-size: 12px;' id="conteneur">
<tr>
<td height="158" colspan="9"> </td>
<td width="190" height="158"> </td>
</tr>
<tr>
<td width="167" rowspan="7"> </td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="A1"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="A2"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="A3"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="A4"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="A5"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="A6"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="A7"></td>
<td width="160"> </td>
<td width="190" rowspan="7"><div align="center">
<p><strong>
<div id='final'></div><br>Foxbond2 <br /><br />
<font size='4'>VS</font><br /><br />Foxbond</strong><strong>
</strong></p>
<div align="center" id="player">
<table width="100%" border="0" cellspacing="4">
<tr>
<td width="58%"><div align="right"><strong>Tour de </strong></div></td>
<td width="42%"><div id='tour'><strong><font color='#990000'>
Foxbond2 </font></strong></div></td>
</tr>
</table>
</div>
<strong> <span class="bleu"><br>Règle du jeu :</span></strong><br />
Chaque joueur place un jeton de couleur sur la colonne de son choix. Celui-ci coulisse jusqu'à la position la plus basse possible.<br />
Le premier éléphant qui aligne 4 jetons<em> (horizontal / vertical / diagonal)</em> remporte la partie.<br />
Le plus doué gagne 5 écus et les deux éléphants gagnent 1 seul écu en cas de match nul.<br />
Chaque partie remportée vous fait grimper dans le classement des meilleurs joueurs du puissance 4.</div></td>
</tr>
<tr>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="B1"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="B2"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="B3"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="B4"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="B5"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="B6"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="B7"></td>
<td width="160"> </td>
</tr>
<tr>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="C1"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="C2"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="C3"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="C4"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="C5"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="C6"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="C7"></td>
<td width="160"> </td>
</tr>
<tr>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="D1"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="D2"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="D3"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="D4"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="D5"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="D6"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="D7"></td>
<td width="160"> </td>
</tr>
<tr>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="E1"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="E2"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="E3"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="E4"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="E5"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="E6"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="E7"></td>
<td width="160"> </td>
</tr>
<tr>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="F1"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="F2"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="F3"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="F4"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="F5"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="F6"></td>
<td width="60" height="66"><img src="Images/Jeux/p4a.png" width="58" height="60" id="F7"></td>
<td width="160"> </td>
</tr>
<tr>
<td height="80" colspan="8"> </td>
</tr>
</table>
</body></html> |