Can anybody help me fix the pages in the "site Downloads" mod for WCDDL v2??

When viewing a site the pages need to be like:
Code: 
http://evilddl.com/index.php?page=2&site=google.com
but I can't get the site bit to show....

This is what I have tried...

In wcfg.php I have changed it like this:
PHP Code: 
"default" => "index.php?page=[PAGE]",
                         
"search" => "index.php?page=[PAGE]&q=[Q]",
                         
"type" => "index.php?page=[PAGE]&type=[TYPE]",
                         
"search_type" => "index.php?page=[PAGE]&type=[TYPE]&q=[Q]",
                         
"site_downloads" => "index.php?page=[PAGE]&site=[SITE]" 
And in funcs.php like this:
PHP Code: 
public function pageHTML($nums) {
        if(!
is_array($nums) || intval($nums[0]) != $nums[0])
            return 
false;
        
$html "";
        
$url $this->pageURLs['default'];
            if(!isset(
$this->q) && !isset($this->type))
                
$url $this->pageURLs['default'];
            elseif(isset(
$this->q) && !isset($this->type))
                
$url $this->pageURLs['search'];
            elseif(isset(
$this->type) && !isset($this->q))
                
$url $this->pageURLs['type'];
            elseif(isset(
$this->type) && isset($this->q))
                
$url $this->pageURLs['search_type'];
            elseif(isset(
$this->site) && !isset($this->q))
                
$url $this->pageURLs['site_downloads'];
        
$url $this->processDataHook("pageURLPattern",$url);
            foreach(
$nums as $num) {
                if(
$num == $this->page)
                    
$html .= '<strong>[ '.$num.' ]</strong> ';
                else {
                    
$numURL str_replace(
                                          array(
"[PAGE]","[Q]","[TYPE]","[SITE]"),
                                          array(
intval($num),$this->qURL,$this->type,$this->site),
                                          
$url);
                    
$html .= '<a href="'.$numURL.'">'.intval($num).'</a> ';
                }
            }
        
$html $this->processDataHook("pageHTMLData",$html);
        return 
$html;
    } 
But its still not working and I'm now confused. Any help is much appreciated.
DEViANCE Reviewed by DEViANCE on . Fix Pages in Site Downloads Mod?? Can anybody help me fix the pages in the "site Downloads" mod for WCDDL v2?? When viewing a site the pages need to be like: http://evilddl.com/index.php?page=2&site=google.combut I can't get the site bit to show.... This is what I have tried... In wcfg.php I have changed it like this: "default" => "index.php?page=", "search" => "index.php?page=&q=", Rating: 5