This commit has been accessed 571 times via Git panel.
commit 3110a34b8a4715bc82b6a9a073efd6e7eaa1ddde
tree a8669dc0f292e5de4376795fcd001dc8303473c8
parent 1ab5ae398fe335fea2cd3bc2aec276beabd58fc0
author Engels Antonio <engels@majcms.org> 1277314195 +0800
committer Engels Antonio <engels@majcms.org> 1277314195 +0800
maj-0.14-20080220-bb.zip
diff --git a/del.php b/del.php
index 9b3ca74..393bad3 100644
--- a/del.php
+++ b/del.php
@@ -159,7 +159,7 @@ body {
background-color: #FFFFFF;
}
-p {
+p, td {
font-size: 11px;
}
diff --git a/index.php b/index.php
index fab77ef..273075e 100644
--- a/index.php
+++ b/index.php
@@ -765,7 +765,7 @@ a:active {
echo "transparent";
}
?>;
- margin: 10px 0px 0px 0px;
+ margin: 0px 0px 0px 0px;
border-color: <?php
if (file_exists("data/colors/border.txt")) {
$panel_title_border_color = file_get_contents("data/colors/border.txt");
@@ -796,6 +796,7 @@ a:active {
echo "#666666";
}
?>;
+
<?php
if (file_exists("data/round.txt")) {
echo 'padding: 5px 5px 2px 5px;';
@@ -813,7 +814,16 @@ a:active {
echo "transparent";
}
?>;
- margin: 0px;
+
+ <?php
+ if (file_exists("data/round.txt")) {
+ echo 'margin: 0px 0px 0px 0px;';
+ }
+ else {
+ echo 'margin: 0px 0px 10px 0px;';
+ }
+ ?>
+
border-color: <?php
if (file_exists("data/colors/border.txt")) {
$panel_body_border_color = file_get_contents("data/colors/border.txt");
@@ -869,7 +879,16 @@ a:active {
echo "transparent";
}
?>;
- margin: 0px;
+
+ <?php
+ if (file_exists("data/round.txt")) {
+ echo 'margin: 0px 0px 0px 0px;';
+ }
+ else {
+ echo 'margin: 0px 0px 10px 0px;';
+ }
+ ?>
+
border-color: <?php
if (file_exists("data/colors/border.txt")) {
$panel_footer_border_color = file_get_contents("data/colors/border.txt");
@@ -938,21 +957,21 @@ a:active {
#panel_free {
padding: 0px 5px 0px 5px;
- margin: 10px 0px 0px 0px;
+ margin: 0px 0px 10px 0px;
}
.rbtop {
display: block;
background: transparent;
font-size: 1px;
- margin: 10px 0px 0px 0px;
+ margin: 0px 0px 0px 0px;
}
.rbbottom {
display: block;
background: transparent;
font-size: 1px;
- margin: 0px 0px 0px 0px;
+ margin: 0px 0px 10px 0px;
}
.rb1t, .rb2t, .rb3t, .rb4t, .rb1b, .rb2b, .rb3b, .rb4b, .rb1e, .rb2e, .rb3e, .rb4e {
@@ -1105,6 +1124,61 @@ a:active {
height: 3px;
}
+#panel_entry_body {
+ font-family: <?php
+ if (file_exists("data/fonts/panel-body.txt")) {
+ $font_panel_body = file_get_contents("data/fonts/panel-body.txt");
+ echo "{$font_panel_body},";
+ }
+ ?> arial, helvetica, sans-serif;
+ font-size: 11px;
+ color: <?php
+ if (file_exists("data/colors/pb-font.txt")) {
+ $panel_body_font_color = file_get_contents("data/colors/pb-font.txt");
+ echo $panel_body_font_color;
+ }
+ else {
+ echo "#666666";
+ }
+ ?>;
+ <?php
+ if (file_exists("data/round.txt")) {
+ echo 'padding: 5px 5px 2px 5px;';
+ }
+ else {
+ echo 'padding: 5px 5px 5px 5px;';
+ }
+ ?>
+ background-color: <?php
+ if (file_exists("data/colors/pb-bg.txt")) {
+ $panel_body_background_color = file_get_contents("data/colors/pb-bg.txt");
+ echo $panel_body_background_color;
+ }
+ else {
+ echo "transparent";
+ }
+ ?>;
+ margin: 0px 0px 0px 0px;
+ border-color: <?php
+ if (file_exists("data/colors/border.txt")) {
+ $panel_body_border_color = file_get_contents("data/colors/border.txt");
+ echo $panel_body_border_color;
+ }
+ else {
+ echo "#cccccc";
+ }
+ ?>;
+ <?php
+ if (file_exists("data/round.txt")) {
+ echo 'border-width: 1px 1px 0px 1px;';
+ echo 'border-style: solid solid none solid;';
+ }
+ else {
+ echo 'border-width: 1px 1px 1px 1px;';
+ echo 'border-style: solid solid solid solid;';
+ }
+ ?>
+}
</style>
<link rel="alternate" type="application/rss+xml" title="RSS 0.91" href="rss.php?ver=0.91">
@@ -1119,7 +1193,6 @@ if (file_exists("data/center.txt")) {
if (file_exists("header.php")) {
include("header.php");
- echo '<p></p>';
}
?>
@@ -1870,7 +1943,7 @@ foreach ($disp as $d) {
}
- echo '</div><div id=panel_body><table border=0 cellspacing=0 cellpadding=0><tr>';
+ echo '</div><div id=panel_entry_body><table border=0 cellspacing=0 cellpadding=0><tr>';
if (file_exists("data/bb.txt") and file_exists("data/avatar.txt") and file_exists("$dir/$d/author.txt")) {
echo "<td width=85 valign=top><p>";
@@ -2363,10 +2436,10 @@ if (file_exists("data/panels")) {
if (!file_exists("data/panels/$per_entry_panel_list_entry/free.txt")) {
if (file_exists("data/round.txt")) {
- echo '<p></p><b class="rbper_entry"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
+ echo '<b class="rbper_entry"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
}
else {
- echo '<p></p><div id=panel_title>';
+ echo '<div id=panel_title>';
}
readfile("data/panels/$per_entry_panel_list_entry/title.txt");
@@ -3700,8 +3773,6 @@ if (file_exists("data/bb.txt") and file_exists("data/bb-stats.txt")) {
}
?>
-<form enctype="multipart/form-data" action="dig.php" method="post">
-
<?php
if (file_exists("data/round.txt")) {
@@ -3714,19 +3785,18 @@ else {
?>
Search</div>
+<form enctype="multipart/form-data" action="dig.php" method="post">
<div id=panel_body>
<input type=text class=search name=search autocomplete=off maxlength=55>
+</form>
</div>
<?php
- if (file_exists("data/round.txt")) {
- echo '<b class="rbbottom"><b class="rb4b"></b><b class="rb3b"></b><b class="rb2b"></b><b class="rb1b"></b></b>';
- }
-?>
-</form>
+if (file_exists("data/round.txt")) {
+ echo '<b class="rbbottom"><b class="rb4b"></b><b class="rb3b"></b><b class="rb2b"></b><b class="rb1b"></b></b>';
+}
-<?php
if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
if (file_exists("data/round.txt")) {
@@ -4342,7 +4412,6 @@ if ($count_latest_items > 0) {
<?php
if (file_exists("footer.php")) {
- echo '<p></p>';
include("footer.php");
}
tree a8669dc0f292e5de4376795fcd001dc8303473c8
parent 1ab5ae398fe335fea2cd3bc2aec276beabd58fc0
author Engels Antonio <engels@majcms.org> 1277314195 +0800
committer Engels Antonio <engels@majcms.org> 1277314195 +0800
maj-0.14-20080220-bb.zip
diff --git a/del.php b/del.php
index 9b3ca74..393bad3 100644
--- a/del.php
+++ b/del.php
@@ -159,7 +159,7 @@ body {
background-color: #FFFFFF;
}
-p {
+p, td {
font-size: 11px;
}
diff --git a/index.php b/index.php
index fab77ef..273075e 100644
--- a/index.php
+++ b/index.php
@@ -765,7 +765,7 @@ a:active {
echo "transparent";
}
?>;
- margin: 10px 0px 0px 0px;
+ margin: 0px 0px 0px 0px;
border-color: <?php
if (file_exists("data/colors/border.txt")) {
$panel_title_border_color = file_get_contents("data/colors/border.txt");
@@ -796,6 +796,7 @@ a:active {
echo "#666666";
}
?>;
+
<?php
if (file_exists("data/round.txt")) {
echo 'padding: 5px 5px 2px 5px;';
@@ -813,7 +814,16 @@ a:active {
echo "transparent";
}
?>;
- margin: 0px;
+
+ <?php
+ if (file_exists("data/round.txt")) {
+ echo 'margin: 0px 0px 0px 0px;';
+ }
+ else {
+ echo 'margin: 0px 0px 10px 0px;';
+ }
+ ?>
+
border-color: <?php
if (file_exists("data/colors/border.txt")) {
$panel_body_border_color = file_get_contents("data/colors/border.txt");
@@ -869,7 +879,16 @@ a:active {
echo "transparent";
}
?>;
- margin: 0px;
+
+ <?php
+ if (file_exists("data/round.txt")) {
+ echo 'margin: 0px 0px 0px 0px;';
+ }
+ else {
+ echo 'margin: 0px 0px 10px 0px;';
+ }
+ ?>
+
border-color: <?php
if (file_exists("data/colors/border.txt")) {
$panel_footer_border_color = file_get_contents("data/colors/border.txt");
@@ -938,21 +957,21 @@ a:active {
#panel_free {
padding: 0px 5px 0px 5px;
- margin: 10px 0px 0px 0px;
+ margin: 0px 0px 10px 0px;
}
.rbtop {
display: block;
background: transparent;
font-size: 1px;
- margin: 10px 0px 0px 0px;
+ margin: 0px 0px 0px 0px;
}
.rbbottom {
display: block;
background: transparent;
font-size: 1px;
- margin: 0px 0px 0px 0px;
+ margin: 0px 0px 10px 0px;
}
.rb1t, .rb2t, .rb3t, .rb4t, .rb1b, .rb2b, .rb3b, .rb4b, .rb1e, .rb2e, .rb3e, .rb4e {
@@ -1105,6 +1124,61 @@ a:active {
height: 3px;
}
+#panel_entry_body {
+ font-family: <?php
+ if (file_exists("data/fonts/panel-body.txt")) {
+ $font_panel_body = file_get_contents("data/fonts/panel-body.txt");
+ echo "{$font_panel_body},";
+ }
+ ?> arial, helvetica, sans-serif;
+ font-size: 11px;
+ color: <?php
+ if (file_exists("data/colors/pb-font.txt")) {
+ $panel_body_font_color = file_get_contents("data/colors/pb-font.txt");
+ echo $panel_body_font_color;
+ }
+ else {
+ echo "#666666";
+ }
+ ?>;
+ <?php
+ if (file_exists("data/round.txt")) {
+ echo 'padding: 5px 5px 2px 5px;';
+ }
+ else {
+ echo 'padding: 5px 5px 5px 5px;';
+ }
+ ?>
+ background-color: <?php
+ if (file_exists("data/colors/pb-bg.txt")) {
+ $panel_body_background_color = file_get_contents("data/colors/pb-bg.txt");
+ echo $panel_body_background_color;
+ }
+ else {
+ echo "transparent";
+ }
+ ?>;
+ margin: 0px 0px 0px 0px;
+ border-color: <?php
+ if (file_exists("data/colors/border.txt")) {
+ $panel_body_border_color = file_get_contents("data/colors/border.txt");
+ echo $panel_body_border_color;
+ }
+ else {
+ echo "#cccccc";
+ }
+ ?>;
+ <?php
+ if (file_exists("data/round.txt")) {
+ echo 'border-width: 1px 1px 0px 1px;';
+ echo 'border-style: solid solid none solid;';
+ }
+ else {
+ echo 'border-width: 1px 1px 1px 1px;';
+ echo 'border-style: solid solid solid solid;';
+ }
+ ?>
+}
</style>
<link rel="alternate" type="application/rss+xml" title="RSS 0.91" href="rss.php?ver=0.91">
@@ -1119,7 +1193,6 @@ if (file_exists("data/center.txt")) {
if (file_exists("header.php")) {
include("header.php");
- echo '<p></p>';
}
?>
@@ -1870,7 +1943,7 @@ foreach ($disp as $d) {
}
- echo '</div><div id=panel_body><table border=0 cellspacing=0 cellpadding=0><tr>';
+ echo '</div><div id=panel_entry_body><table border=0 cellspacing=0 cellpadding=0><tr>';
if (file_exists("data/bb.txt") and file_exists("data/avatar.txt") and file_exists("$dir/$d/author.txt")) {
echo "<td width=85 valign=top><p>";
@@ -2363,10 +2436,10 @@ if (file_exists("data/panels")) {
if (!file_exists("data/panels/$per_entry_panel_list_entry/free.txt")) {
if (file_exists("data/round.txt")) {
- echo '<p></p><b class="rbper_entry"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
+ echo '<b class="rbper_entry"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
}
else {
- echo '<p></p><div id=panel_title>';
+ echo '<div id=panel_title>';
}
readfile("data/panels/$per_entry_panel_list_entry/title.txt");
@@ -3700,8 +3773,6 @@ if (file_exists("data/bb.txt") and file_exists("data/bb-stats.txt")) {
}
?>
-<form enctype="multipart/form-data" action="dig.php" method="post">
-
<?php
if (file_exists("data/round.txt")) {
@@ -3714,19 +3785,18 @@ else {
?>
Search</div>
+<form enctype="multipart/form-data" action="dig.php" method="post">
<div id=panel_body>
<input type=text class=search name=search autocomplete=off maxlength=55>
+</form>
</div>
<?php
- if (file_exists("data/round.txt")) {
- echo '<b class="rbbottom"><b class="rb4b"></b><b class="rb3b"></b><b class="rb2b"></b><b class="rb1b"></b></b>';
- }
-?>
-</form>
+if (file_exists("data/round.txt")) {
+ echo '<b class="rbbottom"><b class="rb4b"></b><b class="rb3b"></b><b class="rb2b"></b><b class="rb1b"></b></b>';
+}
-<?php
if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
if (file_exists("data/round.txt")) {
@@ -4342,7 +4412,6 @@ if ($count_latest_items > 0) {
<?php
if (file_exists("footer.php")) {
- echo '<p></p>';
include("footer.php");
}