

| CODE |
<p><strong>Virtual Coins</strong></p> <table border="1" width="50" cellspacing="1" style="border: 1px solid #000000" bgcolor="#E4E4E4" bordercolor="#000000"> <tr> <td align="center"> <? if ($_GET['action']==toss) { srand((double)microtime()*1000000); $hex = array(); for ($i=0;$i<6;$i++){ $random = rand(0,7); if ($random<1) print("O<br>"); elseif ($random<2) print ("X<br>"); elseif ($random<5) print ("-<br>"); elseif ($random<8) print ("- -<br>"); } } ?> </td> </tr> </table> <br> <font size="-2"><strong>Time of toss (in Beijing):</strong><br> <? print date("F j, Y, g:i a"); //print time(); ?></font> <br><br> <font size = 2>Written by songoku</font> |