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

Revision 4612, 4.0 KB checked in by daisuke, 13 years ago (diff)

update paypal code

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?2011080701"></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        <!-- Tweet button -->
39        <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-lang="ja">ツイート</a>
40        <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
41      </li>
42
43      <li>
44<!-- SiteSearch Google -->
45<form action="http://www.google.co.jp/cse" id="cse-search-box">
46  <div>
47    <input type="hidden" name="cx" value="partner-pub-0334540465096658:xkym6qy6e3r" />
48    <input type="hidden" name="ie" value="UTF-8" />
49    <input type="text" name="q" size="23" />
50    <input type="submit" name="sa" value="&#x691c;&#x7d22;" />
51  </div>
52</form>
53<script type="text/javascript" src="http://www.google.co.jp/cse/brand?form=cse-search-box&amp;lang=ja"></script> 
54<!-- SiteSearch Google -->
55      </li>
56      <li>
57        <h2>スポンサード リンク</h2>
58<script type="text/javascript"><!--
59google_ad_client = "pub-0334540465096658";
60/* vinelinux sidebar top */
61google_ad_slot = "1289280287";
62google_ad_width = 300;
63google_ad_height = 250;
64//-->
65</script>
66<script type="text/javascript"
67src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
68</script>
69      </li>
70
71      <li>
72<%= render_rss_sidebarlist("errata/6x/errata6x.rdf") %>
73      </li>
74
75      <li>
76<%= render_rss_sidebarlist("errata/5x/errata5x.rdf") %>
77      </li>
78
79      <li>
80<%= render_rss_sidebarlist("vineplus6news.rdf") %>
81      </li>
82
83      <li>
84<%= render_rss_sidebarlist("vineseednews.rdf") %>
85      </li>
86
87      <li>
88          <h2><a href="/donation.html">ドネーション</a></h2>
89<!-- Donation by PayPal -->
90<div class="paypal-sidebar">
91<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
92<input type="hidden" name="cmd" value="_s-xclick">
93<input type="hidden" name="hosted_button_id" value="MGE5PXFZTXLTJ">
94<table>
95<tr><td><input type="hidden" name="on0" value="Vine Linux">Vine Linux を支援</td></tr>
96<tr><td><select name="os0">
97        <option value="1500">1500 ¥1,500</option>
98        <option value="3000">3000 ¥3,000</option>
99        <option value="5000">5000 ¥5,000</option>
100        <option value="10000">10000 ¥10,000</option>
101        <option value="20000">20000 ¥20,000</option>
102        <option value="30000">30000 ¥30,000</option>
103</select> </td></tr>
104</table>
105<input type="hidden" name="currency_code" value="JPY">
106<input type="image" src="https://www.paypalobjects.com/ja_JP/JP/i/btn/btn_paynowCC_LG.gif"
107       border="0" name="submit" alt="PayPal- オンラインで安全・簡単にお支払い">
108<img alt="" border="0" src="https://www.paypalobjects.com/ja_JP/i/scr/pixel.gif" 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.