Subversion Repositories cheapmusic

Rev

Rev 99 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 99 Rev 137
Line 25... Line 25...
25
 
25
 
26
// Get linkshare listings by advertiser id
26
// Get linkshare listings by advertiser id
27
function get_impactAdvertiser($config, $query, $searchCondition, $advertiserName) {
27
function get_impactAdvertiser($config, $query, $searchCondition, $advertiserName) {
28
    // API request variables
28
    // API request variables
29
    $numResults = $config['numResults'];
29
    $numResults = $config['numResults'];
-
 
30
    $url = '[cached]';
30
 
31
 
31
//https://IRAXNu7Vjzc21914055r6UgVUrZSGH6Ne1:PtbZSaqgdZb3don5erDSPRzy._amwxzU@api.impact.com/Mediapartners/IRAXNu7Vjzc21914055r6UgVUrZSGH6Ne1/Catalogs/ItemSearch?Query=Category=%27Music%27%20AND%20Name=%27Elvis%20Presley%27&SortBy=CurrentPrice&SortOrder=ASC' 
32
//https://IRAXNu7Vjzc21914055r6UgVUrZSGH6Ne1:PtbZSaqgdZb3don5erDSPRzy._amwxzU@api.impact.com/Mediapartners/IRAXNu7Vjzc21914055r6UgVUrZSGH6Ne1/Catalogs/ItemSearch?Query=Category=%27Music%27%20AND%20Name=%27Elvis%20Presley%27&SortBy=CurrentPrice&SortOrder=ASC' 
32
 
33
 
33
    $result = getSearchCache($advertiserName, $query, $searchCondition);
34
    $result = getSearchCache($advertiserName, $query, $searchCondition);
34
    if ($result === false) {
35
    if ($result === false) {