Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=117)
-   -   [TSSE 5.6] Show Torrents darck mod (http://www.bvlist.com/showthread.php?t=7788)

DARCK 30th March 2012 23:05

[TSSE 5.6] Show Torrents darck mod
 
2 Attachment(s)
Attachment 3615

1. create the plugin

Plugin Name:TEST

Plugin Title:darck mod

Plugin Content:
PHP Code:

<iframe width="100%" scrolling="no" align="middle" height="200" frameborder="0" allowtransparency="yes" marginwidth="0" marginheight="0" src="darck.php" style="margin-left:-30px;" name="torrents"></iframe

2. create root/darck.php

PHP Code:

<?php
require_once('global.php');
gzip();
dbconn(true);
maxsysop();


 
?>
    
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>darck mod</title>
<script type="text/javascript" src="carfun/mootools.js"></script>
<script type="text/javascript" src="carfun/imageMenu.js"></script>
</head>
<style>
@import url(carfun/screen.css);

</style>
<body>




     <div id="imageMenu">  
<ul>
   <?php


 
if($CURUSER)


{
    
$query="SELECT id, name, t_image  FROM torrents WHERE t_image  <> '' ORDER BY added  DESC limit 10";
    
$result=mysql_query($query);
    
$num mysql_num_rows($result);
    {
   
?>
 

     <?php
     
    
while($row mysql_fetch_assoc($result))
      {
       
$name  substr(htmlspecialchars($row[name]), 030)."...";

  
?>
     









<li class="#imageMenu" style="background: url(carfun/dimension_img.php?photo=<?=$row["t_image"]?>) repeat scroll 0%"  title="<?=$name?>" >
<a href="details.php?id=<?=$row["id"]?>" target="_blank"> 

</a><em></em></li>
 

 
   


<?php
 
}
  
     }
    }
       


   
?>

</ul></div>  <script type="text/javascript">
window.addEvent('domready', function(){
var myMenu = new ImageMenu($$('#imageMenu a'),{openWidth:150});
});
</script>
 </body>
   </html>


3.
upload the root
Attachment 3616

PAX 1st April 2012 00:10

nice mod is and working, thanks :drink:

z3ro 1st April 2012 00:54

good
 
good mod very good thanks DARCK:drink:

J0hn86 11th April 2012 15:30

how??
 
hy all i wana to now if can to put this code
PHP Code:

<img class="glossy" src

into dark mode an how i do that i wana to show me the image glosy
help please Thanks

Marco 19th April 2012 15:32

glossy
 
Nice ideea i wish too the glossy stuff :D
best regards
Marco

vulongvy 20th April 2012 13:59

thanks for share ! :friend:

Black1 29th April 2012 23:06

Amazing mod.
Is there any way to edit this mod, to work with most snatched torrents instead of latest torrents?

eckeO5 1st May 2012 20:46

for sure :cool:

gogo999 24th May 2012 11:08

However, this will cause some errors
 
Hello, I've installed this time darck mod

However, this will cause some errors

Is there a fix

What should I do

http://withbit.net/files/attach/imag...112a8a67e4.PNG


Thank you.......:wallbash::wallbash:

x360zone 24th May 2012 12:58

hi
 
good tip get someone who know wtf there doin:coffee:


All times are GMT +2. The time now is 23:16.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.