diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/achievements.php | 2 | ||||
-rw-r--r-- | pages/admin.php | 2 | ||||
-rw-r--r-- | pages/challenge.php | 2 | ||||
-rw-r--r-- | pages/challengelist.php | 2 | ||||
-rw-r--r-- | pages/cp.php | 2 | ||||
-rw-r--r-- | pages/feedback.php | 2 | ||||
-rw-r--r-- | pages/gallery.php | 2 | ||||
-rw-r--r-- | pages/home.php | 2 | ||||
-rw-r--r-- | pages/leaderboard.php | 2 | ||||
-rw-r--r-- | pages/login.php | 2 | ||||
-rw-r--r-- | pages/massemail.php | 4 | ||||
-rw-r--r-- | pages/memberlist.php | 2 | ||||
-rw-r--r-- | pages/tutorial.php | 2 |
13 files changed, 14 insertions, 14 deletions
diff --git a/pages/achievements.php b/pages/achievements.php index ac7aded..1bb2195 100644 --- a/pages/achievements.php +++ b/pages/achievements.php @@ -7,7 +7,7 @@ htmlHeader(array('profile'), 'Pathery Achievements'); <?php
topbar($Links);
-include_once('./includes/db.inc.php');
+include_once('./includes/sqlEmbedded.php');
include_once('./includes/datas.php');
//Get UserID
diff --git a/pages/admin.php b/pages/admin.php index afac6c4..afc6418 100644 --- a/pages/admin.php +++ b/pages/admin.php @@ -9,7 +9,7 @@ topbar($Links); include_once('./includes/datas.php');
include_once('./includes/maps.php');
include_once('./includes/mapoftheday.php');
-include_once('./includes/db.inc.php');
+include_once('./includes/sqlEmbedded.php');
include_once('./includes/championPoints.php');
if ($_GET['applyall'] == 'true') {
diff --git a/pages/challenge.php b/pages/challenge.php index 8d312d1..35c9525 100644 --- a/pages/challenge.php +++ b/pages/challenge.php @@ -6,7 +6,7 @@ htmlHeader( include_once ('./includes/maps.php');
include_once ('./includes/mapoftheday.php');
-include_once ('./includes/db.inc.php');
+include_once ('./includes/sqlEmbedded.php');
include_once ('./includes/datas.php');
//Get custom wall colors;
diff --git a/pages/challengelist.php b/pages/challengelist.php index a6a4ade..ca9fe46 100644 --- a/pages/challengelist.php +++ b/pages/challengelist.php @@ -6,7 +6,7 @@ htmlHeader( include_once ('./includes/maps.php'); include_once ('./includes/mapoftheday.php'); -include_once ('./includes/db.inc.php'); +include_once ('./includes/sqlEmbedded.php'); include_once ('./includes/datas.php'); include_once ('./includes/mapclass.php'); diff --git a/pages/cp.php b/pages/cp.php index 06ec0e8..a807200 100644 --- a/pages/cp.php +++ b/pages/cp.php @@ -9,7 +9,7 @@ htmlHeader(); topbar($Links);
include('./includes/maps.php');
-include_once('./includes/db.inc.php');
+include_once('./includes/sqlEmbedded.php');
function validatename($name) {
if (strlen($name) < 1)
diff --git a/pages/feedback.php b/pages/feedback.php index 33c3e1d..e971f12 100644 --- a/pages/feedback.php +++ b/pages/feedback.php @@ -10,7 +10,7 @@ if (isset($_POST['regarding']) AND isset($_SESSION['accepted'])) { if (!is_int($userID))
return;
- include_once "includes/db.inc.php";
+ include_once "includes/sqlEmbedded.php";
$sql = "SELECT `email` FROM `users`
WHERE `ID` = '$userID'";
$result = mysql_query($sql);
diff --git a/pages/gallery.php b/pages/gallery.php index f8e1b9d..525c73a 100644 --- a/pages/gallery.php +++ b/pages/gallery.php @@ -1,7 +1,7 @@ <?PHP htmlHeader(array(), '', '', array('scores')); -include_once ('./includes/db.inc.php'); +include_once ('./includes/sqlEmbedded.php'); if ($accepted) { $userID = $_SESSION['userID']; diff --git a/pages/home.php b/pages/home.php index 37a94c3..d5ba45f 100644 --- a/pages/home.php +++ b/pages/home.php @@ -2,7 +2,7 @@ include_once ('./includes/maps.php');
include_once ('./includes/mapoftheday.php');
-include_once ('./includes/db.inc.php');
+include_once ('./includes/sqlEmbedded.php');
include_once ('./includes/datas.php');
htmlHeader(
diff --git a/pages/leaderboard.php b/pages/leaderboard.php index 9f40d8b..292de60 100644 --- a/pages/leaderboard.php +++ b/pages/leaderboard.php @@ -11,7 +11,7 @@ include('./includes/maps.php'); //include('./includes/mapoftheday.php');
include('./includes/datas.php');
-include_once ('./includes/db.inc.php');
+include_once ('./includes/sqlEmbedded.php');
function day_diff($date1, $date2) {
$current = $date1;
diff --git a/pages/login.php b/pages/login.php index 92b71fd..9358d89 100644 --- a/pages/login.php +++ b/pages/login.php @@ -48,7 +48,7 @@ try { $claimedid = $openid->__get('identity');
//I know just where to put this stuff!
- require './includes/db.inc.php';
+ require './includes/sqlEmbedded.php';
//Unless I already have this information...
//* Modify this to WHERE `email`
//$sql = "SELECT `ID`, `isAdmin`, `openID`, `displayName` FROM `users` WHERE `email` = '$email'";
diff --git a/pages/massemail.php b/pages/massemail.php index a861500..d45588b 100644 --- a/pages/massemail.php +++ b/pages/massemail.php @@ -6,7 +6,7 @@ htmlHeader(); topbar($Links);
include('./includes/datas.php');
-include('./includes/db.inc.php');
+include('./includes/sqlEmbedded.php');
if (isset($_POST['massemail']) AND isset($_SESSION['accepted'])) {
@@ -22,7 +22,7 @@ if (isset($_POST['massemail']) AND isset($_SESSION['accepted'])) { if (!is_int($userID))
return;
- include_once "includes/db.inc.php";
+ include_once "includes/sqlEmbedded.php";
$sql = "SELECT `email` FROM `users`
WHERE `ID` = '$userID'";
$result = mysql_query($sql);
diff --git a/pages/memberlist.php b/pages/memberlist.php index 22d88b4..3baf456 100644 --- a/pages/memberlist.php +++ b/pages/memberlist.php @@ -13,7 +13,7 @@ htmlHeader( topbar($Links);
-include_once ('./includes/db.inc.php');
+include_once ('./includes/sqlEmbedded.php');
include_once ('./includes/datas.php');
diff --git a/pages/tutorial.php b/pages/tutorial.php index 4d2446f..5208a57 100644 --- a/pages/tutorial.php +++ b/pages/tutorial.php @@ -13,7 +13,7 @@ topbar($Links); //TODO: Turn this into a function?
if ($accepted) {
- include_once ('./includes/db.inc.php');
+ include_once ('./includes/sqlEmbedded.php');
$userID = $_SESSION['userID'];
$sql = "
|