From 284226706885e3b40769dea5853a95e2b32efda8 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sat, 22 Nov 2008 18:01:52 -0500 Subject: Created the 6th layout --- includes/footer.php | 9 +- includes/functions.php | 4 +- includes/header.php | 11 -- includes/updatePending.php | 2 +- pages/admin.php | 70 ++++++++++- pages/fourm.php | 4 + pages/quotes.php | 35 +----- theme/admin/managePending.tpl | 2 + theme/comments.tpl | 4 + theme/css.php | 14 +-- theme/css/backgrounds.php | 148 ---------------------- theme/css/headers.php | 85 ------------- theme/css/navigation.php | 198 ------------------------------ theme/css/website.php | 169 +++++-------------------- theme/footer.tpl | 65 ++++++++-- theme/header.tpl | 35 +----- theme/images/Fourm.gif | Bin 23001 -> 0 bytes theme/images/Fourm_ro.gif | Bin 23013 -> 0 bytes theme/images/Home.gif | Bin 22992 -> 0 bytes theme/images/Home_ro.gif | Bin 23014 -> 0 bytes theme/images/Links.gif | Bin 22985 -> 0 bytes theme/images/Links_ro.gif | Bin 23005 -> 0 bytes theme/images/Login.gif | Bin 23311 -> 0 bytes theme/images/Login_ro.gif | Bin 23552 -> 0 bytes theme/images/Logout.gif | Bin 23470 -> 0 bytes theme/images/Logout_ro.gif | Bin 23613 -> 0 bytes theme/images/Panel.gif | Bin 23368 -> 0 bytes theme/images/Panel_ro.gif | Bin 23577 -> 0 bytes theme/images/Poll.gif | Bin 23161 -> 0 bytes theme/images/Poll_ro.gif | Bin 23476 -> 0 bytes theme/images/Projects.gif | Bin 23098 -> 0 bytes theme/images/Projects_ro.gif | Bin 23033 -> 0 bytes theme/images/Quotes.gif | Bin 23969 -> 0 bytes theme/images/Quotes_ro.gif | Bin 23717 -> 0 bytes theme/images/Random.gif | Bin 23142 -> 0 bytes theme/images/Random_ro.gif | Bin 23043 -> 0 bytes theme/images/Wiki.gif | Bin 23256 -> 0 bytes theme/images/Wiki_ro.gif | Bin 23551 -> 0 bytes theme/images/backgrounds/4ofjuly.PNG | Bin 16866 -> 0 bytes theme/images/backgrounds/ashWeds.PNG | Bin 14191 -> 0 bytes theme/images/backgrounds/christmas.PNG | Bin 14513 -> 0 bytes theme/images/backgrounds/christmasEve.PNG | Bin 11391 -> 0 bytes theme/images/backgrounds/columbus.PNG | Bin 14016 -> 0 bytes theme/images/backgrounds/easter.PNG | Bin 14073 -> 0 bytes theme/images/backgrounds/fathers.PNG | Bin 14976 -> 0 bytes theme/images/backgrounds/flagDay.PNG | Bin 14476 -> 0 bytes theme/images/backgrounds/goodFriday.PNG | Bin 12776 -> 0 bytes theme/images/backgrounds/groundhog.PNG | Bin 13936 -> 0 bytes theme/images/backgrounds/halloween.PNG | Bin 10937 -> 0 bytes theme/images/backgrounds/hatkirbybday.PNG | Bin 16655 -> 0 bytes theme/images/backgrounds/island.PNG | Bin 14751 -> 0 bytes theme/images/backgrounds/island2.PNG | Bin 19372 -> 0 bytes theme/images/backgrounds/island3.PNG | Bin 19848 -> 0 bytes theme/images/backgrounds/island4.PNG | Bin 21981 -> 0 bytes theme/images/backgrounds/island5.PNG | Bin 10225 -> 0 bytes theme/images/backgrounds/island6.PNG | Bin 13330 -> 0 bytes theme/images/backgrounds/island6night.PNG | Bin 10203 -> 0 bytes theme/images/backgrounds/islandYearly.PNG | Bin 16259 -> 0 bytes theme/images/backgrounds/kirbyweek.PNG | Bin 16824 -> 0 bytes theme/images/backgrounds/mardiGras.PNG | Bin 14333 -> 0 bytes theme/images/backgrounds/martinLuther.PNG | Bin 14114 -> 0 bytes theme/images/backgrounds/memorial.PNG | Bin 22185 -> 0 bytes theme/images/backgrounds/mothers.PNG | Bin 15125 -> 0 bytes theme/images/backgrounds/newYear.PNG | Bin 14184 -> 0 bytes theme/images/backgrounds/newYearsEve.PNG | Bin 12160 -> 0 bytes theme/images/backgrounds/valentines.PNG | Bin 15108 -> 0 bytes theme/images/backgrounds/veterans.PNG | Bin 13997 -> 0 bytes theme/images/bg_body.gif | Bin 421 -> 0 bytes theme/images/bg_body_short.gif | Bin 384 -> 0 bytes theme/images/bg_footer.gif | Bin 114 -> 0 bytes theme/images/bg_header.gif | Bin 642 -> 0 bytes theme/images/bg_navbar.gif | Bin 206 -> 0 bytes theme/images/bg_search.gif | Bin 837 -> 0 bytes theme/images/corners_bottom.gif | Bin 708 -> 0 bytes theme/images/corners_left.png | Bin 195 -> 0 bytes theme/images/corners_right.png | Bin 201 -> 0 bytes theme/images/fourisland_header.png | Bin 0 -> 24386 bytes theme/images/headers/ctnh.png | Bin 20000 -> 0 bytes theme/images/headers/fourm.png | Bin 10596 -> 0 bytes theme/images/headers/hatkirbybday.png | Bin 12384 -> 0 bytes theme/images/headers/islandYearly.png | Bin 4527 -> 0 bytes theme/images/headers/kfm.png | Bin 10819 -> 0 bytes theme/images/headers/links.png | Bin 10711 -> 0 bytes theme/images/headers/main.png | Bin 12479 -> 0 bytes theme/images/headers/main.xcf | Bin 62769 -> 0 bytes theme/images/headers/memorial.png | Bin 11355 -> 0 bytes theme/images/headers/mothers.png | Bin 12532 -> 0 bytes theme/images/headers/potw.png | Bin 10919 -> 0 bytes theme/images/headers/projects.png | Bin 12846 -> 0 bytes theme/images/headers/projects.xcf | Bin 87437 -> 0 bytes theme/images/headers/quotes.png | Bin 12260 -> 0 bytes theme/images/headers/random.png | Bin 11632 -> 0 bytes theme/images/headers/short.png | Bin 10776 -> 0 bytes theme/images/sides_top.gif | Bin 2559 -> 0 bytes theme/images/tabBG.png | Bin 2473 -> 0 bytes theme/images/tabBG2.png | Bin 2722 -> 0 bytes theme/images/tabSe.png | Bin 258 -> 0 bytes theme/images/tabUn.png | Bin 260 -> 0 bytes theme/poll.tpl | 16 ++- theme/pollIndex.tpl | 20 ++- theme/polloftheweek.tpl | 94 +++++++------- 101 files changed, 262 insertions(+), 723 deletions(-) delete mode 100755 theme/css/backgrounds.php delete mode 100755 theme/css/headers.php delete mode 100755 theme/css/navigation.php delete mode 100755 theme/images/Fourm.gif delete mode 100755 theme/images/Fourm_ro.gif delete mode 100755 theme/images/Home.gif delete mode 100755 theme/images/Home_ro.gif delete mode 100755 theme/images/Links.gif delete mode 100755 theme/images/Links_ro.gif delete mode 100755 theme/images/Login.gif delete mode 100755 theme/images/Login_ro.gif delete mode 100755 theme/images/Logout.gif delete mode 100755 theme/images/Logout_ro.gif delete mode 100755 theme/images/Panel.gif delete mode 100755 theme/images/Panel_ro.gif delete mode 100755 theme/images/Poll.gif delete mode 100755 theme/images/Poll_ro.gif delete mode 100755 theme/images/Projects.gif delete mode 100755 theme/images/Projects_ro.gif delete mode 100755 theme/images/Quotes.gif delete mode 100755 theme/images/Quotes_ro.gif delete mode 100755 theme/images/Random.gif delete mode 100755 theme/images/Random_ro.gif delete mode 100755 theme/images/Wiki.gif delete mode 100755 theme/images/Wiki_ro.gif delete mode 100755 theme/images/backgrounds/4ofjuly.PNG delete mode 100755 theme/images/backgrounds/ashWeds.PNG delete mode 100755 theme/images/backgrounds/christmas.PNG delete mode 100755 theme/images/backgrounds/christmasEve.PNG delete mode 100755 theme/images/backgrounds/columbus.PNG delete mode 100755 theme/images/backgrounds/easter.PNG delete mode 100755 theme/images/backgrounds/fathers.PNG delete mode 100755 theme/images/backgrounds/flagDay.PNG delete mode 100755 theme/images/backgrounds/goodFriday.PNG delete mode 100755 theme/images/backgrounds/groundhog.PNG delete mode 100755 theme/images/backgrounds/halloween.PNG delete mode 100755 theme/images/backgrounds/hatkirbybday.PNG delete mode 100755 theme/images/backgrounds/island.PNG delete mode 100755 theme/images/backgrounds/island2.PNG delete mode 100755 theme/images/backgrounds/island3.PNG delete mode 100755 theme/images/backgrounds/island4.PNG delete mode 100755 theme/images/backgrounds/island5.PNG delete mode 100755 theme/images/backgrounds/island6.PNG delete mode 100755 theme/images/backgrounds/island6night.PNG delete mode 100755 theme/images/backgrounds/islandYearly.PNG delete mode 100755 theme/images/backgrounds/kirbyweek.PNG delete mode 100755 theme/images/backgrounds/mardiGras.PNG delete mode 100755 theme/images/backgrounds/martinLuther.PNG delete mode 100755 theme/images/backgrounds/memorial.PNG delete mode 100755 theme/images/backgrounds/mothers.PNG delete mode 100755 theme/images/backgrounds/newYear.PNG delete mode 100755 theme/images/backgrounds/newYearsEve.PNG delete mode 100755 theme/images/backgrounds/valentines.PNG delete mode 100755 theme/images/backgrounds/veterans.PNG delete mode 100755 theme/images/bg_body.gif delete mode 100755 theme/images/bg_body_short.gif delete mode 100755 theme/images/bg_footer.gif delete mode 100755 theme/images/bg_header.gif delete mode 100755 theme/images/bg_navbar.gif delete mode 100755 theme/images/bg_search.gif delete mode 100755 theme/images/corners_bottom.gif delete mode 100755 theme/images/corners_left.png delete mode 100755 theme/images/corners_right.png create mode 100644 theme/images/fourisland_header.png delete mode 100755 theme/images/headers/ctnh.png delete mode 100755 theme/images/headers/fourm.png delete mode 100755 theme/images/headers/hatkirbybday.png delete mode 100755 theme/images/headers/islandYearly.png delete mode 100755 theme/images/headers/kfm.png delete mode 100755 theme/images/headers/links.png delete mode 100755 theme/images/headers/main.png delete mode 100755 theme/images/headers/main.xcf delete mode 100755 theme/images/headers/memorial.png delete mode 100755 theme/images/headers/mothers.png delete mode 100755 theme/images/headers/potw.png delete mode 100755 theme/images/headers/projects.png delete mode 100755 theme/images/headers/projects.xcf delete mode 100755 theme/images/headers/quotes.png delete mode 100755 theme/images/headers/random.png delete mode 100755 theme/images/headers/short.png delete mode 100755 theme/images/sides_top.gif delete mode 100755 theme/images/tabBG.png delete mode 100755 theme/images/tabBG2.png delete mode 100755 theme/images/tabSe.png delete mode 100755 theme/images/tabUn.png diff --git a/includes/footer.php b/includes/footer.php index 09be74f..8cb0f2d 100755 --- a/includes/footer.php +++ b/includes/footer.php @@ -111,7 +111,8 @@ if (!isset($noRightbar)) $getpost2 = mysql_query($getpost); $getpost3 = mysql_fetch_array($getpost2); - $template->adds_block('COMMENTS', array( 'AREA' => 'blog', + $template->adds_block('COMMENTS', array( 'ID' => $getcomments3[$i]['id'], + 'AREA' => 'blog', 'CODED' => $getpost3['slug'], 'ENDING' => '/', 'TITLE' => stripslashes($getpost3['title']), @@ -121,7 +122,8 @@ if (!isset($noRightbar)) { $num = substr($getcomments3[$i]['page_id'],strpos($getcomments3[$i]['page_id'],'-')+1); - $template->adds_block('COMMENTS', array( 'AREA' => 'quotes', + $template->adds_block('COMMENTS', array( 'ID' => $getcomments3[$i]['id'], + 'AREA' => 'quotes', 'CODED' => $num, 'ENDING' => '.php', 'TITLE' => 'Quote #' . $num, @@ -208,6 +210,9 @@ if (!isset($noRightbar)) } } +$template->add('REDIRPAGE',rawurlencode($_SERVER['REQUEST_URI'])); +$template->add('LOGDATA',echoLogData()); + $template->display(); ?> diff --git a/includes/functions.php b/includes/functions.php index c377c29..e7b7537 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -63,9 +63,9 @@ function generateError($error) function echoLogData() { if (!isLoggedIn()) { - return('Login'); + return('in'); } else { - return('Logout'); + return('out'); } } diff --git a/includes/header.php b/includes/header.php index 3bedbd7..e9f31f6 100755 --- a/includes/header.php +++ b/includes/header.php @@ -45,17 +45,6 @@ $headerTemp->add('HEADTAGS',isset($headtags) ? $headtags : ''); $headerTemp->add('EXTRATITLE',isset($title) ? ($title . ' - ') : ''); $headerTemp->add('PAGEID',(isset($pageID)) ? $pageID : 'none'); -if (!isset($noMembers)) -{ - $headerTemp->add('LOWERLOGDATA',strtolower(echoLogData())); - $headerTemp->add('REDIRPAGE',rawurlencode($_SERVER['REQUEST_URI'])); - $headerTemp->add('LOGDATA',echoLogData()); - if (getUserlevel() < 3) - { - $headerTemp->adds_block('PANEL',array('exi'=>1)); - } -} - if (isset($_POST['message'])) { $headerTemp->adds_block('MESSAGE',array('MSG' => $_POST['message'])); diff --git a/includes/updatePending.php b/includes/updatePending.php index a96a2b6..08c46e8 100755 --- a/includes/updatePending.php +++ b/includes/updatePending.php @@ -22,7 +22,7 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} require('headerproc.php'); -//$disablePendingQueue = 1; // Use this when Four Island goes down +$disablePendingQueue = 1; // Use this when Four Island goes down if (!isset($disablePendingQueue)) { diff --git a/pages/admin.php b/pages/admin.php index 195ac64..8534d91 100755 --- a/pages/admin.php +++ b/pages/admin.php @@ -333,6 +333,73 @@ if (isLoggedIn()) $template->add('BACK', 'the previous page'); $template->add('MSG', 'I\'m sorry, that pending post doesn\'t exist.'); } + } else if ($_GET['page'] == 'movePending') + { + $getpending = "SELECT * FROM pending WHERE id = " . $_GET['id']; + $getpending2 = mysql_query($getpending); + $getpending3 = mysql_fetch_array($getpending2); + + if ($getpending3['id'] == $_GET['id']) + { + if ($_GET['dir'] == 'up') + { + $get2pending = "SELECT * FROM pending WHERE id = " . ($_GET['id']-1); + $get2pending2 = mysql_query($get2pending); + $get2pending3 = mysql_fetch_array($get2pending2); + + if ($get2pending3['id'] == ($_GET['id']-1)) + { + $otherPending = $get2pending3; + } else { + $template = new FITemplate('msg'); + $template->add('BACK', 'the previous page'); + $template->add('MSG', 'I\'m sorry, that pending post is already the first.'); + } + } else if ($_GET['dir'] == 'down') + { + $get2pending = "SELECT * FROM pending WHERE id = " . ($_GET['id']+1); + $get2pending2 = mysql_query($get2pending); + $get2pending3 = mysql_fetch_array($get2pending2); + + if ($get2pending3['id'] == ($_GET['id']+1)) + { + $otherPending = $get2pending3; + } else { + $template = new FITemplate('msg'); + $template->add('BACK', 'the previous page'); + $template->add('MSG', 'I\'m sorry, that pending post is already the last.'); + } + } + + if (isset($otherPending)) + { + $delpending = "DELETE FROM pending WHERE id = " . $_GET['id'] . " OR id = " . $otherPending['id']; + $delpending2 = mysql_query($delpending); + + $inspending = "INSERT INTO pending (id, title, author, text, tag1, tag2, tag3, slug) VALUES (" . $_GET['id'] . ",\"" . $otherPending['title'] . "\",\"" . $otherPending['author'] . "\",\"" . $otherPending['text'] . "\",\"" . $otherPending['tag1'] . "\",\"" . $otherPending['tag2'] . "\",\"" . $otherPending['tag3'] . "\",\"" . $otherPending['slug'] . "\")"; + $inspending2 = mysql_query($inspending); + + $ins2pending = "INSERT INTO pending (id, title, author, text, tag1, tag2, tag3, slug) VALUES (" . $otherPending['id'] . ",\"" . $getpending3['title'] . "\",\"" . $getpending3['author'] . "\",\"" . $getpending3['text'] . "\",\"" . $getpending3['tag1'] . "\",\"" . $getpending3['tag2'] . "\",\"" . $getpending3['tag3'] . "\",\"" . $getpending3['slug'] . "\")"; + $ins2pending2 = mysql_query($ins2pending); + + $template = new FITemplate('admin/managePending'); + + $getpending = "SELECT * FROM pending ORDER BY id ASC"; + $getpending2 = mysql_query($getpending); + $i=0; + while ($getpending3[$i] = mysql_fetch_array($getpending2)) + { + $template->adds_block('PENDING', array( 'TITLE' => $getpending3[$i]['title'], + 'AUTHOR' => $getpending3[$i]['author'], + 'ID' => $getpending3[$i]['id'])); + $i++; + } + } + } else { + $template = new FITemplate('msg'); + $template->add('BACK', 'the previous page'); + $template->add('MSG', 'I\'m sorry, that pending post doesn\'t exist.'); + } } else if ($_GET['page'] == 'managePosts') { $template = new FITemplate('admin/managePosts'); @@ -561,7 +628,8 @@ if (isLoggedIn()) { if (isset($_GET['approve'])) { - $insquote = "INSERT INTO rash_quotes (quote) VALUES (\"" . addslashes($getpending3['quote']) . "\")"; + $today = mktime(date('G'),date('i'),date('s'),date('m'),date('d'),date('Y')); + $insquote = "INSERT INTO rash_quotes (quote,date) VALUES (\"" . addslashes($getpending3['quote']) . "\",\"" . $today . "\")"; $insquote2 = mysql_query($insquote); $delpending = "DELETE FROM rash_queue WHERE id = " . $_GET['id']; diff --git a/pages/fourm.php b/pages/fourm.php index 41ae0a1..ee8b0f7 100755 --- a/pages/fourm.php +++ b/pages/fourm.php @@ -22,6 +22,10 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} require('headerproc.php'); +echo('
'); + include('fourm/link.php'); +echo('
'); + ?> diff --git a/pages/quotes.php b/pages/quotes.php index f208f70..d557ca1 100755 --- a/pages/quotes.php +++ b/pages/quotes.php @@ -25,40 +25,17 @@ require('headerproc.php'); include('includes/functions_quotes.php'); $pageCategory = 'quotes'; +$headtags = ''; if (isset($_GET['id'])) { $quote_num = $_GET['id']; } -if (!isset($_GET['act'])) +if ((!isset($_GET['act'])) || ($_GET['act'] == 'latest')) { - $template = new FITemplate('post'); - $template->adds_block('INTERNAL',array('exi'=>1)); - - $getpost = "SELECT * FROM updates WHERE tag1 = \"quotes\" OR tag2 = \"tag2\" OR tag3 = \"tag3\" ORDER BY id DESC LIMIT 0,1"; - $getpost2 = mysql_query($getpost); - $getpost3 = mysql_fetch_array($getpost2); - - $title = $getpost3['title'] . ' - Blog Archive'; - - $template->adds_block('POST', array( 'ID' => $getpost3['id'], - 'YEARID' => ((date('Y',strtotime($getpost3['pubDate']))-2006) % 4), - 'DATE' => date('F dS Y \a\\t g:i:s a',strtotime($getpost3['pubDate'])), - 'MONTH' => date('M',strtotime($getpost3['pubDate'])), - 'DAY' => date('d',strtotime($getpost3['pubDate'])), - 'CODED' => urlencode($getpost3['title']), - 'TITLE' => $getpost3['title'], - 'AUTHOR' => $getpost3['author'], - 'TAG1' => $getpost3['tag1'], - 'TAG2' => $getpost3['tag2'], - 'TAG3' => $getpost3['tag3'], - 'TEXT' => parseBBCode($getpost3['text']))); - - $template->display(); - $page_id = 'updates-' . $getpost3['id']; - - include('includes/comments.php'); + $query = "SELECT id, quote, rating, flag FROM rash_quotes ORDER BY id DESC LIMIT 50"; + quote_generation($query, "Latest", -1); } else if ($_GET['act'] == 'add') { $template = new FITemplate('quotes/add'); @@ -107,10 +84,6 @@ if (!isset($_GET['act'])) } $template->add('BACK','Quote #' . $quote_num); $template->display(); -} elseif ($_GET['act'] == 'latest') -{ - $query = "SELECT id, quote, rating, flag FROM rash_quotes ORDER BY id DESC LIMIT 50"; - quote_generation($query, "Latest", -1); } elseif ($_GET['act'] == 'random') { $query = "SELECT id, quote, rating, flag FROM rash_quotes ORDER BY rand() LIMIT 50"; diff --git a/theme/admin/managePending.tpl b/theme/admin/managePending.tpl index d119b92..8cce14c 100755 --- a/theme/admin/managePending.tpl +++ b/theme/admin/managePending.tpl @@ -16,6 +16,8 @@ Edit Delete View + Move Up + Move Down diff --git a/theme/comments.tpl b/theme/comments.tpl index 30c78ba..341d933 100755 --- a/theme/comments.tpl +++ b/theme/comments.tpl @@ -1,4 +1,8 @@ + + + +
diff --git a/theme/css.php b/theme/css.php index 4984f03..2acf0c7 100755 --- a/theme/css.php +++ b/theme/css.php @@ -25,16 +25,8 @@ header('Content-type: text/css'); include('../../security/config.php'); include('../includes/db.php'); -if (!isset($_GET['background'])) -{ - include("css/website.php"); - include("css/headers.php"); - include("css/navigation.php"); - include("css/uniform.php"); - include("css/quotes.php"); - include("css/bubbles.css"); -} - -include("css/backgrounds.php"); +include("css/website.php"); +include("css/bubbles.css"); +include("css/thickbox.css"); ?> diff --git a/theme/css/backgrounds.php b/theme/css/backgrounds.php deleted file mode 100755 index 51e7dbf..0000000 --- a/theme/css/backgrounds.php +++ /dev/null @@ -1,148 +0,0 @@ - -/* Four Island Background CSS */ -= 20) || (date('G') <= 6)) - { -// $bodyID = 'night'; - } else { - $bodyID = 'day'; - } -} else { - $bodyID = $_GET['id']; -} - -if (!isset($bgcolor)) {$bgcolor='aqua';} -if (($bgimgm == 'island6') && ($bodyID == 'night')) {$bgcolor='black';} - -?> -/* Body */ - -body { - background-color: ; - background-image: url(/theme/images/backgrounds/.PNG); - background-repeat: repeat-x; - background-attachment: fixed; - background-position: bottom left; - font-family: Arial, FreeSans; - margin: 0px; - padding: 0px 0px 30px !important; -} - - -body#night { - background: black url(/theme/images/backgrounds/island6night.PNG) repeat-x fixed bottom left; -} - - diff --git a/theme/css/headers.php b/theme/css/headers.php deleted file mode 100755 index bb5a179..0000000 --- a/theme/css/headers.php +++ /dev/null @@ -1,85 +0,0 @@ - -/* Four Island Header CSS */ - -/* Category-Based Headers */ -body.projects div#banner { - background-image: url("/theme/images/headers/projects.png"); -} -body.wiki div#banner { - background-image: url("/theme/images/headers/kfm.png"); -} -body.fourm div#banner { - background-image: url("/theme/images/headers/fourm.png"); -} -body.misc div#banner { - background-image: url("/theme/images/headers/random.png"); -} -body.webs div#banner { - background-image: url("/theme/images/headers/links.png"); -} -body.quotes div#banner { - background-image: url("/theme/images/headers/quotes.png"); -} -body.poll div#banner { - background-image: url("/theme/images/headers/potw.png"); -} -/* AID-Based Headers */ - -div#banner { - background-image: url("/theme/images/headers/.png"); /*850x129*/ -} diff --git a/theme/css/navigation.php b/theme/css/navigation.php deleted file mode 100755 index 4b5f117..0000000 --- a/theme/css/navigation.php +++ /dev/null @@ -1,198 +0,0 @@ - -/* Four Island NavBar CSS */ - -ul#bannernav { - list-style: none; - clear: both; - margin: 0px; -} - -div#banner-nav { - height: 30px; - clear: both; - margin: 1px 30px 0 30px; - background: url("/theme/images/bg_navbar.gif") repeat-x 0 0; -} - -ul#bannernav li { - float: left; - margin: 0; - padding: 0; - padding-right: 6px; -} - -ul#bannernav li a { - text-decoration: none; - display: block; - width: 100; - height: 30; -} - -ul#bannernav li a span { - visibility: hidden; -} - -ul#bannernav li img { - display: none; -} - -ul#bannernav li#bannernav-home a { - background-image: url("/theme/images/Home.gif"); -} - -body.home ul#bannernav li#bannernav-home a, -ul#bannernav li#bannernav-home a:hover { - background-image: url("/theme/images/Home_ro.gif"); -} - -ul#bannernav li#bannernav-projects a { - background-image: url("/theme/images/Projects.gif"); -} - -body.projects ul#bannernav li#bannernav-projects a, -ul#bannernav li#bannernav-projects a:hover { - background-image: url("/theme/images/Projects_ro.gif"); -} - -ul#bannernav li#bannernav-wiki a { - background-image: url("/theme/images/Wiki.gif"); -} - -body.wiki ul#bannernav li#bannernav-wiki a, -ul#bannernav li#bannernav-wiki a:hover { - background-image: url("/theme/images/Wiki_ro.gif"); -} - -ul#bannernav li#bannernav-fourm a { - background-image: url("/theme/images/Fourm.gif"); -} - -body.fourm ul#bannernav li#bannernav-fourm a, -ul#bannernav li#bannernav-fourm a:hover { - background-image: url("/theme/images/Fourm_ro.gif"); -} - -ul#bannernav li#bannernav-misc a { - background-image: url("/theme/images/Random.gif"); -} - -body.misc ul#bannernav li#bannernav-misc a, -ul#bannernav li#bannernav-misc a:hover { - background-image: url("/theme/images/Random_ro.gif"); -} - -ul#bannernav li#bannernav-webs a { - background-image: url("/theme/images/Links.gif"); -} - -body.webs ul#bannernav li#bannernav-webs a, -ul#bannernav li#bannernav-webs a:hover { - background-image: url("/theme/images/Links_ro.gif"); -} - -ul#bannernav li#bannernav-poll a { - background-image: url("/theme/images/Poll.gif"); -} - -body.poll ul#bannernav li#bannernav-poll a, -ul#bannernav li#bannernav-poll a:hover { - background-image: url("/theme/images/Poll_ro.gif"); -} - -ul#bannernav li#bannernav-quotes a { - background-image: url("/theme/images/Quotes.gif"); -} - -body.quotes ul#bannernav li#bannernav-quotes a, -ul#bannernav li#bannernav-quotes a:hover { - background-image: url("/theme/images/Quotes_ro.gif"); -} - -ul#bannernav li#bannernav-login a { - background-image: url("/theme/images/Login.gif"); -} - -body.login ul#bannernav li#bannernav-login a, -ul#bannernav li#bannernav-login a:hover { - background-image: url("/theme/images/Login_ro.gif"); -} - -ul#bannernav li#bannernav-logout a { - background-image: url("/theme/images/Logout.gif"); -} - -ul#bannernav li#bannernav-logout a:hover { - background-image: url("/theme/images/Logout_ro.gif"); -} - -ul#bannernav li#bannernav-panel a { - background-image: url("/theme/images/Panel.gif"); -} - -body.panel ul#bannernav li#bannernav-panel a, -ul#bannernav li#bannernav-panel a:hover { - background-image: url("/theme/images/Panel_ro.gif"); -} - -ul#bannernav li#bannernav-search { - display: block; - float: right; - width: 165px; - height: 30px; - margin: 0px; - background: url("/theme/images/bg_search.gif") 0 0 no-repeat; -} - -ul#bannernav li#bannernav-search fieldset { - border: none; - padding-top: 6px; - border-width:0pt; - font-family:Verdana,Helvetica,Arial,sans-serif; - font-size:1.1em; -} - -ul#bannernav li#bannernav-search input { - width: 125px; - height: 19px !important; - margin-left: 13px; - border: none !important; - background-color: transparent; - cursor:pointer; - font-family:Verdana,Helvetica,Arial,sans-serif; - font-weight:normal; - padding:0pt 3px; - vertical-align:middle; - line-height:1.3em; - color:#536482; - margin-top: -20px; -} - -body.fourm ul#bannernav li#bannernav-search input { - margin-top: 0px; - font-size: 1.1em !important; - margin-left: 28px; -} diff --git a/theme/css/website.php b/theme/css/website.php index 9b26d7c..0e2cb32 100755 --- a/theme/css/website.php +++ b/theme/css/website.php @@ -25,6 +25,21 @@ require('headerproc.php'); ?> /* Four Island General CSS */ +body { + background-color: white; + background-repeat: repeat-x; + background-attachment: fixed; + background-position: bottom left; + font-family: Arial, FreeSans; + margin: 0px; + padding: 0px 0px 30px !important; +} + +body.fourm { + font-family: Verdana, Helvetica, Arial, sans-serif ; +} + + ul#bannernav, p { margin:0pt; padding:0pt; @@ -34,7 +49,7 @@ ul#bannernav, p { text-align: none !important; } -p {margin-top: 1em;} +p {margin-top: 1em} ul, ol {margin-top: 1em; margin-bottom: 1em} @@ -106,8 +121,6 @@ acronym, abbr { border-bottom: 1px dashed #999; } - - blockquote { padding-left: 10px; border-left: 3px solid #CCC; @@ -118,8 +131,6 @@ blockquote { margin-left: 50px; } - - pre { line-height: 12px; } @@ -129,13 +140,8 @@ pre { cursor: help; } -* html div#members { - position: absolute; -} - #wrap { width: 910px; - background: #FFFFFF url("/theme/images/bg_body.gif") repeat-y 0 0; margin: 10px auto; text-align: left; padding: 0; @@ -143,35 +149,6 @@ pre { /* margin-left: 50px; */ } -#page-header { - background: url("/theme/images/bg_header.gif") repeat-x 0 0; - height: 150px; - clear: both; -} - -span.side-left, span.side-right { - display: block; - width: 20px; - height: 150px; - background: url("/theme/images/sides_top.gif") no-repeat; -} -span.side-left { - float: left; - margin-right: 10px; -} -span.side-right { - background-position: 100% 0; - float: right; -} -span.fcorners-bottom, span.fcorners-bottom span { - font-size: 1px; - line-height: 1px; - display: block; - height: 20px; - background-repeat: no-repeat; - background-image: url("/theme/images/corners_bottom.gif"); - margin: 0; -} span.fcorners-bottom { background-position: 0 0; } @@ -179,14 +156,12 @@ span.fcorners-bottom span { background-position: 100% -20px; } - - /* Banner */ div#banner, div#fi-banner { background-repeat: no-repeat; - width: 850px; - height: 129px; + width: 900px; /*728*/ + height: 200px; float: left; margin-top: 21px; } @@ -197,8 +172,8 @@ body div#banner h1, body div#fi-banner h1 { body div#banner h1 a, body div#fi-banner h1 a { display: block; - width: 850px; - height: 129px; + width: 900px; + height: 200px; text-indent: -5000px; text-decoration: none; margin: 0; @@ -210,9 +185,10 @@ div#banner h1, div#fi-banner h1 { font-weight: normal; } -div#banner div#bannerNav, div#fi-banner div#bannerNav { - position: relative; - top: -20px; +div#bannernav { +/* position: relative; + top: -20px;*/ + text-align: center; } #page-body { @@ -270,7 +246,7 @@ body.login div#pageTabs ul li#bannernav-login { /* Sidebar */ div#rightbar { - float: right; + float: left; width: 250px; /*210*/ /* clear: right; */ padding: 0 10; @@ -285,6 +261,10 @@ div#iconbar ul li { list-style-type: none; } +div#banner { + background-image: url("/theme/images/fourisland_header.png"); /*850x129*/ +} + div.sidebar { width: 250px; /*250*/ /*240*/ /*210*/ padding: 0 10px; @@ -382,7 +362,7 @@ div#sidebar li img { /* Content */ div#content, div#fi-content { - float: left; + float: right; width: 555px; /*465*/ /*555*/ } @@ -394,9 +374,6 @@ body#day div#page div#content code { overflow: visible; } - - - div#content h2 { color: #59770e; margin: 0px 0px 2px; @@ -633,14 +610,10 @@ div#footer ul li img { vertical-align: top; } - - div#content ul { list-style: url(/theme/images/bullet_disk_big.png); } - - div.push { clear: both; height: 20px; @@ -709,33 +682,6 @@ div.post-date-4 { background: url(/theme/images/date-bg-4.gif) no-repeat; } -div#members { - position: fixed; - left: -40px; - top: 20px; -} - -div#members ul li { - list-style-type: none; -} - -div#members ul li a { - color: white; - width: 100px; - height: 30px; - padding-right: 5px; - background-image: url(/theme/images/tabBG.png); - display: block; - text-align: right; - padding-top: 5px; - padding-bottom: 0px; - background-repeat: no-repeat; -} - -div#members ul li a:hover { - background-image: url(/theme/images/tabBG2.png); -} - div#content a img { border: solid transparent 1px; } @@ -759,41 +705,6 @@ div.breadcrumb { border-bottom: 1px dotted black; } -.delicious-posts { margin: 1em; padding: 0.5em; font-family: sans-serif; } -.delicious-posts ul, .delicious-posts li, .delicious-banner { margin: 0; padding: 0} -.delicious-post { border-top: 1px solid #eee; padding: 0.25em; font-size: 80% } -.delicious-posts a:hover { text-decoration: underline } - -/* #twitter_div { - margin: 1em; - padding: 0.5em; - font-family: sans-serif; -} */ - -/* #twitter_div ul, #twitter_div li, .twitter-title { - margin: 0; - padding: 0; -} */ - -.twitter_update_list { - list-style-type: none; -} - -.twitter_update_list li { - /* border-top: 1px solid #eee; - padding: 0.25em; */ - display: inline; -} - -/* .twitter-title { - margin-left: -20px; - font-size: 120%; -} */ - -.dispIfNew a:visited img { - display: none; -} - /* Tables */ table.webmail { @@ -821,23 +732,3 @@ table.webmail th { table.webmail td { word-wrap: break-word; } - -/* Print Only */ - -@media print { - body { - width: 100% !important; - } - - div#banner, div#footer, div#members { - display: none; - } - - span.print { - display: inline; - } - - div#cleardiv { - clear: none; - } -} diff --git a/theme/footer.tpl b/theme/footer.tpl index fdf62ad..093affa 100755 --- a/theme/footer.tpl +++ b/theme/footer.tpl @@ -22,38 +22,77 @@
-
+ + - - -