user,$up->passwd); } } if(is_numeric($_GET['r'])&&$GLOBALS['CONF_binmash']['rssfeeds'][$_GET['r']]){ $rq=$GLOBALS['CONF_binmash']['rssfeeds'][$_GET['r']]; }else{ //use the default RSS source $def=$GLOBALS['CONF_binmash']['defaultfeed']; $rq=$GLOBALS['CONF_binmash']['rssfeeds'][$def]; } //check for recent cache if($GLOBALS['CONF_binmash']['cacheenable']){ $filename=$GLOBALS['CONF_binmash']['cachefolder'].'/'.md5($rq['url']).'.html'; $mashcache=checkcache($filename,$GLOBALS['CONF_binmash']['maxcacheage']); } if($GLOBALS['CONF_binmash']['local']){ $p=new page; } ?> <?php echo $GLOBALS['CONF_shortsitename']; ?> | binMash pagehead(); }else{ echo '
'.$GLOBALS['CONF_shortsitename'].'

'; } ?>
Source feed:

nzbbaseURL=$GLOBALS['CONF_binmash']['nzbbaseURL']; $bm->forceallterms=$GLOBALS['CONF_binmash']['forceallterms']; if($GLOBALS['CONF_binmash']['local']){ //local copy, pull results from database $bm->db=new User_db; $bm->db->connect(); $bm->sql=new sqluser; $bm->sql->db=&$bm->db; require_once('class/utilities.class.php'); $bm->uf=new utilityfunctions; $mash=$bm->mashup($rq,true); }else{ //remote copy, pull results from XML $bm->mashxmlsource=$GLOBALS['CONF_binmash']['mashxmlsource']; $mash=$bm->mashup($rq,false); } $i=0; if($mash){ foreach ($mash as $item) { $bgcol=fliptdbackcolor(); echo ''; foreach ($item['result'] as $res) { if($res){ $i++; $bgcol=fliptdbackcolor(); echo''; }else{ $bgcol=fliptdbackcolor(); echo ''; } } $i=0; } }else{ echo ''; } ?>
# Title Parts Size
'.$item['title'].' (details)
'.$i.'. '.$res['title'].' '; if($res['part']==$res['totalparts']){ echo ''.$res['part'].'/'.$res['totalparts'].''; }else{ echo ''.$res['part'].'/'.$res['totalparts'].''; } echo ' '.$res['size'].'
1.No Results
No results or improperly formatted RSS feed/address.