", $itemdetail); $itemdetail = preg_replace("/law. "; echo "function e (z, h, w, b, g) {"; echo "document.write('
')"; echo "}"; echo ""; echo $itemdetail; } else { // No item was requested when script was called, show items from all stores in the $stores variable. $allitems = $url . $stores; $handle = fopen($allitems, "r"); $content = fread($handle, 200000); fclose($handle); $null = eregi("$start(.*)$end", $content, $cparray); $pattern = "/
S
P
A
T
C
H
.
N
E
T
ALL ITEMS | ABBIE THE CAT | ABBIE SAY RELAX | SPATCH.NET STUFF | XYZZY STUFF

 

'; $end = ''; $stores = 'spatchnet01,spatchnet03,abbiethecat,abbiesayrelax'; $url = 'http://www.cafeshops.com/'; $item = $_GET['item']; // WRITE CAFEPRESS JAVASCRIPT TO PAGE // echo ''; if ($item) { // Script has been called with a specific item, bring up detail page. $detail = $url . $item; $handle = fopen($detail, "r"); $content = fread($handle, 200000); fclose($handle); $null = eregi("$start(.*)$end", $content, $cparray); $pattern = "/\/cp/"; $replacement = "http://www.cafeshops.com/cp"; $itemdetail = preg_replace($pattern, $replacement, $cparray[1]); $largeImgPattern = "//i", "
", $itemdetail); $itemdetail = preg_replace("/<\/td>/", "Value=\"Add to Cart\" >   
Home . Games . Toys . Writing . Roller Coasters . Pictures . Personal . email . Shameless Pimping