colonymech / docs / www / colonyscout / pricing.php @ 781890a0
History | View | Annotate | Download (2.67 KB)
1 |
<?php
|
---|---|
2 |
$cacheFile="cache/pricing.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>
|
14 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> |
15 |
<?php include("header.php"); ?> |
16 |
<title>Pricing | ColonyScout.com</title> |
17 |
|
18 |
</head>
|
19 |
<body bgcolor="#eeeeee"> |
20 |
|
21 |
<div id="general"> |
22 |
<?php include("nav.php"); ?> |
23 |
<div id="body"> |
24 |
<div id="body-boxes"> |
25 |
<div class="box-row" style="margin-top: 10px;"> |
26 |
<div class="white-top"></div> |
27 |
<div class="white-body text-box"> |
28 |
<h1>Want to buy or lease a Scout?</h1> |
29 |
<p><span class="description">We're not ready to ship out yet, but let us know how YOU would use a Scout. |
30 |
<br/><br/> |
31 |
</span></p> |
32 |
<div class="hr"></div> |
33 |
|
34 |
<div id="disqus_thread"></div> |
35 |
<script type="text/javascript" src="http://disqus.com/forums/colonyscout/embed.js"></script><noscript> |
36 |
<a href="http://disqus.com/forums/colonyscout/?url=ref">View the discussion thread.</a></noscript> |
37 |
|
38 |
</div><!--end 'TEMP' collapse--> |
39 |
</div>
|
40 |
|
41 |
<div class="white-body text-box"> |
42 |
<div id="bottom-nav"> |
43 |
<ul id="pagenav"> |
44 |
<li class="previous"> |
45 |
<a href="<?php echo $nav[$nav_id['vids']-1]; ?></a></li> |
46 |
<li class="next"> |
47 |
<a href="<?php echo $nav[$nav_id['vids']+1]; ?></a></li> |
48 |
</ul>
|
49 |
</div>
|
50 |
</div>
|
51 |
|
52 |
|
53 |
|
54 |
</div>
|
55 |
<div class="white-bottom"></div> |
56 |
</div>
|
57 |
|
58 |
|
59 |
</div>
|
60 |
</div> <!--BODY!--> |
61 |
|
62 |
|
63 |
<?php include("footer.php"); ?> |
64 |
|
65 |
</div><!--GENERAL!--> |
66 |
|
67 |
|
68 |
<script type="text/javascript" charset="utf-8"> |
69 |
var is_ssl = ("https:" == document.location.protocol);
|
70 |
var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
|
71 |
document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
|
72 |
</script>
|
73 |
|
74 |
<script type="text/javascript" charset="utf-8"> |
75 |
var feedback_widget_options = {};
|
76 |
|
77 |
feedback_widget_options.display = "overlay";
|
78 |
feedback_widget_options.company = "roboclub";
|
79 |
feedback_widget_options.placement = "right";
|
80 |
feedback_widget_options.color = "#222";
|
81 |
feedback_widget_options.style = "praise";
|
82 |
feedback_widget_options.product = "roboclub_colony_scout";
|
83 |
feedback_widget_options.auto_tag = true;
|
84 |
|
85 |
var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
|
86 |
</script>
|
87 |
|
88 |
</body></html> |
89 |
|
90 |
<?php
|
91 |
$buffer = ob_get_contents();
|
92 |
ob_end_flush(); |
93 |
$fp = fopen($cacheFile, "w"); fwrite($fp, $buffer); fclose($fp); |
94 |
?>
|