优化ThinkPHP默认跳转模板

This commit is contained in:
Karson
2026-04-28 16:39:53 +08:00
parent c0ae002692
commit 3f97aa93cc

View File

@@ -20,16 +20,16 @@
<?php switch ($code) {?>
<?php case 1:?>
<h1>:)</h1>
<p class="success"><?php echo(strip_tags($msg));?></p>
<p class="success"><?php echo(htmlentities(strip_tags($msg)));?></p>
<?php break;?>
<?php case 0:?>
<h1>:(</h1>
<p class="error"><?php echo(strip_tags($msg));?></p>
<p class="error"><?php echo(htmlentities(strip_tags($msg)));?></p>
<?php break;?>
<?php } ?>
<p class="detail"></p>
<p class="jump">
页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间: <b id="wait"><?php echo($wait);?></b>
页面自动 <a id="href" href="<?php echo(htmlentities($url));?>">跳转</a> 等待时间: <b id="wait"><?php echo(htmlentities($wait));?></b>
</p>
</div>
<script type="text/javascript">