├── favicon.ico
├── core
├── config.php
├── banned.php
├── daily.php
├── dnsbl.php
├── wallet.php
├── functions.php
├── adscaptchalib.inc
├── faucet.sql
├── address.inc
└── recaptchalib.inc
├── lib
├── db.sql
├── bootstrap.less
├── variables.less
├── scaffolding.less
├── type.less
├── reset.less
├── tables.less
├── mixins.less
├── forms.less
└── patterns.less
├── update
├── updateaddresses.php
├── updateround.php
├── updatetotal.php
└── updateroundltc.php
├── templates
├── footer.php
├── sidebar.php
├── servsidebar.php
└── header.php
├── .gitattributes
├── readme.txt
├── index.php
├── js
├── tests
│ ├── unit
│ │ ├── bootstrap-scrollspy.js
│ │ ├── bootstrap-alerts.js
│ │ ├── bootstrap-buttons.js
│ │ ├── bootstrap-dropdown.js
│ │ ├── bootstrap-tabs.js
│ │ ├── bootstrap-popover.js
│ │ ├── bootstrap-twipsy.js
│ │ └── bootstrap-modal.js
│ ├── index.html
│ └── vendor
│ │ └── qunit.css
├── bootstrap-buttons.js
├── bootstrap-tabs.js
├── bootstrap-popover.js
├── bootstrap-dropdown.js
├── bootstrap-scrollspy.js
├── bootstrap-alerts.js
├── bootstrap-modal.js
├── bootstrap-twipsy.js
└── less-1.1.5.min.js
├── .gitignore
├── submitted.php
└── server.php
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Greedi/litecoin-faucet/HEAD/favicon.ico
--------------------------------------------------------------------------------
/core/config.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Greedi/litecoin-faucet/HEAD/core/config.php
--------------------------------------------------------------------------------
/lib/db.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `litecoin`.`instaltc` (
2 | `id` INT( 5 ) NOT NULL AUTO_INCREMENT ,
3 | `ltcaddress` CHAR( 34 ) NOT NULL ,
4 | `salt` CHAR( 10 ) NOT NULL ,
5 | `url` CHAR( 64 ) NOT NULL ,
6 | PRIMARY KEY ( `id` )
7 | ) ENGINE = MYISAM ;
--------------------------------------------------------------------------------
/core/banned.php:
--------------------------------------------------------------------------------
1 | You are banned sucka!
12 | #litecoin @ FreeNode");
13 | }
14 | ?>
--------------------------------------------------------------------------------
/update/updateaddresses.php:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * @author Greedi
4 | * @copyright 2012
5 | */
6 | include('/var/www/faucet/core/wallet.php');
7 |
8 | $dailytotal = $_POST['delete'];
9 |
10 | mysql_query("DELETE FROM dailyltc")
11 | or die(mysql_error());
12 |
13 | header( 'Location: http://beprivate.info/faucet/server.php' ) ;
14 | ?>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/update/updateround.php:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * @author Greedi
4 | * @copyright 2012
5 | */
6 | include('/var/www/faucet/core/wallet.php');
7 |
8 | $round = $_POST['round'];
9 |
10 | $result = mysql_query("UPDATE round SET round = $round")
11 | or die(mysql_error());
12 |
13 | header( 'Location: http://beprivate.info/faucet/server.php' ) ;
14 | ?>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/update/updatetotal.php:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * @author Greedi
4 | * @copyright 2012
5 | */
6 | include('/var/www/faucet/core/wallet.php');
7 |
8 | $dailytotal = $_POST['dailytotal'];
9 |
10 | mysql_query("UPDATE dailytotal SET dailytotal = $dailytotal")
11 | or die(mysql_error());
12 |
13 | header( 'Location: http://beprivate.info/faucet/server.php' ) ;
14 | ?>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/update/updateroundltc.php:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * @author Greedi
4 | * @copyright 2012
5 | */
6 | ini_set("display_errors", 1);
7 | include('/var/www/faucet/core/wallet.php');
8 |
9 | $roundltc = $_POST['roundltc'];
10 |
11 | $result = mysql_query("UPDATE roundltc SET roundltc = $roundltc")
12 | or die(mysql_error());
13 |
14 | header( 'Location: http://beprivate.info/faucet/server.php' ) ;
15 | ?>
16 |
17 |
18 |
--------------------------------------------------------------------------------
/core/daily.php:
--------------------------------------------------------------------------------
1 |
2 | $command = "SELECT * FROM roundltc,dailytotal,round";
3 | $q = mysql_query($command);
4 | $dltc = mysql_query("SELECT * FROM `dailyltc`");
5 | $rows = mysql_num_rows($q);
6 | $rows2 = mysql_num_rows($dltc);
7 | $i = 0;
8 | while ($i < $rows) {
9 | $roundltc = mysql_result($q, $i, "roundltc");
10 | $dailytotal = mysql_result($q, $i, "dailytotal");
11 | $round = mysql_result($q, $i, "round");
12 | $i++;
13 | }
14 | ?>
--------------------------------------------------------------------------------
/templates/footer.php:
--------------------------------------------------------------------------------
1 |