if (substr($_SERVER["REQUEST_URI"], strlen($_SERVER["REQUEST_URI"])-1) != '/') {
$_SERVER["REQUEST_URI"] .= '/';
}
$server_name = $_SERVER["HTTP_HOST"];
$i = 0;
$str = $_SERVER["REQUEST_URI"];
while (strpos(" $str", '/')) {
$i++;
$str = substr($str, strpos($str, '/') + 1);
}
$level = $i;
$second_level = get_second_level($_SERVER["REQUEST_URI"]);
$third_level = get_third_level($_SERVER["REQUEST_URI"]);
$fourth_level = get_forth_level($_SERVER["REQUEST_URI"]);
function get_second_level($value) {
$value = substr($value, 1);
$value = substr($value, 0, strpos($value, '/'));
return stripslashes($value);
}
function get_third_level($value) {
$value = substr($value, 1);
$value = substr($value, strpos($value, '/') + 1);
$value = substr($value, 0, strpos($value, '/'));
return stripslashes($value);
}
function get_forth_level($value) {
$value = substr($value, 1);
$value = substr($value, strpos($value, '/') + 1);
$value = substr($value, strpos($value, '/') + 1);
$value = substr($value, 0, strpos($value, '/'));
return stripslashes($value);
}
switch ($level) {
case 3:
$alpha = $third_level;
$body = "inc_browse.php";
$title = "$alpha Definitions in Smiths Bible Dictionary (Bible History Online)";
$description = "$alpha Definitions in the Bible Encyclopedia - Smiths (Bible History Online) ";
$keywords = "Bible History Online - Smiths Bible Dictionary, Bible History, online, images, Resources, Free Bible Software, for Windows, ancient, Bible Maps, detailed biblical maps, Biblical History, Tabernacle, Ark of the Covenant, Jesus, Messiah, Paul the Apostle, New Testament, Old Testament, Bible Knowledge Accelerator, Jewish, Greek, Rome, Greece, Roman, Mediterranean, Assyria, Babylon, Egypt, Israel.";
$footer = "Copyright Information
© Smiths Bible Dictionary ";
break;
case 4:
$term = urldecode($fourth_level);
$body = "inc_term.php";
$title = "$term - Meaning of $term in Smiths Bible Dictionary (Bible History Online)";
$description = "$term: Biblical Meaning of $term in Smiths Bible Dictionary (Bible History Online)";
$keywords = "Smiths Bible Dictionary, Bible History, online, images, Resources, Free Bible Software, for Windows, ancient, Bible Maps, detailed biblical maps, Biblical History, Tabernacle, Ark of the Covenant, Jesus, Messiah, Paul the Apostle, New Testament, Old Testament, Bible Knowledge Accelerator, Jewish, Greek, Rome, Greece, Roman, Mediterranean, Assyria, Babylon, Egypt, Israel.";
$footer = "Bibliography Information
Smith, William, Dr \"Meaning and Definition for '$term' in Smiths Bible Dictionary\".
bible-history.com - Smith's; 1901.
Copyright Information
© Smith's Bible Dictionary ";
break;
case 2:
if ($_REQUEST['search_term']) {
$body = "inc_search.php";
$title = "Smith's Bible Dictionary (Search Results)";
$description = "Smiths Bible Dictionary. Bible History Online Images and Resources for Biblical History. Resources, Free Bible Software, Bible Art, Biblical History Topics and Study, and ancient Bible maps of Rome, Greece, and ancient Near East.J";
$keywords = "Smiths Bible Dictionary, Bible History, online, images, Resources, Free Bible Software, for Windows, ancient, Bible Maps, detailed biblical maps, Biblical History, Tabernacle, Ark of the Covenant, Jesus, Messiah, Paul the Apostle, New Testament, Old Testament, Bible Knowledge Accelerator, Jewish, Greek, Rome, Greece, Roman, Mediterranean, Assyria, Babylon, Egypt, Israel.";
} else {
$body = "inc_main_body.php";
$title = "Smith's Bible Dictionary (Bible History Online)";
$description = "Bible History Online - Smiths Bible Dictionary";
$keywords = "Bible History Online - Smiths Bible Dictionary, Bible History, online, images, Resources, Free Bible Software, for Windows, ancient, Bible Maps, detailed biblical maps, Biblical History, Tabernacle, Ark of the Covenant, Jesus, Messiah, Paul the Apostle, New Testament, Old Testament, Bible Knowledge Accelerator, Jewish, Greek, Rome, Greece, Roman, Mediterranean, Assyria, Babylon, Egypt, Israel.";
$footer = "Bibliography Information
Each subject contains bibliography information to use freely, it also includes a link back to Smith's Bible Dictionary.";
}
break;
default:
$body = "inc_main_body.php";
$title = "Smith's Bible Dictionary (Bible History Online)";
$description = "Bible History Online - Smiths Bible Dictionary";
$keywords = "Bible History Online - Smiths Bible Dictionary, Bible History, online, images, Resources, Free Bible Software, for Windows, ancient, Bible Maps, detailed biblical maps, Biblical History, Tabernacle, Ark of the Covenant, Jesus, Messiah, Paul the Apostle, New Testament, Old Testament, Bible Knowledge Accelerator, Jewish, Greek, Rome, Greece, Roman, Mediterranean, Assyria, Babylon, Egypt, Israel.";
$footer = "Bibliography Information
Each subject contains bibliography information to use freely, it also includes a link back to Smith's Bible Dictionary.";
}
?>
include("$body"); ?>
Meaning and
Definition of Pharaoh, Who Was the Pharaoh of the Exodus, Did God Harden
Pharaoh's Heart, Which Pharaoh Reigned during the Time of Joseph and Moses,
How Many
Watches of the Night, What were the Jewish Watches of the Night, What Is the
Meaning of the Fourth Watch, Midnight and the Cock Crowing,
What Were
Thorns and Thistles in the Bible, What were the Different Thorns and Thistles,
How Many Different Plants And Trees Had Thorns In the Time of Jesus,
Where Was Nineveh,
Definition and Meaning of Nineveh, Who Were the Assyrians, Which the Syrian King
Made Nineveh Their Capital, Which Palaces Were Nineveh, Did Archaeologists
Discovered Nineveh,
What is
the meaning of Edom and Idumea, Where the Edomites Descendents of Esau, Was
Herod and Edomite, When was Petra A City of Edom, Why Did the Edomites Fail When
They Attacked Israel After Jerusalem Fell,
Why did Noah send a
Raven? Was The Biblical Raven A Crow, Why Are Raven's Black, What Was the Raven
in the Mosaic Law, Do Raven's Attack the Eyes,
What was a
Crown of Thorns, Which Thorny Shrub or Plant Was the Crown of Thorns Made from,
What Color Was the Crown of Thorns, in Matthew 27:29 Why did the Roman soldiers
mock Jesus using a Crown of Thorns,
What was a Gergesenes, Where Was Gadara And What Is the Modern Name, Where Was
the Place That Jesus Healed the Two Demon Possessed Man, What Is the Meaning of
Gadarenes, What Is a Demoniac,
What were the
10 Plagues, What Does the Bible Say about Each of the 10 Plagues, Did God Use
the 10 Plagues to Mock the Gods of Egypt, in Exodus 3-12 How Are the Plagues
Described, Was the Passover Part of the 10th Plague,
Where was Zoar, What Is
the Biblical Meaning of okaythe Land of Zoar, Has Zoar Been Discovered, Where
Was Zoar in Relation to Sodom and Gomorrah