?? tomaintenance_setting.php
字號:
<?php
include('../admin_global.php');
$id=$_GET['id'];
$query=$db->query("SELECT * FROM device,device_brand,device_type,units,sector where device.device_brand=device_brand.brand_id and device.device_type=device_type.type_id and device.device_units=units.units_id and device.device_sector=sector.sector_id and device_id=$id ");
$rs=$db->fetch_array($query);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>無標(biāo)題文檔</title>
<link rel="stylesheet" type="text/css" href="../css/table.css">
<script language="javascript" type="text/javascript">
</script>
<script src="../js/admin.js"></script>
</head>
<body >
<table width="300" height="22" border="0" cellpadding="0" cellspacing="0" align="center"
style="margin-top:25px; color:#000000; font-size:12px" bgcolor="#ffffff">
<!--DWLayoutTable-->
<tr>
<td align="center" valign="middle" ><strong>報(bào)修設(shè)備ID號為<?=$id?></strong> </td>
</tr>
</table>
<div id="data">
<table border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFFFF">
<!--DWLayoutTable-->
<tr>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>設(shè)備名稱</strong></td>
<td width="240" align="center" valign="middle" ><?php echo $rs['device_name'] ?></td>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>設(shè)備品牌</strong></td>
<td width="240" align="center" valign="middle" ><?php echo $rs['brand_name'] ?></td>
</tr>
<tr>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>設(shè)備類型</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['type_name'] ?></td>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>型號規(guī)格</strong></td>
<td width="250" align="center" valign="middle" > <?php echo $rs['device_Specification'] ?></td>
</tr>
<tr>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>產(chǎn)品編碼</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_code'] ?></td>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>設(shè)備產(chǎn)地</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_origin'] ?></td>
</tr>
<tr>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>設(shè)備價(jià)值</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_value'] ?></td>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>購入單位</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_orderunits'] ?></td>
</tr>
<tr>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>購入日期</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_orderdate'] ?></td>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>使用時(shí)間</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_usedate'] ?></td>
</tr>
<tr>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>保修時(shí)間</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_warrantydate'] ?></td>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>設(shè)備來源</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_source'] ?></td>
</tr>
<tr>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>使用單位</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['units_name'] ?></td>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>使用部門</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['sector_name'] ?></td>
</tr>
<tr>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>責(zé)任人</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_duty'] ?></td>
<td width="100" align="center" valign="middle" bgcolor="e9e9e9"><strong>狀態(tài)</strong></td>
<td width="250" align="center" valign="middle" ><?php echo $rs['device_state'] ?></td>
</tr>
</table>
</div>
<table width="300" height="22" border="0" cellpadding="0" cellspacing="0" align="center"
style="margin-top:25px; color:#000000; font-size:12px" bgcolor="#ffffff">
<!--DWLayoutTable-->
</table>
<form action="device_jod.php?action=maintenancedd" name="myform" method="post">
<table width="578" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFFFF"
style="margin-top:10px;border: solid 1px #000000; ">
<!--DWLayoutTable-->
<tr>
<td height="20" colspan="2" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<!--DWLayoutTable-->
<tr>
<td width="99" height="30" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="477" align="left" valign="middle" >
<span class="mazi"> 報(bào)修科室:
<input name="name" type="text" style="width:150px; height:22px;border: solid 1px #000000;" >
</span></td>
</tr>
<tr>
<td width="99" height="30" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="477" align="left" valign="middle" >
<span class="mazi"> 報(bào)修時(shí)間: </span>
<input name="date" type="text" style="width:150px; height:22px;border: solid 1px #000000;" >
<span style=" font-size:12px;width:200px;height:22px; color:#FFFFFF;padding-top:5px; padding-left:5px;">
<a href="javascript:void(0)" onClick="if(self.gfPop)gfPop.fPopCalendar(date);return false;" HIDEFOCUS><img name="popcal" align="absmiddle" src="../calendar/calbtn.gif" width="34" height="22" border="0" alt=""></a>
<span class="shuoming">日期格式 2007-01-01</span>
</span></td>
</tr>
<tr>
<td width="99" height="30" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="477" align="left" valign="middle" >
<span class="mazi"> 報(bào)修人:
<input name="duty" type="text" style="width:150px; height:22px;border: solid 1px #000000;" >
</span></td>
</tr>
<tr>
<td width="99" height="30" valign="top"><!--DWLayoutEmptyCell--> </td>
<td width="477" align="left" valign="middle" >
<span class="mazi"> 故障現(xiàn)象:
<textarea name="content" cols="50" rows="5"></textarea>
</span></td>
</tr>
<tr>
<td height="30" colspan="2" align="center" valign="middle">
<span style="font-size:12px;width:85px;height:22px;background:url(../images/anniu.jpg);padding-top:3px; color:#FFFFFF; cursor:hand " onClick="form_chk()">提 交</span> </td>
</tr>
</table>
<input type="hidden" name="device_id" value="<?php echo $_GET['id'] ?>">
</form>
</body>
</html>
<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="../calendar/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; left:-500px; top:0px;">
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -