Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3. ////////////////////////////////
  4. //////// Steam Key ////////////
  5. //////////////////////////////
  6.  
  7. $steamauth['apikey'] = "88E9A1C343AB6B1D465EDBF058C54B23"; // Your Steam WebAPI-Key found at http://steamcommunity.com/dev/apikey
  8.  
  9. /////////////////////////////////////////
  10. //////// Steam Button Config ///////////
  11. ///////////////////////////////////////
  12.  
  13. $steamauth['buttonstyle'] = "large"; // Style of the login button [small|large_no|large]
  14.  
  15. //////////////////////////////////
  16. //////// MySQL Config ///////////
  17. ////////////////////////////////
  18.  
  19. $connectionname = "localhost"; // Default is localhost
  20. $username = "loyalcse_apps"; // Username of your database
  21. $password = "Niggers123"; // Password of your database
  22. $dbname = "loyalcse_apps"; // Database name
  23. $tablename = "applications"; // Name of the table where insert info (By default: applications)
  24. $allowdev = true; // Allow the developer of this script to access to your Admin Panel to fix any Support Ticket easier (THIS WILL BE VALIDATED ONCE YOU INSTALL THE SYSTEM FOR THE FIRST TIME). (SET IT TO FALSE IF YOU'RE TOO PARANOIC)
  25.  
  26. /////////////////////////////
  27. //////// SteamID ///////////
  28. ///////////////////////////
  29.  
  30. $user = "76561198121114919"; // Your SteamID64, get it by using steamid.io (normally is filled up automatly)
  31.  
  32. /////////////////////////////////
  33. //////// Site Config ///////////
  34. ///////////////////////////////
  35.  
  36. $indexurl = "http://loyalcservers.com/apply/"; // The URL where is installed the system - SLASH at the ending!
  37. $allowapps = "allow"; // Allow/Disallow submiting of applications. (allow / disallow)
  38.  
  39. $uploadsys = true; // Activate/Deactivate the uploading system. (true / false)
  40.  
  41. //////////////////////////////////
  42. //////// Email Config ///////////
  43. ////////////////////////////////
  44.  
  45. // WARNING!!!! IF YOU DON'T HAVE BASIC HTML AND PHP CODING KNOWLEDGE, JUST PLEASE DON'T TOUCH THIS.
  46.  
  47. // STRING VALUES:
  48. //$servername = Your Server Name.
  49. //$pname = Player Username.
  50. //$steamid = SteamID64 of username.
  51. //$userm = User Email.
  52. //$dreason = Explanation by the admin why the user has been denied.
  53. //$adminemail = Your email specified at the installation.
  54. // ACCEPTED EMAIL
  55.  
  56. $amessage = "
  57. <html>
  58. <head>
  59. <title>".$servername." Staff Aplication</title>
  60. </head>
  61. <body>
  62.  
  63. <h3>Dear ".$pname."...</br></h3>
  64.  
  65. <h4>After carefully considering your staff application the head staff have not acquired a verdict at the moment. We regret to inform you that your application has been accepted.</h4></br></br>
  66.  
  67.  
  68. <h4>Please allow 7 days before you get your rank. If you make another application before 7 days has passed, your application will be automatically denied.</br></br></h4>
  69.  
  70.  
  71. <h4>".$servername."</br></br></h4>
  72.  
  73.  
  74. <h4>2016 ".$servername.". All rights reserved.</br></br></h4>
  75.  
  76.  
  77. <h4>THIS IS AN AUTOMATED MESSAGE, PLEASE DO NOT REPLY!</h3></h4>
  78. </body>
  79. </html>
  80. ";
  81.  
  82. // DENIED EMAIL
  83.  
  84. $dmessage = "
  85. <html>
  86. <head>
  87. <title>".$servername." Staff Aplication</title>
  88. </head>
  89. <body>
  90. <h3>Dear ".$pname."...</br></h3
  91.  
  92. <h4>After carefully considering your staff application the head staff have acquired a verdict. We regret to inform you that your application has been denied.</h4></br></br>
  93.  
  94.  
  95. <h4>Please allow 7 days before you apply again. If you make another application before 7 days has passed it will be automatically denied.</h4></br></br>
  96.  
  97.  
  98. <h4>You have been denied for the next reasons:</h4><br><br>
  99.  
  100.  
  101. ".$dreason."<br><br>
  102.  
  103.  
  104. <h4>If you think this is an error, please contact us at ".$adminemail.".</h4></br></br>
  105.  
  106.  
  107. <h4>".$servername."</br></br></h4>
  108.  
  109.  
  110. <h4>2016 ".$servername." All rights reserved.</br></br></h4>
  111.  
  112.  
  113. <h4>THIS IS AN AUTOMATED MESSAGE, PLEASE DO NOT REPLY!</h3></h4>
  114. </body>
  115. </html>
  116. ";
  117.  
  118. // ATTENTION: IF YOU'RE TRYING TO INSTALL THIS SYSTEM WHILE YOU'RE NOT THE PERSON WHO BOUGHT IT, IT WILL COUNT AS LEAK AND IT WILL BE NOTIFIED TO SCRIPTFODDER ADMINS
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157. // System stuff, dont touch this
  158. $pname = $_POST['pname'];
  159. $dreason = $_POST['dreason'];
  160. $steamauth['loginpage'] = $indexurl;
  161. $steamauth['logoutpage'] = "";
  162. $steamauth['domainname'] = $indexurl;
  163. if (empty($steamauth['apikey'])) {die("<div style='display: block; width: 100%; background-color: red; text-align: center;'>SteamAuth:<br>Please supply an API-Key!</div>");}
  164. if (empty($steamauth['domainname'])) {$steamauth['domainname'] = "localhost";}
  165. if ($steamauth['buttonstyle'] != "small" and $steamauth['buttonstyle'] != "large") {$steamauth['buttonstyle'] = "large_no";}
  166. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement