File size: 1.01Kb
<?php
header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
echo "<!-- MobiiliChat v1.1 -->\n";
echo "<!-- Copyright (C) 2004-2005 Keijo Kangas ([email protected]) -->\n";
echo "<wml>\n";
echo "<card title=\"Login\">\n";
echo "<p>\n";
echo "Nick:\n";
echo "<input name=\"nimi\" type=\"text\" format=\"*x\" maxlength=\"15\" emptyok=\"true\"/><br/>\n";
echo "Password:\n";
echo "<input name=\"salasana\" type=\"password\" format=\"*x\" maxlength=\"15\" emptyok=\"true\"/><br/>\n";
echo "<anchor>[Login]\n";
echo "<go method=\"post\" href=\"login.php\">\n";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>\n";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>\n";
echo "</go>\n";
echo "</anchor><br/>\n";
echo "<a href=\"home.php\">[Home]</a>\n";
echo "<br/>\n";
echo "</p>\n";
echo "</card>\n";
echo "</wml>\n";
?>