Subversion Repositories SmartDukaan

Rev

Rev 11739 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11739 Rev 12524
Line 14... Line 14...
14
<html lang="en">
14
<html lang="en">
15
<head>
15
<head>
16
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
16
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
17
<title>404 Page Not Found</title>
17
<title>404 Page Not Found</title>
18
<script>
18
<script>
-
 
19
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-
 
20
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-
 
21
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-
 
22
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
 
23
 
-
 
24
  ga('create', '<?php echo $this->config->item('ga_id');?>', 'auto');
-
 
25
  ga('send', 'pageview');
-
 
26
/*    
19
      var _gaq = _gaq || [];
27
	var _gaq = _gaq || [];
20
      _gaq.push(['_setAccount', '<?php echo $ci->config->item('ga_id');?>']);
28
      _gaq.push(['_setAccount', '<?php echo $ci->config->item('ga_id');?>']);
21
      _gaq.push(['_setDomainName', '<?php echo $ci->config->item('ga_domain');?>']);
29
      _gaq.push(['_setDomainName', '<?php echo $ci->config->item('ga_domain');?>']);
22
      _gaq.push(['_trackPageview']);
30
      _gaq.push(['_trackPageview']);
23
 
31
 
24
      (function() {
32
      (function() {
25
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
33
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
26
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
34
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
27
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
35
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
28
      })();
36
      })();
-
 
37
*/
29
</script>
38
</script>
30
<style type="text/css">
39
<style type="text/css">
31
 
40
 
32
::selection{ background-color: #E13300; color: white; }
41
::selection{ background-color: #E13300; color: white; }
33
::moz-selection{ background-color: #E13300; color: white; }
42
::moz-selection{ background-color: #E13300; color: white; }
Line 124... Line 133...
124
    <script>
133
    <script>
125
 
134
 
126
    var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
135
    var pheight = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
127
    document.getElementById('error-msg').style.minHeight = pheight+'px';  
136
    document.getElementById('error-msg').style.minHeight = pheight+'px';  
128
    document.getElementById('error-anchor').style.marginTop = ((pheight/2)-5)+'px';
137
    document.getElementById('error-anchor').style.marginTop = ((pheight/2)-5)+'px';
129
    _gaq.push(['_trackEvent', 'ErrorPage', 'Default 404 Page Loaded','<?php echo uri_string();?>']);
138
//    _gaq.push(['_trackEvent', 'ErrorPage', 'Default 404 Page Loaded','<?php echo uri_string();?>']);
130
 
-
 
-
 
139
	ga('send', 'event', 'Default 404 Page Loaded', 'ErrorPage', '<?php echo uri_string();?>');
131
</script>
140
</script>
132
</body>
141
</body>
133
</html>
142
</html>