[^] Arrow (site list). [WCDDL] {So Simple}.

Status
Not open for further replies.

litewarez

Active Member
1,367
2008
1
0
Ok make sure you give thanks for this mod even tho its so simple.
OPEN (funcs.php).
FIND
Code:
if($fetch_site) {
$download_site = mysql_query("SELECT name as sname, url as surl, FROM wcddl_sites WHERE id = '".addslashes($row['sid'])."'");
CHANGE (sql)
Code:
$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
Code:
$fetch_downloads = true;
CHANGE
Code:
$fetch_downloads = true;
$fetch_site = TRUE;
FIND(in index.php).
Code:
<td><strong>Title</strong></td><td>Views</td>
CHANGE
Code:
<td><strong>Title</strong></td><td>Views</td><td>Site</td>
FIND
Code:
foreach($downloads as $dl) {
ADD AFTER
Code:
if(preg_match("/".$dl[sssid]."/",$inarray)){ // if its there
 $dl[sname] = '^';   
}else{
 $dl[sname] = '<b>'.$dl[sname].'</b>';
 }
FIND (just after the table).
Code:
<?php    }     ?>
CHANGE (add the var).
Code:
<?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
Code:
$dl[sname] = '^';
TO
Code:
$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
 
9 comments
He has not done it yet from what i can see, there is a request on his site, but i see two people with it done... ddl2.in and warezunion.org ... i tried but i keep messing it up.. i have made a nice little gzip mod for it though and fixed a few small bugs.
 
Status
Not open for further replies.
Back
Top