diff --git a/inc/admin/script_files/admin.fplinks.php b/inc/admin/script_files/admin.fplinks.php index 39531ea..33c208c 100644 --- a/inc/admin/script_files/admin.fplinks.php +++ b/inc/admin/script_files/admin.fplinks.php @@ -18,7 +18,7 @@ '1-News', '2-Account', '3-GameGuide', - '4-Interactive', + '4-Workshop', '5-Media', '6-Forums', '7-Community', diff --git a/inc/admin/template_files/admin.chartools.php b/inc/admin/template_files/admin.chartools.php index e197ec3..f18dd81 100644 --- a/inc/admin/template_files/admin.chartools.php +++ b/inc/admin/template_files/admin.chartools.php @@ -200,11 +200,22 @@
: | + | : "; + if($x == 1) + { + $separator = " | "; + } + else + { + $separator = ""; + $x = 1; + } + + echo $separator . ""; if($user['cur_selected_realm'] == $Rlm['id']) { echo "".$Rlm['name'].""; @@ -213,7 +224,7 @@ { echo $Rlm['name']; } - echo " | "; + echo ""; } ?> |
diff --git a/inc/admin/template_files/admin.sendgamemail.php b/inc/admin/template_files/admin.sendgamemail.php
index 6d100fb..10d630a 100644
--- a/inc/admin/template_files/admin.sendgamemail.php
+++ b/inc/admin/template_files/admin.sendgamemail.php
@@ -29,12 +29,23 @@
: | + | : "; + if($x == 1) + { + $separator = " | "; + } + else + { + $separator = ""; + $x = 1; + } + + echo $separator . ""; if($user['cur_selected_realm'] == $Rlm['id']) { echo "".$Rlm['name'].""; @@ -43,7 +54,7 @@ { echo $Rlm['name']; } - echo " | "; + echo ""; } ?> |
diff --git a/inc/server/server.chars.php b/inc/server/server.chars.php
index 9b42e6c..291641d 100644
--- a/inc/server/server.chars.php
+++ b/inc/server/server.chars.php
@@ -8,13 +8,16 @@
/* Original MangosWeb (C) 2007, Sasha, Nafe, TGM, Peec */
/****************************************************************************/
-//========================//
if(INCLUDED !== TRUE) {
echo "Not Included!";
exit;
}
-$pathway_info[] = array('title'=>$lang['Characters'],'link'=>'');
-//========================//
+
+// build top of page navigation breadcrumbs
+$realm = $DB->selectRow("SELECT * FROM realmlist WHERE `id`='".$user['cur_selected_realm']."' LIMIT 1");
+$pathway_info[] = array('title' => $lang['Characters'], 'link' => '?p=server&sub=chars');
+$pathway_info[] = array('title' => $realm['name'], 'link' => '');
+
// Tell the cache not to cache the file because theres more then 1 page
define("CACHE_FILE", FALSE);
@@ -43,7 +46,7 @@
$cc = 0;
-// array´s
+// arrays
$query1 = array();
//===== Filter ==========//
diff --git a/inc/server/server.playersonline.php b/inc/server/server.playersonline.php
index 0057dfb..2666719 100644
--- a/inc/server/server.playersonline.php
+++ b/inc/server/server.playersonline.php
@@ -8,7 +8,6 @@
/* Original MangosWeb (C) 2007, Sasha, Nafe, TGM, Peec */
/****************************************************************************/
-//========================//
if(INCLUDED !== TRUE) {
echo "Not Included!";
exit;
@@ -22,10 +21,10 @@
redirect("?p=server&sub=playersonline",1);
}
-// ==================== //
+// build top of page navigation breadcrumbs
+$realm = $DB->selectRow("SELECT * FROM realmlist WHERE `id`='".$user['cur_selected_realm']."' LIMIT 1");
$pathway_info[] = array('title' => $lang['online_players'], 'link' => '?p=server&sub=playersonline');
$pathway_info[] = array('title' => $realm['name'], 'link' => '');
-// ==================== //
// Tell the cache not to cache the file because we want live feeds
define("CACHE_FILE", FALSE);
diff --git a/inc/server/server.statistic.php b/inc/server/server.statistic.php
index f370105..278436e 100644
--- a/inc/server/server.statistic.php
+++ b/inc/server/server.statistic.php
@@ -12,13 +12,13 @@
echo "Not Included!"; exit;
}
+// build top of page navigation breadcrumbs
$realm = $DB->selectRow("SELECT * FROM realmlist WHERE `id`='".$user['cur_selected_realm']."' LIMIT 1");
$pathway_info[] = array('title' => 'Server Statistics', 'link' => '?p=server&sub=statistic');
$pathway_info[] = array('title' => $realm['name'], 'link' => '');
//initialize $num_chars variable
$num_chars = 0;
-//$realm_param = get_realm_byid($_COOKIE['cur_selected_realm']);;
$rc = $CDB->select("SELECT race, count(race) AS `num` FROM `characters` GROUP BY race");
foreach($rc as $row)
@@ -35,8 +35,6 @@
}
$num_chars += $data[$i];
-
- // echo "data[$i] = ".$data[$i]." - num_chars = $num_chars