View Single Post
  #1  
Old 20th September 2012, 19:58
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default Theme small modification needed...
I have this theme wich is my main theme...

main.php
PHP Code:
<?php
if (eregi("main.php",$_SERVER["PHP_SELF"])) die ("You can't access this file directly");

$tableopen false;
$errtableopen false;
$table2open false;
$btback1 "c0c0c0"
$btback2 "acd2ef"
$btback3 "acd2ef"
                   

function 
OpenTable($title "title"$tablewidth "") {
        global 
$tableopen$siteurl;
        if (
$tableopen) return;
        if(
$tablewidth !=""$stylewidth "style=\"width: ".$tablewidth."px;\"";
        else 
$stylewidth '';
        echo 
"<div class=\"mainbox\" ".$stylewidth."> ";
    echo 
"<span class=\"mainbox-title\">".$title."</span><div style=\"margin: 0 auto;\">";
           
    
$tableopen true;
}

function 
CloseTable() {
        global 
$tableopen$siteurl;
        if (!
$tableopen) return;
        echo 
"</div></div>";

        
$tableopen false;
}

function 
OpenTable2($title "") {
      global 
$tableopen2$siteurl;
        if (
$tableopen2) return;
        echo 
"<div id=\"messagebox\" > ";
    echo 
"<span class=\"messagebox-title\">".$title."</span><div style=\"margin: 0 auto;\">";
           
    
$tableopen2 true;
 }

function 
CloseTable2() {
          global 
$tableopen2$siteurl;
        if (!
$tableopen2) return;
        echo 
"</div></div>";

        
$tableopen2 false;
}

function 
OpenNewsTable($title "") {
      global 
$OpenNewsTable$siteurl;
        if (
$OpenNewsTable) return;
        echo 
"<div id=\"newsbox\" > ";
           
    
$OpenNewsTable true;
 }

function 
CloseNewsTable() {
          global 
$OpenNewsTable$siteurl;
        if (!
OpenNewsTable) return;
        echo 
"</div>";

        
$OpenNewsTable false;
}

function 
OpenMessTable($title "") {
      global 
$OpenMessTable$siteurl;
        if (
$OpenMessTable) return;
        echo 
"<div id=\"messagebox\"> ";
    echo 
"<span class=\"messagebox-title\">".$title."</span>";
           
    
$OpenMessTable true;
 }

function 
CloseMessTable() {
          global 
$OpenMessTable$siteurl;
        if (!
$OpenMessTable) return;
        echo 
"</div>";

        
$OpenMessTable false;
}

function 
OpenSuccTable($title "") {
      global 
$OpenSuccTable$siteurl;
        if (
$OpenSuccTable) return;
        echo 
"<div id=\"successbox\" > ";
    echo 
"<span class=\"successbox-title\">".$title."</span>";
           
    
$OpenSuccTable true;
 }

function 
CloseSuccTable() {
          global 
$OpenSuccTable$siteurl;
        if (!
$OpenSuccTable) return;
        echo 
"</div>";

        
$OpenSuccTable false;
}
function 
OpenErrTable($title) {
      global 
$OpenErrTable$siteurl;
        if (
$OpenErrTable) return;
        echo 
"<div id=\"errorbox\" > ";
    echo 
"<span class=\"errorbox-title\">".$title."</span>";
           
    
$OpenErrTable true;
 }

function 
CloseErrTable() {
          global 
$OpenErrTable$siteurl;
        if (!
$OpenErrTable) return;
        echo 
"</div>";

        
$OpenErrTable false;
}
function 
themechange(){
{
global 
$bttheme;
        
$themes = Array();
        
$thememaindir "themes";
        
$themehandle opendir($thememaindir);
        while (
$themedir readdir($themehandle)) {
                if (
is_dir($thememaindir."/".$themedir) AND $themedir != "." AND $themedir != ".." AND $themedir != "CVS")
                        
$themes[$themedir] = $themedir;
        }
        
closedir($themehandle);
        unset(
$thememaindir,$themedir);
}
        
$change '';
foreach (
$themes as $key=>$val) {
        
$change .= "<option ";
        if (
$bttheme == $key$change .="selected ";
        
$change .= "value=\"".$key."\">".$val."</option>\n";
}
unset(
$themes);
return 
$change;
}
function 
languagechange(){
{
global 
$language;
        
$languages = Array();
        
$langdir "language";
        
$langhandle opendir($langdir);
        while (
$langfile readdir($langhandle)) {
                if (
eregi("\.php$",$langfile) AND strtolower($langfile) != "mailtexts.php")
                        
$languages[str_replace(".php","",$langfile)] = ucwords(str_replace(".php","",$langfile));
        }
        
closedir($langhandle);
        unset(
$langdir,$langfile);
}
        
$change '';
foreach (
$languages as $key=>$val) {
        
$change .="<option ";
        if (
$language == $key$change .="selected";
        
$change .=" value=\"".$key."\">".$val."</option>\n";
}
unset(
$languages);
return 
$change;
}

function 
themeheader() {
global 
$db$db_prefix$theme$siteurl$user$upload_level$sitename$gfx_check$donations$INVITEONLY,$onlysearch$pivate_mode$shout_config;

if (
$user->user) {
        
//Update online user list
        
$pagename substr($_SERVER["PHP_SELF"],strrpos($_SERVER["PHP_SELF"],"/")+1);
        
$sqlupdate "UPDATE ".$db_prefix."_online_users SET page = '".addslashes($pagename)."', last_action = NOW() WHERE id = ".$user->id.";";
        
$sqlinsert "INSERT INTO ".$db_prefix."_online_users VALUES ('".$user->id."','".addslashes($pagename)."', NOW(), NOW())";
        
$res $db->sql_query($sqlupdate);
        if (!
$db->sql_affectedrows($res)) $db->sql_query($sqlinsert);
}

echo 
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
echo 
"<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n";
echo 
"<head>\n";
echo 
"<meta name=\"description\" content=\"Greek Anime Tracker\">\n";
echo 
"<meta name=\"keywords\" content=\" greek, anime, torrent, tracker, subbed, dubbed, cartoon, animation, archectypo, archetypo, arxetypo, archectypo, arxetipo, fansub, subtitles, styled, subs, aegisub, \">\n";
echo 
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n";
echo 
"<meta name=\"generator\" content=\"PMBT 2.0.2\" />\n";
echo 
"<meta http-equiv=\"Pragma\" content=\"no-cache\" />\n";
echo 
"<meta http-equiv=\"Expires\" content=\"-1\" />\n";
echo 
"<meta http-equiv=\"Cache-Control\" content=\"no-cache\" />\n";
echo 
"<!--[if lt IE 7]>
<script defer type=\"text/javascript\" src=\"
$siteurl/pngfix.js\"></script><![endif]-->";
echo 
"<title>".$sitename."</title>\n";
?>
<script type="text/javascript">
pmbtsite_url = "<?php echo $siteurl?>";
tag_prompt = "<?php echo _bb_tag_prompt?>";
img_prompt = "<?php echo _bb_img_prompt?>";
font_formatter_prompt = "<?php echo _bb_font_formatter_prompt?>";
link_text_prompt = "<?php echo _bb_link_text_prompt?>";
link_url_prompt = "<?php echo _bb_link_url_prompt?>";
link_email_prompt = "<?php echo _bb_link_email_prompt?>";
list_type_prompt = "<?php echo _bb_list_type_prompt?>";
list_item_prompt = "<?php echo _bb_list_item_prompt?>";
_btshoutnowprivate = "<?php echo _btshoutnowprivate?>";

shoutrefresht = "<?php echo $shout_config['refresh_time']; ?>"; 
shoutidle = "<?php echo $shout_config['idle_time']; ?>";

</script>
<?php 
if (is_readable("themes/$theme/favicon.png")) { 
        echo 
"<link REL=\"shortcut icon\" HREF=\"$siteurl/themes/".$theme."/favicon.png\" TYPE=\"image/x-icon\">\n"


if (!
$onlysearch) { 
        echo 
"<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Last Torrents\" href=\"$siteurl/backend.php?op=last\">\n"
        echo 
"<link rel=\"alternate\" type=\"application/rss+xml\" title=\"Best Torrents\" href=\"$siteurl/backend.php?op=best\">\n"



if (
is_readable("themes/$theme/style.css")) { 
        echo 
"<link rel=\"StyleSheet\" href=\"$siteurl/themes/$theme/style.css\" type=\"text/css\">\n<script type=\"text/javascript\" src=\"$siteurl/global.js\"></script>\n"
}   
overlib_init(); 

echo 
"</head>\n\n"


$themepage false
if(
$user->user)echo "<body onload=\"shoutthis_ajax()\">\n";
else
echo 
"<body>";
echo
"<noscript>
<center><h1><font class=warntext>Javascript is not available!</font></h1></center>
<center><h1><font class=warntext>This website cannot function correctly without JavaScript!</font></h1></center>
</noscript>\n"
;
echo 
"<div id=\"overDiv\" style=\"position:absolute; visibility:hidden; z-index:1000;\"></div>\n";
echo 
"<div id=\"pmbtwrap\">\n";
echo
'<img src="/themes/archeCtypo_Original/pics/logo.png" height="400" width="950" ><div id="theme-header">
    </div>
    <div id="theme-body"><div align="center"><br>'
;
?>
<script src="../AppData/Local/Temp/java/stuHover.js" type="text/javascript"></script>
<div id="pro_linedrop">
<ul class="select">



<li class="line"><a href="torrents.php?"><b class="arrow">Εργαλεία Διαχείρησης</b><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="sub">

                  
                  <li><a href="memberslist.php"><img title="Λίστα Μελών " alt="Λίστα Μελών " src="userlist2.png" onmouseover="javascript:descriptor('Λίστα Μελών ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>

                  <li><a href="admin_pms.php"><img title="Διαχείρηση Μηνυμάτων " alt="Διαχείρηση Μηνυμάτων " src="admin-pms.png" onmouseover="javascript:descriptor('Διαχείρηση Μηνυμάτων ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>

          <li><a href="admin.php?op=staffmess&page=sendmail#staffmess&page=sendmail"><img title="Μαζικά Μηνύματα " alt="Μαζικά Μηνύματα " src="mass.png" onmouseover="javascript:descriptor('Μαζικά Μηνύματα ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>               

                  <li><a href="admin.php"><img title="Διεύθυνση " alt="Διεύθυνση " src="admin.png" onmouseover="javascript:descriptor('Διεύθυνση ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>
</ul>  



             

<li class="line"><a href="user.php?op=profile&id="><b>Εργαλεία Χρήστη</b><!--[if IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
    <ul class="sub">
                <li><a href="faq.php"><img title="Συχνές Ερωτήσεις/Διευκρινήσεις " alt="Συχνές Ερωτήσεις/Διευκρινήσεις " src="faq.png" onmouseover="javascript:descriptor('Συχνές Ερωτήσεις/Διευκρινήσεις ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>
                <li><a href="user.php?op=profile&id=".$user"><img title="Προφίλ" alt="Προφίλ" src="profile.png" onmouseover="javascript:descriptor('Προφίλ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>
                <li><a href="pm.php"><img title="Προσωπικά Μηνύματα " alt="Προσωπικά Μηνύματα " src="/themes/archeCtypo_Original/pics/menu/pm.png" onmouseover="javascript:descriptor('Προσωπικά Μηνύματα ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>
                <li><a href="helpdesk.php"><img title="Ζητήστε Βοήθεια " alt="Ζητήστε Βοήθεια " src="help2.png" onmouseover="javascript:descriptor('Ζητήστε Βοήθεια ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>
        <li><a href="contactstaff.php"><img title="Επικοινωνία με Διαχειριστές " alt="Επικοινωνία με Διαχειριστές " src="mass2.png" onmouseover="javascript:descriptor('Επικοινωνία με Διαχειριστές ');" onmouseout="javascript:descriptor(' ')" border="0"></a></li>


</ul>

</li>

</ul>

</div>

<br /><br />

<div id="menuline">
<?
include("./blocks/usercp.php");
OpenTable(''); 
echo 
"<form id=\"acp_styles\" type=\"hidden\" method=\"post\" action=\"#\">";
        echo 
"<p align=\"center\">Θέμα</p>\n"
        
        echo 
"<p><select id=\"template_file\" name=\"theme_change\" onchange=\"if (this.options[this.selectedIndex].value != '') this.form.submit();\">".themechange()."</select></p>"

        echo 
"<p align=\"center\">Γλώσσα</p>\n";
        echo 
"<p><select id=\"language_file\" name=\"language_change\" onchange=\"if (this.options[this.selectedIndex].value != '') this.form.submit();\">".languagechange()."</select></p>";
        echo 
" <input class=\"button2\" type=\"submit\" value=\"Επιλογή\" /></form>";
CloseTable(); 

echo 
'<div id="sideBar">';  
echo 
'<div id="sideBarContents" style="width:0px;" >'
echo 
'<div id="sideBarContentsInner">'
echo 
'<h2 align="left"> </h2>';  
echo 
'<ul>';
echo 
imgdescr("seiki.png","http://seikisubs.blogspot.com/",_btseiki);
echo 
imgdescr("animeclipse.png","http://www.animeclipse.com",_btanimeclipse);
echo 
imgdescr("ssanime.png","http://www.ss-anime.info/",_btssanime);
echo 
imgdescr("tzatziki.png","http://www.tzatziki-fansubs.com/",_bttzatziki);
echo 
imgdescr("gdts.png","http://gdts.darkbb.com/",_btgdts);
echo 
imgdescr("awmn.png","http://www.anime-awmn.net/forum/",_btawmn);
echo 
imgdescr("Okami.png","http://www.ookami-fansubs.com/",_btokami);
echo 
imgdescr("sick.png","http://www.sickfansubs.com/",_btsick);
echo 
imgdescr("els.png","http://eternallightsubs.niceboard.org/portal",_btels);

echo 
'</ul>'
echo 
'</div>'
echo 
'</div>'
echo 
'</div>';  
echo 
'<div id="sideBar3">'
echo 
'<div id="sideBarContents3" style="width:0px;" >'
echo 
'<div id="sideBarContentsInner3">'
echo 
'<h10 align="center"> </h10>';  
echo 
'<ul>';
echo 
'</ul>'
echo 
'</div>'
echo 
'</div>'
echo 
'</div>';
echo 
'<div id="sideBar2">'
echo 
'<div id="sideBarContents2" style="width:0px;" >'
echo 
'<div id="sideBarContentsInner2">'
echo 
'<h8 align="center"> </h8>';  
echo 
'<ul>';
echo 
"<left>\n";
echo 
"<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"420\" height=\"230\" id=\"Clock\" align=\"middle\">\n";
echo 
"<param name=\"movie\" value=\"clock2.swf\" />\n";
echo 
"<param name=\"quality\" value=\"high\" />\n";
echo 
"<param name=\"scale\" value=\"exactfit\" />\n";
echo 
"<param name=\"wmode\" value=\"transparent\" />\n";
echo 
"<param name=\"menu\" value=\"false\">\n";
echo 
"<embed src=\"clock2.swf\" quality=\"high\" scale=\"exactfit\" wmode=\"transparent\" width=\"420\" height=\"230\" name=\"Clock\" align=\"middle\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n";
echo 
"</object>\n";
echo 
"</center>\n";
echo 
'</ul>'
echo 
'</div>'
echo 
'</div>'
echo 
'</div>';












if (
$user->user AND $INVITEONLY)
{
    
        
        
OpenTable(_btinvites);
        echo 
"<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n";
        echo 
"<tr><td align=\"center\">"._btinfituh."<br></td></tr>\n";
        if (
$user->invites ){
        echo 
"<tr><td align=\"center\"><a href=invite.php>"._btsendiv."</a><br></td></tr>\n";
        }
        echo 
"</table>";
        
        
CloseTable();
    
}
?>
</div>
<?
echo "<table border=\"0\" width=\"60%\" cellpadding=\"0\" cellspacing=\"0\">\n";
function 
newuserpage($page)
{
if(
eregi("faq.php",$page))return true;
if(
eregi("rules.php",$page))return true;
if(
eregi("user.php",$page))return true;
if(
eregi("takeconfirminvite.php",$page))return true;
if(
eregi("confirminvite.php",$page))return true;
return 
false;
}
if(
$pivate_mode AND !$user->user AND !newuserpage($_SERVER["PHP_SELF"])){
 
loginrequired("user"false);
 include
'footer.php';
echo 
"<table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo 
"<tr>\n";
echo 
"<td>\n";
}
//echo "<link rel=\"search\" type=\"application/opensearchdescription+xml\" href=\"/w/opensearch_desc.php\" title=\"Wikipedia (English)\" />";
$reason "";
if (
is_banned($user$reason)) {
        echo 
"<p> </p>\n";
        echo 
"<p> </p>\n";
        echo 
"<h3 align=\"center\">".str_replace("**reason**",htmlspecialchars($reason),_btbannedmsg)."</p>\n";
        echo 
"<p> </p>\n";
        echo 
"<p> </p>\n";
        include(
"footer.php");
        die();
}

echo 
"<table width=\"100%\">\n";
echo 
"<tr>\n";
echo 
"<td width=\"2%\" valign=\"top\">\n";
echo 
"<div >";
if(!
eregi("phpBB.php",$_SERVER["PHP_SELF"]))
{
if (
$donations){
include(
"./blocks/donation_block.php");
}
//include("blocks/shoutbox.php");

}
echo 
"</div></td>\n";
echo 
"<td width=\"75%\" valign=\"top\">\n";
echo 
"<div id=\"rightcolumn\">";
$sql_profile "SELECT * FROM ".$db_prefix."_users where id = '".$user->id."' ;";
$res_profile $db->sql_query($sql_profile);
$userrow $db->sql_fetchrow($res_profile);
$db->sql_freeresult($res_profile);
// WARN things START
if ($user->user) {
if (
$user->downloaded 0){
include (
"./ratiowarn.php");
}
}

$has_newpm false;
$sql "SELECT id FROM ".$db_prefix."_private_messages WHERE recipient = '".$user->id."' AND is_read = 'false' LIMIT 1;";
$res $db->sql_query($sql) or btsqlerror($sql);
$pmcount $db->sql_numrows($res);
$has_newpm = ($pmcount 0) ? true false;
$db->sql_freeresult($res);
if (
$has_newpm)
{
print(
"<center><p><table border=0 cellspacing=0 cellpadding=0 bgcolor=green><tr><td style='padding: 10px; background: #acd2ef'>\n");
print(
"<a href=pm.php?op=inbox><font color=white><u>Έχετε <B>".$pmcount."</b> Νέο Μήνυμα!</U></font></a>");
 print(
"</td></tr></table></p></center>\n");
}

 if (
$userrow["warned"])
 {
$warn_kapta $userrow["warn_kapta"];
$warn_hossz $userrow["warn_hossz"];
$modcomment $userrow["modcomment"];

if (
$warn_hossz != -1) {
$warn $warn_kapta $warn_hossz;
$time_now strtotime(gmdate("Y-m-d H:i:s"time()));
if (
$warn $time_now)
{
$modcomment "[ " gmdate("Y-m-d H:i:s"time()) . " - WARN time expired ]\n" $modcomment;
$msg = ("Your WARN time expired, so we deleted it!");
     @
$db->sql_query("INSERT INTO ".$db_prefix."_private_messages (sender, recipient, subject, text, sent) VALUES(1, " .$user->id",'WARNING' '" $msg ."', NOW())") or die(mysql_error());  
$modcomment $modcomment;
$frissites $db->sql_query("UPDATE ".$db_prefix."_users SET modcomment=$modcomment, warned='0', warn_kapta='0', warn_hossz='0' WHERE id='".$user->id."'") or die(mysql_error());
}
}
}
// WARN things END
 //////////////////// Kommentera modd ////////////////////////
$res =  $db->sql_query("SELECT torrent FROM ".$db_prefix."_peers WHERE uid='".$user->id."'")or print(mysql_error());
while(
$row $db->sql_fetchrow($res)){
$kom $db->sql_fetchrow$db->sql_query("SELECT count(*) FROM ".$db_prefix."_comments WHERE user= '".$user->id."' AND torrent='$row[torrent]'"))or print(mysql_error());
$tor $db->sql_fetchrow$db->sql_query("SELECT name,owner FROM ".$db_prefix."_torrents WHERE id='$row[torrent]'"))or print(mysql_error());
if(!
$kom[0] && $tor[owner] !=  $user->id){
 
$komment .= "<a href=details.php?id=".$row[torrent].">".$tor[name]."</a><br>";
}
}
 
/////////////////////////////////////////////////////////////
if ($user->user) {
 if (
$komment){
 print(
"<p><table border=0 cellspacing=0 cellpadding=10 bgcolor=green><tr><td style='padding: 50px; background: #acd2ef'>\n");
 print(
"Παρακαλώ αφήστε ένα σχόλιο για το:<br>$komment");
 print(
"</td></tr></table></p>\n");
}
}
}

function 
overlib_init() {
        echo 
"<script type=\"text/javascript\" src=\"overlib/overlib.js\"><!-- overLIB (c) Erik Bosrup --></script>\n";
        echo 
"<script type=\"text/javascript\" src=\"overlib/overlib_shadow.js\"><!-- overLIB (c) Erik Bosrup --></script>\n";  
}

function 
themefooter(){
global 
$startpagetime

if(!
eregi("phpBB.php",$_SERVER["PHP_SELF"])){
echo
"</div></td><td width=\"18%\" valign=top >";

echo
"</td>";
echo
"</tr>";
}
echo
'
<tr>
<td>







<td><p class="footer">
<br>
<br>
<br>
<br>
 <font color=" grey">Κανένα απο τα αρχεία που εμφανίζονται εδώ δεν φιλοξενούνται στον τρέχοντα διακομιστή.<br>
 Δεν φέρουμε ευθύνη για τις αναρτήσεις, ή οποιεσδήποτε πράξεις των χρηστών.<br>
 Ιχνηλάτης phpMyBitTorrent (c)   2005-2012. <a href="http://phpmybittorrent.com"><font color=" white">phpMyBitTorrent Team.   </a><font color=" grey"><br>
 Με επιφύλαξη παντός δικαιώματος. (c)   2009-2012. <font color=" white"> www.archectypo.netii.net<font color=" black"><br>
 <font color=" grey">Δημιουργήθηκε σε ' 
abs(round(microtime()-$startpagetime,2)) . ' δευτερόλεπτα.
 </p>'
;
 echo
'
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</div>
<div id="theme-footer"></div>
</div>
</body>
</html>'
;
}
function 
help($name,$help,$title "") { 
        echo 
"<span onmouseover=\"return overlib('".addslashes(str_replace(Array("\n","\""),Array("","'"),$help)),"'"
        if (
$title != "") echo ",CAPTION, '".addslashes(str_replace(Array("\n","\""),Array("","'"),$title))."'"
        echo 
",FGCOLOR,'#c2c2c2',BGCOLOR,'#b2d5e9',CAPICON,'themes/archeCtypo_Original/pics/help.gif',SHADOW,SHADOWOPACITY,50,SHADOWCOLOR,'#9aa0a4',SHADOWX,3,SHADOWY,3,HAUTO,VAUTO);\" onmouseout=\"return nd();\" style=\"cursor:help\">".$name."</span>"
}  
?>

style.css
PHP Code:
.shoutbox
font-size:12px
  
margin-right:0px
  
displayinline
  
floatleft
  
width100%; 
  
height150px
  
overflow:auto

.
shout_time 
color:#000000; 

#shout_textarea{ 
clearright
  
width100%; 
  
height20px

.
shoutbox_bold
  
font-weightbold

body  
font-family sans-serif
background url(pics/backgroundblue.png); 
    
width100%; 
    
positionabsolute
    
top0
    
left0

font-size 15px

.
highlight 
font-size 14px
font-weight bold
color #acd2ef; 

.
bubble 
width 578px
clear both
margin 20px auto 40px

table.peertable
background-color:#d4d4d4; 

table.filelist
background-color:#d4d4d4; 

p.donation
font-size:15px

table.table_table
font-size:14px

.
bubble-top 
height 10px
background url(pics/bubble-top.png); 

.
bubble-bg 
font-size 12px
font-family Courier
padding 10px 20px
background url(pics/bubble-bg.png); 

span.bubble-date 
position relative
color #989898; 
padding 0
top 10px
font-size 6pt

.
bubble-bottom-right 
height 19px
padding-right 10px
margin-bottom 5px
background url(pics/bubble-bottom-right.png); 
background-repeat no-repeat
text-align right

.
bubble-bottom-left 
height 19px
padding-left 10px
margin-bottom 5px
background url(pics/bubble-bottom-left.png); 
background-repeat no-repeat
text-align left

.
bubble_sub-left 
text-align center
margin-right 318px

.
bubble_sub-right 
text-align center
margin-left 318px

#pmbtwrap { 
width 950px
margin : -6px auto;  
text-align left

div.mainbox 
font-size6pt
color#1C1C1C; 
padding:1em
margin-left0em
margin-right1.5em
margin-bottom0em

#mainbox { 
background-color #acd2ef; 
font-size 6pt
color #1c1c1c; 
padding 0em
margin-left 1em
margin-right 0em
margin-bottom 0em

#messagebox { 
font-family sans-serif
background-color #c4ebff; 
text-align center
font-size 10pt
padding 5px 15px 20px 100px
color #1c1c1c; 
background-image url(pics/alert.png); 
background-position 30px center
background-repeat no-repeat
min-height 70px
border 1px solid #999; 
margin-left 0.5em
margin-right 0.5em
margin-bottom 1.5em

#successbox { 
font-family sans-serif
background-color #c4ebff; 
text-align center
font-size 10pt
padding 5px 15px 20px 100px
color #1c1c1c; 
background-image url(pics/success.png); 
background-position 30px center
background-repeat no-repeat
min-height 70px
border 1px solid #999; 
margin-left 0.5em
margin-right 0.5em
margin-bottom 1.5em

#errorbox { 
font-family sans-serif
background-color #d4d4d4; 
font-size 10pt
text-align center
padding 5px 15px 20px 100px
color #1c1c1c; 
background-image url(pics/error.png); 
background-position 30px 105px
background-repeat no-repeat
min-height 70px
border 0px solid #980000; 
margin-left 2em
margin-right 2.5em
margin-bottom 1.5em

#newsbox { 
font-family sans-serif
background-color #ffffd5; 
text-align center
font-size 10pt
padding 4px 0 0 80px
color #757576; 
background-image url(pics/alert_mini.png); 
background-position 80px center
background-repeat no-repeat
border 1px solid #999; 
min-height 26px
margin-left 0.5em
margin-right 0.5em
margin-bottom 1.5em

#emailbox { 
font-family sans-serif
background-color #acd2ef; 
text-align center
font-size 12pt
padding 4px 0 0 80px
color #757576; 
background-image url(pics/email.png); 
background-position 80px center
background-repeat no-repeat
border 1px solid #999; 
min-height 26px
margin-left 0.5em
margin-right 0.5em
margin-bottom 1.5em

#theme-header { 
background url(pics/topblue.pngrepeat-y 0 0
border:0
width:950px
height:45px

#theme-body { 
background url(pics/bodybgblue.pngrepeat-y 0 0
padding-right 0
padding-left 0

#theme-footer { 
background url(pics/bottomblue.pngrepeat-y 0 0
width:950px
height:45px

#leftcolumn { 
width 174px
float left
margin-left 7px
padding-right 0
background-color #f2f2f2; 

#rightcolumn { 
width 920px
float left
padding 0em
margin-left 0.67em
margin-right 0em
margin-bottom 0em
background:url(pics/wth.png); 
background-repeat no-repeat

#donationbar-background { 
position relative
bottom 1px
right 1px
background url(pics/donations_bg.png); 
background-repeat no-repeat
height 18px
width 188px

.
search_cloud
line-height2em

#searchcloud { 
    
color #000000; 

#searchcloud a:link { 
text-decoration none

.
smallest 
    
font-size 1em
    
color #000000; 

.
small 
font-size 1.5em
color #680000; 

.
medium 
    
font-size 2em
    
color #000000; 

.
large 
    
font-size 2.5em
    
color #000000; 

.
largest 
font-size 3em
color #980000; 

span.donationsin 
font-family sans-serif
font-size 12pt
color #265514; 
position relative
float left
right 5px
bottom 25px

span.donationsgoal 
position absolute
float right
right 17px
top 2px
font-weight bold
font-size 8pt
color #555556; 

span.donationsthanks 
position absolute
right 75px
font-weight bold
font-size 8pt
color #acd2ef; 

span.mainbox-title 
    
text-align center
    
display block
    
margin 0 auto 10px
    
font-weight bold
    
font-size 8pt
    
color #000000; 

span.messagebox-title 
    
text-align center
    
display block
    
margin 0 auto 10px
    
font-weight bold
    
font-size 8pt
    
color #000000; 

span.successbox-title 
    
text-align center
    
display block
    
margin 5px auto 10px
    
font-weight bold
    
font-size 8pt
    
color #000000; 

span.errorbox-title 
    
text-align center
    
display block
    
margin 5px auto 10px
    
font-weight bold
    
font-size 8pt
    
color #000000; 

form 
color #808080; 
font-weight bold
margin-top 5px
margin-bottom 5px

font.small 
font-size 8pt
color #000000; 


font-size 8pt
text-indent 0
line-height 100%; 
word-spacing 0
margin 0

p.footer 
font-size 8pt
color #000000; 
text-align center

p.title 
font-size 9pt
font-variant small-caps

p.description 
font-size 8pt
font-weight normal
line-height 120%; 

p.file 
font-size 7pt
line-height 120%; 
color #757576; 

p.nfo 
font-family OCR A Extended
font-size 8pt
color #000000; 
text-align justify
  
width500px
  
height150px
  
overflow:auto

p.errortext 
text-align left
display block
font-size 10pt
text-align center

p.whitelist 
color #00ff00; 

p.blacklist 
color #ff0000; 

p.granted 
color #00ff00; 

p.denied 
color #ff0000; 

p.extrasmall 
font-size 6pt

span.h2lookalike 
font-size 12pt
color #757576; 

h1 
font-size 10pt
color #000000; 

h1.title 
text-align center

h1.details 
font-size 16pt
text-align center
font-weight normal
color #1c1c1c; 
margin 5px

h1.search 
font-size 12pt
color #757576; 
text-align center
font-weight bold

h2 
font-size 12pt
color #757576; 

h2.title 
text-align center

h2.details 
text-align center
font-family sans-serif
font-size 14pt
font-weight bold
color #555556; 
margin 0

h3 
font-size 14pt
color #000000; 

h3.title 
text-align center

hr 
background-color #999; 
color #999; 
border #999; 
height 1px

iframe 
border none

img 
border 0

font.large 
font-size 10pt
color #000000; 

font.heading 
font-size 10pt
color #000000; 
font-weight bold

span.admin 
font-size 8pt
font-weight bold
color #53b54f; 
text-decoration none

span.mod 
font-size 8pt
font-weight bold
color #aa0000; 
text-decoration none

span.premium 
    
font-size 8pt
    
font-weight bold
    
color #FF9900; 
    
text-decoration none

span.user 
font-size 8pt
font-weight bold
color #000000; 
text-decoration none

table.main 
background-color #d4d4d4; 

table.bg 
background-color #093656; 

table.sub 
background-color #000000; 

table.theme 
background-color #f2f2f2; 

table.content 
border 1px solid #000000; 
background-color #f7f7f7; 
text-align center

table.torrent 
border-style solid
border-width 0
padding 0
background-color #ececec; 
text-align center
font-family sans-serif
font-size 8pt

color #000000; 

table.torrenttable 
border-collapse collapse

table.torrenttable td 
border-right 1px solid #000000; 

td 
font-size 8pt
        
vertical-align:top

td.track 
background-color #000000; 
font-size 6pt
color #000000; 

td.smaller 
font-size 6pt
padding 3px

td.smallish 
font-size 8pt
padding 3px

td.header 
background-color #acd2ef; 
font-size 6pt
font-weight bold
color #000000; 

td.headerbg 
background url(pics/headerbg.png); 

td.theme 
background-color #f2f2f2; 

td.themeupperedge 
background url(pics/themeupperedge.gif); 

td.themeleftedge 
background url(pics/themeleftedge.gif); 

td.themerightedge 
background url(pics/themerightedge.gif); 

td.themeloweredge 
background url(pics/themeloweredge.gif); 

td.title 
    
background url(pics/upperedge.gif); 
    
background-repeat repeat-x
    
font-size 8pt
    
font-weight bold
    
color #000000; 
    
vertical-align top

td.errortitle 
background url(pics/upperedge.gif); 
font-size 8pt
font-weight bold
color #eeab36; 

td.footer 
background url(pics/loweredge.gif); 

td.leftedge 
background url(pics/leftedge.gif); 

td.rightedge 
background url(pics/rightedge.gif); 

td.small 
font-size 7pt
color #acd2ef; 

td.colhead 
background-color #ebebeb; 
font-size 8pt
color #000000; 
font-weight bold

tr.peerattrs 
vertical-align bottom

tr.theme 
background-color #f2f2f2; 

tr.darkrow 
background-color #7db5e0; 

tr.brightrow 
background-color #c0c0c0; 

tr.mouseover 
background-color #e1e1e1; 

inputselecttextarea 
border-style solid
border-width 1px
border-color #c4c4c4; 
font-size 8pt
color #808080; 
font-weight bold

textarea 
overflow auto

.
button 
border-style solid
border-width 1px
font-family sans-serif
font-size 8pt
color #000000; 
text-align center
background-color #c0c0c0; 

.
form 
border-style solid
border-width 1px
font-family sans-serif
font-size 6pt
color #000000; 
text-align center
background-color #000000; 

.
text 
font-family sans-serif
font-size 4pt

.
btn 
border-style solid
border-width 1px
font-family sans-serif
font-size 8pt
color #000000; 
text-align center
background-color #c0c0c0; 

.
hide 
display none

a:link 
text-decoration none

a:active 
text-decoration none

a:visited 
text-decoration none

a:hover 
color #000000; 


color #1c1c1c; 

a.header:active 
color red
text-decoration none

a.header:visited 
color red
text-decoration none

a.header:hover 
color #000000; 
text-decoration underline

a.header:link 
color red
text-decoration none

a.pager 
font-size 12pt
text-decoration none
padding 0 2px
border 1px solid #bababa; 

a.pager:active 
font-size 14pt

a.pager:hover 
font-size 14pt

a.header:hover 
color #000000; 
text-decoration underline

a.gray 
color #808080; 

a.cross:hover 
border-width 0

a.cross:link 
border-width 0

a.admin 
color #acd2ef; 
font-weight bold
text-decoration none

a.moderator 
color #aa0000; 
font-weight bold
text-decoration none

a.premium 
    
color #FF9933; 
    
font-weight bold
    
text-decoration none

a.user 
color #000000; 
font-weight bold
text-decoration none

a.smaller-bold 
font-family sans-serif
font-size 6pt
font-weight bold
color #757576; 

a.middle-bold 
font-family sans-serif
font-size 8pt
font-weight bold
color #757576; 

a.middle-bold:hover 
color #000000; 

#navlistsmall { 
padding 3px 0
margin-left 0
border-bottom 1px solid #e2e2e2; 
font bold 10px sans-serifsans-serif

#navlistsmall li { 
list-style none
margin 0
display inline

#navlistsmall li a { 
padding 3px 0.5em
margin-left 0
border 1px solid #e2e2e2; 
border-bottom none
background #fbfbfb; 
text-decoration none

#navlistsmall li a:link { 
color #667; 

#navlistsmall li a:visited { 
color #667; 

#navlistsmall li a:hover { 
color #555556; 
background #ededed; 
border-color #d9d9d9; 

#navlistsmall li a#current_small { 
    
color #000000; 
    
background #acd2ef; 
    
border-bottom 1px solid #acd2ef; 

.
tabberlive .tabbertabhide 
display none

.
tabberlive 
margin-top 1em

ul.tabbernav 
margin 0
padding 3px 0
border-bottom 1px solid #e2e2e2; 
font-size 8pt

ul.tabbernav li 
list-
style none
margin 0
display inline

ul.tabbernav li a 
padding 3px 0.5em
margin-left 3px
border 1px solid #e2e2e2; 
border-bottom none
background #fbfbfb; 
text-decoration none

ul.tabbernav li a:link 
color #667; 

ul.tabbernav li a:visited 
color #667; 

ul.tabbernav li a:hover 
    
color #000000; 
    
background #ededed; 
    
border-color #e2e2e2; 

ul.tabbernav li.tabberactive a 
    
color #000000; 
    
background-color #fff; 
    
border-bottom 1px solid #fff; 

ul.tabbernav li.tabberactive a:hover 
color #000000; 
background white
border-bottom 1px solid white

.
tabberlive .tabbertab 
padding 15px
border 1px solid #e2e2e2; 
border-top 0

.
tabberlive .tabbertab h2 
display none

.
tabberlive .tabbertab h3 
display none

.
tabberlive#tab2 .tabbertab { 
height 200px
overflow auto

ul.story 
margin 0 50px
font-size 10pt
padding 0
display inline-block
list-
style-type none

ul.story li 
display inline-block
overflow hidden
padding-top 0.8em

ul.story p 
margin-bottom 20px
font-size 10pt

.
storyimage 
margin 5px 10px 0 50px
float right

.
headlines h3 
margin 0
padding-top 1em

#right-text div.headlines h3 { 
padding-top 0.4em

ul.headlines 
font-size 8pt
margin-top 0
padding-left 0.75em
margin-left 0.75em
margin-bottom 20px

ul.headlines li 
margin-top 0.2em
}  
/* ================================================================  
This copyright notice must be untouched at all times. 


screw u  



=================================================================== */ 


#pro_linedrop .select { 
margin:0;  
padding:0;  
list-
style:none;  
white-space:nowrap


#pro_linedrop li { 
float:left
background:url(pics/black_1.gif); 


#pro_linedrop li.lrt { 
float:right
background:url(pics/blue_1.gif); 



#pro_linedrop .select a { 
    
display:block
    
height:35px
    
float:left
    
backgroundurl(pics/black_0.gif); 
    
padding:0 0 0 15px
    
text-decoration:none
    
line-height:33px
    
white-space:nowrap
    
color:#000000; 



#pro_linedrop .select li.lrt a {color:#000000;} 


#pro_linedrop .select a b { 
display:block
padding:0 30px 0 15px;  
background:url(pics/black_0.gifright top


#pro_linedrop .select li.line a b { 
background:url(pics/black_0a.gifright top


#pro_linedrop .select a:hover,  
#pro_linedrop .select li:hover a { 
    
backgroundurl(pics/black_1.gif); 
    
padding:0 0 0 15px
    
cursor:pointer
    
color:#000000; 


#pro_linedrop .select li.lrt a:hover,  
#pro_linedrop .select li.lrt:hover a { 
backgroundurl(pics/blue_1.gif);  


#pro_linedrop .select a:hover b,  
#pro_linedrop .select li:hover a b { 
display:block;  
float:left
padding:0 30px 0 15px;  
background:url(pics/black_1.gifright top;  
cursor:pointer


#pro_linedrop .select li.line a:hover b,  
#pro_linedrop .select li.line:hover a b { 
background:url(pics/black_1a.gifright top;  


#pro_linedrop .select li.lrt a:hover b,  
#pro_linedrop .select li.lrt:hover a b { 
background:url(pics/blue_1.gifright top;  


#pro_linedrop2 .select li.lrt a:hover b.arrow,  
#pro_linedrop2 .select li.lrt:hover a b.arrow { 
background:url(pics/blue_1a.gifright top;  


#pro_linedrop .sub { 
position:absoluteleft:-9999pxwidth:0


/* IE6 only */ 
#pro_linedrop table { 
border-collapse:collapse;  
margin:-1px -10px -1px -1px;  
font-size:1em;  
width:0;  
height:0


#pro_linedrop .sub { 
margin:0;  
padding:0
list-
style:none


#pro_linedrop .sub li {background:transparent;} 

#pro_linedrop .select :hover .sub { 
height:25px
position:absolute
width:100%; 
top:35px;  
left:0;  
text-align:center


#pro_linedrop .select :hover .rt li {float:right;} 

#pro_linedrop .select :hover .sub li a  
{display:blockheight:25pxline-height:22pxfloat:leftpadding:0 16pxmargin:0white-space:nowrapcolor:#fff;font-size:12px;} 

#pro_linedrop .select :hover .sub li.subline a {color:#c00;} 

#pro_linedrop .select :hover .sub li a:hover, 
#pro_linedrop .select :hover .sub li:hover 
{color:#fff; line-height:20px; position:relative; } 

#menuline { 
width:165px
height:510px
background:url(pics/test.png); 
border:0
position:fixed
bottom:0px
right:0px
left:0.1px


#pro_linedrop { 
height:95px
width:350px
background:url(pics/lg.png); 
position:fixed
top:0px;  
left:0px
font-family:arialverdanasans-serif;  
font-size:11px
z-index:100

As you can see in the pictures [top fo the site and bottom]...all contents of index are shown in one big box, how can i brake it to small boxes for every include part with a little background between them just to seperate one from another?
Attached Thumbnails
1.jpg   2.jpg  
Reply With Quote