Subversion Repositories SmartDukaan

Rev

Rev 10737 | Rev 11356 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11346 lgm 1
<?php $saholicUrl = $this->session->userdata('errorurl');
2
//echo 'hello'.$saholicUrl;
3
if(isset($saholicUrl) && !empty($saholicUrl)){
4
	$this->session->unset_userdata('errorurl');
5
}?>
10737 lgm 6
<!DOCTYPE html>
7
<html lang="en">
8
<head>
11346 lgm 9
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
10737 lgm 10
<title>404 Page Not Found</title>
11
<style type="text/css">
12
 
13
::selection{ background-color: #E13300; color: white; }
14
::moz-selection{ background-color: #E13300; color: white; }
15
::webkit-selection{ background-color: #E13300; color: white; }
16
 
17
body {
18
	background-color: #fff;
19
	margin: 0px;
20
	padding:0px;
21
	font: 13px/20px normal Helvetica, Arial, sans-serif;
22
	color: #4F5155;
23
}
24
 
25
a {
26
	color: #003399;
27
	background-color: transparent;
28
	font-weight: normal;
29
}
30
 
31
h1 {
32
	color: #444;
33
	background-color: transparent;
34
	border-bottom: 1px solid #D0D0D0;
35
	font-size: 19px;
36
	font-weight: normal;
37
	margin: 0 0 14px 0;
38
	padding: 14px 15px 10px 15px;
39
}
40
 
41
code {
42
	font-family: Consolas, Monaco, Courier New, Courier, monospace;
43
	font-size: 12px;
44
	background-color: #f9f9f9;
45
	border: 1px solid #D0D0D0;
46
	color: #002166;
47
	display: block;
48
	margin: 14px 0 14px 0;
49
	padding: 12px 10px 12px 10px;
50
}
51
 
52
#container {
53
	/*margin: 10px;
54
	border: 1px solid #D0D0D0;
55
	-webkit-box-shadow: 0 0 8px #D0D0D0;*/
56
}
57
 
58
#error-msg{
59
	float:left;
60
	width:100%;
61
	display:block;
11346 lgm 62
	background:url("<?php echo base_url();?>assets/images/error_page.jpg")no-repeat center center;background-size:100% 100%;
10737 lgm 63
	text-decoration:none;
11346 lgm 64
	text-align:center;
10737 lgm 65
}
66
 
67
p {
68
	margin: 12px 15px 12px 15px;
69
}
70
.errorblock{
11346 lgm 71
  margin: 4% auto 0;
72
  text-align: center;
73
  width: 100%;
74
  color: rgb(9, 8, 8);
75
  background: #efefef;
76
  font-weight: bold;
77
  padding: 5px 0;
10737 lgm 78
}
79
.errorblock h1{
11346 lgm 80
  margin:0;
10737 lgm 81
}
11346 lgm 82
#error-msg a{
83
  display:inline-block;
84
  font-size:18px;
85
  margin-bottom:10px;
86
  color:#000000; 
87
}
88
#error-msg a:nth-of-type(1){
89
  //margin-top:255px;
90
}
91
 
10737 lgm 92
</style>
93
 
94
</head>
95
<body>
96
	<div id="container">
11346 lgm 97
		<div  id="error-msg">
98
			<a id="error-anchor" href="<?php echo base_url();?>">Back To Home</a><br>
99
			<?php if(isset($saholicUrl) && !empty($saholicUrl)){?>
100
        <a href="<?php echo $saholicUrl;?>">Try finding the page on our desktop site</a>
101
      <?php } ?>
102
		</div>
10737 lgm 103
 
104
	</div>
105
	<script>
11346 lgm 106
 
107
	var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
108
   	document.getElementById('error-msg').style.minHeight = pheight+'px';  
109
   	document.getElementById('error-anchor').style.marginTop = ((pheight/2)-5)+'px';
110
 
10737 lgm 111
</script>
112
</body>
113
</html>