|
'; // print_r($_SESSION); // print_r($_GET); // print_r($_POST); // print_r(get_defined_vars()); // echo ''; // $where = " WHERE CategoryID NOT IN (2038,10159, 3252, 10542, 31411 ) ORDER BY RAND() "; if ( isset($_REQUEST['CatID']) ) { $myCatID = $_REQUEST['CatID']; // echo '1'; } elseif ( isset($L6C) ) { $myCatID = $L6C; // echo '2'; } elseif ( isset($L5C) ) { $myCatID = $L5C; // echo '3'; } elseif ( isset($L4C) ) { $myCatID = $L4C; // echo '4'; } elseif ( isset($L3C) ) { $myCatID = $L3C; // echo '5'; } elseif ( isset($L2C) ) { $myCatID = $L2C; // echo '6'; } elseif ( isset($RootID) ) { $myCatID = $RootID; // echo '
'; // print_r($resp); // echo ''; } if ( $resp->ack == 'Failure' || count($resp->itemRecommendations->item) < 1 ) { if ( $israndom == 'random' ) { header("location: ".$_SERVER['REQUEST_URI']); exit; } header( "HTTP/1.0 404 Not Found" ); // include 'header.php'; echo '
No most-watched items in the category '.$breadcrumb.'.
'; include 'footer.php'; exit; } elseif ( $resp->ack == 'Success') { // echo '| ';
// echo 'apicall: '.$apicall;
// prearray($resp);
$searching = ''. $breadcrumb.'';
echo ' Most Watched Items in '.$searching.' '; // echo $searching; echo '';
echo ' ';
// prearray($item);
// prearray($resp);
// exit;
// $theitem = $item->RelatedSearches;
// $items = explode(';',$theitem);
// if ( count($items) > 0 ) {
// echo '
'.$resp->PopularSearchResult->CategoryName.''; // echo '
| '; // } // $i++; // echo ' |
That item was not found.
'; // include 'footer.php'; // exit; // } // // if ($resp2) { // prearray($resp); // // foreach($resp->Item as $item) { // // $ItemTitle = $resp->Item->PictureURL; // // $link = $resp->Item->ViewItemURLForNaturalSearch; // // } // // $itemtitle = $resp->Item->Title; // // } ?>