Code

afd62657ff4a02e72c5036d04c2e897c515dfd88
[rrdtool-all.git] / website / inc / html.inc
1 <define-tag h1 whitespace=delete endtag=required>
2 <preserve subtitle />
3 <set-var %attributes />
4 <h1*>%body</h1*>
5 {#H1_FLAT#:<: $x = <<kjhasdflkjhasdf;
6 %body
7 kjhasdflkjhasdf
8 $x =~ s/\\n/ /g; print $x; :>:#H1_FLAT#}
9 <if <get-var title_is_set /> ""
10    {#Title#:{#H1_FLAT#}:#Title#}
11 />
12 <div id="googlead_right">
13 <script type="text/javascript"><!--
14 google_ad_client = "pub-8135238818549668";
15 google_ad_width = 160; 
16 google_ad_height = 600;
17 google_ad_format = "160x600_as";
18 google_ad_type = "text_image";
19 google_ad_channel ="5627785043";
20 google_color_border = "e6e6e6";      
21 google_color_bg = "f8f8f8";
22 google_color_link = "0017C1"; 
23 google_color_url = "270B83"; 
24 google_color_text = "000000";
25 #google_color_border = "717fe5";
26 #google_color_bg = "F0F0F0";
27 #google_color_link = "2c3fbf";
28 #google_color_url = "6851b0";
29 #google_color_text = "000000";
30 //--></script>
31 <script type="text/javascript"
32   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
33 </script>
34 </div>
35 <restore subtitle />
36 </define-tag>
38 <define-tag title whitespace=delete endtag=required>
39 <set-var title_is_set=1/>
40 {#!Title#:<: $_ = <<kjhasdflkjhasdf;
41 %body
42 kjhasdflkjhasdf
43 s/\\n/ /g; print :>:#Title#}
44 </define-tag>
46 <perl>my $addcount=0;</perl>
47 <define-tag h2 whitespace=delete endtag=required>
48 <perl>
49 $addcount++;
50 if ($addcount == 6){
51 print <<'GOOGLEAD';
52 <p>
53 <script type="text/javascript"><!--
54 google_ad_client = "pub-8135238818549668";
55 google_ad_width = 336;
56 google_ad_height = 280;
57 google_ad_format = "336x280_as";
58 google_ad_type = "text_image";
59 google_ad_channel ="9159032853";
60 google_color_border = "E6E6E6";
61 google_color_bg = "f8f8f8";
62 google_color_link = "2c3fbf";
63 google_color_url = "6851b0";
64 google_color_text = "000000";
65 //--></script>
66 <script type="text/javascript"
67   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
68 </script>
69 </p>
70 GOOGLEAD
71 }
72 </perl>
73 <h2* %attributes>%body</h2*>
74 </define-tag>