source: projects/web/branches/VINE_6_0_REL/template/layout-top.html.erb @ 4486

Revision 4486, 3.8 KB checked in by daisuke, 13 years ago (diff)

Vine Linux 6 向けに更新

Line 
1<%
2require 'bin/render_rss.rb'
3header=File.open("template/header.tmpl")
4footer=File.open("template/footer.tmpl")
5%><%= header.read %>
6
7<script type="text/javascript" src="/js/dlwin.js"></script>
8
9<div id="wrapper">
10<!-- start page -->
11<div id="page">
12  <!-- start content -->
13  <div id="content">
14
15<%= yield %>
16
17<!-- Vine Linux News -->
18<%= render_rss_table("news/news.rdf", 6) %>
19<!-- Vine Linux News -->
20
21<!-- Vine Linux Magazine -->
22<%= render_rss_table("vlmagazine/vlmagazine.rdf", 8) %>
23<!-- Vine Linux Magazine -->
24
25<!-- Vine Linux Events -->
26<%= render_rss_table("events/events.rdf", 6) %>
27<!-- Vine Linux Events -->
28
29  </div><!-- end content -->
30
31  <div id="sidebar1" class="sidebar">
32    <ul>
33      <li>
34        <!-- Google +1 -->
35        <g:plusone size="medium"></g:plusone>
36        <!-- Facebook Like! -->
37        <iframe src="http://www.facebook.com/plugins/like.php?app_id=250950618257737&amp;href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FVine-Linux%2F137362693010812&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
38      </li>
39
40      <li>
41<!-- SiteSearch Google -->
42<form action="http://www.google.co.jp/cse" id="cse-search-box">
43  <div>
44    <input type="hidden" name="cx" value="partner-pub-0334540465096658:xkym6qy6e3r" />
45    <input type="hidden" name="ie" value="UTF-8" />
46    <input type="text" name="q" size="23" />
47    <input type="submit" name="sa" value="&#x691c;&#x7d22;" />
48  </div>
49</form>
50<script type="text/javascript" src="http://www.google.co.jp/cse/brand?form=cse-search-box&amp;lang=ja"></script> 
51<!-- SiteSearch Google -->
52      </li>
53      <li>
54        <h2>スポンサード リンク</h2>
55<script type="text/javascript"><!--
56google_ad_client = "pub-0334540465096658";
57/* vinelinux sidebar top */
58google_ad_slot = "1289280287";
59google_ad_width = 300;
60google_ad_height = 250;
61//-->
62</script>
63<script type="text/javascript"
64src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
65</script>
66      </li>
67
68      <li>
69<%= render_rss_sidebarlist("errata/6x/errata6x.rdf") %>
70      </li>
71
72      <li>
73<%= render_rss_sidebarlist("errata/5x/errata5x.rdf") %>
74      </li>
75
76      <li>
77<%= render_rss_sidebarlist("vineplus6news.rdf") %>
78      </li>
79
80      <li>
81<%= render_rss_sidebarlist("vineseednews.rdf") %>
82      </li>
83
84      <li>
85          <h2><a href="/donation.html">ドネーション</a></h2>
86<!-- Donation by PayPal -->
87<div class="paypal-sidebar">
88<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
89<input type="hidden" name="cmd" value="_s-xclick" />
90<input type="hidden" name="hosted_button_id" value="5823496" />
91<table>
92<tr><td><input type="hidden" name="on0" value="Vine Linux を支援する" />
93Vine Linux を支援する</td></tr><tr><td><select name="os0">
94         <option value="1500">1500 ¥1,500</option>
95         <option value="3000">3000 ¥3,000</option>
96         <option value="5000">5000 ¥5,000</option>
97         <option value="10000">10000 ¥10,000</option>
98         <option value="20,000">20,000 ¥20,000</option>
99         <option value="30,000">30,000 ¥30,000</option>
100</select> </td></tr>
101</table>
102<input type="hidden" name="currency_code" value="JPY" />
103<input type="image"
104       src="https://www.paypal.com/ja_JP/JP/i/btn/btn_paynowCC_LG.gif"
105       border="0" name="submit"
106       alt="PayPal - オンラインで安全・簡単にお支払い" />
107<img alt="" border="0" src="https://www.paypal.com/ja_JP/i/scr/pixel.gif"
108     width="1" height="1" />
109</form>
110</div>
111                        </li>
112                </ul>
113        </div>
114        <!-- end sidebars -->
115
116<%= footer.read %>
Note: See TracBrowser for help on using the repository browser.