Line 11... |
Line 11... |
11 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
11 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
12 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
12 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
13 |
<head>
|
13 |
<head>
|
14 |
<title>Daily Data - Computer Asset Management Program</title>
|
14 |
<title>Daily Data - Computer Asset Management Program</title>
|
15 |
<link rel="stylesheet" type="text/css" href="../../camp.css">
|
15 |
<link rel="stylesheet" type="text/css" href="../../camp.css">
|
- |
|
16 |
<script src="../../siblinghide.js"></script>
|
16 |
</head>
|
17 |
</head>
|
17 |
<body>
|
18 |
<body>
|
18 |
<?php include_once('../../menu.php'); ?>
|
19 |
<?php include_once('../../menu.php'); ?>
|
19 |
<div id="content">
|
20 |
<div id="content">
|
20 |
<?php
|
21 |
<?php
|
Line 53... |
Line 54... |
53 |
print "<tr><td colspan='20' align='center'>$currentSite</td></tr>\n";
|
54 |
print "<tr><td colspan='20' align='center'>$currentSite</td></tr>\n";
|
54 |
}
|
55 |
}
|
55 |
if ( $thisRow['Device Name'] != $currentDevice) {
|
56 |
if ( $thisRow['Device Name'] != $currentDevice) {
|
56 |
$currentDevice = $thisRow['Device Name'];
|
57 |
$currentDevice = $thisRow['Device Name'];
|
57 |
if ( $thisRow['Restrictions'] ) {
|
58 |
if ( $thisRow['Restrictions'] ) {
|
- |
|
59 |
$restrictions = $thisRow['Restrictions'];
|
58 |
$currentDevice .= '<span class="restrictions"> - ' . $thisRow['Restrictions'] . '</span>';
|
60 |
//$currentDevice .= '<span class="restrictions"> - ' . $thisRow['Restrictions'] . '</span>';
|
- |
|
61 |
} else {
|
- |
|
62 |
$restrictions = '';
|
59 |
}
|
63 |
}
|
60 |
$notes = $thisRow['Device Notes'];
|
64 |
$notes = $thisRow['Device Notes'];
|
61 |
$title = $notes;
|
65 |
$title = $notes;
|
62 |
$xenRelationships = getDOMUDOM0( $thisRow['Device ID'] );
|
66 |
$xenRelationships = getDOMUDOM0( $thisRow['Device ID'] );
|
63 |
if ( $xenRelationships ) {
|
67 |
if ( $xenRelationships ) {
|
Line 68... |
Line 72... |
68 |
foreach ( $xenRelationships as $domu ) {
|
72 |
foreach ( $xenRelationships as $domu ) {
|
69 |
$title .= "<br />\n " . $domu['name'];
|
73 |
$title .= "<br />\n " . $domu['name'];
|
70 |
}
|
74 |
}
|
71 |
} // if..else
|
75 |
} // if..else
|
72 |
} // if $xenRelationships
|
76 |
} // if $xenRelationships
|
73 |
$title = removeBlankLines(cleanLineReturn( $title ));
|
77 |
#$title = removeBlankLines(cleanLineReturn( $title ));
|
74 |
|
78 |
|
75 |
// put the stuff to convert notes to correct format,
|
79 |
// put the stuff to convert notes to correct format,
|
76 |
print "<tr><td colspan='20' align='left' title='$title'>$currentDevice</td></tr>\n";
|
80 |
print "<tr><td colspan='20'><table width='100%' border='1' class='header-table sibling-hide'><tr><td align='left' width='33%' class='activator'>$currentDevice</td><td width='33%' class='hidden'>$title</td><td width='33%' class='hidden'>$restrictions</td></tr></table></td></tr>\n";
|
77 |
}
|
81 |
}
|
78 |
?>
|
82 |
?>
|
79 |
<tr>
|
83 |
<tr>
|
80 |
<td valign='top' width='50' align='right'>
|
84 |
<td valign='top' width='50' align='right'>
|
81 |
<INPUT type='checkbox' name='performed_<?php print $thisRow['ID']; ?>'>
|
85 |
<INPUT type='checkbox' name='performed_<?php print $thisRow['ID']; ?>'>
|