Subversion Repositories SmartDukaan

Rev

Rev 10737 | Rev 11356 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10737 Rev 11346
Line -... Line 1...
-
 
1
<?php $saholicUrl = $this->session->userdata('errorurl');
-
 
2
//echo 'hello'.$saholicUrl;
-
 
3
if(isset($saholicUrl) && !empty($saholicUrl)){
-
 
4
	$this->session->unset_userdata('errorurl');
-
 
5
}?>
1
<!DOCTYPE html>
6
<!DOCTYPE html>
2
<html lang="en">
7
<html lang="en">
3
<head>
8
<head>
-
 
9
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
4
<title>404 Page Not Found</title>
10
<title>404 Page Not Found</title>
5
<style type="text/css">
11
<style type="text/css">
6
 
12
 
7
::selection{ background-color: #E13300; color: white; }
13
::selection{ background-color: #E13300; color: white; }
8
::moz-selection{ background-color: #E13300; color: white; }
14
::moz-selection{ background-color: #E13300; color: white; }
Line 51... Line 57...
51
 
57
 
52
#error-msg{
58
#error-msg{
53
	float:left;
59
	float:left;
54
	width:100%;
60
	width:100%;
55
	display:block;
61
	display:block;
56
	background:url("<?php echo base_url();?>assets/images/error_page.jpg")no-repeat center center;background-size:contain;
62
	background:url("<?php echo base_url();?>assets/images/error_page.jpg")no-repeat center center;background-size:100% 100%;
57
	text-decoration:none;
63
	text-decoration:none;
-
 
64
	text-align:center;
58
}
65
}
59
 
66
 
60
p {
67
p {
61
	margin: 12px 15px 12px 15px;
68
	margin: 12px 15px 12px 15px;
62
}
69
}
63
.errorblock{
70
.errorblock{
64
margin: 4% auto 0;
71
  margin: 4% auto 0;
65
text-align: center;
72
  text-align: center;
66
width: 100%;
73
  width: 100%;
67
color: rgb(9, 8, 8);
74
  color: rgb(9, 8, 8);
68
background: #efefef;
75
  background: #efefef;
69
font-weight: bold;
76
  font-weight: bold;
70
padding: 5px 0;
77
  padding: 5px 0;
71
}
78
}
72
.errorblock h1{
79
.errorblock h1{
73
margin:0;
80
  margin:0;
74
}
81
}
-
 
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
 
75
</style>
92
</style>
76
 
93
 
77
</head>
94
</head>
78
<body>
95
<body>
79
	<div id="container">
96
	<div id="container">
-
 
97
		<div  id="error-msg">
80
		<a href="<?php echo base_url();?>" 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>
81
			
103
			
82
			</a>
-
 
83
	</div>
104
	</div>
84
	<script>
105
	<script>
-
 
106
 
-
 
107
	var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
85
	document.getElementById('error-msg').style.height = screen.height +'px'
108
   	document.getElementById('error-msg').style.minHeight = pheight+'px';  
-
 
109
   	document.getElementById('error-anchor').style.marginTop = ((pheight/2)-5)+'px';
-
 
110
 
86
</script>
111
</script>
87
</body>
112
</body>
88
</html>
113
</html>
89
114