Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 21st July 2013, 02:09
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default latest_images.php
Hello i modded a little my latest images, so it shows the way i wanted but i have a small problem. As you can see it shows the pictures i defined in the torrent's description but i want to change the background colour, what should i add and where? i "played" a bit with the script...but i did not succed it...any help?

PHP Code:
<?php

if (!defined('IN_PMBT')) die ("You can't access this file directly");

OpenTable("Τελευταίες Προσθήκες:");


    
$news $db->sql_query("SELECT id, name, added, post_img FROM ".$db_prefix."_torrents WHERE banned = 'no' AND visible='yes' ORDER BY ".$db_prefix."_torrents.id DESC LIMIT 5")or sqlerr(__FILE____LINE__);

    if (
$db->sql_numrows($news) > 0) {

        print(
"<marquee scrollamount=\"1\" onmouseover=\"this.scrollAmount=0\" onmouseout=\"this.scrollAmount=1\" scrolldelay=\"0\" direction=\"right\"><table align=center cellpadding=0 cellspacing=0 width=100% border=0>\n<tr>\n");

        while (
$row2 $db->sql_fetchrow($news)) {
            
$tor $row2['0'];

            
$altname $row2['1'];
            
$orderby "ORDER BY ".$db_prefix."_torrents.id DESC"//Order
            
$limit "LIMIT 5"//Limit
            
$where "WHERE banned = 'no' AND visible='yes' AND ".$db_prefix."_torrents.id='$tor'";
            
$res $db->sql_query("SELECT ".$db_prefix."_torrents.id, ".$db_prefix."_torrents.seeders, ".$db_prefix."_torrents.leechers, ".$db_prefix."_torrents.post_img, ".$db_prefix."_torrents.screen1, ".$db_prefix."_torrents.screen2, ".$db_prefix."_torrents.screen3, ".$db_prefix."_torrents.screen4, ".$db_prefix."_torrents.added, ".$db_prefix."_torrents.comments, ".$db_prefix."_categories.name AS cat_name FROM ".$db_prefix."_torrents LEFT JOIN ".$db_prefix."_categories ON ".$db_prefix."_torrents.category = ".$db_prefix."_categories.id $where  $orderby $limit")or sqlerr(__FILE____LINE__);
            
$row $db->sql_fetchrow($res);
            
$cat $row['cat_name'];
            
$seed =$row['seeders'];
            
$comments =$row['comments'];
            
$leech =$row['leechers'];
                
$dispname htmlspecialchars($row2["name"]);
                
$dispname str_replace("_"" "$dispname);
                
$dispname str_replace("."" "$dispname);

                        
$simg1 $row['screen1'];
                        
$simg2 $row['screen2'];
                        
$simg3 $row['screen3'];
                        
$simg4 $row['screen4'];
                        
$show2 = ($simg2 != '')? ($simg2 != 'NULL')?"<td><img src=$simg2 height='160' width=250 border=0></td>" '' :'';
                        
$show3 = ($simg3 != '')? ($simg3 != 'NULL')? "<td><img src=$simg3 height='160' width=250 border=0></td>" '' '' ;
                        
$show4 = ($simg4 != '')? ($simg4 != 'NULL')? "<td><img src=$simg4 height='160' width=250 border=0></td>" '' '' ;

                        
$img1 "<b>" $dispname "</b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='120' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><tr><td><img src=$simg1 width=250 border=0></td><td><img src=$simg2 width=250 border=0><img src=$simg3 width=250 border=0><img src=$simg4 width=250 border=0></td></tr></table>', CENTER, HEIGHT, 250, WIDTH, 300);\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες</font> $seed</b><br> <font color=\"red\"><b>Αποδέκτες</font> $leech </b><br>";
                        
$img2 "<b>" $dispname "</b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='120' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><br><br><br><br><tr><td><center><font color=red size=4><b>Sorry no screens available</b></font></center></td></tr></table>', CENTER, HEIGHT, 250, WIDTH, 300);\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες</font> $seed</b><br> <font color=\"red\"><b>Αποδέκτες</font> $leech </b><br>";
            if (
$row["post_img"] != ""){
                        if (
$row["screen1"]!=''){
                print(
"<td style=\"text-align: center;\" >"$img1 ."<BR>\n</td>\n");
                        }else{
                                print(
"<td style=\"text-align: center;\" >"$img2 ."<BR>\n</td>\n");
                         }
            }
                     
        }

        print(
"</tr></table></marquee>");
}
CloseTable();              
?>
Attached Thumbnails
21-7-2013 3-06-58 ??.png  
Reply With Quote
  #2  
Old 21st July 2013, 02:39
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Look at your stylesheet
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #3  
Old 21st July 2013, 03:05
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
i looked at my style's style.css, nothing...
tell me if you may what to change or add..


this is my style.css:

PHP Code:
/*
*----------------------------phpMyBitTorrent V 2.0-----------------------------*
*--- The Ultimate BitTorrent Tracker and BMS (Bittorrent Management System) ---*
*--------------   Created By Antonio Anzivino (aka DJ Echelon)   --------------*
*-------------               http://www.p2pmania.it               -------------*
*------------ Based on the Bit Torrent Protocol made by Bram Cohen ------------*
*-------------              http://www.bittorrent.com             -------------*
*------------------------------------------------------------------------------*
*------------------------------------------------------------------------------*
*--   This program is free software; you can redistribute it and/or modify   --*
*--   it under the terms of the GNU General Public License as published by   --*
*--   the Free Software Foundation; either version 2 of the License, or      --*
*--   (at your option) any later version.                                    --*
*--                                                                          --*
*--   This program is distributed in the hope that it will be useful,        --*
*--   but WITHOUT ANY WARRANTY; without even the implied warranty of         --*
*--   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          --*
*--   GNU General Public License for more details.                           --*
*--                                                                          --*
*--   You should have received a copy of the GNU General Public License      --*
*--   along with this program; if not, write to the Free Software            --*
*-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA --*
*--                                                                          --*
*------------------------------------------------------------------------------*
*------              ©2005 phpMyBitTorrent Development Team              ------*
*-----------               http://phpmybittorrent.com               -----------*
*------------------------------------------------------------------------------*
*-----------------   Sunday, September 14, 2008 9:05 PM   ---------------------*
*/
* {
    
/* Reset browsers default margin, padding and font sizes */
    
margin0;
    
padding0;
}

html {
    
font-size100%;
}
.
shoutbox{
font-size:12px;
  
margin-right5px;
  
displayinline;
  
floatleft;
  
width100%;
  
height150px;
  
overflow:auto;
}
.
shout_time {
color:#FF0000;
}
#shout_textarea{
clearright;
  
width100%;
  
height20px;
}

.
shoutbox_bold{
  
font-weightbold;
}
body {
    
/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
    
font-family"Lucida Grande"VerdanaHelveticaArialsans-serif;
    
color#FFF;
    
background#242424 url(pics/body.gif)!important;
    
font-size10px;
    
margin0;
    
padding0 5px;
}
.
highlight {
font-size 14px;
font-weight bold;
color #0000cc;
}
.
bubble {
width 578px;
clear both;
margin 20px auto 40px;
}
.
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 10px auto;
/*margin:'margin-top' 'margin-right' 'margin-bottom' 'margin-left'*/
text-align left;
}
div.mainbox {
    
background-color:#ffffff;
    
font-size6pt
    
/*font-weight:bold;*/
    
    
color#1C1C1C;
    /* background-image:url(/img/bg.jpg); */
    
border:1px solid #999;
    
padding:1em;
    
margin-left1em;
    
margin-right0.5em;
    
margin-bottom1.5em;
    -
moz-border-radius:8px;}
caption 
    
margin0
    
padding0;
    
backgroundurl(pics/hdr_mid.giftop left repeat-x;
    
white-spacenowrap;
    
height27px;
    
text-aligncenter;
}
.
tablebg {
    
bordersolid 1px #000; 
    
background#313131 url(pics/cell.gif) top left repeat-x;
}
.
cap-left {
    
backgroundurl(pics/hdr_left.giftop left no-repeat;
}
.
cap-right {
    
backgroundurl(pics/hdr_right.giftop right no-repeat;
    
padding-top8px;
    
height19px;
}
.
row1, .row2, .row3, .legend, .forumrulestr.row1 .rowtr.row2 .rowtr.row3 .row, .postbottom {
    
border-leftsolid 1px #404040;
    
border-rightsolid 1px #121212;
    
border-topsolid 1px #3C3C3C;
    
border-bottomsolid 1px #131313;
    
background#313131 url(pics/cell.gif) top left repeat-x;
    
padding4px;
}
.
cat {
    
height24px;
    
padding0 3px;
    
border-leftsolid 1px #404040;
    
border-rightsolid 1px #c;
    
border-topsolid 1px #3C3C3C;
    
border-bottomsolid 1px #131313;
    
background#2C2C2C url(pics/cathead.gif) top left repeat-x;
    
text-indent4px;
}
#mainbox {
background-color #ffffff;
font-size 6pt;
color #1c1c1c;
border 1px solid #999;
padding 1em;
margin-left 1em;
margin-right 0.5em;
margin-bottom 1.5em;
}
#messagebox {
font-family sans-serif;
background-color #313131;
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 #313131;
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 #313131;
font-size 10pt;
text-align center;
padding 5px 15px 20px 100px;
color #1c1c1c;
background-image url(pics/error.png);
background-position 30px center;
background-repeat no-repeat;
min-height 70px;
border 1px solid #980000;
margin-left 1em;
margin-right 0.5em;
margin-bottom 1.5em;
}
#newsbox {
font-family sans-serif;
background-color #313131;
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 #313131;
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 {
height 20px;
clear both;
background url(pics/topblue.pngrepeat-y 0 0;
}
#theme-body {
background url(pics/bodybgblue.pngrepeat-y 0 0;
padding-right 0;
padding-left 0;
}
#theme-footer {
height 20px;
background url(pics/bottomblue.pngrepeat-y 0 0;
}
#leftcolumn {
width 174px;
float left;
margin-left 7px;
padding-right 0;
}
#rightcolumn {
width:100%;
float left;
padding-left 0;
padding-right 0;
}
#donationbar-background {
position relative;
bottom 1px;
right 1px;
background url(pics/donations_bg.png);
background-repeat no-repeat;
height 18px;
width 188px;
}
#searchcloud {
color #980000;
}
#searchcloud a:link {
text-decoration none;
}
.
smallest {
font-size 1em;
color #580000;
}
.
small {
font-size 1.5em;
color #680000;
}
.
medium {
font-size 2em;
color #780000;
}
.
large {
font-size 2.5em;
color #880000;
}
.
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 #ffffff;
}
span.mainbox-title {
text-align center;
display block;
margin 0 auto 10px;
font-weight bold;

font-size 8pt;
color #980000;
}
span.messagebox-title {
text-align center;
display block;
margin 0 auto 10px;
font-weight bold;
font-size 8pt;
color #980000;
}
span.successbox-title {
text-align center;
display block;
margin 5px auto 10px;
font-weight bold;
font-size 8pt;
color #980000;
}
span.errorbox-title {
text-align center;
display block;
margin 5px auto 10px;
font-weight bold;
font-size 8pt;
color #980000;
}
form {
color #808080;
font-weight bold;
margin-top 5px;
margin-bottom 5px;
}
font.small {
font-size 8pt;
color #000000;
}
{
    
font-size1.1em;
}
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.nfo {
background-color:#999999;
font-family OCR A Extended;
font-size 8pt;
color:#FFFFFF;
text-align justify;
width700px;
height300px;
overflow:auto;
}
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;
}
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 #aa0000;
text-decoration none;
}
span.mod {
font-size 8pt;
font-weight bold;
color #53b54f;
text-decoration none;
}
span.premium {
font-size 8pt;
font-weight bold;
color #cecc46;
text-decoration none;
}
span.user {
font-size 8pt;
font-weight bold;
color #000000;
text-decoration none;
}
table.main {
background-color #2C2C2C;
}
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 #ffffff;
}
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 #ffffff;
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 #980000;
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 #ffffff;
}
td.colhead {
    
background#313131 url(pics/cell.gif) top left repeat-x;
font-size 8pt;
color #000000;
font-weight bold;
}
tr.peerattrs {
vertical-align bottom;
}
tr.theme {
background-color #f2f2f2;
}
tr.darkrow {
background-color #191919;
}
tr.brightrow {
background-color #242424;
}
tr.mouseover {
background-color #e1e1e1;
}
inputselecttextareafilebrowse {
    
font-weightnormal;
    
font-family"Lucida Grande"VerdanaHelveticasans-serif;
    
color#D0D0D0;
    
border1px solid #2370B6;
    
background-color#222;
}
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 12pt;
}
.
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:active,
a:visited {
    
color#2370B6;
    
text-decorationnone;
}

a:hover {
    
color#F0E80A;
    
text-decorationunderline;
}
{
    
color#2370B6;
    
text-decorationnone;
}
a.header:active {
color red;
text-decoration none;
}
a.header:visited {
color red;
text-decoration none;
}
a.header:hover {
color #d46400;
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 #d46400;
text-decoration underline;
}
a.gray {
color #808080;
}
a.cross:hover {
border-width 0;
}
a.cross:link {
border-width 0;
}
a.admin {
color #aa0000;
font-weight bold;
text-decoration none;
}
a.mod {
color #53b54f;
font-weight bold;
text-decoration none;
}
a.premium {
color #cecc46;
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 #980000;
}
#contentrow {
    
padding5px;
    
background-color#191919;
}
#wrapfooter {
    
text-aligncenter;
    
color#CCC;
    
padding-top10px;
}
.
gensmall {
    
margin1px 1px;
    
font-size1em;
}
.
copyright {
    
color#888;
    
font-weightnormal;
    
font-size9px;
    
line-height1.2em;
}
.
copyright a, .copyright a:visited {
    
color#AAA;
    
text-decorationunderline;
}
.
copyright a:hover color#FFF; }
#maintable {
    
border-stylesolid;
    
border-width0 1px 1px 1px;
    
border-color#000;
    
margin0 auto;
}
.
navrow {
    
background#3B83C6 url(pics/buttons.gif) top left repeat-x; 
    
height21px;
    
overflowhidden;
    
border-bottomsolid 1px #000;
    
border-topsolid 1px #000;
    
color#F0E80A;
    
text-aligncenter;
    
font-size11px;
    
padding4px;
}
html .navrow padding0; }
.
navrow b, .navrow strong font-weightnormal; }
.
navrow a, .navrow a:visited {
    
color#FFF;
    
text-decorationnone;
}
.
navrow a:hover 
    
color#F0E80A; 
    
text-decorationunderline
}
#logorow {
    
backgroundurl(pics/logo_bg.giftop left repeat-x;
    
text-aligncenter;
    
padding0;
}

#logo-left {
    
backgroundurl(pics/logo_left.jpgtop left no-repeat;
}
#logo-right {
    
backgroundurl(pics/logo_right.jpgtop right no-repeat;
}

#logorow, #logo-left {
    
height88px;
    
overflowhidden;
}
#navcontainer {
margin 20px 10px;
}
#navlist {
padding 3px 0;
margin-left 0;
border-bottom 1px solid #778;
font bold 12px sans-serifsans-serif;
}
#navlist li {
list-style none;
margin 0;
display inline;
}
#navlist li a {
padding 3px 0.5em;
margin-left 3px;
border 1px solid #778;
border-bottom none;
background #d2d2d2;
text-decoration none;
}
#navlist li a:link {
color #667;
}
#navlist li a:visited {
color #667;
}
#navlist li a:hover {
color #fff;
background #990100;
border-color #227;
}
#navlist li a#current {
color #990100;
background #f2f2f2;
border-bottom 1px solid #f2f2f2;
}
#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 #990100;
background #ffffff;
border-bottom 1px solid #ffffff;
}
.
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 #990100;
background #ededed;
border-color #e2e2e2;
}
ul.tabbernav li.tabberactive a {
color #990100;
background-color #fff;
border-bottom 1px solid #fff;
}
ul.tabbernav li.tabberactive a:hover {
color #990100;
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;

Reply With Quote
  #4  
Old 21st July 2013, 03:45
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Nothing stands out as been defined in the stylesheet. Could you right click on that in your browser then click on "inspect element" and tell me what the name of the element or div is please. If you are using Waterfox/Firefox as I am, you will need to install Firebug, Chrome should have in by default.
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
The Following 2 Users Say Thank You to firefly007 For This Useful Post:
Giorgatzelos (21st July 2013), romano1 (31st July 2013)
  #5  
Old 21st July 2013, 04:06
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
Nevermind i managed to fix it, i added FGCOLOR, '#313131' after WIDTH, 300, in both lines....


Reply With Quote
  #6  
Old 21st July 2013, 04:12
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
You can do that or though its now been defined twice.
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #7  
Old 21st July 2013, 16:41
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
Hi i want for each theme i have these lines to be defined in latest_images.php.
example:

Code:
if($theme == 'archeCtypo_Original')
{
                    $img1 = "<b><font color=#2f74b3>" . $dispname . "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='120' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><tr><td><img src=$simg1 width=250 border=0></td><td><img src=$simg2 width=250 border=0><img src=$simg3 width=250 border=0><img src=$simg4 width=250 border=0></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" . $row["comments"] . "</a></b><br>";
                    $img2 = "<b>" . $dispname . "</b><br><b>".$row["added"]."</b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='120' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><br><br><br><br><tr><td><center><font color=red size=4><b>Sorry no screens available</b></font></center></td></tr></table>', CENTER, HEIGHT, 250, WIDTH, 300, FGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" . $row["comments"] . "</a></b><br>";
}
if theme2...
if theme3...
if theme4...
end if...

Can anyone help me with that?


PHP Code:
                    $img1 "<b><font color=#2f74b3>" $dispname "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='120' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><tr><td><img src=$simg1 width=250 border=0></td><td><img src=$simg2 width=250 border=0><img src=$simg3 width=250 border=0><img src=$simg4 width=250 border=0></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" $row["comments"] . "</a></b><br>";
                    
$img2 "<b>" $dispname "</b><br><b>".$row["added"]."</b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='120' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><br><br><br><br><tr><td><center><font color=red size=4><b>Sorry no screens available</b></font></center></td></tr></table>', CENTER, HEIGHT, 250, WIDTH, 300, FGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" $row["comments"] . "</a></b><br>"

Last edited by Giorgatzelos; 21st July 2013 at 17:39.
Reply With Quote
  #8  
Old 22nd July 2013, 23:38
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Currently where do you have "latest torrent with images" (What .php file)
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #9  
Old 23rd July 2013, 02:36
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
/blocks/latestimages_block.php

this is my current latestimages_block.php modded file

PHP Code:
<?php

if (!defined('IN_PMBT')) die ("You can't access this file directly");

OpenTable("Τελευταίες Προσθήκες:");


    
$news $db->sql_query("SELECT id, name, added, post_img FROM ".$db_prefix."_torrents WHERE banned = 'no' AND visible='yes' ORDER BY ".$db_prefix."_torrents.id DESC LIMIT 5")or sqlerr(__FILE____LINE__);

    if (
$db->sql_numrows($news) > 0) {

        print(
"<marquee scrollamount=\"3\" onmouseover=\"this.scrollAmount=0\" onmouseout=\"this.scrollAmount=3\" scrolldelay=\"0\" direction=\"left\"><table align=center cellpadding=0 cellspacing=0 width=100% border=0>\n<tr>\n");

        while (
$row2 $db->sql_fetchrow($news)) {
            
$tor $row2['0'];

            
$altname $row2['1'];
            
$orderby "ORDER BY ".$db_prefix."_torrents.id DESC"//Order
            
$limit "LIMIT 5"//Limit
            
$where "WHERE banned = 'no' AND visible='yes' AND ".$db_prefix."_torrents.id='$tor'";
            
$res $db->sql_query("SELECT ".$db_prefix."_torrents.id, ".$db_prefix."_torrents.seeders, ".$db_prefix."_torrents.leechers, ".$db_prefix."_torrents.post_img, ".$db_prefix."_torrents.screen1, ".$db_prefix."_torrents.screen2, ".$db_prefix."_torrents.screen3, ".$db_prefix."_torrents.screen4, ".$db_prefix."_torrents.added, ".$db_prefix."_torrents.comments, ".$db_prefix."_categories.name AS cat_name FROM ".$db_prefix."_torrents LEFT JOIN ".$db_prefix."_categories ON ".$db_prefix."_torrents.category = ".$db_prefix."_categories.id $where  $orderby $limit")or sqlerr(__FILE____LINE__);
            
$row $db->sql_fetchrow($res);
            
$cat $row['cat_name'];
            
$seed =$row['seeders'];
            
$comments =$row['comments'];
            
$leech =$row['leechers'];
                
$dispname htmlspecialchars($row2["name"]);
                
$dispname str_replace("_"" "$dispname);
                
$dispname str_replace("."" "$dispname);

                        
$simg1 $row['screen1'];
                        
$simg2 $row['screen2'];
                        
$simg3 $row['screen3'];
                        
$simg4 $row['screen4'];
                        
                        
$show2 = ($simg2 != '')? ($simg2 != 'NULL')?"<td><img src=$simg2 height='160' width=250 border=0></td>" '' '' ;
                        
$show3 = ($simg3 != '')? ($simg3 != 'NULL')?"<td><img src=$simg3 height='160' width=250 border=0></td>" '' '' ;
                        
$show4 = ($simg4 != '')? ($simg4 != 'NULL')?"<td><img src=$simg4 height='160' width=250 border=0></td>" '' '' ;




                    
$img1 "<b><font color=#2f74b3>" $dispname "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><tr><td><img src=$simg1 width=250 border=0></td><td><img src=$simg2 width=250 border=0></td><td><img src=$simg3 width=250 border=0></td><td><img src=$simg4 width=250 border=0></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" $row["comments"] . "</a></b><br>";
                    
$img2 "<b><font color=#2f74b3>" $dispname "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><br><br><br><br><tr><td><center><font color=#2f74b3 size=4><b>Sorry no screens available</b></font></center></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" $row["comments"] . "</a></b><br>";





            if (
$row["post_img"] != ""){
                        if (
$row["screen1"]!=''){
                print(
"<td style=\"text-align: center;\" >"$img1 ."<BR>\n</td>\n");
                        }else{
                                print(
"<td style=\"text-align: center;\" >"$img2 ."<BR>\n</td>\n");
                         }
            }
                     
        }

        print(
"</tr></table></marquee>");
}
CloseTable();              
?>

and i want this:
PHP Code:
                    $img1 "<b><font color=#2f74b3>" $dispname "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><tr><td><img src=$simg1 width=250 border=0></td><td><img src=$simg2 width=250 border=0></td><td><img src=$simg3 width=250 border=0></td><td><img src=$simg4 width=250 border=0></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" $row["comments"] . "</a></b><br>";
                    
$img2 "<b><font color=#2f74b3>" $dispname "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><br><br><br><br><tr><td><center><font color=#2f74b3 size=4><b>Sorry no screens available</b></font></center></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" $row["comments"] . "</a></b><br>"
to look like this:

PHP Code:
if($theme == 'archeCtypo_Original')
{

                    
$img1 "<b><font color=#2f74b3>" $dispname "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><tr><td><img src=$simg1 width=250 border=0></td><td><img src=$simg2 width=250 border=0></td><td><img src=$simg3 width=250 border=0></td><td><img src=$simg4 width=250 border=0></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" $row["comments"] . "</a></b><br>";
                    
$img2 "<b><font color=#2f74b3>" $dispname "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>Στιγμιότυπα:</b></h1></center><hr><table width=100%><br><br><br><br><br><tr><td><center><font color=#2f74b3 size=4><b>Sorry no screens available</b></font></center></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>Τροφοδότες $seed </font></b><br> <font color=\"red\"><b>Αποδέκτες $leech </font></b><br><b><font color=#2f74b3>Σχόλια: <a href=\"details.php?id=".$row["id"].$hit."\">" $row["comments"] . "</a></b><br>";

}
if (
$theme == '2'){
...
}
if (
$theme == '3')...
if (
$theme == '4')... 
basically, i only want to load the same line for each theme but with changed FGCOLOR...so that i make it "color-fit" with every theme i use!...

Last edited by Giorgatzelos; 23rd July 2013 at 03:38.
Reply With Quote
  #10  
Old 23rd July 2013, 08:16
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
Why go to all that trouble.
Just define the table and the background color.

In the 2 lines
Code:
$img1 = "<b><font color=#2f74b3>" . $dispname . "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>St??µ??t?pa:</b></h1></center><hr><table width=100%><br><tr><td><img src=$simg1 width=250 border=0></td><td><img src=$simg2 width=250 border=0></td><td><img src=$simg3 width=250 border=0></td><td><img src=$simg4 width=250 border=0></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>???f?d?te? $seed </font></b><br> <font color=\"red\"><b>?p?d??te? $leech </font></b><br><b><font color=#2f74b3>S????a: <a href=\"details.php?id=".$row["id"].$hit."\">" . $row["comments"] . "</a></b><br>";
$img2 = "<b><font color=#2f74b3>" . $dispname . "</color></b><br><b><font color=white>".$row["added"]."</color></b><br><a href='$siteurl/details.php?id=$row[id]'><img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>St??µ??t?pa:</b></h1></center><hr><table width=100%><br><br><br><br><br><tr><td><center><font color=#2f74b3 size=4><b>Sorry no screens available</b></font></center></td></tr></table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>???f?d?te? $seed </font></b><br> <font color=\"red\"><b>?p?d??te? $leech </font></b><br><b><font color=#2f74b3>S????a: <a href=\"details.php?id=".$row["id"].$hit."\">" . $row["comments"] . "</a></b><br>";
Lets just break one line down to show you
Code:
$img1 = "<b><font color=#2f74b3>" . $dispname . "</color></b><br>
<b><font color=white>".$row["added"]."</color></b><br>
<a href='$siteurl/details.php?id=$row[id]'>
<img border='0' src='$row[post_img]' alt=\"$altname / $cat\" height='115' width='170' onmouseover=\" return overlib('<center><h1><b>St??µ??t?pa:</b></h1></center><hr>
<table width=100%><br>
<tr
><td><img src=$simg1 width=250 border=0></td>
<td><img src=$simg2 width=250 border=0></td>
<td><img src=$simg3 width=250 border=0></td>
<td><img src=$simg4 width=250 border=0></td>
</tr>
</table>', CENTER, HEIGHT, 195, WIDTH, 300, FGCOLOR, '#313131', BGCOLOR, '#313131');\" onmouseout=\"return nd();\"></a><br><font color=\"green\"><b>???f?d?te? $seed </font></b><br> <font color=\"red\"><b>?p?d??te? $leech </font></b><br><b><font color=#2f74b3>S????a: <a href=\"details.php?id=".$row["id"].$hit."\">" . $row["comments"] . "</a></b><br>";
This part
Code:
<table width=100%>
Change it to something like
Code:
<table class=imgfgcolor width=100%>
Then add the definition for the table in the css files for each theme.
Changing the background color to match the theme.
Code:
table.imgfgcolor
{
    background-color : RED; /* Change the table background color */
    border    : 1px solid #000000;
}
Reply With Quote
The Following User Says Thank You to fireknight For This Useful Post:
romano1 (31st July 2013)
Reply

Tags
latestimagesphp

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 22:50. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.