[^] Arrow (site list).
Author Message
immu
Newbie


Posts: 6
Joined: Feb 2011
Post: #1
[^] Arrow (site list).
0
0
Ok make sure you give thanks for this mod even tho its so simple.

OPEN (funcs.php).
FIND

if($fetch_site) {
    $download_site = mysql_query("SELECT name as sname, url as surl, FROM wcddl_sites WHERE id = '".addslashes($row['sid'])."'");



CHANGE (sql)

$download_site = mysql_query("SELECT name as sname, url as surl, id as sssid FROM wcddl_sites WHERE id = '".addslashes($row['sid'])."'");



OPEN (index.php)
FIND

$fetch_downloads = true;


CHANGE

$fetch_downloads = true;
    $fetch_site = TRUE;



FIND(in index.php).

<td><strong>Title</strong></td><td>Views</td>


CHANGE

l
<td><strong>Title</strong></td><td>Views</td><td>Site</td>



FIND

foreach($downloads as $dl) {



ADD AFTER

if(preg_match("/".$dl[sssid]."/",$inarray)){ // if its there
       $dl[sname] = '^';        
    }else{
       $dl[sname] = '<b>'.$dl[sname].'</b>';
       }


FIND (just after the table).
<?php    }     ?>



CHANGE (add the var).

<?php $inarray = $dl[sssid];   }     ?>



that should give you the arrow list as seen on benzoddl.org

if you want an image or summat you can change

$dl[sname] = '^';



TO

$dl[sname] = '<img src="arrow.gif">';



hope you enjoy this and also if you would like any feature on your site you can pay a small fee for this to be coded my our good team of programmers. please PM me or JmZ for more information on this.

thanks
02-03-2011 12:02 PM
jomasaco
Respected Member


Posts: 19
Joined: May 2010
Post: #2
[^] Arrow (site list).
0
0
This is for V1

Not test but whit a small change can work in V2
02-05-2011 12:12 PM
WJManiaC
Newbie


Posts: 11
Joined: Dec 2011
Post: #3
[^] Arrow (site list).
0
0
Any update or any other mod that is for wcddl2 that works like this ?
12-25-2011 03:12 AM


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

This forum uses Lukasz Tkacz MyBB addons.