Bonjour, voila je reprend phpsimul x-) vieux mais je ne trouve rien de mieux dans se style. J'aimerais ajouter l'affichage du temps sur la carte/Batiments (voir image)  
Code de VoirBatiment.html : <table border='0' align='center'> <tr><td align='center'><b>{{nom}}</b></td></tr> <tr><td align='center'><a href="?mod=infosct&bat={{id}}", "1");'> <img src='templates/{{theme}}/images/batiments/{{image}}.gif'></a></td></tr> <tr><td align='center'>Niveau : {{niveau}}</td></tr> <tr><td align='center'>{{description}}</td></tr> <tr><td align='center'>{{ressources}} {{temps}}</td></tr> <tr><td align='center'>{{temps_avant_dispo}}</td></tr> <tr><td align='center'>{{lien}}</td></tr> </table> <button type="button" onclick="window.history.back();" >Retour</button> Code de la Carte : <!-- PHPsimul : Carte batiments D -->
<div id="curseur" class="infobulle"></div>
<html>
<table border="0" cellpadding="0" cellspacing="0" align='center' valign='bottom'>
<tr> <td background='templates/{{theme}}/images/carte/fond.gif' width='64' height='64' align='center' valign='bottom'> {{1}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{2}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{3}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{4}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{5}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{6}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{7}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{8}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{9}} </td> </tr>
<tr> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{10}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{11}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{12}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{13}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{14}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{15}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{16}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{17}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{18}} </td> </tr>
<tr> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{19}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{20}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{21}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{22}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{23}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{24}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{25}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{26}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{27}} </td> </tr>
<tr> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{28}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{29}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{30}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{31}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{32}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{33}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{34}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{35}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{36}} </td> </tr>
<tr> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{37}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{38}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{39}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{40}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{41}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{42}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{43}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{44}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{45}} </td> </tr>
<tr> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{46}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{47}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{48}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{49}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{50}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{51}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{52}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{53}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{54}} </td> </tr>
<tr> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{55}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{56}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{57}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{58}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{59}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{60}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{61}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{62}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{63}} </td> </tr>
<tr> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{64}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{65}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{66}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{67}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{68}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{69}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{70}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{71}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{72}} </td> </tr>
<tr> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{73}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{74}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{75}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{76}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{77}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{78}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{79}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{80}} </td> <td background='templates/{{theme}}/images/carte/{{ordre_3}}/fond.gif' width='64' height='64' align='center' valign='bottom'> {{81}} </td> </tr> </table> </html> <table border='0' align='center'> <tr><td align='center'><b>{{nom}}</b></td></tr> <tr><td align='center'><a href="?mod=infosct&bat={{id}}", "1");'> <img src='templates/{{theme}}/images/batiments/{{image}}.gif'></a></td></tr> <tr><td align='center'>Niveau : {{niveau}}</td></tr> <tr><td align='center'>{{description}}</td></tr> <tr><td align='center'>{{ressources}} {{temps}}</td></tr> <tr><td align='center'>{{temps_avant_dispo}}</td></tr> <tr><td align='center'>{{lien}}</td></tr> </table> <!-- PHPsimul : Carte batiments F -->
Code de Batiment.html <!--AFFICHAGE_CHOIX_TYPE_BATIMENTS_A_VOIR-->
<table> <tr> <td> <a href="?mod=batiments&type=1&case={case}"> Batiments Ressources </a> </td> <td> </td> <td> <a href="?mod=batiments&type=2&case={case}"> Batiments Militaire </a> </td> <td> </td> <td> <a href="?mod=batiments&type=3&case={case}"> Batiments Scientifique </a> </td> </tr> </table> <br> <br>
<!--/AFFICHAGE_CHOIX_TYPE_BATIMENTS_A_VOIR-->
<table border='1' width='100%'>
{BALISE id=1}
<tr> <td width="15%"> <a href="?mod=infosct&bat={id}", "1");'> <img src='templates/{theme}/images/batiments/{image}.gif'> </a> </td> <td width="65%"> <b>{nom}</b> {niveau}<br>{description}<br> {temps_avant_dispo} </td> <td align="center" width="20%"> <br> {ressources} {temps}<br><br> {lien} </td> </tr>
{/BALISE}
</table>
Voila si qqn sais m help |