You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
4.3 KiB
PHP
123 lines
4.3 KiB
PHP
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
|
<meta content="yes" name="apple-mobile-web-app-capable">
|
|
<title>customer reply</title>
|
|
<style type="text/css" media="screen and (min-device-width:768px)">
|
|
.modal-dialog {width: 600px;margin: 100px auto;}
|
|
.modal-content {-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);box-shadow: 0 5px 15px rgba(0,0,0,.5);}
|
|
</style>
|
|
<style type="text/css">
|
|
body{background-color: #f1f1f1;color: #555;font-size: 16px;font-family: 'Open Sans', sans-serif;}
|
|
#content{width: 1000px;display: block;margin-left: auto ;margin-right: auto ;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="content" style="padding: 20px;">
|
|
<?php if (empty($D) || empty($A) || empty($C)) { ?>
|
|
<h3>未收到回复</h3>
|
|
<?php } else { ?>
|
|
<table border="1">
|
|
<thead>
|
|
<tr>
|
|
<th width="10%">等级</th>
|
|
<th width="45%">关键问题</th>
|
|
<th width="45%">辅助信息</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<?php echo $CR_result; ?>
|
|
</td>
|
|
<td>
|
|
<?php foreach ($D as $kc => $qa) {
|
|
if (intval($qa[0]->FD_ismain) == 1) {
|
|
echo $qa[0]->FD_question;
|
|
foreach ($qa as $ka => $answer) { ?>
|
|
<p style="color: #a31022;"><?php echo ($answer->CRD_result) . "." . $answer->CRD_content; ?></p>
|
|
<?php } } } ?>
|
|
</td>
|
|
<td>
|
|
<?php foreach ($D as $kc => $qa) {
|
|
if (intval($qa[0]->FD_ismain) != 1) { ?>
|
|
<?php echo $qa[0]->FD_question; ?>
|
|
<?php foreach ($qa as $ka => $answer) { ?>
|
|
<p style="color: #a31022;"><?php echo ($answer->CRD_result) . "." . $answer->CRD_content; ?></p>
|
|
<?php } } } ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<?php echo $CR_result; ?>
|
|
</td>
|
|
<td>
|
|
<?php foreach ($A as $kc => $qa) {
|
|
if (intval($qa[0]->FD_ismain) == 1) {
|
|
echo $qa[0]->FD_question;
|
|
foreach ($qa as $ka => $answer) { ?>
|
|
<p style="color: #a31022;"><?php echo ($answer->CRD_result) . "." . $answer->CRD_content; ?></p>
|
|
<?php } } } ?>
|
|
</td>
|
|
<td>
|
|
<?php foreach ($A as $kc => $qa) {
|
|
if (intval($qa[0]->FD_ismain) != 1) { ?>
|
|
<?php echo $qa[0]->FD_question; ?>
|
|
<?php foreach ($qa as $ka => $answer) { ?>
|
|
<p style="color: #a31022;"><?php echo ($answer->CRD_result) . "." . $answer->CRD_content; ?></p>
|
|
<?php } } } ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<?php echo $CR_result; ?>
|
|
</td>
|
|
<td>
|
|
<?php foreach ($C as $kc => $qa) {
|
|
if (intval($qa[0]->FD_ismain) == 1) { ?>
|
|
<?php echo $qa[0]->FD_question;
|
|
foreach ($qa as $ka => $answer) { ?>
|
|
<p style="color: #a31022;"><?php echo ($answer->CRD_result) . "." . $answer->CRD_content; ?></p>
|
|
<?php } } ?>
|
|
<?php } ?>
|
|
</td>
|
|
<td>
|
|
<?php foreach ($C as $kc => $qa) { ?>
|
|
<?php if (intval($qa[0]->FD_ismain) != 1) { ?>
|
|
<?php echo $qa[0]->FD_question; ?>
|
|
<?php foreach ($qa as $ka => $answer) { ?>
|
|
<p style="color: #a31022;"><?php echo $answer->CRD_content; ?></p>
|
|
<?php } } ?>
|
|
<?php } ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3" style="text-align: center;font-weight: bold;">
|
|
其他信息
|
|
</td>
|
|
</tr>
|
|
<?php foreach ($normal as $key => $qn) { ?>
|
|
<tr>
|
|
<!-- <td><?//=($key+1)?></td> -->
|
|
<td colspan="2">
|
|
<?php echo $qn[0]->FD_question; ?>
|
|
</td>
|
|
<td>
|
|
<?php foreach ($qn as $ka => $na) { ?>
|
|
<p style="color: #a31022;"><?php echo $na->CRD_content; ?></p>
|
|
<?php } ?>
|
|
</td>
|
|
</tr>
|
|
<?php } ?>
|
|
</tbody>
|
|
</table>
|
|
<?php } ?>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|