<?php
/*
 *********************************************************************************************************
 * daloRADIUS - RADIUS Web Platform
 * Copyright (C) 2007 - Liran Tal <liran@lirantal.com> All Rights Reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 *********************************************************************************************************
 *
 * Authors:     Liran Tal <liran@lirantal.com>
 *
 * daloRADIUS edition - fixed up variable definition through-out the code
 * as well as parted the code for the sake of modularity and ability to 
 * to support templates and languages easier.
 * Copyright (C) Enginx and Liran Tal 2007, 2008
 * 
 *********************************************************************************************************
 */

/*
echo "
	<form name='form1' method='post' action='$loginpath'>
		<input type='hidden' name='challenge' value='$challenge'>
		<input type='hidden' name='uamip' value='$uamip'>
		<input type='hidden' name='uamport' value='$uamport'>
		<input type='hidden' name='userurl' value='$userurl'>

		<center>
		<table border='0' cellpadding='5' cellspacing='0' style='width: 217px;'>
		<tbody>
		<tr>
			<td align='right'>$centerUsername:</td>
        		<td><input style='font-family: Arial' type='text' name='UserName' size='20' maxlength='128'></td>
		</tr>

		<tr>
		        <td align='right'>$centerPassword:</td>
		        <td><input style='font-family: Arial' type='password' name='Password' size='20' maxlength='128'></td>
      		</tr>

		<tr>
		        <td align='center' colspan='2' height='23'><input type='submit' name='button' value='Login' 
				onClick=\"javascript:popUp('$loginpath?res=popup1&uamip=$uamip&uamport=$uamport')\"></td> 
      		</tr>

		</tbody>
		</table>
		</center>
	</form>
</body>
</html>
";
*/

?>


<?php
	echo "
	<form name='form1' method='post' action='$loginpath'>
		<input type='hidden' name='challenge' value='$challenge'>
		<input type='hidden' name='uamip' value='$uamip'>
		<input type='hidden' name='uamport' value='$uamport'>
		<input type='hidden' name='userurl' value='$userurl'>
	";
?>

<table class="login_form">
  <tr>
    <td align="right">Username:</td>

    <td>
<input class="login_username" type="text" name="UserName"
               value="" size="16" />
    </td>
  </tr>
  <tr>
    <td align="right">Password:</td>
    <td>
      <input class="login_password" type="password" name="Password" size="16" />
    </td>

  </tr>
  <tr>
    <td colspan="2" align="right">
	<input type='hidden' name='button' value='Login'>
      <input class="login_submit" type="button" name="button" value="Login" 
	  	<?php echo "onClick=\"javascript:popUp('$loginpath?res=popup1&uamip=$uamip&uamport=$uamport')\"" ?> />
	
		<input type="checkbox" name="tos" id="toscheckbox"> 
			<font size='1'>I agree to the <a href="http://www.bluechipwireless.com/samui_internet_service_terms.html">Terms & Conditions </a> </font>
    </td>
  </tr>
</table>
</form></div>
<!--sputnik form ends above-->





