Subversion Repositories SmartDukaan

Rev

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

Rev 11734 Rev 11735
Line -... Line 1...
-
 
1
<?php 
-
 
2
$ci =  get_instance(); // CI_Loader instance;
-
 
3
$ci->load->config('magento');
-
 
4
?>
1
<!DOCTYPE html>
5
<!DOCTYPE html>
2
<html lang="en">
6
<html lang="en">
3
<head>
7
<head>
4
<title>404 Page Not Found</title>
8
<title>404 Page Not Found</title>
5
<script>
9
<script>
6
      var _gaq = _gaq || [];
10
      var _gaq = _gaq || [];
7
      _gaq.push(['_setAccount', '<?php echo $this->config->item('ga_id');?>']);
11
      _gaq.push(['_setAccount', '<?php echo $ci->config->item('ga_id');?>']);
8
      _gaq.push(['_setDomainName', '<?php echo $this->config->item('ga_domain');?>']);
12
      _gaq.push(['_setDomainName', '<?php echo $ci->config->item('ga_domain');?>']);
9
      _gaq.push(['_trackPageview']);
13
      _gaq.push(['_trackPageview']);
10
 
14
 
11
      (function() {
15
      (function() {
12
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
16
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
13
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
17
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
14
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
18
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
15
      })();
19
      })();
16
</script>
20
</script>
17
<style type="text/css">
21
<style type="text/css">
18
 
22
 
19
::selection{ background-color: #E13300; color: white; }
23
::selection{ background-color: #E13300; color: white; }
20
::moz-selection{ background-color: #E13300; color: white; }
24
::moz-selection{ background-color: #E13300; color: white; }
21
::webkit-selection{ background-color: #E13300; color: white; }
25
::webkit-selection{ background-color: #E13300; color: white; }
22
 
26
 
23
body {
27
body {
24
	background-color: #fff;
28
        background-color: #fff;
25
	margin: 40px;
29
        margin: 40px;
26
	font: 13px/20px normal Helvetica, Arial, sans-serif;
30
        font: 13px/20px normal Helvetica, Arial, sans-serif;
27
	color: #4F5155;
31
        color: #4F5155;
28
}
32
}
29
 
33
 
30
a {
34
a {
31
	color: #003399;
35
        color: #003399;
32
	background-color: transparent;
36
        background-color: transparent;
33
	font-weight: normal;
37
        font-weight: normal;
34
}
38
}
35
 
39
 
36
h1 {
40
h1 {
37
	color: #444;
41
        color: #444;
38
	background-color: transparent;
42
        background-color: transparent;
39
	border-bottom: 1px solid #D0D0D0;
43
        border-bottom: 1px solid #D0D0D0;
40
	font-size: 19px;
44
        font-size: 19px;
41
	font-weight: normal;
45
        font-weight: normal;
42
	margin: 0 0 14px 0;
46
        margin: 0 0 14px 0;
43
	padding: 14px 15px 10px 15px;
47
        padding: 14px 15px 10px 15px;
44
}
48
}
45
 
49
 
46
code {
50
code {
47
	font-family: Consolas, Monaco, Courier New, Courier, monospace;
51
        font-family: Consolas, Monaco, Courier New, Courier, monospace;
48
	font-size: 12px;
52
        font-size: 12px;
49
	background-color: #f9f9f9;
53
        background-color: #f9f9f9;
50
	border: 1px solid #D0D0D0;
54
        border: 1px solid #D0D0D0;
51
	color: #002166;
55
        color: #002166;
52
	display: block;
56
        display: block;
53
	margin: 14px 0 14px 0;
57
        margin: 14px 0 14px 0;
54
	padding: 12px 10px 12px 10px;
58
        padding: 12px 10px 12px 10px;
55
}
59
}
56
 
60
 
57
#container {
61
#container {
58
	margin: 10px;
62
        margin: 10px;
59
	border: 1px solid #D0D0D0;
63
        border: 1px solid #D0D0D0;
60
	-webkit-box-shadow: 0 0 8px #D0D0D0;
64
        -webkit-box-shadow: 0 0 8px #D0D0D0;
61
}
65
}
62
 
66
 
63
p {
67
p {
64
	margin: 12px 15px 12px 15px;
68
        margin: 12px 15px 12px 15px;
65
}
69
}
66
</style>
70
</style>
67
</head>
71
</head>
68
<body>
72
<body>
69
	<div id="container">
73
        <div id="container">
70
		<h1><?php echo $heading; ?></h1>
74
                <h1><?php echo $heading; ?></h1>
71
		<?php echo $message; ?>
75
                <?php echo $message; ?>
72
	</div>
76
        </div>
73
	<script>
77
        <script>
74
		_gaq.push(['_trackEvent', 'ErrorPage', 'Default 404 Page Loaded']);
78
                _gaq.push(['_trackEvent', 'ErrorPage', 'Default 404 Page Loaded','<?php echo uri_string();?>']);
75
	</script>
79
        </script>
76
</body>
80
</body>
77
</html>
81
</html>