-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathsoftwaredonations.php
More file actions
executable file
·82 lines (72 loc) · 2.55 KB
/
softwaredonations.php
File metadata and controls
executable file
·82 lines (72 loc) · 2.55 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
<?php
// Load Linkage Variables //
$dir = dirname(__FILE__);
$req = $dir."/req/";
$functions = $req."functions.php";
//Include hashing functions
include($functions);
//Include bitcoind functions
include($bitcoind);
$pageTitle = outputPageTitle()." - ";
$pageTitle .= gettext("Main Page");
//Set user details for userInfo box
$rawCookie = "";
$rawCookie = $_COOKIE[$cookieName];
$getCredientials = new getCredientials;
$loginValid = $getCredientials->checkLogin($rawCookie);
//Set message depending on wheather the user is logged in or not
if($loginValid == 1){
$contentTitle = "Redirecting you to the donations page....";
$contentMessage = "Just wait a couple of seconds, I guarantee that before you even done reading this you'll see the page that will assist you in donationg your coins to a good cause, such as the support of this free web-software that you are interacting right now, or even Red Cross";
}else if($loginValid == 0){
$contentTitle = "You must be logged into donate your coins";
}
?>
<?php
//Include the header & slogan
include($header);
////////////////////////////
?>
<div class="art-sheet">
<div class="art-sheet-tl"></div>
<div class="art-sheet-tr"></div>
<div class="art-sheet-bl"></div>
<div class="art-sheet-br"></div>
<div class="art-sheet-tc"></div>
<div class="art-sheet-bc"></div>
<div class="art-sheet-cl"></div>
<div class="art-sheet-cr"></div>
<div class="art-sheet-cc"></div>
<div class="art-sheet-body">
<div class="art-content-layout">
<div class="art-content-layout-row">
<div class="art-layout-cell art-content">
<div class="art-post">
<div class="art-post-body">
<div class="art-post-inner art-article">
<div class="art-postcontent">
<div class="blogContainer">
<div class="blogHeader">
<h1 class="blogHeader">
<?php echo $contentTitle;?>
</h1>
</div>
<div class="blogContent">
<?php echo $contentMessage; ?>
</div>
</div>
</div>
<div class="cleared"></div>
</div>
<div class="cleared"></div>
</div>
</div>
<div class="cleared"></div>
</div>
</div>
</div>
<?php
//Include Footer
////////////////////
include($footer);
?>