2 Star 2 Fork 4

Tody_Guo/php_issue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
review_verlist.php 4.53 KB
一键复制 编辑 原始数据 按行查看 历史
<?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();
?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/tody_guo/php_issue.git
git@gitee.com:tody_guo/php_issue.git
tody_guo
php_issue
php_issue
master

搜索帮助