Subversion Repositories computer_asset_manager_v1

Rev

Rev 47 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 47 Rev 86
Line 1... Line 1...
1
<?php 
1
<?php 
2
   include_once( '../../header.php' );
2
   include_once( '../../header.php' );
3
   include_once( './functions.php' );
3
   include_once( './functions.php' );
-
 
4
   include_once( '../../includes/functions.php' );
4
   define ( DEBUG, false );
5
   define ( DEBUG, false );
5
?>
6
?>
6
<?xml version="1.0" encoding="utf-8"?>
7
<?xml version="1.0" encoding="utf-8"?>
7
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
8
<html xmlns="http://www.w3.org/1999/xhtml">
9
<html xmlns="http://www.w3.org/1999/xhtml">
Line 19... Line 20...
19
            <tr>
20
            <tr>
20
               <td>Client</td>
21
               <td>Client</td>
21
               <td>
22
               <td>
22
                  <select name='client_id'>
23
                  <select name='client_id'>
23
                     <option value=-1 selected>All</option>
24
                     <option value=-1 selected>All</option>
24
                  <?php print queryToSelect( 'select client_id,name from client where removed_date is null order by name'); ?>
25
                  <?php print queryToSelect( getClients() ); ?>
25
                  </select>
26
                  </select>
26
               </td>
27
               </td>
27
            </tr>
28
            </tr>
28
            <tr>
29
            <tr>
29
               <td>Machine</td>
30
               <td>Machine</td>
30
               <td>
31
               <td>
31
                  <select name='device_id'>
32
                  <select name='device_id'>
32
                     <option value=-1 selected>All</option>
33
                     <option value=-1 selected>All</option>
33
                     <option value='null'>Available</option>
34
                     <option value='null'>Available</option>
34
                  <?php print queryToSelect( "select device.device_id,device.name from device where device_type_id in (select device_type_id from device_type where show_as_system = 'Y') order by device.name"); ?>
35
                  <?php print queryToSelect( getAllDevices() ); ?>
35
                  </select>
36
                  </select>
36
               </td>
37
               </td>
37
            </tr>
38
            </tr>
38
            <tr>
39
            <tr>
39
               <td>Product</td>
40
               <td>Product</td>
Line 90... Line 91...
90
            <tr>
91
            <tr>
91
               <td>Select new Machine</td>
92
               <td>Select new Machine</td>
92
               <td>
93
               <td>
93
                  <select name='new_device'>
94
                  <select name='new_device'>
94
                     <option value=-1 selected>Remove Only</option>
95
                     <option value=-1 selected>Remove Only</option>
95
                  <?php print queryToSelect( "select device_id,name from view_device_systems where removed_date is null order by name"); ?>
96
                  <?php print queryToSelect( getAllDevices() ); ?>
96
                  </select>
97
                  </select>
97
               </td>
98
               </td>
98
            </tr>
99
            </tr>
99
            <tr>
100
            <tr>
100
               <td colspan='2' align='center'><input type="submit" value="Move License" name="submit"></td>
101
               <td colspan='2' align='center'><input type="submit" value="Move License" name="submit"></td>