-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.php
More file actions
95 lines (67 loc) · 3.01 KB
/
Copy pathindex.php
File metadata and controls
95 lines (67 loc) · 3.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<html>
<head>
<title>ClickBank Rotator</title>
<meta name="description" content="ClickBank URL Rotator">
<meta name="keywords" content="clickbank marketplace, clickbank products">
<?php include("config.php"); ?>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $ga; ?>"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '<?php echo $ga; ?>');
</script>
</head>
<body style="background-color:gray;">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<?php
if($_GET["hop"] === NULL) {
$hop = "codeclerkz";
} else {
$hop = $_GET["hop"];
}
// Support development
$rand = rand(0,9);
if($rand == 9) {
$hop = "codeclerkz";
}
$file = 'marketplace_feed_v2.xml';
$handle = fopen($file, "r");
if ($handle) {
$i = 1;
while (($line = fgets($handle)) !== false) {
// process the line read.
preg_match_all("'<Id>(.*?)</Id>'si", $line, $matches);
foreach($matches[1] as $val) {
$window[$i] = "http://". $hop. "." . strtolower($val) . ".hop.clickbank.net/";
$i++;
}
}
srand();
$url = $window[rand(0, $i)];
fclose($handle);
}
echo "<iframe style='background-color: white;' height='87%' width='100%' sandbox='' src='". $url . "'></iframe>\n";
?>
<center>
<div style="vertical-align: top" class="fb-like" data-href="<?php echo trim($url); ?>" data-layout="button_count" data-action="like" data-size="large" data-show-faces="false" data-share="true"></div>
<a href="javascript:window.location.reload(true);"><img style="vertical-align: top" src="images/next.png"></a>
<a href="https://twitter.com/intent/tweet" class="twitter-share-button" data-text="Check this out! " data-size="large" data-url="<?php echo trim($url); ?>" data-related="twitterapi,twitter">Tweet</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</center>
<center>
<br><br>
<br><br>
<span style="vertical-align: middle; align: left; font-family: Arial; color: white">This program is released under the GNU Public License v3. © Eric Gibson 2021. Download the newest version from below: </span>
<br><br> <a style="color: white; font-family: Arial" href="https://github.com/bigbeastmarketing/ClickBankURLRotator">Download The Latest Version from GitHub.</a>
<br><br> <a href="https://sourceforge.net/projects/clickbankurlrotator/files/latest/download"><img alt="Download Clickbank URL Rotator" src="https://a.fsdn.com/con/app/sf-download-button" width=276 height=48 srcset="https://a.fsdn.com/con/app/sf-download-button?button_size=2x 2x"></a>
</center>
</body>
</html>