Initial commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cmn-Hans">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{$pagetitle}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="{:U('add')}" method="post" onsubmit="return save_form(this,function(){alert('恭喜您留言提交成功!');history.go(0)})">
|
||||
<input type="hidden" name="catid" value="{$cat.catid}">
|
||||
<?php
|
||||
include(APP_PATH."./Data/feedbackTemp/".$cat["catid"].".php");
|
||||
if($cat["verify_code"]){
|
||||
?>
|
||||
<div class="control-group">
|
||||
<label class="control-label">验证码<span></span></label>
|
||||
<div class="controls">
|
||||
<input type="text" placeholder="" name="verfy_code" class="span6" value="" style=""/><img src="{:U('Public/veryfyImg')}" class="verifyimg reloadverify" alt="点击切换">
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<button type="submit">提交</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<script src="/Public/Admin/js/jquery.min.js"></script>
|
||||
<script src="/Public/Admin/layer/layer.js"></script>
|
||||
<script src="/Public/Admin/js/globals.js"></script>
|
||||
<script src="/Public/Admin/My97DatePicker/WdatePicker.js"></script>
|
||||
<script>
|
||||
$(function(){
|
||||
//刷新验证码
|
||||
var verifyimg = $(".verifyimg").attr("src");
|
||||
$(".reloadverify").click(function () {
|
||||
if (verifyimg.indexOf('?') > 0) {
|
||||
$(".verifyimg").attr("src", verifyimg + '&random=' + Math.random());
|
||||
} else {
|
||||
$(".verifyimg").attr("src", verifyimg.replace(/\?.*$/, '') + '?' + Math.random());
|
||||
}
|
||||
});
|
||||
})
|
||||
</script>
|
||||
@@ -0,0 +1,57 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cmn-Hans">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
|
||||
<title>跳转提示</title>
|
||||
<link rel="stylesheet" href="/Public/Home/css/weui.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body ontouchstart>
|
||||
<div class="page msg_success js_show">
|
||||
<div class="weui-msg">
|
||||
<div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>
|
||||
<div class="weui-msg__text-area">
|
||||
<h2 class="weui-msg__title">
|
||||
|
||||
<?php if(isset($message)) {?>
|
||||
<?php echo($message); ?>
|
||||
<?php }else{?>
|
||||
<?php echo($error); ?>
|
||||
<?php }?>
|
||||
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
<div class="weui-msg__opr-area">
|
||||
<p class="weui-btn-area">
|
||||
<a href="<?php echo($jumpUrl); ?>" id="href" class="weui-btn weui-btn_primary">返回上一页</a>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="weui-msg__extra-area">
|
||||
<div class="weui-footer">
|
||||
<p class="weui-footer__links">
|
||||
|
||||
</p>
|
||||
<p class="weui-footer__text">Copyright © {:date("Y")}-{:date("Y")+1}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var wait = 3,href = document.getElementById('href').href;
|
||||
var interval = setInterval(function(){
|
||||
var time = --wait;
|
||||
if(time <= 0) {
|
||||
location.href = href;
|
||||
clearInterval(interval);
|
||||
};
|
||||
}, 1000);
|
||||
})();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,57 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-cmn-Hans">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
|
||||
<title>操作成功</title>
|
||||
<link rel="stylesheet" href="/Public/Home/css/weui.css"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body ontouchstart>
|
||||
<div class="page msg_success js_show">
|
||||
<div class="weui-msg">
|
||||
<div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>
|
||||
<div class="weui-msg__text-area">
|
||||
<h2 class="weui-msg__title">
|
||||
|
||||
<?php if(isset($message)) {?>
|
||||
<?php echo($message); ?>
|
||||
<?php }else{?>
|
||||
<?php echo($error); ?>
|
||||
<?php }?>
|
||||
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
<div class="weui-msg__opr-area">
|
||||
<p class="weui-btn-area">
|
||||
<a href="<?php echo($jumpUrl); ?>" id="href" class="weui-btn weui-btn_primary">继续操作</a>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="weui-msg__extra-area">
|
||||
<div class="weui-footer">
|
||||
<p class="weui-footer__links">
|
||||
|
||||
</p>
|
||||
<p class="weui-footer__text">Copyright © {:date("Y")}-{:date("Y")+1}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var wait = 3,href = document.getElementById('href').href;
|
||||
var interval = setInterval(function(){
|
||||
var time = --wait;
|
||||
if(time <= 0) {
|
||||
location.href = href;
|
||||
clearInterval(interval);
|
||||
};
|
||||
}, 1000);
|
||||
})();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user