Plugin Directory

Changeset 639835


Ignore:
Timestamp:
12/15/2012 11:24:16 PM (13 years ago)
Author:
mitegvg
Message:

These fix an error when connecting to the correct rss output - for example latest cars, or most popular cars. (variable $options)

Location:
my-favorite-cars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • my-favorite-cars/tags/1.1/mfc-ajax.php

    r639792 r639835  
    55$size=$_REQUEST['size'];
    66$perpage=$_REQUEST['perpage'];
    7 $options=$_REQUEST['option'];
     7$options=$_REQUEST['options'];
    88$carmusing_userid= $_REQUEST['carmusing_userid'];
    99$carmusing_activation= $_REQUEST['carmusing_activation'];
  • my-favorite-cars/trunk/mfc-ajax.php

    r639494 r639835  
    55$size=$_REQUEST['size'];
    66$perpage=$_REQUEST['perpage'];
    7 $options=$_REQUEST['option'];
     7$options=$_REQUEST['options'];
    88$carmusing_userid= $_REQUEST['carmusing_userid'];
    99$carmusing_activation= $_REQUEST['carmusing_activation'];
     
    1313
    1414
    15 
     15echo '<div style="display:none">$options</div>';
    1616    try {
    1717    if($options=='1' || $options==''){
     
    2020    }
    2121    if($options=='2'){
    22     $ch = curl_init('http://www.carmusing.com/features/xml/latest.php?perpage='.$perpage);
     22    $ch = curl_init('http://www.carmusing.com/features/xml/latest.php?wpuserid='.$carmusing_userid.'&activation='.$carmusing_activation.'&perpage='.$perpage);
    2323    }
    2424    if($options=='3'){
    25     $ch = curl_init('http://www.carmusing.com/features/xml/popular.php?perpage='.$perpage);
     25    $ch = curl_init('http://www.carmusing.com/features/xml/popular.php?wpuserid='.$carmusing_userid.'&activation='.$carmusing_activation.'&perpage='.$perpage);
    2626    }
    2727
Note: See TracChangeset for help on using the changeset viewer.