Subversion Repositories computer_asset_manager_v1

Rev

Rev 54 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

<?php
   include_once( '../../header.php' ); 
?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Daily Data - Computer Asset Management Program</title>
  <link rel="stylesheet" type="text/css" href="../../camp.css">
</head>
<body>
<?php include_once('../../menu.php'); ?>
<div id="content">
  <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data">
    <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
    <table>
       <tr>
          <td>
             Attach To Device
          </td>
          <td>
             <select name='select_device' >
                <option value='0'>------------</option>
                <?php print queryToSelect('select device_id, Device from client_systems order by Device' ); ?>
             </select>
          </td>
       </tr>
       <tr>
          <td>
             Attach To Site
          </td>
          <td>
             <select name='select_site' >
                <option value='0'>------------</option>
                <?php print queryToSelect('select site_id, name from client_site order by name' ); ?>
             </select>
          </td>
       </tr>
       <tr>
          <td>
             Attach To Client
          </td>
          <td>
             <select name='select_client' >
                <option value='0'>------------</option>
                <?php print queryToSelect('select client_id, name from current_client order by name' ); ?>
             </select>
          </td>
       </tr>
       <tr>
          <td>
             Mime Type
          </td>
          <td>
             <select name='mime_type' >
                <option value='0'>------------</option>
                <?php print queryToSelect("select document_mime_type_id, mime_type from document_mime_type order by mime_type" ); ?>
             </select>
          </td>
       </tr>
       <tr>
          <td>
             Document Name
          </td>
          <td>
             <input type="text" name="name" size="30" maxlength="64" />
          </td>
       </tr>
       <tr>
          <td>
             Description
          </td>
          <td>
             <input type="text" name="description" size="30" />
          </td>
       </tr>
       <tr>
          <td>
             Content
          </td>
          <td>
             <textarea name="content" rows="15" cols="80"></textarea>
          </td>
       </tr>
       <tr>
          <td>
             Choose File
          </td>
          <td>
             <input name="uploadedfile" type="file" />
          </td>
       </tr>
       <tr>
          <td colspan='2' align="center">
             <input type="submit" name="uploaddocument" value="Upload" />
          </td>
       </tr>
    </table>
  </form>
</div>

</body>
</html>