ue; } continue; } continue; } continue; } continue; } } if ((isset($offer[$lowest_id]['FormattedPrice']) and $offer[$lowest_id]['FormattedPrice'] != 'Too low to disp')) { $lowest_price = $offer[$lowest_id]['FormattedPrice']; } else { $lowest_price = ''; } if ($label != 'Buy ') { $m['Label'] = $label; $m['Price'] = $this->currency[$this->site['AmazonStoreType']] . $lowest_price; } return $m; } function ed($pwd, $data, $case = '') { if ($case == 'de') { $data = urldecode($data); } $key[] = ''; $box[] = ''; $temp_swap = ''; $pwd_length = 0; $pwd_length = strlen($pwd); $i = 0; while ($i <= 255) { $key[$i] = ord(substr($pwd, $i % $pwd_length, 1)); $box[$i] = $i; ++$i; } $x = 0; $i = 0; while ($i <= 255) { $x = ($x + $box[$i] + $key[$i]) % 256; $temp_swap = $box[$i]; $box[$i] = $box[$x]; $box[$x] = $temp_swap; ++$i; } $temp = ''; $k = ''; $cipherby = ''; $cipher = ''; $a = 0; $j = 0; $i = 0; while ($i < strlen($data)) { $a = ($a + 1) % 256; $j = ($j + $box[$a]) % 256; $temp = $box[$a]; $box[$a] = $box[$j]; $box[$j] = $temp; $k = $box[($box[$a] + $box[$j]) % 256]; $cipherby = ord(substr($data, $i, 1)) ^ $k; $cipher .= chr($cipherby); ++$i; } if ($case == 'de') { $cipher = urldecode(urlencode($cipher)); } else { $cipher = urlencode($cipher); } return $cipher; } function dump($var) { echo '
';
		print_r($var);
		echo '
'; } } ?>