echo '<meta http-equiv="Refresh" content="10;url='.$url.'">'; ?> </head> <body> <div align="center"> <h3>Aktuelles Trainingsspiel<br>..:: MATT IN Zwei Zügen ::..</h3> <b>Dies war die richtige Eröffnung</b> <div id=EL_1> <br><br>Der Schachtrainer macht nun den Zug <b><?=$m['zug']?></b> </div> <br><br> <?PHP displayBoard(EPD2Board($EPD2)); ?> <br><br> <a href="<?=$url?>"><b>Weiter zum nächsten Zug >></b></a> </body> </html> <?PHP exit; } // move valid } // moves == 0
$EPD = $_GET['EPD']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> <!-- body { font-family: verdana, arial, helvetica, sans-serif; font-size: small; color: #000; background-color: #fff; } --> </style> <title>WebChess</title> <script language="JavaScript" type="text/javascript" src="javascript/chessutils.js"></script> <script language="JavaScript" type="text/javascript" src="javascript/EPDutils.js"></script> </head> <body> <div align="center"> <?php displayBoard(EPD2Board($EPD)); ?> </body> </html>