summaryrefslogtreecommitdiffstats
path: root/Under-Testing/Website/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'Under-Testing/Website/main.php')
-rw-r--r--Under-Testing/Website/main.php63
1 files changed, 0 insertions, 63 deletions
diff --git a/Under-Testing/Website/main.php b/Under-Testing/Website/main.php
deleted file mode 100644
index 3a5bd25..0000000
--- a/Under-Testing/Website/main.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<SCRIPT language=Javascript>
-
- function isNumberKey(evt)
- {
- var charCode = (evt.which) ? evt.which : event.keyCode
- if (charCode > 31 && (charCode < 48 || charCode > 57))
- return false;
-
- return true;
- }
-
- function ValidateForm(form){
- ErrorText= "";
- if ( ( form.device[0].checked == false ) && ( form.device[1].checked == false ) && ( form.device[2].checked == false )&& ( form.device[3].checked == false )&& ( form.device[4].checked == false )) {
- alert ( "Please choose your The device" );
- return false;
- }
-
- var port = form.portname.value;
- var ime = form.imei.value;
- var num = form.number.value;
-
- if ((port==null || port=="") && (num==null || num=="")) {alert("* all information must be filled out");return false;}
-}
-</SCRIPT>
-
- <table style="width:50%; margin:auto" border="0">
- <tr>
- <td height="100px" width ="120px" align="left">
- <font size="3" face="Century Gothic" color="LightGray">
- <form name ="insert" action="insertdevice.php" method="POST">
- <input type="radio" name="device" value="GSMRZ1" /> RZ GSM 1<br>
- <input type="radio" name="device" value="GSMext.Eplus" /> E-Plus<br>
- <input type="radio" name="device" value="GSMext.O2" /> O2<br>
- <input type="radio" name="device" value="GSMext.Voda" /> Vodaphone<br>
- <input type="radio" name="device" value="GSMext.Tm" /> T-Mobile<br>
-
- </font>
- </td>
- <td height="100px" width ="100px" align="left">
- <font size="3" face="Century Gothic" color="LightGray">
- Port Address<br>
- IMEI<br>
- Number<br>
- </font>
- </td>
- <td height="100px" width ="90px" align="left">
- <font size="3" face="Century Gothic" color="LightGray">
- : <input type="text" name="portname" /> *</br>
- : <input type="text" name="imei" onkeypress="return isNumberKey(event)"/><br>
- : <input type="text" name="number" onkeypress="return isNumberKey(event)"/> *<br>
- </font>
- </td>
- <td height="100px" width ="50px" align="left">
- <font size="3" face="Century Gothic" color="LightGray">
- <INPUT type="image" value="submit" name="submit" src="Images/SubmitButton.png" onClick="ValidateForm(this.form)"><br />
- </font>
- </td>
-
- </form>
- </tr>
- </table>
-