source: projects/web/trunk/template/layout-top.html.erb @ 3101

Revision 3101, 3.1 KB checked in by daisuke, 13 years ago (diff)

cleanup layout

RevLine 
[1284]1<%
[3101]2require 'bin/render_rss.rb'
[1284]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
[1325]17<!-- Vine Linux News -->
[3101]18<%= render_rss_table("news/news.rdf", 5) %>
[1325]19<!-- Vine Linux News -->
[1284]20
[1325]21<!-- Vine Linux Magazine -->
[3101]22<%= render_rss_table("vlmagazine/vlmagazine.rdf", 8) %>
[1325]23<!-- Vine Linux Magazine -->
[1284]24
[1325]25<!-- Vine Linux Events -->
[3101]26<%= render_rss_table("events/events.rdf", 5) %>
[1325]27<!-- Vine Linux Events -->
[1284]28
29  </div><!-- end content -->
30
31  <div id="sidebar1" class="sidebar">
32    <ul>
33      <li>
34<!-- SiteSearch Google -->
35<form action="http://www.google.co.jp/cse" id="cse-search-box">
36  <div>
[1364]37    <input type="hidden" name="cx" value="partner-pub-0334540465096658:xkym6qy6e3r" />
38    <input type="hidden" name="ie" value="UTF-8" />
[1284]39    <input type="text" name="q" size="31" />
40    <input type="submit" name="sa" value="&#x691c;&#x7d22;" />
41  </div>
42</form>
[1364]43<script type="text/javascript" src="http://www.google.co.jp/cse/brand?form=cse-search-box&amp;lang=ja"></script> 
[1284]44<!-- SiteSearch Google -->
45      </li>
46      <li>
47        <h2>スポンサード リンク</h2>
48<script type="text/javascript"><!--
49google_ad_client = "pub-0334540465096658";
50/* vinelinux sidebar top */
51google_ad_slot = "1289280287";
52google_ad_width = 300;
53google_ad_height = 250;
54//-->
55</script>
56<script type="text/javascript"
57src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
58</script>
59      </li>
[3101]60
[1284]61      <li>
[3101]62<%= render_rss_sidebarlist("errata/5x/errata5x.rdf") %>
[1284]63      </li>
64
65      <li>
[3101]66<%= render_rss_sidebarlist("vineplus5news.rdf") %>
67      </li>
[1386]68
69      <li>
[3101]70<%= render_rss_sidebarlist("vineseednews.rdf") %>
71      </li>
[1284]72
[3101]73      <li>
[1284]74          <h2><a href="/donation.html">ドネーション</a></h2>
75<!-- Donation by PayPal -->
76<div class="paypal-sidebar">
77<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
78<input type="hidden" name="cmd" value="_s-xclick" />
79<input type="hidden" name="hosted_button_id" value="5823496" />
80<table>
81<tr><td><input type="hidden" name="on0" value="Vine Linux を支援する" />
82Vine Linux を支援する</td></tr><tr><td><select name="os0">
83         <option value="1500">1500 ¥1,500</option>
84         <option value="3000">3000 ¥3,000</option>
85         <option value="5000">5000 ¥5,000</option>
86         <option value="10000">10000 ¥10,000</option>
87         <option value="20,000">20,000 ¥20,000</option>
88         <option value="30,000">30,000 ¥30,000</option>
89</select> </td></tr>
90</table>
91<input type="hidden" name="currency_code" value="JPY" />
92<input type="image"
93       src="https://www.paypal.com/ja_JP/JP/i/btn/btn_paynowCC_LG.gif"
94       border="0" name="submit"
95       alt="PayPal - オンラインで安全・簡単にお支払い" />
96<img alt="" border="0" src="https://www.paypal.com/ja_JP/i/scr/pixel.gif"
97     width="1" height="1" />
98</form>
99</div>
100                        </li>
101                </ul>
102        </div>
103        <!-- end sidebars -->
104
105<%= footer.read %>
Note: See TracBrowser for help on using the repository browser.