Subversion Repositories computer_asset_manager_v1

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
<?php
2
   include_once( '../../header.php' ); 
3
?>
4
<?xml version="1.0" encoding="utf-8"?>
5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
<html xmlns="http://www.w3.org/1999/xhtml">
7
<head>
8
  <title>Daily Data - Computer Asset Management Program</title>
9
  <link rel="stylesheet" type="text/css" href="../../camp.css">
10
</head>
11
<body>
12
<?php include_once('../../menu.php'); ?>
13
<div id="content">
14
  <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data">
15
    <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
16
    <table>
17
       <tr>
18
          <td>
19
             Attach To Device
20
          </td>
21
          <td>
22
             <select name='select_device' >
23
                <option value='0'>------------</option>
24
                <?php print queryToSelect('select device_id, Device from client_systems order by Device' ); ?>
25
             </select>
26
          </td>
27
       </tr>
28
       <tr>
29
          <td>
30
             Attach To Site
31
          </td>
32
          <td>
33
             <select name='select_site' >
34
                <option value='0'>------------</option>
35
                <?php print queryToSelect('select site_id, name from client_site order by name' ); ?>
36
             </select>
37
          </td>
38
       </tr>
39
       <tr>
40
          <td>
41
             Attach To Client
42
          </td>
43
          <td>
44
             <select name='select_client' >
45
                <option value='0'>------------</option>
46
                <?php print queryToSelect('select client_id, name from current_client order by name' ); ?>
47
             </select>
48
          </td>
49
       </tr>
50
       <tr>
51
          <td>
52
             Mime Type
53
          </td>
54
          <td>
55
             <select name='mime_type' >
56
                <option value='0'>------------</option>
57
                <?php print queryToSelect("select document_mime_type_id, mime_type from document_mime_type order by mime_type" ); ?>
58
             </select>
59
          </td>
60
       </tr>
61
       <tr>
62
          <td>
63
             Document Name
64
          </td>
65
          <td>
66
             <input type="text" name="name" size="30" maxlength="64" />
67
          </td>
68
       </tr>
69
       <tr>
70
          <td>
71
             Description
72
          </td>
73
          <td>
74
             <input type="text" name="description" size="30" />
75
          </td>
76
       </tr>
77
       <tr>
78
          <td>
79
             Content
80
          </td>
81
          <td>
82
             <textarea name="content" rows="15" cols="80"></textarea>
83
          </td>
84
       </tr>
85
       <tr>
86
          <td>
87
             Choose File
88
          </td>
89
          <td>
90
             <input name="uploadedfile" type="file" />
91
          </td>
92
       </tr>
93
       <tr>
94
          <td colspan='2' align="center">
95
             <input type="submit" name="uploaddocument" value="Upload" />
96
          </td>
97
       </tr>
98
    </table>
99
  </form>
100
</div>
101
 
102
</body>
103
</html>
104