代码拉取完成,页面将自动刷新
<?php
include 'inc/conn.php';
extract($_POST);
extract($_GET);
unset($_POST,$_GET);
if (!isset($id))
{
echo "<script>alert('ID is empty!');</script>";
die("ID is empty!");
}
$db = new mysql();
$sql = "select * from eng_version_control_table where id=".$id;
$db->query($sql);
$num = $db->db_num_rows();
if ($num == 0)
die("No data was found!");
$row = $db->fetch_assoc();
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">-->
<link rel="stylesheet" href="/css/bootstrap.min.css">
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-migrate.min.js"></script>
<script type="text/javascript" src="/xhEditor/xheditor.min.js"></script>
<script type="text/javascript" src="/xhEditor/xheditor_lang/zh-cn.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<title>查看 "<? echo htmlspecialchars_decode($row['Customer']); ?>" 详细信息</title>
</head>
<body class="background">
<?
include "top.php";
?>
<div class="container-fluid white-background pagecontent">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">
版本管控系统>>查看"<? echo htmlspecialchars_decode($row['Customer']); ?>" 详细信息
<?
if (isset($_SESSION['ID'])) {
echo "<a href='#' rel='tooltip' title='修改' onclick=\"javascript:window.open('/admin/mod_verlist.php?id=${id}', '修改', 'height=800, width=600, toolbar=no, menubar=no, scrollbars=yes, resizable=yes,location=no, status=no');\">[编辑]</a>";
}
?>
</h3>
</div>
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon">机种名称:</span>
<input name="modelname" type="text" value="<? echo htmlspecialchars_decode($row['Model_name']); ?>" class="form-control">
</div>
<div class="input-group">
<span class="input-group-addon">客户名称:</span>
<input name="customername" type="text" value="<? echo htmlspecialchars_decode($row['Customer']); ?>" class="form-control">
</div>
<div class="input-group">
<span class="input-group-addon">出货系统:</span>
<input name="systemver" type="text" value="<? echo htmlspecialchars_decode($row['System_type']); ?>" class="form-control">
</div>
<div class="input-group">
<span class="input-group-addon">BIOS版本:</span>
<input name="biosversion" type="text" value="<? echo htmlspecialchars_decode($row['BIOS_version']); ?>" class="form-control">
</div>
<div class="input-group">
<span class="input-group-addon">BIOS日期:</span>
<input name="biosdate" type="text" value="<? echo htmlspecialchars_decode($row['Bios_release_date']); ?>" class="form-control">
</div>
<div class="input-group">
<span class="input-group-addon">EC的版本:</span>
<input name="ecversion" type="text" value="<? echo htmlspecialchars_decode($row['EC_version']); ?>" class="form-control">
</div>
<div class="input-group">
<span class="input-group-addon">管控人员:</span>
<input name="vowner" type="text" value="<? echo htmlspecialchars_decode($row['Owner']); ?>" class="form-control">
</div>
<div class="input-group">
<span class="input-group-addon">送测时间:</span>
<input name="ecversion" type="text" value="<? echo htmlspecialchars_decode($row['Build_Date']); ?>" class="form-control">
</div>
<div class="input-group">
<?
if ($row['Q_result']==0){
echo "<span class='input-group-addon'>品保状态:</span>";
echo "<input name='ecversion' type='text' value='待测' class='form-control'>";
echo " </div>";
}else{
echo "<span class='input-group-addon'>品保状态:</span>";
echo "<input name='ecversion' type='text' value='通过' class='form-control'>";
echo " </div>";
echo "<div class='input-group'>";
echo "<span class='input-group-addon'>测试人员:</span>";
echo "<input name='ecversion' type='text' value='".$row['Q_op']."' class='form-control'>";
echo "</div>";
echo "<div class='input-group'>";
echo "<span class='input-group-addon'>测试时间:</span>";
echo "<input name='ecversion' type='text' value='".$row['Q_check_date']."' class='form-control'>";
echo "</div> ";
}
echo "<div><h4>备注:</h4></div>";
echo "<div class='well'>";
echo htmlspecialchars_decode($row['REMARK']);
?>
</div>
</div>
</div>
</div>
<?
include 'bottom.php';
?>
</body>
</html>
<?
$db->close();
?>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。