|
@@ -171,9 +171,9 @@ $hrefstr = "?keys=" . $keys;
|
|
|
</div>
|
|
|
<div class="inputSearch">
|
|
|
<input type="text" id="keys" class="inputTxt"
|
|
|
- value="<?= empty($keyscode) ? '请输入搜索关键词' : htmlspecialchars($keyscode) ?>"
|
|
|
- onFocus="if(this.value == '<?= empty($keyscode) ? '请输入搜索关键词' : htmlspecialchars($keyscode) ?>'){this.value='';}"
|
|
|
- onBlur="if(this.value == ''){this.value='<?= empty($keyscode) ? '请输入搜索关键词' : htmlspecialchars($keyscode) ?>';}"
|
|
|
+ value="<?= empty($keyscode) ? '请输入搜索关键词' : htmlspecialcharsFix($keyscode) ?>"
|
|
|
+ onFocus="if(this.value == '<?= empty($keyscode) ? '请输入搜索关键词' : htmlspecialcharsFix($keyscode) ?>'){this.value='';}"
|
|
|
+ onBlur="if(this.value == ''){this.value='<?= empty($keyscode) ? '请输入搜索关键词' : htmlspecialcharsFix($keyscode) ?>';}"
|
|
|
onKeyDown="if(event.keyCode==13){location.href='?Keys='+escape(document.getElementById('keys').value)}" />
|
|
|
<input type="button" id="searchgo" class="searchgo" value="go"
|
|
|
onClick="location.href='?Keys='+escape(document.getElementById('keys').value)" />
|
|
@@ -232,7 +232,7 @@ if ($result && $result->num_rows > 0) {
|
|
|
<div class="col1" align="center"><input type="checkbox" name="chkbox[]" value="<?= $row['id'] ?>" /></div>
|
|
|
<div class="col2"><?= $tempNum ?></div>
|
|
|
<div class="col3 slidepanel">
|
|
|
- <?= htmlspecialchars($row['cs_code']) ?>
|
|
|
+ <?= htmlspecialcharsFix($row['cs_code']) ?>
|
|
|
<?php if ($row['cs_claimFrom'] > 0): ?>
|
|
|
<img src="../images/yijiao.png" class="handover">
|
|
|
<?php endif; ?>
|
|
@@ -240,19 +240,19 @@ if ($result && $result->num_rows > 0) {
|
|
|
<div class="col4">
|
|
|
<?php
|
|
|
$qudaoResult = $conn->query("SELECT ch_name FROM qudao WHERE id=" . (int)$row['cs_from']);
|
|
|
- echo ($qudaoRow = $qudaoResult->fetch_assoc()) ? htmlspecialchars($qudaoRow['ch_name']) : '未填写';
|
|
|
+ echo ($qudaoRow = $qudaoResult->fetch_assoc()) ? htmlspecialcharsFix($qudaoRow['ch_name']) : '未填写';
|
|
|
?>
|
|
|
</div>
|
|
|
<div class="col5">
|
|
|
<?php
|
|
|
$countryResult = $conn->query("SELECT countryName FROM country WHERE id=" . (int)$row['cs_country']);
|
|
|
- echo ($countryRow = $countryResult->fetch_assoc()) ? htmlspecialchars($countryRow['countryName']) : '未填写';
|
|
|
+ echo ($countryRow = $countryResult->fetch_assoc()) ? htmlspecialcharsFix($countryRow['countryName']) : '未填写';
|
|
|
?>
|
|
|
</div>
|
|
|
<div class="col6">
|
|
|
<?php
|
|
|
$typeResult = $conn->query("SELECT businessType FROM clientType WHERE id=" . (int)$row['cs_type']);
|
|
|
- echo ($typeRow = $typeResult->fetch_assoc()) ? htmlspecialchars($typeRow['businessType']) : '未填写';
|
|
|
+ echo ($typeRow = $typeResult->fetch_assoc()) ? htmlspecialcharsFix($typeRow['businessType']) : '未填写';
|
|
|
?>
|
|
|
</div>
|
|
|
<div class="col7">
|
|
@@ -272,20 +272,20 @@ if ($result && $result->num_rows > 0) {
|
|
|
<div class="col9">
|
|
|
<?php
|
|
|
$employeeResult = $conn->query("SELECT em_user FROM employee WHERE id=" . (int)$row['cs_belong']);
|
|
|
- echo ($employeeRow = $employeeResult->fetch_assoc()) ? htmlspecialchars($employeeRow['em_user']) : '未填写';
|
|
|
+ echo ($employeeRow = $employeeResult->fetch_assoc()) ? htmlspecialcharsFix($employeeRow['em_user']) : '未填写';
|
|
|
?>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="notepanel clear">
|
|
|
<div class="noteItem">联系方式</div>
|
|
|
<div class="lx">
|
|
|
- <div class="tel"><?= htmlspecialchars($row['cs_tel']) ?></div>
|
|
|
- <div class="mail"><a href="mailto:<?= htmlspecialchars($row['cs_email']) ?>"><?= htmlspecialchars($row['cs_email']) ?></a></div>
|
|
|
- <div class="whatsapp"><?= htmlspecialchars($row['cs_whatsapp']) ?></div>
|
|
|
- <div class="wechat"><?= htmlspecialchars($row['cs_wechat']) ?></div>
|
|
|
- <div class="linkedin"><?= htmlspecialchars($row['cs_linkedin']) ?></div>
|
|
|
- <div class="facebook"><?= htmlspecialchars($row['cs_facebook']) ?></div>
|
|
|
- <div class="alibaba"><?= htmlspecialchars($row['cs_alibaba']) ?></div>
|
|
|
+ <div class="tel"><?= htmlspecialcharsFix($row['cs_tel']) ?></div>
|
|
|
+ <div class="mail"><a href="mailto:<?= htmlspecialcharsFix($row['cs_email']) ?>"><?= htmlspecialcharsFix($row['cs_email']) ?></a></div>
|
|
|
+ <div class="whatsapp"><?= htmlspecialcharsFix($row['cs_whatsapp']) ?></div>
|
|
|
+ <div class="wechat"><?= htmlspecialcharsFix($row['cs_wechat']) ?></div>
|
|
|
+ <div class="linkedin"><?= htmlspecialcharsFix($row['cs_linkedin']) ?></div>
|
|
|
+ <div class="facebook"><?= htmlspecialcharsFix($row['cs_facebook']) ?></div>
|
|
|
+ <div class="alibaba"><?= htmlspecialcharsFix($row['cs_alibaba']) ?></div>
|
|
|
</div>
|
|
|
<div class="noteItem2">备注</div>
|
|
|
<div class="notecontent"><?= htmlUnCode($row['cs_note']) ?></div>
|
|
@@ -302,7 +302,7 @@ if ($result && $result->num_rows > 0) {
|
|
|
} else {
|
|
|
?>
|
|
|
<tr>
|
|
|
- <div align="center" colspan="9"><a href="?">Sorry,没有找到"<?= htmlspecialchars($keyscode) ?>"相关的信息,点击返回</a></div>
|
|
|
+ <div align="center" colspan="9"><a href="?">Sorry,没有找到"<?= htmlspecialcharsFix($keyscode) ?>"相关的信息,点击返回</a></div>
|
|
|
</tr>
|
|
|
<?php
|
|
|
}
|
|
@@ -360,7 +360,7 @@ if (isset($totalPages) && $totalPages > 1) {
|
|
|
<?php
|
|
|
$result = $conn->query("SELECT id, em_user FROM employee WHERE em_role=" . $_SESSION['employee_id']);
|
|
|
while ($row = $result->fetch_assoc()) {
|
|
|
- echo "<option value=\"t{$row['id']}\">转给" . htmlspecialchars($row['em_user']) . "</option>";
|
|
|
+ echo "<option value=\"t{$row['id']}\">转给" . htmlspecialcharsFix($row['em_user']) . "</option>";
|
|
|
}
|
|
|
?>
|
|
|
</select>
|