nscheck_form.php3 1.49 KB
Newer Older
1
<?php
Leigh B. Stoller's avatar
Leigh B. Stoller committed
2 3
#
# EMULAB-COPYRIGHT
4
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
Leigh B. Stoller's avatar
Leigh B. Stoller committed
5 6
# All rights reserved.
#
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
include("defs.php3");

#
# Standard Testbed Header
#
PAGEHEADER("Syntax Check your NS file");

#
# Only known and logged in users can begin experiments.
#
$uid = GETLOGIN();
LOGGEDINORDIE($uid);

?>
<table align="center" border="1"> 
<tr>
23
    <td align="center" colspan="3">
Leigh B. Stoller's avatar
Leigh B. Stoller committed
24 25 26 27
        <font size="+1">
               Use this page to syntax check your NS file before
               submitting it.
        </font>
28 29 30 31 32 33 34
    </td>
</tr>

<?php
echo "<form enctype=\"multipart/form-data\"
            action=\"nscheck.php3\" method=\"post\">\n";

35

36
#
37
# NS file upload or on server.
38 39
# 
echo "<tr>
40 41
          <td rowspan>*Your NS file: &nbsp</td>

42
          <td rowspan><center>Upload (50K max)<br>
43 44 45
                                   <br>
                                   Or<br>
                                   <br>
46
                              On Server <br> (/proj, /groups, /users)
47 48 49
                      </center></td>

          <td rowspan>
50
              <input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"51200\">
51
              <input type=\"file\" name=\"exp_nsfile\" size=\"30\">
52 53 54
              <br>
              <br>
              <input type=\"text\" name=\"exp_localnsfile\" size=\"40\">
55 56 57 58 59 60
              </td>
      </tr>\n";

?>

<tr>
61
    <td align="center" colspan="3">
Leigh B. Stoller's avatar
Leigh B. Stoller committed
62
        <b><input type="submit" value="Check"></b></td>
63 64 65 66 67 68 69 70 71 72
</tr>
</form>
</table>

<?php
#
# Standard Testbed Footer
# 
PAGEFOOTER();
?>