<?php include "header.php"; define('__ROOT__', dirname(__FILE__)); //require_once(__ROOT__.'/controllers/playersc.php'); require_once __ROOT__ . '/models/connection.php'; require_once __ROOT__ . '/models/PlayerM.php'; $db = new DBConnection(); $PM = new PlayersM($db); $IPCON = false; $IPC = $PM->GetUserByIP($_SERVER['REMOTE_ADDR']); if ($IPC) { if (sizeOf($IPC) == 1) { $IPCON = true; } } ?> <div class="container basic-set marketing" > <h2><span style="color:#2980b9">Thank you for taking time to consider Contributing to the Prophecy Gaming Community.</span></h2> <hr /> <p>Prophecy Gaming is not a pay to win server and as such we do not believe that it is fair to allow players to pay for equipment which provides a tactical advantage in game, or gives anyone better gear. We also do not charge subscriptions or any money for any features in game, be it Mods / Missions or any Add-Ons that we are hosting, every mission you play is totally free and all access is given to everything available in said mission.</p> <p>By contributing to the server you are <span style="color:#e74c3c">NOT paying for rewards in game</span>, you are only helping us keep the server alive.</p> <p>However, the players who do give back to the community should be <span style="color:#e74c3c">rewarded and thus they are given the rewards as a thank you, not as a paid service.</span></p> <p><span style="color:#e74c3c">We are incredibly grateful for any Contributions. Little or large.</span> Your contribution cover's Team-speak Costs, Website Upkeep and Server costs , the rewards we provide are a thank you for helping us with the upkeep of the community.</p>
<?php include "header.php"; define('__ROOT__', dirname(__FILE__)); //require_once(__ROOT__.'/controllers/playersc.php'); require_once __ROOT__ . '/models/connection.php'; require_once __ROOT__ . '/models/PlayerM.php'; $db = new DBConnection(); $PM = new PlayersM($db); $row1 = $PM->GetTopTenTime(); $row2 = $PM->GetTopTenWanted(); function secondsToTime($seconds) { $dtF = new DateTime("@0"); $dtT = new DateTime("@{$seconds}"); return $dtF->diff($dtT)->format('%ad:%hh:%im'); } function trim_value($value) { $value = trim($value); return $value; } function CrimetoStr($crime) { switch ($crime) { case "187V": return "Vehicular Manslaughter"; break; case "187": return "Manslaughter"; break;
<?php define('__ROOT__', dirname(__FILE__)); //require_once(__ROOT__.'/controllers/playersc.php'); require_once __ROOT__ . '/models/connection.php'; require_once __ROOT__ . '/models/PlayerM.php'; $db = new DBConnection(); $PM = new PlayersM($db); if (!$PM->checkStatus($_POST['player_id'])) { die("Please fill in a valid Player ID"); } else { $pid = $_POST['player_id']; } function secondsToTime($seconds) { $dtF = new DateTime("@0"); $dtT = new DateTime("@{$seconds}"); return $dtF->diff($dtT)->format('%ad:%hh:%im'); } function carName($car) { switch ($car) { case "B_Quadbike_01_F": return "QuadBike"; break; case "C_Offroad_01_F": return "Offroad"; break; case "C_Boat_Civil_01_F": return "Boat"; break;
<?php define('__ROOT__', dirname(__FILE__)); //require_once(__ROOT__.'/controllers/playersc.php'); require_once __ROOT__ . '/models/connection.php'; require_once __ROOT__ . '/models/PlayerM.php'; session_start(); $logged = false; $db = new DBConnection(); $PM = new PlayersM($db); if (isset($_SESSION['login_user'])) { $logged = true; } else { if (!empty($_POST)) { $info = $PM->Login($_POST['user'], $_POST['pword']); if ($info != false) { $_SESSION['login_user'] = $_POST['user']; $_SESSION['login_pswd'] = $_POST['pword']; if ($info['cop'] == 1) { $_SESSION['login_cop'] = 1; } if ($info['medic'] == 1) { $_SESSION['login_medic'] = 1; } if ($info['admin'] == 1) { $_SESSION['login_admin'] = 1; } $logged = true; } else { echo "Unable to login with those credentials, please try again"; die($info);