Code

branche website
[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 /* rrdtool top right */
16 google_ad_slot = "4985488960";
17 google_ad_width = 300;
18 google_ad_height = 250;
19 //-->
20 </script>
21 <script type="text/javascript"
22 src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
23 </script>
24 </div>
25 <restore subtitle />
26 </define-tag>
28 <define-tag title whitespace=delete endtag=required>
29 <set-var title_is_set=1/>
30 {#!Title#:<: $_ = <<kjhasdflkjhasdf;
31 %body
32 kjhasdflkjhasdf
33 s/\\n/ /g; print :>:#Title#}
34 </define-tag>
36 <perl>my $addcount=0;</perl>
38 <define-tag h2 whitespace=delete endtag=required>
39 <perl>
40 $addcount++;
41 if ($addcount == 7){
42 print <<'GOOGLEAD';
43 <p>
44 <script type="text/javascript"><!--
45 google_ad_client = "pub-8135238818549668";
46 google_ad_width = 300;
47 google_ad_height = 250;
48 google_ad_format = "300x250_as";
49 google_ad_type = "text_image";
50 google_ad_channel ="9159032853";
51 google_color_border = "ffffff";
52 google_color_bg = "f0f8FF";      
53 google_color_link = "191919";      
54 google_color_url = "0066CC";
55 google_color_text = "000000";
56 #google_color_border = "ffffff";
57 #google_color_bg = "ffffff";
58 #google_color_link = "2c3fbf";
59 #google_color_url = "000000";
60 #google_color_text = "000000";
61 //--></script>
62 <script type="text/javascript"
63   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
64 </script>
65 </p>
66 GOOGLEAD
67 }
68 </perl>
69 <h2* %attributes>%body</h2*>
70 </define-tag>
72 <define-tag h3 whitespace=delete endtag=required>
73 <perl>
74 $addcount++;
75 if ($addcount == 7){
76 print <<'GOOGLEAD';
77 <p>
78 <script type="text/javascript"><!--
79 google_ad_client = "pub-8135238818549668";
80 google_ad_width = 300;
81 google_ad_height = 250;
82 google_ad_format = "300x250_as";
83 google_ad_type = "text_image";
84 google_ad_channel ="9159032853";
85 google_color_border = "ffffff";
86 google_color_bg = "ffffff";
87 google_color_link = "2c3fbf";
88 google_color_url = "000000";
89 google_color_text = "000000";
90 //--></script>
91 <script type="text/javascript"
92   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
93 </script>
94 </p>
95 GOOGLEAD
96 }
97 </perl>
98 <h3* %attributes>%body</h3*>
99 </define-tag>