forked from khanhkid/moitruongtphcm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-error.php
56 lines (49 loc) · 1.53 KB
/
index-error.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<div class="row">
<div class="col-md-12">
<div class="col-md-5 col-md-offset-4">
<h3 class="modal-title"><b>Thông Báo</b></h3>
</div>
</div>
</div>
</div> <!-- end header -->
<div class="modal-body">
<div class="row form-group">
<div class="col-md-10 col-md-offset-1">
<h4>Bạn Đã Nhập Sai Mật Khẩu, Vui Lòng Đăng Nhập lại ! </h4>
</div>
</div>
</div>
<div class="modal-footer">
<a class="btn btn-default" href="index.php"> OK<a>
</div> <!-- end footer -->
</div> <!-- end content -->
</div>
</div> <!-- end modal -->
</body>
</html>
<script type="text/javascript">
$(window).on('load',function(){
$('#myModal').modal('show');
});
</script> <!-- auto modal -->
<script type="text/javascript">
jQuery('#myModal').modal('show').on('hide.bs.modal', function (e) {
e.preventDefault();
});
</script>