<?php

list($msec,$sec)=explode(chr(32),microtime());
$HeadTime=$sec+$msec;

header ("Content-type:text/vnd.wap.wml; charset=utf-8");
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml13.dtd">
<wml><head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>
<card id="index" title="Love Meter">
<p align="center"><small>Love Meter<br/>
Your Name:<br/>
<input name="name" title="&#1048;&#1084;&#1103;"/><br/>
Partner Name:<br/>
<input name="partner" title="&#1048;&#1084;&#1103;"/><br/>';
echo "<a href=\"rez.php?username=$username&amp;password=$password\">&#187; Love Test &#171;</a><br/>";
echo "<a href=\"welcome.php?username=$username&amp;password=$password\">&#187; Main Menu &#171;</a><br/>
...<br/>
&#169; bcfc.me.uk<br/>";

list($msec,$sec)=explode(chr(32),microtime());
echo "[".round(($sec+$msec)-$HeadTime,4)."]";

print '
</small></p>
</card>
</wml>';

?>
