maj.world

maj.world

Git

This commit has been accessed 2,897 times via Git panel.

commit 4af00af973cdffabb863ad65c8aa75647e56f940
tree 1be2914c79881fc33e6a27700017fc21f6470345
parent a343c1200dd37c89738f1c372d61333502ab5057
author Engels Antonio <engels@majcms.org> 1277314212 +0800
committer Engels Antonio <engels@majcms.org> 1277314212 +0800

    maj-1.0-20090624-bb.zip

diff --git a/fonts.php b/fonts.php
index 2018bc1..b63fcc4 100644
--- a/fonts.php
+++ b/fonts.php
@@ -179,6 +179,81 @@ if (!isset($_POST['panel_footer']) or empty($_POST['panel_footer'])) {
        }
 }
 
+if (isset($_POST['body_size']) and is_numeric($_POST['body_size']) and !empty($_POST['body_size']) and (file_get_contents("data/fonts/body-size.txt") != $_POST['body_size']) and ($_POST['body_size'] != "11")) {
+       $body_size_write_content = trim($_POST['body_size']);
+       $fp_body_size_txt = fopen("data/fonts/body-size.txt","w");
+       fwrite($fp_body_size_txt,$body_size_write_content);
+       fclose($fp_body_size_txt);
+}
+
+if (!isset($_POST['body_size']) or empty($_POST['body_size']) or ($_POST['body_size'] == "11")) {
+       if (isset($_POST['edit']) and ($_POST['edit'] == "on")) {
+               if (file_exists("data/fonts/body-size.txt")) {
+                       unlink("data/fonts/body-size.txt");
+               }
+       }
+}
+
+if (isset($_POST['input_size']) and is_numeric($_POST['input_size']) and !empty($_POST['input_size']) and (file_get_contents("data/fonts/input-size.txt") != $_POST['input_size']) and ($_POST['input_size'] != "11")) {
+       $input_size_write_content = trim($_POST['input_size']);
+       $fp_input_size_txt = fopen("data/fonts/input-size.txt","w");
+       fwrite($fp_input_size_txt,$input_size_write_content);
+       fclose($fp_input_size_txt);
+}
+
+if (!isset($_POST['input_size']) or empty($_POST['input_size']) or ($_POST['input_size'] == "11")) {
+       if (isset($_POST['edit']) and ($_POST['edit'] == "on")) {
+               if (file_exists("data/fonts/input-size.txt")) {
+                       unlink("data/fonts/input-size.txt");
+               }
+       }
+}
+
+if (isset($_POST['panel_title_size']) and is_numeric($_POST['panel_title_size']) and !empty($_POST['panel_title_size']) and (file_get_contents("data/fonts/panel-title-size.txt") != $_POST['panel_title_size']) and ($_POST['panel_title_size'] != "12")) {
+       $panel_title_size_write_content = trim($_POST['panel_title_size']);
+       $fp_panel_title_size_txt = fopen("data/fonts/panel-title-size.txt","w");
+       fwrite($fp_panel_title_size_txt,$panel_title_size_write_content);
+       fclose($fp_panel_title_size_txt);
+}
+
+if (!isset($_POST['panel_title_size']) or empty($_POST['panel_title_size']) or ($_POST['panel_title_size'] == "12")) {
+       if (isset($_POST['edit']) and ($_POST['edit'] == "on")) {
+               if (file_exists("data/fonts/panel-title-size.txt")) {
+                       unlink("data/fonts/panel-title-size.txt");
+               }
+       }
+}
+
+if (isset($_POST['panel_body_size']) and is_numeric($_POST['panel_body_size']) and !empty($_POST['panel_body_size']) and (file_get_contents("data/fonts/panel-body-size.txt") != $_POST['panel_body_size']) and ($_POST['panel_body_size'] != "11")) {
+       $panel_body_size_write_content = trim($_POST['panel_body_size']);
+       $fp_panel_body_size_txt = fopen("data/fonts/panel-body-size.txt","w");
+       fwrite($fp_panel_body_size_txt,$panel_body_size_write_content);
+       fclose($fp_panel_body_size_txt);
+}
+
+if (!isset($_POST['panel_body_size']) or empty($_POST['panel_body_size']) or ($_POST['panel_body_size'] == "11")) {
+       if (isset($_POST['edit']) and ($_POST['edit'] == "on")) {
+               if (file_exists("data/fonts/panel-body-size.txt")) {
+                       unlink("data/fonts/panel-body-size.txt");
+               }
+       }
+}
+
+if (isset($_POST['panel_footer_size']) and is_numeric($_POST['panel_footer_size']) and !empty($_POST['panel_footer_size']) and (file_get_contents("data/fonts/panel-footer-size.txt") != $_POST['panel_footer_size']) and ($_POST['panel_footer_size'] != "10")) {
+       $panel_footer_size_write_content = trim($_POST['panel_footer_size']);
+       $fp_panel_footer_size_txt = fopen("data/fonts/panel-footer-size.txt","w");
+       fwrite($fp_panel_footer_size_txt,$panel_footer_size_write_content);
+       fclose($fp_panel_footer_size_txt);
+}
+
+if (!isset($_POST['panel_footer_size']) or empty($_POST['panel_footer_size']) or ($_POST['panel_footer_size'] == "10")) {
+       if (isset($_POST['edit']) and ($_POST['edit'] == "on")) {
+               if (file_exists("data/fonts/panel-footer-size.txt")) {
+                       unlink("data/fonts/panel-footer-size.txt");
+               }
+       }
+}
+
 ?>
 
 <title>Fonts</title>
@@ -513,37 +588,81 @@ a:active {
 <input type=hidden name=edit value=on>
 <table border=0 cellspacing=1 cellpadding=2 bgcolor=#cccccc>
 
-<tr><td bgcolor=#ffffff><p>body</p></td><td bgcolor=#ffffff><input type=text class=input name=body autocomplete=off<?php if (file_exists("data/fonts/body.txt")) {
+<tr><td bgcolor=#ffffff align=center><b>target</b></td><td bgcolor=#ffffff align=center><b>font family</b></td><td bgcolor=#ffffff align=center><b>px</b></td></tr>
+
+<tr>
+<td bgcolor=#ffffff><p>body</p></td>
+<td bgcolor=#ffffff><input type=text class=input name=body autocomplete=off<?php if (file_exists("data/fonts/body.txt")) {
        echo ' value="';
        readfile("data/fonts/body.txt");
        echo '"';
-} ?>></td></tr>
+} ?>></td>
+<td bgcolor=#ffffff><input type="text" class="input" name="body_size" style="width: 25px; text-align: center;" maxlength="2" autocomplete="off" value="<?php if (file_exists("data/fonts/body-size.txt")) {
+       readfile("data/fonts/body-size.txt");
+}
+else {
+       echo "11";
+}
+?>"></td>
+</tr>
 
 <tr><td bgcolor=#ffffff><p>input</p></td><td bgcolor=#ffffff><input type=text class=input name=input autocomplete=off<?php if (file_exists("data/fonts/input.txt")) {
        echo ' value="';
        readfile("data/fonts/input.txt");
        echo '"';
-} ?>></td></tr>
+} ?>></td>
+<td bgcolor=#ffffff><input type="text" class="input" name="input_size" style="width: 25px; text-align: center;" maxlength="2" autocomplete="off" value="<?php if (file_exists("data/fonts/input-size.txt")) {
+       readfile("data/fonts/input-size.txt");
+}
+else {
+       echo "11";
+}
+?>"></td>
+</tr>
 
 <tr><td bgcolor=#ffffff><p>panel title</p></td><td bgcolor=#ffffff><input type=text class=input name=panel_title autocomplete=off<?php if (file_exists("data/fonts/panel-title.txt")) {
        echo ' value="';
        readfile("data/fonts/panel-title.txt");
        echo '"';
-} ?>></td></tr>
+} ?>></td>
+<td bgcolor=#ffffff><input type="text" class="input" name="panel_title_size" style="width: 25px; text-align: center;" maxlength="2" autocomplete="off" value="<?php if (file_exists("data/fonts/panel-title-size.txt")) {
+       readfile("data/fonts/panel-title-size.txt");
+}
+else {
+       echo "12";
+}
+?>"></td>
+</tr>
 
 <tr><td bgcolor=#ffffff><p>panel body</p></td><td bgcolor=#ffffff><input type=text class=input name=panel_body autocomplete=off<?php if (file_exists("data/fonts/panel-body.txt")) {
        echo ' value="';
        readfile("data/fonts/panel-body.txt");
        echo '"';
-} ?>></td></tr>
+} ?>></td>
+<td bgcolor=#ffffff><input type="text" class="input" name="panel_body_size" style="width: 25px; text-align: center;" maxlength="2" autocomplete="off" value="<?php if (file_exists("data/fonts/panel-body-size.txt")) {
+       readfile("data/fonts/panel-body-size.txt");
+}
+else {
+       echo "11";
+}
+?>"></td>
+</tr>
 
 <tr><td bgcolor=#ffffff><p>panel footer</p></td><td bgcolor=#ffffff><input type=text class=input name=panel_footer autocomplete=off<?php if (file_exists("data/fonts/panel-footer.txt")) {
        echo ' value="';
        readfile("data/fonts/panel-footer.txt");
        echo '"';
-} ?>></td></tr>
+} ?>></td>
+<td bgcolor=#ffffff><input type="text" class="input" name="panel_footer_size" style="width: 25px; text-align: center;" maxlength="2" autocomplete="off" value="<?php if (file_exists("data/fonts/panel-footer-size.txt")) {
+       readfile("data/fonts/panel-footer-size.txt");
+}
+else {
+       echo "10";
+}
+?>"></td>
+</tr>
 
-<tr><td bgcolor=#ffffff rowspan=3><p></p></td><td bgcolor=#ffffff><input type=submit class=input value="click here to apply fonts"></td></tr>
+<tr><td bgcolor=#ffffff rowspan=3><p></p></td><td bgcolor=#ffffff><input type=submit class=input value="click here to apply fonts"></td><td bgcolor=#ffffff rowspan=3><p></p></td></tr>
 </form>
 <form action=fonts.php method=post>
 <input type=hidden name=reset value=go>
diff --git a/index.php b/index.php
index 84e8bd7..83317ef 100644
--- a/index.php
+++ b/index.php
@@ -13,300 +13,300 @@ if (isset($_SESSION['logged_in']) and ($_SESSION['user_agent'] != $_SERVER['HTTP
 }
 
 if (get_magic_quotes_gpc()) {
-       function stripslashes_array($data) {
-               if (is_array($data)) {
-                       foreach ($data as $key => $value) {
-                               $data[$key] = stripslashes_array($value);
+       function stripslashes_array($maj_data) {
+               if (is_array($maj_data)) {
+                       foreach ($maj_data as $maj_key => $maj_value) {
+                               $maj_data[$maj_key] = stripslashes_array($maj_value);
                        }
-                       return $data;
+                       return $maj_data;
                }
                else {
-                       return stripslashes($data);
+                       return stripslashes($maj_data);
                }
        }
        $_REQUEST = stripslashes_array($_REQUEST);
 }
 
 if (isset($_REQUEST['entry']) and !empty($_REQUEST['entry'])) {
-       $req_entry = trim($_REQUEST['entry']);
+       $maj_req_entry = trim($_REQUEST['entry']);
 }
 
 if (isset($_REQUEST['show']) and !empty($_REQUEST['show'])) {
-       $req_show = trim($_REQUEST['show']);
+       $maj_req_show = trim($_REQUEST['show']);
 }
 
 if (isset($_REQUEST['find']) and !empty($_REQUEST['find'])) {
-       $req_find = trim($_REQUEST['find']);
-       $req_find = str_replace(" ","-",$req_find);
-       $req_find = strtolower($req_find);
-       $req_find = strip_tags($req_find);
+       $maj_req_find = trim($_REQUEST['find']);
+       $maj_req_find = str_replace(" ","-",$maj_req_find);
+       $maj_req_find = strtolower($maj_req_find);
+       $maj_req_find = strip_tags($maj_req_find);
 }
 
 if (isset($_REQUEST['category']) and !empty($_REQUEST['category'])) {
-       $req_category = trim($_REQUEST['category']);
-       $req_category = str_replace(" ","-",$req_category);
-       $req_category = strtolower($req_category);
-       $req_category = strip_tags($req_category);
+       $maj_req_category = trim($_REQUEST['category']);
+       $maj_req_category = str_replace(" ","-",$maj_req_category);
+       $maj_req_category = strtolower($maj_req_category);
+       $maj_req_category = strip_tags($maj_req_category);
 }
 
 if (isset($_REQUEST['archive']) and !empty($_REQUEST['archive'])) {
-       $req_archive = trim($_REQUEST['archive']);
+       $maj_req_archive = trim($_REQUEST['archive']);
 }
 
 if (isset($_REQUEST['author']) and !empty($_REQUEST['author'])) {
-       $req_author = trim($_REQUEST['author']);
-       $req_author = str_replace(" ","-",$req_author);
-       $req_author = strtolower($req_author);
-       $req_author = strip_tags($req_author);
+       $maj_req_author = trim($_REQUEST['author']);
+       $maj_req_author = str_replace(" ","-",$maj_req_author);
+       $maj_req_author = strtolower($maj_req_author);
+       $maj_req_author = strip_tags($maj_req_author);
 }
 
 if (file_exists("data/offset.txt")) {
-       $offset = file_get_contents("data/offset.txt");
+       $maj_offset = file_get_contents("data/offset.txt");
 }
 else {
-       $offset = 0;
+       $maj_offset = 0;
 }
 
 if (file_exists("data/increase.txt")) {
-       $increase = file_get_contents("data/increase.txt");
+       $maj_increase = file_get_contents("data/increase.txt");
 }
 else {
-       $increase = 5;
+       $maj_increase = 5;
 }
 
 if (file_exists("data/bb.txt") and file_exists("data/avatar.txt")) {
-       $wmain = "610";
+       $maj_wmain = "610";
 }
 else {
-       $wmain = "525";
+       $maj_wmain = "525";
 }
 
-$wside = "175";
-$wspace = "10";
+$maj_wside = "175";
+$maj_wspace = "10";
 
-$wtable = $wside + $wspace + $wmain + $wspace + $wside;
+$maj_wtable = $maj_wside + $maj_wspace + $maj_wmain + $maj_wspace + $maj_wside;
 
-$default_blog_title = "My Activity Journal";
-$default_username = "maj";
-$default_password = "php";
-$default_blog_profile = 'This cool site is powered by <a href="http://maj.sourceforge.net/" target="_maj">My Activity Journal</a>, a simple, <a href="http://php.net/" target="_maj">PHP</a>-based, <a href="http://www.opensource.org/licenses/gpl-license.php" target="_maj">Open Source</a> blog written from scratch as a spare time family project by <a href="http://psylocke.org/" target="_maj">Psylocke</a>, <a href="http://gaffud.com/" target="_maj">Magie</a>, and <a href="http://engels.mortega.net/" target="_maj">Engels</a> Antonio.';
-$default_blog_author = "My Activity Journal";
+$maj_default_blog_title = "My Activity Journal";
+$maj_default_username = "maj";
+$maj_default_password = "php";
+$maj_default_blog_profile = 'This cool site is powered by <a href="http://maj.sourceforge.net/" target="_maj">My Activity Journal</a>, a simple, <a href="http://php.net/" target="_maj">PHP</a>-based, <a href="http://www.opensource.org/licenses/gpl-license.php" target="_maj">Open Source</a> blog written from scratch as a spare time family project by <a href="http://psylocke.org/" target="_maj">Psylocke</a>, <a href="http://gaffud.com/" target="_maj">Magie</a>, and <a href="http://engels.mortega.net/" target="_maj">Engels</a> Antonio.';
+$maj_default_blog_author = "My Activity Journal";
 
 if (!file_exists("data")) {
        mkdir("data");
 }
 
 if (!file_exists("data/.htaccess")) {
-       $htaccess = "Order deny,allow\nDeny from all";
-       $fp_htaccess_txt = fopen("data/.htaccess","w");
-       fwrite($fp_htaccess_txt,$htaccess);
-       fclose($fp_htaccess_txt);
+       $maj_htaccess = "Order deny,allow\nDeny from all";
+       $maj_fp_htaccess_txt = fopen("data/.htaccess","w");
+       fwrite($maj_fp_htaccess_txt,$maj_htaccess);
+       fclose($maj_fp_htaccess_txt);
 }
 
 if (!file_exists("data/title.txt")) {
-       $fp_default_title_txt = fopen("data/title.txt","w");
-       fwrite($fp_default_title_txt,$default_blog_title);
-       fclose($fp_default_title_txt);
+       $maj_fp_default_title_txt = fopen("data/title.txt","w");
+       fwrite($maj_fp_default_title_txt,$maj_default_blog_title);
+       fclose($maj_fp_default_title_txt);
 }
 
 if (!file_exists("data/username.txt")) {
-       $fp_htaccess_txt = fopen("data/username.txt","w");
-       fwrite($fp_htaccess_txt,$default_username);
-       fclose($fp_htaccess_txt);
+       $maj_fp_htaccess_txt = fopen("data/username.txt","w");
+       fwrite($maj_fp_htaccess_txt,$maj_default_username);
+       fclose($maj_fp_htaccess_txt);
 }
 
 if (!file_exists("data/password.txt")) {
-       $default_password = sha1($default_password);
-       $default_password = md5($default_password);
-       $default_password = crypt($default_password,$default_password);
-       $fp_htaccess_txt = fopen("data/password.txt","w");
-       fwrite($fp_htaccess_txt,$default_password);
-       fclose($fp_htaccess_txt);
+       $maj_default_password = sha1($maj_default_password);
+       $maj_default_password = md5($maj_default_password);
+       $maj_default_password = crypt($maj_default_password,$maj_default_password);
+       $maj_fp_htaccess_txt = fopen("data/password.txt","w");
+       fwrite($maj_fp_htaccess_txt,$maj_default_password);
+       fclose($maj_fp_htaccess_txt);
 }
 
 if (!file_exists("data/profile.php")) {
-       $fp_default_profile_txt = fopen("data/profile.php","w");
-       fwrite($fp_default_profile_txt,$default_blog_profile);
-       fclose($fp_default_profile_txt);
+       $maj_fp_default_profile_txt = fopen("data/profile.php","w");
+       fwrite($maj_fp_default_profile_txt,$maj_default_blog_profile);
+       fclose($maj_fp_default_profile_txt);
 }
 
 if (!file_exists("data/author.txt")) {
-       $fp_default_author_txt = fopen("data/author.txt","w");
-       fwrite($fp_default_author_txt,$default_blog_author);
-       fclose($fp_default_author_txt);
+       $maj_fp_default_author_txt = fopen("data/author.txt","w");
+       fwrite($maj_fp_default_author_txt,$maj_default_blog_author);
+       fclose($maj_fp_default_author_txt);
 }
 
-$default_title = file_get_contents("data/title.txt");
-$login_username = file_get_contents("data/username.txt");
+$maj_default_title = file_get_contents("data/title.txt");
+$maj_login_username = file_get_contents("data/username.txt");
 
-if (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) {
+if (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) {
 
        if (file_exists("data/hits.txt")) {
-               $global_hits_count = file_get_contents("data/hits.txt");
+               $maj_global_hits_count = file_get_contents("data/hits.txt");
        }
        else {
-               $global_hits_count = "0";
+               $maj_global_hits_count = "0";
        }
 
-       $global_hits_count = $global_hits_count + 1;
+       $maj_global_hits_count = $maj_global_hits_count + 1;
 
-       $global_hits_file = fopen("data/hits.txt","w");
-       fwrite($global_hits_file,$global_hits_count);
-       fclose($global_hits_file);
+       $maj_global_hits_file = fopen("data/hits.txt","w");
+       fwrite($maj_global_hits_file,$maj_global_hits_count);
+       fclose($maj_global_hits_file);
 }
 
 if (@ereg("Google",$_SERVER['HTTP_USER_AGENT'])) {
 
        if (file_exists("data/google.txt")) {
-               $google_hits_count = file_get_contents("data/google.txt");
+               $maj_google_hits_count = file_get_contents("data/google.txt");
        }
        else {
-               $google_hits_count = "0";
+               $maj_google_hits_count = "0";
        }
 
-       $google_hits_count = $google_hits_count + 1;
+       $maj_google_hits_count = $maj_google_hits_count + 1;
 
-       $google_hits_file = fopen("data/google.txt","w");
-       fwrite($google_hits_file,$google_hits_count);
-       fclose($google_hits_file);
+       $maj_google_hits_file = fopen("data/google.txt","w");
+       fwrite($maj_google_hits_file,$maj_google_hits_count);
+       fclose($maj_google_hits_file);
 }
 
-function str_rand($length = 8,$seeds = 'abcdefghijklmnopqrstuvwxyz0123456789') {
-       $str = '';
-       $seeds_count = strlen($seeds);
+function str_rand($maj_length = 8,$maj_seeds = 'abcdefghijklmnopqrstuvwxyz0123456789') {
+       $maj_str = '';
+       $maj_seeds_count = strlen($maj_seeds);
 
-       list($usec,$sec) = explode(' ',microtime());
-       $seed = (float) $sec + ((float) $usec * 100000);
-       mt_srand($seed);
+       list($maj_usec,$maj_sec) = explode(' ',microtime());
+       $maj_seed = (float) $maj_sec + ((float) $maj_usec * 100000);
+       mt_srand($maj_seed);
 
-       for ($i = 0; $length > $i; $i++) {
-               $str .= $seeds{mt_rand(0,$seeds_count - 1)};
+       for ($maj_i = 0; $maj_length > $maj_i; $maj_i++) {
+               $maj_str .= $maj_seeds{mt_rand(0,$maj_seeds_count - 1)};
        }
-       return $str;
+       return $maj_str;
 }
 
-function rmdirr($recurse_dirname) {
+function rmdirr($maj_recurse_dirname) {
 
-       if (!file_exists($recurse_dirname)) {
+       if (!file_exists($maj_recurse_dirname)) {
                return false;
        }
 
-       if (is_file($recurse_dirname)) {
-               return unlink($recurse_dirname);
+       if (is_file($maj_recurse_dirname)) {
+               return unlink($maj_recurse_dirname);
        }
 
-       $recurse_dir = dir($recurse_dirname);
+       $maj_recurse_dir = dir($maj_recurse_dirname);
 
-       while (false !== $recurse_entry = $recurse_dir->read()) {
+       while (false !== $maj_recurse_entry = $maj_recurse_dir->read()) {
 
-               if ($recurse_entry == '.' || $recurse_entry == '..') {
+               if ($maj_recurse_entry == '.' || $maj_recurse_entry == '..') {
                        continue;
                }
 
-               rmdirr("$recurse_dirname/$recurse_entry");
+               rmdirr("$maj_recurse_dirname/$maj_recurse_entry");
        }
 
-       $recurse_dir->close();
-       return rmdir($recurse_dirname);
+       $maj_recurse_dir->close();
+       return rmdir($maj_recurse_dirname);
 }
 
 if (isset($_REQUEST['download']) and !empty($_REQUEST['download'])) {
        ini_set("zlib.output_compression","off");
-       $dl_file = str_replace("../","",@$_REQUEST['download']);
-       go_download($dl_file);
+       $maj_dl_file = str_replace("../","",@$_REQUEST['download']);
+       go_download($maj_dl_file);
        die();
 }
 
-function go_download($dl_file) {
+function go_download($maj_dl_file) {
 
-       $req_entry = trim($_REQUEST['entry']);
+       $maj_req_entry = trim($_REQUEST['entry']);
 
        if (isset($_REQUEST['type']) and !empty($_REQUEST['type']) and ($_REQUEST['type'] == "pdf")) {
-               $dl_path = "data/items/$req_entry/pdf/file";
-               $count_path = "data/items/$req_entry/pdf/count";
-               $count_file = "dl.txt";
+               $maj_dl_path = "data/items/$maj_req_entry/pdf/file";
+               $maj_count_path = "data/items/$maj_req_entry/pdf/count";
+               $maj_count_file = "dl.txt";
        }
 
        if (isset($_REQUEST['type']) and !empty($_REQUEST['type']) and ($_REQUEST['type'] == "filedrop")) {
-               $dl_path = "data/items/$req_entry/filedrop/files";
-               $count_path = "data/items/$req_entry/filedrop/count";
-               $count_file = "{$dl_file}.txt";
+               $maj_dl_path = "data/items/$maj_req_entry/filedrop/files";
+               $maj_count_path = "data/items/$maj_req_entry/filedrop/count";
+               $maj_count_file = "{$maj_dl_file}.txt";
        }
 
-       $dl_file_size = filesize("$dl_path/$dl_file");
+       $maj_dl_file_size = filesize("$maj_dl_path/$maj_dl_file");
 
        header("Cache-Control: ");
        header("Pragma: ");
        header("Content-type: application/octet-stream");
-       header("Content-Disposition: attachment; filename=$dl_file");
-       header("Content-length: $dl_file_size");
+       header("Content-Disposition: attachment; filename=$maj_dl_file");
+       header("Content-length: $maj_dl_file_size");
 
-       $get_it = fopen("$dl_path/$dl_file","rb");
+       $maj_get_it = fopen("$maj_dl_path/$maj_dl_file","rb");
 
-       while (!feof($get_it)) {
-               $buf = fread($get_it,4096);
-               echo $buf;
-               $bytes_sent += strlen($buf);
+       while (!feof($maj_get_it)) {
+               $maj_buf = fread($maj_get_it,4096);
+               echo $maj_buf;
+               $maj_bytes_sent += strlen($maj_buf);
        }
 
-       if ($bytes_sent == $dl_file_size) {
+       if ($maj_bytes_sent == $maj_dl_file_size) {
 
-               if (!file_exists($count_path)) {
-                       mkdir($count_path);
+               if (!file_exists($maj_count_path)) {
+                       mkdir($maj_count_path);
                }
 
-               $unique_downloads = "$count_path/$count_file";
+               $maj_unique_downloads = "$maj_count_path/$maj_count_file";
 
-               if (file_exists($unique_downloads)) {
-                       $count_unique_downloads = file_get_contents($unique_downloads);
+               if (file_exists($maj_unique_downloads)) {
+                       $maj_count_unique_downloads = file_get_contents($maj_unique_downloads);
                }
                else {
-                       $count_unique_downloads = "0";
+                       $maj_count_unique_downloads = "0";
                }
 
-               $count_unique_downloads = $count_unique_downloads + 1;
+               $maj_count_unique_downloads = $maj_count_unique_downloads + 1;
 
-               $fp_unique_downloads = fopen($unique_downloads,"w");
-               fwrite($fp_unique_downloads,$count_unique_downloads);
-               fclose($fp_unique_downloads);
+               $maj_fp_unique_downloads = fopen($maj_unique_downloads,"w");
+               fwrite($maj_fp_unique_downloads,$maj_count_unique_downloads);
+               fclose($maj_fp_unique_downloads);
        }
 }
 
-function entry2date($f_entry) {
+function entry2date($maj_f_entry) {
 
-       $f_entry_year = substr($f_entry,0,4);
-       $f_entry_month = substr($f_entry,4,2);
-       $f_entry_day = substr($f_entry,6,2);
-       $f_entry_hour = substr($f_entry,8,2);
-       $f_entry_min = substr($f_entry,10,2);
-       $f_entry_sec = substr($f_entry,12,2);
+       $maj_f_entry_year = substr($maj_f_entry,0,4);
+       $maj_f_entry_month = substr($maj_f_entry,4,2);
+       $maj_f_entry_day = substr($maj_f_entry,6,2);
+       $maj_f_entry_hour = substr($maj_f_entry,8,2);
+       $maj_f_entry_min = substr($maj_f_entry,10,2);
+       $maj_f_entry_sec = substr($maj_f_entry,12,2);
 
-       echo date("l, M j, Y, g:i A",mktime($f_entry_hour,$f_entry_min,$f_entry_sec,$f_entry_month,$f_entry_day,$f_entry_year));
+       echo date("l, M j, Y, g:i A",mktime($maj_f_entry_hour,$maj_f_entry_min,$maj_f_entry_sec,$maj_f_entry_month,$maj_f_entry_day,$maj_f_entry_year));
 }
 
-if (isset($req_entry) and !empty($req_entry) and isset($_REQUEST['comment']) and !empty($_REQUEST['comment']) and isset($_REQUEST['key']) and !empty($_REQUEST['key']) and isset($_REQUEST['action']) and !empty($_REQUEST['action'])) {
+if (isset($maj_req_entry) and !empty($maj_req_entry) and isset($_REQUEST['comment']) and !empty($_REQUEST['comment']) and isset($_REQUEST['key']) and !empty($_REQUEST['key']) and isset($_REQUEST['action']) and !empty($_REQUEST['action'])) {
 
-               $comment_dir = "data/items/$req_entry/comments/pending/{$_REQUEST['comment']}";
+               $maj_comment_dir = "data/items/$maj_req_entry/comments/pending/{$_REQUEST['comment']}";
 
-               $login_key = file_get_contents("$comment_dir/key.txt");
+               $maj_login_key = file_get_contents("$maj_comment_dir/key.txt");
 
-               if ($_REQUEST['key'] == $login_key) {
+               if ($_REQUEST['key'] == $maj_login_key) {
 
                        if ($_REQUEST['action'] == "approve") {
 
-                               $live_dir = "data/items/$req_entry/comments/live/{$_REQUEST['comment']}";
+                               $maj_live_dir = "data/items/$maj_req_entry/comments/live/{$_REQUEST['comment']}";
 
-                               if (!file_exists("data/items/$req_entry/comments/live")) {
-                                       mkdir("data/items/$req_entry/comments/live");
+                               if (!file_exists("data/items/$maj_req_entry/comments/live")) {
+                                       mkdir("data/items/$maj_req_entry/comments/live");
                                }
 
-                               if (!file_exists("data/items/$req_entry/comments/live/{$_REQUEST['comment']}")) {
-                                       mkdir("data/items/$req_entry/comments/live/{$_REQUEST['comment']}");
+                               if (!file_exists("data/items/$maj_req_entry/comments/live/{$_REQUEST['comment']}")) {
+                                       mkdir("data/items/$maj_req_entry/comments/live/{$_REQUEST['comment']}");
                                }
 
-                               rename($comment_dir,$live_dir);
+                               rename($maj_comment_dir,$maj_live_dir);
 
-                               unlink("$live_dir/key.txt");
+                               unlink("$maj_live_dir/key.txt");
 
                                // clean-up old latest comments dir
 
@@ -322,363 +322,363 @@ if (isset($req_entry) and !empty($req_entry) and isset($_REQUEST['comment']) and
                                                mkdir("data/comments/unread");
                                        }
 
-                                       if (!file_exists("data/comments/unread/$req_entry")) {
-                                               mkdir("data/comments/unread/$req_entry");
+                                       if (!file_exists("data/comments/unread/$maj_req_entry")) {
+                                               mkdir("data/comments/unread/$maj_req_entry");
                                        }
                       
-                                       if ($dh_unread_active_members = opendir("data/members/active")) {
+                                       if ($maj_dh_unread_active_members = opendir("data/members/active")) {
                       
-                                               while (($unread_active_member = readdir($dh_unread_active_members)) !== false) {
+                                               while (($maj_unread_active_member = readdir($maj_dh_unread_active_members)) !== false) {
                       
-                                                       if ($unread_active_member != "." && $unread_active_member != "..") {
+                                                       if ($maj_unread_active_member != "." && $maj_unread_active_member != "..") {
                                                               
-                                                               if (!file_exists("data/members/active/$unread_active_member/comments")) {
-                                                                       mkdir("data/members/active/$unread_active_member/comments");
+                                                               if (!file_exists("data/members/active/$maj_unread_active_member/comments")) {
+                                                                       mkdir("data/members/active/$maj_unread_active_member/comments");
                                                                }
 
-                                                               if (!file_exists("data/members/active/$unread_active_member/comments/unread")) {
-                                                                       mkdir("data/members/active/$unread_active_member/comments/unread");
+                                                               if (!file_exists("data/members/active/$maj_unread_active_member/comments/unread")) {
+                                                                       mkdir("data/members/active/$maj_unread_active_member/comments/unread");
                                                                }
 
-                                                               if (!file_exists("data/members/active/$unread_active_member/comments/unread/$req_entry")) {
-                                                                       mkdir("data/members/active/$unread_active_member/comments/unread/$req_entry");
+                                                               if (!file_exists("data/members/active/$maj_unread_active_member/comments/unread/$maj_req_entry")) {
+                                                                       mkdir("data/members/active/$maj_unread_active_member/comments/unread/$maj_req_entry");
                                                                }
                                                        }
                                                }
-                                               closedir($dh_unread_active_members);
+                                               closedir($maj_dh_unread_active_members);
                                        }
                                }
 
-                               $private_categories = "0";
+                               $maj_private_categories = "0";
 
-                               if (file_exists("data/items/$req_entry/categories")) {
+                               if (file_exists("data/items/$maj_req_entry/categories")) {
                       
-                                       if ($dh_entry_categories = opendir("data/items/$req_entry/categories")) {
+                                       if ($maj_dh_entry_categories = opendir("data/items/$maj_req_entry/categories")) {
                       
-                                               while (($entry_category = readdir($dh_entry_categories)) !== false) {
+                                               while (($maj_entry_category = readdir($maj_dh_entry_categories)) !== false) {
                       
-                                                       if ($entry_category != "." && $entry_category != "..") {
+                                                       if ($maj_entry_category != "." && $maj_entry_category != "..") {
                       
-                                                               if (file_exists("data/categories/$entry_category/private.txt")) {
-                                                                       $private_categories = $private_categories + 1;
+                                                               if (file_exists("data/categories/$maj_entry_category/private.txt")) {
+                                                                       $maj_private_categories = $maj_private_categories + 1;
                                                                }
                                                        }
                                                }
-                                               closedir($dh_entry_categories);
+                                               closedir($maj_dh_entry_categories);
                                        }
                                }
 
-                               if (file_exists("data/members/active") and file_exists("data/ml.txt") and file_exists("data/email.txt") and !file_exists("data/items/$req_entry/private.txt") and ($private_categories == "0")) {
+                               if (file_exists("data/members/active") and file_exists("data/ml.txt") and file_exists("data/email.txt") and !file_exists("data/items/$maj_req_entry/private.txt") and ($maj_private_categories == "0")) {
 
                                        if (file_exists("data/ml-reply2.txt")) {
-                                               $ml_reply2 = file_get_contents("data/ml-reply2.txt");
+                                               $maj_ml_reply2 = file_get_contents("data/ml-reply2.txt");
                                        }
 
                                        if (file_exists("data/ml-from.txt")) {
-                                               $ml_from = $ml_reply2;
+                                               $maj_ml_from = $maj_ml_reply2;
                                        }
                                        else {
-                                               $ml_from = file_get_contents("$live_dir/email.txt");
+                                               $maj_ml_from = file_get_contents("$maj_live_dir/email.txt");
                                        }
 
-                                       $ml_from = str_replace(" at ","@",$ml_from);
+                                       $maj_ml_from = str_replace(" at ","@",$maj_ml_from);
 
-                                       $ml_from_firstname = file_get_contents("$live_dir/firstname.txt");
-                                       $ml_from_lastname = file_get_contents("$live_dir/lastname.txt");
+                                       $maj_ml_from_firstname = file_get_contents("$maj_live_dir/firstname.txt");
+                                       $maj_ml_from_lastname = file_get_contents("$maj_live_dir/lastname.txt");
 
-                                       $ml_from = '"' . "$ml_from_firstname $ml_from_lastname" . '" <' . $ml_from . '>';
+                                       $maj_ml_from = '"' . "$maj_ml_from_firstname $maj_ml_from_lastname" . '" <' . $maj_ml_from . '>';
 
-                                       $ml_subject = file_get_contents("data/items/$req_entry/title.txt");
+                                       $maj_ml_subject = file_get_contents("data/items/$maj_req_entry/title.txt");
 
                                        if (file_exists("data/ml-prepend.txt")) {
-                                               $ml_prepend = file_get_contents("data/ml-prepend.txt");
-                                               $ml_subject = str_replace($ml_prepend,"",$ml_subject);
-                                               $ml_subject = $ml_prepend . " " . $ml_subject;
-                                       }
-
-                                       $ml_subject = str_replace("Re:","",$ml_subject);
-                                       $ml_subject = "Re: " . $ml_subject;
-
-                                       $ml_mailer = 'MAJ/0.14 (PHP/' . phpversion() . ')';
-
-                                       $ml_body = file_get_contents("$live_dir/comment.txt");
-                                       $ml_body = str_replace('<br />',"\n",$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/crying.png" border="0">',':((',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/frown.png" border="0">',':(',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/indifferent.png" border="0">',':|',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/laughing.png" border="0">',':D',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/lick.png" border="0">',':P',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/ohno.png" border="0">',':O',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/smile.png" border="0">',':)',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/surprised.png" border="0">','=)',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/undecided.png" border="0">',':\\',$ml_body);
-                                       $ml_body = str_replace('<img src="images/smileys/wink.png" border="0">',';)',$ml_body);
-                                       $ml_body = str_replace('&amp;','&',$ml_body);
-                                       $ml_body = str_replace('&lt;','<',$ml_body);
-                                       $ml_body = str_replace('&gt;','>',$ml_body);
-                                       $ml_body = str_replace('&reg;','(R)',$ml_body);
+                                               $maj_ml_prepend = file_get_contents("data/ml-prepend.txt");
+                                               $maj_ml_subject = str_replace($maj_ml_prepend,"",$maj_ml_subject);
+                                               $maj_ml_subject = $maj_ml_prepend . " " . $maj_ml_subject;
+                                       }
+
+                                       $maj_ml_subject = str_replace("Re:","",$maj_ml_subject);
+                                       $maj_ml_subject = "Re: " . $maj_ml_subject;
+
+                                       $maj_ml_mailer = 'MAJ/0.14 (PHP/' . phpversion() . ')';
+
+                                       $maj_ml_body = file_get_contents("$maj_live_dir/comment.txt");
+                                       $maj_ml_body = str_replace('<br />',"\n",$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/crying.png" border="0">',':((',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/frown.png" border="0">',':(',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/indifferent.png" border="0">',':|',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/laughing.png" border="0">',':D',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/lick.png" border="0">',':P',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/ohno.png" border="0">',':O',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/smile.png" border="0">',':)',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/surprised.png" border="0">','=)',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/undecided.png" border="0">',':\\',$maj_ml_body);
+                                       $maj_ml_body = str_replace('<img src="images/smileys/wink.png" border="0">',';)',$maj_ml_body);
+                                       $maj_ml_body = str_replace('&amp;','&',$maj_ml_body);
+                                       $maj_ml_body = str_replace('&lt;','<',$maj_ml_body);
+                                       $maj_ml_body = str_replace('&gt;','>',$maj_ml_body);
+                                       $maj_ml_body = str_replace('&reg;','(R)',$maj_ml_body);
 
                                        if (file_exists("data/pf.txt") and file_exists("data/pf-badwords.txt")) {
 
-                                               $badwords = file_get_contents("data/pf-badwords.txt");
+                                               $maj_badwords = file_get_contents("data/pf-badwords.txt");
 
                                                if (file_exists("data/pf-censor.txt")) {
-                                                       $censor = file_get_contents("data/pf-censor.txt");
+                                                       $maj_censor = file_get_contents("data/pf-censor.txt");
                                                }
                                                else {
-                                                       $censor = "[expletive]";
+                                                       $maj_censor = "[expletive]";
                                                }
 
-                                               $ml_body = preg_replace("/\b($badwords)\b/i",$censor,$ml_body);
+                                               $maj_ml_body = preg_replace("/\b($maj_badwords)\b/i",$maj_censor,$maj_ml_body);
                                        }
 
                                        if (file_exists("data/ml-header.txt")) {
-                                               $ml_header = file_get_contents("data/ml-header.txt");
-                                               $ml_body = $ml_header . "\n\n" . $ml_body;
+                                               $maj_ml_header = file_get_contents("data/ml-header.txt");
+                                               $maj_ml_body = $maj_ml_header . "\n\n" . $maj_ml_body;
                                        }
 
-                                       $ml_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
-                                       $ml_url = str_replace('//','/',$ml_url);
-                                       $ml_url = "http://$ml_url/index.php?entry=$req_entry&show=comments";
+                                       $maj_ml_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
+                                       $maj_ml_url = str_replace('//','/',$maj_ml_url);
+                                       $maj_ml_url = "http://$maj_ml_url/index.php?entry=$maj_req_entry&show=comments";
 
-                                       $ml_body = $ml_body . "\n\nPlease visit the following URL for the full thread:\n\n" . $ml_url;
+                                       $maj_ml_body = $maj_ml_body . "\n\nPlease visit the following URL for the full thread:\n\n" . $maj_ml_url;
 
-                                       if (file_exists("data/items/$req_entry/member.txt")) {
-                                               $ml_body = $ml_body . "\n\nYou need to login first to view the entry or to add a comment.";
+                                       if (file_exists("data/items/$maj_req_entry/member.txt")) {
+                                               $maj_ml_body = $maj_ml_body . "\n\nYou need to login first to view the entry or to add a comment.";
                                        }
 
                                        if (file_exists("data/ml-footer.txt")) {
-                                               $ml_footer = file_get_contents("data/ml-footer.txt");
-                                               $ml_body = $ml_body . "\n\n" . $ml_footer;
+                                               $maj_ml_footer = file_get_contents("data/ml-footer.txt");
+                                               $maj_ml_body = $maj_ml_body . "\n\n" . $maj_ml_footer;
                                        }
 
 
-                                       if ($dh_ml_member = opendir("data/members/active")) {
-                                               while (($ml_member = readdir($dh_ml_member)) !== false) {
-                                                       if ($ml_member != "." && $ml_member != "..") {
+                                       if ($maj_dh_ml_member = opendir("data/members/active")) {
+                                               while (($maj_ml_member = readdir($maj_dh_ml_member)) !== false) {
+                                                       if ($maj_ml_member != "." && $maj_ml_member != "..") {
 
-                                                               if (file_exists("data/members/active/$ml_member/noml.txt")) {
+                                                               if (file_exists("data/members/active/$maj_ml_member/noml.txt")) {
                                                                        continue;
                                                                }
 
-                                                               if (file_exists("data/members/active/$ml_member/vacation.txt")) {
+                                                               if (file_exists("data/members/active/$maj_ml_member/vacation.txt")) {
                                                                        continue;
                                                                }
 
-                                                               $ml_to_firstname = file_get_contents("data/members/active/$ml_member/firstname.txt");
-                                                               $ml_to_lastname = file_get_contents("data/members/active/$ml_member/lastname.txt");
-                                                               $ml_to = file_get_contents("data/members/active/$ml_member/email.txt");
-                                                               $ml_to = '"' . "$ml_to_firstname $ml_to_lastname" . '" <'. $ml_to . '>';
+                                                               $maj_ml_to_firstname = file_get_contents("data/members/active/$maj_ml_member/firstname.txt");
+                                                               $maj_ml_to_lastname = file_get_contents("data/members/active/$maj_ml_member/lastname.txt");
+                                                               $maj_ml_to = file_get_contents("data/members/active/$maj_ml_member/email.txt");
+                                                               $maj_ml_to = '"' . "$maj_ml_to_firstname $maj_ml_to_lastname" . '" <'. $maj_ml_to . '>';
 
                                                                if (file_exists("data/ml-reply2.txt")) {
-                                                                       mail($ml_to,$ml_subject,$ml_body,
-                                                                       "From: $ml_from\r\n" .
-                                                                       "Reply-To: $ml_reply2\r\n" .
-                                                                       "References: $req_entry\r\n" .
-                                                                       "X-Mailer: $ml_mailer");
+                                                                       mail($maj_ml_to,$maj_ml_subject,$maj_ml_body,
+                                                                       "From: $maj_ml_from\r\n" .
+                                                                       "Reply-To: $maj_ml_reply2\r\n" .
+                                                                       "References: $maj_req_entry\r\n" .
+                                                                       "X-Mailer: $maj_ml_mailer");
                                                                }
                                                                else {
-                                                                       mail($ml_to,$ml_subject,$ml_body,
-                                                                       "From: $ml_from\r\n" .
-                                                                       "References: $req_entry\r\n" .
-                                                                       "X-Mailer: $ml_mailer");
+                                                                       mail($maj_ml_to,$maj_ml_subject,$maj_ml_body,
+                                                                       "From: $maj_ml_from\r\n" .
+                                                                       "References: $maj_req_entry\r\n" .
+                                                                       "X-Mailer: $maj_ml_mailer");
                                                                }
                                                        }
                                                }
-                                               closedir($dh_ml_member);
+                                               closedir($maj_dh_ml_member);
                                        }
                                }
 
                        }
 
                        if ($_REQUEST['action'] == "delete") {
-                               rmdirr($comment_dir);
+                               rmdirr($maj_comment_dir);
                        }
 
-                       $pending_comment_flag_dir = $req_entry;
+                       $maj_pending_comment_flag_dir = $maj_req_entry;
 
-                       $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag_dir/count.txt","r");
-                       $comment_count_value = fread($fp_comment_count_txt,filesize("data/comments/pending/$pending_comment_flag_dir/count.txt"));
-                       fclose($fp_comment_count_txt);
+                       $maj_fp_comment_count_txt = fopen("data/comments/pending/$maj_pending_comment_flag_dir/count.txt","r");
+                       $maj_comment_count_value = fread($maj_fp_comment_count_txt,filesize("data/comments/pending/$maj_pending_comment_flag_dir/count.txt"));
+                       fclose($maj_fp_comment_count_txt);
 
-                       if ($comment_count_value <= 1) {
-                               rmdirr("data/comments/pending/$pending_comment_flag_dir");
+                       if ($maj_comment_count_value <= 1) {
+                               rmdirr("data/comments/pending/$maj_pending_comment_flag_dir");
                        }
                        else {
-                               $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag_dir/count.txt","r");
-                               $comment_count_value = fread($fp_comment_count_txt,filesize("data/comments/pending/$pending_comment_flag_dir/count.txt"));
-                               fclose($fp_comment_count_txt);
+                               $maj_fp_comment_count_txt = fopen("data/comments/pending/$maj_pending_comment_flag_dir/count.txt","r");
+                               $maj_comment_count_value = fread($maj_fp_comment_count_txt,filesize("data/comments/pending/$maj_pending_comment_flag_dir/count.txt"));
+                               fclose($maj_fp_comment_count_txt);
 
-                               $comment_count_value = $comment_count_value - 1;
+                               $maj_comment_count_value = $maj_comment_count_value - 1;
 
-                               $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag_dir/count.txt","w");
-                               fwrite($fp_comment_count_txt,$comment_count_value);
-                               fclose($fp_comment_count_txt);
+                               $maj_fp_comment_count_txt = fopen("data/comments/pending/$maj_pending_comment_flag_dir/count.txt","w");
+                               fwrite($maj_fp_comment_count_txt,$maj_comment_count_value);
+                               fclose($maj_fp_comment_count_txt);
                        }
 
-                       header("Location: index.php?entry=$req_entry&show=comments");
+                       header("Location: index.php?entry=$maj_req_entry&show=comments");
                }
 }
 
-if (isset($req_entry) and !empty($req_entry)) {
+if (isset($maj_req_entry) and !empty($maj_req_entry)) {
 
-       if (file_exists("data/items/$req_entry")) {
+       if (file_exists("data/items/$maj_req_entry")) {
 
-               $title = file_get_contents("data/items/$req_entry/title.txt");
+               $maj_title = file_get_contents("data/items/$maj_req_entry/title.txt");
 
-               echo "<title>$title</title>";
+               echo "<title>$maj_title</title>";
 
-               if ((!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+               if ((!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
 
-                       if (file_exists("data/items/$req_entry/views.txt")) {
-                               $count_views = file_get_contents("data/items/$req_entry/views.txt");
+                       if (file_exists("data/items/$maj_req_entry/views.txt")) {
+                               $maj_count_views = file_get_contents("data/items/$maj_req_entry/views.txt");
                        }
                        else {
-                               $count_views = "0";
+                               $maj_count_views = "0";
                        }
 
-                       $count_views = $count_views + 1;
+                       $maj_count_views = $maj_count_views + 1;
 
-                       $fp_views = fopen("data/items/$req_entry/views.txt","w");
-                       fwrite($fp_views,$count_views);
-                       fclose($fp_views);
+                       $maj_fp_views = fopen("data/items/$maj_req_entry/views.txt","w");
+                       fwrite($maj_fp_views,$maj_count_views);
+                       fclose($maj_fp_views);
                }
               
-               if (isset($req_show) and !empty($req_show) and isset($_POST['captcha_put']) and !empty($_REQUEST['captcha_get']) and isset($_POST['firstname']) and !empty($_POST['firstname']) and isset($_POST['lastname']) and !empty($_POST['lastname']) and isset($_POST['email']) and !empty($_POST['email']) and isset($_POST['new_comment']) and !empty($_POST['new_comment']) and isset($_POST['captcha_put']) and !empty($_POST['captcha_put']) and ($_REQUEST['captcha_get'] == $_POST['captcha_put']) and (ereg("@",$_POST['email'])) and (ereg("\.",$_POST['email']))) {
+               if (isset($maj_req_show) and !empty($maj_req_show) and isset($_POST['captcha_put']) and !empty($_REQUEST['captcha_get']) and isset($_POST['firstname']) and !empty($_POST['firstname']) and isset($_POST['lastname']) and !empty($_POST['lastname']) and isset($_POST['email']) and !empty($_POST['email']) and isset($_POST['new_comment']) and !empty($_POST['new_comment']) and isset($_POST['captcha_put']) and !empty($_POST['captcha_put']) and ($_REQUEST['captcha_get'] == $_POST['captcha_put']) and (ereg("@",$_POST['email'])) and (ereg("\.",$_POST['email']))) {
               
-                       if (!file_exists("data/items/$req_entry/comments")) {
-                               mkdir("data/items/$req_entry/comments");
+                       if (!file_exists("data/items/$maj_req_entry/comments")) {
+                               mkdir("data/items/$maj_req_entry/comments");
                        }
 
-                       if (!file_exists("data/items/$req_entry/comments/pending")) {
-                               mkdir("data/items/$req_entry/comments/pending");
+                       if (!file_exists("data/items/$maj_req_entry/comments/pending")) {
+                               mkdir("data/items/$maj_req_entry/comments/pending");
                        }
 
-                       if (!file_exists("data/items/$req_entry/comments/live")) {
-                               mkdir("data/items/$req_entry/comments/live");
+                       if (!file_exists("data/items/$maj_req_entry/comments/live")) {
+                               mkdir("data/items/$maj_req_entry/comments/live");
                        }
 
-                       $timestamp = date("l, M j, Y, g:i A",time() + $offset);
+                       $maj_timestamp = date("l, M j, Y, g:i A",time() + $maj_offset);
       
-                       $comment_entry_dir = date("YmdHis",time() + $offset);
+                       $maj_comment_entry_dir = date("YmdHis",time() + $maj_offset);
       
-                       mkdir("data/items/$req_entry/comments/pending/$comment_entry_dir");
+                       mkdir("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir");
       
-                       $body_content = ucfirst($_POST['new_comment']);
-                       $body_content = htmlentities($body_content,ENT_NOQUOTES);
-                       $body_content = str_replace("\n",'<br />',$body_content);
-                       $body_content = trim($body_content);
-                       $body_content = str_replace(':((','<img src="images/smileys/crying.png" border="0">',$body_content);
-                       $body_content = str_replace(':(','<img src="images/smileys/frown.png" border="0">',$body_content);
-                       $body_content = str_replace(':|','<img src="images/smileys/indifferent.png" border="0">',$body_content);
-                       $body_content = str_replace(':D','<img src="images/smileys/laughing.png" border="0">',$body_content);
-                       $body_content = str_replace(':P','<img src="images/smileys/lick.png" border="0">',$body_content);
-                       $body_content = str_replace(':O','<img src="images/smileys/ohno.png" border="0">',$body_content);
-                       $body_content = str_replace(':)','<img src="images/smileys/smile.png" border="0">',$body_content);
-                       $body_content = str_replace('=)','<img src="images/smileys/surprised.png" border="0">',$body_content);
-                       $body_content = str_replace(':\\','<img src="images/smileys/undecided.png" border="0">',$body_content);
-                       $body_content = str_replace(';)','<img src="images/smileys/wink.png" border="0">',$body_content);
-
-                       $fp_body_txt = fopen("data/items/$req_entry/comments/pending/$comment_entry_dir/comment.txt","w");
-                       fwrite($fp_body_txt,$body_content);
-                       fclose($fp_body_txt);
-
-                       $fp_timestamp_txt = fopen("data/items/$req_entry/comments/pending/$comment_entry_dir/timestamp.txt","w");
-                       fwrite($fp_timestamp_txt,$timestamp);
-                       fclose($fp_timestamp_txt);
-
-                       $fp_firstname_txt = fopen("data/items/$req_entry/comments/pending/$comment_entry_dir/firstname.txt","w");
-                       $firstname = strtolower($_POST['firstname']);
-                       $firstname = ucwords($firstname);
-                       $firstname = trim($firstname);
-                       $firstname = htmlentities($firstname,ENT_NOQUOTES);
-                       fwrite($fp_firstname_txt,$firstname);
-                       fclose($fp_firstname_txt);
-
-                       $fp_lastname_txt = fopen("data/items/$req_entry/comments/pending/$comment_entry_dir/lastname.txt","w");
-                       $lastname = strtolower($_POST['lastname']);
-                       $lastname = ucwords($lastname);
-                       $lastname = trim($lastname);
-                       $lastname = htmlentities($lastname,ENT_NOQUOTES);
-                       fwrite($fp_lastname_txt,$lastname);
-                       fclose($fp_lastname_txt);
-
-                       $fp_email_txt = fopen("data/items/$req_entry/comments/pending/$comment_entry_dir/email.txt","w");
-                       $email = strtolower($_POST['email']);
-                       $email = trim($email);
-                       $email = htmlentities($email,ENT_NOQUOTES);
-                       fwrite($fp_email_txt,$email);
-                       fclose($fp_email_txt);
+                       $maj_body_content = ucfirst($_POST['new_comment']);
+                       $maj_body_content = htmlentities($maj_body_content,ENT_NOQUOTES);
+                       $maj_body_content = str_replace("\n",'<br />',$maj_body_content);
+                       $maj_body_content = trim($maj_body_content);
+                       $maj_body_content = str_replace(':((','<img src="images/smileys/crying.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace(':(','<img src="images/smileys/frown.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace(':|','<img src="images/smileys/indifferent.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace(':D','<img src="images/smileys/laughing.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace(':P','<img src="images/smileys/lick.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace(':O','<img src="images/smileys/ohno.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace(':)','<img src="images/smileys/smile.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace('=)','<img src="images/smileys/surprised.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace(':\\','<img src="images/smileys/undecided.png" border="0">',$maj_body_content);
+                       $maj_body_content = str_replace(';)','<img src="images/smileys/wink.png" border="0">',$maj_body_content);
+
+                       $maj_fp_body_txt = fopen("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir/comment.txt","w");
+                       fwrite($maj_fp_body_txt,$maj_body_content);
+                       fclose($maj_fp_body_txt);
+
+                       $maj_fp_timestamp_txt = fopen("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir/timestamp.txt","w");
+                       fwrite($maj_fp_timestamp_txt,$maj_timestamp);
+                       fclose($maj_fp_timestamp_txt);
+
+                       $maj_fp_firstname_txt = fopen("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir/firstname.txt","w");
+                       $maj_firstname = strtolower($_POST['firstname']);
+                       $maj_firstname = ucwords($maj_firstname);
+                       $maj_firstname = trim($maj_firstname);
+                       $maj_firstname = htmlentities($maj_firstname,ENT_NOQUOTES);
+                       fwrite($maj_fp_firstname_txt,$maj_firstname);
+                       fclose($maj_fp_firstname_txt);
+
+                       $maj_fp_lastname_txt = fopen("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir/lastname.txt","w");
+                       $maj_lastname = strtolower($_POST['lastname']);
+                       $maj_lastname = ucwords($maj_lastname);
+                       $maj_lastname = trim($maj_lastname);
+                       $maj_lastname = htmlentities($maj_lastname,ENT_NOQUOTES);
+                       fwrite($maj_fp_lastname_txt,$maj_lastname);
+                       fclose($maj_fp_lastname_txt);
+
+                       $maj_fp_email_txt = fopen("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir/email.txt","w");
+                       $maj_email = strtolower($_POST['email']);
+                       $maj_email = trim($maj_email);
+                       $maj_email = htmlentities($maj_email,ENT_NOQUOTES);
+                       fwrite($maj_fp_email_txt,$maj_email);
+                       fclose($maj_fp_email_txt);
 
                        if (isset($_POST['url']) and !empty($_POST['url']) and (ereg("\.",$_POST['url']))) {
-                               $fp_url_txt = fopen("data/items/$req_entry/comments/pending/$comment_entry_dir/url.txt","w");
-                               $url = str_replace("http://","",$_POST['url']);
-                               $url = strtolower($url);
-                               $url = trim($url);
-                               $url = "http://" . $url;
-                               $url = htmlentities($url,ENT_NOQUOTES);
-                               fwrite($fp_url_txt,$url);
-                               fclose($fp_url_txt);
+                               $maj_fp_url_txt = fopen("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir/url.txt","w");
+                               $maj_url = str_replace("http://","",$_POST['url']);
+                               $maj_url = strtolower($maj_url);
+                               $maj_url = trim($maj_url);
+                               $maj_url = "http://" . $maj_url;
+                               $maj_url = htmlentities($maj_url,ENT_NOQUOTES);
+                               fwrite($maj_fp_url_txt,$maj_url);
+                               fclose($maj_fp_url_txt);
                        }
 
                        if (isset($_POST['cauthor']) and !empty($_POST['cauthor'])) {
-                               $fp_cauthor_txt = fopen("data/items/$req_entry/comments/pending/$comment_entry_dir/author.txt","w");
-                               fwrite($fp_cauthor_txt,$_POST['cauthor']);
-                               fclose($fp_cauthor_txt);
+                               $maj_fp_cauthor_txt = fopen("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir/author.txt","w");
+                               fwrite($maj_fp_cauthor_txt,$_POST['cauthor']);
+                               fclose($maj_fp_cauthor_txt);
                        }
 
-                       $key_rand = str_rand(14);
-                       $fp_key_txt = fopen("data/items/$req_entry/comments/pending/$comment_entry_dir/key.txt","w");
-                       fwrite($fp_key_txt,$key_rand);
-                       fclose($fp_key_txt);
+                       $maj_key_rand = str_rand(14);
+                       $maj_fp_key_txt = fopen("data/items/$maj_req_entry/comments/pending/$maj_comment_entry_dir/key.txt","w");
+                       fwrite($maj_fp_key_txt,$maj_key_rand);
+                       fclose($maj_fp_key_txt);
 
-                       $comment_quote = ucfirst($_POST['new_comment']);
+                       $maj_comment_quote = ucfirst($_POST['new_comment']);
       
-                       $sig_author_file = "data/author.txt";
-                       $fp_sig_author = fopen($sig_author_file,"r");
-                       $sig_author = fread($fp_sig_author,filesize($sig_author_file));
-                       fclose($fp_sig_author);
+                       $maj_sig_author_file = "data/author.txt";
+                       $maj_fp_sig_author = fopen($maj_sig_author_file,"r");
+                       $maj_sig_author = fread($maj_fp_sig_author,filesize($maj_sig_author_file));
+                       fclose($maj_fp_sig_author);
       
-                       $sig_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
-                       $sig_url = str_replace('//','/',$sig_url);
-                       $sig_url = "http://" . $sig_url;
+                       $maj_sig_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
+                       $maj_sig_url = str_replace('//','/',$maj_sig_url);
+                       $maj_sig_url = "http://" . $maj_sig_url;
 
-                       $email_to = strtolower($_POST['email']);
-                       $email_to = '"' . "$firstname $lastname" . '" <' . $email_to . '>';
+                       $maj_email_to = strtolower($_POST['email']);
+                       $maj_email_to = '"' . "$maj_firstname $maj_lastname" . '" <' . $maj_email_to . '>';
 
                        if (file_exists("data/email.txt")) {
-                               $from_email_author = file_get_contents("data/author.txt");
-                               $from_email = file_get_contents("data/email.txt");
-                               $from_email = '"' . $from_email_author . '" <' . $from_email . '>';
+                               $maj_from_email_author = file_get_contents("data/author.txt");
+                               $maj_from_email = file_get_contents("data/email.txt");
+                               $maj_from_email = '"' . $maj_from_email_author . '" <' . $maj_from_email . '>';
                        }
 
-                       $mailer = 'MAJ/0.14 (PHP/' . phpversion() . ')';
+                       $maj_mailer = 'MAJ/0.14 (PHP/' . phpversion() . ')';
       
-                       $commented_entry_title_file = "data/items/$req_entry/title.txt";
-                       $fp_commented_entry_title = fopen($commented_entry_title_file,"r");
-                       $commented_entry_title = fread($fp_commented_entry_title,filesize($commented_entry_title_file));
-                       fclose($fp_commented_entry_title);
+                       $maj_commented_entry_title_file = "data/items/$maj_req_entry/title.txt";
+                       $maj_fp_commented_entry_title = fopen($maj_commented_entry_title_file,"r");
+                       $maj_commented_entry_title = fread($maj_fp_commented_entry_title,filesize($maj_commented_entry_title_file));
+                       fclose($maj_fp_commented_entry_title);
 
                        if (!file_exists("data/nak.txt") and file_exists("data/email.txt")) {
 
-                               $comment_thanks = "Hi $firstname,\n\nThanks for submitting the following comment last $timestamp:\n\n\"$comment_quote\"\n\nIt will be e-mailed to me first for approval. Please visit the following URL to see if it has been posted:\n\n{$sig_url}index.php?entry=$req_entry&show=comments\n\nThanks again! =)\n\n--\n$sig_author\n$sig_url\n";
-                               $comment_thanks = wordwrap($comment_thanks);
+                               $maj_comment_thanks = "Hi $maj_firstname,\n\nThanks for submitting the following comment last $maj_timestamp:\n\n\"$maj_comment_quote\"\n\nIt will be e-mailed to me first for approval. Please visit the following URL to see if it has been posted:\n\n{$maj_sig_url}index.php?entry=$maj_req_entry&show=comments\n\nThanks again! =)\n\n--\n$maj_sig_author\n$maj_sig_url\n";
+                               $maj_comment_thanks = wordwrap($maj_comment_thanks);
 
-                               mail($email_to,"Thanks for sharing your thoughts!",$comment_thanks,
-                                       "From: $from_email\r\n" .
-                                       "Reply-To: $from_email\r\n" .
-                                       "X-Mailer: $mailer");
+                               mail($maj_email_to,"Thanks for sharing your thoughts!",$maj_comment_thanks,
+                                       "From: $maj_from_email\r\n" .
+                                       "Reply-To: $maj_from_email\r\n" .
+                                       "X-Mailer: $maj_mailer");
                        }
 
                        if (file_exists("data/email.txt") and !file_exists("data/xscreen.txt")) {
 
-                               $comment_notice = "The following comment was submitted by $email_to last $timestamp for the entry \"$commented_entry_title\":\n\n\"$comment_quote\"\n\nVisit the link below to approve and post this pending comment:\n\n{$sig_url}index.php?entry=$req_entry&comment={$comment_entry_dir}&key={$key_rand}&action=approve\n\nVisit the link below to disapprove and delete this pending comment:\n\n{$sig_url}index.php?entry=$req_entry&comment={$comment_entry_dir}&key={$key_rand}&action=delete\n\nYou can also approve or disapprove pending comments at a later time by logging on to your blog.";
-                               $comment_notice = wordwrap($comment_notice);
+                               $maj_comment_notice = "The following comment was submitted by $maj_email_to last $maj_timestamp for the entry \"$maj_commented_entry_title\":\n\n\"$maj_comment_quote\"\n\nVisit the link below to approve and post this pending comment:\n\n{$maj_sig_url}index.php?entry=$maj_req_entry&comment={$maj_comment_entry_dir}&key={$maj_key_rand}&action=approve\n\nVisit the link below to disapprove and delete this pending comment:\n\n{$maj_sig_url}index.php?entry=$maj_req_entry&comment={$maj_comment_entry_dir}&key={$maj_key_rand}&action=delete\n\nYou can also approve or disapprove pending comments at a later time by logging on to your blog.";
+                               $maj_comment_notice = wordwrap($maj_comment_notice);
       
-                               mail($from_email,"Pending Comment",$comment_notice,
-                                       "From: $from_email\r\n" .
-                                       "Reply-To: $from_email\r\n" .
-                                       "X-Mailer: $mailer");
+                               mail($maj_from_email,"Pending Comment",$maj_comment_notice,
+                                       "From: $maj_from_email\r\n" .
+                                       "Reply-To: $maj_from_email\r\n" .
+                                       "X-Mailer: $maj_mailer");
                        }
 
                        if (!file_exists("data/comments")) {
@@ -689,60 +689,60 @@ if (isset($req_entry) and !empty($req_entry)) {
                                mkdir("data/comments/pending");
                        }
 
-                       $pending_comment_flag = $req_entry;
+                       $maj_pending_comment_flag = $maj_req_entry;
       
-                       if (!file_exists("data/comments/pending/$pending_comment_flag")) {
-                               mkdir("data/comments/pending/$pending_comment_flag");
+                       if (!file_exists("data/comments/pending/$maj_pending_comment_flag")) {
+                               mkdir("data/comments/pending/$maj_pending_comment_flag");
                        }
 
-                       if (file_exists("data/comments/pending/$pending_comment_flag/count.txt")) {
-                               $comment_count_value = file_get_contents("data/comments/pending/$pending_comment_flag/count.txt");
+                       if (file_exists("data/comments/pending/$maj_pending_comment_flag/count.txt")) {
+                               $maj_comment_count_value = file_get_contents("data/comments/pending/$maj_pending_comment_flag/count.txt");
                        }
                        else {
-                               $comment_count_value = "0";
+                               $maj_comment_count_value = "0";
                        }
 
-                       $comment_count_value = $comment_count_value + 1;
+                       $maj_comment_count_value = $maj_comment_count_value + 1;
 
-                       $fp_comment_count_txt = fopen("data/comments/pending/$pending_comment_flag/count.txt","w");
-                       fwrite($fp_comment_count_txt,$comment_count_value);
-                       fclose($fp_comment_count_txt);
+                       $maj_fp_comment_count_txt = fopen("data/comments/pending/$maj_pending_comment_flag/count.txt","w");
+                       fwrite($maj_fp_comment_count_txt,$maj_comment_count_value);
+                       fclose($maj_fp_comment_count_txt);
                }
        }
 }
 else {
-       echo "<title>$default_title</title>";
+       echo "<title>$maj_default_title</title>";
 }
 
 if (file_exists("data/comments/pending") and file_exists("data/xscreen.txt")) {
 
-       if ($dh_xscreen_comments = opendir("data/comments/pending")) {
+       if ($maj_dh_xscreen_comments = opendir("data/comments/pending")) {
 
-               while (($xscreen_comment = readdir($dh_xscreen_comments)) !== false) {
+               while (($maj_xscreen_comment = readdir($maj_dh_xscreen_comments)) !== false) {
 
-                       if ($xscreen_comment != "." && $xscreen_comment != "..") {
-                               $xscreen_comments[] = $xscreen_comment;
+                       if ($maj_xscreen_comment != "." && $maj_xscreen_comment != "..") {
+                               $maj_xscreen_comments[] = $maj_xscreen_comment;
                        }
                }
-               closedir($dh_xscreen_comments);
+               closedir($maj_dh_xscreen_comments);
        }
 
-       rsort($xscreen_comments);
-       reset($xscreen_comments);
+       rsort($maj_xscreen_comments);
+       reset($maj_xscreen_comments);
 
-       if (count($xscreen_comments) > 0) {
+       if (count($maj_xscreen_comments) > 0) {
 
-               foreach ($xscreen_comments as $xscreen_dir) {
+               foreach ($maj_xscreen_comments as $maj_xscreen_dir) {
 
-                       if ($dh_xscreen_pending = opendir("data/items/$xscreen_dir/comments/pending")) {
+                       if ($maj_dh_xscreen_pending = opendir("data/items/$maj_xscreen_dir/comments/pending")) {
 
-                               while (($xscreen_entry = readdir($dh_xscreen_pending)) !== false) {
+                               while (($maj_xscreen_entry = readdir($maj_dh_xscreen_pending)) !== false) {
                                       
-                                       if ($xscreen_entry != "." && $xscreen_entry != "..") {
+                                       if ($maj_xscreen_entry != "." && $maj_xscreen_entry != "..") {
 
-                                               $xscreen_key = file_get_contents("data/items/$xscreen_dir/comments/pending/$xscreen_entry/key.txt");
+                                               $maj_xscreen_key = file_get_contents("data/items/$maj_xscreen_dir/comments/pending/$maj_xscreen_entry/key.txt");
 
-                                               header("Location: index.php?entry={$xscreen_dir}&comment={$xscreen_entry}&key={$xscreen_key}&action=approve");
+                                               header("Location: index.php?entry={$maj_xscreen_dir}&comment={$maj_xscreen_entry}&key={$maj_xscreen_key}&action=approve");
                                        }
                                }
                        }
@@ -751,101 +751,145 @@ if (file_exists("data/comments/pending") and file_exists("data/xscreen.txt")) {
        }
 }
 
-if (isset($req_entry) and !empty($req_entry) and file_exists("data/items/$req_entry")) {
+if (isset($maj_req_entry) and !empty($maj_req_entry) and file_exists("data/items/$maj_req_entry")) {
 
-       $private_categories = "0";
+       $maj_private_categories = "0";
 
-       if (file_exists("data/items/$req_entry/categories")) {
+       if (file_exists("data/items/$maj_req_entry/categories")) {
                       
-               if ($dh_entry_categories = opendir("data/items/$req_entry/categories")) {
+               if ($maj_dh_entry_categories = opendir("data/items/$maj_req_entry/categories")) {
                       
-                       while (($entry_category = readdir($dh_entry_categories)) !== false) {
+                       while (($maj_entry_category = readdir($maj_dh_entry_categories)) !== false) {
                       
-                               if ($entry_category != "." && $entry_category != "..") {
+                               if ($maj_entry_category != "." && $maj_entry_category != "..") {
                       
-                                       if (file_exists("data/categories/$entry_category/private.txt")) {
-                                               $private_categories = $private_categories + 1;
+                                       if (file_exists("data/categories/$maj_entry_category/private.txt")) {
+                                               $maj_private_categories = $maj_private_categories + 1;
                                        }
                                }
                        }
-                       closedir($dh_entry_categories);
+                       closedir($maj_dh_entry_categories);
                }
        }
 
 
-       if ($private_categories == "0") {
+       if ($maj_private_categories == "0") {
 
-               if (!file_exists("data/items/$req_entry/passwd.txt")) {
+               if (!file_exists("data/items/$maj_req_entry/passwd.txt")) {
 
-                       if (!file_exists("data/items/$req_entry/private.txt")) {
+                       if (!file_exists("data/items/$maj_req_entry/private.txt")) {
 
-                               $description = file_get_contents("data/items/$req_entry/body.txt");
-                               $description = strip_tags($description);
-                               $description = html_entity_decode($description);
-                               $description = str_replace("&","&amp;",$description);
-                               $description = str_replace("<","&lt;",$description);
-                               $description = str_replace(">","&gt;",$description);
-                               $description = str_replace("<br />"," ",$description);
-                               $description = str_replace("<br>"," ",$description);
-                               $description = str_replace("\r"," ",$description);
-                               $description = str_replace("\n"," ",$description);
-                               $description = str_replace(chr(10)," ",$description);
-                               $description = str_replace(chr(13)," ",$description);
-                               $description = trim($description);
-                               $description = substr($description,0,210);
-                               $description = htmlentities($description,ENT_NOQUOTES);
+                               $maj_description = file_get_contents("data/items/$maj_req_entry/body.txt");
+                               $maj_description = strip_tags($maj_description);
+                               $maj_description = html_entity_decode($maj_description);
+                               $maj_description = str_replace("&","&amp;",$maj_description);
+                               $maj_description = str_replace("<","&lt;",$maj_description);
+                               $maj_description = str_replace(">","&gt;",$maj_description);
+                               $maj_description = str_replace("<br />"," ",$maj_description);
+                               $maj_description = str_replace("<br>"," ",$maj_description);
+                               $maj_description = str_replace("\r"," ",$maj_description);
+                               $maj_description = str_replace("\n"," ",$maj_description);
+                               $maj_description = str_replace(chr(10)," ",$maj_description);
+                               $maj_description = str_replace(chr(13)," ",$maj_description);
+                               $maj_description = trim($maj_description);
+                               $maj_description = substr($maj_description,0,210);
+                               $maj_description = htmlentities($maj_description,ENT_NOQUOTES);
 
                                if (file_exists("data/pf.txt") and file_exists("data/pf-badwords.txt") and (!isset($_SESSION['logged_in']) or empty($_SESSION['logged_in']) or (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != file_get_contents("data/username.txt"))))) {
 
-                                       $badwords = file_get_contents("data/pf-badwords.txt");
+                                       $maj_badwords = file_get_contents("data/pf-badwords.txt");
 
                                        if (file_exists("data/pf-censor.txt")) {
-                                               $censor = file_get_contents("data/pf-censor.txt");
+                                               $maj_censor = file_get_contents("data/pf-censor.txt");
                                        }
                                        else {
-                                               $censor = "[expletive]";
+                                               $maj_censor = "[expletive]";
                                        }
 
-                                       $description = preg_replace("/\b($badwords)\b/i",$censor,$description);
+                                       $maj_description = preg_replace("/\b($maj_badwords)\b/i",$maj_censor,$maj_description);
                                }
 
-                               echo "<meta name=\"description\" content=\"{$description}\">";
+                               echo "<meta name=\"description\" content=\"{$maj_description}\">";
                        }
                }
        }
 }
 
+if (file_exists("data/fonts/body-size.txt")) {
+       $maj_body_px = file_get_contents("data/fonts/body-size.txt") . "px";
+}
+else {
+       $maj_body_px = "11px";
+}
+
+if (file_exists("data/fonts/input-size.txt")) {
+       $maj_input_px = file_get_contents("data/fonts/input-size.txt") . "px";
+}
+else {
+       $maj_input_px = "11px";
+}
+
+if (file_exists("data/fonts/panel-title-size.txt")) {
+       $maj_font_12px = file_get_contents("data/fonts/panel-title-size.txt") . "px";
+}
+else {
+       $maj_font_12px = "12px";
+}
+
+if (file_exists("data/fonts/panel-body-size.txt")) {
+       $maj_font_11px = file_get_contents("data/fonts/panel-body-size.txt") . "px";
+}
+else {
+       $maj_font_11px = "11px";
+}
+
+if (file_exists("data/fonts/panel-footer-size.txt")) {
+       $maj_font_10px = file_get_contents("data/fonts/panel-footer-size.txt") . "px";
+}
+else {
+       $maj_font_10px = "10px";
+}
+
 ?>
 
 <style>
 
+html {
+       font-size: <?php echo $maj_font_11px; ?>;
+}
+
 body {
+       margin: 0px 0px 10px 10px;
+       padding: 0px;
+       text-align: left;
+
+       font-size: <?php echo $maj_body_px; ?>;
+
        color: <?php
                        if (file_exists("data/colors/font.txt")) {
-                               $font_color = file_get_contents("data/colors/font.txt");
-                               echo $font_color;
+                               $maj_font_color = file_get_contents("data/colors/font.txt");
+                               echo $maj_font_color;
                        }
                        else {
                                echo "#666666";
                        }
        ?>;
-       margin: 0px 0px 10px 10px;
-       padding: 0px;
-       text-align: left;
+
        font-family: <?php
                                if (file_exists("data/fonts/body.txt")) {
-                                       $font_body = file_get_contents("data/fonts/body.txt");
-                                       echo "{$font_body},";
+                                       $maj_font_body = file_get_contents("data/fonts/body.txt");
+                                       echo "{$maj_font_body},";
                                }
        ?> arial,helvetica,sans-serif;
+
        background-color: <?php
                                if (file_exists("data/colors/bg.txt")) {
-                                       $background_color = file_get_contents("data/colors/bg.txt");
-                                       if ($background_color == "transparent") {
+                                       $maj_background_color = file_get_contents("data/colors/bg.txt");
+                                       if ($maj_background_color == "transparent") {
                                                echo "#ffffff";
                                        }
                                        else {
-                                               echo $background_color;
+                                               echo $maj_background_color;
                                        }
                                }
                                else {
@@ -879,7 +923,7 @@ body {
 }
 
 p,td {
-       font-size: 11px;
+       font-size: <?php echo $maj_font_11px; ?>;
 }
 
 a {
@@ -890,8 +934,8 @@ a {
 a:link {
        color: <?php
                        if (file_exists("data/colors/link.txt")) {
-                               $a_link_color = file_get_contents("data/colors/link.txt");
-                               echo $a_link_color;
+                               $maj_a_link_color = file_get_contents("data/colors/link.txt");
+                               echo $maj_a_link_color;
                        }
                        else {
                                echo "#666666";
@@ -902,8 +946,8 @@ a:link {
 a:visited {
        color: <?php
                        if (file_exists("data/colors/vlink.txt")) {
-                               $a_visited_color = file_get_contents("data/colors/vlink.txt");
-                               echo $a_visited_color;
+                               $maj_a_visited_color = file_get_contents("data/colors/vlink.txt");
+                               echo $maj_a_visited_color;
                        }
                        else {
                                echo "#666666";
@@ -914,8 +958,8 @@ a:visited {
 a:hover {
        color: <?php
                        if (file_exists("data/colors/hover.txt")) {
-                               $a_hover_color = file_get_contents("data/colors/hover.txt");
-                               echo $a_hover_color;
+                               $maj_a_hover_color = file_get_contents("data/colors/hover.txt");
+                               echo $maj_a_hover_color;
                        }
                        else {
                                echo "#336699";
@@ -926,8 +970,8 @@ a:hover {
 a:active {
        color: <?php
                        if (file_exists("data/colors/hover.txt")) {
-                               $a_active_color = file_get_contents("data/colors/hover.txt");
-                               echo $a_active_color;
+                               $maj_a_active_color = file_get_contents("data/colors/hover.txt");
+                               echo $maj_a_active_color;
                        }
                        else {
                                echo "#336699";
@@ -940,60 +984,67 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
        text-decoration: none;
 }
 
-#panel_title {
+.panel_title {
+       padding: 5px 5px 5px 5px;
+       margin: 0px 0px 0px 0px;
+       border-width: 1px 1px 0px 1px;
+       border-style: solid solid none solid;
+       font-weight: bold;
+
+       font-size: <?php echo $maj_font_12px; ?>;
+
        font-family: <?php
                                if (file_exists("data/fonts/panel-title.txt")) {
-                                       $font_panel_title = file_get_contents("data/fonts/panel-title.txt");
-                                       echo "{$font_panel_title},";
+                                       $maj_font_panel_title = file_get_contents("data/fonts/panel-title.txt");
+                                       echo "{$maj_font_panel_title},";
                                }
        ?> arial,helvetica,sans-serif;
-       font-size: 12px;
-       font-weight: bold;
+
        color: <?php
                        if (file_exists("data/colors/pt-font.txt")) {
-                               $panel_title_font_color = file_get_contents("data/colors/pt-font.txt");
-                               echo $panel_title_font_color;
+                               $maj_panel_title_font_color = file_get_contents("data/colors/pt-font.txt");
+                               echo $maj_panel_title_font_color;
                        }
                        else {
                                echo "#666666";
                        }
        ?>;
-       padding: 5px 5px 5px 5px;
+
        background-color: <?php
                                if (file_exists("data/colors/pt-bg.txt")) {
-                                       $panel_title_background_color = file_get_contents("data/colors/pt-bg.txt");
-                                       echo $panel_title_background_color;
+                                       $maj_panel_title_background_color = file_get_contents("data/colors/pt-bg.txt");
+                                       echo $maj_panel_title_background_color;
                                }
                                else {
                                        echo "transparent";
                                }
        ?>;
-       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");
-                                       echo $panel_title_border_color;
+                                       $maj_panel_title_border_color = file_get_contents("data/colors/border.txt");
+                                       echo $maj_panel_title_border_color;
                                }
                                else {
                                        echo "#cccccc";
                                }
        ?>;
-       border-width: 1px 1px 0px 1px;
-       border-style: solid solid none solid;
 }
 
-#panel_body {
+.panel_body {
+       font-size: <?php echo $maj_font_11px; ?>;
+
        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},";
+                                       $maj_font_panel_body = file_get_contents("data/fonts/panel-body.txt");
+                                       echo "{$maj_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;
+                               $maj_panel_body_font_color = file_get_contents("data/colors/pb-font.txt");
+                               echo $maj_panel_body_font_color;
                        }
                        else {
                                echo "#666666";
@@ -1008,10 +1059,11 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
                        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;
+                                       $maj_panel_body_background_color = file_get_contents("data/colors/pb-bg.txt");
+                                       echo $maj_panel_body_background_color;
                                }
                                else {
                                        echo "transparent";
@@ -1029,13 +1081,14 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
 
        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;
+                               $maj_panel_body_border_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_panel_body_border_color;
                        }
                        else {
                                echo "#cccccc";
                        }
        ?>;
+
        <?php
                if (file_exists("data/round.txt")) {
                        echo 'border-width: 1px 1px 0px 1px;';
@@ -1048,23 +1101,30 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
        ?>
 }
 
-#panel_footer {
+.panel_footer {
+       text-align: right;
+
+       font-size: <?php echo $maj_font_10px; ?>;
+
        font-family: <?php
                                if (file_exists("data/fonts/panel-footer.txt")) {
-                                       $font_panel_footer = file_get_contents("data/fonts/panel-footer.txt");
-                                       echo "{$font_panel_footer},";
+                                       $maj_font_panel_footer = file_get_contents("data/fonts/panel-footer.txt");
+                                       echo "{$maj_font_panel_footer},";
                                }
        ?> arial,helvetica,sans-serif;
-       font-size: 10px;
+
+
+
        color: <?php
                        if (file_exists("data/colors/pf-font.txt")) {
-                               $panel_footer_font_color = file_get_contents("data/colors/pf-font.txt");
-                               echo $panel_footer_font_color;
+                               $maj_panel_footer_font_color = file_get_contents("data/colors/pf-font.txt");
+                               echo $maj_panel_footer_font_color;
                        }
                        else {
                                echo "#999999";
                        }
        ?>;
+
        <?php
                if (file_exists("data/round.txt")) {
                        echo 'padding: 5px 5px 2px 5px;';
@@ -1073,10 +1133,11 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
                        echo 'padding: 5px 5px 5px 5px;';
                }
        ?>
+
        background-color: <?php
                                if (file_exists("data/colors/pf-bg.txt")) {
-                                       $panel_footer_background_color = file_get_contents("data/colors/pf-bg.txt");
-                                       echo $panel_footer_background_color;
+                                       $maj_panel_footer_background_color = file_get_contents("data/colors/pf-bg.txt");
+                                       echo $maj_panel_footer_background_color;
                                }
                                else {
                                        echo "transparent";
@@ -1094,13 +1155,14 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
 
        border-color: <?php
                                if (file_exists("data/colors/border.txt")) {
-                                       $panel_footer_border_color = file_get_contents("data/colors/border.txt");
-                                       echo $panel_footer_border_color;
+                                       $maj_panel_footer_border_color = file_get_contents("data/colors/border.txt");
+                                       echo $maj_panel_footer_border_color;
                                }
                                else {
                                        echo "#cccccc";
                                }
        ?>;
+
        <?php
                if (file_exists("data/round.txt")) {
                        echo 'border-width: 1px 1px 0px 1px;';
@@ -1111,37 +1173,40 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
                        echo 'border-style: none solid solid solid;';
                }
        ?>
-       text-align: right;
 }
 
 .input {      
+       width: 300px;
+       background: #ffffff;
+
+       font-size: <?php echo $maj_input_px; ?>;
+
        color: <?php
                        if (file_exists("data/colors/border.txt")) {
-                               $input_color = file_get_contents("data/colors/border.txt");
-                               echo $input_color;
+                               $maj_input_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_input_color;
                        }
                        else {
                                echo "#666666";
                        }
        ?>;
-       background: #ffffff;
+
        border: <?php
                        if (file_exists("data/colors/border.txt")) {
-                               $panel_footer_border_color = file_get_contents("data/colors/border.txt");
-                               echo $panel_footer_border_color;
+                               $maj_panel_footer_border_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_panel_footer_border_color;
                        }
                        else {
                                echo "#999999";
                        }
        ?> solid 1px;
-       width: 300px;
+
        font-family: <?php
                                if (file_exists("data/fonts/input.txt")) {
-                                       $font_input = file_get_contents("data/fonts/input.txt");
-                                       echo "{$font_input},";
+                                       $maj_font_input = file_get_contents("data/fonts/input.txt");
+                                       echo "{$maj_font_input},";
                                }
        ?> arial,helvetica,sans-serif;
-       font-size: 11px;
 }
 
 .search {      
@@ -1149,16 +1214,17 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
        background: #ffffff;
        width: 100%;
 
+       font-size: <?php echo $maj_font_11px; ?>;
+
        font-family: <?php
                                if (file_exists("data/fonts/input.txt")) {
-                                       $font_input = file_get_contents("data/fonts/input.txt");
-                                       echo "{$font_input},";
+                                       $maj_font_input = file_get_contents("data/fonts/input.txt");
+                                       echo "{$maj_font_input},";
                                }
        ?> arial,helvetica,sans-serif;
-       font-size: 11px;
 }
 
-#panel_free {
+.panel_free {
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 10px 0px;
 }
@@ -1187,21 +1253,23 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
 }
 
 .rb2t,.rb3t,.rb4t {
+       border-left: 1px solid;
+       border-right: 1px solid;
+
        background-color: <?php
                                if (file_exists("data/colors/pt-bg.txt")) {
-                                       $panel_title_background_color = file_get_contents("data/colors/pt-bg.txt");
-                                       echo $panel_title_background_color;
+                                       $maj_panel_title_background_color = file_get_contents("data/colors/pt-bg.txt");
+                                       echo $maj_panel_title_background_color;
                                }
                                else {
                                        echo "transparent";
                                }
        ?>;
-       border-left: 1px solid;
-       border-right: 1px solid;
+
        border-color: <?php
                        if (file_exists("data/colors/border.txt")) {
-                               $panel_title_border_color = file_get_contents("data/colors/border.txt");
-                               echo $panel_title_border_color;
+                               $maj_panel_title_border_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_panel_title_border_color;
                        }
                        else {
                                echo "#cccccc";
@@ -1210,21 +1278,23 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
 }
 
 .rb2b,.rb3b,.rb4b {
+       border-left: 1px solid;
+       border-right: 1px solid;
+
        background-color: <?php
                                if (file_exists("data/colors/pb-bg.txt")) {
-                                       $panel_title_background_color = file_get_contents("data/colors/pb-bg.txt");
-                                       echo $panel_title_background_color;
+                                       $maj_panel_title_background_color = file_get_contents("data/colors/pb-bg.txt");
+                                       echo $maj_panel_title_background_color;
                                }
                                else {
                                        echo "transparent";
                                }
        ?>;
-       border-left: 1px solid;
-       border-right: 1px solid;
+
        border-color: <?php
                        if (file_exists("data/colors/border.txt")) {
-                               $panel_title_border_color = file_get_contents("data/colors/border.txt");
-                               echo $panel_title_border_color;
+                               $maj_panel_title_border_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_panel_title_border_color;
                        }
                        else {
                                echo "#cccccc";
@@ -1233,21 +1303,23 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
 }
 
 .rb2e,.rb3e,.rb4e {
+       border-left: 1px solid;
+       border-right: 1px solid;
+
        background-color: <?php
                                if (file_exists("data/colors/pf-bg.txt")) {
-                                       $panel_title_background_color = file_get_contents("data/colors/pf-bg.txt");
-                                       echo $panel_title_background_color;
+                                       $maj_panel_title_background_color = file_get_contents("data/colors/pf-bg.txt");
+                                       echo $maj_panel_title_background_color;
                                }
                                else {
                                        echo "transparent";
                                }
        ?>;
-       border-left: 1px solid;
-       border-right: 1px solid;
+
        border-color: <?php
                        if (file_exists("data/colors/border.txt")) {
-                               $panel_title_border_color = file_get_contents("data/colors/border.txt");
-                               echo $panel_title_border_color;
+                               $maj_panel_title_border_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_panel_title_border_color;
                        }
                        else {
                                echo "#cccccc";
@@ -1257,10 +1329,11 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
 
 .rb1t,.rb1b,.rb1e {
        margin: 0 5px;
+
        background: <?php
                        if (file_exists("data/colors/border.txt")) {
-                               $panel_title_border_color = file_get_contents("data/colors/border.txt");
-                               echo $panel_title_border_color;
+                               $maj_panel_title_border_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_panel_title_border_color;
                        }
                        else {
                                echo "#cccccc";
@@ -1288,34 +1361,40 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
        border-width:0 1px;
        padding: 1px 5px 5px 5px;
        font-weight: bold;
+
+       font-size: <?php echo $maj_font_12px; ?>;
+
        font-family: <?php
                                if (file_exists("data/fonts/panel-title.txt")) {
-                                       $font_panel_title = file_get_contents("data/fonts/panel-title.txt");
-                                       echo "{$font_panel_title},";
+                                       $maj_font_panel_title = file_get_contents("data/fonts/panel-title.txt");
+                                       echo "{$maj_font_panel_title},";
                                }
        ?> arial,helvetica,sans-serif;
+
        color: <?php
                        if (file_exists("data/colors/pt-font.txt")) {
-                               $panel_title_font_color = file_get_contents("data/colors/pt-font.txt");
-                               echo $panel_title_font_color;
+                               $maj_panel_title_font_color = file_get_contents("data/colors/pt-font.txt");
+                               echo $maj_panel_title_font_color;
                        }
                        else {
                                echo "#666666";
                        }
        ?>;
+
        background-color: <?php
                                if (file_exists("data/colors/pt-bg.txt")) {
-                                       $panel_title_background_color = file_get_contents("data/colors/pt-bg.txt");
-                                       echo $panel_title_background_color;
+                                       $maj_panel_title_background_color = file_get_contents("data/colors/pt-bg.txt");
+                                       echo $maj_panel_title_background_color;
                                }
                                else {
                                        echo "transparent";
                                }
        ?>;
+
        border-color: <?php
                        if (file_exists("data/colors/border.txt")) {
-                               $panel_title_border_color = file_get_contents("data/colors/border.txt");
-                               echo $panel_title_border_color;
+                               $maj_panel_title_border_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_panel_title_border_color;
                        }
                        else {
                                echo "#cccccc";
@@ -1327,23 +1406,28 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
        height: 3px;
 }
 
-#panel_entry_body {
+.panel_entry_body {
+       margin: 0px 0px 0px 0px;
+
+       font-size: <?php echo $maj_font_11px; ?>;
+
        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},";
+                                       $maj_font_panel_body = file_get_contents("data/fonts/panel-body.txt");
+                                       echo "{$maj_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;
+                               $maj_panel_body_font_color = file_get_contents("data/colors/pb-font.txt");
+                               echo $maj_panel_body_font_color;
                        }
                        else {
                                echo "#666666";
                        }
        ?>;
+
        <?php
                if (file_exists("data/round.txt")) {
                        echo 'padding: 5px 5px 2px 5px;';
@@ -1352,25 +1436,27 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
                        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;
+                                       $maj_panel_body_background_color = file_get_contents("data/colors/pb-bg.txt");
+                                       echo $maj_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;
+                               $maj_panel_body_border_color = file_get_contents("data/colors/border.txt");
+                               echo $maj_panel_body_border_color;
                        }
                        else {
                                echo "#cccccc";
                        }
        ?>;
+
        <?php
                if (file_exists("data/round.txt")) {
                        echo 'border-width: 1px 1px 0px 1px;';
@@ -1383,47 +1469,50 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
        ?>
 }
 
-#panel_category {
+.panel_category {
+       padding: 5px 5px 5px 5px;
+       margin: 0px 0px 0px 0px;
+       text-align: left;
+
+       font-size: <?php echo $maj_font_10px; ?>;
+
        font-family: <?php
                                if (file_exists("data/fonts/panel-footer.txt")) {
-                                       $font_panel_category = file_get_contents("data/fonts/panel-footer.txt");
-                                       echo "{$font_panel_category},";
+                                       $maj_font_panel_category = file_get_contents("data/fonts/panel-footer.txt");
+                                       echo "{$maj_font_panel_category},";
                                }
        ?> arial,helvetica,sans-serif;
-       font-size: 10px;
+
        color: <?php
                        if (file_exists("data/colors/pf-font.txt")) {
-                               $panel_category_font_color = file_get_contents("data/colors/pf-font.txt");
-                               echo $panel_category_font_color;
+                               $maj_panel_category_font_color = file_get_contents("data/colors/pf-font.txt");
+                               echo $maj_panel_category_font_color;
                        }
                        else {
                                echo "#999999";
                        }
        ?>;
 
-       padding: 5px 5px 5px 5px;
-
        background-color: <?php
                                if (file_exists("data/colors/pf-bg.txt")) {
-                                       $panel_category_background_color = file_get_contents("data/colors/pf-bg.txt");
-                                       echo $panel_category_background_color;
+                                       $maj_panel_category_background_color = file_get_contents("data/colors/pf-bg.txt");
+                                       echo $maj_panel_category_background_color;
                                }
                                else {
                                        echo "transparent";
                                }
        ?>;
 
-       margin: 0px 0px 0px 0px;
-
        border-color: <?php
                                if (file_exists("data/colors/border.txt")) {
-                                       $panel_category_border_color = file_get_contents("data/colors/border.txt");
-                                       echo $panel_category_border_color;
+                                       $maj_panel_category_border_color = file_get_contents("data/colors/border.txt");
+                                       echo $maj_panel_category_border_color;
                                }
                                else {
                                        echo "#cccccc";
                                }
        ?>;
+
        <?php
                if (file_exists("data/round.txt")) {
                        echo 'border-width: 1px 1px 0px 1px;';
@@ -1434,7 +1523,6 @@ a.navlink:link,a.navlink:visited,a.navlink:active,a.navlink:hover {
                        echo 'border-style: none solid solid solid;';
                }
        ?>
-       text-align: left;
 }
 
 <?php if (file_exists("data/css.txt")) { readfile("data/css.txt"); } ?>
@@ -1453,78 +1541,78 @@ if (file_exists("data/center.txt")) {
 
 if (file_exists("data/header.txt")) {
 
-       $header_panel = file_get_contents("data/header.txt");
+       $maj_header_panel = file_get_contents("data/header.txt");
 
-       if (file_exists("data/panels/$header_panel") and (!file_exists("data/panels/$header_panel/private.txt") or isset($_SESSION['logged_in']))) {
-               include("data/panels/$header_panel/panel.php");
+       if (file_exists("data/panels/$maj_header_panel") and (!file_exists("data/panels/$maj_header_panel/private.txt") or isset($_SESSION['logged_in']))) {
+               include("data/panels/$maj_header_panel/panel.php");
        }
 
 }
 
-echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$wtable\">";
-echo "<tr><td width=\"$wside\" height=\"$wspace\"></td><td width=\"$wspace\" height=\"$wspace\"><div style=\"width: {$wspace}px;\"></div></td><td width=\"$wmain\" height=\"$wspace\"></td><td width=\"$wspace\" height=\"$wspace\"><div style=\"width: {$wspace}px;\"></div></td><td width=\"$wside\" height=\"$wspace\"></td></tr>";
-echo "<tr><td width=\"$wside\" valign=\"top\">";
+echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$maj_wtable\">";
+echo "<tr><td width=\"$maj_wside\" height=\"$maj_wspace\"></td><td width=\"$maj_wspace\" height=\"$maj_wspace\"><div style=\"width: {$maj_wspace}px;\"></div></td><td width=\"$maj_wmain\" height=\"$maj_wspace\"></td><td width=\"$maj_wspace\" height=\"$maj_wspace\"><div style=\"width: {$maj_wspace}px;\"></div></td><td width=\"$maj_wside\" height=\"$maj_wspace\"></td></tr>";
+echo "<tr><td width=\"$maj_wside\" valign=\"top\">";
 
 if (file_exists("data/round.txt")) {
        echo "<b class=\"rbtop\"><b class=\"rb1t\"></b><b class=\"rb2t\"></b><b class=\"rb3t\"></b><b class=\"rb4t\"></b></b><div class=\"xtitle\">";
 }
 else {
-       echo "<div id=\"panel_title\">";
+       echo "<div class=\"panel_title\">";
 }
 
 ?>
 
 Profile</div>
-<div id="panel_body">
+<div class="panel_body">
 
 <?php
 
 if (file_exists("images/profile.gif")) {
-       $profile_gif_image_size = getimagesize("images/profile.gif");
-       $profile_gif_image_width = $profile_gif_image_size[0];
-       $profile_gif_image_height = $profile_gif_image_size[1];
+       $maj_profile_gif_image_size = getimagesize("images/profile.gif");
+       $maj_profile_gif_image_width = $maj_profile_gif_image_size[0];
+       $maj_profile_gif_image_height = $maj_profile_gif_image_size[1];
 
-       $max_profile_gif_image_width = 163;
+       $maj_max_profile_gif_image_width = 163;
 
-       if ($profile_gif_image_width > $max_profile_gif_image_width) {  
-               $sizefactor = (double) ($max_profile_gif_image_width / $profile_gif_image_width) ;
-               $profile_gif_image_width = (int) ($profile_gif_image_width * $sizefactor);
-               $profile_gif_image_height = (int) ($profile_gif_image_height * $sizefactor);
+       if ($maj_profile_gif_image_width > $maj_max_profile_gif_image_width) {  
+               $maj_sizefactor = (double) ($maj_max_profile_gif_image_width / $maj_profile_gif_image_width) ;
+               $maj_profile_gif_image_width = (int) ($maj_profile_gif_image_width * $maj_sizefactor);
+               $maj_profile_gif_image_height = (int) ($maj_profile_gif_image_height * $maj_sizefactor);
        }
 
-       echo "<img src=\"images/profile.gif\" border=\"0\" width=\"$profile_gif_image_width\" height=\"$profile_gif_image_height\" align=\"left\">";
+       echo "<img src=\"images/profile.gif\" border=\"0\" width=\"$maj_profile_gif_image_width\" height=\"$maj_profile_gif_image_height\" align=\"left\">";
 }
 
 if (file_exists("images/profile.jpg")) {
-       $profile_jpg_image_size = getimagesize("images/profile.jpg");
-       $profile_jpg_image_width = $profile_jpg_image_size[0];
-       $profile_jpg_image_height = $profile_jpg_image_size[1];
+       $maj_profile_jpg_image_size = getimagesize("images/profile.jpg");
+       $maj_profile_jpg_image_width = $maj_profile_jpg_image_size[0];
+       $maj_profile_jpg_image_height = $maj_profile_jpg_image_size[1];
 
-       $max_profile_jpg_image_width = 163;
+       $maj_max_profile_jpg_image_width = 163;
 
-       if ($profile_jpg_image_width > $max_profile_jpg_image_width) {  
-               $sizefactor = (double) ($max_profile_jpg_image_width / $profile_jpg_image_width) ;
-               $profile_jpg_image_width = (int) ($profile_jpg_image_width * $sizefactor);
-               $profile_jpg_image_height = (int) ($profile_jpg_image_height * $sizefactor);
+       if ($maj_profile_jpg_image_width > $maj_max_profile_jpg_image_width) {  
+               $maj_sizefactor = (double) ($maj_max_profile_jpg_image_width / $maj_profile_jpg_image_width) ;
+               $maj_profile_jpg_image_width = (int) ($maj_profile_jpg_image_width * $maj_sizefactor);
+               $maj_profile_jpg_image_height = (int) ($maj_profile_jpg_image_height * $maj_sizefactor);
        }
 
-       echo "<img src=\"images/profile.jpg\" border=\"0\" width=\"$profile_jpg_image_width\" height=\"$profile_jpg_image_height\" align=\"left\">";
+       echo "<img src=\"images/profile.jpg\" border=\"0\" width=\"$maj_profile_jpg_image_width\" height=\"$maj_profile_jpg_image_height\" align=\"left\">";
 }
 
 if (file_exists("images/profile.png")) {
-       $profile_png_image_size = getimagesize("images/profile.png");
-       $profile_png_image_width = $profile_png_image_size[0];
-       $profile_png_image_height = $profile_png_image_size[1];
+       $maj_profile_png_image_size = getimagesize("images/profile.png");
+       $maj_profile_png_image_width = $maj_profile_png_image_size[0];
+       $maj_profile_png_image_height = $maj_profile_png_image_size[1];
 
-       $max_profile_png_image_width = 163;
+       $maj_max_profile_png_image_width = 163;
 
-       if ($profile_png_image_width > $max_profile_png_image_width) {  
-               $sizefactor = (double) ($max_profile_png_image_width / $profile_png_image_width) ;
-               $profile_png_image_width = (int) ($profile_png_image_width * $sizefactor);
-               $profile_png_image_height = (int) ($profile_png_image_height * $sizefactor);
+       if ($maj_profile_png_image_width > $maj_max_profile_png_image_width) {  
+               $maj_sizefactor = (double) ($maj_max_profile_png_image_width / $maj_profile_png_image_width) ;
+               $maj_profile_png_image_width = (int) ($maj_profile_png_image_width * $maj_sizefactor);
+               $maj_profile_png_image_height = (int) ($maj_profile_png_image_height * $maj_sizefactor);
        }
 
-       echo "<img src=\"images/profile.png\" border=\"0\" width=\"$profile_png_image_width\" height=\"$profile_png_image_height\" align=\"left\">";
+       echo "<img src=\"images/profile.png\" border=\"0\" width=\"$maj_profile_png_image_width\" height=\"$maj_profile_png_image_height\" align=\"left\">";
 }
 
 include("data/profile.php");
@@ -1543,22 +1631,22 @@ if (file_exists("data/round.txt")) {
        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
 }
 else {
-       echo '<div id="panel_title">';
+       echo '<div class="panel_title">';
 }
 
 ?>
 
 Navigation</div>
-<div id="panel_body">
+<div class="panel_body">
 <a class="navlink" href="index.php">Home</a><br>
 
 <?php
 
 if (file_exists("data/bb.txt") and file_exists("data/members/active")) {
-       echo '<a class="navlink" href="member.php?id=all">Members</a><br>';
+       echo '<a class="navlink" href="member.php?class=all">Members</a><br>';
 }
 
-if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
        echo '<a class="navlink" href="add.php">Add Entry</a><br>';
        echo '<a class="navlink" href="settings.php">Settings</a><br>';
        echo '<a class="navlink" href="panels.php">Panels</a><br>';
@@ -1567,16 +1655,16 @@ if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username
        echo '<a class="navlink" href="fonts.php">Fonts</a><br>';
        echo '<a class="navlink" href="login.php">Logout</a>';
 }
-elseif (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != $login_username) and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/bb.txt")) {
+elseif (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != $maj_login_username) and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/bb.txt")) {
 
-       if (file_exists("data/members/active/{$_SESSION['logged_in']}/categories/$req_category")) {
+       if (file_exists("data/members/active/{$_SESSION['logged_in']}/categories/$maj_req_category")) {
 
-               if (!file_exists("data/categories/$req_category")) {
-                       rmdirr("data/members/active/{$_SESSION['logged_in']}/categories/$req_category");
+               if (!file_exists("data/categories/$maj_req_category")) {
+                       rmdirr("data/members/active/{$_SESSION['logged_in']}/categories/$maj_req_category");
                }
        }
 
-       if (file_exists("data/members/active/{$_SESSION['logged_in']}/rw.txt") or file_exists("data/members/active/{$_SESSION['logged_in']}/categories/$req_category")) {
+       if (file_exists("data/members/active/{$_SESSION['logged_in']}/rw.txt") or file_exists("data/members/active/{$_SESSION['logged_in']}/categories/$maj_req_category")) {
                echo '<a class="navlink" href="add.php">Add Entry</a><br>';
        }
 
@@ -1603,68 +1691,68 @@ if (file_exists("data/round.txt")) {
 
 if (file_exists("data/sticky")) {
 
-       if ($dh_sticky = opendir("data/sticky")) {
+       if ($maj_dh_sticky = opendir("data/sticky")) {
 
-               while (($sticky_entry = readdir($dh_sticky)) !== false) {
+               while (($maj_sticky_entry = readdir($maj_dh_sticky)) !== false) {
 
-                       if (file_exists("data/items/$sticky_entry/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+                       if (file_exists("data/items/$maj_sticky_entry/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
                                continue;
                        }
 
-                       if (file_exists("data/items/$sticky_entry/member.txt") and (!isset($_SESSION['logged_in']))) {
+                       if (file_exists("data/items/$maj_sticky_entry/member.txt") and (!isset($_SESSION['logged_in']))) {
                                continue;
                        }
 
-                       $private_categories = "0";
+                       $maj_private_categories = "0";
 
-                       if (file_exists("data/items/$sticky_entry/categories")) {
+                       if (file_exists("data/items/$maj_sticky_entry/categories")) {
                       
-                               if ($dh_sticky_categories = opendir("data/items/$sticky_entry/categories")) {
+                               if ($maj_dh_sticky_categories = opendir("data/items/$maj_sticky_entry/categories")) {
                       
-                                       while (($sticky_category = readdir($dh_sticky_categories)) !== false) {
+                                       while (($maj_sticky_category = readdir($maj_dh_sticky_categories)) !== false) {
                       
-                                               if ($sticky_category != "." && $sticky_category != "..") {
+                                               if ($maj_sticky_category != "." && $maj_sticky_category != "..") {
                       
-                                                       if (file_exists("data/categories/$sticky_category/private.txt")) {
-                                                               $private_categories = $private_categories + 1;
+                                                       if (file_exists("data/categories/$maj_sticky_category/private.txt")) {
+                                                               $maj_private_categories = $maj_private_categories + 1;
                                                        }
                                                }
                                        }
-                                       closedir($dh_sticky_categories);
+                                       closedir($maj_dh_sticky_categories);
                                }
                        }
 
-                       if (($private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$sticky_entry/cat.txt")) {
+                       if (($maj_private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and !file_exists("data/items/$maj_sticky_entry/cat.txt")) {
                                continue;
                        }
 
-                       if ($sticky_entry != "." && $sticky_entry != "..") {
-                               $sticky_entries[] = $sticky_entry;
+                       if ($maj_sticky_entry != "." && $maj_sticky_entry != "..") {
+                               $maj_sticky_entries[] = $maj_sticky_entry;
                        }
                }
-               closedir($dh_sticky);
+               closedir($maj_dh_sticky);
        }
 
-       sort($sticky_entries);
-       reset($sticky_entries);
+       sort($maj_sticky_entries);
+       reset($maj_sticky_entries);
 
-       $count_sticky_list = count($sticky_entries);
+       $maj_count_sticky_list = count($maj_sticky_entries);
       
-       if ($count_sticky_list > 0) {
+       if ($maj_count_sticky_list > 0) {
 
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo '<div id="panel_title">';
+                       echo '<div class="panel_title">';
                }
               
                echo 'Quick Links</div>';
-               echo '<div id="panel_body">';
+               echo '<div class="panel_body">';
 
-               foreach ($sticky_entries as $sticky_list_entry) {
-                       echo "<a class=\"navlink\" href=\"index.php?entry=$sticky_list_entry\">";
-                       readfile("data/items/$sticky_list_entry/title.txt");
+               foreach ($maj_sticky_entries as $maj_sticky_list_entry) {
+                       echo "<a class=\"navlink\" href=\"index.php?entry=$maj_sticky_list_entry\">";
+                       readfile("data/items/$maj_sticky_list_entry/title.txt");
                        echo "</a><br>";
                }
 
@@ -1678,123 +1766,123 @@ if (file_exists("data/sticky")) {
 
 if (file_exists("data/panels")) {
 
-       if ($dh_panels = opendir("data/panels")) {
+       if ($maj_dh_panels = opendir("data/panels")) {
 
-               while (($panel = readdir($dh_panels)) !== false) {
+               while (($maj_panel = readdir($maj_dh_panels)) !== false) {
 
-                       if ($panel != "." && $panel != "..") {
+                       if ($maj_panel != "." && $maj_panel != "..") {
 
-                               if (file_exists("data/panels/$panel/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+                               if (file_exists("data/panels/$maj_panel/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
                                        continue;
                                }
 
-                               if (file_exists("data/panels/$panel/top.txt")) {
-                                       $top_panels[] = $panel;
+                               if (file_exists("data/panels/$maj_panel/top.txt")) {
+                                       $maj_top_panels[] = $maj_panel;
                                        continue;
                                }
 
-                               if (file_exists("data/panels/$panel/center.txt")) {
-                                       $center_panels[] = $panel;
+                               if (file_exists("data/panels/$maj_panel/center.txt")) {
+                                       $maj_center_panels[] = $maj_panel;
                                        continue;
                                }
 
-                               if (file_exists("data/panels/$panel/entry.txt")) {
-                                       $entry_panels[] = $panel;
+                               if (file_exists("data/panels/$maj_panel/entry.txt")) {
+                                       $maj_entry_panels[] = $maj_panel;
                                        continue;
                                }
 
-                               if (file_exists("data/panels/$panel/right.txt")) {
-                                       $right_panels[] = $panel;
+                               if (file_exists("data/panels/$maj_panel/right.txt")) {
+                                       $maj_right_panels[] = $maj_panel;
                                        continue;
                                }
 
-                               if (file_exists("data/header.txt") and (file_get_contents("data/header.txt") == $panel)) {
+                               if (file_exists("data/header.txt") and (file_get_contents("data/header.txt") == $maj_panel)) {
                                        continue;
                                }
 
-                               if (file_exists("data/footer.txt") and (file_get_contents("data/footer.txt") == $panel)) {
+                               if (file_exists("data/footer.txt") and (file_get_contents("data/footer.txt") == $maj_panel)) {
                                        continue;
                                }
 
-                               $left_panels[] = $panel;
+                               $maj_left_panels[] = $maj_panel;
                        }
                }
-               closedir($dh_panels);
+               closedir($maj_dh_panels);
        }
 
-       sort($left_panels);
-       reset($left_panels);
+       sort($maj_left_panels);
+       reset($maj_left_panels);
 
-       $count_left_panels = count($left_panels);
+       $maj_count_left_panels = count($maj_left_panels);
 
-       sort($top_panels);
-       reset($top_panels);
+       sort($maj_top_panels);
+       reset($maj_top_panels);
 
-       $count_top_panels = count($top_panels);
+       $maj_count_top_panels = count($maj_top_panels);
 
-       sort($center_panels);
-       reset($center_panels);
+       sort($maj_center_panels);
+       reset($maj_center_panels);
 
-       $count_center_panels = count($center_panels);
+       $maj_count_center_panels = count($maj_center_panels);
 
-       sort($entry_panels);
-       reset($entry_panels);
+       sort($maj_entry_panels);
+       reset($maj_entry_panels);
 
-       $count_entry_panels = count($entry_panels);
+       $maj_count_entry_panels = count($maj_entry_panels);
 
-       sort($right_panels);
-       reset($right_panels);
+       sort($maj_right_panels);
+       reset($maj_right_panels);
 
-       $count_right_panels = count($right_panels);
+       $maj_count_right_panels = count($maj_right_panels);
 
-       if ($count_left_panels > 0) {
+       if ($maj_count_left_panels > 0) {
 
-               foreach ($left_panels as $left_panel) {
+               foreach ($maj_left_panels as $maj_left_panel) {
 
-                       if (!file_exists("data/panels/$left_panel/free.txt")) {
+                       if (!file_exists("data/panels/$maj_left_panel/free.txt")) {
 
-                               if (file_exists("data/panels/$left_panel/border.txt")) {
-                                       $left_panel_border = file_get_contents("data/panels/$left_panel/border.txt");
+                               if (file_exists("data/panels/$maj_left_panel/border.txt")) {
+                                       $maj_left_panel_border = file_get_contents("data/panels/$maj_left_panel/border.txt");
                                }
                                else {
-                                       if (isset($left_panel_border)) {
-                                               unset($left_panel_border);
+                                       if (isset($maj_left_panel_border)) {
+                                               unset($maj_left_panel_border);
                                        }
                                }
 
-                               if (file_exists("data/panels/$left_panel/bgcolor-t.txt")) {
-                                       $left_panel_bgcolor_t = file_get_contents("data/panels/$left_panel/bgcolor-t.txt");
+                               if (file_exists("data/panels/$maj_left_panel/bgcolor-t.txt")) {
+                                       $maj_left_panel_bgcolor_t = file_get_contents("data/panels/$maj_left_panel/bgcolor-t.txt");
                                }
                                else {
-                                       if (isset($left_panel_bgcolor_t)) {
-                                               unset($left_panel_bgcolor_t);
+                                       if (isset($maj_left_panel_bgcolor_t)) {
+                                               unset($maj_left_panel_bgcolor_t);
                                        }
                                }
 
-                               if (file_exists("data/panels/$left_panel/bgcolor-c.txt")) {
-                                       $left_panel_bgcolor_c = file_get_contents("data/panels/$left_panel/bgcolor-c.txt");
+                               if (file_exists("data/panels/$maj_left_panel/bgcolor-c.txt")) {
+                                       $maj_left_panel_bgcolor_c = file_get_contents("data/panels/$maj_left_panel/bgcolor-c.txt");
                                }
                                else {
-                                       if (isset($left_panel_bgcolor_c)) {
-                                               unset($left_panel_bgcolor_c);
+                                       if (isset($maj_left_panel_bgcolor_c)) {
+                                               unset($maj_left_panel_bgcolor_c);
                                        }
                                }
 
-                               if (file_exists("data/panels/$left_panel/text-t.txt")) {
-                                       $left_panel_text_t = file_get_contents("data/panels/$left_panel/text-t.txt");
+                               if (file_exists("data/panels/$maj_left_panel/text-t.txt")) {
+                                       $maj_left_panel_text_t = file_get_contents("data/panels/$maj_left_panel/text-t.txt");
                                }
                                else {
-                                       if (isset($left_panel_text_t)) {
-                                               unset($left_panel_text_t);
+                                       if (isset($maj_left_panel_text_t)) {
+                                               unset($maj_left_panel_text_t);
                                        }
                                }
 
-                               if (file_exists("data/panels/$left_panel/text-c.txt")) {
-                                       $left_panel_text_c = file_get_contents("data/panels/$left_panel/text-c.txt");
+                               if (file_exists("data/panels/$maj_left_panel/text-c.txt")) {
+                                       $maj_left_panel_text_c = file_get_contents("data/panels/$maj_left_panel/text-c.txt");
                                }
                                else {
-                                       if (isset($left_panel_text_c)) {
-                                               unset($left_panel_text_c);
+                                       if (isset($maj_left_panel_text_c)) {
+                                               unset($maj_left_panel_text_c);
                                        }
                                }
 
@@ -1802,220 +1890,220 @@ if (file_exists("data/panels")) {
 
                                        echo '<b class="rbtop"><b class="rb1t"';
 
-                                       if (isset($left_panel_border)) {
-                                               echo " style=\"background-color: $left_panel_border;\"";
+                                       if (isset($maj_left_panel_border)) {
+                                               echo " style=\"background-color: $maj_left_panel_border;\"";
                                        }
 
                                        echo '></b><b class="rb2t"';
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($left_panel_bgcolor_t)) {
-                                               echo "background-color: $left_panel_bgcolor_t;";
+                                       if (isset($maj_left_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_left_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($left_panel_border)) {
-                                               echo "border-color: $left_panel_border;";
+                                       if (isset($maj_left_panel_border)) {
+                                               echo "border-color: $maj_left_panel_border;";
                                        }
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t)) {
                                                echo '"';
                                        }
 
                                        echo '></b><b class="rb3t"';
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($left_panel_bgcolor_t)) {
-                                               echo "background-color: $left_panel_bgcolor_t;";
+                                       if (isset($maj_left_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_left_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($left_panel_border)) {
-                                               echo "border-color: $left_panel_border;";
+                                       if (isset($maj_left_panel_border)) {
+                                               echo "border-color: $maj_left_panel_border;";
                                        }
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t)) {
                                                echo '"';
                                        }
 
                                        echo '></b><b class="rb4t"';
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($left_panel_bgcolor_t)) {
-                                               echo "background-color: $left_panel_bgcolor_t;";
+                                       if (isset($maj_left_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_left_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($left_panel_border)) {
-                                               echo "border-color: $left_panel_border;";
+                                       if (isset($maj_left_panel_border)) {
+                                               echo "border-color: $maj_left_panel_border;";
                                        }
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t)) {
                                                echo '"';
                                        }
 
                                        echo '></b></b><div class="xtitle"';
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t) or isset($left_panel_text_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t) or isset($maj_left_panel_text_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($left_panel_bgcolor_t)) {
-                                               echo "background-color: $left_panel_bgcolor_t;";
+                                       if (isset($maj_left_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_left_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($left_panel_text_t)) {
-                                               echo "color: $left_panel_text_t;";
+                                       if (isset($maj_left_panel_text_t)) {
+                                               echo "color: $maj_left_panel_text_t;";
                                        }
 
-                                       if (isset($left_panel_border)) {
-                                               echo "border-color: $left_panel_border;";
+                                       if (isset($maj_left_panel_border)) {
+                                               echo "border-color: $maj_left_panel_border;";
                                        }
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t) or isset($left_panel_text_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t) or isset($maj_left_panel_text_t)) {
                                                echo '"';
                                        }
 
                                        echo '>';
                                }
                                else {
-                                       echo '<div id="panel_title"';
+                                       echo '<div class="panel_title"';
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t) or isset($left_panel_text_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t) or isset($maj_left_panel_text_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($left_panel_bgcolor_t)) {
-                                               echo "background-color: $left_panel_bgcolor_t;";
+                                       if (isset($maj_left_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_left_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($left_panel_text_t)) {
-                                               echo "color: $left_panel_text_t;";
+                                       if (isset($maj_left_panel_text_t)) {
+                                               echo "color: $maj_left_panel_text_t;";
                                        }
 
-                                       if (isset($left_panel_border)) {
-                                               echo "border-color: $left_panel_border;";
+                                       if (isset($maj_left_panel_border)) {
+                                               echo "border-color: $maj_left_panel_border;";
                                        }
 
-                                       if (isset($left_panel_border) or isset($left_panel_bgcolor_t) or isset($left_panel_text_t)) {
+                                       if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_t) or isset($maj_left_panel_text_t)) {
                                                echo '"';
                                        }
 
                                        echo '>';
                                }
 
-                               readfile("data/panels/$left_panel/title.txt");
+                               readfile("data/panels/$maj_left_panel/title.txt");
 
-                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
-                                       echo "<a href=\"panels.php#{$left_panel}\">";
+                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
+                                       echo "<a href=\"panels.php#{$maj_left_panel}\">";
                                        echo '<img src="images/widget.edit.png" border="0" width="11" height="11" align="right"></a>';
                                }
 
-                               if (file_exists("data/panels/$left_panel/private.txt")) {
+                               if (file_exists("data/panels/$maj_left_panel/private.txt")) {
                                        echo '<img src="images/widget.private.png" border="0" width="11" height="11" align="right">';
                                }
 
                                echo '</div>';
 
-                               echo '<div id="panel_body"';
+                               echo '<div class="panel_body"';
 
-                               if (isset($left_panel_border) or isset($left_panel_bgcolor_c) or isset($left_panel_text_c)) {
+                               if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_c) or isset($maj_left_panel_text_c)) {
                                        echo ' style="';
                                }
 
-                               if (isset($left_panel_bgcolor_c)) {
-                                       echo "background-color: $left_panel_bgcolor_c;";
+                               if (isset($maj_left_panel_bgcolor_c)) {
+                                       echo "background-color: $maj_left_panel_bgcolor_c;";
                                }
 
-                               if (isset($left_panel_text_c)) {
-                                       echo "color: $left_panel_text_c;";
+                               if (isset($maj_left_panel_text_c)) {
+                                       echo "color: $maj_left_panel_text_c;";
                                }
 
-                               if (isset($left_panel_border)) {
-                                       echo "border-color: $left_panel_border;";
+                               if (isset($maj_left_panel_border)) {
+                                       echo "border-color: $maj_left_panel_border;";
                                }
 
-                               if (isset($left_panel_border) or isset($left_panel_bgcolor_c) or isset($left_panel_text_c)) {
+                               if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_c) or isset($maj_left_panel_text_c)) {
                                        echo '"';
                                }
 
                                echo '>';
                        }
 
-                       if (file_exists("data/panels/$left_panel/free.txt")) {
-                               echo '<div id=panel_free>';
+                       if (file_exists("data/panels/$maj_left_panel/free.txt")) {
+                               echo '<div class=panel_free>';
                        }
 
-                       include("data/panels/$left_panel/panel.php");
+                       include("data/panels/$maj_left_panel/panel.php");
 
                        echo '</div>';
 
-                       if (file_exists("data/round.txt") and !file_exists("data/panels/$left_panel/free.txt")) {
+                       if (file_exists("data/round.txt") and !file_exists("data/panels/$maj_left_panel/free.txt")) {
 
                                echo '<b class="rbbottom"><b class="rb4b"';
 
-                               if (isset($left_panel_border) or isset($left_panel_bgcolor_c)) {
+                               if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_c)) {
                                        echo ' style="';
                                }
 
-                               if (isset($left_panel_bgcolor_c)) {
-                                       echo "background-color: $left_panel_bgcolor_c;";
+                               if (isset($maj_left_panel_bgcolor_c)) {
+                                       echo "background-color: $maj_left_panel_bgcolor_c;";
                                }
 
-                               if (isset($left_panel_border)) {
-                                       echo "border-color: $left_panel_border;";
+                               if (isset($maj_left_panel_border)) {
+                                       echo "border-color: $maj_left_panel_border;";
                                }
 
-                               if (isset($left_panel_border) or isset($left_panel_bgcolor_c)) {
+                               if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_c)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb3b"';
 
-                               if (isset($left_panel_border) or isset($left_panel_bgcolor_c)) {
+                               if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_c)) {
                                        echo ' style="';
                                }
 
-                               if (isset($left_panel_bgcolor_c)) {
-                                       echo "background-color: $left_panel_bgcolor_c;";
+                               if (isset($maj_left_panel_bgcolor_c)) {
+                                       echo "background-color: $maj_left_panel_bgcolor_c;";
                                }
 
-                               if (isset($left_panel_border)) {
-                                       echo "border-color: $left_panel_border;";
+                               if (isset($maj_left_panel_border)) {
+                                       echo "border-color: $maj_left_panel_border;";
                                }
 
-                               if (isset($left_panel_border) or isset($left_panel_bgcolor_c)) {
+                               if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_c)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb2b"';
 
-                               if (isset($left_panel_border) or isset($left_panel_bgcolor_c)) {
+                               if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_c)) {
                                        echo ' style="';
                                }
 
-                               if (isset($left_panel_bgcolor_c)) {
-                                       echo "background-color: $left_panel_bgcolor_c;";
+                               if (isset($maj_left_panel_bgcolor_c)) {
+                                       echo "background-color: $maj_left_panel_bgcolor_c;";
                                }
 
-                               if (isset($left_panel_border)) {
-                                       echo "border-color: $left_panel_border;";
+                               if (isset($maj_left_panel_border)) {
+                                       echo "border-color: $maj_left_panel_border;";
                                }
 
-                               if (isset($left_panel_border) or isset($left_panel_bgcolor_c)) {
+                               if (isset($maj_left_panel_border) or isset($maj_left_panel_bgcolor_c)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb1b"';
 
-                               if (isset($left_panel_border)) {
-                                       echo " style=\"background-color: $left_panel_border;\"";
+                               if (isset($maj_left_panel_border)) {
+                                       echo " style=\"background-color: $maj_left_panel_border;\"";
                                }
 
                                echo '></b></b>';
@@ -2024,60 +2112,60 @@ if (file_exists("data/panels")) {
        }
 }
 
-echo "</td><td width=\"$wspace\"><div style=\"width: {$wspace}px;\"></div></td>";
+echo "</td><td width=\"$maj_wspace\"><div style=\"width: {$maj_wspace}px;\"></div></td>";
 
 // main
 
-echo "<td valign=\"top\" width=\"$wmain\">";
+echo "<td valign=\"top\" width=\"$maj_wmain\">";
 
-if ($count_top_panels > 0) {
+if ($maj_count_top_panels > 0) {
 
-       foreach ($top_panels as $top_panel) {
+       foreach ($maj_top_panels as $maj_top_panel) {
 
-               if (!file_exists("data/panels/$top_panel/free.txt")) {
+               if (!file_exists("data/panels/$maj_top_panel/free.txt")) {
 
-                       if (file_exists("data/panels/$top_panel/border.txt")) {
-                               $top_panel_border = file_get_contents("data/panels/$top_panel/border.txt");
+                       if (file_exists("data/panels/$maj_top_panel/border.txt")) {
+                               $maj_top_panel_border = file_get_contents("data/panels/$maj_top_panel/border.txt");
                        }
                        else {
-                               if (isset($top_panel_border)) {
-                                       unset($top_panel_border);
+                               if (isset($maj_top_panel_border)) {
+                                       unset($maj_top_panel_border);
                                }
                        }
 
-                       if (file_exists("data/panels/$top_panel/bgcolor-t.txt")) {
-                               $top_panel_bgcolor_t = file_get_contents("data/panels/$top_panel/bgcolor-t.txt");
+                       if (file_exists("data/panels/$maj_top_panel/bgcolor-t.txt")) {
+                               $maj_top_panel_bgcolor_t = file_get_contents("data/panels/$maj_top_panel/bgcolor-t.txt");
                        }
                        else {
-                               if (isset($top_panel_bgcolor_t)) {
-                                       unset($top_panel_bgcolor_t);
+                               if (isset($maj_top_panel_bgcolor_t)) {
+                                       unset($maj_top_panel_bgcolor_t);
                                }
                        }
 
-                       if (file_exists("data/panels/$top_panel/bgcolor-c.txt")) {
-                               $top_panel_bgcolor_c = file_get_contents("data/panels/$top_panel/bgcolor-c.txt");
+                       if (file_exists("data/panels/$maj_top_panel/bgcolor-c.txt")) {
+                               $maj_top_panel_bgcolor_c = file_get_contents("data/panels/$maj_top_panel/bgcolor-c.txt");
                        }
                        else {
-                               if (isset($top_panel_bgcolor_c)) {
-                                       unset($top_panel_bgcolor_c);
+                               if (isset($maj_top_panel_bgcolor_c)) {
+                                       unset($maj_top_panel_bgcolor_c);
                                }
                        }
 
-                       if (file_exists("data/panels/$top_panel/text-t.txt")) {
-                               $top_panel_text_t = file_get_contents("data/panels/$top_panel/text-t.txt");
+                       if (file_exists("data/panels/$maj_top_panel/text-t.txt")) {
+                               $maj_top_panel_text_t = file_get_contents("data/panels/$maj_top_panel/text-t.txt");
                        }
                        else {
-                               if (isset($top_panel_text_t)) {
-                                       unset($top_panel_text_t);
+                               if (isset($maj_top_panel_text_t)) {
+                                       unset($maj_top_panel_text_t);
                                }
                        }
 
-                       if (file_exists("data/panels/$top_panel/text-c.txt")) {
-                               $top_panel_text_c = file_get_contents("data/panels/$top_panel/text-c.txt");
+                       if (file_exists("data/panels/$maj_top_panel/text-c.txt")) {
+                               $maj_top_panel_text_c = file_get_contents("data/panels/$maj_top_panel/text-c.txt");
                        }
                        else {
-                               if (isset($top_panel_text_c)) {
-                                       unset($top_panel_text_c);
+                               if (isset($maj_top_panel_text_c)) {
+                                       unset($maj_top_panel_text_c);
                                }
                        }
 
@@ -2085,220 +2173,220 @@ if ($count_top_panels > 0) {
 
                                echo '<b class="rbtop"><b class="rb1t"';
 
-                               if (isset($top_panel_border)) {
-                                       echo " style=\"background-color: $top_panel_border;\"";
+                               if (isset($maj_top_panel_border)) {
+                                       echo " style=\"background-color: $maj_top_panel_border;\"";
                                }
 
                                echo '></b><b class="rb2t"';
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($top_panel_bgcolor_t)) {
-                                       echo "background-color: $top_panel_bgcolor_t;";
+                               if (isset($maj_top_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_top_panel_bgcolor_t;";
                                }
 
-                               if (isset($top_panel_border)) {
-                                       echo "border-color: $top_panel_border;";
+                               if (isset($maj_top_panel_border)) {
+                                       echo "border-color: $maj_top_panel_border;";
                                }
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb3t"';
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($top_panel_bgcolor_t)) {
-                                       echo "background-color: $top_panel_bgcolor_t;";
+                               if (isset($maj_top_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_top_panel_bgcolor_t;";
                                }
 
-                               if (isset($top_panel_border)) {
-                                       echo "border-color: $top_panel_border;";
+                               if (isset($maj_top_panel_border)) {
+                                       echo "border-color: $maj_top_panel_border;";
                                }
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb4t"';
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($top_panel_bgcolor_t)) {
-                                       echo "background-color: $top_panel_bgcolor_t;";
+                               if (isset($maj_top_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_top_panel_bgcolor_t;";
                                }
 
-                               if (isset($top_panel_border)) {
-                                       echo "border-color: $top_panel_border;";
+                               if (isset($maj_top_panel_border)) {
+                                       echo "border-color: $maj_top_panel_border;";
                                }
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b></b><div class="xtitle"';
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t) or isset($top_panel_text_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t) or isset($maj_top_panel_text_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($top_panel_bgcolor_t)) {
-                                       echo "background-color: $top_panel_bgcolor_t;";
+                               if (isset($maj_top_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_top_panel_bgcolor_t;";
                                }
 
-                               if (isset($top_panel_text_t)) {
-                                       echo "color: $top_panel_text_t;";
+                               if (isset($maj_top_panel_text_t)) {
+                                       echo "color: $maj_top_panel_text_t;";
                                }
 
-                               if (isset($top_panel_border)) {
-                                       echo "border-color: $top_panel_border;";
+                               if (isset($maj_top_panel_border)) {
+                                       echo "border-color: $maj_top_panel_border;";
                                }
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t) or isset($top_panel_text_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t) or isset($maj_top_panel_text_t)) {
                                        echo '"';
                                }
 
                                echo '>';
                        }
                        else {
-                               echo '<div id="panel_title"';
+                               echo '<div class="panel_title"';
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t) or isset($top_panel_text_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t) or isset($maj_top_panel_text_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($top_panel_bgcolor_t)) {
-                                       echo "background-color: $top_panel_bgcolor_t;";
+                               if (isset($maj_top_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_top_panel_bgcolor_t;";
                                }
 
-                               if (isset($top_panel_text_t)) {
-                                       echo "color: $top_panel_text_t;";
+                               if (isset($maj_top_panel_text_t)) {
+                                       echo "color: $maj_top_panel_text_t;";
                                }
 
-                               if (isset($top_panel_border)) {
-                                       echo "border-color: $top_panel_border;";
+                               if (isset($maj_top_panel_border)) {
+                                       echo "border-color: $maj_top_panel_border;";
                                }
 
-                               if (isset($top_panel_border) or isset($top_panel_bgcolor_t) or isset($top_panel_text_t)) {
+                               if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_t) or isset($maj_top_panel_text_t)) {
                                        echo '"';
                                }
 
                                echo '>';
                        }
 
-                       readfile("data/panels/$top_panel/title.txt");
+                       readfile("data/panels/$maj_top_panel/title.txt");
 
-                       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
-                               echo "<a href=\"panels.php#{$top_panel}\">";
+                       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
+                               echo "<a href=\"panels.php#{$maj_top_panel}\">";
                                echo '<img src="images/widget.edit.png" border="0" width="11" height="11" align="right"></a>';
                        }
 
-                       if (file_exists("data/panels/$top_panel/private.txt")) {
+                       if (file_exists("data/panels/$maj_top_panel/private.txt")) {
                                echo '<img src="images/widget.private.png" border="0" width="11" height="11" align="right">';
                        }
 
                        echo '</div>';
 
-                       echo '<div id="panel_body"';
+                       echo '<div class="panel_body"';
 
-                       if (isset($top_panel_border) or isset($top_panel_bgcolor_c) or isset($top_panel_text_c)) {
+                       if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_c) or isset($maj_top_panel_text_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($top_panel_bgcolor_c)) {
-                               echo "background-color: $top_panel_bgcolor_c;";
+                       if (isset($maj_top_panel_bgcolor_c)) {
+                               echo "background-color: $maj_top_panel_bgcolor_c;";
                        }
 
-                       if (isset($top_panel_text_c)) {
-                               echo "color: $top_panel_text_c;";
+                       if (isset($maj_top_panel_text_c)) {
+                               echo "color: $maj_top_panel_text_c;";
                        }
 
-                       if (isset($top_panel_border)) {
-                               echo "border-color: $top_panel_border;";
+                       if (isset($maj_top_panel_border)) {
+                               echo "border-color: $maj_top_panel_border;";
                        }
 
-                       if (isset($top_panel_border) or isset($top_panel_bgcolor_c) or isset($top_panel_text_c)) {
+                       if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_c) or isset($maj_top_panel_text_c)) {
                                echo '"';
                        }
 
                        echo '>';
                }
 
-               if (file_exists("data/panels/$top_panel/free.txt")) {
-                       echo '<div id=panel_free>';
+               if (file_exists("data/panels/$maj_top_panel/free.txt")) {
+                       echo '<div class=panel_free>';
                }
 
-               include("data/panels/$top_panel/panel.php");
+               include("data/panels/$maj_top_panel/panel.php");
 
                echo '</div>';
 
-               if (file_exists("data/round.txt") and !file_exists("data/panels/$top_panel/free.txt")) {
+               if (file_exists("data/round.txt") and !file_exists("data/panels/$maj_top_panel/free.txt")) {
 
                        echo '<b class="rbbottom"><b class="rb4b"';
 
-                       if (isset($top_panel_border) or isset($top_panel_bgcolor_c)) {
+                       if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($top_panel_bgcolor_c)) {
-                               echo "background-color: $top_panel_bgcolor_c;";
+                       if (isset($maj_top_panel_bgcolor_c)) {
+                               echo "background-color: $maj_top_panel_bgcolor_c;";
                        }
 
-                       if (isset($top_panel_border)) {
-                               echo "border-color: $top_panel_border;";
+                       if (isset($maj_top_panel_border)) {
+                               echo "border-color: $maj_top_panel_border;";
                        }
 
-                       if (isset($top_panel_border) or isset($top_panel_bgcolor_c)) {
+                       if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb3b"';
 
-                       if (isset($top_panel_border) or isset($top_panel_bgcolor_c)) {
+                       if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($top_panel_bgcolor_c)) {
-                               echo "background-color: $top_panel_bgcolor_c;";
+                       if (isset($maj_top_panel_bgcolor_c)) {
+                               echo "background-color: $maj_top_panel_bgcolor_c;";
                        }
 
-                       if (isset($top_panel_border)) {
-                               echo "border-color: $top_panel_border;";
+                       if (isset($maj_top_panel_border)) {
+                               echo "border-color: $maj_top_panel_border;";
                        }
 
-                       if (isset($top_panel_border) or isset($top_panel_bgcolor_c)) {
+                       if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb2b"';
 
-                       if (isset($top_panel_border) or isset($top_panel_bgcolor_c)) {
+                       if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($top_panel_bgcolor_c)) {
-                               echo "background-color: $top_panel_bgcolor_c;";
+                       if (isset($maj_top_panel_bgcolor_c)) {
+                               echo "background-color: $maj_top_panel_bgcolor_c;";
                        }
 
-                       if (isset($top_panel_border)) {
-                               echo "border-color: $top_panel_border;";
+                       if (isset($maj_top_panel_border)) {
+                               echo "border-color: $maj_top_panel_border;";
                        }
 
-                       if (isset($top_panel_border) or isset($top_panel_bgcolor_c)) {
+                       if (isset($maj_top_panel_border) or isset($maj_top_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb1b"';
 
-                       if (isset($top_panel_border)) {
-                               echo " style=\"background-color: $top_panel_border;\"";
+                       if (isset($maj_top_panel_border)) {
+                               echo " style=\"background-color: $maj_top_panel_border;\"";
                        }
 
                        echo '></b></b>';
@@ -2316,331 +2404,331 @@ if (file_exists("data/albums")) {
 
 // global entry items (start)
 
-if ($dh_items = opendir("data/items")) {
+if ($maj_dh_items = opendir("data/items")) {
 
-       while (($item = readdir($dh_items)) !== false) {
+       while (($maj_item = readdir($maj_dh_items)) !== false) {
 
-               if ($item != "." && $item != "..") {
+               if ($maj_item != "." && $maj_item != "..") {
 
-                       if (file_exists("data/items/$item/comments/live") and (count(glob("data/items/$item/comments/live/*")) < 1)) {
-                               rmdirr("data/items/$item/comments/live");
+                       if (file_exists("data/items/$maj_item/comments/live") and (count(glob("data/items/$maj_item/comments/live/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/comments/live");
                        }
 
-                       if (file_exists("data/items/$item/comments/pending") and (count(glob("data/items/$item/comments/pending/*")) < 1)) {
-                               rmdirr("data/items/$item/comments/pending");
+                       if (file_exists("data/items/$maj_item/comments/pending") and (count(glob("data/items/$maj_item/comments/pending/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/comments/pending");
                        }
 
-                       if (file_exists("data/items/$item/comments") and (count(glob("data/items/$item/comments/*")) < 1)) {
-                               rmdirr("data/items/$item/comments");
+                       if (file_exists("data/items/$maj_item/comments") and (count(glob("data/items/$maj_item/comments/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/comments");
                        }
 
-                       if (file_exists("data/items/$item/filedrop/files") and (count(glob("data/items/$item/filedrop/files/*")) < 1)) {
-                               rmdirr("data/items/$item/filedrop/files");
+                       if (file_exists("data/items/$maj_item/filedrop/files") and (count(glob("data/items/$maj_item/filedrop/files/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/filedrop/files");
                        }
 
-                       if (file_exists("data/items/$item/filedrop/count") and (count(glob("data/items/$item/filedrop/count/*")) < 1)) {
-                               rmdirr("data/items/$item/filedrop/count");
+                       if (file_exists("data/items/$maj_item/filedrop/count") and (count(glob("data/items/$maj_item/filedrop/count/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/filedrop/count");
                        }
 
-                       if (file_exists("data/items/$item/filedrop") and (count(glob("data/items/$item/filedrop/*")) < 1)) {
-                               rmdirr("data/items/$item/filedrop");
+                       if (file_exists("data/items/$maj_item/filedrop") and (count(glob("data/items/$maj_item/filedrop/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/filedrop");
                        }
 
-                       if ((!file_exists("images/$item/album") or (count(glob("images/$item/album/*")) < 1)) and file_exists("data/items/$item/album/captions") and (count(glob("data/items/$item/album/captions/*")) < 1)) {
-                               rmdirr("data/items/$item/album/captions");
+                       if ((!file_exists("images/$maj_item/album") or (count(glob("images/$maj_item/album/*")) < 1)) and file_exists("data/items/$maj_item/album/captions") and (count(glob("data/items/$maj_item/album/captions/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/album/captions");
                        }
 
-                       if ((!file_exists("images/$item/album") or (count(glob("images/$item/album/*")) < 1)) and file_exists("data/items/$item/album/count") and (count(glob("data/items/$item/album/count/*")) < 1)) {
-                               rmdirr("data/items/$item/album/count");
+                       if ((!file_exists("images/$maj_item/album") or (count(glob("images/$maj_item/album/*")) < 1)) and file_exists("data/items/$maj_item/album/count") and (count(glob("data/items/$maj_item/album/count/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/album/count");
                        }
 
-                       if ((!file_exists("images/$item/album") or (count(glob("images/$item/album/*")) < 1)) and file_exists("data/items/$item/album") and (count(glob("data/items/$item/album/*")) < 1)) {
-                               rmdirr("data/items/$item/album");
+                       if ((!file_exists("images/$maj_item/album") or (count(glob("images/$maj_item/album/*")) < 1)) and file_exists("data/items/$maj_item/album") and (count(glob("data/items/$maj_item/album/*")) < 1)) {
+                               rmdirr("data/items/$maj_item/album");
                        }
 
-                       if (file_exists("images/$item/album") and (count(glob("images/$item/album/*")) < 1)) {
-                               rmdirr("images/$item/album");
+                       if (file_exists("images/$maj_item/album") and (count(glob("images/$maj_item/album/*")) < 1)) {
+                               rmdirr("images/$maj_item/album");
                        }
 
-                       if (file_exists("images/$item") and (count(glob("images/$item/*")) < 1)) {
-                               rmdirr("images/$item");
+                       if (file_exists("images/$maj_item") and (count(glob("images/$maj_item/*")) < 1)) {
+                               rmdirr("images/$maj_item");
                        }
 
-                       if (file_exists("images/$item/categories") and (count(glob("images/$item/categories/*")) < 1)) {
-                               rmdirr("images/$item/categories");
+                       if (file_exists("images/$maj_item/categories") and (count(glob("images/$maj_item/categories/*")) < 1)) {
+                               rmdirr("images/$maj_item/categories");
                        }
 
-                       $grand[] = $item;
+                       $maj_grand[] = $maj_item;
 
-                       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+                       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
 
-                               if (isset($req_entry) or isset($req_category) or isset($req_archive) or isset($req_find) or isset($req_author)) {
+                               if (isset($maj_req_entry) or isset($maj_req_category) or isset($maj_req_archive) or isset($maj_req_find) or isset($maj_req_author)) {
       
-                                       if (isset($req_entry) and file_exists("data/items/$req_entry")) {
-                                               $items[] = $req_entry;
+                                       if (isset($maj_req_entry) and file_exists("data/items/$maj_req_entry")) {
+                                               $maj_items[] = $maj_req_entry;
                                        }
 
-                                       if (isset($req_category) and file_exists("data/categories/$req_category") and file_exists("data/items/$item/categories/$req_category")) {
-                                               $items[] = $item;
+                                       if (isset($maj_req_category) and file_exists("data/categories/$maj_req_category") and file_exists("data/items/$maj_item/categories/$maj_req_category")) {
+                                               $maj_items[] = $maj_item;
                                        }
 
-                                       if (isset($req_archive) and fnmatch("$req_archive*",$item)) {
-                                               $items[] = $item;
+                                       if (isset($maj_req_archive) and fnmatch("$maj_req_archive*",$maj_item)) {
+                                               $maj_items[] = $maj_item;
                                        }
 
-                                       if (isset($req_author) and (file_exists("data/members/active/$req_author") or (file_get_contents("data/username.txt") == $req_author)) and (file_get_contents("data/items/$item/author.txt") == $req_author)) {
-                                               $items[] = $item;
+                                       if (isset($maj_req_author) and (file_exists("data/members/active/$maj_req_author") or (file_get_contents("data/username.txt") == $maj_req_author)) and (file_get_contents("data/items/$maj_item/author.txt") == $maj_req_author)) {
+                                               $maj_items[] = $maj_item;
                                        }
 
-                                       if (isset($req_find)) {
+                                       if (isset($maj_req_find)) {
 
-                                               if ((($req_find == "private") or ($req_find == "member") or ($req_find == "passwd")) and file_exists("data/items/$item/{$req_find}.txt")) {
-                                                       $items[] = $item;
+                                               if ((($maj_req_find == "private") or ($maj_req_find == "member") or ($maj_req_find == "passwd")) and file_exists("data/items/$maj_item/{$maj_req_find}.txt")) {
+                                                       $maj_items[] = $maj_item;
                                                }
 
-                                               if ((($req_find == "comments") or ($req_find == "filedrop") or ($req_find == "album")) and file_exists("data/items/$item/$req_find")) {
-                                                       $items[] = $item;
+                                               if ((($maj_req_find == "comments") or ($maj_req_find == "filedrop") or ($maj_req_find == "album")) and file_exists("data/items/$maj_item/$maj_req_find")) {
+                                                       $maj_items[] = $maj_item;
                                                }
 
-                                               if (($req_find == "unfiled") and !file_exists("data/items/$item/categories")) {
-                                                       $items[] = $item;
+                                               if (($maj_req_find == "unfiled") and !file_exists("data/items/$maj_item/categories")) {
+                                                       $maj_items[] = $maj_item;
                                                }
                                        }
                                }
                                else {
-                                       $items[] = $item;
+                                       $maj_items[] = $maj_item;
                                }
 
-                               $latest[] = $item;
+                               $maj_latest[] = $maj_item;
 
-                               if (file_exists("data/items/$item/album")) {
-                                       $albums[] = $item;
+                               if (file_exists("data/items/$maj_item/album")) {
+                                       $maj_albums[] = $maj_item;
                                }
 
-                               $random[] = $item;                     
+                               $maj_random[] = $maj_item;                     
 
-                               $archives[] = substr($item,0,6);
+                               $maj_archives[] = substr($maj_item,0,6);
                        }
                        else {
 
                                // non-admin stuff (start)
 
-                               $today = date("YmdHis",time() + $offset);
+                               $maj_today = date("YmdHis",time() + $maj_offset);
       
-                               if ($item > $today) {
+                               if ($maj_item > $maj_today) {
                                        continue;
                                }
 
-                               if (file_exists("data/items/$item/private.txt")) {
+                               if (file_exists("data/items/$maj_item/private.txt")) {
                                        continue;
                                }
 
-                               $private_categories = "0";
+                               $maj_private_categories = "0";
 
-                               if (file_exists("data/items/$item/categories")) {
+                               if (file_exists("data/items/$maj_item/categories")) {
                       
-                                       if ($dh_entry_categories = opendir("data/items/$item/categories")) {
+                                       if ($maj_dh_entry_categories = opendir("data/items/$maj_item/categories")) {
                       
-                                               while (($item_category = readdir($dh_entry_categories)) !== false) {
+                                               while (($maj_item_category = readdir($maj_dh_entry_categories)) !== false) {
                       
-                                                       if ($item_category != "." && $item_category != "..") {
+                                                       if ($maj_item_category != "." && $maj_item_category != "..") {
                       
-                                                               if (file_exists("data/categories/$item_category/private.txt")) {
-                                                                       $private_categories = $private_categories + 1;
+                                                               if (file_exists("data/categories/$maj_item_category/private.txt")) {
+                                                                       $maj_private_categories = $maj_private_categories + 1;
                                                                }
                                                        }
                                                }
-                                               closedir($dh_entry_categories);
+                                               closedir($maj_dh_entry_categories);
                                        }
                                }
 
-                               if (($private_categories > 0) and !file_exists("data/items/$item/cat.txt")) {
+                               if (($maj_private_categories > 0) and !file_exists("data/items/$maj_item/cat.txt")) {
                                        continue;
                                }
 
-                               $latest[] = $item;
+                               $maj_latest[] = $maj_item;
 
-                               if (file_exists("data/items/$item/member.txt") and (!isset($_SESSION['logged_in']))) {
+                               if (file_exists("data/items/$maj_item/member.txt") and (!isset($_SESSION['logged_in']))) {
                                        continue;
                                }
 
-                               if (file_exists("data/items/$item/album")) {
-                                       $albums[] = $item;
+                               if (file_exists("data/items/$maj_item/album")) {
+                                       $maj_albums[] = $maj_item;
                                }
 
-                               $random[] = $item;
-                               $archives[] = substr($item,0,6);
+                               $maj_random[] = $maj_item;
+                               $maj_archives[] = substr($maj_item,0,6);
 
-                               if (file_exists("data/nocat.txt") and file_exists("data/items/$item/categories") and !file_exists("data/items/$item/cat.txt") and (!isset($req_category) or empty($req_category)) and (!isset($req_entry) or empty($req_entry)) and (!isset($req_author) or empty($req_author))) {
+                               if (file_exists("data/nocat.txt") and file_exists("data/items/$maj_item/categories") and !file_exists("data/items/$maj_item/cat.txt") and (!isset($maj_req_category) or empty($maj_req_category)) and (!isset($maj_req_entry) or empty($maj_req_entry)) and (!isset($maj_req_author) or empty($maj_req_author))) {
                                        continue;
                                }
 
-                               if (isset($req_entry) or isset($req_category) or isset($req_archive) or isset($req_find) or isset($req_author)) {
+                               if (isset($maj_req_entry) or isset($maj_req_category) or isset($maj_req_archive) or isset($maj_req_find) or isset($maj_req_author)) {
       
-                                       if (isset($req_entry) and file_exists("data/items/$req_entry")) {
-                                               $items[] = $req_entry;
+                                       if (isset($maj_req_entry) and file_exists("data/items/$maj_req_entry")) {
+                                               $maj_items[] = $maj_req_entry;
                                        }
 
-                                       if (isset($req_category) and file_exists("data/categories/$req_category") and file_exists("data/items/$item/categories/$req_category")) {
-                                               $items[] = $item;
+                                       if (isset($maj_req_category) and file_exists("data/categories/$maj_req_category") and file_exists("data/items/$maj_item/categories/$maj_req_category")) {
+                                               $maj_items[] = $maj_item;
                                        }
 
-                                       if (isset($req_archive) and fnmatch("$req_archive*",$item)) {
-                                               $items[] = $item;
+                                       if (isset($maj_req_archive) and fnmatch("$maj_req_archive*",$maj_item)) {
+                                               $maj_items[] = $maj_item;
                                        }
 
-                                       if (isset($req_author) and (file_exists("data/members/active/$req_author") or (file_get_contents("data/username.txt") == $req_author)) and (file_get_contents("data/items/$item/author.txt") == $req_author)) {
-                                               $items[] = $item;
+                                       if (isset($maj_req_author) and (file_exists("data/members/active/$maj_req_author") or (file_get_contents("data/username.txt") == $maj_req_author)) and (file_get_contents("data/items/$maj_item/author.txt") == $maj_req_author)) {
+                                               $maj_items[] = $maj_item;
                                        }
                                }
                                else {
-                                       $items[] = $item;
+                                       $maj_items[] = $maj_item;
                                }
 
                                // non-admin stuff (end)
                        }
                }
        }
-       closedir($dh_items);
+       closedir($maj_dh_items);
 }
 
-sort($grand);
-reset($grand);
+sort($maj_grand);
+reset($maj_grand);
 
-$count_grand = count($grand);
+$maj_count_grand = count($maj_grand);
 
-if (isset($req_entry) and file_exists("data/items/$req_entry")) {
+if (isset($maj_req_entry) and file_exists("data/items/$maj_req_entry")) {
 
-       if (file_exists("data/items/$req_entry/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
-               unset($items);
+       if (file_exists("data/items/$maj_req_entry/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
+               unset($maj_items);
        }
 
-       if (file_exists("data/items/$req_entry/member.txt") and !isset($_SESSION['logged_in'])) {
-               unset($items);
+       if (file_exists("data/items/$maj_req_entry/member.txt") and !isset($_SESSION['logged_in'])) {
+               unset($maj_items);
        }
 }
 
-$items = array_unique($items);
-$items = array_values($items);
+$maj_items = array_unique($maj_items);
+$maj_items = array_values($maj_items);
 
 if (file_exists("data/old.txt")) {
-       sort($items);
+       sort($maj_items);
 }
 else {
-       rsort($items);
+       rsort($maj_items);
 }
 
-reset($items);
+reset($maj_items);
 
-$count_items = count($items);
+$maj_count_items = count($maj_items);
 
-rsort($latest);
-reset($latest);
+rsort($maj_latest);
+reset($maj_latest);
 
-$count_latest = count($latest);
+$maj_count_latest = count($maj_latest);
 
-rsort($albums);
-reset($albums);
+rsort($maj_albums);
+reset($maj_albums);
 
-$count_albums = count($albums);
+$maj_count_albums = count($maj_albums);
 
-rsort($random);
-reset($random);
+rsort($maj_random);
+reset($maj_random);
 
-$count_random = count($random);
+$maj_count_random = count($maj_random);
 
-rsort($archives);
-reset($archives);
+rsort($maj_archives);
+reset($maj_archives);
 
-$count_archives = count($archives);
+$maj_count_archives = count($maj_archives);
 
-if (file_exists("data/bb.txt") and file_exists("data/bb-summary.txt") and !file_exists("data/lite.txt") and !isset($req_entry) and !isset($req_category) and !isset($_REQUEST['start']) and !isset($req_author) and !isset($req_archive) and !isset($req_find)) {
+if (file_exists("data/bb.txt") and file_exists("data/bb-summary.txt") and !file_exists("data/lite.txt") and !isset($maj_req_entry) and !isset($maj_req_category) and !isset($_REQUEST['start']) and !isset($maj_req_author) and !isset($maj_req_archive) and !isset($maj_req_find)) {
 
-       if ($count_latest > 0) {
+       if ($maj_count_latest > 0) {
 
                if (file_exists("data/round.txt")) {
                        echo "<b class=\"rbtop\"><b class=\"rb1t\"></b><b class=\"rb2t\"></b><b class=\"rb3t\"></b><b class=\"rb4t\"></b></b><div class=\"xtitle\">";
                }
                else {
-                       echo "<div id=\"panel_title\">";
+                       echo "<div class=\"panel_title\">";
                }
 
-               echo "Latest Entries</div><div id=\"panel_body\">";
+               echo "Latest Entries</div><div class=\"panel_body\">";
                echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"100%\">";
                echo "<tr><td bgcolor=\"#eeeeee\" align=\"center\">topic</td><td bgcolor=\"#eeeeee\" align=\"center\">author</td><td bgcolor=\"#eeeeee\" align=\"center\">views</td><td bgcolor=\"#eeeeee\" align=\"center\">comments</td><td bgcolor=\"#eeeeee\" align=\"center\">last post</td></tr>";
 
-               $increment_latest = 0;
+               $maj_increment_latest = 0;
 
-               while ($increment_latest <= 4) {
+               while ($maj_increment_latest <= 4) {
 
-                       echo "<tr><td bgcolor=\"#ffffff\"><a href=\"index.php?entry=$latest[$increment_latest]";
+                       echo "<tr><td bgcolor=\"#ffffff\"><a href=\"index.php?entry=$maj_latest[$maj_increment_latest]";
 
-                       if ($dh_summary_comments = opendir("data/items/$latest[$increment_latest]/comments/live")) {
+                       if ($maj_dh_summary_comments = opendir("data/items/$maj_latest[$maj_increment_latest]/comments/live")) {
 
-                               while (($entry_summary_comments = readdir($dh_summary_comments)) !== false) {
+                               while (($maj_entry_summary_comments = readdir($maj_dh_summary_comments)) !== false) {
 
-                                       if ($entry_summary_comments != "." && $entry_summary_comments != "..") {
-                                               $items_summary_comments[] = $entry_summary_comments;
+                                       if ($maj_entry_summary_comments != "." && $maj_entry_summary_comments != "..") {
+                                               $maj_items_summary_comments[] = $maj_entry_summary_comments;
                                        }
                                }
-                               closedir($dh_summary_comments);
+                               closedir($maj_dh_summary_comments);
                        }
 
-                       rsort($items_summary_comments);
+                       rsort($maj_items_summary_comments);
 
-                       $summary_comments = count($items_summary_comments);
+                       $maj_summary_comments = count($maj_items_summary_comments);
       
-                       if ($summary_comments > 0) {
+                       if ($maj_summary_comments > 0) {
                                echo "&show=comments";
                        }
       
                        echo "\">";
-                       readfile("data/items/$latest[$increment_latest]/title.txt");
+                       readfile("data/items/$maj_latest[$maj_increment_latest]/title.txt");
                        echo "</a></td>";
 
-                       echo "<td bgcolor=\"#ffffff\"><a href=\"member.php?id=";
-                       readfile("data/items/$latest[$increment_latest]/author.txt");
+                       echo "<td bgcolor=\"#ffffff\"><a href=\"member.php?class=";
+                       readfile("data/items/$maj_latest[$maj_increment_latest]/author.txt");
                        echo "\">";
-                       readfile("data/items/$latest[$increment_latest]/author.txt");
+                       readfile("data/items/$maj_latest[$maj_increment_latest]/author.txt");
                        echo "</a></td>";
                        echo "<td bgcolor=\"#ffffff\" align=\"right\">";
 
-                       if (!file_exists("data/items/$latest[$increment_latest]/views.txt")) {
+                       if (!file_exists("data/items/$maj_latest[$maj_increment_latest]/views.txt")) {
                                echo 0;
                        }
                        else {
-                               readfile("data/items/$latest[$increment_latest]/views.txt");
+                               readfile("data/items/$maj_latest[$maj_increment_latest]/views.txt");
                        }
       
                        echo "</td>";
 
-                       if ($summary_comments < 1) {
+                       if ($maj_summary_comments < 1) {
 
-                               $iso_year = substr($latest[$increment_latest],0,4);
-                               $iso_month = substr($latest[$increment_latest],4,2);
-                               $iso_day = substr($latest[$increment_latest],6,2);
-                               $iso_last = $iso_year . "-" . $iso_month . "-" . $iso_day;
+                               $maj_iso_year = substr($maj_latest[$maj_increment_latest],0,4);
+                               $maj_iso_month = substr($maj_latest[$maj_increment_latest],4,2);
+                               $maj_iso_day = substr($maj_latest[$maj_increment_latest],6,2);
+                               $maj_iso_last = $maj_iso_year . "-" . $maj_iso_month . "-" . $maj_iso_day;
 
                                echo "<td bgcolor=\"#ffffff\" align=\"right\">0</td>";
-                               echo "<td bgcolor=\"#ffffff\" align=\"right\">$iso_last</td>";
+                               echo "<td bgcolor=\"#ffffff\" align=\"right\">$maj_iso_last</td>";
                        }
                        else {
-                               $iso_year = substr($items_summary_comments[0],0,4);
-                               $iso_month = substr($items_summary_comments[0],4,2);
-                               $iso_day = substr($items_summary_comments[0],6,2);
-                               $iso_last = $iso_year . "-" . $iso_month . "-" . $iso_day;
+                               $maj_iso_year = substr($maj_items_summary_comments[0],0,4);
+                               $maj_iso_month = substr($maj_items_summary_comments[0],4,2);
+                               $maj_iso_day = substr($maj_items_summary_comments[0],6,2);
+                               $maj_iso_last = $maj_iso_year . "-" . $maj_iso_month . "-" . $maj_iso_day;
 
-                               echo "<td bgcolor=\"#ffffff\" align=\"right\">$summary_comments</td>";
-                               echo "<td bgcolor=\"#ffffff\" align=\"right\">$iso_last</td>";
+                               echo "<td bgcolor=\"#ffffff\" align=\"right\">$maj_summary_comments</td>";
+                               echo "<td bgcolor=\"#ffffff\" align=\"right\">$maj_iso_last</td>";
                        }
       
-                       unset($items_summary_comments);
+                       unset($maj_items_summary_comments);
 
-                       $increment_latest = $increment_latest + 1;
+                       $maj_increment_latest = $maj_increment_latest + 1;
                }
        }
 
-       if ($count_latest > 0) {
+       if ($maj_count_latest > 0) {
 
                echo "</table></div>";
 
@@ -2651,54 +2739,54 @@ if (file_exists("data/bb.txt") and file_exists("data/bb-summary.txt") and !file_
 
 }
 
-if ($count_center_panels > 0) {
+if ($maj_count_center_panels > 0) {
 
-       foreach ($center_panels as $center_panel) {
+       foreach ($maj_center_panels as $maj_center_panel) {
 
-               if (!file_exists("data/panels/$center_panel/free.txt")) {
+               if (!file_exists("data/panels/$maj_center_panel/free.txt")) {
 
-                       if (file_exists("data/panels/$center_panel/border.txt")) {
-                               $center_panel_border = file_get_contents("data/panels/$center_panel/border.txt");
+                       if (file_exists("data/panels/$maj_center_panel/border.txt")) {
+                               $maj_center_panel_border = file_get_contents("data/panels/$maj_center_panel/border.txt");
                        }
                        else {
-                               if (isset($center_panel_border)) {
-                                       unset($center_panel_border);
+                               if (isset($maj_center_panel_border)) {
+                                       unset($maj_center_panel_border);
                                }
                        }
 
-                       if (file_exists("data/panels/$center_panel/bgcolor-t.txt")) {
-                               $center_panel_bgcolor_t = file_get_contents("data/panels/$center_panel/bgcolor-t.txt");
+                       if (file_exists("data/panels/$maj_center_panel/bgcolor-t.txt")) {
+                               $maj_center_panel_bgcolor_t = file_get_contents("data/panels/$maj_center_panel/bgcolor-t.txt");
                        }
                        else {
-                               if (isset($center_panel_bgcolor_t)) {
-                                       unset($center_panel_bgcolor_t);
+                               if (isset($maj_center_panel_bgcolor_t)) {
+                                       unset($maj_center_panel_bgcolor_t);
                                }
                        }
 
-                       if (file_exists("data/panels/$center_panel/bgcolor-c.txt")) {
-                               $center_panel_bgcolor_c = file_get_contents("data/panels/$center_panel/bgcolor-c.txt");
+                       if (file_exists("data/panels/$maj_center_panel/bgcolor-c.txt")) {
+                               $maj_center_panel_bgcolor_c = file_get_contents("data/panels/$maj_center_panel/bgcolor-c.txt");
                        }
                        else {
-                               if (isset($center_panel_bgcolor_c)) {
-                                       unset($center_panel_bgcolor_c);
+                               if (isset($maj_center_panel_bgcolor_c)) {
+                                       unset($maj_center_panel_bgcolor_c);
                                }
                        }
 
-                       if (file_exists("data/panels/$center_panel/text-t.txt")) {
-                               $center_panel_text_t = file_get_contents("data/panels/$center_panel/text-t.txt");
+                       if (file_exists("data/panels/$maj_center_panel/text-t.txt")) {
+                               $maj_center_panel_text_t = file_get_contents("data/panels/$maj_center_panel/text-t.txt");
                        }
                        else {
-                               if (isset($center_panel_text_t)) {
-                                       unset($center_panel_text_t);
+                               if (isset($maj_center_panel_text_t)) {
+                                       unset($maj_center_panel_text_t);
                                }
                        }
 
-                       if (file_exists("data/panels/$center_panel/text-c.txt")) {
-                               $center_panel_text_c = file_get_contents("data/panels/$center_panel/text-c.txt");
+                       if (file_exists("data/panels/$maj_center_panel/text-c.txt")) {
+                               $maj_center_panel_text_c = file_get_contents("data/panels/$maj_center_panel/text-c.txt");
                        }
                        else {
-                               if (isset($center_panel_text_c)) {
-                                       unset($center_panel_text_c);
+                               if (isset($maj_center_panel_text_c)) {
+                                       unset($maj_center_panel_text_c);
                                }
                        }
 
@@ -2706,220 +2794,220 @@ if ($count_center_panels > 0) {
 
                                echo '<b class="rbtop"><b class="rb1t"';
 
-                               if (isset($center_panel_border)) {
-                                       echo " style=\"background-color: $center_panel_border;\"";
+                               if (isset($maj_center_panel_border)) {
+                                       echo " style=\"background-color: $maj_center_panel_border;\"";
                                }
 
                                echo '></b><b class="rb2t"';
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($center_panel_bgcolor_t)) {
-                                       echo "background-color: $center_panel_bgcolor_t;";
+                               if (isset($maj_center_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_center_panel_bgcolor_t;";
                                }
 
-                               if (isset($center_panel_border)) {
-                                       echo "border-color: $center_panel_border;";
+                               if (isset($maj_center_panel_border)) {
+                                       echo "border-color: $maj_center_panel_border;";
                                }
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb3t"';
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($center_panel_bgcolor_t)) {
-                                       echo "background-color: $center_panel_bgcolor_t;";
+                               if (isset($maj_center_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_center_panel_bgcolor_t;";
                                }
 
-                               if (isset($center_panel_border)) {
-                                       echo "border-color: $center_panel_border;";
+                               if (isset($maj_center_panel_border)) {
+                                       echo "border-color: $maj_center_panel_border;";
                                }
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb4t"';
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($center_panel_bgcolor_t)) {
-                                       echo "background-color: $center_panel_bgcolor_t;";
+                               if (isset($maj_center_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_center_panel_bgcolor_t;";
                                }
 
-                               if (isset($center_panel_border)) {
-                                       echo "border-color: $center_panel_border;";
+                               if (isset($maj_center_panel_border)) {
+                                       echo "border-color: $maj_center_panel_border;";
                                }
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b></b><div class="xtitle"';
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t) or isset($center_panel_text_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t) or isset($maj_center_panel_text_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($center_panel_bgcolor_t)) {
-                                       echo "background-color: $center_panel_bgcolor_t;";
+                               if (isset($maj_center_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_center_panel_bgcolor_t;";
                                }
 
-                               if (isset($center_panel_text_t)) {
-                                       echo "color: $center_panel_text_t;";
+                               if (isset($maj_center_panel_text_t)) {
+                                       echo "color: $maj_center_panel_text_t;";
                                }
 
-                               if (isset($center_panel_border)) {
-                                       echo "border-color: $center_panel_border;";
+                               if (isset($maj_center_panel_border)) {
+                                       echo "border-color: $maj_center_panel_border;";
                                }
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t) or isset($center_panel_text_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t) or isset($maj_center_panel_text_t)) {
                                        echo '"';
                                }
 
                                echo '>';
                        }
                        else {
-                               echo '<div id="panel_title"';
+                               echo '<div class="panel_title"';
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t) or isset($center_panel_text_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t) or isset($maj_center_panel_text_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($center_panel_bgcolor_t)) {
-                                       echo "background-color: $center_panel_bgcolor_t;";
+                               if (isset($maj_center_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_center_panel_bgcolor_t;";
                                }
 
-                               if (isset($center_panel_text_t)) {
-                                       echo "color: $center_panel_text_t;";
+                               if (isset($maj_center_panel_text_t)) {
+                                       echo "color: $maj_center_panel_text_t;";
                                }
 
-                               if (isset($center_panel_border)) {
-                                       echo "border-color: $center_panel_border;";
+                               if (isset($maj_center_panel_border)) {
+                                       echo "border-color: $maj_center_panel_border;";
                                }
 
-                               if (isset($center_panel_border) or isset($center_panel_bgcolor_t) or isset($center_panel_text_t)) {
+                               if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_t) or isset($maj_center_panel_text_t)) {
                                        echo '"';
                                }
 
                                echo '>';
                        }
 
-                       readfile("data/panels/$center_panel/title.txt");
+                       readfile("data/panels/$maj_center_panel/title.txt");
 
-                       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
-                               echo "<a href=\"panels.php#{$center_panel}\">";
+                       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
+                               echo "<a href=\"panels.php#{$maj_center_panel}\">";
                                echo '<img src="images/widget.edit.png" border="0" width="11" height="11" align="right"></a>';
                        }
 
-                       if (file_exists("data/panels/$center_panel/private.txt")) {
+                       if (file_exists("data/panels/$maj_center_panel/private.txt")) {
                                echo '<img src="images/widget.private.png" border="0" width="11" height="11" align="right">';
                        }
 
                        echo '</div>';
 
-                       echo '<div id="panel_body"';
+                       echo '<div class="panel_body"';
 
-                       if (isset($center_panel_border) or isset($center_panel_bgcolor_c) or isset($center_panel_text_c)) {
+                       if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_c) or isset($maj_center_panel_text_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($center_panel_bgcolor_c)) {
-                               echo "background-color: $center_panel_bgcolor_c;";
+                       if (isset($maj_center_panel_bgcolor_c)) {
+                               echo "background-color: $maj_center_panel_bgcolor_c;";
                        }
 
-                       if (isset($center_panel_text_c)) {
-                               echo "color: $center_panel_text_c;";
+                       if (isset($maj_center_panel_text_c)) {
+                               echo "color: $maj_center_panel_text_c;";
                        }
 
-                       if (isset($center_panel_border)) {
-                               echo "border-color: $center_panel_border;";
+                       if (isset($maj_center_panel_border)) {
+                               echo "border-color: $maj_center_panel_border;";
                        }
 
-                       if (isset($center_panel_border) or isset($center_panel_bgcolor_c) or isset($center_panel_text_c)) {
+                       if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_c) or isset($maj_center_panel_text_c)) {
                                echo '"';
                        }
 
                        echo '>';
                }
 
-               if (file_exists("data/panels/$center_panel/free.txt")) {
-                       echo '<div id=panel_free>';
+               if (file_exists("data/panels/$maj_center_panel/free.txt")) {
+                       echo '<div class=panel_free>';
                }
 
-               include("data/panels/$center_panel/panel.php");
+               include("data/panels/$maj_center_panel/panel.php");
 
                echo '</div>';
 
-               if (file_exists("data/round.txt") and !file_exists("data/panels/$center_panel/free.txt")) {
+               if (file_exists("data/round.txt") and !file_exists("data/panels/$maj_center_panel/free.txt")) {
 
                        echo '<b class="rbbottom"><b class="rb4b"';
 
-                       if (isset($center_panel_border) or isset($center_panel_bgcolor_c)) {
+                       if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($center_panel_bgcolor_c)) {
-                               echo "background-color: $center_panel_bgcolor_c;";
+                       if (isset($maj_center_panel_bgcolor_c)) {
+                               echo "background-color: $maj_center_panel_bgcolor_c;";
                        }
 
-                       if (isset($center_panel_border)) {
-                               echo "border-color: $center_panel_border;";
+                       if (isset($maj_center_panel_border)) {
+                               echo "border-color: $maj_center_panel_border;";
                        }
 
-                       if (isset($center_panel_border) or isset($center_panel_bgcolor_c)) {
+                       if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb3b"';
 
-                       if (isset($center_panel_border) or isset($center_panel_bgcolor_c)) {
+                       if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($center_panel_bgcolor_c)) {
-                               echo "background-color: $center_panel_bgcolor_c;";
+                       if (isset($maj_center_panel_bgcolor_c)) {
+                               echo "background-color: $maj_center_panel_bgcolor_c;";
                        }
 
-                       if (isset($center_panel_border)) {
-                               echo "border-color: $center_panel_border;";
+                       if (isset($maj_center_panel_border)) {
+                               echo "border-color: $maj_center_panel_border;";
                        }
 
-                       if (isset($center_panel_border) or isset($center_panel_bgcolor_c)) {
+                       if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb2b"';
 
-                       if (isset($center_panel_border) or isset($center_panel_bgcolor_c)) {
+                       if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($center_panel_bgcolor_c)) {
-                               echo "background-color: $center_panel_bgcolor_c;";
+                       if (isset($maj_center_panel_bgcolor_c)) {
+                               echo "background-color: $maj_center_panel_bgcolor_c;";
                        }
 
-                       if (isset($center_panel_border)) {
-                               echo "border-color: $center_panel_border;";
+                       if (isset($maj_center_panel_border)) {
+                               echo "border-color: $maj_center_panel_border;";
                        }
 
-                       if (isset($center_panel_border) or isset($center_panel_bgcolor_c)) {
+                       if (isset($maj_center_panel_border) or isset($maj_center_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb1b"';
 
-                       if (isset($center_panel_border)) {
-                               echo " style=\"background-color: $center_panel_border;\"";
+                       if (isset($maj_center_panel_border)) {
+                               echo " style=\"background-color: $maj_center_panel_border;\"";
                        }
 
                        echo '></b></b>';
@@ -2927,29 +3015,29 @@ if ($count_center_panels > 0) {
        }
 }
 
-if (isset($req_category) and !empty($req_category)) {
+if (isset($maj_req_category) and !empty($maj_req_category)) {
 
-       if (file_exists("data/categories/$req_category/book.txt")) {
-               sort($items);
-               reset($items);
+       if (file_exists("data/categories/$maj_req_category/book.txt")) {
+               sort($maj_items);
+               reset($maj_items);
        }
 }
 
-if ($count_items == 0) {
+if ($maj_count_items == 0) {
 
-       echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#cccccc\" style=\"background-color: transparent;\"><tr><td width=\"$wmain\">";
+       echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#cccccc\" style=\"background-color: transparent;\"><tr><td width=\"$maj_wmain\">";
 
        if (file_exists("data/round.txt")) {
                echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
        }
        else {
-               echo '<div id="panel_title">';
+               echo '<div class="panel_title">';
        }
 
-       echo "Oops!</div><div id=panel_body><table border=0 cellspacing=0 cellpadding=4><tr>";
+       echo "Oops!</div><div class=panel_body><table border=0 cellspacing=0 cellpadding=4><tr>";
        echo "<td valign=middle><img src=images/oops.png width=36 height=36 border=0></td><td valign=middle>";
 
-       if (($count_grand == 0) and (count($_GET) == 0)) {
+       if (($maj_count_grand == 0) and (count($_GET) == 0)) {
                echo "No entries found. Perhaps this is a fresh install.";
        }
        else {
@@ -2970,284 +3058,284 @@ if ($count_items == 0) {
        echo "</td></tr></table>";
 }
 
-$start = $_REQUEST['start'];
+$maj_start = $_REQUEST['start'];
 
 if (!isset($_REQUEST['start']) or empty($_REQUEST['start'])) {
-       $start = 0;
+       $maj_start = 0;
 }
 
-$end = $start + $increase;
+$maj_end = $maj_start + $maj_increase;
     
-$disp = array_slice($items,$start,$increase);
+$maj_disp = array_slice($maj_items,$maj_start,$maj_increase);
 
-foreach ($disp as $d) {
+foreach ($maj_disp as $maj_d) {
 
-       echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#cccccc\" style=\"background-color: transparent;\"><tr><td width=\"$wmain\">";
+       echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#cccccc\" style=\"background-color: transparent;\"><tr><td width=\"$maj_wmain\">";
 
-       if (file_exists("data/items/$d/border.txt")) {
-               $d_border = file_get_contents("data/items/$d/border.txt");
+       if (file_exists("data/items/$maj_d/border.txt")) {
+               $maj_d_border = file_get_contents("data/items/$maj_d/border.txt");
        }
        else {
-               if (isset($d_border)) {
-                       unset($d_border);
+               if (isset($maj_d_border)) {
+                       unset($maj_d_border);
                }
        }
 
-       if (file_exists("data/items/$d/bgcolor-t.txt")) {
-               $d_bgcolor_t = file_get_contents("data/items/$d/bgcolor-t.txt");
+       if (file_exists("data/items/$maj_d/bgcolor-t.txt")) {
+               $maj_d_bgcolor_t = file_get_contents("data/items/$maj_d/bgcolor-t.txt");
        }
        else {
-               if (isset($d_bgcolor_t)) {
-                       unset($d_bgcolor_t);
+               if (isset($maj_d_bgcolor_t)) {
+                       unset($maj_d_bgcolor_t);
                }
        }
 
-       if (file_exists("data/items/$d/bgcolor-b.txt")) {
-               $d_bgcolor_b = file_get_contents("data/items/$d/bgcolor-b.txt");
+       if (file_exists("data/items/$maj_d/bgcolor-b.txt")) {
+               $maj_d_bgcolor_b = file_get_contents("data/items/$maj_d/bgcolor-b.txt");
        }
        else {
-               if (isset($d_bgcolor_b)) {
-                       unset($d_bgcolor_b);
+               if (isset($maj_d_bgcolor_b)) {
+                       unset($maj_d_bgcolor_b);
                }
        }
 
-       if (file_exists("data/items/$d/bgcolor-c.txt")) {
-               $d_bgcolor_c = file_get_contents("data/items/$d/bgcolor-c.txt");
+       if (file_exists("data/items/$maj_d/bgcolor-c.txt")) {
+               $maj_d_bgcolor_c = file_get_contents("data/items/$maj_d/bgcolor-c.txt");
        }
        else {
-               if (isset($d_bgcolor_c)) {
-                       unset($d_bgcolor_c);
+               if (isset($maj_d_bgcolor_c)) {
+                       unset($maj_d_bgcolor_c);
                }
        }
 
-       if (file_exists("data/items/$d/bgcolor-f.txt")) {
-               $d_bgcolor_f = file_get_contents("data/items/$d/bgcolor-f.txt");
+       if (file_exists("data/items/$maj_d/bgcolor-f.txt")) {
+               $maj_d_bgcolor_f = file_get_contents("data/items/$maj_d/bgcolor-f.txt");
        }
        else {
-               if (isset($d_bgcolor_f)) {
-                       unset($d_bgcolor_f);
+               if (isset($maj_d_bgcolor_f)) {
+                       unset($maj_d_bgcolor_f);
                }
        }
 
-       if (file_exists("data/items/$d/text-t.txt")) {
-               $d_text_t = file_get_contents("data/items/$d/text-t.txt");
+       if (file_exists("data/items/$maj_d/text-t.txt")) {
+               $maj_d_text_t = file_get_contents("data/items/$maj_d/text-t.txt");
        }
        else {
-               if (isset($d_text_t)) {
-                       unset($d_text_t);
+               if (isset($maj_d_text_t)) {
+                       unset($maj_d_text_t);
                }
        }
 
-       if (file_exists("data/items/$d/text-b.txt")) {
-               $d_text_b = file_get_contents("data/items/$d/text-b.txt");
+       if (file_exists("data/items/$maj_d/text-b.txt")) {
+               $maj_d_text_b = file_get_contents("data/items/$maj_d/text-b.txt");
        }
        else {
-               if (isset($d_text_b)) {
-                       unset($d_text_b);
+               if (isset($maj_d_text_b)) {
+                       unset($maj_d_text_b);
                }
        }
 
-       if (file_exists("data/items/$d/text-c.txt")) {
-               $d_text_c = file_get_contents("data/items/$d/text-c.txt");
+       if (file_exists("data/items/$maj_d/text-c.txt")) {
+               $maj_d_text_c = file_get_contents("data/items/$maj_d/text-c.txt");
        }
        else {
-               if (isset($d_text_c)) {
-                       unset($d_text_c);
+               if (isset($maj_d_text_c)) {
+                       unset($maj_d_text_c);
                }
        }
 
-       if (file_exists("data/items/$d/text-f.txt")) {
-               $d_text_f = file_get_contents("data/items/$d/text-f.txt");
+       if (file_exists("data/items/$maj_d/text-f.txt")) {
+               $maj_d_text_f = file_get_contents("data/items/$maj_d/text-f.txt");
        }
        else {
-               if (isset($d_text_f)) {
-                       unset($d_text_f);
+               if (isset($maj_d_text_f)) {
+                       unset($maj_d_text_f);
                }
        }
 
        if (file_exists("data/round.txt")) {
                echo '<b class="rbtop"><b class="rb1t"';
 
-               if (isset($d_border)) {
-                       echo " style=\"background-color: $d_border;\"";
+               if (isset($maj_d_border)) {
+                       echo " style=\"background-color: $maj_d_border;\"";
                }
 
                echo '></b><b class="rb2t"';
 
-               if (isset($d_border) or isset($d_bgcolor_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t)) {
                        echo ' style="';
                }
 
-               if (isset($d_bgcolor_t)) {
-                       echo "background-color: $d_bgcolor_t;";
+               if (isset($maj_d_bgcolor_t)) {
+                       echo "background-color: $maj_d_bgcolor_t;";
                }
 
-               if (isset($d_border)) {
-                       echo "border-color: $d_border;";
+               if (isset($maj_d_border)) {
+                       echo "border-color: $maj_d_border;";
                }
 
-               if (isset($d_border) or isset($d_bgcolor_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t)) {
                        echo '"';
                }
 
                echo '></b><b class="rb3t"';
 
-               if (isset($d_border) or isset($d_bgcolor_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t)) {
                        echo ' style="';
                }
 
-               if (isset($d_bgcolor_t)) {
-                       echo "background-color: $d_bgcolor_t;";
+               if (isset($maj_d_bgcolor_t)) {
+                       echo "background-color: $maj_d_bgcolor_t;";
                }
 
-               if (isset($d_border)) {
-                       echo "border-color: $d_border;";
+               if (isset($maj_d_border)) {
+                       echo "border-color: $maj_d_border;";
                }
 
-               if (isset($d_border) or isset($d_bgcolor_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t)) {
                        echo '"';
                }
 
                echo '></b><b class="rb4t"';
 
-               if (isset($d_border) or isset($d_bgcolor_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t)) {
                        echo ' style="';
                }
 
-               if (isset($d_bgcolor_t)) {
-                       echo "background-color: $d_bgcolor_t;";
+               if (isset($maj_d_bgcolor_t)) {
+                       echo "background-color: $maj_d_bgcolor_t;";
                }
 
-               if (isset($d_border)) {
-                       echo "border-color: $d_border;";
+               if (isset($maj_d_border)) {
+                       echo "border-color: $maj_d_border;";
                }
 
-               if (isset($d_border) or isset($d_bgcolor_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t)) {
                        echo '"';
                }
 
                echo '></b></b><div class="xtitle"';
 
-               if (isset($d_border) or isset($d_bgcolor_t) or isset($d_text_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t) or isset($maj_d_text_t)) {
                        echo ' style="';
                }
 
-               if (isset($d_bgcolor_t)) {
-                       echo "background-color: $d_bgcolor_t;";
+               if (isset($maj_d_bgcolor_t)) {
+                       echo "background-color: $maj_d_bgcolor_t;";
                }
 
-               if (isset($d_text_t)) {
-                       echo "color: $d_text_t;";
+               if (isset($maj_d_text_t)) {
+                       echo "color: $maj_d_text_t;";
                }
 
-               if (isset($d_border)) {
-                       echo "border-color: $d_border;";
+               if (isset($maj_d_border)) {
+                       echo "border-color: $maj_d_border;";
                }
 
-               if (isset($d_border) or isset($d_bgcolor_t) or isset($d_text_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t) or isset($maj_d_text_t)) {
                        echo '"';
                }
 
                echo '>';
        }
        else {
-               echo '<div id="panel_title"';
+               echo '<div class="panel_title"';
 
-               if (isset($d_border) or isset($d_bgcolor_t) or isset($d_text_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t) or isset($maj_d_text_t)) {
                        echo ' style="';
                }
 
-               if (isset($d_bgcolor_t)) {
-                       echo "background-color: $d_bgcolor_t;";
+               if (isset($maj_d_bgcolor_t)) {
+                       echo "background-color: $maj_d_bgcolor_t;";
                }
 
-               if (isset($d_text_t)) {
-                       echo "color: $d_text_t;";
+               if (isset($maj_d_text_t)) {
+                       echo "color: $maj_d_text_t;";
                }
 
-               if (isset($d_border)) {
-                       echo "border-color: $d_border;";
+               if (isset($maj_d_border)) {
+                       echo "border-color: $maj_d_border;";
                }
 
-               if (isset($d_border) or isset($d_bgcolor_t) or isset($d_text_t)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_t) or isset($maj_d_text_t)) {
                        echo '"';
                }
 
                echo '>';
        }
 
-       readfile("data/items/$d/title.txt");
+       readfile("data/items/$maj_d/title.txt");
 
-       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != $login_username) and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/wiki.txt") and (file_exists("data/items/$d/edit.txt") or (file_get_contents("data/items/$d/author.txt") == $_SESSION['logged_in'])) and file_exists("data/members/active/{$_SESSION['logged_in']}/rw.txt") and !file_exists("data/items/$d/passwd.txt") and !file_exists("data/items/$d/lock.txt")) {
+       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != $maj_login_username) and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/wiki.txt") and (file_exists("data/items/$maj_d/edit.txt") or (file_get_contents("data/items/$maj_d/author.txt") == $_SESSION['logged_in'])) and file_exists("data/members/active/{$_SESSION['logged_in']}/rw.txt") and !file_exists("data/items/$maj_d/passwd.txt") and !file_exists("data/items/$maj_d/lock.txt")) {
 
-               if (file_exists("data/items/$d/wiki/delta") and (count(glob("data/items/$d/wiki/delta/*")) > 0)) {
-                       echo "<a href=\"wiki.php?entry=$d\">";
+               if (file_exists("data/items/$maj_d/wiki/delta") and (count(glob("data/items/$maj_d/wiki/delta/*")) > 0)) {
+                       echo "<a href=\"wiki.php?entry=$maj_d\">";
                        echo "<img src=\"images/widget.back.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"revisions\">";
                        echo "</a>";
                }
 
-               if (!file_exists("data/items/$d/lock.txt")) {
-                       echo "<a href=\"edit.php?entry=$d\"><img src=\"images/widget.edit.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"edit entry\"></a>";
+               if (!file_exists("data/items/$maj_d/lock.txt")) {
+                       echo "<a href=\"edit.php?entry=$maj_d\"><img src=\"images/widget.edit.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"edit entry\"></a>";
                }
        }
 
-       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
 
-               echo "<a href=\"del.php?entry=$d\"><img src=\"images/widget.del.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"delete entry\"></a>";
+               echo "<a href=\"del.php?entry=$maj_d\"><img src=\"images/widget.del.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"delete entry\"></a>";
 
-               if (!file_exists("data/items/$d/private.txt") and !file_exists("data/items/$d/categories") and file_exists("data/bb.txt") and (count(glob("data/items/$d/comments/live/*")) === 0) and (count(glob("data/items/$d/comments/pending/*")) === 0)) {
-                       echo "<a href=\"move.php?entry=$d\"><img src=\"images/widget.move.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"move to comment\"></a>";
+               if (!file_exists("data/items/$maj_d/private.txt") and !file_exists("data/items/$maj_d/categories") and file_exists("data/bb.txt") and (count(glob("data/items/$maj_d/comments/live/*")) === 0) and (count(glob("data/items/$maj_d/comments/pending/*")) === 0)) {
+                       echo "<a href=\"move.php?entry=$maj_d\"><img src=\"images/widget.move.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"move to comment\"></a>";
                }
 
-               if (file_exists("data/items/$d/wiki/delta") and (count(glob("data/items/$d/wiki/delta/*")) > 0)) {
-                       echo "<a href=\"wiki.php?entry=$d\"><img src=\"images/widget.back.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"revisions\"></a>";
+               if (file_exists("data/items/$maj_d/wiki/delta") and (count(glob("data/items/$maj_d/wiki/delta/*")) > 0)) {
+                       echo "<a href=\"wiki.php?entry=$maj_d\"><img src=\"images/widget.back.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"revisions\"></a>";
                }
 
-               echo "<a href=\"edit.php?entry=$d\"><img src=\"images/widget.edit.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"edit entry\"></a>";
+               echo "<a href=\"edit.php?entry=$maj_d\"><img src=\"images/widget.edit.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"edit entry\"></a>";
 
-               if (file_exists("data/items/$d/passwd.txt")) {
+               if (file_exists("data/items/$maj_d/passwd.txt")) {
                        echo "<img src=\"images/widget.protected.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"protected entry\">";
                }
 
-               if (file_exists("data/items/$d/private.txt")) {
+               if (file_exists("data/items/$maj_d/private.txt")) {
                        echo "<img src=\"images/widget.private.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"private entry\">";
                }
 
-               if (file_exists("data/items/$d/member.txt")) {
+               if (file_exists("data/items/$maj_d/member.txt")) {
                        echo "<img src=\"images/widget.member.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"members-only entry\">";
                }
 
-               if (file_exists("data/items/$d/cat.txt")) {
+               if (file_exists("data/items/$maj_d/cat.txt")) {
                        echo "<img src=\"images/widget.cat.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"always displayed\">";
                }
 
-               if (file_exists("data/items/$d/categories/$req_category")) {
+               if (file_exists("data/items/$maj_d/categories/$maj_req_category")) {
 
-                       $private_categories = "0";
-                       $book_categories = "0";
+                       $maj_private_categories = "0";
+                       $maj_book_categories = "0";
       
-                       if (file_exists("data/items/$d/categories")) {
+                       if (file_exists("data/items/$maj_d/categories")) {
                               
-                               if ($dh_read_cat_dir = opendir("data/items/$d/categories")) {
+                               if ($maj_dh_read_cat_dir = opendir("data/items/$maj_d/categories")) {
                               
-                                       while (($read_cat_dir = readdir($dh_read_cat_dir)) !== false) {
+                                       while (($maj_read_cat_dir = readdir($maj_dh_read_cat_dir)) !== false) {
                               
-                                               if ($read_cat_dir != "." && $read_cat_dir != "..") {
+                                               if ($maj_read_cat_dir != "." && $maj_read_cat_dir != "..") {
                               
-                                                       if (file_exists("data/categories/$read_cat_dir/private.txt")) {
-                                                               $private_categories = $private_categories + 1;
+                                                       if (file_exists("data/categories/$maj_read_cat_dir/private.txt")) {
+                                                               $maj_private_categories = $maj_private_categories + 1;
                                                        }
 
-                                                       if (file_exists("data/categories/$read_cat_dir/book.txt")) {
-                                                               $book_categories = $book_categories + 1;
+                                                       if (file_exists("data/categories/$maj_read_cat_dir/book.txt")) {
+                                                               $maj_book_categories = $maj_book_categories + 1;
                                                        }
                                                }
                                        }
-                                       closedir($dh_read_cat_dir);
+                                       closedir($maj_dh_read_cat_dir);
                                }
                        }
 
-                       if ($private_categories > 0) {
+                       if ($maj_private_categories > 0) {
                                echo "<img src=\"images/widget.hidden.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"private category\">";
                        }
 
@@ -3255,7 +3343,7 @@ foreach ($disp as $d) {
                                echo "<img src=\"images/widget.isolated.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"isolated category\">";
                        }
 
-                       if ($book_categories > 0) {
+                       if ($maj_book_categories > 0) {
                                echo "<img src=\"images/widget.booked.png\" border=\"0\" width=\"11\" height=\"11\" align=\"right\" alt=\"book category\">";
                        }
 
@@ -3264,25 +3352,25 @@ foreach ($disp as $d) {
 
        }
 
-       echo "</div><div id=\"panel_entry_body\"";
+       echo "</div><div class=\"panel_entry_body\"";
 
-       if (isset($d_border) or isset($d_bgcolor_b) or isset($d_text_b)) {
+       if (isset($maj_d_border) or isset($maj_d_bgcolor_b) or isset($maj_d_text_b)) {
                echo ' style="';
        }
 
-       if (isset($d_bgcolor_b)) {
-               echo "background-color: $d_bgcolor_b;";
+       if (isset($maj_d_bgcolor_b)) {
+               echo "background-color: $maj_d_bgcolor_b;";
        }
 
-       if (isset($d_text_b)) {
-               echo "color: $d_text_b;";
+       if (isset($maj_d_text_b)) {
+               echo "color: $maj_d_text_b;";
        }
 
-       if (isset($d_border)) {
-               echo "border-color: $d_border;";
+       if (isset($maj_d_border)) {
+               echo "border-color: $maj_d_border;";
        }
 
-       if (isset($d_border) or isset($d_bgcolor_b) or isset($d_text_b)) {
+       if (isset($maj_d_border) or isset($maj_d_bgcolor_b) or isset($maj_d_text_b)) {
                echo '"';
        }
 
@@ -3290,193 +3378,193 @@ foreach ($disp as $d) {
 
        echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>";
 
-       if (file_exists("data/bb.txt") and file_exists("data/avatar.txt") and file_exists("data/items/$d/author.txt")) {
+       if (file_exists("data/bb.txt") and file_exists("data/avatar.txt") and file_exists("data/items/$maj_d/author.txt")) {
 
                echo "<td width=\"85\" valign=\"top\">";
 
-               $author = file_get_contents("data/items/$d/author.txt");
+               $maj_author = file_get_contents("data/items/$maj_d/author.txt");
 
-               echo "<a href=\"member.php?id=$author\">";
+               echo "<a href=\"member.php?class=$maj_author\">";
 
-               if ((file_get_contents("data/username.txt") == $author) and (file_exists("images/avatar.jpg") or file_exists("images/avatar.gif") or file_exists("images/avatar.png"))) {
+               if ((file_get_contents("data/username.txt") == $maj_author) and (file_exists("images/avatar.jpg") or file_exists("images/avatar.gif") or file_exists("images/avatar.png"))) {
 
                        if (file_exists("images/avatar.gif")) {
 
-                               $avatar_gif_image_size = getimagesize("images/avatar.gif");
-                               $avatar_gif_image_width = $avatar_gif_image_size[0];
-                               $avatar_gif_image_height = $avatar_gif_image_size[1];
+                               $maj_avatar_gif_image_size = getimagesize("images/avatar.gif");
+                               $maj_avatar_gif_image_width = $maj_avatar_gif_image_size[0];
+                               $maj_avatar_gif_image_height = $maj_avatar_gif_image_size[1];
 
-                               $max_avatar_gif_image_width = 80;
+                               $maj_max_avatar_gif_image_width = 80;
                       
-                               if ($avatar_gif_image_width > $max_avatar_gif_image_width) {  
-                                       $sizefactor = (double) ($max_avatar_gif_image_width / $avatar_gif_image_width) ;
-                                       $avatar_gif_image_width = (int) ($avatar_gif_image_width * $sizefactor);
-                                       $avatar_gif_image_height = (int) ($avatar_gif_image_height * $sizefactor);
+                               if ($maj_avatar_gif_image_width > $maj_max_avatar_gif_image_width) {  
+                                       $maj_sizefactor = (double) ($maj_max_avatar_gif_image_width / $maj_avatar_gif_image_width) ;
+                                       $maj_avatar_gif_image_width = (int) ($maj_avatar_gif_image_width * $maj_sizefactor);
+                                       $maj_avatar_gif_image_height = (int) ($maj_avatar_gif_image_height * $maj_sizefactor);
                                }
-                               echo "<img src=\"images/avatar.gif\" border=\"0\" width=\"$avatar_gif_image_width\" height=\"$avatar_gif_image_height\">";
+                               echo "<img src=\"images/avatar.gif\" border=\"0\" width=\"$maj_avatar_gif_image_width\" height=\"$maj_avatar_gif_image_height\">";
                        }
 
                        if (file_exists("images/avatar.jpg")) {
 
-                               $avatar_jpg_image_size = getimagesize("images/avatar.jpg");
-                               $avatar_jpg_image_width = $avatar_jpg_image_size[0];
-                               $avatar_jpg_image_height = $avatar_jpg_image_size[1];
+                               $maj_avatar_jpg_image_size = getimagesize("images/avatar.jpg");
+                               $maj_avatar_jpg_image_width = $maj_avatar_jpg_image_size[0];
+                               $maj_avatar_jpg_image_height = $maj_avatar_jpg_image_size[1];
                       
-                               $max_avatar_jpg_image_width = 80;
+                               $maj_max_avatar_jpg_image_width = 80;
                       
-                               if ($avatar_jpg_image_width > $max_avatar_jpg_image_width) {  
-                                       $sizefactor = (double) ($max_avatar_jpg_image_width / $avatar_jpg_image_width) ;
-                                       $avatar_jpg_image_width = (int) ($avatar_jpg_image_width * $sizefactor);
-                                       $avatar_jpg_image_height = (int) ($avatar_jpg_image_height * $sizefactor);
+                               if ($maj_avatar_jpg_image_width > $maj_max_avatar_jpg_image_width) {  
+                                       $maj_sizefactor = (double) ($maj_max_avatar_jpg_image_width / $maj_avatar_jpg_image_width) ;
+                                       $maj_avatar_jpg_image_width = (int) ($maj_avatar_jpg_image_width * $maj_sizefactor);
+                                       $maj_avatar_jpg_image_height = (int) ($maj_avatar_jpg_image_height * $maj_sizefactor);
                                }
-                               echo "<img src=\"images/avatar.jpg\" border=\"0\" width=\"$avatar_jpg_image_width\" height=\"$avatar_jpg_image_height\">";
+                               echo "<img src=\"images/avatar.jpg\" border=\"0\" width=\"$maj_avatar_jpg_image_width\" height=\"$maj_avatar_jpg_image_height\">";
                        }
 
                        if (file_exists("images/avatar.png")) {
 
-                               $avatar_png_image_size = getimagesize("images/avatar.png");
-                               $avatar_png_image_width = $avatar_png_image_size[0];
-                               $avatar_png_image_height = $avatar_png_image_size[1];
+                               $maj_avatar_png_image_size = getimagesize("images/avatar.png");
+                               $maj_avatar_png_image_width = $maj_avatar_png_image_size[0];
+                               $maj_avatar_png_image_height = $maj_avatar_png_image_size[1];
                       
-                               $max_avatar_png_image_width = 80;
+                               $maj_max_avatar_png_image_width = 80;
                       
-                               if ($avatar_png_image_width > $max_avatar_png_image_width) {  
-                                       $sizefactor = (double) ($max_avatar_png_image_width / $avatar_png_image_width) ;
-                                       $avatar_png_image_width = (int) ($avatar_png_image_width * $sizefactor);
-                                       $avatar_png_image_height = (int) ($avatar_png_image_height * $sizefactor);
+                               if ($maj_avatar_png_image_width > $maj_max_avatar_png_image_width) {  
+                                       $maj_sizefactor = (double) ($maj_max_avatar_png_image_width / $maj_avatar_png_image_width) ;
+                                       $maj_avatar_png_image_width = (int) ($maj_avatar_png_image_width * $maj_sizefactor);
+                                       $maj_avatar_png_image_height = (int) ($maj_avatar_png_image_height * $maj_sizefactor);
                                }
                       
-                               echo "<img src=\"images/avatar.png\" border=\"0\" width=\"$avatar_png_image_width\" height=\"$avatar_png_image_height\">";
+                               echo "<img src=\"images/avatar.png\" border=\"0\" width=\"$maj_avatar_png_image_width\" height=\"$maj_avatar_png_image_height\">";
                        }
                        echo "<br>";
                }
-               elseif (file_exists("images/members/$author/avatar.jpg") or file_exists("images/members/$author/avatar.gif") or file_exists("images/members/$author/avatar.png")) {
+               elseif (file_exists("images/members/$maj_author/avatar.jpg") or file_exists("images/members/$maj_author/avatar.gif") or file_exists("images/members/$maj_author/avatar.png")) {
 
-                       if (file_exists("images/members/$author/avatar.gif")) {
+                       if (file_exists("images/members/$maj_author/avatar.gif")) {
 
-                               $avatar_gif_image_size = getimagesize("images/members/$author/avatar.gif");
-                               $avatar_gif_image_width = $avatar_gif_image_size[0];
-                               $avatar_gif_image_height = $avatar_gif_image_size[1];
+                               $maj_avatar_gif_image_size = getimagesize("images/members/$maj_author/avatar.gif");
+                               $maj_avatar_gif_image_width = $maj_avatar_gif_image_size[0];
+                               $maj_avatar_gif_image_height = $maj_avatar_gif_image_size[1];
 
-                               $max_avatar_gif_image_width = 80;
+                               $maj_max_avatar_gif_image_width = 80;
                       
-                               if ($avatar_gif_image_width > $max_avatar_gif_image_width) {  
-                                       $sizefactor = (double) ($max_avatar_gif_image_width / $avatar_gif_image_width) ;
-                                       $avatar_gif_image_width = (int) ($avatar_gif_image_width * $sizefactor);
-                                       $avatar_gif_image_height = (int) ($avatar_gif_image_height * $sizefactor);
+                               if ($maj_avatar_gif_image_width > $maj_max_avatar_gif_image_width) {  
+                                       $maj_sizefactor = (double) ($maj_max_avatar_gif_image_width / $maj_avatar_gif_image_width) ;
+                                       $maj_avatar_gif_image_width = (int) ($maj_avatar_gif_image_width * $maj_sizefactor);
+                                       $maj_avatar_gif_image_height = (int) ($maj_avatar_gif_image_height * $maj_sizefactor);
                                }
-                               echo "<img src=\"images/members/$author/avatar.gif\" border=\"0\" width=\"$avatar_gif_image_width\" height=\"$avatar_gif_image_height\">";
+                               echo "<img src=\"images/members/$maj_author/avatar.gif\" border=\"0\" width=\"$maj_avatar_gif_image_width\" height=\"$maj_avatar_gif_image_height\">";
                        }
 
-                       if (file_exists("images/members/$author/avatar.jpg")) {
+                       if (file_exists("images/members/$maj_author/avatar.jpg")) {
 
-                               $avatar_jpg_image_size = getimagesize("images/members/$author/avatar.jpg");
-                               $avatar_jpg_image_width = $avatar_jpg_image_size[0];
-                               $avatar_jpg_image_height = $avatar_jpg_image_size[1];
+                               $maj_avatar_jpg_image_size = getimagesize("images/members/$maj_author/avatar.jpg");
+                               $maj_avatar_jpg_image_width = $maj_avatar_jpg_image_size[0];
+                               $maj_avatar_jpg_image_height = $maj_avatar_jpg_image_size[1];
                       
-                               $max_avatar_jpg_image_width = 80;
+                               $maj_max_avatar_jpg_image_width = 80;
                       
-                               if ($avatar_jpg_image_width > $max_avatar_jpg_image_width) {  
-                                       $sizefactor = (double) ($max_avatar_jpg_image_width / $avatar_jpg_image_width) ;
-                                       $avatar_jpg_image_width = (int) ($avatar_jpg_image_width * $sizefactor);
-                                       $avatar_jpg_image_height = (int) ($avatar_jpg_image_height * $sizefactor);
+                               if ($maj_avatar_jpg_image_width > $maj_max_avatar_jpg_image_width) {  
+                                       $maj_sizefactor = (double) ($maj_max_avatar_jpg_image_width / $maj_avatar_jpg_image_width) ;
+                                       $maj_avatar_jpg_image_width = (int) ($maj_avatar_jpg_image_width * $maj_sizefactor);
+                                       $maj_avatar_jpg_image_height = (int) ($maj_avatar_jpg_image_height * $maj_sizefactor);
                                }
-                               echo "<img src=\"images/members/$author/avatar.jpg\" border=\"0\" width=\"$avatar_jpg_image_width\" height=\"$avatar_jpg_image_height\">";
+                               echo "<img src=\"images/members/$maj_author/avatar.jpg\" border=\"0\" width=\"$maj_avatar_jpg_image_width\" height=\"$maj_avatar_jpg_image_height\">";
                        }
 
-                       if (file_exists("images/members/$author/avatar.png")) {
+                       if (file_exists("images/members/$maj_author/avatar.png")) {
 
-                               $avatar_png_image_size = getimagesize("images/members/$author/avatar.png");
-                               $avatar_png_image_width = $avatar_png_image_size[0];
-                               $avatar_png_image_height = $avatar_png_image_size[1];
+                               $maj_avatar_png_image_size = getimagesize("images/members/$maj_author/avatar.png");
+                               $maj_avatar_png_image_width = $maj_avatar_png_image_size[0];
+                               $maj_avatar_png_image_height = $maj_avatar_png_image_size[1];
                       
-                               $max_avatar_png_image_width = 80;
+                               $maj_max_avatar_png_image_width = 80;
                       
-                               if ($avatar_png_image_width > $max_avatar_png_image_width) {  
-                                       $sizefactor = (double) ($max_avatar_png_image_width / $avatar_png_image_width) ;
-                                       $avatar_png_image_width = (int) ($avatar_png_image_width * $sizefactor);
-                                       $avatar_png_image_height = (int) ($avatar_png_image_height * $sizefactor);
+                               if ($maj_avatar_png_image_width > $maj_max_avatar_png_image_width) {  
+                                       $maj_sizefactor = (double) ($maj_max_avatar_png_image_width / $maj_avatar_png_image_width) ;
+                                       $maj_avatar_png_image_width = (int) ($maj_avatar_png_image_width * $maj_sizefactor);
+                                       $maj_avatar_png_image_height = (int) ($maj_avatar_png_image_height * $maj_sizefactor);
                                }
                       
-                               echo "<img src=\"images/members/$author/avatar.png\" border=\"0\" width=\"$avatar_png_image_width\" height=\"$avatar_png_image_height\">";
+                               echo "<img src=\"images/members/$maj_author/avatar.png\" border=\"0\" width=\"$maj_avatar_png_image_width\" height=\"$maj_avatar_png_image_height\">";
                        }
                        echo "<br>";
                }
 
-               echo "<b>$author</b></a><br>";
+               echo "<b>$maj_author</b></a><br>";
 
-               if ((file_get_contents("data/username.txt") == $author) and file_exists("data/rank.txt")) {
+               if ((file_get_contents("data/username.txt") == $maj_author) and file_exists("data/rank.txt")) {
                        echo "administrator<br>";
                }
-               elseif (file_exists("data/members/active/$author/rank.txt") and file_exists("data/rank.txt")) {
-                       $rank = file_get_contents("data/members/active/$author/rank.txt");
-                       echo "$rank<br>";
+               elseif (file_exists("data/members/active/$maj_author/rank.txt") and file_exists("data/rank.txt")) {
+                       $maj_rank = file_get_contents("data/members/active/$maj_author/rank.txt");
+                       echo "$maj_rank<br>";
                }
-               elseif (!file_exists("data/members/active/$author/rank.txt") and file_exists("data/rank.txt")) {
+               elseif (!file_exists("data/members/active/$maj_author/rank.txt") and file_exists("data/rank.txt")) {
                        echo "member<br>";
                }
 
-               if ($dh_author_posts = opendir("data/items")) {
+               if ($maj_dh_author_posts = opendir("data/items")) {
 
-                       while (($author_post = readdir($dh_author_posts)) !== false) {
+                       while (($maj_author_post = readdir($maj_dh_author_posts)) !== false) {
 
-                               if ($author_post != "." && $author_post != "..") {
+                               if ($maj_author_post != "." && $maj_author_post != "..") {
 
-                                       if (file_exists("data/items/$author_post/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+                                       if (file_exists("data/items/$maj_author_post/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
                                                continue;
                                        }
 
-                                       $private_categories = "0";
+                                       $maj_private_categories = "0";
       
-                                       if (file_exists("data/items/$author_post/categories")) {
+                                       if (file_exists("data/items/$maj_author_post/categories")) {
                               
-                                               if ($dh_entry_categories_posts = opendir("data/items/$author_post/categories")) {
+                                               if ($maj_dh_entry_categories_posts = opendir("data/items/$maj_author_post/categories")) {
                               
-                                                       while (($entry_category_posts = readdir($dh_entry_categories_posts)) !== false) {
+                                                       while (($maj_entry_category_posts = readdir($maj_dh_entry_categories_posts)) !== false) {
                               
-                                                               if ($entry_category_posts != "." && $entry_category_posts != "..") {
+                                                               if ($maj_entry_category_posts != "." && $maj_entry_category_posts != "..") {
                               
-                                                                       if (file_exists("data/categories/$entry_category_posts/private.txt")) {
-                                                                               $private_categories = $private_categories + 1;
+                                                                       if (file_exists("data/categories/$maj_entry_category_posts/private.txt")) {
+                                                                               $maj_private_categories = $maj_private_categories + 1;
                                                                        }
                                                                }
                                                        }
-                                                       closedir($dh_entry_categories_posts);
+                                                       closedir($maj_dh_entry_categories_posts);
                                                }
                                        }
       
-                                       if (($private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$author_post/cat.txt")) {
+                                       if (($maj_private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and !file_exists("data/items/$maj_author_post/cat.txt")) {
                                                continue;
                                        }
 
-                                       if (file_exists("data/members/active/$author") and file_exists("data/bb.txt")) {
+                                       if (file_exists("data/members/active/$maj_author") and file_exists("data/bb.txt")) {
 
-                                               if (file_exists("data/items/$author_post/author.txt") and (file_get_contents("data/items/$author_post/author.txt") == $author)) {
-                                                       $items_posts[] = $author_post;
+                                               if (file_exists("data/items/$maj_author_post/author.txt") and (file_get_contents("data/items/$maj_author_post/author.txt") == $maj_author)) {
+                                                       $maj_items_posts[] = $maj_author_post;
                                                }
                                        }
-                                       elseif (!file_exists("data/members/active/$author") and (file_get_contents("data/username.txt") == $author) and file_exists("data/bb.txt")) {
+                                       elseif (!file_exists("data/members/active/$maj_author") and (file_get_contents("data/username.txt") == $maj_author) and file_exists("data/bb.txt")) {
 
-                                               if (file_exists("data/items/$author_post/author.txt") and (file_get_contents("data/items/$author_post/author.txt") == $author)) {
-                                                       $items_posts[] = $author_post;
+                                               if (file_exists("data/items/$maj_author_post/author.txt") and (file_get_contents("data/items/$maj_author_post/author.txt") == $maj_author)) {
+                                                       $maj_items_posts[] = $maj_author_post;
                                                }
                                        }
                                }
                        }
-                       closedir($dh_author_posts);
+                       closedir($maj_dh_author_posts);
                }
 
-               $posts = count($items_posts);
+               $maj_posts = count($maj_items_posts);
 
-               if ($posts == 1) {
-                       echo "$posts post";
+               if ($maj_posts == 1) {
+                       echo "$maj_posts post";
                }
 
-               if ($posts > 1) {
-                       echo "$posts posts";
+               if ($maj_posts > 1) {
+                       echo "$maj_posts posts";
                }
 
-               unset($items_posts);
+               unset($maj_items_posts);
 
                echo "</td><td width=513 valign=top>";
        }
@@ -3484,86 +3572,86 @@ foreach ($disp as $d) {
                echo "<td width=598 valign=top>";
        }
 
-       if (file_exists("data/items/$d/passwd.txt")) {
-               $passwd = file_get_contents("data/items/$d/passwd.txt");
+       if (file_exists("data/items/$maj_d/passwd.txt")) {
+               $maj_passwd = file_get_contents("data/items/$maj_d/passwd.txt");
        }
 
        if (isset($_REQUEST['passwd']) and !empty($_REQUEST['passwd'])) {
-               $crypt_passwd = sha1($_REQUEST['passwd']);
-               $crypt_passwd = md5($crypt_passwd);
-               $crypt_passwd = crypt($crypt_passwd,$crypt_passwd);
+               $maj_crypt_passwd = sha1($_REQUEST['passwd']);
+               $maj_crypt_passwd = md5($maj_crypt_passwd);
+               $maj_crypt_passwd = crypt($maj_crypt_passwd,$maj_crypt_passwd);
        }
 
-       echo "<font style=\"font-size: 10px; color: #999999;\">";
+       echo "<font style=\"font-size: $maj_font_10px; color: #999999;\">";
 
-       if ((file_exists("data/items/$d/author.txt") and (file_exists("data/bb.txt") and !file_exists("data/avatar.txt")) or (file_exists("data/items/$d/author.txt") and (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username) and !file_exists("data/avatar.txt"))))) {
-               $xavatar_author = file_get_contents("data/items/$d/author.txt");
-               echo "$xavatar_author - ";
+       if ((file_exists("data/items/$maj_d/author.txt") and (file_exists("data/bb.txt") and !file_exists("data/avatar.txt")) or (file_exists("data/items/$maj_d/author.txt") and (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username) and !file_exists("data/avatar.txt"))))) {
+               $maj_xavatar_author = file_get_contents("data/items/$maj_d/author.txt");
+               echo "$maj_xavatar_author - ";
        }
 
-       entry2date($d);
+       entry2date($maj_d);
 
-       if ((isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) or file_exists("data/items/$d/lastmod.txt")) {
+       if ((isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) or file_exists("data/items/$maj_d/lastmod.txt")) {
 
-               if (file_exists("data/items/$d/revisions.txt")) {
+               if (file_exists("data/items/$maj_d/revisions.txt")) {
                        echo " (Revision ";
-                       readfile("data/items/$d/revisions.txt");
+                       readfile("data/items/$maj_d/revisions.txt");
                        echo " - ";
-                       echo date("l, M j, Y, g:i A",filemtime("data/items/$d/body.txt"));
+                       echo date("l, M j, Y, g:i A",filemtime("data/items/$maj_d/body.txt"));
                        echo ")";
                }
        }
 
        echo "</font><font style=\"font-size: 5px;\"><br><br></font>";
 
-       if (isset($d_text_b)) {
-               echo "<font style=\"color: $d_text_b;\">";
+       if (isset($maj_d_text_b)) {
+               echo "<font style=\"color: $maj_d_text_b;\">";
        }
 
-       if (file_exists("data/items/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
-               echo "This entry is password protected. If you know the magic word, click <a href=\"passwd.php?entry=$d\">here</a> to enter it.";
+       if (file_exists("data/items/$maj_d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and (!isset($_REQUEST['passwd']) or ($maj_crypt_passwd != $maj_passwd))) {
+               echo "This entry is password protected. If you know the magic word, click <a href=\"passwd.php?entry=$maj_d\">here</a> to enter it.";
        }
        else {
-               $entry_body = file_get_contents("data/items/$d/body.txt");
+               $maj_entry_body = file_get_contents("data/items/$maj_d/body.txt");
 
                if (file_exists("data/pf.txt") and file_exists("data/pf-badwords.txt") and (!isset($_SESSION['logged_in']) or empty($_SESSION['logged_in']) or (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != file_get_contents("data/username.txt"))))) {
 
-                       $badwords = file_get_contents("data/pf-badwords.txt");
+                       $maj_badwords = file_get_contents("data/pf-badwords.txt");
 
                        if (file_exists("data/pf-censor.txt")) {
-                               $censor = file_get_contents("data/pf-censor.txt");
+                               $maj_censor = file_get_contents("data/pf-censor.txt");
                        }
                        else {
-                               $censor = "[expletive]";
+                               $maj_censor = "[expletive]";
                        }
-                       $entry_body = preg_replace("/\b($badwords)\b/i",$censor,$entry_body);
+                       $maj_entry_body = preg_replace("/\b($maj_badwords)\b/i",$maj_censor,$maj_entry_body);
                }
 
-               if (file_exists("data/items/$d/maxlines.txt") and (!isset($_REQUEST['view']) or ($_REQUEST['view'] != "full"))) {
+               if (file_exists("data/items/$maj_d/maxlines.txt") and (!isset($_REQUEST['view']) or ($_REQUEST['view'] != "full"))) {
 
-                       $entry_shorten = file_get_contents("data/items/$d/maxlines.txt");
+                       $maj_entry_shorten = file_get_contents("data/items/$maj_d/maxlines.txt");
 
-                       $entry_lines = explode("\r",$entry_body);
+                       $maj_entry_lines = explode("\r",$maj_entry_body);
 
-                       if (count($entry_lines) > $entry_shorten) {
-                               $entry_body = implode("",array_slice($entry_lines,0,$entry_shorten));
-                               $entry_body = $entry_body . "<br><br><a href=\"index.php?entry=$d&view=full\">read more</a>";
+                       if (count($maj_entry_lines) > $maj_entry_shorten) {
+                               $maj_entry_body = implode("",array_slice($maj_entry_lines,0,$maj_entry_shorten));
+                               $maj_entry_body = $maj_entry_body . "<br><br><a href=\"index.php?entry=$maj_d&view=full\">read more</a>";
                        }
                }
 
-               echo $entry_body;
+               echo $maj_entry_body;
        }
 
-       if ((file_get_contents("data/username.txt") == $author) and file_exists("data/sig.txt") and file_exists("data/bb.txt") and file_exists("data/bb-sig.txt")) {
-               $sig = file_get_contents("data/sig.txt");
-               echo "<br><br>--<br>$sig";
+       if ((file_get_contents("data/username.txt") == $maj_author) and file_exists("data/sig.txt") and file_exists("data/bb.txt") and file_exists("data/bb-sig.txt")) {
+               $maj_sig = file_get_contents("data/sig.txt");
+               echo "<br><br>--<br>$maj_sig";
        }
-       elseif (file_exists("data/members/active/$author/sig.txt") and file_exists("data/bb.txt")  and file_exists("data/bb-sig.txt")) {
-               $sig = file_get_contents("data/members/active/$author/sig.txt");
-               echo "<br><br>--<br>$sig";
+       elseif (file_exists("data/members/active/$maj_author/sig.txt") and file_exists("data/bb.txt")  and file_exists("data/bb-sig.txt")) {
+               $maj_sig = file_get_contents("data/members/active/$maj_author/sig.txt");
+               echo "<br><br>--<br>$maj_sig";
        }
 
-       if (isset($d_text_b)) {
+       if (isset($maj_d_text_b)) {
                echo "</font>";
        }
 
@@ -3575,81 +3663,81 @@ foreach ($disp as $d) {
 
        echo "</div>";
 
-       if (file_exists("data/items/$d/categories") and ($_SESSION['logged_in'] == file_get_contents("data/username.txt"))) {
+       if (file_exists("data/items/$maj_d/categories") and ($_SESSION['logged_in'] == file_get_contents("data/username.txt"))) {
               
-               if ($dh_entry_categories = opendir("data/items/$d/categories")) {
+               if ($maj_dh_entry_categories = opendir("data/items/$maj_d/categories")) {
               
-                       while (($entry_category = readdir($dh_entry_categories)) !== false) {
+                       while (($maj_entry_category = readdir($maj_dh_entry_categories)) !== false) {
               
-                               if ($entry_category != "." && $entry_category != "..") {
-                                       $entry_categories[] = $entry_category;
+                               if ($maj_entry_category != "." && $maj_entry_category != "..") {
+                                       $maj_entry_categories[] = $maj_entry_category;
                                }
                        }
-                       closedir($dh_entry_categories);
+                       closedir($maj_dh_entry_categories);
                }
 
-               sort($entry_categories);
-               reset($entry_categories);
+               sort($maj_entry_categories);
+               reset($maj_entry_categories);
 
-               if (count($entry_categories) > 0) {
+               if (count($maj_entry_categories) > 0) {
 
-                       if (count($entry_categories) > 1) {
-                               $category_list = "categories";
+                       if (count($maj_entry_categories) > 1) {
+                               $maj_category_list = "categories";
                        }
                        else {
-                               $category_list = "category";
+                               $maj_category_list = "category";
                        }
 
-                       foreach ($entry_categories as $filed_under) {
-                               $category_list = $category_list . " | <a href=\"index.php?category=$filed_under\">$filed_under</a>";
+                       foreach ($maj_entry_categories as $maj_filed_under) {
+                               $maj_category_list = $maj_category_list . " | <a href=\"index.php?category=$maj_filed_under\">$maj_filed_under</a>";
                        }
 
-                       echo "<div id=\"panel_category\"";
+                       echo "<div class=\"panel_category\"";
 
-                       if (isset($d_border) or isset($d_bgcolor_c) or isset($d_text_c)) {
+                       if (isset($maj_d_border) or isset($maj_d_bgcolor_c) or isset($maj_d_text_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($d_bgcolor_c)) {
-                               echo "background-color: $d_bgcolor_c;";
+                       if (isset($maj_d_bgcolor_c)) {
+                               echo "background-color: $maj_d_bgcolor_c;";
                        }
 
-                       if (isset($d_text_c)) {
-                               echo "color: $d_text_c;";
+                       if (isset($maj_d_text_c)) {
+                               echo "color: $maj_d_text_c;";
                        }
 
-                       if (isset($d_border)) {
-                               echo "border-color: $d_border;";
+                       if (isset($maj_d_border)) {
+                               echo "border-color: $maj_d_border;";
                        }
 
-                       if (isset($d_border) or isset($d_bgcolor_c) or isset($d_text_c)) {
+                       if (isset($maj_d_border) or isset($maj_d_bgcolor_c) or isset($maj_d_text_c)) {
                                echo '"';
                        }
 
-                       echo ">$category_list</div>";
+                       echo ">$maj_category_list</div>";
                }
-               unset($entry_categories);
+               unset($maj_entry_categories);
        }
 
-       echo "<div id=\"panel_footer\"";
+       echo "<div class=\"panel_footer\"";
 
-       if (isset($d_border) or isset($d_bgcolor_f) or isset($d_text_f)) {
+       if (isset($maj_d_border) or isset($maj_d_bgcolor_f) or isset($maj_d_text_f)) {
                echo ' style="';
        }
 
-       if (isset($d_bgcolor_f)) {
-               echo "background-color: $d_bgcolor_f;";
+       if (isset($maj_d_bgcolor_f)) {
+               echo "background-color: $maj_d_bgcolor_f;";
        }
 
-       if (isset($d_text_f)) {
-               echo "color: $d_text_f;";
+       if (isset($maj_d_text_f)) {
+               echo "color: $maj_d_text_f;";
        }
 
-       if (isset($d_border)) {
-               echo "border-color: $d_border;";
+       if (isset($maj_d_border)) {
+               echo "border-color: $maj_d_border;";
        }
 
-       if (isset($d_border) or isset($d_bgcolor_f) or isset($d_text_f)) {
+       if (isset($maj_d_border) or isset($maj_d_bgcolor_f) or isset($maj_d_text_f)) {
                echo '"';
        }
 
@@ -3657,210 +3745,210 @@ foreach ($disp as $d) {
 
        if (!file_exists("data/nocomment.txt") or (file_exists("data/memcomment.txt") and isset($_SESSION['logged_in']))) {
 
-               if (!file_exists("data/items/$d/comments/live")) {
-                       echo "<a href=\"index.php?entry=$d&show=comments\">add comment</a>";
+               if (!file_exists("data/items/$maj_d/comments/live")) {
+                       echo "<a href=\"index.php?entry=$maj_d&show=comments\">add comment</a>";
                }
                else {
-                       if ($dh_comments = opendir("data/items/$d/comments/live")) {
+                       if ($maj_dh_comments = opendir("data/items/$maj_d/comments/live")) {
       
-                               while (($live_comment = readdir($dh_comments)) !== false) {
+                               while (($maj_live_comment = readdir($maj_dh_comments)) !== false) {
       
-                                       if ($live_comment != "." && $live_comment != "..") {
-                                               $live_comments[] = $live_comment;
+                                       if ($maj_live_comment != "." && $maj_live_comment != "..") {
+                                               $maj_live_comments[] = $maj_live_comment;
                                        }
                                }
-                               closedir($dh_comments);
+                               closedir($maj_dh_comments);
                        }
 
-                       $count_live_comments = count($live_comments);
+                       $maj_count_live_comments = count($maj_live_comments);
 
-                       echo "<a href=\"index.php?entry=$d&show=comments\">";
+                       echo "<a href=\"index.php?entry=$maj_d&show=comments\">";
 
-                       if ($count_live_comments == 1) {
-                               echo "$count_live_comments comment";
+                       if ($maj_count_live_comments == 1) {
+                               echo "$maj_count_live_comments comment";
                        }
-                       elseif ($count_live_comments < 1) {
+                       elseif ($maj_count_live_comments < 1) {
                                echo "add comment";
                        }
                        else {
-                               echo "$count_live_comments comments";
+                               echo "$maj_count_live_comments comments";
                        }
                        echo "</a>";
 
-                       unset($live_comments);
+                       unset($maj_live_comments);
                }
        }
        else {
-               echo "<a href=\"index.php?entry=$d\">permalink</a>";
+               echo "<a href=\"index.php?entry=$maj_d\">permalink</a>";
        }
 
-       if (file_exists("data/items/$d/views.txt")) {
+       if (file_exists("data/items/$maj_d/views.txt")) {
 
-               $views_value = file_get_contents("data/items/$d/views.txt");
+               $maj_views_value = file_get_contents("data/items/$maj_d/views.txt");
 
-               if ($views_value == 1) {
-                       echo " ( $views_value view ) ";
+               if ($maj_views_value == 1) {
+                       echo " ( $maj_views_value view ) ";
                }
-               elseif ($views_value > 1) {
-                       echo " ( $views_value views ) ";
+               elseif ($maj_views_value > 1) {
+                       echo " ( $maj_views_value views ) ";
                }
                else {
                        echo " ";
                }
        }
 
-       if (!file_exists("images/$d/album")) {
+       if (!file_exists("images/$maj_d/album")) {
                echo " ";
        }
        else {
-               if ($dh_album = opendir("images/$d/album")) {
+               if ($maj_dh_album = opendir("images/$maj_d/album")) {
 
-                       while (($entry_album = readdir($dh_album)) !== false) {
+                       while (($maj_entry_album = readdir($maj_dh_album)) !== false) {
 
-                               if ($entry_album != "." && $entry_album != "..") {
-                                       $items_album[] = $entry_album;
+                               if ($maj_entry_album != "." && $maj_entry_album != "..") {
+                                       $maj_items_album[] = $maj_entry_album;
                                }
                        }
-                       closedir($dh_album);
+                       closedir($maj_dh_album);
                }
 
-               $album = count($items_album);
+               $maj_album = count($maj_items_album);
 
-               echo " | <a href=\"index.php?entry=$d&show=album\">";
+               echo " | <a href=\"index.php?entry=$maj_d&show=album\">";
 
-               if ($album == 1) {
-                       echo "$album image";
+               if ($maj_album == 1) {
+                       echo "$maj_album image";
                }
-               elseif ($album < 1) {
+               elseif ($maj_album < 1) {
                        echo "album";
                }
                else {
-                       echo "$album images";
+                       echo "$maj_album images";
                }
 
                echo "</a>";
 
-               unset($items_album);
+               unset($maj_items_album);
        }
 
-       if (file_exists("images/$d/album") and isset($req_entry) and !empty($req_entry) and isset($req_show) and !empty($req_show) and ($req_show == album)) {
+       if (file_exists("images/$maj_d/album") and isset($maj_req_entry) and !empty($maj_req_entry) and isset($maj_req_show) and !empty($maj_req_show) and ($maj_req_show == album)) {
 
-               if (!file_exists("data/items/$d/album")) {
-                       mkdir("data/items/$d/album");
+               if (!file_exists("data/items/$maj_d/album")) {
+                       mkdir("data/items/$maj_d/album");
                }
 
-               if ((!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+               if ((!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
 
-                       $album_views_value = file_get_contents("data/items/$d/album/views.txt");
+                       $maj_album_views_value = file_get_contents("data/items/$maj_d/album/views.txt");
 
-                       $album_views_value = $album_views_value + 1;
+                       $maj_album_views_value = $maj_album_views_value + 1;
 
-                       $fp_album_views_txt = fopen("data/items/$d/album/views.txt","w");
-                       fwrite($fp_album_views_txt,$album_views_value);
-                       fclose($fp_album_views_txt);
+                       $maj_fp_album_views_txt = fopen("data/items/$maj_d/album/views.txt","w");
+                       fwrite($maj_fp_album_views_txt,$maj_album_views_value);
+                       fclose($maj_fp_album_views_txt);
                }
        }
 
 
-       $album_views_value = file_get_contents("data/items/$d/album/views.txt");
+       $maj_album_views_value = file_get_contents("data/items/$maj_d/album/views.txt");
 
-       if ($album_views_value == 1) {
-               echo " ( $album_views_value view ) ";
+       if ($maj_album_views_value == 1) {
+               echo " ( $maj_album_views_value view ) ";
        }
-       elseif ($album_views_value > 1) {
-               echo " ( $album_views_value views ) ";
+       elseif ($maj_album_views_value > 1) {
+               echo " ( $maj_album_views_value views ) ";
        }
        else {
                echo " ";
        }
 
-       if (!file_exists("data/items/$d/filedrop/files")) {
+       if (!file_exists("data/items/$maj_d/filedrop/files")) {
                echo " ";
        }
        else {
-               if ($dh_filedrop = opendir("data/items/$d/filedrop/files")) {
+               if ($maj_dh_filedrop = opendir("data/items/$maj_d/filedrop/files")) {
 
-                       while (($dl_file = readdir($dh_filedrop)) !== false) {
+                       while (($maj_dl_file = readdir($maj_dh_filedrop)) !== false) {
 
-                               if ($dl_file != "." && $dl_file != "..") {
-                                       $items_filedrop[] = $dl_file;
+                               if ($maj_dl_file != "." && $maj_dl_file != "..") {
+                                       $maj_items_filedrop[] = $maj_dl_file;
                                }
                        }
-                       closedir($dh_filedrop);
+                       closedir($maj_dh_filedrop);
                }
 
-               $filedrop = count($items_filedrop);
+               $maj_filedrop = count($maj_items_filedrop);
 
-               echo " | <a href=\"index.php?entry=$d&show=filedrop\">";
+               echo " | <a href=\"index.php?entry=$maj_d&show=filedrop\">";
 
-               if ($filedrop == 1) {
-                       echo "$filedrop file";
+               if ($maj_filedrop == 1) {
+                       echo "$maj_filedrop file";
                }
-               elseif ($filedrop < 1) {
+               elseif ($maj_filedrop < 1) {
                        echo "filedrop";
                }
                else {
-                       echo "$filedrop files";
+                       echo "$maj_filedrop files";
                }
 
                echo "</a> ";
 
-               unset($items_filedrop);
+               unset($maj_items_filedrop);
        }
 
-       if (isset($req_entry) and !empty($req_entry) and isset($req_show) and !empty($req_show) and ($req_show == filedrop)) {
+       if (isset($maj_req_entry) and !empty($maj_req_entry) and isset($maj_req_show) and !empty($maj_req_show) and ($maj_req_show == filedrop)) {
 
-               if (!file_exists("data/items/$d/filedrop")) {
-                       mkdir("data/items/$d/filedrop");
+               if (!file_exists("data/items/$maj_d/filedrop")) {
+                       mkdir("data/items/$maj_d/filedrop");
                }
 
-               if (file_exists("data/items/$d/filedrop/files") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+               if (file_exists("data/items/$maj_d/filedrop/files") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
 
-                       $filedrop_views_value = file_get_contents("data/items/$d/filedrop/views.txt");
+                       $maj_filedrop_views_value = file_get_contents("data/items/$maj_d/filedrop/views.txt");
 
-                       $filedrop_views_value = $filedrop_views_value + 1;
+                       $maj_filedrop_views_value = $maj_filedrop_views_value + 1;
 
-                       $fp_filedrop_views_txt = fopen("data/items/$d/filedrop/views.txt","w");
-                       fwrite($fp_filedrop_views_txt,$filedrop_views_value);
-                       fclose($fp_filedrop_views_txt);
+                       $maj_fp_filedrop_views_txt = fopen("data/items/$maj_d/filedrop/views.txt","w");
+                       fwrite($maj_fp_filedrop_views_txt,$maj_filedrop_views_value);
+                       fclose($maj_fp_filedrop_views_txt);
                }
        }
 
 
-       $filedrop_views_value = file_get_contents("data/items/$d/filedrop/views.txt");
+       $maj_filedrop_views_value = file_get_contents("data/items/$maj_d/filedrop/views.txt");
 
-       if ($filedrop_views_value == 1) {
-               echo " ( $filedrop_views_value view ) ";
+       if ($maj_filedrop_views_value == 1) {
+               echo " ( $maj_filedrop_views_value view ) ";
        }
-       elseif ($filedrop_views_value > 1) {
-               echo " ( $filedrop_views_value views ) ";
+       elseif ($maj_filedrop_views_value > 1) {
+               echo " ( $maj_filedrop_views_value views ) ";
        }
        else {
                echo " ";
        }
 
-       if (!file_exists("data/nopdf.txt") and file_exists("data/items/$d/pdf/file")) {
+       if (!file_exists("data/nopdf.txt") and file_exists("data/items/$maj_d/pdf/file")) {
 
-               echo "| <a href=\"index.php?entry=$d&show=pdf\">pdf</a> ";
+               echo "| <a href=\"index.php?entry=$maj_d&show=pdf\">pdf</a> ";
 
-               if (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) {
+               if (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) {
 
-                       $pdf_views_value = file_get_contents("data/items/$d/pdf/count/views.txt");
+                       $maj_pdf_views_value = file_get_contents("data/items/$maj_d/pdf/count/views.txt");
 
-                       $pdf_views_value = $pdf_views_value + 1;
+                       $maj_pdf_views_value = $maj_pdf_views_value + 1;
 
-                       $fp_pdf_views_txt = fopen("data/items/$d/pdf/count/views.txt","w");
-                       fwrite($fp_pdf_views_txt,$pdf_views_value);
-                       fclose($fp_pdf_views_txt);
+                       $maj_fp_pdf_views_txt = fopen("data/items/$maj_d/pdf/count/views.txt","w");
+                       fwrite($maj_fp_pdf_views_txt,$maj_pdf_views_value);
+                       fclose($maj_fp_pdf_views_txt);
                }
 
-               $pdf_views_value = file_get_contents("data/items/$d/pdf/count/views.txt");
+               $maj_pdf_views_value = file_get_contents("data/items/$maj_d/pdf/count/views.txt");
 
-               if ($pdf_views_value == 1) {
-                       echo " ( $pdf_views_value view ) ";
+               if ($maj_pdf_views_value == 1) {
+                       echo " ( $maj_pdf_views_value view ) ";
                }
-               elseif ($pdf_views_value > 1) {
-                       echo " ( $pdf_views_value views ) ";
+               elseif ($maj_pdf_views_value > 1) {
+                       echo " ( $maj_pdf_views_value views ) ";
                }
                else {
                        echo " ";
@@ -3868,7 +3956,7 @@ foreach ($disp as $d) {
        }
 
        if (!file_exists("data/nocomment.txt") or (file_exists("data/memcomment.txt") and isset($_SESSION['logged_in']))) {
-               echo "| <a href=\"index.php?entry=$d\">permalink</a>";
+               echo "| <a href=\"index.php?entry=$maj_d\">permalink</a>";
        }
 
        echo "</div>";
@@ -3877,62 +3965,62 @@ foreach ($disp as $d) {
 
                echo '<b class="rbbottom"><b class="rb4e"';
 
-               if (isset($d_border) or isset($d_bgcolor_f)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_f)) {
                        echo ' style="';
                }
 
-               if (isset($d_bgcolor_f)) {
-                       echo "background-color: $d_bgcolor_f;";
+               if (isset($maj_d_bgcolor_f)) {
+                       echo "background-color: $maj_d_bgcolor_f;";
                }
 
-               if (isset($d_border)) {
-                       echo "border-color: $d_border;";
+               if (isset($maj_d_border)) {
+                       echo "border-color: $maj_d_border;";
                }
 
-               if (isset($d_border) or isset($d_bgcolor_f)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_f)) {
                        echo '"';
                }
 
                echo '></b><b class="rb3e"';
       
-               if (isset($d_border) or isset($d_bgcolor_f)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_f)) {
                        echo ' style="';
                }
 
-               if (isset($d_bgcolor_f)) {
-                       echo "background-color: $d_bgcolor_f;";
+               if (isset($maj_d_bgcolor_f)) {
+                       echo "background-color: $maj_d_bgcolor_f;";
                }
 
-               if (isset($d_border)) {
-                       echo "border-color: $d_border;";
+               if (isset($maj_d_border)) {
+                       echo "border-color: $maj_d_border;";
                }
 
-               if (isset($d_border) or isset($d_bgcolor_f)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_f)) {
                        echo '"';
                }
 
                echo '></b><b class="rb2e"';
 
-               if (isset($d_border) or isset($d_bgcolor_f)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_f)) {
                        echo ' style="';
                }
 
-               if (isset($d_bgcolor_f)) {
-                       echo "background-color: $d_bgcolor_f;";
+               if (isset($maj_d_bgcolor_f)) {
+                       echo "background-color: $maj_d_bgcolor_f;";
                }
 
-               if (isset($d_border)) {
-                       echo "border-color: $d_border;";
+               if (isset($maj_d_border)) {
+                       echo "border-color: $maj_d_border;";
                }
 
-               if (isset($d_border) or isset($d_bgcolor_f)) {
+               if (isset($maj_d_border) or isset($maj_d_bgcolor_f)) {
                        echo '"';
                }
 
                echo '></b><b class="rb1e"';
 
-               if (isset($d_border)) {
-                       echo " style=\"background-color: $d_border;\"";
+               if (isset($maj_d_border)) {
+                       echo " style=\"background-color: $maj_d_border;\"";
                }
 
                echo '></b></b>';
@@ -3940,54 +4028,54 @@ foreach ($disp as $d) {
 
        echo "</td></tr></table>";
 
-       if ($count_entry_panels > 0) {
+       if ($maj_count_entry_panels > 0) {
 
-               foreach ($entry_panels as $entry_panel) {
+               foreach ($maj_entry_panels as $maj_entry_panel) {
 
-                       if (!file_exists("data/panels/$entry_panel/free.txt")) {
+                       if (!file_exists("data/panels/$maj_entry_panel/free.txt")) {
 
-                               if (file_exists("data/panels/$entry_panel/border.txt")) {
-                                       $entry_panel_border = file_get_contents("data/panels/$entry_panel/border.txt");
+                               if (file_exists("data/panels/$maj_entry_panel/border.txt")) {
+                                       $maj_entry_panel_border = file_get_contents("data/panels/$maj_entry_panel/border.txt");
                                }
                                else {
-                                       if (isset($entry_panel_border)) {
-                                               unset($entry_panel_border);
+                                       if (isset($maj_entry_panel_border)) {
+                                               unset($maj_entry_panel_border);
                                        }
                                }
 
-                               if (file_exists("data/panels/$entry_panel/bgcolor-t.txt")) {
-                                       $entry_panel_bgcolor_t = file_get_contents("data/panels/$entry_panel/bgcolor-t.txt");
+                               if (file_exists("data/panels/$maj_entry_panel/bgcolor-t.txt")) {
+                                       $maj_entry_panel_bgcolor_t = file_get_contents("data/panels/$maj_entry_panel/bgcolor-t.txt");
                                }
                                else {
-                                       if (isset($entry_panel_bgcolor_t)) {
-                                               unset($entry_panel_bgcolor_t);
+                                       if (isset($maj_entry_panel_bgcolor_t)) {
+                                               unset($maj_entry_panel_bgcolor_t);
                                        }
                                }
 
-                               if (file_exists("data/panels/$entry_panel/bgcolor-c.txt")) {
-                                       $entry_panel_bgcolor_c = file_get_contents("data/panels/$entry_panel/bgcolor-c.txt");
+                               if (file_exists("data/panels/$maj_entry_panel/bgcolor-c.txt")) {
+                                       $maj_entry_panel_bgcolor_c = file_get_contents("data/panels/$maj_entry_panel/bgcolor-c.txt");
                                }
                                else {
-                                       if (isset($entry_panel_bgcolor_c)) {
-                                               unset($entry_panel_bgcolor_c);
+                                       if (isset($maj_entry_panel_bgcolor_c)) {
+                                               unset($maj_entry_panel_bgcolor_c);
                                        }
                                }
 
-                               if (file_exists("data/panels/$entry_panel/text-t.txt")) {
-                                       $entry_panel_text_t = file_get_contents("data/panels/$entry_panel/text-t.txt");
+                               if (file_exists("data/panels/$maj_entry_panel/text-t.txt")) {
+                                       $maj_entry_panel_text_t = file_get_contents("data/panels/$maj_entry_panel/text-t.txt");
                                }
                                else {
-                                       if (isset($entry_panel_text_t)) {
-                                               unset($entry_panel_text_t);
+                                       if (isset($maj_entry_panel_text_t)) {
+                                               unset($maj_entry_panel_text_t);
                                        }
                                }
 
-                               if (file_exists("data/panels/$entry_panel/text-c.txt")) {
-                                       $entry_panel_text_c = file_get_contents("data/panels/$entry_panel/text-c.txt");
+                               if (file_exists("data/panels/$maj_entry_panel/text-c.txt")) {
+                                       $maj_entry_panel_text_c = file_get_contents("data/panels/$maj_entry_panel/text-c.txt");
                                }
                                else {
-                                       if (isset($entry_panel_text_c)) {
-                                               unset($entry_panel_text_c);
+                                       if (isset($maj_entry_panel_text_c)) {
+                                               unset($maj_entry_panel_text_c);
                                        }
                                }
 
@@ -3995,220 +4083,220 @@ foreach ($disp as $d) {
 
                                        echo '<b class="rbtop"><b class="rb1t"';
 
-                                       if (isset($entry_panel_border)) {
-                                               echo " style=\"background-color: $entry_panel_border;\"";
+                                       if (isset($maj_entry_panel_border)) {
+                                               echo " style=\"background-color: $maj_entry_panel_border;\"";
                                        }
 
                                        echo '></b><b class="rb2t"';
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($entry_panel_bgcolor_t)) {
-                                               echo "background-color: $entry_panel_bgcolor_t;";
+                                       if (isset($maj_entry_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_entry_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($entry_panel_border)) {
-                                               echo "border-color: $entry_panel_border;";
+                                       if (isset($maj_entry_panel_border)) {
+                                               echo "border-color: $maj_entry_panel_border;";
                                        }
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t)) {
                                                echo '"';
                                        }
 
                                        echo '></b><b class="rb3t"';
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($entry_panel_bgcolor_t)) {
-                                               echo "background-color: $entry_panel_bgcolor_t;";
+                                       if (isset($maj_entry_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_entry_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($entry_panel_border)) {
-                                               echo "border-color: $entry_panel_border;";
+                                       if (isset($maj_entry_panel_border)) {
+                                               echo "border-color: $maj_entry_panel_border;";
                                        }
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t)) {
                                                echo '"';
                                        }
 
                                        echo '></b><b class="rb4t"';
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($entry_panel_bgcolor_t)) {
-                                               echo "background-color: $entry_panel_bgcolor_t;";
+                                       if (isset($maj_entry_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_entry_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($entry_panel_border)) {
-                                               echo "border-color: $entry_panel_border;";
+                                       if (isset($maj_entry_panel_border)) {
+                                               echo "border-color: $maj_entry_panel_border;";
                                        }
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t)) {
                                                echo '"';
                                        }
 
                                        echo '></b></b><div class="xtitle"';
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t) or isset($entry_panel_text_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t) or isset($maj_entry_panel_text_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($entry_panel_bgcolor_t)) {
-                                               echo "background-color: $entry_panel_bgcolor_t;";
+                                       if (isset($maj_entry_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_entry_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($entry_panel_text_t)) {
-                                               echo "color: $entry_panel_text_t;";
+                                       if (isset($maj_entry_panel_text_t)) {
+                                               echo "color: $maj_entry_panel_text_t;";
                                        }
 
-                                       if (isset($entry_panel_border)) {
-                                               echo "border-color: $entry_panel_border;";
+                                       if (isset($maj_entry_panel_border)) {
+                                               echo "border-color: $maj_entry_panel_border;";
                                        }
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t) or isset($entry_panel_text_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t) or isset($maj_entry_panel_text_t)) {
                                                echo '"';
                                        }
 
                                        echo '>';
                                }
                                else {
-                                       echo '<div id="panel_title"';
+                                       echo '<div class="panel_title"';
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t) or isset($entry_panel_text_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t) or isset($maj_entry_panel_text_t)) {
                                                echo ' style="';
                                        }
 
-                                       if (isset($entry_panel_bgcolor_t)) {
-                                               echo "background-color: $entry_panel_bgcolor_t;";
+                                       if (isset($maj_entry_panel_bgcolor_t)) {
+                                               echo "background-color: $maj_entry_panel_bgcolor_t;";
                                        }
 
-                                       if (isset($entry_panel_text_t)) {
-                                               echo "color: $entry_panel_text_t;";
+                                       if (isset($maj_entry_panel_text_t)) {
+                                               echo "color: $maj_entry_panel_text_t;";
                                        }
 
-                                       if (isset($entry_panel_border)) {
-                                               echo "border-color: $entry_panel_border;";
+                                       if (isset($maj_entry_panel_border)) {
+                                               echo "border-color: $maj_entry_panel_border;";
                                        }
 
-                                       if (isset($entry_panel_border) or isset($entry_panel_bgcolor_t) or isset($entry_panel_text_t)) {
+                                       if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_t) or isset($maj_entry_panel_text_t)) {
                                                echo '"';
                                        }
 
                                        echo '>';
                                }
 
-                               readfile("data/panels/$entry_panel/title.txt");
+                               readfile("data/panels/$maj_entry_panel/title.txt");
 
-                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
-                                       echo "<a href=\"panels.php#{$entry_panel}\">";
+                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
+                                       echo "<a href=\"panels.php#{$maj_entry_panel}\">";
                                        echo '<img src="images/widget.edit.png" border="0" width="11" height="11" align="right"></a>';
                                }
 
-                               if (file_exists("data/panels/$entry_panel/private.txt")) {
+                               if (file_exists("data/panels/$maj_entry_panel/private.txt")) {
                                        echo '<img src="images/widget.private.png" border="0" width="11" height="11" align="right">';
                                }
 
                                echo '</div>';
 
-                               echo '<div id="panel_body"';
+                               echo '<div class="panel_body"';
 
-                               if (isset($entry_panel_border) or isset($entry_panel_bgcolor_c) or isset($entry_panel_text_c)) {
+                               if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_c) or isset($maj_entry_panel_text_c)) {
                                        echo ' style="';
                                }
 
-                               if (isset($entry_panel_bgcolor_c)) {
-                                       echo "background-color: $entry_panel_bgcolor_c;";
+                               if (isset($maj_entry_panel_bgcolor_c)) {
+                                       echo "background-color: $maj_entry_panel_bgcolor_c;";
                                }
 
-                               if (isset($entry_panel_text_c)) {
-                                       echo "color: $entry_panel_text_c;";
+                               if (isset($maj_entry_panel_text_c)) {
+                                       echo "color: $maj_entry_panel_text_c;";
                                }
 
-                               if (isset($entry_panel_border)) {
-                                       echo "border-color: $entry_panel_border;";
+                               if (isset($maj_entry_panel_border)) {
+                                       echo "border-color: $maj_entry_panel_border;";
                                }
 
-                               if (isset($entry_panel_border) or isset($entry_panel_bgcolor_c) or isset($entry_panel_text_c)) {
+                               if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_c) or isset($maj_entry_panel_text_c)) {
                                        echo '"';
                                }
 
                                echo '>';
                        }
 
-                       if (file_exists("data/panels/$entry_panel/free.txt")) {
-                               echo '<div id=panel_free>';
+                       if (file_exists("data/panels/$maj_entry_panel/free.txt")) {
+                               echo '<div class=panel_free>';
                        }
 
-                       include("data/panels/$entry_panel/panel.php");
+                       include("data/panels/$maj_entry_panel/panel.php");
 
                        echo '</div>';
 
-                       if (file_exists("data/round.txt") and !file_exists("data/panels/$entry_panel/free.txt")) {
+                       if (file_exists("data/round.txt") and !file_exists("data/panels/$maj_entry_panel/free.txt")) {
 
                                echo '<b class="rbbottom"><b class="rb4b"';
 
-                               if (isset($entry_panel_border) or isset($entry_panel_bgcolor_c)) {
+                               if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_c)) {
                                        echo ' style="';
                                }
 
-                               if (isset($entry_panel_bgcolor_c)) {
-                                       echo "background-color: $entry_panel_bgcolor_c;";
+                               if (isset($maj_entry_panel_bgcolor_c)) {
+                                       echo "background-color: $maj_entry_panel_bgcolor_c;";
                                }
 
-                               if (isset($entry_panel_border)) {
-                                       echo "border-color: $entry_panel_border;";
+                               if (isset($maj_entry_panel_border)) {
+                                       echo "border-color: $maj_entry_panel_border;";
                                }
 
-                               if (isset($entry_panel_border) or isset($entry_panel_bgcolor_c)) {
+                               if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_c)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb3b"';
 
-                               if (isset($entry_panel_border) or isset($entry_panel_bgcolor_c)) {
+                               if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_c)) {
                                        echo ' style="';
                                }
 
-                               if (isset($entry_panel_bgcolor_c)) {
-                                       echo "background-color: $entry_panel_bgcolor_c;";
+                               if (isset($maj_entry_panel_bgcolor_c)) {
+                                       echo "background-color: $maj_entry_panel_bgcolor_c;";
                                }
 
-                               if (isset($entry_panel_border)) {
-                                       echo "border-color: $entry_panel_border;";
+                               if (isset($maj_entry_panel_border)) {
+                                       echo "border-color: $maj_entry_panel_border;";
                                }
 
-                               if (isset($entry_panel_border) or isset($entry_panel_bgcolor_c)) {
+                               if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_c)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb2b"';
 
-                               if (isset($entry_panel_border) or isset($entry_panel_bgcolor_c)) {
+                               if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_c)) {
                                        echo ' style="';
                                }
 
-                               if (isset($entry_panel_bgcolor_c)) {
-                                       echo "background-color: $entry_panel_bgcolor_c;";
+                               if (isset($maj_entry_panel_bgcolor_c)) {
+                                       echo "background-color: $maj_entry_panel_bgcolor_c;";
                                }
 
-                               if (isset($entry_panel_border)) {
-                                       echo "border-color: $entry_panel_border;";
+                               if (isset($maj_entry_panel_border)) {
+                                       echo "border-color: $maj_entry_panel_border;";
                                }
 
-                               if (isset($entry_panel_border) or isset($entry_panel_bgcolor_c)) {
+                               if (isset($maj_entry_panel_border) or isset($maj_entry_panel_bgcolor_c)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb1b"';
 
-                               if (isset($entry_panel_border)) {
-                                       echo " style=\"background-color: $entry_panel_border;\"";
+                               if (isset($maj_entry_panel_border)) {
+                                       echo " style=\"background-color: $maj_entry_panel_border;\"";
                                }
 
                                echo '></b></b>';
@@ -4216,145 +4304,145 @@ foreach ($disp as $d) {
                }
        }
 
-       if (isset($req_entry) and !empty($req_entry) and isset($req_show) and !empty($req_show) and ($req_show == album) and file_exists("images/$d/album")) {
+       if (isset($maj_req_entry) and !empty($maj_req_entry) and isset($maj_req_show) and !empty($maj_req_show) and ($maj_req_show == album) and file_exists("images/$maj_d/album")) {
 
-               echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$wmain\"><tr><td>";
+               echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$maj_wmain\"><tr><td>";
 
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo '<div id="panel_title">';
+                       echo '<div class="panel_title">';
                }
 
                echo 'Album';
-               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
                        echo '<a href=del.php?entry=';
-                       echo $d;
+                       echo $maj_d;
                        echo '&target=album><img src=images/widget.del.png border=0 width=11 height=11 align=right alt="delete album"></a>';
                }
-               echo '</div><div id=panel_body>';
+               echo '</div><div class=panel_body>';
 
-               if (file_exists("data/items/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
-                       echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d&show=album>here</a> to enter it.";
+               if (file_exists("data/items/$maj_d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and (!isset($_REQUEST['passwd']) or ($maj_crypt_passwd != $maj_passwd))) {
+                       echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$maj_d&show=album>here</a> to enter it.";
                }
                else {
-                       if (file_exists("images/$d/thumbnails")) {
-                               if ($dh_album = opendir("images/$d/thumbnails")) {
-                                       while (($thumbnail_album = readdir($dh_album)) !== false) {
-                                               if ($thumbnail_album != "." && $thumbnail_album != "..") {
-                                                       $current_thumbnail = "images/$d/thumbnails/$thumbnail_album";
-                                                       $parent_image = str_replace("-thumbnail.jpg","",$thumbnail_album);
-                                                       $parent_image = "images/$d/album/$parent_image";
-                                                       if (file_exists($current_thumbnail) and !file_exists($parent_image)) {
-                                                               unlink($current_thumbnail);
+                       if (file_exists("images/$maj_d/thumbnails")) {
+                               if ($maj_dh_album = opendir("images/$maj_d/thumbnails")) {
+                                       while (($maj_thumbnail_album = readdir($maj_dh_album)) !== false) {
+                                               if ($maj_thumbnail_album != "." && $maj_thumbnail_album != "..") {
+                                                       $maj_current_thumbnail = "images/$maj_d/thumbnails/$maj_thumbnail_album";
+                                                       $maj_parent_image = str_replace("-thumbnail.jpg","",$maj_thumbnail_album);
+                                                       $maj_parent_image = "images/$maj_d/album/$maj_parent_image";
+                                                       if (file_exists($maj_current_thumbnail) and !file_exists($maj_parent_image)) {
+                                                               unlink($maj_current_thumbnail);
                                                        }
                                                }
                                        }
                                }
                        }
 
-                       if (file_exists("data/items/$d/album/captions")) {
-                               if ($dh_album = opendir("data/items/$d/album/captions")) {
-                                       while (($caption_album = readdir($dh_album)) !== false) {
-                                               if ($caption_album != "." && $caption_album != "..") {
-                                                       $current_caption = "data/items/$d/album/captions/$caption_album";
-                                                       $parent_image = str_replace(".txt","",$caption_album);
-                                                       $parent_image = "images/$d/album/$parent_image";
-                                                       if (file_exists($current_caption) and !file_exists($parent_image)) {
-                                                               unlink($current_caption);
+                       if (file_exists("data/items/$maj_d/album/captions")) {
+                               if ($maj_dh_album = opendir("data/items/$maj_d/album/captions")) {
+                                       while (($maj_caption_album = readdir($maj_dh_album)) !== false) {
+                                               if ($maj_caption_album != "." && $maj_caption_album != "..") {
+                                                       $maj_current_caption = "data/items/$maj_d/album/captions/$maj_caption_album";
+                                                       $maj_parent_image = str_replace(".txt","",$maj_caption_album);
+                                                       $maj_parent_image = "images/$maj_d/album/$maj_parent_image";
+                                                       if (file_exists($maj_current_caption) and !file_exists($maj_parent_image)) {
+                                                               unlink($maj_current_caption);
                                                        }
                                                }
                                        }
                                }
                        }
       
-                       if (file_exists("images/$d/album")) {
-                               if ($dh_album = opendir("images/$d/album")) {
-                                       while (($entry_album = readdir($dh_album)) !== false) {
-                                               if ($entry_album != "." && $entry_album != "..") {
-                                                       $sort_album[] = $entry_album;
+                       if (file_exists("images/$maj_d/album")) {
+                               if ($maj_dh_album = opendir("images/$maj_d/album")) {
+                                       while (($maj_entry_album = readdir($maj_dh_album)) !== false) {
+                                               if ($maj_entry_album != "." && $maj_entry_album != "..") {
+                                                       $maj_sort_album[] = $maj_entry_album;
                                                }
                                        }
-                               closedir($dh_album);
+                               closedir($maj_dh_album);
                                }
       
-                               sort($sort_album);
-                               reset($sort_album);
-                               $count_album_entry = count($sort_album);
+                               sort($maj_sort_album);
+                               reset($maj_sort_album);
+                               $maj_count_album_entry = count($maj_sort_album);
                               
-                               if ($count_album_entry < 1) {
-                                       rmdirr("images/$d/album");
-                                       rmdirr("images/$d/thumbnails");                        
+                               if ($maj_count_album_entry < 1) {
+                                       rmdirr("images/$maj_d/album");
+                                       rmdirr("images/$maj_d/thumbnails");                            
                                }
                                else {
-                                       foreach($sort_album as $album_entry) {
-                                               $current_image = "images/$d/album/$album_entry";
-                                               $current_image_size = getimagesize($current_image);
-                                               $current_width = $current_image_size[0];
-                                               $current_height = $current_image_size[1];
-                                               $max_width = 98;
-                                               $max_height = 73;
-
-                                               if (($current_width > $max_width) || ($current_height > $max_height)) {  
-
-                                                       if ($current_height > $current_width) {
-                                                               $sizefactor = (double) ($max_height / $current_height);
+                                       foreach($maj_sort_album as $maj_album_entry) {
+                                               $maj_current_image = "images/$maj_d/album/$maj_album_entry";
+                                               $maj_current_image_size = getimagesize($maj_current_image);
+                                               $maj_current_width = $maj_current_image_size[0];
+                                               $maj_current_height = $maj_current_image_size[1];
+                                               $maj_max_width = 98;
+                                               $maj_max_height = 73;
+
+                                               if (($maj_current_width > $maj_max_width) || ($maj_current_height > $maj_max_height)) {  
+
+                                                       if ($maj_current_height > $maj_current_width) {
+                                                               $maj_sizefactor = (double) ($maj_max_height / $maj_current_height);
                                                        }
                                                        else {
-                                                               $sizefactor = (double) ($max_width / $current_width) ;
+                                                               $maj_sizefactor = (double) ($maj_max_width / $maj_current_width) ;
                                                        }
 
-                                                       $new_width = (int) ($current_width * $sizefactor);
-                                                       $new_height = (int) ($current_height * $sizefactor);
+                                                       $maj_new_width = (int) ($maj_current_width * $maj_sizefactor);
+                                                       $maj_new_height = (int) ($maj_current_height * $maj_sizefactor);
                                                }
                                                else {
-                                                       $new_width = $current_width;
-                                                       $new_height = $current_height;
+                                                       $maj_new_width = $maj_current_width;
+                                                       $maj_new_height = $maj_current_height;
                                                }
       
-                                               if (!file_exists("images/$d/thumbnails/{$album_entry}-thumbnail.jpg")) {
+                                               if (!file_exists("images/$maj_d/thumbnails/{$maj_album_entry}-thumbnail.jpg")) {
       
-                                                       $work_thumb = imagecreatetruecolor($new_width,$new_height);
-                                                       $get_mimetype = image_type_to_mime_type(exif_imagetype($current_image));
+                                                       $maj_work_thumb = imagecreatetruecolor($maj_new_width,$maj_new_height);
+                                                       $maj_get_mimetype = image_type_to_mime_type(exif_imagetype($maj_current_image));
 
-                                                       switch($get_mimetype) {
+                                                       switch($maj_get_mimetype) {
                                                                case "image/jpg":
                                                                case "image/jpeg":
-                                                                       $work_image = imagecreatefromjpeg($current_image);
+                                                                       $maj_work_image = imagecreatefromjpeg($maj_current_image);
                                                                        break;
                                                                case "image/gif":
-                                                                       $work_image = imagecreatefromgif($current_image);
+                                                                       $maj_work_image = imagecreatefromgif($maj_current_image);
                                                                        break;
                                                                case "image/png":
-                                                                       $work_image = imagecreatefrompng($current_image);
+                                                                       $maj_work_image = imagecreatefrompng($maj_current_image);
                                                                        break;
                                                        }
       
-                                                       imagecopyresampled($work_thumb,$work_image,0,0,0,0,$new_width,$new_height,$current_width,$current_height);
+                                                       imagecopyresampled($maj_work_thumb,$maj_work_image,0,0,0,0,$maj_new_width,$maj_new_height,$maj_current_width,$maj_current_height);
       
-                                                       if (!file_exists("images/$d/thumbnails")) {
-                                                               mkdir("images/$d/thumbnails");
+                                                       if (!file_exists("images/$maj_d/thumbnails")) {
+                                                               mkdir("images/$maj_d/thumbnails");
                                                        }
       
-                                                       imagejpeg($work_thumb,"images/$d/thumbnails/{$album_entry}-thumbnail.jpg",80);
+                                                       imagejpeg($maj_work_thumb,"images/$maj_d/thumbnails/{$maj_album_entry}-thumbnail.jpg",80);
       
                                                }
 
-                                               echo "<a href=\"album.php?entry=$d&show=$album_entry\">";
+                                               echo "<a href=\"album.php?entry=$maj_d&show=$maj_album_entry\">";
 
-                                               if (!file_exists("images/$d/thumbnails/{$album_entry}-thumbnail.jpg")) {
-                                                       echo "<img src=\"images/$d/album/$album_entry\" width=$new_width height=$new_height border=0 hspace=2 vspace=2";
+                                               if (!file_exists("images/$maj_d/thumbnails/{$maj_album_entry}-thumbnail.jpg")) {
+                                                       echo "<img src=\"images/$maj_d/album/$maj_album_entry\" width=$maj_new_width height=$maj_new_height border=0 hspace=2 vspace=2";
                                                }
                                                else {
-                                                       echo "<img src=\"images/$d/thumbnails/{$album_entry}-thumbnail.jpg\" width=$new_width height=$new_height border=0 hspace=2 vspace=2";
+                                                       echo "<img src=\"images/$maj_d/thumbnails/{$maj_album_entry}-thumbnail.jpg\" width=$maj_new_width height=$maj_new_height border=0 hspace=2 vspace=2";
                                                }
 
-                                               if (file_exists("data/items/$d/album/captions/{$album_entry}.txt")) {
+                                               if (file_exists("data/items/$maj_d/album/captions/{$maj_album_entry}.txt")) {
                                                        echo ' alt="';
-                                                       $img_alt = file_get_contents("data/items/$d/album/captions/{$album_entry}.txt");
-                                                       $img_alt = strip_tags($img_alt);
-                                                       echo $img_alt;
+                                                       $maj_img_alt = file_get_contents("data/items/$maj_d/album/captions/{$maj_album_entry}.txt");
+                                                       $maj_img_alt = strip_tags($maj_img_alt);
+                                                       echo $maj_img_alt;
                                                        echo '"';
                                                }
                                                echo "></a>";
@@ -4372,74 +4460,74 @@ foreach ($disp as $d) {
 
        }
 
-       if (isset($req_entry) and !empty($req_entry) and isset($req_show) and !empty($req_show) and ($req_show == filedrop) and file_exists("data/items/$d/filedrop/files")) {
+       if (isset($maj_req_entry) and !empty($maj_req_entry) and isset($maj_req_show) and !empty($maj_req_show) and ($maj_req_show == filedrop) and file_exists("data/items/$maj_d/filedrop/files")) {
 
-               echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$wmain\"><tr><td>";
+               echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$maj_wmain\"><tr><td>";
 
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo "<div id=panel_title>";
+                       echo "<div class=panel_title>";
                }
 
                echo "Filedrop";
 
-               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
-                       echo "<a href=del.php?entry=$d&target=filedrop><img src=images/widget.del.png border=0 width=11 height=11 align=right alt=\"delete filedrop\"></a>";
+               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
+                       echo "<a href=del.php?entry=$maj_d&target=filedrop><img src=images/widget.del.png border=0 width=11 height=11 align=right alt=\"delete filedrop\"></a>";
                }
-               echo "</div><div id=panel_body>";
+               echo "</div><div class=panel_body>";
 
-               if (file_exists("data/items/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
-                       echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d&show=filedrop>here</a> to enter it.";
+               if (file_exists("data/items/$maj_d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and (!isset($_REQUEST['passwd']) or ($maj_crypt_passwd != $maj_passwd))) {
+                       echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$maj_d&show=filedrop>here</a> to enter it.";
                }
                else {
 
-                       if ($dh_filedrop = opendir("data/items/$d/filedrop/files")) {
-                               while (($dl_file = readdir($dh_filedrop)) !== false) {
-                                       if ($dl_file != "." && $dl_file != "..") {
-                                               $filedrop_files[] = $dl_file;
+                       if ($maj_dh_filedrop = opendir("data/items/$maj_d/filedrop/files")) {
+                               while (($maj_dl_file = readdir($maj_dh_filedrop)) !== false) {
+                                       if ($maj_dl_file != "." && $maj_dl_file != "..") {
+                                               $maj_filedrop_files[] = $maj_dl_file;
                                        }
                                }
-                       closedir($dh_filedrop);
+                       closedir($maj_dh_filedrop);
                        }
 
-                       reset($filedrop_files);
-                       sort($filedrop_files);
+                       reset($maj_filedrop_files);
+                       sort($maj_filedrop_files);
 
-                       foreach ($filedrop_files as $filedrop_file) {
+                       foreach ($maj_filedrop_files as $maj_filedrop_file) {
 
                                echo "<table border=0 cellspacing=0 cellpadding=4><tr><td>";
-                               echo "<a href=\"index.php?entry=$d&download=$filedrop_file&type=filedrop\">";
+                               echo "<a href=\"index.php?entry=$maj_d&download=$maj_filedrop_file&type=filedrop\">";
                                echo "<img src=images/filedrop.png width=36 height=36 border=0 alt=\"download file\"></a></td>";
-                               echo "<td><b>$filedrop_file</b>";
+                               echo "<td><b>$maj_filedrop_file</b>";
 
-                               if (file_exists("data/items/$d/filedrop/sha1.txt")) {
-                                       $sha1 = sha1_file("data/items/$d/filedrop/files/$filedrop_file");
-                                       echo "<br>$sha1 (<a href=\"http://www.faqs.org/rfcs/rfc3174\" target=\"_maj\">sha1</a>)";
+                               if (file_exists("data/items/$maj_d/filedrop/sha1.txt")) {
+                                       $maj_sha1 = sha1_file("data/items/$maj_d/filedrop/files/$maj_filedrop_file");
+                                       echo "<br>$maj_sha1 (<a href=\"http://www.faqs.org/rfcs/rfc3174\" target=\"_maj\">sha1</a>)";
                                }
-                               if (file_exists("data/items/$d/filedrop/md5.txt")) {
-                                       $md5 = md5_file("data/items/$d/filedrop/files/$filedrop_file");
-                                       echo "<br>$md5 (<a href=\"http://www.faqs.org/rfcs/rfc1321\" target=\"_maj\">md5</a>)";
+                               if (file_exists("data/items/$maj_d/filedrop/md5.txt")) {
+                                       $maj_md5 = md5_file("data/items/$maj_d/filedrop/files/$maj_filedrop_file");
+                                       echo "<br>$maj_md5 (<a href=\"http://www.faqs.org/rfcs/rfc1321\" target=\"_maj\">md5</a>)";
                                }
 
-                               $size = filesize("data/items/$d/filedrop/files/$filedrop_file");
-                               $size_string = ($size > 512)?(  ($size/1024 > 512)  ?sprintf("%.02f MB",($size/1024)/1024)  :sprintf("%.02f KB",$size/1024))  :sprintf("%d B",$size);
+                               $maj_size = filesize("data/items/$maj_d/filedrop/files/$maj_filedrop_file");
+                               $maj_size_string = ($maj_size > 512)?(  ($maj_size/1024 > 512)  ?sprintf("%.02f MB",($maj_size/1024)/1024)  :sprintf("%.02f KB",$maj_size/1024))  :sprintf("%d B",$maj_size);
 
-                               echo "<br>$size_string";
+                               echo "<br>$maj_size_string";
 
-                               $filedrop_count_file = "data/items/$d/filedrop/count/$filedrop_file" . '.txt';
+                               $maj_filedrop_count_file = "data/items/$maj_d/filedrop/count/$maj_filedrop_file" . '.txt';
 
-                               if (file_exists($filedrop_count_file)) {
-                                       $fp_filedrop_count = fopen($filedrop_count_file,"r");
-                                       $filedrop_count = fread($fp_filedrop_count,filesize($filedrop_count_file));
-                                       fclose($fp_filedrop_count);
-                                       echo "<br>$filedrop_count";
+                               if (file_exists($maj_filedrop_count_file)) {
+                                       $maj_fp_filedrop_count = fopen($maj_filedrop_count_file,"r");
+                                       $maj_filedrop_count = fread($maj_fp_filedrop_count,filesize($maj_filedrop_count_file));
+                                       fclose($maj_fp_filedrop_count);
+                                       echo "<br>$maj_filedrop_count";
                               
-                                       if ($filedrop_count == 1) {
+                                       if ($maj_filedrop_count == 1) {
                                                echo " download";
                                        }
-                                       if ($filedrop_count > 1) {
+                                       if ($maj_filedrop_count > 1) {
                                                echo " downloads";
                                        }
                                }
@@ -4455,60 +4543,60 @@ foreach ($disp as $d) {
                echo '</td></tr></table>';
        }
 
-       if (isset($req_entry) and !empty($req_entry) and isset($req_show) and !empty($req_show) and ($req_show == pdf) and file_exists("data/items/$d/pdf/file")) {
+       if (isset($maj_req_entry) and !empty($maj_req_entry) and isset($maj_req_show) and !empty($maj_req_show) and ($maj_req_show == pdf) and file_exists("data/items/$maj_d/pdf/file")) {
 
-               echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$wmain\"><tr><td>";
+               echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$maj_wmain\"><tr><td>";
 
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo '<div id="panel_title">';
+                       echo '<div class="panel_title">';
                }
 
                echo 'PDF';
-               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
                        echo '<a href=del.php?entry=';
-                       echo $d;
+                       echo $maj_d;
                        echo '&target=pdf><img src=images/widget.del.png border=0 width=11 height=11 align=right alt="delete pdf"></a>';
                }
-               echo '</div><div id=panel_body>';
+               echo '</div><div class=panel_body>';
 
-               if (file_exists("data/items/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
-                       echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d&show=pdf>here</a> to enter it.";
+               if (file_exists("data/items/$maj_d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and (!isset($_REQUEST['passwd']) or ($maj_crypt_passwd != $maj_passwd))) {
+                       echo "This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$maj_d&show=pdf>here</a> to enter it.";
                }
                else {
 
-                       if ($dh_pdf = opendir("data/items/$d/pdf/file")) {
-                               while (($dl_file = readdir($dh_pdf)) !== false) {
-                                       if ($dl_file != "." && $dl_file != "..") {
+                       if ($maj_dh_pdf = opendir("data/items/$maj_d/pdf/file")) {
+                               while (($maj_dl_file = readdir($maj_dh_pdf)) !== false) {
+                                       if ($maj_dl_file != "." && $maj_dl_file != "..") {
                                                echo '<table border=0 cellspacing=0 cellpadding=4><tr><td>';
-                                               echo "<a href=\"index.php?entry=$d&download=$dl_file&type=pdf\">";
+                                               echo "<a href=\"index.php?entry=$maj_d&download=$maj_dl_file&type=pdf\">";
                                                echo '<img src=images/pdf.png width=36 height=36 border=0 alt="download file"></a></td>';
                                                echo '<td><b>';
-                                               echo $dl_file;
+                                               echo $maj_dl_file;
                                                echo'</b><br>';
-                                               $size = filesize("data/items/$d/pdf/file/$dl_file");
-                                               $size_string = ($size > 512)?(  ($size/1024 > 512)  ?sprintf("%.02f MB",($size/1024)/1024)  :sprintf("%.02f KB",$size/1024))  :sprintf("%d B",$size);
-                                               echo $size_string;
-                                               $pdf_count_file = "data/items/$d/pdf/count/dl.txt";
-                                               if (file_exists($pdf_count_file)) {
-                                                       $fp_pdf_count = fopen($pdf_count_file,"r");
-                                                       $pdf_count = fread($fp_pdf_count,filesize($pdf_count_file));
-                                                       fclose($fp_pdf_count);
+                                               $maj_size = filesize("data/items/$maj_d/pdf/file/$maj_dl_file");
+                                               $maj_size_string = ($maj_size > 512)?(  ($maj_size/1024 > 512)  ?sprintf("%.02f MB",($maj_size/1024)/1024)  :sprintf("%.02f KB",$maj_size/1024))  :sprintf("%d B",$maj_size);
+                                               echo $maj_size_string;
+                                               $maj_pdf_count_file = "data/items/$maj_d/pdf/count/dl.txt";
+                                               if (file_exists($maj_pdf_count_file)) {
+                                                       $maj_fp_pdf_count = fopen($maj_pdf_count_file,"r");
+                                                       $maj_pdf_count = fread($maj_fp_pdf_count,filesize($maj_pdf_count_file));
+                                                       fclose($maj_fp_pdf_count);
                                                        echo '<br>';
-                                                       echo $pdf_count;
-                                                       if ($pdf_count == 1) {
+                                                       echo $maj_pdf_count;
+                                                       if ($maj_pdf_count == 1) {
                                                                echo ' download';
                                                        }
-                                                       if ($pdf_count > 1) {
+                                                       if ($maj_pdf_count > 1) {
                                                                echo ' downloads';
                                                        }
                                                }
                                                echo '</td></tr></table>';
                                        }
                                }
-                       closedir($dh_pdf);
+                       closedir($maj_dh_pdf);
                        }
                }
                echo '</div>';
@@ -4520,247 +4608,247 @@ foreach ($disp as $d) {
                echo '</td></tr></table>';
        }
 
-       if (isset($req_entry) and !empty($req_entry) and isset($req_show) and !empty($req_show) and ($req_show == comments) and (!file_exists("data/nocomment.txt") or (file_exists("data/memcomment.txt") and isset($_SESSION['logged_in'])))) {
+       if (isset($maj_req_entry) and !empty($maj_req_entry) and isset($maj_req_show) and !empty($maj_req_show) and ($maj_req_show == comments) and (!file_exists("data/nocomment.txt") or (file_exists("data/memcomment.txt") and isset($_SESSION['logged_in'])))) {
 
-               if (file_exists("data/items/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
+               if (file_exists("data/items/$maj_d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and (!isset($_REQUEST['passwd']) or ($maj_crypt_passwd != $maj_passwd))) {
                }
                else {
-                       echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$wmain\"><tr><td>";
+                       echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$maj_wmain\"><tr><td>";
 
-                       if ($dh_comments = opendir("data/items/$d/comments/live")) {
-                               while (($live_comment = readdir($dh_comments)) !== false) {
-                                       if ($live_comment != "." && $live_comment != "..") {
-                                               $show_comments[] = $live_comment;
+                       if ($maj_dh_comments = opendir("data/items/$maj_d/comments/live")) {
+                               while (($maj_live_comment = readdir($maj_dh_comments)) !== false) {
+                                       if ($maj_live_comment != "." && $maj_live_comment != "..") {
+                                               $maj_show_comments[] = $maj_live_comment;
                                        }
                                }
-                       closedir($dh_comments);
+                       closedir($maj_dh_comments);
                        }
       
-                       asort($show_comments);
-                       reset($show_comments);
-                       foreach ($show_comments as $comment) {
+                       asort($maj_show_comments);
+                       reset($maj_show_comments);
+                       foreach ($maj_show_comments as $maj_comment) {
 
                                if (file_exists("data/round.txt")) {
                                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                                }
                                else {
-                                       echo '<div id="panel_title">';
+                                       echo '<div class="panel_title">';
                                }
       
-                               if (file_exists("data/items/$d/comments/live/$comment/url.txt")) {
+                               if (file_exists("data/items/$maj_d/comments/live/$maj_comment/url.txt")) {
                                        echo '<a target=_maj href=';
-                                       readfile("data/items/$d/comments/live/$comment/url.txt");
+                                       readfile("data/items/$maj_d/comments/live/$maj_comment/url.txt");
                                        echo '>';
                                }
       
-                               readfile("data/items/$d/comments/live/$comment/firstname.txt");
+                               readfile("data/items/$maj_d/comments/live/$maj_comment/firstname.txt");
                                echo ' ';
-                               readfile("data/items/$d/comments/live/$comment/lastname.txt");
+                               readfile("data/items/$maj_d/comments/live/$maj_comment/lastname.txt");
       
-                               if (file_exists("data/items/$d/comments/live/$comment/url.txt")) {
+                               if (file_exists("data/items/$maj_d/comments/live/$maj_comment/url.txt")) {
                                        echo '</a>';
                                }
       
-                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
                                        echo '  &lt;';
-                                       readfile("data/items/$d/comments/live/$comment/email.txt");
+                                       readfile("data/items/$maj_d/comments/live/$maj_comment/email.txt");
                                        echo '&gt;';
                                }
       
-                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
-                                       echo '<a href=del.php?entry=' . $d . '&comment=' . $comment . '&type=live><img src=images/widget.del.png width=11 height=11 border=0 align=right alt="delete comment"></a>';
-                                       echo '<a href=move.php?entry=' . $d . '&comment=' . $comment . '&type=live><img src=images/widget.move.png width=11 height=11 border=0 align=right alt="move comment"></a>';
-                                       echo '<a href=edit.php?entry=' . $d . '&comment=' . $comment . '&type=live><img src=images/widget.edit.png width=11 height=11 border=0 align=right alt="edit comment"></a>';
+                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
+                                       echo '<a href=del.php?entry=' . $maj_d . '&comment=' . $maj_comment . '&type=live><img src=images/widget.del.png width=11 height=11 border=0 align=right alt="delete comment"></a>';
+                                       echo '<a href=move.php?entry=' . $maj_d . '&comment=' . $maj_comment . '&type=live><img src=images/widget.move.png width=11 height=11 border=0 align=right alt="move comment"></a>';
+                                       echo '<a href=edit.php?entry=' . $maj_d . '&comment=' . $maj_comment . '&type=live><img src=images/widget.edit.png width=11 height=11 border=0 align=right alt="edit comment"></a>';
                                }
-                               echo '</div><div id=panel_body><table border=0 cellspacing=0 cellpadding=0><tr>';
+                               echo '</div><div class=panel_body><table border=0 cellspacing=0 cellpadding=0><tr>';
                               
-                               if (file_exists("data/bb.txt") and file_exists("data/avatar.txt") and file_exists("data/items/$d/comments/live/$comment/author.txt")) {
+                               if (file_exists("data/bb.txt") and file_exists("data/avatar.txt") and file_exists("data/items/$maj_d/comments/live/$maj_comment/author.txt")) {
                                        echo "<td width=85 valign=top>";
-                                       $c_author = file_get_contents("data/items/$d/comments/live/$comment/author.txt");
-                                       echo "<a href=member.php?id=$c_author>";
-                                       if ((file_get_contents("data/username.txt") == $c_author) and (file_exists("images/avatar.jpg") or file_exists("images/avatar.gif") or file_exists("images/avatar.png"))) {
+                                       $maj_c_author = file_get_contents("data/items/$maj_d/comments/live/$maj_comment/author.txt");
+                                       echo "<a href=member.php?class=$maj_c_author>";
+                                       if ((file_get_contents("data/username.txt") == $maj_c_author) and (file_exists("images/avatar.jpg") or file_exists("images/avatar.gif") or file_exists("images/avatar.png"))) {
                                                if (file_exists("images/avatar.gif")) {
-                                                       $c_avatar_gif_image_size = getimagesize("images/avatar.gif");
-                                                       $c_avatar_gif_image_width = $c_avatar_gif_image_size[0];
-                                                       $c_avatar_gif_image_height = $c_avatar_gif_image_size[1];
+                                                       $maj_c_avatar_gif_image_size = getimagesize("images/avatar.gif");
+                                                       $maj_c_avatar_gif_image_width = $maj_c_avatar_gif_image_size[0];
+                                                       $maj_c_avatar_gif_image_height = $maj_c_avatar_gif_image_size[1];
                       
-                                                       $c_max_avatar_gif_image_width = 80;
+                                                       $maj_c_max_avatar_gif_image_width = 80;
                                               
-                                                       if ($c_avatar_gif_image_width > $c_max_avatar_gif_image_width) {  
-                                                               $sizefactor = (double) ($c_max_avatar_gif_image_width / $c_avatar_gif_image_width) ;
-                                                               $c_avatar_gif_image_width = (int) ($c_avatar_gif_image_width * $sizefactor);
-                                                               $c_avatar_gif_image_height = (int) ($c_avatar_gif_image_height * $sizefactor);
+                                                       if ($maj_c_avatar_gif_image_width > $maj_c_max_avatar_gif_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_c_max_avatar_gif_image_width / $maj_c_avatar_gif_image_width) ;
+                                                               $maj_c_avatar_gif_image_width = (int) ($maj_c_avatar_gif_image_width * $maj_sizefactor);
+                                                               $maj_c_avatar_gif_image_height = (int) ($maj_c_avatar_gif_image_height * $maj_sizefactor);
                                                        }
                       
                                                        echo "<img src=images/avatar.gif border=0 width=";
-                                                       echo $c_avatar_gif_image_width;
+                                                       echo $maj_c_avatar_gif_image_width;
                                                        echo " height=";
-                                                       echo $c_avatar_gif_image_height;
+                                                       echo $maj_c_avatar_gif_image_height;
                                                }
                                                if (file_exists("images/avatar.jpg")) {
-                                                       $c_avatar_jpg_image_size = getimagesize("images/avatar.jpg");
-                                                       $c_avatar_jpg_image_width = $c_avatar_jpg_image_size[0];
-                                                       $c_avatar_jpg_image_height = $c_avatar_jpg_image_size[1];
+                                                       $maj_c_avatar_jpg_image_size = getimagesize("images/avatar.jpg");
+                                                       $maj_c_avatar_jpg_image_width = $maj_c_avatar_jpg_image_size[0];
+                                                       $maj_c_avatar_jpg_image_height = $maj_c_avatar_jpg_image_size[1];
                                               
-                                                       $c_max_avatar_jpg_image_width = 80;
+                                                       $maj_c_max_avatar_jpg_image_width = 80;
                                               
-                                                       if ($c_avatar_jpg_image_width > $c_max_avatar_jpg_image_width) {  
-                                                               $sizefactor = (double) ($c_max_avatar_jpg_image_width / $c_avatar_jpg_image_width) ;
-                                                               $c_avatar_jpg_image_width = (int) ($c_avatar_jpg_image_width * $sizefactor);
-                                                               $c_avatar_jpg_image_height = (int) ($c_avatar_jpg_image_height * $sizefactor);
+                                                       if ($maj_c_avatar_jpg_image_width > $maj_c_max_avatar_jpg_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_c_max_avatar_jpg_image_width / $maj_c_avatar_jpg_image_width) ;
+                                                               $maj_c_avatar_jpg_image_width = (int) ($maj_c_avatar_jpg_image_width * $maj_sizefactor);
+                                                               $maj_c_avatar_jpg_image_height = (int) ($maj_c_avatar_jpg_image_height * $maj_sizefactor);
                                                        }
                       
                                                        echo "<img src=images/avatar.jpg border=0 width=";
-                                                       echo $c_avatar_jpg_image_width;
+                                                       echo $maj_c_avatar_jpg_image_width;
                                                        echo " height=";
-                                                       echo $c_avatar_jpg_image_height;
+                                                       echo $maj_c_avatar_jpg_image_height;
                                                }
                                                if (file_exists("images/avatar.png")) {
-                                                       $c_avatar_png_image_size = getimagesize("images/avatar.png");
-                                                       $c_avatar_png_image_width = $c_avatar_png_image_size[0];
-                                                       $c_avatar_png_image_height = $c_avatar_png_image_size[1];
+                                                       $maj_c_avatar_png_image_size = getimagesize("images/avatar.png");
+                                                       $maj_c_avatar_png_image_width = $maj_c_avatar_png_image_size[0];
+                                                       $maj_c_avatar_png_image_height = $maj_c_avatar_png_image_size[1];
                                               
-                                                       $c_max_avatar_png_image_width = 80;
+                                                       $maj_c_max_avatar_png_image_width = 80;
                                               
-                                                       if ($c_avatar_png_image_width > $c_max_avatar_png_image_width) {  
-                                                               $sizefactor = (double) ($c_max_avatar_png_image_width / $c_avatar_png_image_width) ;
-                                                               $c_avatar_png_image_width = (int) ($c_avatar_png_image_width * $sizefactor);
-                                                               $c_avatar_png_image_height = (int) ($c_avatar_png_image_height * $sizefactor);
+                                                       if ($maj_c_avatar_png_image_width > $maj_c_max_avatar_png_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_c_max_avatar_png_image_width / $maj_c_avatar_png_image_width) ;
+                                                               $maj_c_avatar_png_image_width = (int) ($maj_c_avatar_png_image_width * $maj_sizefactor);
+                                                               $maj_c_avatar_png_image_height = (int) ($maj_c_avatar_png_image_height * $maj_sizefactor);
                                                        }
                                               
                                                        echo "<img src=images/avatar.png border=0 width=";
-                                                       echo $c_avatar_png_image_width;
+                                                       echo $maj_c_avatar_png_image_width;
                                                        echo " height=";
-                                                       echo $c_avatar_png_image_height;
+                                                       echo $maj_c_avatar_png_image_height;
                                                }
                                        echo "><br>";
                                        }
-                                       elseif (file_exists("images/members/$c_author/avatar.jpg") or file_exists("images/members/$c_author/avatar.gif") or file_exists("images/members/$c_author/avatar.png")) {
-                                               if (file_exists("images/members/$c_author/avatar.gif")) {
-                                                       $c_avatar_gif_image_size = getimagesize("images/members/$c_author/avatar.gif");
-                                                       $c_avatar_gif_image_width = $c_avatar_gif_image_size[0];
-                                                       $c_avatar_gif_image_height = $c_avatar_gif_image_size[1];
+                                       elseif (file_exists("images/members/$maj_c_author/avatar.jpg") or file_exists("images/members/$maj_c_author/avatar.gif") or file_exists("images/members/$maj_c_author/avatar.png")) {
+                                               if (file_exists("images/members/$maj_c_author/avatar.gif")) {
+                                                       $maj_c_avatar_gif_image_size = getimagesize("images/members/$maj_c_author/avatar.gif");
+                                                       $maj_c_avatar_gif_image_width = $maj_c_avatar_gif_image_size[0];
+                                                       $maj_c_avatar_gif_image_height = $maj_c_avatar_gif_image_size[1];
                       
-                                                       $c_max_avatar_gif_image_width = 80;
+                                                       $maj_c_max_avatar_gif_image_width = 80;
                                               
-                                                       if ($c_avatar_gif_image_width > $c_max_avatar_gif_image_width) {  
-                                                               $sizefactor = (double) ($c_max_avatar_gif_image_width / $c_avatar_gif_image_width) ;
-                                                               $c_avatar_gif_image_width = (int) ($c_avatar_gif_image_width * $sizefactor);
-                                                               $c_avatar_gif_image_height = (int) ($c_avatar_gif_image_height * $sizefactor);
+                                                       if ($maj_c_avatar_gif_image_width > $maj_c_max_avatar_gif_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_c_max_avatar_gif_image_width / $maj_c_avatar_gif_image_width) ;
+                                                               $maj_c_avatar_gif_image_width = (int) ($maj_c_avatar_gif_image_width * $maj_sizefactor);
+                                                               $maj_c_avatar_gif_image_height = (int) ($maj_c_avatar_gif_image_height * $maj_sizefactor);
                                                        }
                       
-                                                       echo "<img src=images/members/$c_author/avatar.gif border=0 width=";
-                                                       echo $c_avatar_gif_image_width;
+                                                       echo "<img src=images/members/$maj_c_author/avatar.gif border=0 width=";
+                                                       echo $maj_c_avatar_gif_image_width;
                                                        echo " height=";
-                                                       echo $c_avatar_gif_image_height;
+                                                       echo $maj_c_avatar_gif_image_height;
                                                }
-                                               if (file_exists("images/members/$c_author/avatar.jpg")) {
-                                                       $c_avatar_jpg_image_size = getimagesize("images/members/$c_author/avatar.jpg");
-                                                       $c_avatar_jpg_image_width = $c_avatar_jpg_image_size[0];
-                                                       $c_avatar_jpg_image_height = $c_avatar_jpg_image_size[1];
+                                               if (file_exists("images/members/$maj_c_author/avatar.jpg")) {
+                                                       $maj_c_avatar_jpg_image_size = getimagesize("images/members/$maj_c_author/avatar.jpg");
+                                                       $maj_c_avatar_jpg_image_width = $maj_c_avatar_jpg_image_size[0];
+                                                       $maj_c_avatar_jpg_image_height = $maj_c_avatar_jpg_image_size[1];
                                               
-                                                       $c_max_avatar_jpg_image_width = 80;
+                                                       $maj_c_max_avatar_jpg_image_width = 80;
                                               
-                                                       if ($c_avatar_jpg_image_width > $c_max_avatar_jpg_image_width) {  
-                                                               $sizefactor = (double) ($c_max_avatar_jpg_image_width / $c_avatar_jpg_image_width) ;
-                                                               $c_avatar_jpg_image_width = (int) ($c_avatar_jpg_image_width * $sizefactor);
-                                                               $c_avatar_jpg_image_height = (int) ($c_avatar_jpg_image_height * $sizefactor);
+                                                       if ($maj_c_avatar_jpg_image_width > $maj_c_max_avatar_jpg_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_c_max_avatar_jpg_image_width / $maj_c_avatar_jpg_image_width) ;
+                                                               $maj_c_avatar_jpg_image_width = (int) ($maj_c_avatar_jpg_image_width * $maj_sizefactor);
+                                                               $maj_c_avatar_jpg_image_height = (int) ($maj_c_avatar_jpg_image_height * $maj_sizefactor);
                                                        }
                       
-                                                       echo "<img src=images/members/$c_author/avatar.jpg border=0 width=";
-                                                       echo $c_avatar_jpg_image_width;
+                                                       echo "<img src=images/members/$maj_c_author/avatar.jpg border=0 width=";
+                                                       echo $maj_c_avatar_jpg_image_width;
                                                        echo " height=";
-                                                       echo $c_avatar_jpg_image_height;
+                                                       echo $maj_c_avatar_jpg_image_height;
                                                }
-                                               if (file_exists("images/members/$c_author/avatar.png")) {
-                                                       $c_avatar_png_image_size = getimagesize("images/members/$c_author/avatar.png");
-                                                       $c_avatar_png_image_width = $c_avatar_png_image_size[0];
-                                                       $c_avatar_png_image_height = $c_avatar_png_image_size[1];
+                                               if (file_exists("images/members/$maj_c_author/avatar.png")) {
+                                                       $maj_c_avatar_png_image_size = getimagesize("images/members/$maj_c_author/avatar.png");
+                                                       $maj_c_avatar_png_image_width = $maj_c_avatar_png_image_size[0];
+                                                       $maj_c_avatar_png_image_height = $maj_c_avatar_png_image_size[1];
                                               
-                                                       $c_max_avatar_png_image_width = 80;
+                                                       $maj_c_max_avatar_png_image_width = 80;
                                               
-                                                       if ($c_avatar_png_image_width > $c_max_avatar_png_image_width) {  
-                                                               $sizefactor = (double) ($c_max_avatar_png_image_width / $c_avatar_png_image_width) ;
-                                                               $c_avatar_png_image_width = (int) ($c_avatar_png_image_width * $sizefactor);
-                                                               $c_avatar_png_image_height = (int) ($c_avatar_png_image_height * $sizefactor);
+                                                       if ($maj_c_avatar_png_image_width > $maj_c_max_avatar_png_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_c_max_avatar_png_image_width / $maj_c_avatar_png_image_width) ;
+                                                               $maj_c_avatar_png_image_width = (int) ($maj_c_avatar_png_image_width * $maj_sizefactor);
+                                                               $maj_c_avatar_png_image_height = (int) ($maj_c_avatar_png_image_height * $maj_sizefactor);
                                                        }
                                               
-                                                       echo "<img src=images/members/$c_author/avatar.png border=0 width=";
-                                                       echo $c_avatar_png_image_width;
+                                                       echo "<img src=images/members/$maj_c_author/avatar.png border=0 width=";
+                                                       echo $maj_c_avatar_png_image_width;
                                                        echo " height=";
-                                                       echo $c_avatar_png_image_height;
+                                                       echo $maj_c_avatar_png_image_height;
                                                }
                                        echo "><br>";
                                        }
-                                       echo "$c_author</a><br>";
-                                       if ((file_get_contents("data/username.txt") == $c_author) and file_exists("data/rank.txt")) {
+                                       echo "$maj_c_author</a><br>";
+                                       if ((file_get_contents("data/username.txt") == $maj_c_author) and file_exists("data/rank.txt")) {
                                                echo "administrator<br>";
                                        }
-                                       elseif (file_exists("data/members/active/$c_author/rank.txt") and file_exists("data/rank.txt")) {
-                                               $c_rank = file_get_contents("data/members/active/$c_author/rank.txt");
-                                               echo "$c_rank<br>";
+                                       elseif (file_exists("data/members/active/$maj_c_author/rank.txt") and file_exists("data/rank.txt")) {
+                                               $maj_c_rank = file_get_contents("data/members/active/$maj_c_author/rank.txt");
+                                               echo "$maj_c_rank<br>";
                                        }
-                                       elseif (!file_exists("data/members/active/$c_author/rank.txt") and file_exists("data/rank.txt")) {
+                                       elseif (!file_exists("data/members/active/$maj_c_author/rank.txt") and file_exists("data/rank.txt")) {
                                                echo "member<br>";
                                        }
                       
-                                       if ($c_dh_posts = opendir("data/items")) {
-                                               while (($c_entry_posts = readdir($c_dh_posts)) !== false) {
+                                       if ($maj_c_dh_posts = opendir("data/items")) {
+                                               while (($maj_c_entry_posts = readdir($maj_c_dh_posts)) !== false) {
                       
-                                                       if (file_exists("data/items/$c_entry_posts/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+                                                       if (file_exists("data/items/$maj_c_entry_posts/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
                                                                continue;
                                                        }
                       
-                                                       if (file_exists("data/items/$c_entry_posts/member.txt") and (!isset($_SESSION['logged_in']))) {
+                                                       if (file_exists("data/items/$maj_c_entry_posts/member.txt") and (!isset($_SESSION['logged_in']))) {
                                                                continue;
                                                        }
 
-                                                       $private_categories = "0";
+                                                       $maj_private_categories = "0";
                               
-                                                       if (file_exists("data/items/$entry_c_entry_posts/categories")) {
+                                                       if (file_exists("data/items/$maj_entry_c_entry_posts/categories")) {
                                                       
-                                                               if ($dh_cat2_c_entry_posts = opendir("data/items/$entry_c_entry_posts/categories")) {
+                                                               if ($maj_dh_cat2_c_entry_posts = opendir("data/items/$maj_entry_c_entry_posts/categories")) {
                                                       
-                                                                       while (($entry_cat2_c_entry_posts = readdir($dh_cat2_c_entry_posts)) !== false) {
+                                                                       while (($maj_entry_cat2_c_entry_posts = readdir($maj_dh_cat2_c_entry_posts)) !== false) {
                                                       
-                                                                               if ($entry_cat2_c_entry_posts != "." && $entry_cat2_c_entry_posts != "..") {
+                                                                               if ($maj_entry_cat2_c_entry_posts != "." && $maj_entry_cat2_c_entry_posts != "..") {
                                                       
-                                                                                       if (file_exists("data/categories/$entry_cat2_c_entry_posts/private.txt")) {
-                                                                                               $private_categories = $private_categories + 1;
+                                                                                       if (file_exists("data/categories/$maj_entry_cat2_c_entry_posts/private.txt")) {
+                                                                                               $maj_private_categories = $maj_private_categories + 1;
                                                                                        }
                                                                                }
                                                                        }
-                                                                       closedir($dh_cat2_c_entry_posts);
+                                                                       closedir($maj_dh_cat2_c_entry_posts);
                                                                }
                                                        }
 
-                                                       if (($private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$c_entry_posts/cat.txt")) {
+                                                       if (($maj_private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and !file_exists("data/items/$maj_c_entry_posts/cat.txt")) {
                                                                continue;
                                                        }
                       
-                                                       if ($c_entry_posts != "." && $c_entry_posts != "..") {
-                                                               if (file_exists("data/members/active/$c_author") and file_exists("data/bb.txt")) {
-                                                                       if (file_exists("data/items/$c_entry_posts/author.txt") and (file_get_contents("data/items/$c_entry_posts/author.txt") == $c_author)) {
-                                                                               $c_items_posts[] = $c_entry_posts;
+                                                       if ($maj_c_entry_posts != "." && $maj_c_entry_posts != "..") {
+                                                               if (file_exists("data/members/active/$maj_c_author") and file_exists("data/bb.txt")) {
+                                                                       if (file_exists("data/items/$maj_c_entry_posts/author.txt") and (file_get_contents("data/items/$maj_c_entry_posts/author.txt") == $maj_c_author)) {
+                                                                               $maj_c_items_posts[] = $maj_c_entry_posts;
                                                                        }
                                                                }
-                                                               elseif (!file_exists("data/members/active/$c_author") and (file_get_contents("data/username.txt") == $c_author) and file_exists("data/bb.txt")) {
-                                                                       if (file_exists("data/items/$c_entry_posts/author.txt") and (file_get_contents("data/items/$c_entry_posts/author.txt") == $c_author)) {
-                                                                               $c_items_posts[] = $c_entry_posts;
+                                                               elseif (!file_exists("data/members/active/$maj_c_author") and (file_get_contents("data/username.txt") == $maj_c_author) and file_exists("data/bb.txt")) {
+                                                                       if (file_exists("data/items/$maj_c_entry_posts/author.txt") and (file_get_contents("data/items/$maj_c_entry_posts/author.txt") == $maj_c_author)) {
+                                                                               $maj_c_items_posts[] = $maj_c_entry_posts;
                                                                        }
                                                                }
                                                        }
                                                }
-                                       closedir($c_dh_posts);
+                                       closedir($maj_c_dh_posts);
                                        }
-                                       $c_posts = count($c_items_posts);
-                                       if ($c_posts == 1) {
-                                               echo "$c_posts post";
+                                       $maj_c_posts = count($maj_c_items_posts);
+                                       if ($maj_c_posts == 1) {
+                                               echo "$maj_c_posts post";
                                        }
-                                       if ($c_posts > 1) {
-                                               echo "$c_posts posts";
+                                       if ($maj_c_posts > 1) {
+                                               echo "$maj_c_posts posts";
                                        }
-                                       unset($c_items_posts);
+                                       unset($maj_c_items_posts);
                       
                                        echo "</td><td width=513 valign=top>";
                                }
@@ -4768,60 +4856,60 @@ foreach ($disp as $d) {
                                        echo "<td width=598 valign=top>";
                                }
 
-                               echo '<font style="font-size: 10px; color: #999999;">';
+                               echo "<font style=\"font-size: $maj_font_10px; color: #999999;\">";
 
-                               if ((file_exists("data/items/$d/comments/live/$comment/author.txt") and (file_exists("data/bb.txt") and !file_exists("data/avatar.txt")) or (file_exists("data/items/$d/comments/live/$comment/author.txt") and (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username) and !file_exists("data/avatar.txt"))))) {
-                                       $cxavatar_author = file_get_contents("data/items/$d/comments/live/$comment/author.txt");
-                                       echo "<a href=member.php?id=$cxavatar_author>$cxavatar_author</a> - ";
+                               if ((file_exists("data/items/$maj_d/comments/live/$maj_comment/author.txt") and (file_exists("data/bb.txt") and !file_exists("data/avatar.txt")) or (file_exists("data/items/$maj_d/comments/live/$maj_comment/author.txt") and (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username) and !file_exists("data/avatar.txt"))))) {
+                                       $maj_cxavatar_author = file_get_contents("data/items/$maj_d/comments/live/$maj_comment/author.txt");
+                                       echo "<a href=member.php?class=$maj_cxavatar_author>$maj_cxavatar_author</a> - ";
                                }
 
-                               entry2date($comment);
+                               entry2date($maj_comment);
 
-                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+                               if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
 
-                                       if (file_exists("data/items/$d/comments/live/$comment/revisions.txt")) {
+                                       if (file_exists("data/items/$maj_d/comments/live/$maj_comment/revisions.txt")) {
                                                echo '  (Revision ';
-                                               readfile("data/items/$d/comments/live/$comment/revisions.txt");
+                                               readfile("data/items/$maj_d/comments/live/$maj_comment/revisions.txt");
                                                echo ')';
                                        }
                                }
 
                                echo '</font><font style="font-size: 5px;"><br><br></font>';
 
-                               $entry_comment = file_get_contents("data/items/$d/comments/live/$comment/comment.txt");
+                               $maj_entry_comment = file_get_contents("data/items/$maj_d/comments/live/$maj_comment/comment.txt");
 
                                if (file_exists("data/pf.txt") and file_exists("data/pf-badwords.txt") and (!isset($_SESSION['logged_in']) or empty($_SESSION['logged_in']) or (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != file_get_contents("data/username.txt"))))) {
-                                       $badwords = file_get_contents("data/pf-badwords.txt");
+                                       $maj_badwords = file_get_contents("data/pf-badwords.txt");
                                        if (file_exists("data/pf-censor.txt")) {
-                                               $censor = file_get_contents("data/pf-censor.txt");
+                                               $maj_censor = file_get_contents("data/pf-censor.txt");
                                        }
                                        else {
-                                               $censor = "[expletive]";
+                                               $maj_censor = "[expletive]";
                                        }
-                                       $entry_comment = preg_replace("/\b($badwords)\b/i",$censor,$entry_comment);
+                                       $maj_entry_comment = preg_replace("/\b($maj_badwords)\b/i",$maj_censor,$maj_entry_comment);
                                }
-                               echo $entry_comment;
+                               echo $maj_entry_comment;
                                echo '</tr></table></div>';
 
                                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>';
                                }
                        }
-                       unset($show_comments);
+                       unset($maj_show_comments);
                        echo '</td></tr></table>';
 
                        if (isset($_SESSION['logged_in'])) {
 
-                               if (($_SESSION['logged_in'] == file_get_contents("data/username.txt")) and file_exists("data/comments/unread/$d")) {
-                                       rmdirr("data/comments/unread/$d");
+                               if (($_SESSION['logged_in'] == file_get_contents("data/username.txt")) and file_exists("data/comments/unread/$maj_d")) {
+                                       rmdirr("data/comments/unread/$maj_d");
 
                                        if (count(glob("data/comments/unread/*")) < 1) {
                                                rmdirr("data/comments/unread");
                                        }
                                }
                                else {
-                                       if (file_exists("data/members/active/{$_SESSION['logged_in']}/comments/unread/$d")) {
-                                               rmdirr("data/members/active/{$_SESSION['logged_in']}/comments/unread/$d");
+                                       if (file_exists("data/members/active/{$_SESSION['logged_in']}/comments/unread/$maj_d")) {
+                                               rmdirr("data/members/active/{$_SESSION['logged_in']}/comments/unread/$maj_d");
 
                                                if (count(glob("data/members/active/{$_SESSION['logged_in']}/comments/unread/*")) < 1) {
                                                        rmdirr("data/members/active/{$_SESSION['logged_in']}/comments/unread");
@@ -4833,27 +4921,27 @@ foreach ($disp as $d) {
 
                if (!file_exists("data/nocomment.txt") or (file_exists("data/memcomment.txt") and isset($_SESSION['logged_in']))) {
 
-                       echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$wmain\"><tr><td>";
+                       echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$maj_wmain\"><tr><td>";
 
                        if (!isset($_SESSION['logged_in']) or (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != file_get_contents("data/username.txt") and file_exists("data/members/active/{$_SESSION['logged_in']}")))) {
       
-                               if (isset($req_show) and !empty($req_show) and isset($_POST['captcha_put']) and !empty($_REQUEST['captcha_get']) and isset($_POST['firstname']) and !empty($_POST['firstname']) and isset($_POST['lastname']) and !empty($_POST['lastname']) and isset($_POST['email']) and !empty($_POST['email']) and isset($_POST['new_comment']) and !empty($_POST['new_comment']) and isset($_POST['captcha_put']) and !empty($_POST['captcha_put']) and ($_REQUEST['captcha_get'] == $_POST['captcha_put']) and (ereg("@",$_POST['email'])) and (ereg("\.",$_POST['email']))) {
-                                       echo "<font style=\"font-size: 12px;\"><b>Thanks!</b></font><p>Your comment has been submitted for approval. Please check back soon to see if it has been posted.</p>";
+                               if (isset($maj_req_show) and !empty($maj_req_show) and isset($_POST['captcha_put']) and !empty($_REQUEST['captcha_get']) and isset($_POST['firstname']) and !empty($_POST['firstname']) and isset($_POST['lastname']) and !empty($_POST['lastname']) and isset($_POST['email']) and !empty($_POST['email']) and isset($_POST['new_comment']) and !empty($_POST['new_comment']) and isset($_POST['captcha_put']) and !empty($_POST['captcha_put']) and ($_REQUEST['captcha_get'] == $_POST['captcha_put']) and (ereg("@",$_POST['email'])) and (ereg("\.",$_POST['email']))) {
+                                       echo "<font style=\"font-size: $maj_font_12px;\"><b>Thanks!</b></font><p>Your comment has been submitted for approval. Please check back soon to see if it has been posted.</p>";
                                }
                        }
 
-                       echo '<font style="font-size: 12px;"><b>Add Comment</b></font>';
+                       echo "<font style=\"font-size: $maj_font_12px;\"><b>Add Comment</b></font>";
 
-                       if (file_exists("data/items/$d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and (!isset($_REQUEST['passwd']) or ($crypt_passwd != $passwd))) {
-                               echo "<p>This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$d&show=comments>here</a> to enter it.</p>";
+                       if (file_exists("data/items/$maj_d/passwd.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and (!isset($_REQUEST['passwd']) or ($maj_crypt_passwd != $maj_passwd))) {
+                               echo "<p>This entry is password protected. If you know the magic word, click <a href=passwd.php?entry=$maj_d&show=comments>here</a> to enter it.</p>";
                        }
                        else {
-                               $captcha_rand = str_rand(7);
+                               $maj_captcha_rand = str_rand(7);
               
                                echo "<p>Fill out the form below";
 
                                if (!isset($_SESSION['logged_in']) or (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != file_get_contents("data/username.txt")))) {
-                                       echo " and enter <b>$captcha_rand</b> in the CAPTCHA field";
+                                       echo " and enter <b>$maj_captcha_rand</b> in the CAPTCHA field";
                                }
 
                                echo " to add your comment.";
@@ -4879,14 +4967,14 @@ foreach ($disp as $d) {
                                ?>
                       
                                <table border=0 cellspacing=2 cellpadding=0 width=500>
-                               <form enctype="multipart/form-data" action="index.php?entry=<?php echo $d; ?>&show=comments" method="post">
-                               <input type=hidden name=captcha_get value="<?php echo $captcha_rand; ?>">
+                               <form enctype="multipart/form-data" action="index.php?entry=<?php echo $maj_d; ?>&show=comments" method="post">
+                               <input type=hidden name=captcha_get value="<?php echo $maj_captcha_rand; ?>">
                                <tr>
 
                                <?php
                                if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == file_get_contents("data/username.txt"))) {
                                        ?>
-                                       <td width=75></td><td><input type=hidden name=cauthor value="<?php echo $_SESSION['logged_in']; ?>"><input type=hidden name=firstname value="<?php $logged_in_author = explode(" ",file_get_contents("data/author.txt")); echo trim(str_replace(",","",$logged_in_author[0])); ?>"></td>
+                                       <td width=75></td><td><input type=hidden name=cauthor value="<?php echo $_SESSION['logged_in']; ?>"><input type=hidden name=firstname value="<?php $maj_logged_in_author = explode(" ",file_get_contents("data/author.txt")); echo trim(str_replace(",","",$maj_logged_in_author[0])); ?>"></td>
                                        <?php
                                }
                                elseif (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != file_get_contents("data/username.txt")) and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/bb.txt")) {
@@ -4918,7 +5006,7 @@ foreach ($disp as $d) {
                                <?php
                                if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == file_get_contents("data/username.txt"))) {
                                        ?>
-                                       <td width=75></td><td><input type=hidden name=lastname value="<?php echo trim(str_replace(",","",$logged_in_author[1])); ?>"></td>
+                                       <td width=75></td><td><input type=hidden name=lastname value="<?php echo trim(str_replace(",","",$maj_logged_in_author[1])); ?>"></td>
                                        <?php
                                }
                                elseif (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] != file_get_contents("data/username.txt")) and file_exists("data/members/active/{$_SESSION['logged_in']}") and file_exists("data/bb.txt")) {
@@ -4974,7 +5062,7 @@ foreach ($disp as $d) {
                                <?php
 
                                if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == file_get_contents("data/username.txt"))) {
-                                       echo "<input type=hidden name=captcha_put value=\"$captcha_rand\">";
+                                       echo "<input type=hidden name=captcha_put value=\"$maj_captcha_rand\">";
                                }
                                else {
                                        echo "<tr><td><nobr>CAPTCHA*</nobr></td><td><input class=input type=text autocomplete=off name=captcha_put maxlength=7></td></tr>";
@@ -4992,276 +5080,276 @@ foreach ($disp as $d) {
                }
        }
 
-       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username) and isset($req_entry) and !empty($req_entry)) {
+       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username) and isset($maj_req_entry) and !empty($maj_req_entry)) {
       
-               if ($dh_pending_comments = opendir("data/items/$d/comments/pending")) {
+               if ($maj_dh_pending_comments = opendir("data/items/$maj_d/comments/pending")) {
       
-                       while (($entry_pending_comments = readdir($dh_pending_comments)) !== false) {
+                       while (($maj_entry_pending_comments = readdir($maj_dh_pending_comments)) !== false) {
       
-                               if ($entry_pending_comments != "." && $entry_pending_comments != "..") {
-                                       $show_pending_comments[] = $entry_pending_comments;
+                               if ($maj_entry_pending_comments != "." && $maj_entry_pending_comments != "..") {
+                                       $maj_show_pending_comments[] = $maj_entry_pending_comments;
                                }
                        }
-                       closedir($dh_pending_comments);
+                       closedir($maj_dh_pending_comments);
                }
       
-               asort($show_pending_comments);
-               reset($show_pending_comments);
+               asort($maj_show_pending_comments);
+               reset($maj_show_pending_comments);
       
-               $count_pending_comments = count($show_pending_comments);
+               $maj_count_pending_comments = count($maj_show_pending_comments);
 
-               if ($count_pending_comments > 0) {
+               if ($maj_count_pending_comments > 0) {
       
-                       if ($count_pending_comments == 1) {
+                       if ($maj_count_pending_comments == 1) {
                                echo '<p><b>Pending Comment</b></p>';
                        }
                        else {
                                echo '<p><b>Pending Comments</b></p>';
                        }
 
-                       foreach ($show_pending_comments as $pending_comment) {
+                       foreach ($maj_show_pending_comments as $maj_pending_comment) {
       
-                               echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$wmain\"><tr><td>";
+                               echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"$maj_wmain\"><tr><td>";
       
                                if (file_exists("data/round.txt")) {
                                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                                }
                                else {
-                                       echo '<div id="panel_title">';
+                                       echo '<div class="panel_title">';
                                }
       
-                               if (file_exists("data/items/$d/comments/pending/$pending_comment/url.txt")) {
+                               if (file_exists("data/items/$maj_d/comments/pending/$maj_pending_comment/url.txt")) {
                                        echo '<a target=_maj href=';
-                                       readfile("data/items/$d/comments/pending/$pending_comment/url.txt");
+                                       readfile("data/items/$maj_d/comments/pending/$maj_pending_comment/url.txt");
                                        echo '>';
                                }
               
-                               readfile("data/items/$d/comments/pending/$pending_comment/firstname.txt");
+                               readfile("data/items/$maj_d/comments/pending/$maj_pending_comment/firstname.txt");
                                echo ' ';
-                               readfile("data/items/$d/comments/pending/$pending_comment/lastname.txt");
+                               readfile("data/items/$maj_d/comments/pending/$maj_pending_comment/lastname.txt");
               
-                               if (file_exists("data/items/$d/comments/pending/$pending_comment/url.txt")) {
+                               if (file_exists("data/items/$maj_d/comments/pending/$maj_pending_comment/url.txt")) {
                                        echo '</a>';
                                }
               
                                echo ' &lt;';
-                               readfile("data/items/$d/comments/pending/$pending_comment/email.txt");
+                               readfile("data/items/$maj_d/comments/pending/$maj_pending_comment/email.txt");
                                echo '&gt;';
       
-                               echo '<a href=del.php?entry=' . $d . '&comment=' . $pending_comment . '&type=pending><img src=images/widget.del.png width=11 height=11 border=0 align=right alt="delete comment"></a>';
+                               echo '<a href=del.php?entry=' . $maj_d . '&comment=' . $maj_pending_comment . '&type=pending><img src=images/widget.del.png width=11 height=11 border=0 align=right alt="delete comment"></a>';
       
-                               $pending_comment_key_file = "data/items/$d/comments/pending/$pending_comment/key.txt";
-                               $open_pending_comment_key_file = fopen($pending_comment_key_file,"r");
-                               $pending_comment_login_key = fread($open_pending_comment_key_file,filesize($pending_comment_key_file));
-                               fclose($open_pending_comment_key_file);
+                               $maj_pending_comment_key_file = "data/items/$maj_d/comments/pending/$maj_pending_comment/key.txt";
+                               $maj_open_pending_comment_key_file = fopen($maj_pending_comment_key_file,"r");
+                               $maj_pending_comment_login_key = fread($maj_open_pending_comment_key_file,filesize($maj_pending_comment_key_file));
+                               fclose($maj_open_pending_comment_key_file);
       
-                               echo "<a href=\"index.php?entry=$d&comment=$pending_comment&key=$pending_comment_login_key&action=approve\"><img src=\"images/widget.cat.png\" width=\"11\" height=\"11\" border=\"0\" align=\"right\" alt=\"post comment\"></a>";
+                               echo "<a href=\"index.php?entry=$maj_d&comment=$maj_pending_comment&key=$maj_pending_comment_login_key&action=approve\"><img src=\"images/widget.cat.png\" width=\"11\" height=\"11\" border=\"0\" align=\"right\" alt=\"post comment\"></a>";
       
-                               echo "<a href=\"move.php?entry=$d&comment=$pending_comment&type=pending\"><img src=\"images/widget.move.png\" width=\"11\" height=\"11\" border=\"0\" align=\"right\" alt=\"move comment\"></a>";
+                               echo "<a href=\"move.php?entry=$maj_d&comment=$maj_pending_comment&type=pending\"><img src=\"images/widget.move.png\" width=\"11\" height=\"11\" border=\"0\" align=\"right\" alt=\"move comment\"></a>";
       
-                               echo '<a href=edit.php?entry=' . $d . '&comment=' . $pending_comment . '&type=pending><img src=images/widget.edit.png width=11 height=11 border=0 align=right alt="edit comment"></a>';
+                               echo '<a href=edit.php?entry=' . $maj_d . '&comment=' . $maj_pending_comment . '&type=pending><img src=images/widget.edit.png width=11 height=11 border=0 align=right alt="edit comment"></a>';
       
-                               echo '</div><div id=panel_body><table border=0 cellspacing=0 cellpadding=0><tr>';
+                               echo '</div><div class=panel_body><table border=0 cellspacing=0 cellpadding=0><tr>';
       
-                               if (file_exists("data/bb.txt") and file_exists("data/avatar.txt") and file_exists("data/items/$d/comments/pending/$pending_comment/author.txt")) {
+                               if (file_exists("data/bb.txt") and file_exists("data/avatar.txt") and file_exists("data/items/$maj_d/comments/pending/$maj_pending_comment/author.txt")) {
       
                                        echo "<td width=85 valign=top>";
       
-                                       $pc_author = file_get_contents("data/items/$d/comments/pending/$pending_comment/author.txt");
+                                       $maj_pc_author = file_get_contents("data/items/$maj_d/comments/pending/$maj_pending_comment/author.txt");
       
-                                       echo "<a href=member.php?id=$pc_author>";
+                                       echo "<a href=member.php?class=$maj_pc_author>";
       
-                                       if ((file_get_contents("data/username.txt") == $pc_author) and (file_exists("images/avatar.jpg") or file_exists("images/avatar.gif") or file_exists("images/avatar.png"))) {
+                                       if ((file_get_contents("data/username.txt") == $maj_pc_author) and (file_exists("images/avatar.jpg") or file_exists("images/avatar.gif") or file_exists("images/avatar.png"))) {
       
                                                if (file_exists("images/avatar.gif")) {
-                                                       $pc_avatar_gif_image_size = getimagesize("images/avatar.gif");
-                                                       $pc_avatar_gif_image_width = $pc_avatar_gif_image_size[0];
-                                                       $pc_avatar_gif_image_height = $pc_avatar_gif_image_size[1];
+                                                       $maj_pc_avatar_gif_image_size = getimagesize("images/avatar.gif");
+                                                       $maj_pc_avatar_gif_image_width = $maj_pc_avatar_gif_image_size[0];
+                                                       $maj_pc_avatar_gif_image_height = $maj_pc_avatar_gif_image_size[1];
                       
-                                                       $pc_max_avatar_gif_image_width = 80;
+                                                       $maj_pc_max_avatar_gif_image_width = 80;
                                               
-                                                       if ($pc_avatar_gif_image_width > $pc_max_avatar_gif_image_width) {  
-                                                               $sizefactor = (double) ($pc_max_avatar_gif_image_width / $pc_avatar_gif_image_width) ;
-                                                               $pc_avatar_gif_image_width = (int) ($pc_avatar_gif_image_width * $sizefactor);
-                                                               $pc_avatar_gif_image_height = (int) ($pc_avatar_gif_image_height * $sizefactor);
+                                                       if ($maj_pc_avatar_gif_image_width > $maj_pc_max_avatar_gif_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_pc_max_avatar_gif_image_width / $maj_pc_avatar_gif_image_width) ;
+                                                               $maj_pc_avatar_gif_image_width = (int) ($maj_pc_avatar_gif_image_width * $maj_sizefactor);
+                                                               $maj_pc_avatar_gif_image_height = (int) ($maj_pc_avatar_gif_image_height * $maj_sizefactor);
                                                        }
                       
                                                        echo "<img src=images/avatar.gif border=0 width=";
-                                                       echo $pc_avatar_gif_image_width;
+                                                       echo $maj_pc_avatar_gif_image_width;
                                                        echo " height=";
-                                                       echo $pc_avatar_gif_image_height;
+                                                       echo $maj_pc_avatar_gif_image_height;
                                                }
       
                                                if (file_exists("images/avatar.jpg")) {
-                                                       $pc_avatar_jpg_image_size = getimagesize("images/avatar.jpg");
-                                                       $pc_avatar_jpg_image_width = $pc_avatar_jpg_image_size[0];
-                                                       $pc_avatar_jpg_image_height = $pc_avatar_jpg_image_size[1];
+                                                       $maj_pc_avatar_jpg_image_size = getimagesize("images/avatar.jpg");
+                                                       $maj_pc_avatar_jpg_image_width = $maj_pc_avatar_jpg_image_size[0];
+                                                       $maj_pc_avatar_jpg_image_height = $maj_pc_avatar_jpg_image_size[1];
                                               
-                                                       $pc_max_avatar_jpg_image_width = 80;
+                                                       $maj_pc_max_avatar_jpg_image_width = 80;
                                               
-                                                       if ($pc_avatar_jpg_image_width > $pc_max_avatar_jpg_image_width) {  
-                                                               $sizefactor = (double) ($pc_max_avatar_jpg_image_width / $pc_avatar_jpg_image_width) ;
-                                                               $pc_avatar_jpg_image_width = (int) ($pc_avatar_jpg_image_width * $sizefactor);
-                                                               $pc_avatar_jpg_image_height = (int) ($pc_avatar_jpg_image_height * $sizefactor);
+                                                       if ($maj_pc_avatar_jpg_image_width > $maj_pc_max_avatar_jpg_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_pc_max_avatar_jpg_image_width / $maj_pc_avatar_jpg_image_width) ;
+                                                               $maj_pc_avatar_jpg_image_width = (int) ($maj_pc_avatar_jpg_image_width * $maj_sizefactor);
+                                                               $maj_pc_avatar_jpg_image_height = (int) ($maj_pc_avatar_jpg_image_height * $maj_sizefactor);
                                                        }
                       
                                                        echo "<img src=images/avatar.jpg border=0 width=";
-                                                       echo $pc_avatar_jpg_image_width;
+                                                       echo $maj_pc_avatar_jpg_image_width;
                                                        echo " height=";
-                                                       echo $pc_avatar_jpg_image_height;
+                                                       echo $maj_pc_avatar_jpg_image_height;
                                                }
       
                                                if (file_exists("images/avatar.png")) {
-                                                       $pc_avatar_png_image_size = getimagesize("images/avatar.png");
-                                                       $pc_avatar_png_image_width = $pc_avatar_png_image_size[0];
-                                                       $pc_avatar_png_image_height = $pc_avatar_png_image_size[1];
+                                                       $maj_pc_avatar_png_image_size = getimagesize("images/avatar.png");
+                                                       $maj_pc_avatar_png_image_width = $maj_pc_avatar_png_image_size[0];
+                                                       $maj_pc_avatar_png_image_height = $maj_pc_avatar_png_image_size[1];
                                       
-                                                       $pc_max_avatar_png_image_width = 80;
+                                                       $maj_pc_max_avatar_png_image_width = 80;
                                               
-                                                       if ($pc_avatar_png_image_width > $pc_max_avatar_png_image_width) {  
-                                                               $sizefactor = (double) ($pc_max_avatar_png_image_width / $pc_avatar_png_image_width) ;
-                                                               $pc_avatar_png_image_width = (int) ($pc_avatar_png_image_width * $sizefactor);
-                                                               $pc_avatar_png_image_height = (int) ($pc_avatar_png_image_height * $sizefactor);
+                                                       if ($maj_pc_avatar_png_image_width > $maj_pc_max_avatar_png_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_pc_max_avatar_png_image_width / $maj_pc_avatar_png_image_width) ;
+                                                               $maj_pc_avatar_png_image_width = (int) ($maj_pc_avatar_png_image_width * $maj_sizefactor);
+                                                               $maj_pc_avatar_png_image_height = (int) ($maj_pc_avatar_png_image_height * $maj_sizefactor);
                                                        }
                                               
                                                        echo "<img src=images/avatar.png border=0 width=";
-                                                       echo $pc_avatar_png_image_width;
+                                                       echo $maj_pc_avatar_png_image_width;
                                                        echo " height=";
-                                                       echo $pc_avatar_png_image_height;
+                                                       echo $maj_pc_avatar_png_image_height;
                                                }
                                                echo "><br>";
                                        }
-                                       elseif (file_exists("images/members/$pc_author/avatar.jpg") or file_exists("images/members/$pc_author/avatar.gif") or file_exists("images/members/$pc_author/avatar.png")) {
+                                       elseif (file_exists("images/members/$maj_pc_author/avatar.jpg") or file_exists("images/members/$maj_pc_author/avatar.gif") or file_exists("images/members/$maj_pc_author/avatar.png")) {
       
-                                               if (file_exists("images/members/$pc_author/avatar.gif")) {
-                                                       $pc_avatar_gif_image_size = getimagesize("images/members/$pc_author/avatar.gif");
-                                                       $pc_avatar_gif_image_width = $pc_avatar_gif_image_size[0];
-                                                       $pc_avatar_gif_image_height = $pc_avatar_gif_image_size[1];
+                                               if (file_exists("images/members/$maj_pc_author/avatar.gif")) {
+                                                       $maj_pc_avatar_gif_image_size = getimagesize("images/members/$maj_pc_author/avatar.gif");
+                                                       $maj_pc_avatar_gif_image_width = $maj_pc_avatar_gif_image_size[0];
+                                                       $maj_pc_avatar_gif_image_height = $maj_pc_avatar_gif_image_size[1];
                       
-                                                       $pc_max_avatar_gif_image_width = 80;
+                                                       $maj_pc_max_avatar_gif_image_width = 80;
                                               
-                                                       if ($pc_avatar_gif_image_width > $pc_max_avatar_gif_image_width) {  
-                                                               $sizefactor = (double) ($pc_max_avatar_gif_image_width / $pc_avatar_gif_image_width) ;
-                                                               $pc_avatar_gif_image_width = (int) ($pc_avatar_gif_image_width * $sizefactor);
-                                                               $pc_avatar_gif_image_height = (int) ($pc_avatar_gif_image_height * $sizefactor);
+                                                       if ($maj_pc_avatar_gif_image_width > $maj_pc_max_avatar_gif_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_pc_max_avatar_gif_image_width / $maj_pc_avatar_gif_image_width) ;
+                                                               $maj_pc_avatar_gif_image_width = (int) ($maj_pc_avatar_gif_image_width * $maj_sizefactor);
+                                                               $maj_pc_avatar_gif_image_height = (int) ($maj_pc_avatar_gif_image_height * $maj_sizefactor);
                                                        }
                       
-                                                       echo "<img src=images/members/$pc_author/avatar.gif border=0 width=";
-                                                       echo $pc_avatar_gif_image_width;
+                                                       echo "<img src=images/members/$maj_pc_author/avatar.gif border=0 width=";
+                                                       echo $maj_pc_avatar_gif_image_width;
                                                        echo " height=";
-                                                       echo $pc_avatar_gif_image_height;
+                                                       echo $maj_pc_avatar_gif_image_height;
                                                }
               
-                                               if (file_exists("images/members/$pc_author/avatar.jpg")) {
-                                                       $pc_avatar_jpg_image_size = getimagesize("images/members/$pc_author/avatar.jpg");
-                                                       $pc_avatar_jpg_image_width = $pc_avatar_jpg_image_size[0];
-                                                       $pc_avatar_jpg_image_height = $pc_avatar_jpg_image_size[1];
+                                               if (file_exists("images/members/$maj_pc_author/avatar.jpg")) {
+                                                       $maj_pc_avatar_jpg_image_size = getimagesize("images/members/$maj_pc_author/avatar.jpg");
+                                                       $maj_pc_avatar_jpg_image_width = $maj_pc_avatar_jpg_image_size[0];
+                                                       $maj_pc_avatar_jpg_image_height = $maj_pc_avatar_jpg_image_size[1];
                                               
-                                                       $pc_max_avatar_jpg_image_width = 80;
+                                                       $maj_pc_max_avatar_jpg_image_width = 80;
                                               
-                                                       if ($pc_avatar_jpg_image_width > $pc_max_avatar_jpg_image_width) {  
-                                                               $sizefactor = (double) ($pc_max_avatar_jpg_image_width / $pc_avatar_jpg_image_width) ;
-                                                               $pc_avatar_jpg_image_width = (int) ($pc_avatar_jpg_image_width * $sizefactor);
-                                                               $pc_avatar_jpg_image_height = (int) ($pc_avatar_jpg_image_height * $sizefactor);
+                                                       if ($maj_pc_avatar_jpg_image_width > $maj_pc_max_avatar_jpg_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_pc_max_avatar_jpg_image_width / $maj_pc_avatar_jpg_image_width) ;
+                                                               $maj_pc_avatar_jpg_image_width = (int) ($maj_pc_avatar_jpg_image_width * $maj_sizefactor);
+                                                               $maj_pc_avatar_jpg_image_height = (int) ($maj_pc_avatar_jpg_image_height * $maj_sizefactor);
                                                        }
                       
-                                                       echo "<img src=images/members/$pc_author/avatar.jpg border=0 width=";
-                                                       echo $pc_avatar_jpg_image_width;
+                                                       echo "<img src=images/members/$maj_pc_author/avatar.jpg border=0 width=";
+                                                       echo $maj_pc_avatar_jpg_image_width;
                                                        echo " height=";
-                                                       echo $pc_avatar_jpg_image_height;
+                                                       echo $maj_pc_avatar_jpg_image_height;
                                                }
               
-                                               if (file_exists("images/members/$pc_author/avatar.png")) {
-                                                       $pc_avatar_png_image_size = getimagesize("images/members/$pc_author/avatar.png");
-                                                       $pc_avatar_png_image_width = $pc_avatar_png_image_size[0];
-                                                       $pc_avatar_png_image_height = $pc_avatar_png_image_size[1];
+                                               if (file_exists("images/members/$maj_pc_author/avatar.png")) {
+                                                       $maj_pc_avatar_png_image_size = getimagesize("images/members/$maj_pc_author/avatar.png");
+                                                       $maj_pc_avatar_png_image_width = $maj_pc_avatar_png_image_size[0];
+                                                       $maj_pc_avatar_png_image_height = $maj_pc_avatar_png_image_size[1];
                                               
-                                                       $pc_max_avatar_png_image_width = 80;
+                                                       $maj_pc_max_avatar_png_image_width = 80;
                                               
-                                                       if ($pc_avatar_png_image_width > $pc_max_avatar_png_image_width) {  
-                                                               $sizefactor = (double) ($pc_max_avatar_png_image_width / $pc_avatar_png_image_width) ;
-                                                               $pc_avatar_png_image_width = (int) ($pc_avatar_png_image_width * $sizefactor);
-                                                               $pc_avatar_png_image_height = (int) ($pc_avatar_png_image_height * $sizefactor);
+                                                       if ($maj_pc_avatar_png_image_width > $maj_pc_max_avatar_png_image_width) {  
+                                                               $maj_sizefactor = (double) ($maj_pc_max_avatar_png_image_width / $maj_pc_avatar_png_image_width) ;
+                                                               $maj_pc_avatar_png_image_width = (int) ($maj_pc_avatar_png_image_width * $maj_sizefactor);
+                                                               $maj_pc_avatar_png_image_height = (int) ($maj_pc_avatar_png_image_height * $maj_sizefactor);
                                                        }
                                               
-                                                       echo "<img src=images/members/$pc_author/avatar.png border=0 width=";
-                                                       echo $pc_avatar_png_image_width;
+                                                       echo "<img src=images/members/$maj_pc_author/avatar.png border=0 width=";
+                                                       echo $maj_pc_avatar_png_image_width;
                                                        echo " height=";
-                                                       echo $pc_avatar_png_image_height;
+                                                       echo $maj_pc_avatar_png_image_height;
                                                }
                                                echo "><br>";
                                        }
-                                       echo "$pc_author</a><br>";
+                                       echo "$maj_pc_author</a><br>";
 
-                                       if ((file_get_contents("data/username.txt") == $pc_author) and file_exists("data/rank.txt")) {
+                                       if ((file_get_contents("data/username.txt") == $maj_pc_author) and file_exists("data/rank.txt")) {
                                                echo "administrator<br>";
                                        }
-                                       elseif (file_exists("data/members/active/$pc_author/rank.txt") and file_exists("data/rank.txt")) {
-                                               $pc_rank = file_get_contents("data/members/active/$pc_author/rank.txt");
-                                               echo "$pc_rank<br>";
+                                       elseif (file_exists("data/members/active/$maj_pc_author/rank.txt") and file_exists("data/rank.txt")) {
+                                               $maj_pc_rank = file_get_contents("data/members/active/$maj_pc_author/rank.txt");
+                                               echo "$maj_pc_rank<br>";
                                        }
-                                       elseif (!file_exists("data/members/active/$pc_author/rank.txt") and file_exists("data/rank.txt")) {
+                                       elseif (!file_exists("data/members/active/$maj_pc_author/rank.txt") and file_exists("data/rank.txt")) {
                                                echo "member<br>";
                                        }
               
-                                       if ($pc_dh_posts = opendir("data/items")) {
+                                       if ($maj_pc_dh_posts = opendir("data/items")) {
       
-                                               while (($pc_entry_posts = readdir($pc_dh_posts)) !== false) {
+                                               while (($maj_pc_entry_posts = readdir($maj_pc_dh_posts)) !== false) {
                       
-                                                       if (file_exists("data/items/$pc_entry_posts/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+                                                       if (file_exists("data/items/$maj_pc_entry_posts/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
                                                                continue;
                                                        }
                       
-                                                       if (file_exists("data/items/$pc_entry_posts/member.txt") and (!isset($_SESSION['logged_in']))) {
+                                                       if (file_exists("data/items/$maj_pc_entry_posts/member.txt") and (!isset($_SESSION['logged_in']))) {
                                                                continue;
                                                        }
       
-                                                       $private_categories = "0";
+                                                       $maj_private_categories = "0";
       
-                                                       if (file_exists("data/items/$entry_pc_entry_posts/categories")) {
+                                                       if (file_exists("data/items/$maj_entry_pc_entry_posts/categories")) {
                               
-                                                               if ($dh_cat2_pc_entry_posts = opendir("data/items/$entry_pc_entry_posts/categories")) {
+                                                               if ($maj_dh_cat2_pc_entry_posts = opendir("data/items/$maj_entry_pc_entry_posts/categories")) {
                               
-                                                                       while (($entry_cat2_pc_entry_posts = readdir($dh_cat2_pc_entry_posts)) !== false) {
+                                                                       while (($maj_entry_cat2_pc_entry_posts = readdir($maj_dh_cat2_pc_entry_posts)) !== false) {
                               
-                                                                               if ($entry_cat2_pc_entry_posts != "." && $entry_cat2_pc_entry_posts != "..") {
+                                                                               if ($maj_entry_cat2_pc_entry_posts != "." && $maj_entry_cat2_pc_entry_posts != "..") {
                               
-                                                                                       if (file_exists("data/categories/$entry_cat2_pc_entry_posts/private.txt")) {
-                                                                                               $private_categories = $private_categories + 1;
+                                                                                       if (file_exists("data/categories/$maj_entry_cat2_pc_entry_posts/private.txt")) {
+                                                                                               $maj_private_categories = $maj_private_categories + 1;
                                                                                        }
                                                                                }
                                                                        }
-                                                                       closedir($dh_cat2_pc_entry_posts);
+                                                                       closedir($maj_dh_cat2_pc_entry_posts);
                                                                }
                                                        }
       
-                                                       if (($private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$pc_entry_posts/cat.txt")) {
+                                                       if (($maj_private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and !file_exists("data/items/$maj_pc_entry_posts/cat.txt")) {
                                                                continue;
                                                        }
                       
-                                                       if ($pc_entry_posts != "." && $pc_entry_posts != "..") {
-                                                               if (file_exists("data/members/active/$pc_author") and file_exists("data/bb.txt")) {
-                                                                       if (file_exists("data/items/$pc_entry_posts/author.txt") and (file_get_contents("data/items/$pc_entry_posts/author.txt") == $pc_author)) {
-                                                                               $pc_items_posts[] = $pc_entry_posts;
+                                                       if ($maj_pc_entry_posts != "." && $maj_pc_entry_posts != "..") {
+                                                               if (file_exists("data/members/active/$maj_pc_author") and file_exists("data/bb.txt")) {
+                                                                       if (file_exists("data/items/$maj_pc_entry_posts/author.txt") and (file_get_contents("data/items/$maj_pc_entry_posts/author.txt") == $maj_pc_author)) {
+                                                                               $maj_pc_items_posts[] = $maj_pc_entry_posts;
                                                                        }
                                                                }
-                                                               elseif (!file_exists("data/members/active/$pc_author") and (file_get_contents("data/username.txt") == $pc_author) and file_exists("data/bb.txt")) {
-                                                                       if (file_exists("data/items/$pc_entry_posts/author.txt") and (file_get_contents("data/items/$pc_entry_posts/author.txt") == $pc_author)) {
-                                                                               $pc_items_posts[] = $pc_entry_posts;
+                                                               elseif (!file_exists("data/members/active/$maj_pc_author") and (file_get_contents("data/username.txt") == $maj_pc_author) and file_exists("data/bb.txt")) {
+                                                                       if (file_exists("data/items/$maj_pc_entry_posts/author.txt") and (file_get_contents("data/items/$maj_pc_entry_posts/author.txt") == $maj_pc_author)) {
+                                                                               $maj_pc_items_posts[] = $maj_pc_entry_posts;
                                                                        }
                                                                }
                                                        }
                                                }
-                                               closedir($pc_dh_posts);
+                                               closedir($maj_pc_dh_posts);
                                        }
-                                       $pc_posts = count($pc_items_posts);
-                                       if ($pc_posts == 1) {
-                                               echo "$pc_posts post";
+                                       $maj_pc_posts = count($maj_pc_items_posts);
+                                       if ($maj_pc_posts == 1) {
+                                               echo "$maj_pc_posts post";
                                        }
-                                       if ($pc_posts > 1) {
-                                               echo "$pc_posts posts";
+                                       if ($maj_pc_posts > 1) {
+                                               echo "$maj_pc_posts posts";
                                        }
-                                       unset($pc_items_posts);
+                                       unset($maj_pc_items_posts);
                       
                                        echo "</td><td width=513 valign=top>";
                                }
@@ -5269,29 +5357,29 @@ foreach ($disp as $d) {
                                        echo "<td width=598 valign=top>";
                                }
       
-                               echo '<font style="font-size: 10px; color: #999999;">';
+                               echo "<font style=\"font-size: $maj_font_10px; color: #999999;\">";
       
-                               if ((file_exists("data/items/$d/comments/pending/$pending_comment/author.txt") and (file_exists("data/bb.txt") and !file_exists("data/avatar.txt")) or (file_exists("data/items/$d/comments/pending/$pending_comment/author.txt") and (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username) and !file_exists("data/avatar.txt"))))) {
-                                       $pxavatar_author = file_get_contents("data/items/$d/comments/pending/$pending_comment/author.txt");
-                                       echo "<a href=member.php?id=$pxavatar_author>$pxavatar_author</a> - ";
+                               if ((file_exists("data/items/$maj_d/comments/pending/$maj_pending_comment/author.txt") and (file_exists("data/bb.txt") and !file_exists("data/avatar.txt")) or (file_exists("data/items/$maj_d/comments/pending/$maj_pending_comment/author.txt") and (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username) and !file_exists("data/avatar.txt"))))) {
+                                       $maj_pxavatar_author = file_get_contents("data/items/$maj_d/comments/pending/$maj_pending_comment/author.txt");
+                                       echo "<a href=member.php?class=$maj_pxavatar_author>$maj_pxavatar_author</a> - ";
                                }
-                               readfile("data/items/$d/comments/pending/$pending_comment/timestamp.txt");
+                               readfile("data/items/$maj_d/comments/pending/$maj_pending_comment/timestamp.txt");
       
-                               if (file_exists("data/items/$d/comments/pending/$pending_comment/revisions.txt")) {
+                               if (file_exists("data/items/$maj_d/comments/pending/$maj_pending_comment/revisions.txt")) {
                                        echo '  (Revision ';
-                                       readfile("data/items/$d/comments/pending/$pending_comment/revisions.txt");
+                                       readfile("data/items/$maj_d/comments/pending/$maj_pending_comment/revisions.txt");
                                        echo ')';
                                }
       
                                echo '</font><font style="font-size: 5px;"><br><br></font>';
-                               readfile("data/items/$d/comments/pending/$pending_comment/comment.txt");
+                               readfile("data/items/$maj_d/comments/pending/$maj_pending_comment/comment.txt");
                                echo '</tr></table></div>';
       
                                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>';
                                }
       
-                               unset($show_pending_comments);
+                               unset($maj_show_pending_comments);
                                echo '</td></tr></table>';
                        }
                }
@@ -5304,145 +5392,145 @@ foreach ($disp as $d) {
 
 <?php
 
-if (($start >= $increase) and ($start != 0)) {
+if (($maj_start >= $maj_increase) and ($maj_start != 0)) {
 
        echo "<td align=left><a href=\"index.php?";
 
-       if (isset($req_category) and !empty($req_category) and file_exists("data/categories/$req_category")) {
-               echo "category=$req_category";
+       if (isset($maj_req_category) and !empty($maj_req_category) and file_exists("data/categories/$maj_req_category")) {
+               echo "category=$maj_req_category";
        }
 
-       if (isset($req_archive) and !empty($req_archive)) {
-               echo "archive=$req_archive";
+       if (isset($maj_req_archive) and !empty($maj_req_archive)) {
+               echo "archive=$maj_req_archive";
        }
 
-       if (isset($req_author) and !empty($req_author) and file_exists("data/members/active/$req_author") and file_exists("data/bb.txt")) {
-               echo "author=$req_author";
+       if (isset($maj_req_author) and !empty($maj_req_author) and file_exists("data/members/active/$maj_req_author") and file_exists("data/bb.txt")) {
+               echo "author=$maj_req_author";
        }
 
-       if (isset($req_author) and !empty($req_author) and !file_exists("data/members/active/$req_author") and (file_get_contents("data/username.txt") == $req_author) and file_exists("data/bb.txt")) {
-               echo "author=$req_author";
+       if (isset($maj_req_author) and !empty($maj_req_author) and !file_exists("data/members/active/$maj_req_author") and (file_get_contents("data/username.txt") == $maj_req_author) and file_exists("data/bb.txt")) {
+               echo "author=$maj_req_author";
        }
 
-       if (isset($req_find) and !empty($req_find) and ($req_find == "private")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "private")) {
                echo "find=private";
        }
 
-       if (isset($req_find) and !empty($req_find) and ($req_find == "member")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "member")) {
                echo "find=member";
        }
 
-       if (isset($req_find) and !empty($req_find) and ($req_find == "unfiled")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "unfiled")) {
                echo "find=unfiled";
        }
 
-       if (isset($req_find) and !empty($req_find) and ($req_find == "passwd")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "passwd")) {
                echo "find=passwd";
        }
 
-       if (isset($req_find) and !empty($req_find) and ($req_find == "comments")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "comments")) {
                echo "find=comments";
        }
 
-       if (isset($req_find) and !empty($req_find) and ($req_find == "album")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "album")) {
                echo "find=album";
        }
 
-       if (isset($req_find) and !empty($req_find) and ($req_find == "filedrop")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "filedrop")) {
                echo "find=filedrop";
        }
 
-       echo "&start=" . ($start-$increase) . "\">previous</a></td>";
+       echo "&start=" . ($maj_start-$maj_increase) . "\">previous</a></td>";
 }
 
-if ($end < sizeof($items)) {
+if ($maj_end < sizeof($maj_items)) {
 
        echo "<td align=right><a href=\"index.php?";
 
-       if (isset($req_category) and !empty($req_category) and file_exists("data/categories/$req_category")) {
-               echo "category=$req_category";
+       if (isset($maj_req_category) and !empty($maj_req_category) and file_exists("data/categories/$maj_req_category")) {
+               echo "category=$maj_req_category";
        }
-       if (isset($req_archive) and !empty($req_archive)) {
-               echo "archive=$req_archive";
+       if (isset($maj_req_archive) and !empty($maj_req_archive)) {
+               echo "archive=$maj_req_archive";
        }
-       if (isset($req_author) and !empty($req_author) and file_exists("data/members/active/$req_author") and file_exists("data/bb.txt")) {
-               echo "author=$req_author";
+       if (isset($maj_req_author) and !empty($maj_req_author) and file_exists("data/members/active/$maj_req_author") and file_exists("data/bb.txt")) {
+               echo "author=$maj_req_author";
        }
-       if (isset($req_author) and !empty($req_author) and !file_exists("data/members/active/$req_author") and (file_get_contents("data/username.txt") == $req_author) and file_exists("data/bb.txt")) {
-               echo "author=$req_author";
+       if (isset($maj_req_author) and !empty($maj_req_author) and !file_exists("data/members/active/$maj_req_author") and (file_get_contents("data/username.txt") == $maj_req_author) and file_exists("data/bb.txt")) {
+               echo "author=$maj_req_author";
        }
-       if (isset($req_find) and !empty($req_find) and ($req_find == "private")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "private")) {
                echo "find=private";
        }
-       if (isset($req_find) and !empty($req_find) and ($req_find == "member")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "member")) {
                echo "find=member";
        }
-       if (isset($req_find) and !empty($req_find) and ($req_find == "unfiled")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "unfiled")) {
                echo "find=unfiled";
        }
-       if (isset($req_find) and !empty($req_find) and ($req_find == "passwd")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "passwd")) {
                echo "find=passwd";
        }
-       if (isset($req_find) and !empty($req_find) and ($req_find == "comments")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "comments")) {
                echo "find=comments";
        }
-       if (isset($req_find) and !empty($req_find) and ($req_find == "album")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "album")) {
                echo "find=album";
        }
-       if (isset($req_find) and !empty($req_find) and ($req_find == "filedrop")) {
+       if (isset($maj_req_find) and !empty($maj_req_find) and ($maj_req_find == "filedrop")) {
                echo "find=filedrop";
        }
-       echo "&start=" . ($start+$increase) . "\">next</a></td>";
+       echo "&start=" . ($maj_start+$maj_increase) . "\">next</a></td>";
 }
 
 // right side
 
-echo "</tr></table></td><td width=\"$wspace\"><div style=\"width: {$wspace}px;\"></div></td><td width=\"$wside\" valign=\"top\">";
+echo "</tr></table></td><td width=\"$maj_wspace\"><div style=\"width: {$maj_wspace}px;\"></div></td><td width=\"$maj_wside\" valign=\"top\">";
 
-if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
-       if ($dh_pending_comment_flags = opendir("data/comments/pending")) {
-               while (($entry_pending_comment_flags = readdir($dh_pending_comment_flags)) !== false) {
-                       if ($entry_pending_comment_flags != "." && $entry_pending_comment_flags != "..") {
-                               $show_pending_comment_flags[] = $entry_pending_comment_flags;
+if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
+       if ($maj_dh_pending_comment_flags = opendir("data/comments/pending")) {
+               while (($maj_entry_pending_comment_flags = readdir($maj_dh_pending_comment_flags)) !== false) {
+                       if ($maj_entry_pending_comment_flags != "." && $maj_entry_pending_comment_flags != "..") {
+                               $maj_show_pending_comment_flags[] = $maj_entry_pending_comment_flags;
                        }
                }
-               closedir($dh_pending_comment_flags);
+               closedir($maj_dh_pending_comment_flags);
        }
 
-       rsort($show_pending_comment_flags);
-       reset($show_pending_comment_flags);
-       $count_pending_comment_flags = count($show_pending_comment_flags);
+       rsort($maj_show_pending_comment_flags);
+       reset($maj_show_pending_comment_flags);
+       $maj_count_pending_comment_flags = count($maj_show_pending_comment_flags);
 
-       if (($count_latest > 0) and ($count_pending_comment_flags > 0)) {
+       if (($maj_count_latest > 0) and ($maj_count_pending_comment_flags > 0)) {
 
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo '<div id="panel_title">';
+                       echo '<div class="panel_title">';
                }
 
                echo 'Pending Comments</div>';
-               echo '<div id="panel_body">';
+               echo '<div class="panel_body">';
 
-               if ($dh_list_pending_comment_flags = opendir("data/comments/pending")) {
+               if ($maj_dh_list_pending_comment_flags = opendir("data/comments/pending")) {
 
-                       while (($entry_list_pending_comment_flags = readdir($dh_list_pending_comment_flags)) !== false) {
+                       while (($maj_entry_list_pending_comment_flags = readdir($maj_dh_list_pending_comment_flags)) !== false) {
 
-                               if ($entry_list_pending_comment_flags != "." && $entry_list_pending_comment_flags != "..") {
+                               if ($maj_entry_list_pending_comment_flags != "." && $maj_entry_list_pending_comment_flags != "..") {
 
-                                       echo "<a href=\"index.php?entry=$entry_list_pending_comment_flags&show=comments\">";
-                                       readfile("data/items/$entry_list_pending_comment_flags/title.txt");
-                                       echo '</a><br><font style="font-size: 10px; color: #999999;">';
-                                       $fp_comment_count_txt = fopen("data/comments/pending/$entry_list_pending_comment_flags/count.txt","r");
-                                       $comment_count_value = fread($fp_comment_count_txt,filesize("data/comments/pending/$entry_list_pending_comment_flags/count.txt"));
-                                       fclose($fp_comment_count_txt);
+                                       echo "<a href=\"index.php?entry=$maj_entry_list_pending_comment_flags&show=comments\">";
+                                       readfile("data/items/$maj_entry_list_pending_comment_flags/title.txt");
+                                       echo "</a><br><font style=\"font-size: $maj_font_10px; color: #999999;\">";
+                                       $maj_fp_comment_count_txt = fopen("data/comments/pending/$maj_entry_list_pending_comment_flags/count.txt","r");
+                                       $maj_comment_count_value = fread($maj_fp_comment_count_txt,filesize("data/comments/pending/$maj_entry_list_pending_comment_flags/count.txt"));
+                                       fclose($maj_fp_comment_count_txt);
 
-                                       if ($comment_count_value == 1) {
-                                               echo ' ( ' . $comment_count_value . ' comment ) ';
+                                       if ($maj_comment_count_value == 1) {
+                                               echo ' ( ' . $maj_comment_count_value . ' comment ) ';
                                        }
-                                       elseif ($comment_count_value > 1) {
-                                               echo ' ( ' . $comment_count_value . ' comments ) ';
+                                       elseif ($maj_comment_count_value > 1) {
+                                               echo ' ( ' . $maj_comment_count_value . ' comments ) ';
                                        }
                                        else {
                                                echo '';
@@ -5450,7 +5538,7 @@ if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username
                                        echo '</font><br>';
                                }
                        }
-                       closedir($dh_list_pending_comment_flags);
+                       closedir($maj_dh_list_pending_comment_flags);
                }
                echo '</div>';
 
@@ -5466,15 +5554,15 @@ if (!file_exists("data/xucomment.txt") and isset($_SESSION['logged_in'])) {
 
                if (file_exists("data/comments/unread") and (count(glob("data/comments/unread/*")) > 0)) {
                       
-                       if ($dh_unread_comments = opendir("data/comments/unread")) {
+                       if ($maj_dh_unread_comments = opendir("data/comments/unread")) {
                       
-                               while (($unread_comment = readdir($dh_unread_comments)) !== false) {
+                               while (($maj_unread_comment = readdir($maj_dh_unread_comments)) !== false) {
                       
-                                       if ($unread_comment != "." && $unread_comment != "..") {
-                                               $unread_comments[] = $unread_comment;
+                                       if ($maj_unread_comment != "." && $maj_unread_comment != "..") {
+                                               $maj_unread_comments[] = $maj_unread_comment;
                                        }
                                }
-                       closedir($dh_unread_comments);
+                       closedir($maj_dh_unread_comments);
                        }
                }
        }
@@ -5483,39 +5571,39 @@ if (!file_exists("data/xucomment.txt") and isset($_SESSION['logged_in'])) {
 
                        if (file_exists("data/members/active/{$_SESSION['logged_in']}/comments/unread") and (count(glob("data/members/active/{$_SESSION['logged_in']}/comments/unread/*")) > 0)) {
                       
-                               if ($dh_unread_comments = opendir("data/members/active/{$_SESSION['logged_in']}/comments/unread")) {
+                               if ($maj_dh_unread_comments = opendir("data/members/active/{$_SESSION['logged_in']}/comments/unread")) {
                       
-                                       while (($unread_comment = readdir($dh_unread_comments)) !== false) {
+                                       while (($maj_unread_comment = readdir($maj_dh_unread_comments)) !== false) {
                       
-                                               if ($unread_comment != "." && $unread_comment != "..") {
-                                                       $unread_comments[] = $unread_comment;
+                                               if ($maj_unread_comment != "." && $maj_unread_comment != "..") {
+                                                       $maj_unread_comments[] = $maj_unread_comment;
                                                }
                                        }
-                               closedir($dh_unread_comments);
+                               closedir($maj_dh_unread_comments);
                                }
                        }
                }
        }
 
-       sort($unread_comments);
-       reset($unread_comments);
+       sort($maj_unread_comments);
+       reset($maj_unread_comments);
 
-       if (count($unread_comments) > 0) {
+       if (count($maj_unread_comments) > 0) {
 
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo '<div id="panel_title">';
+                       echo '<div class="panel_title">';
                }
 
-               echo 'Unread Comments</div><div id=panel_body><table border="0" cellspacing="0" cellpadding="0" width="100%">';
+               echo 'Unread Comments</div><div class=panel_body><table border="0" cellspacing="0" cellpadding="0" width="100%">';
 
-               foreach ($unread_comments as $unread_comment) {
+               foreach ($maj_unread_comments as $maj_unread_comment) {
               
-                       $unread_comment_title = file_get_contents("data/items/$unread_comment/title.txt");
+                       $maj_unread_comment_title = file_get_contents("data/items/$maj_unread_comment/title.txt");
 
-                       echo "<tr><td><a class=\"navlink\" href=\"index.php?entry=$unread_comment&show=comments\">$unread_comment_title</a></td></tr>";
+                       echo "<tr><td><a class=\"navlink\" href=\"index.php?entry=$maj_unread_comment&show=comments\">$maj_unread_comment_title</a></td></tr>";
                }
 
                echo '</table></div>';
@@ -5526,36 +5614,36 @@ if (!file_exists("data/xucomment.txt") and isset($_SESSION['logged_in'])) {
        }
 }
 
-if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username) and file_exists("data/members/confirmed") and !file_exists("data/xapp.txt") and file_exists("data/bb.txt") and file_exists("data/reg.txt")) {
-       if ($dh_pending_list = opendir("data/members/confirmed")) {
-               while (($entry_pending_list = readdir($dh_pending_list)) !== false) {
+if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username) and file_exists("data/members/confirmed") and !file_exists("data/xapp.txt") and file_exists("data/bb.txt") and file_exists("data/reg.txt")) {
+       if ($maj_dh_pending_list = opendir("data/members/confirmed")) {
+               while (($maj_entry_pending_list = readdir($maj_dh_pending_list)) !== false) {
 
-                       if ($entry_pending_list != "." && $entry_pending_list != "..") {
-                               $show_pending_list[] = $entry_pending_list;
+                       if ($maj_entry_pending_list != "." && $maj_entry_pending_list != "..") {
+                               $maj_show_pending_list[] = $maj_entry_pending_list;
                        }
                }
-               closedir($dh_pending_list);
+               closedir($maj_dh_pending_list);
        }
 
-       sort($show_pending_list);
-       reset($show_pending_list);
-       $count_pending_list = count($show_pending_list);
+       sort($maj_show_pending_list);
+       reset($maj_show_pending_list);
+       $maj_count_pending_list = count($maj_show_pending_list);
       
-       if ($count_pending_list > 0) {
+       if ($maj_count_pending_list > 0) {
 
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo '<div id="panel_title">';
+                       echo '<div class="panel_title">';
                }
 
                echo "Pending Member";
-               if ($count_pending_list > 1) {
+               if ($maj_count_pending_list > 1) {
                        echo "s";
                }
-               echo "</div><div id=panel_body>Please approve or deny $count_pending_list pending membership request";
-               if ($count_pending_list > 1) {
+               echo "</div><div class=panel_body>Please approve or deny $maj_count_pending_list pending membership request";
+               if ($maj_count_pending_list > 1) {
                        echo "s";
                }
                echo " below.</div>";
@@ -5564,50 +5652,50 @@ if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username
                        echo '<b class="rbbottom"><b class="rb4b"></b><b class="rb3b"></b><b class="rb2b"></b><b class="rb1b"></b></b>';
                }
 
-               foreach ($show_pending_list as $pending_list_entry) {
+               foreach ($maj_show_pending_list as $maj_pending_list_entry) {
 
                        if (file_exists("data/round.txt")) {
                                echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                        }
                        else {
-                               echo '<div id="panel_title">';
+                               echo '<div class="panel_title">';
                        }
 
-                       echo "$pending_list_entry";
+                       echo "$maj_pending_list_entry";
                        echo '<a href=reg.php?username=';
-                       echo $pending_list_entry;
+                       echo $maj_pending_list_entry;
                        echo '&key=';
-                       readfile("data/members/confirmed/$pending_list_entry/key.txt");
+                       readfile("data/members/confirmed/$maj_pending_list_entry/key.txt");
                        echo '&action=deny><img src=images/widget.del.png border=0 width=11 height=11 align=right alt=deny></a><a href=reg.php?username=';
-                       echo $pending_list_entry;
+                       echo $maj_pending_list_entry;
                        echo '&key=';
-                       readfile("data/members/confirmed/$pending_list_entry/key.txt");
+                       readfile("data/members/confirmed/$maj_pending_list_entry/key.txt");
                        echo '&action=approve><img src=images/widget.cat.png border=0 width=11 height=11 align=right alt=approve></a></div>';
-                       echo "<div id=panel_body>";
-                       if (file_exists("data/members/confirmed/$pending_list_entry/url.txt")) {
+                       echo "<div class=panel_body>";
+                       if (file_exists("data/members/confirmed/$maj_pending_list_entry/url.txt")) {
                                echo "<a href=\"";
-                               readfile("data/members/confirmed/$pending_list_entry/url.txt");
+                               readfile("data/members/confirmed/$maj_pending_list_entry/url.txt");
                                echo "\" target=_pending>";
                        }
-                       readfile("data/members/confirmed/$pending_list_entry/firstname.txt");
+                       readfile("data/members/confirmed/$maj_pending_list_entry/firstname.txt");
                        echo "&nbsp;";
-                       readfile("data/members/confirmed/$pending_list_entry/lastname.txt");
-                       if (file_exists("data/members/confirmed/$pending_list_entry/url.txt")) {
+                       readfile("data/members/confirmed/$maj_pending_list_entry/lastname.txt");
+                       if (file_exists("data/members/confirmed/$maj_pending_list_entry/url.txt")) {
                                echo "</a>";
                        }
                        echo "<br>";
-                       $pending_email = file_get_contents("data/members/confirmed/$pending_list_entry/email.txt");
-                       $pending_email = wordwrap($pending_email,30);
-                       echo $pending_email;
-                       if (file_exists("data/members/confirmed/$pending_list_entry/timestamp.txt")) {
-                               $confirmed = file_get_contents("data/members/confirmed/$pending_list_entry/timestamp.txt");
-                               $confirmed_year = substr($confirmed,0,4);
-                               $confirmed_month = substr($confirmed,4,2);
-                               $confirmed_day = substr($confirmed,6,2);
-                               $confirmed_hh = substr($confirmed,8,2);
-                               $confirmed_mm = substr($confirmed,10,2);
-                               $email_confirmed = date("d M Y H:i",mktime($confirmed_hh,$confirmed_mm,0,$confirmed_month,$confirmed_day,$confirmed_year));
-                               echo "<br>$email_confirmed";
+                       $maj_pending_email = file_get_contents("data/members/confirmed/$maj_pending_list_entry/email.txt");
+                       $maj_pending_email = wordwrap($maj_pending_email,30);
+                       echo $maj_pending_email;
+                       if (file_exists("data/members/confirmed/$maj_pending_list_entry/timestamp.txt")) {
+                               $maj_confirmed = file_get_contents("data/members/confirmed/$maj_pending_list_entry/timestamp.txt");
+                               $maj_confirmed_year = substr($maj_confirmed,0,4);
+                               $maj_confirmed_month = substr($maj_confirmed,4,2);
+                               $maj_confirmed_day = substr($maj_confirmed,6,2);
+                               $maj_confirmed_hh = substr($maj_confirmed,8,2);
+                               $maj_confirmed_mm = substr($maj_confirmed,10,2);
+                               $maj_email_confirmed = date("d M Y H:i",mktime($maj_confirmed_hh,$maj_confirmed_mm,0,$maj_confirmed_month,$maj_confirmed_day,$maj_confirmed_year));
+                               echo "<br>$maj_email_confirmed";
                        }
                        echo "</div>";
 
@@ -5624,79 +5712,79 @@ if (file_exists("data/bb.txt") and file_exists("data/bb-stats.txt")) {
                echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
        }
        else {
-               echo '<div id="panel_title">';
+               echo '<div class="panel_title">';
        }
 
-       echo "Bulletin Board</div><div id=panel_body>";
+       echo "Bulletin Board</div><div class=panel_body>";
        if (file_exists("data/members/active") and file_exists("data/bb.txt")) {
-               if ($dh_active_list = opendir("data/members/active")) {
-                       while (($entry_active_list = readdir($dh_active_list)) !== false) {
-                               if ($entry_active_list != "." && $entry_active_list != "..") {
-                                       $show_active_list[] = $entry_active_list;
+               if ($maj_dh_active_list = opendir("data/members/active")) {
+                       while (($maj_entry_active_list = readdir($maj_dh_active_list)) !== false) {
+                               if ($maj_entry_active_list != "." && $maj_entry_active_list != "..") {
+                                       $maj_show_active_list[] = $maj_entry_active_list;
                                }
                        }
-               closedir($dh_active_list);
+               closedir($maj_dh_active_list);
                }
 
-               sort($show_active_list);
-               reset($show_active_list);
-               $count_active_list = count($show_active_list);
-               if ($count_active_list > 0) {
-                       echo "Registered Members: $count_active_list";
+               sort($maj_show_active_list);
+               reset($maj_show_active_list);
+               $maj_count_active_list = count($maj_show_active_list);
+               if ($maj_count_active_list > 0) {
+                       echo "Registered Members: $maj_count_active_list";
                }
        }
 
        if (file_exists("data/items")) {
-               if ($dh_mempost_list = opendir("data/items")) {
-                       while (($entry_mempost_list = readdir($dh_mempost_list)) !== false) {
+               if ($maj_dh_mempost_list = opendir("data/items")) {
+                       while (($maj_entry_mempost_list = readdir($maj_dh_mempost_list)) !== false) {
 
-                               if (file_exists("data/items/$entry_mempost_list/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+                               if (file_exists("data/items/$maj_entry_mempost_list/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
                                        continue;
                                }
 
-                               $private_categories = "0";
+                               $maj_private_categories = "0";
 
-                               if (file_exists("data/items/$entry_mempost_list/categories")) {
+                               if (file_exists("data/items/$maj_entry_mempost_list/categories")) {
                       
-                                       if ($dh_entry_categories_mempost_list = opendir("data/items/$entry_mempost_list/categories")) {
+                                       if ($maj_dh_entry_categories_mempost_list = opendir("data/items/$maj_entry_mempost_list/categories")) {
                       
-                                               while (($entry_category_mempost_list = readdir($dh_entry_categories_mempost_list)) !== false) {
+                                               while (($maj_entry_category_mempost_list = readdir($maj_dh_entry_categories_mempost_list)) !== false) {
                       
-                                                       if ($entry_category_mempost_list != "." && $entry_category_mempost_list != "..") {
+                                                       if ($maj_entry_category_mempost_list != "." && $maj_entry_category_mempost_list != "..") {
                       
-                                                               if (file_exists("data/categories/$entry_category_mempost_list/private.txt")) {
-                                                                       $private_categories = $private_categories + 1;
+                                                               if (file_exists("data/categories/$maj_entry_category_mempost_list/private.txt")) {
+                                                                       $maj_private_categories = $maj_private_categories + 1;
                                                                }
                                                        }
                                                }
-                                               closedir($dh_entry_categories_mempost_list);
+                                               closedir($maj_dh_entry_categories_mempost_list);
                                        }
                                }
 
-                               if (($private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username)) and !file_exists("data/items/$entry_mempost_list/cat.txt")) {
+                               if (($maj_private_categories > 0) and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username)) and !file_exists("data/items/$maj_entry_mempost_list/cat.txt")) {
                                        continue;
                                }
       
-                               if ($entry_mempost_list != "." && $entry_mempost_list != "..") {
-                                       $entry_mempost_list = substr("$entry_mempost_list",0,6);
-                                       $show_mempost_list[] = $entry_mempost_list;
+                               if ($maj_entry_mempost_list != "." && $maj_entry_mempost_list != "..") {
+                                       $maj_entry_mempost_list = substr("$maj_entry_mempost_list",0,6);
+                                       $maj_show_mempost_list[] = $maj_entry_mempost_list;
                                }
                        }
-                       closedir($dh_mempost_list);
+                       closedir($maj_dh_mempost_list);
                }
-               rsort($show_mempost_list);
-               $count_mempost_list = count($show_mempost_list);
-               echo "<br>Total Posts: $count_mempost_list";
-               unset($show_mempost_list);
+               rsort($maj_show_mempost_list);
+               $maj_count_mempost_list = count($maj_show_mempost_list);
+               echo "<br>Total Posts: $maj_count_mempost_list";
+               unset($maj_show_mempost_list);
        }
 
        if (file_exists("data/bb-new.txt")) {
-               $bb_new = file_get_contents("data/bb-new.txt");
-               echo "<br>Newest User: <a href=member.php?id=$bb_new>$bb_new</a>";
+               $maj_bb_new = file_get_contents("data/bb-new.txt");
+               echo "<br>Newest User: <a href=member.php?class=$maj_bb_new>$maj_bb_new</a>";
        }
        if (file_exists("data/bb-last.txt")) {
-               $bb_last = file_get_contents("data/bb-last.txt");
-               echo "<br>Latest Login: <a href=member.php?id=$bb_last>$bb_last</a>";
+               $maj_bb_last = file_get_contents("data/bb-last.txt");
+               echo "<br>Latest Login: <a href=member.php?class=$maj_bb_last>$maj_bb_last</a>";
        }
        echo "</div>";
 
@@ -5705,20 +5793,20 @@ if (file_exists("data/bb.txt") and file_exists("data/bb-stats.txt")) {
        }
 }
 
-if ($count_grand > 0) {
+if ($maj_count_grand > 0) {
       
        if (file_exists("data/round.txt")) {
                echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
        }
        else {
-               echo '<div id="panel_title">';
+               echo '<div class="panel_title">';
        }
 
        ?>
 
        Search</div>
        <form enctype="multipart/form-data" action="dig.php" method="post">
-       <div id="panel_body">
+       <div class="panel_body">
        <input type="text" class="search" name="search" autocomplete="off" maxlength="55">
        </form>
        </div>
@@ -5731,16 +5819,16 @@ if ($count_grand > 0) {
 }
 
 
-if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
 
        if (file_exists("data/round.txt")) {
                echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
        }
        else {
-               echo '<div id="panel_title">';
+               echo '<div class="panel_title">';
        }
 
-       echo "Find Entries</div><div id=panel_body>";
+       echo "Find Entries</div><div class=panel_body>";
        echo "<a class=\"navlink\" href=\"index.php?find=private\">Private</a>";
        if (file_exists("data/bb.txt")) {
                echo "<br><a class=\"navlink\" href=\"index.php?find=member\">Members-Only</a>";
@@ -5758,51 +5846,51 @@ if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username
 }
 
 if (file_exists("data/categories")) {
-       if ($dh_categories = opendir("data/categories")) {
-               while (($entry_categories = readdir($dh_categories)) !== false) {
+       if ($maj_dh_categories = opendir("data/categories")) {
+               while (($maj_entry_categories = readdir($maj_dh_categories)) !== false) {
 
-                       if (file_exists("data/xcat.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+                       if (file_exists("data/xcat.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
                                continue;
                        }
 
-                       if (file_exists("data/categories/$entry_categories/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $login_username))) {
+                       if (file_exists("data/categories/$maj_entry_categories/private.txt") and (!isset($_SESSION['logged_in']) or ($_SESSION['logged_in'] != $maj_login_username))) {
                                continue;
                        }
 
-                       if ($entry_categories != "." && $entry_categories != "..") {
-                               $show_categories[] = $entry_categories;
+                       if ($maj_entry_categories != "." && $maj_entry_categories != "..") {
+                               $maj_show_categories[] = $maj_entry_categories;
                        }
                }
-               closedir($dh_categories);
+               closedir($maj_dh_categories);
        }
 
-       sort($show_categories);
-       reset($show_categories);
-       $count_categories = count($show_categories);
+       sort($maj_show_categories);
+       reset($maj_show_categories);
+       $maj_count_categories = count($maj_show_categories);
 
-       if ($count_categories > 0) {
+       if ($maj_count_categories > 0) {
 
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo '<div id="panel_title">';
+                       echo '<div class="panel_title">';
                }
 
-               echo 'Categories</div><div id=panel_body>';
+               echo 'Categories</div><div class=panel_body>';
 
-               foreach ($show_categories as $category) {
+               foreach ($maj_show_categories as $maj_category) {
 
-                       echo "<a class=\"navlink\" href=\"index.php?category=$category\">";
+                       echo "<a class=\"navlink\" href=\"index.php?category=$maj_category\">";
 
-                       if (file_exists("data/categories/$category/title.txt")) {
-                               $category_title = file_get_contents("data/categories/$category/title.txt");
+                       if (file_exists("data/categories/$maj_category/title.txt")) {
+                               $maj_category_title = file_get_contents("data/categories/$maj_category/title.txt");
                        }
                        else {
-                               $category_title = ucfirst(str_replace("_"," ",$category));
+                               $maj_category_title = ucfirst(str_replace("_"," ",$maj_category));
                        }
 
-                       echo $category_title;
+                       echo $maj_category_title;
                        echo "</a><br>";
                }
 
@@ -5814,17 +5902,17 @@ if (file_exists("data/categories")) {
        }
 }
 
-if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
+if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
 
        if (file_exists("data/round.txt")) {
                echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
        }
        else {
-               echo '<div id="panel_title">';
+               echo '<div class="panel_title">';
        }
 
-       echo 'Statistics</div><div id=panel_body>';
-       echo "Total Entries: $count_latest";
+       echo 'Statistics</div><div class=panel_body>';
+       echo "Total Entries: $maj_count_latest";
        if (file_exists("data/hits.txt")) {
                echo '<br>Site Hits: ';
                readfile("data/hits.txt");
@@ -5857,33 +5945,33 @@ if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username
        }
 }
 
-if (($count_latest > 0) and ($count_latest > $increase) and (!file_exists("data/xrecent.txt") or isset($_SESSION['logged_in']))) {
+if (($maj_count_latest > 0) and ($maj_count_latest > $maj_increase) and (!file_exists("data/xrecent.txt") or isset($_SESSION['logged_in']))) {
 
        if (file_exists("data/round.txt")) {
                echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
        }
        else {
-               echo '<div id="panel_title">';
+               echo '<div class="panel_title">';
        }
 
-       echo 'Recent Entries</div><div id=panel_body>';
+       echo 'Recent Entries</div><div class=panel_body>';
 
-       $increment_recent_entries = "0";
+       $maj_increment_recent_entries = "0";
 
-       if ($count_latest < 10) {
-               $max_recent_entries = $count_latest;
+       if ($maj_count_latest < 10) {
+               $maj_max_recent_entries = $maj_count_latest;
        }
        else {
-               $max_recent_entries = "10";
+               $maj_max_recent_entries = "10";
        }
 
-       while ($increment_recent_entries < $max_recent_entries) {
+       while ($maj_increment_recent_entries < $maj_max_recent_entries) {
 
-               echo "<a class=\"navlink\" href=\"index.php?entry=$latest[$increment_recent_entries]\">";
-               readfile("data/items/$latest[$increment_recent_entries]/title.txt");
+               echo "<a class=\"navlink\" href=\"index.php?entry=$maj_latest[$maj_increment_recent_entries]\">";
+               readfile("data/items/$maj_latest[$maj_increment_recent_entries]/title.txt");
                echo "</a><br>";
 
-               $increment_recent_entries = $increment_recent_entries + 1;
+               $maj_increment_recent_entries = $maj_increment_recent_entries + 1;
        }
 
        echo '</div>';
@@ -5893,20 +5981,20 @@ if (($count_latest > 0) and ($count_latest > $increase) and (!file_exists("data/
        }
 }
 
-if ($count_albums > 0) {
+if ($maj_count_albums > 0) {
 
        if (file_exists("data/round.txt")) {
                echo "<b class=\"rbtop\"><b class=\"rb1t\"></b><b class=\"rb2t\"></b><b class=\"rb3t\"></b><b class=\"rb4t\"></b></b><div class=\"xtitle\">";
        }
        else {
-               echo "<div id=\"panel_title\">";
+               echo "<div class=\"panel_title\">";
        }
 
-       echo "Albums</div><div id=\"panel_body\">";
+       echo "Albums</div><div class=\"panel_body\">";
 
-       foreach ($albums as $album) {
-               echo "<a class=\"navlink\" href=\"index.php?entry=$album&show=album\">";
-               readfile("data/items/$album/title.txt");
+       foreach ($maj_albums as $maj_album) {
+               echo "<a class=\"navlink\" href=\"index.php?entry=$maj_album&show=album\">";
+               readfile("data/items/$maj_album/title.txt");
                echo "</a><br>";
        }
        echo '</div>';
@@ -5918,46 +6006,46 @@ if ($count_albums > 0) {
 
 if (!file_exists("data/xrand.txt")) {
       
-       shuffle($random);
-       reset($random);
+       shuffle($maj_random);
+       reset($maj_random);
 
        if (file_exists("data/increase.txt")) {
-               $limit_random = file_get_contents("data/increase.txt");
+               $maj_limit_random = file_get_contents("data/increase.txt");
        }
        else {
-               $limit_random = 5;
+               $maj_limit_random = 5;
        }
       
-       if ($count_random > $limit_random) {
+       if ($maj_count_random > $maj_limit_random) {
       
                if (file_exists("data/round.txt")) {
                        echo '<b class="rbtop"><b class="rb1t"></b><b class="rb2t"></b><b class="rb3t"></b><b class="rb4t"></b></b><div class="xtitle">';
                }
                else {
-                       echo '<div id="panel_title">';
+                       echo '<div class="panel_title">';
                }
       
-               echo "Random Entries</div><div id=\"panel_body\">";
+               echo "Random Entries</div><div class=\"panel_body\">";
       
-               $increment_random = 0;
+               $maj_increment_random = 0;
       
-               if ($count_random <= $limit_random * 2) {
-                       $show_random = $count_random - 1;
+               if ($maj_count_random <= $maj_limit_random * 2) {
+                       $maj_show_random = $maj_count_random - 1;
                }
                else {
-                       $show_random = $limit_random * 2 - 1;
+                       $maj_show_random = $maj_limit_random * 2 - 1;
                }
       
-               while ($increment_random <= $show_random) {
-                       echo "<a class=\"navlink\" href=\"index.php?entry={$random[$increment_random]}\">";
-                       readfile("data/items/$random[$increment_random]/title.txt");
+               while ($maj_increment_random <= $maj_show_random) {
+                       echo "<a class=\"navlink\" href=\"index.php?entry={$maj_random[$maj_increment_random]}\">";
+                       readfile("data/items/$maj_random[$maj_increment_random]/title.txt");
                        echo "</a><br>";
       
-                       $increment_random = $increment_random + 1;
+                       $maj_increment_random = $maj_increment_random + 1;
                }
        }
       
-       if ($count_random > $limit_random) {
+       if ($maj_count_random > $maj_limit_random) {
                echo "</div>";
       
                if (file_exists("data/round.txt")) {
@@ -5970,31 +6058,31 @@ if (!file_exists("data/xrand.txt")) {
 
 <?php
 
-if (($count_archives > 0) and ($count_latest > $increase) and ($count_latest > 0) and (!file_exists("data/xarc.txt") or isset($_SESSION['logged_in']))) {
+if (($maj_count_archives > 0) and ($maj_count_latest > $maj_increase) and ($maj_count_latest > 0) and (!file_exists("data/xarc.txt") or isset($_SESSION['logged_in']))) {
 
-       $archive_entries = implode(" ",$archives);
+       $maj_archive_entries = implode(" ",$maj_archives);
 
-       $unique_archive_list = array_unique($archives);
+       $maj_unique_archive_list = array_unique($maj_archives);
 
        if (file_exists("data/round.txt")) {
                echo "<b class=\"rbtop\"><b class=\"rb1t\"></b><b class=\"rb2t\"></b><b class=\"rb3t\"></b><b class=\"rb4t\"></b></b><div class=\"xtitle\">";
        }
        else {
-               echo "<div id=\"panel_title\">";
+               echo "<div class=\"panel_title\">";
        }
 
-       echo "Archives ($count_archives)</div>";
-       echo "<div id=\"panel_body\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">";
+       echo "Archives ($maj_count_archives)</div>";
+       echo "<div class=\"panel_body\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\">";
 
-       foreach ($unique_archive_list as $archive_list_entry) {
+       foreach ($maj_unique_archive_list as $maj_archive_list_entry) {
 
-               $archive_list_value = substr($archive_list_entry,0,6);
-               $archive_list_year = substr($archive_list_entry,0,4);
-               $archive_list_month = substr($archive_list_entry,4,2);
-               $archive_list_month = date("F",mktime(0,0,0,$archive_list_month));
-               $archive_list_num = substr_count($archive_entries,$archive_list_entry);
+               $maj_archive_list_value = substr($maj_archive_list_entry,0,6);
+               $maj_archive_list_year = substr($maj_archive_list_entry,0,4);
+               $maj_archive_list_month = substr($maj_archive_list_entry,4,2);
+               $maj_archive_list_month = date("F",mktime(0,0,0,$maj_archive_list_month));
+               $maj_archive_list_num = substr_count($maj_archive_entries,$maj_archive_list_entry);
 
-               echo "<tr><td><a class=\"navlink\" href=\"index.php?archive=$archive_list_value\"><nobr>$archive_list_month $archive_list_year</nobr></a></td><td align=right>$archive_list_num</td></tr>";
+               echo "<tr><td><a class=\"navlink\" href=\"index.php?archive=$maj_archive_list_value\"><nobr>$maj_archive_list_month $maj_archive_list_year</nobr></a></td><td align=right>$maj_archive_list_num</td></tr>";
        }
        echo "</table></div>";
 
@@ -6003,54 +6091,54 @@ if (($count_archives > 0) and ($count_latest > $increase) and ($count_latest > 0
        }
 }
 
-if ($count_right_panels > 0) {
+if ($maj_count_right_panels > 0) {
 
-       foreach ($right_panels as $right_panel) {
+       foreach ($maj_right_panels as $maj_right_panel) {
 
-               if (!file_exists("data/panels/$right_panel/free.txt")) {
+               if (!file_exists("data/panels/$maj_right_panel/free.txt")) {
 
-                       if (file_exists("data/panels/$right_panel/border.txt")) {
-                               $right_panel_border = file_get_contents("data/panels/$right_panel/border.txt");
+                       if (file_exists("data/panels/$maj_right_panel/border.txt")) {
+                               $maj_right_panel_border = file_get_contents("data/panels/$maj_right_panel/border.txt");
                        }
                        else {
-                               if (isset($right_panel_border)) {
-                                       unset($right_panel_border);
+                               if (isset($maj_right_panel_border)) {
+                                       unset($maj_right_panel_border);
                                }
                        }
 
-                       if (file_exists("data/panels/$right_panel/bgcolor-t.txt")) {
-                               $right_panel_bgcolor_t = file_get_contents("data/panels/$right_panel/bgcolor-t.txt");
+                       if (file_exists("data/panels/$maj_right_panel/bgcolor-t.txt")) {
+                               $maj_right_panel_bgcolor_t = file_get_contents("data/panels/$maj_right_panel/bgcolor-t.txt");
                        }
                        else {
-                               if (isset($right_panel_bgcolor_t)) {
-                                       unset($right_panel_bgcolor_t);
+                               if (isset($maj_right_panel_bgcolor_t)) {
+                                       unset($maj_right_panel_bgcolor_t);
                                }
                        }
 
-                       if (file_exists("data/panels/$right_panel/bgcolor-c.txt")) {
-                               $right_panel_bgcolor_c = file_get_contents("data/panels/$right_panel/bgcolor-c.txt");
+                       if (file_exists("data/panels/$maj_right_panel/bgcolor-c.txt")) {
+                               $maj_right_panel_bgcolor_c = file_get_contents("data/panels/$maj_right_panel/bgcolor-c.txt");
                        }
                        else {
-                               if (isset($right_panel_bgcolor_c)) {
-                                       unset($right_panel_bgcolor_c);
+                               if (isset($maj_right_panel_bgcolor_c)) {
+                                       unset($maj_right_panel_bgcolor_c);
                                }
                        }
 
-                       if (file_exists("data/panels/$right_panel/text-t.txt")) {
-                               $right_panel_text_t = file_get_contents("data/panels/$right_panel/text-t.txt");
+                       if (file_exists("data/panels/$maj_right_panel/text-t.txt")) {
+                               $maj_right_panel_text_t = file_get_contents("data/panels/$maj_right_panel/text-t.txt");
                        }
                        else {
-                               if (isset($right_panel_text_t)) {
-                                       unset($right_panel_text_t);
+                               if (isset($maj_right_panel_text_t)) {
+                                       unset($maj_right_panel_text_t);
                                }
                        }
 
-                       if (file_exists("data/panels/$right_panel/text-c.txt")) {
-                               $right_panel_text_c = file_get_contents("data/panels/$right_panel/text-c.txt");
+                       if (file_exists("data/panels/$maj_right_panel/text-c.txt")) {
+                               $maj_right_panel_text_c = file_get_contents("data/panels/$maj_right_panel/text-c.txt");
                        }
                        else {
-                               if (isset($right_panel_text_c)) {
-                                       unset($right_panel_text_c);
+                               if (isset($maj_right_panel_text_c)) {
+                                       unset($maj_right_panel_text_c);
                                }
                        }
 
@@ -6058,220 +6146,220 @@ if ($count_right_panels > 0) {
 
                                echo '<b class="rbtop"><b class="rb1t"';
 
-                               if (isset($right_panel_border)) {
-                                       echo " style=\"background-color: $right_panel_border;\"";
+                               if (isset($maj_right_panel_border)) {
+                                       echo " style=\"background-color: $maj_right_panel_border;\"";
                                }
 
                                echo '></b><b class="rb2t"';
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($right_panel_bgcolor_t)) {
-                                       echo "background-color: $right_panel_bgcolor_t;";
+                               if (isset($maj_right_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_right_panel_bgcolor_t;";
                                }
 
-                               if (isset($right_panel_border)) {
-                                       echo "border-color: $right_panel_border;";
+                               if (isset($maj_right_panel_border)) {
+                                       echo "border-color: $maj_right_panel_border;";
                                }
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb3t"';
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($right_panel_bgcolor_t)) {
-                                       echo "background-color: $right_panel_bgcolor_t;";
+                               if (isset($maj_right_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_right_panel_bgcolor_t;";
                                }
 
-                               if (isset($right_panel_border)) {
-                                       echo "border-color: $right_panel_border;";
+                               if (isset($maj_right_panel_border)) {
+                                       echo "border-color: $maj_right_panel_border;";
                                }
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b><b class="rb4t"';
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($right_panel_bgcolor_t)) {
-                                       echo "background-color: $right_panel_bgcolor_t;";
+                               if (isset($maj_right_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_right_panel_bgcolor_t;";
                                }
 
-                               if (isset($right_panel_border)) {
-                                       echo "border-color: $right_panel_border;";
+                               if (isset($maj_right_panel_border)) {
+                                       echo "border-color: $maj_right_panel_border;";
                                }
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t)) {
                                        echo '"';
                                }
 
                                echo '></b></b><div class="xtitle"';
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t) or isset($right_panel_text_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t) or isset($maj_right_panel_text_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($right_panel_bgcolor_t)) {
-                                       echo "background-color: $right_panel_bgcolor_t;";
+                               if (isset($maj_right_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_right_panel_bgcolor_t;";
                                }
 
-                               if (isset($right_panel_text_t)) {
-                                       echo "color: $right_panel_text_t;";
+                               if (isset($maj_right_panel_text_t)) {
+                                       echo "color: $maj_right_panel_text_t;";
                                }
 
-                               if (isset($right_panel_border)) {
-                                       echo "border-color: $right_panel_border;";
+                               if (isset($maj_right_panel_border)) {
+                                       echo "border-color: $maj_right_panel_border;";
                                }
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t) or isset($right_panel_text_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t) or isset($maj_right_panel_text_t)) {
                                        echo '"';
                                }
 
                                echo '>';
                        }
                        else {
-                               echo '<div id="panel_title"';
+                               echo '<div class="panel_title"';
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t) or isset($right_panel_text_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t) or isset($maj_right_panel_text_t)) {
                                        echo ' style="';
                                }
 
-                               if (isset($right_panel_bgcolor_t)) {
-                                       echo "background-color: $right_panel_bgcolor_t;";
+                               if (isset($maj_right_panel_bgcolor_t)) {
+                                       echo "background-color: $maj_right_panel_bgcolor_t;";
                                }
 
-                               if (isset($right_panel_text_t)) {
-                                       echo "color: $right_panel_text_t;";
+                               if (isset($maj_right_panel_text_t)) {
+                                       echo "color: $maj_right_panel_text_t;";
                                }
 
-                               if (isset($right_panel_border)) {
-                                       echo "border-color: $right_panel_border;";
+                               if (isset($maj_right_panel_border)) {
+                                       echo "border-color: $maj_right_panel_border;";
                                }
 
-                               if (isset($right_panel_border) or isset($right_panel_bgcolor_t) or isset($right_panel_text_t)) {
+                               if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_t) or isset($maj_right_panel_text_t)) {
                                        echo '"';
                                }
 
                                echo '>';
                        }
 
-                       readfile("data/panels/$right_panel/title.txt");
+                       readfile("data/panels/$maj_right_panel/title.txt");
 
-                       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $login_username)) {
-                               echo "<a href=\"panels.php#{$right_panel}\">";
+                       if (isset($_SESSION['logged_in']) and ($_SESSION['logged_in'] == $maj_login_username)) {
+                               echo "<a href=\"panels.php#{$maj_right_panel}\">";
                                echo '<img src="images/widget.edit.png" border="0" width="11" height="11" align="right"></a>';
                        }
 
-                       if (file_exists("data/panels/$right_panel/private.txt")) {
+                       if (file_exists("data/panels/$maj_right_panel/private.txt")) {
                                echo '<img src="images/widget.private.png" border="0" width="11" height="11" align="right">';
                        }
 
                        echo '</div>';
 
-                       echo '<div id="panel_body"';
+                       echo '<div class="panel_body"';
 
-                       if (isset($right_panel_border) or isset($right_panel_bgcolor_c) or isset($right_panel_text_c)) {
+                       if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_c) or isset($maj_right_panel_text_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($right_panel_bgcolor_c)) {
-                               echo "background-color: $right_panel_bgcolor_c;";
+                       if (isset($maj_right_panel_bgcolor_c)) {
+                               echo "background-color: $maj_right_panel_bgcolor_c;";
                        }
 
-                       if (isset($right_panel_text_c)) {
-                               echo "color: $right_panel_text_c;";
+                       if (isset($maj_right_panel_text_c)) {
+                               echo "color: $maj_right_panel_text_c;";
                        }
 
-                       if (isset($right_panel_border)) {
-                               echo "border-color: $right_panel_border;";
+                       if (isset($maj_right_panel_border)) {
+                               echo "border-color: $maj_right_panel_border;";
                        }
 
-                       if (isset($right_panel_border) or isset($right_panel_bgcolor_c) or isset($right_panel_text_c)) {
+                       if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_c) or isset($maj_right_panel_text_c)) {
                                echo '"';
                        }
 
                        echo '>';
                }
 
-               if (file_exists("data/panels/$right_panel/free.txt")) {
-                       echo '<div id=panel_free>';
+               if (file_exists("data/panels/$maj_right_panel/free.txt")) {
+                       echo '<div class=panel_free>';
                }
 
-               include("data/panels/$right_panel/panel.php");
+               include("data/panels/$maj_right_panel/panel.php");
 
                echo '</div>';
 
-               if (file_exists("data/round.txt") and !file_exists("data/panels/$right_panel/free.txt")) {
+               if (file_exists("data/round.txt") and !file_exists("data/panels/$maj_right_panel/free.txt")) {
 
                        echo '<b class="rbbottom"><b class="rb4b"';
 
-                       if (isset($right_panel_border) or isset($right_panel_bgcolor_c)) {
+                       if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($right_panel_bgcolor_c)) {
-                               echo "background-color: $right_panel_bgcolor_c;";
+                       if (isset($maj_right_panel_bgcolor_c)) {
+                               echo "background-color: $maj_right_panel_bgcolor_c;";
                        }
 
-                       if (isset($right_panel_border)) {
-                               echo "border-color: $right_panel_border;";
+                       if (isset($maj_right_panel_border)) {
+                               echo "border-color: $maj_right_panel_border;";
                        }
 
-                       if (isset($right_panel_border) or isset($right_panel_bgcolor_c)) {
+                       if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb3b"';
 
-                       if (isset($right_panel_border) or isset($right_panel_bgcolor_c)) {
+                       if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($right_panel_bgcolor_c)) {
-                               echo "background-color: $right_panel_bgcolor_c;";
+                       if (isset($maj_right_panel_bgcolor_c)) {
+                               echo "background-color: $maj_right_panel_bgcolor_c;";
                        }
 
-                       if (isset($right_panel_border)) {
-                               echo "border-color: $right_panel_border;";
+                       if (isset($maj_right_panel_border)) {
+                               echo "border-color: $maj_right_panel_border;";
                        }
 
-                       if (isset($right_panel_border) or isset($right_panel_bgcolor_c)) {
+                       if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb2b"';
 
-                       if (isset($right_panel_border) or isset($right_panel_bgcolor_c)) {
+                       if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_c)) {
                                echo ' style="';
                        }
 
-                       if (isset($right_panel_bgcolor_c)) {
-                               echo "background-color: $right_panel_bgcolor_c;";
+                       if (isset($maj_right_panel_bgcolor_c)) {
+                               echo "background-color: $maj_right_panel_bgcolor_c;";
                        }
 
-                       if (isset($right_panel_border)) {
-                               echo "border-color: $right_panel_border;";
+                       if (isset($maj_right_panel_border)) {
+                               echo "border-color: $maj_right_panel_border;";
                        }
 
-                       if (isset($right_panel_border) or isset($right_panel_bgcolor_c)) {
+                       if (isset($maj_right_panel_border) or isset($maj_right_panel_bgcolor_c)) {
                                echo '"';
                        }
 
                        echo '></b><b class="rb1b"';
 
-                       if (isset($right_panel_border)) {
-                               echo " style=\"background-color: $right_panel_border;\"";
+                       if (isset($maj_right_panel_border)) {
+                               echo " style=\"background-color: $maj_right_panel_border;\"";
                        }
 
                        echo '></b></b>';
@@ -6279,16 +6367,16 @@ if ($count_right_panels > 0) {
        }
 }
 
-if ($count_latest > 0) {
+if ($maj_count_latest > 0) {
        echo '<table border="0" cellspacing="2" cellpadding="0" width="100%">';
        echo '<tr><td align="center"><a target="_button" href="http://maj.sourceforge.net/"><img src="images/button.maj.png" border="0" width="80" height="15"></a></td></tr>';
        echo '<tr><td align="center"><a target="_button" href="http://php.net/"><img src="images/button.php.png" border="0" width="80" height="15"></a></td></tr>';
 
-       $validate_uri = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
-       $validate_uri = str_replace('//','/',$validate_uri);
-       $validate_uri = "http://" . $validate_uri;
+       $maj_validate_uri = $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "/";
+       $maj_validate_uri = str_replace('//','/',$maj_validate_uri);
+       $maj_validate_uri = "http://" . $maj_validate_uri;
 
-       echo '<tr><td align="center"><a target="_button" href="http://jigsaw.w3.org/css-validator/validator?uri=' . $validate_uri . '"><img src="images/button.w3c.css.png" border="0" width="80" height="15"></a></td></tr>';
+       echo '<tr><td align="center"><a target="_button" href="http://jigsaw.w3.org/css-validator/validator?uri=' . $maj_validate_uri . '"><img src="images/button.w3c.css.png" border="0" width="80" height="15"></a></td></tr>';
        echo '<tr><td align="center"><a target="_button" href="rss.php?ver=0.91"><img src="images/button.rss-0.91.png" border="0" width="80" height="15"></a></td></tr>';
        echo '<tr><td align="center"><a target="_button" href="rss.php?ver=1.0"><img src="images/button.rss-1.0.png" border="0" width="80" height="15"></a></td></tr>';
        echo '<tr><td align="center"><a target="_button" href="rss.php?ver=2.0"><img src="images/button.rss-2.0.png" border="0" width="80" height="15"></a></td></tr>';
@@ -6296,24 +6384,24 @@ if ($count_latest > 0) {
 
        if (file_exists("data/sfx.txt")) {
 
-               $sfx = file_get_contents("data/sfx.txt");
+               $maj_sfx = file_get_contents("data/sfx.txt");
 
-               echo "<tr><td align=\"center\"><a target=\"_button\" href=\"http://www.spreadfirefox.com/?q=affiliates&id=$sfx&t=85\"><img src=\"images/button.firefox.png\" border=\"0\" width=\"80\" height=\"15\"></a></td></tr>";
+               echo "<tr><td align=\"center\"><a target=\"_button\" href=\"http://www.spreadfirefox.com/?q=affiliates&class=$maj_sfx&t=85\"><img src=\"images/button.firefox.png\" border=\"0\" width=\"80\" height=\"15\"></a></td></tr>";
        }
 
        echo '</table>';
 }
 
 echo "</td></tr>";
-echo "<tr><td width=\"$wside\" height=\"$wspace\"></td><td width=\"$wspace\" height=\"$wspace\"><div style=\"width: {$wspace}px;\"></div></td><td width=\"$wmain\" height=\"$wspace\"></td><td width=\"$wspace\" height=\"$wspace\"><div style=\"width: {$wspace}px;\"></div></td><td width=\"$wside\" height=\"$wspace\"></td></tr>";
+echo "<tr><td width=\"$maj_wside\" height=\"$maj_wspace\"></td><td width=\"$maj_wspace\" height=\"$maj_wspace\"><div style=\"width: {$maj_wspace}px;\"></div></td><td width=\"$maj_wmain\" height=\"$maj_wspace\"></td><td width=\"$maj_wspace\" height=\"$maj_wspace\"><div style=\"width: {$maj_wspace}px;\"></div></td><td width=\"$maj_wside\" height=\"$maj_wspace\"></td></tr>";
 echo "</table>";
 
 if (file_exists("data/footer.txt")) {
 
-       $footer_panel = file_get_contents("data/footer.txt");
+       $maj_footer_panel = file_get_contents("data/footer.txt");
 
-       if (file_exists("data/panels/$footer_panel") and (!file_exists("data/panels/$footer_panel/private.txt") or isset($_SESSION['logged_in']))) {
-               include("data/panels/$footer_panel/panel.php");
+       if (file_exists("data/panels/$maj_footer_panel") and (!file_exists("data/panels/$maj_footer_panel/private.txt") or isset($_SESSION['logged_in']))) {
+               include("data/panels/$maj_footer_panel/panel.php");
        }
 
 }
diff --git a/rel.txt b/rel.txt
index 8a385a7..d8daf96 100644
--- a/rel.txt
+++ b/rel.txt
@@ -1 +1 @@
-20090613
\ No newline at end of file
+20090624
\ No newline at end of file
 
filedropmaj.git-01822e4.tar.bz2
147.95 KB
63 downloads
filedropmaj.git-01822e4.zip
201.96 KB
20 downloads
filedropmaj.git-0291349.tar.bz2
152.85 KB
61 downloads
filedropmaj.git-0291349.zip
211.90 KB
20 downloads
filedropmaj.git-02cb3b7.tar.bz2
151.48 KB
64 downloads
filedropmaj.git-02cb3b7.zip
209.82 KB
20 downloads
filedropmaj.git-0811dd5.tar.bz2
152.90 KB
60 downloads
filedropmaj.git-0811dd5.zip
211.90 KB
18 downloads
filedropmaj.git-083625f.tar.bz2
132.92 KB
59 downloads
filedropmaj.git-083625f.zip
179.59 KB
20 downloads
filedropmaj.git-0885d7b.tar.bz2
92.63 KB
60 downloads
filedropmaj.git-0885d7b.zip
132.34 KB
17 downloads
filedropmaj.git-09c6f33.tar.bz2
151.51 KB
59 downloads
filedropmaj.git-09c6f33.zip
202.12 KB
18 downloads
filedropmaj.git-0b26a85.tar.bz2
151.44 KB
57 downloads
filedropmaj.git-0b26a85.zip
209.75 KB
16 downloads
filedropmaj.git-0b32424.tar.bz2
151.66 KB
58 downloads
filedropmaj.git-0b32424.zip
206.72 KB
17 downloads
filedropmaj.git-0f3ac59.tar.bz2
152.14 KB
57 downloads
filedropmaj.git-0f3ac59.zip
211.45 KB
13 downloads
filedropmaj.git-11d4582.tar.bz2
143.02 KB
55 downloads
filedropmaj.git-11d4582.zip
195.12 KB
12 downloads
filedropmaj.git-17f105a.tar.bz2
137.96 KB
53 downloads
filedropmaj.git-17f105a.zip
193.02 KB
13 downloads
filedropmaj.git-183270b.tar.bz2
137.54 KB
57 downloads
filedropmaj.git-183270b.zip
187.93 KB
13 downloads
filedropmaj.git-197a49d.tar.bz2
152.03 KB
55 downloads
filedropmaj.git-197a49d.zip
211.32 KB
16 downloads
filedropmaj.git-1b9af25.tar.bz2
152.87 KB
53 downloads
filedropmaj.git-1b9af25.zip
211.96 KB
14 downloads
filedropmaj.git-1be2914.tar.bz2
149.30 KB
55 downloads
filedropmaj.git-1be2914.zip
203.09 KB
13 downloads
filedropmaj.git-1bed800.tar.bz2
138.15 KB
51 downloads
filedropmaj.git-1bed800.zip
190.15 KB
17 downloads
filedropmaj.git-1d330de.tar.bz2
151.65 KB
54 downloads
filedropmaj.git-1d330de.zip
210.80 KB
15 downloads
filedropmaj.git-1df190d.tar.bz2
151.72 KB
55 downloads
filedropmaj.git-1df190d.zip
210.85 KB
13 downloads
filedropmaj.git-1ee1167.tar.bz2
151.52 KB
56 downloads
filedropmaj.git-1ee1167.zip
202.16 KB
14 downloads
filedropmaj.git-2057838.tar.bz2
151.76 KB
52 downloads
filedropmaj.git-2057838.zip
202.36 KB
14 downloads
filedropmaj.git-2075213.tar.bz2
155.81 KB
52 downloads
filedropmaj.git-2075213.zip
208.39 KB
13 downloads
filedropmaj.git-211b7b0.tar.bz2
142.53 KB
55 downloads
filedropmaj.git-211b7b0.zip
194.64 KB
14 downloads
filedropmaj.git-2331f5a.tar.bz2
75.55 KB
55 downloads
filedropmaj.git-2331f5a.zip
100.32 KB
16 downloads
filedropmaj.git-25e3c4c.tar.bz2
147.57 KB
53 downloads
filedropmaj.git-25e3c4c.zip
201.46 KB
13 downloads
filedropmaj.git-2622313.tar.bz2
151.47 KB
50 downloads
filedropmaj.git-2622313.zip
206.44 KB
12 downloads
filedropmaj.git-273e4b2.tar.bz2
152.60 KB
52 downloads
filedropmaj.git-273e4b2.zip
203.40 KB
15 downloads
filedropmaj.git-2753e51.tar.bz2
136.37 KB
55 downloads
filedropmaj.git-2753e51.zip
184.34 KB
12 downloads
filedropmaj.git-2c1a589.tar.bz2
155.89 KB
49 downloads
filedropmaj.git-2c1a589.zip
208.69 KB
13 downloads
filedropmaj.git-2c3d544.tar.bz2
151.33 KB
51 downloads
filedropmaj.git-2c3d544.zip
206.23 KB
14 downloads
filedropmaj.git-2c85f72.tar.bz2
143.23 KB
50 downloads
filedropmaj.git-2c85f72.zip
194.84 KB
12 downloads
filedropmaj.git-2dc622c.tar.bz2
151.76 KB
48 downloads
filedropmaj.git-2dc622c.zip
202.35 KB
14 downloads
filedropmaj.git-2fabf8a.tar.bz2
151.35 KB
53 downloads
filedropmaj.git-2fabf8a.zip
206.24 KB
15 downloads
filedropmaj.git-322736b.tar.bz2
137.81 KB
45 downloads
filedropmaj.git-322736b.zip
190.18 KB
13 downloads
filedropmaj.git-374279c.tar.bz2
137.54 KB
46 downloads
filedropmaj.git-374279c.zip
189.58 KB
12 downloads
filedropmaj.git-37e852d.tar.bz2
151.32 KB
42 downloads
filedropmaj.git-37e852d.zip
206.21 KB
11 downloads
filedropmaj.git-38636de.tar.bz2
147.35 KB
42 downloads
filedropmaj.git-38636de.zip
201.16 KB
69 downloads
filedropmaj.git-3b25d71.tar.bz2
147.88 KB
35 downloads
filedropmaj.git-3b25d71.zip
201.85 KB
14 downloads
filedropmaj.git-3b6df7a.tar.bz2
153.39 KB
33 downloads
filedropmaj.git-3b6df7a.zip
204.55 KB
17 downloads
filedropmaj.git-3bf6bd2.tar.bz2
137.77 KB
38 downloads
filedropmaj.git-3bf6bd2.zip
190.16 KB
14 downloads
filedropmaj.git-3e012ff.tar.bz2
152.83 KB
34 downloads
filedropmaj.git-3e012ff.zip
211.89 KB
16 downloads
filedropmaj.git-4129ab8.tar.bz2
135.86 KB
42 downloads
filedropmaj.git-4129ab8.zip
184.30 KB
14 downloads
filedropmaj.git-414dbb4.tar.bz2
91.09 KB
40 downloads
filedropmaj.git-414dbb4.zip
130.29 KB
14 downloads
filedropmaj.git-43755d0.tar.bz2
150.25 KB
33 downloads
filedropmaj.git-43755d0.zip
204.44 KB
14 downloads
filedropmaj.git-4c20005.tar.bz2
55.59 KB
37 downloads
filedropmaj.git-4c20005.zip
74.20 KB
14 downloads
filedropmaj.git-4ccdbcd.tar.bz2
136.38 KB
38 downloads
filedropmaj.git-4ccdbcd.zip
185.22 KB
16 downloads
filedropmaj.git-4cd1a1c.tar.bz2
155.25 KB
35 downloads
filedropmaj.git-4cd1a1c.zip
207.88 KB
16 downloads
filedropmaj.git-4cf16d1.tar.bz2
76.32 KB
38 downloads
filedropmaj.git-4cf16d1.zip
101.80 KB
12 downloads
filedropmaj.git-4ec45a0.tar.bz2
131.16 KB
35 downloads
filedropmaj.git-4ec45a0.zip
172.66 KB
14 downloads
filedropmaj.git-4f73c22.tar.bz2
134.46 KB
35 downloads
filedropmaj.git-4f73c22.zip
182.45 KB
13 downloads
filedropmaj.git-5457969.tar.bz2
155.21 KB
38 downloads
filedropmaj.git-5457969.zip
207.63 KB
14 downloads
filedropmaj.git-57ee8a1.tar.bz2
145.49 KB
38 downloads
filedropmaj.git-57ee8a1.zip
198.12 KB
66 downloads
filedropmaj.git-592978d.tar.bz2
138.38 KB
36 downloads
filedropmaj.git-592978d.zip
190.58 KB
13 downloads
filedropmaj.git-5935b42.tar.bz2
135.60 KB
34 downloads
filedropmaj.git-5935b42.zip
183.28 KB
15 downloads
filedropmaj.git-5b443b6.tar.bz2
152.00 KB
36 downloads
filedropmaj.git-5b443b6.zip
211.07 KB
13 downloads
filedropmaj.git-5b4a9bf.tar.bz2
155.29 KB
34 downloads
filedropmaj.git-5b4a9bf.zip
207.93 KB
12 downloads
filedropmaj.git-5b6c01d.tar.bz2
147.13 KB
35 downloads
filedropmaj.git-5b6c01d.zip
200.86 KB
16 downloads
filedropmaj.git-5da45f7.tar.bz2
147.27 KB
36 downloads
filedropmaj.git-5da45f7.zip
201.02 KB
13 downloads
filedropmaj.git-5e53618.tar.bz2
75.57 KB
38 downloads
filedropmaj.git-5e53618.zip
100.78 KB
14 downloads
filedropmaj.git-5f8ca35.tar.bz2
136.39 KB
33 downloads
filedropmaj.git-5f8ca35.zip
185.32 KB
13 downloads
filedropmaj.git-61e3d7b.tar.bz2
153.52 KB
33 downloads
filedropmaj.git-61e3d7b.zip
204.73 KB
15 downloads
filedropmaj.git-62a635c.tar.bz2
155.90 KB
37 downloads
filedropmaj.git-62a635c.zip
208.73 KB
14 downloads
filedropmaj.git-6390d34.tar.bz2
138.39 KB
37 downloads
filedropmaj.git-6390d34.zip
190.56 KB
17 downloads
filedropmaj.git-649dfbe.tar.bz2
151.78 KB
37 downloads
filedropmaj.git-649dfbe.zip
210.91 KB
14 downloads
filedropmaj.git-65d6570.tar.bz2
151.63 KB
39 downloads
filedropmaj.git-65d6570.zip
210.80 KB
16 downloads
filedropmaj.git-660433f.tar.bz2
151.67 KB
36 downloads
filedropmaj.git-660433f.zip
206.68 KB
14 downloads
filedropmaj.git-6619ae5.tar.bz2
153.23 KB
47 downloads
filedropmaj.git-6619ae5.zip
204.28 KB
13 downloads
filedropmaj.git-68e4e3a.tar.bz2
135.13 KB
34 downloads
filedropmaj.git-68e4e3a.zip
182.91 KB
13 downloads
filedropmaj.git-6995297.tar.bz2
144.93 KB
38 downloads
filedropmaj.git-6995297.zip
197.18 KB
12 downloads
filedropmaj.git-69d6fd3.tar.bz2
143.23 KB
34 downloads
filedropmaj.git-69d6fd3.zip
194.89 KB
16 downloads
filedropmaj.git-6aa872a.tar.bz2
142.95 KB
39 downloads
filedropmaj.git-6aa872a.zip
195.11 KB
15 downloads
filedropmaj.git-6bad5c7.tar.bz2
147.04 KB
38 downloads
filedropmaj.git-6bad5c7.zip
200.79 KB
14 downloads
filedropmaj.git-6e96a2d.tar.bz2
152.13 KB
37 downloads
filedropmaj.git-6e96a2d.zip
207.21 KB
67 downloads
filedropmaj.git-73d46de.tar.bz2
138.42 KB
36 downloads
filedropmaj.git-73d46de.zip
190.59 KB
13 downloads
filedropmaj.git-75e0478.tar.bz2
144.54 KB
38 downloads
filedropmaj.git-75e0478.zip
196.70 KB
15 downloads
filedropmaj.git-784fc35.tar.bz2
143.07 KB
38 downloads
filedropmaj.git-784fc35.zip
195.01 KB
13 downloads
filedropmaj.git-7872a83.tar.bz2
138.51 KB
39 downloads
filedropmaj.git-7872a83.zip
190.69 KB
13 downloads
filedropmaj.git-788fb89.tar.bz2
138.30 KB
37 downloads
filedropmaj.git-788fb89.zip
191.26 KB
18 downloads
filedropmaj.git-796d8a3.tar.bz2
138.92 KB
35 downloads
filedropmaj.git-796d8a3.zip
191.24 KB
13 downloads
filedropmaj.git-79a5e8d.tar.bz2
132.43 KB
38 downloads
filedropmaj.git-79a5e8d.zip
176.90 KB
14 downloads
filedropmaj.git-7b3b2e0.tar.bz2
147.24 KB
36 downloads
filedropmaj.git-7b3b2e0.zip
201.05 KB
14 downloads
filedropmaj.git-7e28eed.tar.bz2
138.89 KB
33 downloads
filedropmaj.git-7e28eed.zip
191.24 KB
14 downloads
filedropmaj.git-8279296.tar.bz2
135.56 KB
38 downloads
filedropmaj.git-8279296.zip
183.25 KB
14 downloads
filedropmaj.git-84c17fe.tar.bz2
152.87 KB
38 downloads
filedropmaj.git-84c17fe.zip
211.90 KB
14 downloads
filedropmaj.git-87c5d5f.tar.bz2
135.78 KB
36 downloads
filedropmaj.git-87c5d5f.zip
183.64 KB
12 downloads
filedropmaj.git-8a48901.tar.bz2
147.27 KB
39 downloads
filedropmaj.git-8a48901.zip
201.06 KB
14 downloads
filedropmaj.git-8ad9892.tar.bz2
164.04 KB
36 downloads
filedropmaj.git-8ad9892.zip
224.42 KB
13 downloads
filedropmaj.git-8b4cf2a.tar.bz2
134.06 KB
37 downloads
filedropmaj.git-8b4cf2a.zip
180.78 KB
14 downloads
filedropmaj.git-8b7e38d.tar.bz2
138.04 KB
41 downloads
filedropmaj.git-8b7e38d.zip
190.39 KB
70 downloads
filedropmaj.git-8df6e40.tar.bz2
143.11 KB
38 downloads
filedropmaj.git-8df6e40.zip
194.66 KB
18 downloads
filedropmaj.git-8e80c84.tar.bz2
138.18 KB
36 downloads
filedropmaj.git-8e80c84.zip
190.30 KB
14 downloads
filedropmaj.git-8ec0fba.tar.bz2
138.37 KB
39 downloads
filedropmaj.git-8ec0fba.zip
191.39 KB
14 downloads
filedropmaj.git-8f7abf6.tar.bz2
153.36 KB
38 downloads
filedropmaj.git-8f7abf6.zip
211.80 KB
13 downloads
filedropmaj.git-923f11a.tar.bz2
138.14 KB
36 downloads
filedropmaj.git-923f11a.zip
191.03 KB
15 downloads
filedropmaj.git-955e82e.tar.bz2
42.71 KB
35 downloads
filedropmaj.git-955e82e.zip
59.77 KB
14 downloads
filedropmaj.git-95add4a.tar.bz2
151.23 KB
40 downloads
filedropmaj.git-95add4a.zip
205.91 KB
14 downloads
filedropmaj.git-96fe0ba.tar.bz2
137.68 KB
32 downloads
filedropmaj.git-96fe0ba.zip
190.34 KB
13 downloads
filedropmaj.git-99a90ce.tar.bz2
137.82 KB
39 downloads
filedropmaj.git-99a90ce.zip
191.20 KB
16 downloads
filedropmaj.git-9a69bb9.tar.bz2
143.19 KB
39 downloads
filedropmaj.git-9a69bb9.zip
194.70 KB
15 downloads
filedropmaj.git-9b6538e.tar.bz2
151.45 KB
36 downloads
filedropmaj.git-9b6538e.zip
202.15 KB
13 downloads
filedropmaj.git-9c4292d.tar.bz2
132.06 KB
37 downloads
filedropmaj.git-9c4292d.zip
176.93 KB
13 downloads
filedropmaj.git-9c78d40.tar.bz2
137.70 KB
37 downloads
filedropmaj.git-9c78d40.zip
190.49 KB
15 downloads
filedropmaj.git-9f1363f.tar.bz2
43.12 KB
40 downloads
filedropmaj.git-9f1363f.zip
60.31 KB
13 downloads
filedropmaj.git-a16c3eb.tar.bz2
90.22 KB
34 downloads
filedropmaj.git-a16c3eb.zip
128.62 KB
14 downloads
filedropmaj.git-a3aa72d.tar.bz2
153.00 KB
37 downloads
filedropmaj.git-a3aa72d.zip
203.86 KB
16 downloads
filedropmaj.git-a6886e4.tar.bz2
144.69 KB
37 downloads
filedropmaj.git-a6886e4.zip
196.95 KB
13 downloads
filedropmaj.git-a8669dc.tar.bz2
135.60 KB
35 downloads
filedropmaj.git-a8669dc.zip
183.34 KB
14 downloads
filedropmaj.git-a9477f1.tar.bz2
135.59 KB
37 downloads
filedropmaj.git-a9477f1.zip
183.45 KB
14 downloads
filedropmaj.git-aa285db.tar.bz2
151.73 KB
38 downloads
filedropmaj.git-aa285db.zip
210.85 KB
14 downloads
filedropmaj.git-aa6ae87.tar.bz2
135.44 KB
37 downloads
filedropmaj.git-aa6ae87.zip
183.88 KB
14 downloads
filedropmaj.git-ab6bc22.tar.bz2
151.71 KB
33 downloads
filedropmaj.git-ab6bc22.zip
210.84 KB
16 downloads
filedropmaj.git-adef726.tar.bz2
153.48 KB
36 downloads
filedropmaj.git-adef726.zip
212.32 KB
14 downloads
filedropmaj.git-afe5877.tar.bz2
144.73 KB
32 downloads
filedropmaj.git-afe5877.zip
197.01 KB
13 downloads
filedropmaj.git-b2d9f8e.tar.bz2
133.22 KB
35 downloads
filedropmaj.git-b2d9f8e.zip
179.27 KB
13 downloads
filedropmaj.git-b41f320.tar.bz2
151.56 KB
33 downloads
filedropmaj.git-b41f320.zip
209.85 KB
18 downloads
filedropmaj.git-b4432ce.tar.bz2
152.96 KB
34 downloads
filedropmaj.git-b4432ce.zip
203.86 KB
14 downloads
filedropmaj.git-b67b08f.tar.bz2
151.27 KB
36 downloads
filedropmaj.git-b67b08f.zip
206.15 KB
16 downloads
filedropmaj.git-b899831.tar.bz2
143.12 KB
35 downloads
filedropmaj.git-b899831.zip
194.60 KB
14 downloads
filedropmaj.git-b8b49c1.tar.bz2
132.59 KB
33 downloads
filedropmaj.git-b8b49c1.zip
178.90 KB
13 downloads
filedropmaj.git-b9c5bcf.tar.bz2
155.92 KB
34 downloads
filedropmaj.git-b9c5bcf.zip
208.70 KB
12 downloads
filedropmaj.git-bbddb1f.tar.bz2
151.63 KB
33 downloads
filedropmaj.git-bbddb1f.zip
209.92 KB
16 downloads
filedropmaj.git-bcaa744.tar.bz2
146.98 KB
37 downloads
filedropmaj.git-bcaa744.zip
200.79 KB
15 downloads
filedropmaj.git-c1ff9dc.tar.bz2
138.39 KB
38 downloads
filedropmaj.git-c1ff9dc.zip
191.43 KB
97 downloads
filedropmaj.git-c20c4b0.tar.bz2
151.64 KB
35 downloads
filedropmaj.git-c20c4b0.zip
210.79 KB
13 downloads
filedropmaj.git-c37f3f7.tar.bz2
145.45 KB
49 downloads
filedropmaj.git-c37f3f7.zip
198.11 KB
22 downloads
filedropmaj.git-c532394.tar.bz2
146.39 KB
37 downloads
filedropmaj.git-c532394.zip
199.91 KB
15 downloads
filedropmaj.git-c6317a4.tar.bz2
152.01 KB
36 downloads
filedropmaj.git-c6317a4.zip
207.08 KB
13 downloads
filedropmaj.git-c748176.tar.bz2
89.44 KB
34 downloads
filedropmaj.git-c748176.zip
126.35 KB
14 downloads
filedropmaj.git-c9ed81f.tar.bz2
135.56 KB
34 downloads
filedropmaj.git-c9ed81f.zip
183.28 KB
16 downloads
filedropmaj.git-c9f9b80.tar.bz2
138.50 KB
34 downloads
filedropmaj.git-c9f9b80.zip
190.66 KB
15 downloads
filedropmaj.git-ca65b73.tar.bz2
152.69 KB
35 downloads
filedropmaj.git-ca65b73.zip
207.87 KB
15 downloads
filedropmaj.git-cd80b77.tar.bz2
153.12 KB
35 downloads
filedropmaj.git-cd80b77.zip
212.01 KB
12 downloads
filedropmaj.git-cffbb2a.tar.bz2
138.22 KB
33 downloads
filedropmaj.git-cffbb2a.zip
190.28 KB
14 downloads
filedropmaj.git-d061ad7.tar.bz2
55.78 KB
47 downloads
filedropmaj.git-d061ad7.zip
74.39 KB
15 downloads
filedropmaj.git-d0af4d6.tar.bz2
57.28 KB
35 downloads
filedropmaj.git-d0af4d6.zip
78.56 KB
15 downloads
filedropmaj.git-d1caa0a.tar.bz2
144.57 KB
37 downloads
filedropmaj.git-d1caa0a.zip
196.63 KB
14 downloads
filedropmaj.git-d5679b5.tar.bz2
152.37 KB
34 downloads
filedropmaj.git-d5679b5.zip
207.52 KB
15 downloads
filedropmaj.git-d72f459.tar.bz2
147.90 KB
36 downloads
filedropmaj.git-d72f459.zip
201.92 KB
13 downloads
filedropmaj.git-d958c91.tar.bz2
144.67 KB
37 downloads
filedropmaj.git-d958c91.zip
196.88 KB
17 downloads
filedropmaj.git-d96784f.tar.bz2
135.58 KB
36 downloads
filedropmaj.git-d96784f.zip
183.46 KB
12 downloads
filedropmaj.git-da4b73f.tar.bz2
152.62 KB
33 downloads
filedropmaj.git-da4b73f.zip
203.48 KB
13 downloads
filedropmaj.git-dd24240.tar.bz2
138.27 KB
33 downloads
filedropmaj.git-dd24240.zip
190.45 KB
72 downloads
filedropmaj.git-e11e772.tar.bz2
152.09 KB
33 downloads
filedropmaj.git-e11e772.zip
211.33 KB
14 downloads
filedropmaj.git-e61478e.tar.bz2
135.95 KB
37 downloads
filedropmaj.git-e61478e.zip
183.91 KB
14 downloads
filedropmaj.git-e7a2547.tar.bz2
133.80 KB
33 downloads
filedropmaj.git-e7a2547.zip
180.05 KB
16 downloads
filedropmaj.git-e8a3b95.tar.bz2
138.15 KB
37 downloads
filedropmaj.git-e8a3b95.zip
191.04 KB
12 downloads
filedropmaj.git-eac86d5.tar.bz2
155.65 KB
33 downloads
filedropmaj.git-eac86d5.zip
208.28 KB
12 downloads
filedropmaj.git-ed83bf9.tar.bz2
135.16 KB
34 downloads
filedropmaj.git-ed83bf9.zip
182.91 KB
15 downloads
filedropmaj.git-ee50d40.tar.bz2
135.59 KB
36 downloads
filedropmaj.git-ee50d40.zip
183.48 KB
16 downloads
filedropmaj.git-efdb4df.tar.bz2
155.87 KB
36 downloads
filedropmaj.git-efdb4df.zip
208.72 KB
14 downloads
filedropmaj.git-f1554f8.tar.bz2
151.30 KB
37 downloads
filedropmaj.git-f1554f8.zip
206.22 KB
16 downloads
filedropmaj.git-f72a07b.tar.bz2
153.44 KB
37 downloads
filedropmaj.git-f72a07b.zip
212.11 KB
17 downloads
filedropmaj.git-f7ea5a1.tar.bz2
147.46 KB
36 downloads
filedropmaj.git-f7ea5a1.zip
201.32 KB
17 downloads
filedropmaj.git-f8a7353.tar.bz2
138.49 KB
36 downloads
filedropmaj.git-f8a7353.zip
190.66 KB
18 downloads
filedropmaj.git-fb84a8d.tar.bz2
137.61 KB
41 downloads
filedropmaj.git-fb84a8d.zip
190.70 KB
18 downloads
filedropmaj.git-fdcf5d3.tar.bz2
152.34 KB
40 downloads
filedropmaj.git-fdcf5d3.zip
207.53 KB
17 downloads
filedropmaj.git-feca42d.tar.bz2
132.90 KB
39 downloads
filedropmaj.git-feca42d.zip
179.44 KB
20 downloads