7) $gsetv = 0; $start = -1; while (1) { $start = strpos ($page, 'href="', $start + 1); if (! $start) break; $end = strpos ($page, '"', $start + 6); if (! $end) break; $end2 = strpos ($page, '>', $start + 6); if (! $end2 || $end2 < $end) continue; $ltext = substr ($page, $start + 6, $end - $start - 6); if (strpos ($ltext, '.') !== false) continue; if (strpos ($ltext, ':') !== false) continue; if (strpos ($ltext, 'SGC_') !== false) continue; if ($gladiators) { $page = substr ($page, 0, $start + 6) . 'https://shop.softwaregoldclub.com/' . substr ($page, $start + 6); } else { $page = substr ($page, 0, $start + 6) . 'https://www.softwaregoldclub.com/salespage/' . substr ($page, $start + 6); } } if ($gsetv) { $p1 = strpos ($page, '
'); if ($p1) { $p2 = strpos ($page, ''); if ($p2) { $gset = "_graphics/set$gsetv"; $width = '850'; $height = ' height=160'; $height2='63'; $color2='F7D913'; $font2='28pt'; switch ($gsetv) { case 1: $width = 800; $height = ' height=238'; $height2='100'; $font2='24pt'; $bizbizcolor = 'a00000'; break; case 2: $height = ' height=153'; $height2='54'; $color2='E9C064'; $font2='24pt'; $bizbizcolor = '0000a0'; break; case 3: $bizbizcolor = 'a00000'; break; case 4: $bizbizcolor = '0000a0'; break; case 5: $color2='ffffff'; $bizbizcolor = '008000'; break; case 6: $color2='EEC4EE'; $bizbizcolor = 'A20BD5'; break; case 7: $color2='FBCBEC'; $bizbizcolor = 'DD0E9F'; break; default: $height = ''; } $page = " SGC_SITE_NAME
 
SGC_SITE_NAME

" . substr ($page, $p1, $p2 - $p1) . "

"; $page = str_replace ('
', '
', $page); if ($bizbizcolor) $page = str_replace ('0000ff', $bizbizcolor, $page); } } } $page = str_replace ('SGC_SITE_NAME', "Your Software Site", $page); $page = str_replace ('SGC_HOME_URL', "https://www.softwaregoldclub.com", $page); $page = str_replace ('SGC_DOMAIN_CODE', '23767', $page); $page = str_replace ('SGC_DOMAIN_NAME', 'SoftwareGoldClub.com', $page); $page = str_replace ('SGC_LCDOMAIN_NAME', 'softwaregoldclub.com', $page); $page = str_replace ('SGC_AFFIL_LINK', "https://www.softwaregoldclub.com/", $page); $page = str_replace ('SGC_PROMOTE_AFFIL', 0, $page); $page = str_replace ('SGC_MEMCODE_100000', 100001, $page); $page = str_replace ('SGC_MEMCODE_BASE', 1, $page); $page = str_replace ('SGC_IMFS_LINK', '', $page); $page = str_replace ('SGC_ART_SLINK', '', $page); $page = str_replace ('SGC_LINKS_URL', '', $page); $page = str_replace ('SGC_LAZY_LINK', '', $page); $page = str_replace ('SGC_THISFOLDER_', 'https://script7.com/imagecache/bizbizbiz/', $page); echo $page; ?>