summaryrefslogtreecommitdiffstats
path: root/staticweb
diff options
context:
space:
mode:
Diffstat (limited to 'staticweb')
-rw-r--r--staticweb/banner.html10
-rw-r--r--staticweb/dir.html16
-rw-r--r--staticweb/index.html15
-rw-r--r--staticweb/search.html8
4 files changed, 18 insertions, 31 deletions
diff --git a/staticweb/banner.html b/staticweb/banner.html
new file mode 100644
index 00000000..4a8d0678
--- /dev/null
+++ b/staticweb/banner.html
@@ -0,0 +1,10 @@
+<div id="banner">
+ <h1><a href="http://blog.ptt.cc/blog.pl/ptt/"
+ accesskey="1">[% IF gb %]批踢踢实业坊[% ELSE %]у金金龟穨[% END %]</a></h1>
+
+<div style="position:absolute; right: 15%;">
+<a href="./">[% IF gb %]繁体中文[% ELSE %]羉砰いゅ[% END %](big5)</a>
+<a href="./?gb=1">[% IF gb %]简体中文[% ELSE %]虏砰いゅ[% END %](gb2312)</a>
+</div>
+
+</div>
diff --git a/staticweb/dir.html b/staticweb/dir.html
index a533481b..c3ce33ac 100644
--- a/staticweb/dir.html
+++ b/staticweb/dir.html
@@ -1,17 +1,7 @@
[% INCLUDE header.html %]
<table width="75%" align="center">
-<tr>
-<td>
-<div id="banner">
- <h1><a href="http://blog.ptt.cc/blog.pl/ptt/"
- accesskey="1">[% IF gb %]批踢踢实业坊[% ELSE %]у金金龟穨[% END %]</a></h1>
-
-<div style="position:absolute; right: 15%;">
-<a href="./">[% IF gb %]繁体中文[% ELSE %]羉砰いゅ[% END %](big5)</a>
-<a href="./?gb=1">[% IF gb %]简体中文[% ELSE %]虏砰いゅ[% END %](gb2312)</a>
-</div>
-
-</div>
+<tr><td>
+[% INCLUDE banner.html %]
</td></tr>
<tr><td>
@@ -35,12 +25,14 @@
[% END %]
</td></tr>
<tr><td>
+[% IF !gb %]
<hr />
<form method="POST" action="/man.pl/[% brdname %]/">
[% IF gb %]在这个精华区内翻弄[% ELSE %]硂弘地跋ず陆[% END %]
<input type="text" name="key">
<input type="submit" value="[% IF gb %]捞[% ELSE %]即[% END %]">
</form>
+[% END %]
<hr />
<a href="telnet://ptt.cc">[% IF gb %]批踢踢实业坊[% ELSE %]у金金龟穨[% END %]</a> (<a href="http://ptt.cc">PttWeb</a>)
</td></tr>
diff --git a/staticweb/index.html b/staticweb/index.html
index 2484bd5a..3a62ed51 100644
--- a/staticweb/index.html
+++ b/staticweb/index.html
@@ -1,20 +1,9 @@
[% INCLUDE header.html %]
<table width="75%" align="center">
-<tr>
-<td>
-<div id="banner">
- <h1><a href="http://blog.ptt.cc/blog.pl/ptt/"
- accesskey="1">[% IF gb %]批踢踢实业坊[% ELSE %]у金金龟穨[% END %]</a></h1>
-
-<div style="position:absolute; right: 15%;">
-<a href="./">[% IF gb %]繁体中文[% ELSE %]羉砰いゅ[% END %](big5)</a>
-<a href="./?gb=1">[% IF gb %]简体中文[% ELSE %]虏砰いゅ[% END %](gb2312)</a>
-</div>
-
-</div>
+<tr><td>
+[% INCLUDE banner.html %]
</td></tr>
-
<tr><td>
[% IF gb %]批踢踢实业坊之精华区[% ELSE %]у金金龟穨ぇ弘地跋[% END %](experimental)<br />
[% IF gb %]目前提供下列精华区资料[% ELSE %]ヘ玡矗ㄑ弘地跋戈[% END %]:<br />
diff --git a/staticweb/search.html b/staticweb/search.html
index 612300e4..4688617d 100644
--- a/staticweb/search.html
+++ b/staticweb/search.html
@@ -1,11 +1,7 @@
[% INCLUDE header.html %]
<table width="75%" align="center">
-<tr>
-<td>
-<div id="banner">
- <h1><a href="http://blog.ptt.cc/blog.pl/ptt/"
- accesskey="1">у金金龟穨</a></h1>
-</div>
+<tr><td>
+[% INCLUDE banner.html %]
</td></tr>
<tr><td>