Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- date_default_timezone_set("America/Edmonton");
- session_start();
- $loggedin = isset($_SESSION['username']);
- $serveraccount = isset($_SESSION['server_account']);
- //SETUP
- define("HOME", "http://68.148.10.71/meaMail/");
- define("INBOX", "http://68.148.10.71/meaMail/pages/inbox/");
- define("SERVERINBOX", "http://68.148.10.71/meaMail/pages/serverinbox/");
- define("LOGIN", "http://68.148.10.71/meaMail/pages/login/");
- define("REGISTER", "http://68.148.10.71/meaMail/pages/register/");
- define("ADDSERVER", "http://68.148.10.71/meaMail/pages/newserver/");
- define("SERVERLIST", "http://68.148.10.71/meaMail/pages/servers/");
- define("ABOUT", "http://68.148.10.71/meaMail/pages/about/");
- define("CONTACT", "http://68.148.10.71/meaMail/pages/contact/");
- define("PRIVACY", "http://68.148.10.71/meaMail/pages/privacypolicy/");
- define("TERMS", "http://68.148.10.71/meaMail/pages/termsofservice/");
- define("PLUGIN", "http://68.148.10.71/meaMail/pages/plugin/");
- define("FAQ", "http://68.148.10.71/meaMail/pages/help/");
- define("FEEDBACK", "http://68.148.10.71/meaMail/pages/feedback/");
- define("TIMESTAMP", date("h:i:s A")." MST");
- define("DATESTAMP", date("l, F d, Y"));
- //Server Setup (meaMail Plugin)
- define("MAILSERVER", "68.148.10.71:4481");
- define("MAILCONTACT", "http://68.148.10.71/meaMail/pages/contact/index.php?mode=mea");
- //FAQ portion (bottom center of pages)
- define("FAQ1", "http://68.148.10.71/meaMail/pages/help/index.php?issue=1");
- define("FAQ2", "http://68.148.10.71/meaMail/pages/help/index.php?issue=2");
- define("FAQ3", "http://68.148.10.71/meaMail/pages/help/index.php?issue=3");
- define("FAQ4", "http://68.148.10.71/meaMail/pages/help/index.php?issue=4");
- define("FAQ5", "http://68.148.10.71/meaMail/pages/help/index.php?issue=5");
- define("FAQ_LABEL1", "How do I use it?");
- define("FAQ_LABEL2", "How do I use the web-interface?");
- define("FAQ_LABEL3", "How can I get it on my server?");
- define("FAQ_LABEL4", "How do I register my server?");
- define("FAQ_LABEL5", "How long does it take to send?");
- function getFAQ(){
- return "
- <li><a href=\"".FAQ1."\">".FAQ_LABEL1."</a></li>
- <li><a href=\"".FAQ2."\">".FAQ_LABEL2."</a></li>
- <li><a href=\"".FAQ3."\">".FAQ_LABEL3."</a></li>
- <li><a href=\"".FAQ4."\">".FAQ_LABEL4."</a></li>
- <li><a href=\"".FAQ5."\">".FAQ_LABEL5."</a></li>
- ";
- }
- function getDonate(){
- return "<div style='margin-bottom:1px;'> </div><form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">
- <input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">
- <input type=\"hidden\" name=\"hosted_button_id\" value=\"AC68Z4RXNK8QN\">
- <input type=\"image\" src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">
- <img alt=\"\" border=\"0\" src=\"https://www.paypalobjects.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">
- </form>";
- }
- function getContact(){
- return "<p>If you want to contact us click <a href='".CONTACT."'>here</a> or send us a fancy in-game mail by clicking <a href='".MAILCONTACT."'>here</a>. Or if you want to send your own mail, see below:</p>
- <strong>E-mail:</strong> <a href=\"mailto:[email protected]\">[email protected]</a></p>";
- }
- //Start other stuff
- include "communication.php";
- include "users.php";
- include "plugin.php";
- include "mail.php";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment