root / docs / www / colonyscout / BLANK.php @ 781890a0
History | View | Annotate | Download (3.07 KB)
1 | f59acf11 | Dan Shope | <?php
|
---|---|---|---|
2 | $cacheFile="cache/blank.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>TEMPLATE | 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 | <a href="javascript:;" title="Click to Expand" onmousedown="toggleDiv('TEMP');"> |
||
33 | <h1>Temp Title</h1><img src="images/btn_expand.png" /></a> |
||
34 | <p><span class="description">Temp description |
||
35 | <br/><br/> |
||
36 | <a href="javascript:;" onmousedown="toggleDiv('TEMP');"> |
||
37 | <em>learn more >></em></a> |
||
38 | </span></p> |
||
39 | <div class="hr"></div> |
||
40 | |||
41 | <div id="TEMP" style="display:none;"> |
||
42 | |||
43 | <h2>Sub Section 1</h2> |
||
44 | <p>Description here</p> |
||
45 | <div class="hr"></div> |
||
46 | |||
47 | <h2>Sub Section 2</h2> |
||
48 | <p>Description here</p> |
||
49 | <div class="hr"></div> |
||
50 | |||
51 | </div><!--end 'TEMP' collapse--> |
||
52 | </div>
|
||
53 | |||
54 | <div class="white-body text-box"> |
||
55 | <div id="bottom-nav"> |
||
56 | <ul id="pagenav"> |
||
57 | <li class="previous"> |
||
58 | <a href="<?php echo $nav[$nav_id['vids']-1]; ?></a></li> |
||
59 | <li class="next"> |
||
60 | <a href="<?php echo $nav[$nav_id['vids']+1]; ?></a></li> |
||
61 | </ul>
|
||
62 | </div>
|
||
63 | </div>
|
||
64 | |||
65 | |||
66 | |||
67 | </div>
|
||
68 | <div class="white-bottom"></div> |
||
69 | </div>
|
||
70 | |||
71 | |||
72 | </div>
|
||
73 | </div> <!--BODY!--> |
||
74 | |||
75 | |||
76 | <?php include("footer.php"); ?> |
||
77 | |||
78 | </div><!--GENERAL!--> |
||
79 | |||
80 | |||
81 | <script type="text/javascript" charset="utf-8"> |
||
82 | var is_ssl = ("https:" == document.location.protocol);
|
||
83 | var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
|
||
84 | document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
|
||
85 | </script>
|
||
86 | |||
87 | <script type="text/javascript" charset="utf-8"> |
||
88 | var feedback_widget_options = {};
|
||
89 | |||
90 | feedback_widget_options.display = "overlay";
|
||
91 | feedback_widget_options.company = "roboclub";
|
||
92 | feedback_widget_options.placement = "right";
|
||
93 | feedback_widget_options.color = "#222";
|
||
94 | feedback_widget_options.style = "praise";
|
||
95 | feedback_widget_options.product = "roboclub_colony_scout";
|
||
96 | feedback_widget_options.auto_tag = true;
|
||
97 |
|
||
98 | var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
|
||
99 | </script>
|
||
100 | |||
101 | </body></html> |
||
102 | |||
103 | <?php
|
||
104 | $buffer = ob_get_contents();
|
||
105 | ob_end_flush(); |
||
106 | $fp = fopen($cacheFile, "w"); fwrite($fp, $buffer); fclose($fp); |
||
107 | ?> |