· 7 years ago · Jul 06, 2018, 12:10 AM
1<?php
2$dbHost = "localhost";
3$dbUser = "user name";
4$dbPW = "pass";
5$dbName = "database name";
6$mysqli = mysqli_connect($dbHost, $dbUser, $dbPW, $dbName);
7if(mysqli_connect_errno()){
8 echo "Failed to connect to MySQL: " . mysqli_connect_error();
9}
10// change it now
11$admin_username = 'admin';
12$admin_pass = 'admin';
13
14// basic info
15$faucet['name'] = 'BitGuide';
16$faucet['description'] = 'Free BitCoin';
17$currency = 'BTC';
18$currency_name = 'satoshi';
19$faucet['captcha'] = 1; // 1 for solvemedia captcha and 2 for recaptcha
20// bitcaptcha setting
21$bitcaptcha['id'] = '';
22$bitcaptcha['key'] = '';
23// config solve media captcha
24$your_challenge_key = '';
25$privkey= '';
26$hashkey= '';
27//recaptcha setting
28$secretkey = ''; // your recaptcha private key
29$publickey = ''; // your recaptcha public key
30
31// iphub setting, use it to block proxy. get your api at iphub.info
32$iphub_api = 'ODA6cXgyY004NzlLdTlvaExrNHJpY2pSaGFtWVdoZWFNVGU=';
33
34// config your reward
35$faucet['reward'] = 1; // your faucet's reward
36$faucet['time'] = 60; // time to wait beetwen 2 claims, in second.
37$faucet['ref'] = 15;
38$faucet['url'] = 'http://coinbox.club/demo';
39
40$faucethub_api = "";
41
42// config your short link, read full instruction at http://coinbox.club/
43$config_link['status'] = 'on'; // turn on or off short link bounus
44$config_link['reward'] = 3; // short link bounus amout
45 // start config short link api
46$link[1] = "http://coin.mg/api/?api=acefbf14f0e9b8cee80cd05035facade0530fd1e&url=http://bitguide.info/link.php?k={key}&format=text";
47$link[6] = "http://coin.mg/api/?api=acefbf14f0e9b8cee80cd05035facade0530fd1e&url=http://bitguide.info/link.php?k={key}&format=text";
48
49$link[2] = "http://btc.ms/api/?api=86b6c147ce28028e5c7762afce1656f898279889&url=http://bitguide.info/link.php?k={key}&format=text";
50
51$link[4] = "http://btc.ms/api/?api=86b6c147ce28028e5c7762afce1656f898279889&url=http://bitguide.info/link.php?k={key}&format=text";
52
53$link[3] = "https://madpay.net/api/?api=90720ad27f78aa8777bd69400270f6e7c243b474&url=http://bitguide.info/link.php?k={key}&format=text";
54
55$link[5] = "https://madpay.net/api/?api=90720ad27f78aa8777bd69400270f6e7c243b474&url=http://bitguide.info/link.php?k={key}&format=text";
56$link[6] = "https://madpay.net/api/?api=90720ad27f78aa8777bd69400270f6e7c243b474&url=http://bitguide.info/link.php?k={key}&format=text";
57
58// ad spaces
59$ad['top'] = 'ad top';
60$ad['left'] = 'ad left';
61$ad['right'] = 'ad right';
62$ad['above-form'] = 'ad above form';
63$ad['bottom'] = 'ad bottom';
64$ad['modal'] = '<font color="red">ad modal</font>';
65?>