'; }else{ // Amazon function returned XML data if($d_ar[$i_ar['ErrorMsg'][0]]['type']=='open' || $d_ar[$i_ar['ErrorMsg'][0]]['type']=='complete'){ // no results were found from the search //echo 'Sorry, no results were found.
'; //echo "Browse = $Browse mode is $Mode"; }else{ // results were found, so display the products // --- Display category links --- /* foreach($ArraySearchString as $key => $value){ if($Browse == $key){ echo '' .$value. '
'; }else{ echo '' .$value. '
'; } } echo '
';*/ /* // --- Display links to sort the products --- echo 'Sort These Results:
'; if('Featured'==$Sort){ echo 'Featured Items | '; }else{ // echo 'Featured Item | '; echo 'Featured Items | '; } if('Sales'==$Sort){ echo 'Sales Rank | '; }else{ // echo 'Sales Rank | '; echo 'Sales Rank | '; } if('Reviews'==$Sort){ echo 'Customer Reviews'; }else{ // echo 'Customer Reviews'; echo 'Customer Reviews'; } echo '
'; */ // --- Display the product data returned from the XML --- $recordNumber = ($PageNum - 1)*10; /** * Loop through each
tag.
* Assign each piece of data you want to use on your template to a variable, and then
* echo that variable to display it on your site.
*/
$count=0;
?>
|
Click on a picture of a toy to see more information, or select a category to get started. While you are here, why not add a review of your favorite toy? |
||
|
||
|
($Page +25)){
$TotalPages = ($Page+25);
$Start=$TotalPages-50;
}
if ($Start<1)
{$Start=1;
}
/**
* If there are more than 1 pages, then display
* the pagination.
*/
if($TotalPages > 1){
echo 'Jump to Page: '; for($k=$Start; $k<=$TotalPages; $k++){ if($k==$PageNum){ echo $k. ' '; }else{ echo '' .$k. ' '; } if($TotalPages != $k){ echo '| '; } } } } } //include ('storeleft.php'); ?> | ||