|
#1
|
||||
|
||||
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:
|
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
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:
|
#4
|
||||
|
||||
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 |
The Following 2 Users Say Thank You to firefly007 For This Useful Post: | ||
Giorgatzelos (21st July 2013),
romano1 (31st July 2013)
|
#5
|
||||
|
||||
Nevermind i managed to fix it, i added FGCOLOR, '#313131' after WIDTH, 300, in both lines....
|
#6
|
||||
|
||||
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 |
#7
|
||||
|
||||
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:
Last edited by Giorgatzelos; 21st July 2013 at 17:39. |
#8
|
||||
|
||||
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 |
#9
|
||||
|
||||
/blocks/latestimages_block.php
this is my current latestimages_block.php modded file PHP Code:
and i want this: PHP Code:
PHP Code:
Last edited by Giorgatzelos; 23rd July 2013 at 03:38. |
#10
|
||||
|
||||
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>"; 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>"; Code:
<table width=100%> Code:
<table class=imgfgcolor width=100%> Changing the background color to match the theme. Code:
table.imgfgcolor { background-color : RED; /* Change the table background color */ border : 1px solid #000000; } |
The Following User Says Thank You to fireknight For This Useful Post: | ||
romano1 (31st July 2013)
|
Tags |
latestimagesphp |
|
|