Project

General

Profile

Statistics
| Branch: | Revision:

colonymech / docs / www / colonyscout / cart.php @ 7ba378cb

History | View | Annotate | Download (3.51 KB)

1 7ba378cb Dan Shope
<?php
2
$cacheFile="cache/cart.html";
3
if (file_exists($cacheFile)) //we can read this cache file back reduce database load
4
{
5
   header("Content-Type: text/html");
6
   readfile($cacheFile);
7
   exit;
8
} else {
9
   ob_start(); //start buffering so we can cache for future accesses
10
}
11
?>
12
13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
14
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> 
15
                <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>        
16
                <meta name="description" content="FILL IN"/> 
17
                <meta name="keywords" content="FILL IN"/> 
18
 
19
<?php include("header.php"); ?>
20
                <title>Shopping | ColonyScout.com</title> 
21
 
22
</head>
23
<body bgcolor="#eeeeee"> 
24
25
<div id="general"> 
26
<?php include("nav.php"); ?> 
27
        <div id="body">
28
                <div id="body-boxes">
29
                        <div class="box-row" style="margin-top: 10px;">
30
                                <div class="white-top"></div>
31
                                <div class="white-body text-box">
32
                                        <h1>Lease your Scout Today!</h1>
33
                                        <p><span class="description">Take Scout out for a spin. Pair your Scout with smart accessories to unleash the powerful potential!.
34
                                        <br/><br/>
35
                                        </span></p>
36
                                        <div class="hr"></div>
37
                                        
38
                                        <div id="leasing">
39
                                        <h2>How do I lease a Scout?</h2>
40
                                        <p>It's easy! Choose a Scout and add it to your cart. Sign the lease agreement, and we will automatically bill you every month.</p>
41
                                        <p>If you're done using your Scout, you can return it and billing will cease. Ask us about buying your Scout for life!</p>
42
                                        </div>
43
                                        
44
                                        <div id="store">
45
                                        <p>
46
                                        <script src="https://www-sgw-opensocial.googleusercontent.com/gadgets/ifr?url=https%3A%2F%2Fstoregadgetwizard.appspot.com%2Fservlets%2FgadgetServlet%3Fkey%3D0ApZJZfDBge48dFAwTzVIX2VWc2FDcDM0RXE4RWM5X3c%26mid%3D239651561362445%26currency%3DUSD%26sandbox%3Dtrue%26gadget%3DLARGE_V2&amp;container=storegadgetwizard&amp;w=940&amp;h=900&amp;title=&amp;brand=none&amp;output=js"></script>
47
                                        </p>
48
                                        <div class="hr"></div>
49
                                        
50
                                        </div><!--end 'TEMP' collapse-->        
51
                                </div>
52
                                        
53
                                <div class="white-body text-box">                                        
54
                                        <div id="bottom-nav">
55
                                                <ul id="pagenav">
56
                                                        <li class="previous">
57
                                                                <a href="<?php echo $nav[$nav_id['vids']-1]; ?></a></li>
58
                                                        <li class="next">
59
                                                                <a href="<?php echo $nav[$nav_id['vids']+1]; ?></a></li>
60
                                                </ul>
61
                                        </div>
62
                                </div>
63
64
                                                        
65
                                        
66
                                </div>
67
                                <div class="white-bottom"></div>
68
                        </div>                                        
69
                        
70
                        
71
                </div>        
72
        </div> <!--BODY!--> 
73
74
75
<?php include("footer.php"); ?>
76
77
</div><!--GENERAL!--> 
78
 
79
 
80
 <script type="text/javascript" charset="utf-8">
81
  var is_ssl = ("https:" == document.location.protocol);
82
  var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
83
  document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
84
</script>
85
86
<script type="text/javascript" charset="utf-8">
87
  var feedback_widget_options = {};
88

89
  feedback_widget_options.display = "overlay";  
90
  feedback_widget_options.company = "roboclub";
91
  feedback_widget_options.placement = "right";
92
  feedback_widget_options.color = "#222";
93
  feedback_widget_options.style = "praise";
94
  feedback_widget_options.product = "roboclub_colony_scout";  
95
  feedback_widget_options.auto_tag = true;
96
  
97
  var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
98
</script>
99
 
100
</body></html>
101
102
<?php
103
$buffer = ob_get_contents();
104
ob_end_flush();
105
$fp = fopen($cacheFile, "w"); fwrite($fp, $buffer); fclose($fp);
106
?>