Check if the user is logged

<?php
global $Login;
if( $Login->is_logged() )
{
	echo 'User log in';
}
else
{
	echo 'User not log in';
}
?>

Variables

$settings

array(37) {
  ["name"]=>string(4) "Blog name"
  ["slogan"]=>string(6) "Blog slogan"
  ["footer"]=>string(21) "Powered by Nibbleblog"
  ["advanced_post_options"]=>bool(false)
  ["url"]=>string(28) "http://localhost/nibbleblog/"
  ["path"]=>string(12) "/nibbleblog/"
  ["items_page"]=>string(1) "1"
  ["items_rss"]=>string(1) "4"
  ["language"]=>string(5) "es_ES"
  ["timezone"]=>string(3) "UTC"
  ["timestamp_format"]=>string(9) "%d %B, %Y"
  ["locale"]=>string(5) "es_ES"
  ["img_resize"]=>bool(true)
  ["img_resize_width"]=>int(1000)
  ["img_resize_height"]=>int(600)
  ["img_resize_quality"]=>int(100)
  ["img_resize_option"]=>string(4) "auto"
  ["img_thumbnail"]=>bool(true)
  ["img_thumbnail_width"]=>int(190)
  ["img_thumbnail_height"]=>int(190)
  ["img_thumbnail_quality"]=>int(100)
  ["img_thumbnail_option"]=>string(9) "landscape"
  ["theme"]=>string(7) "orange2"
  ["notification_comments"]=>bool(false)
  ["notification_session_fail"]=>bool(false)
  ["notification_session_start"]=>bool(false)
  ["notification_email_to"]=>string(18) "diego@nibbleblog.com"
  ["notification_email_from"]=>string(17) "noreply@localhost"
  ["seo_site_title"]=>string(13) "Blog name - Blog slogan"
  ["seo_site_description"]=>string(0) ""
  ["seo_keywords"]=>string(0) ""
  ["seo_robots"]=>string(0) ""
  ["seo_google_code"]=>string(0) ""
  ["seo_bing_code"]=>string(0) ""
  ["seo_author"]=>string(0) ""
  ["friendly_urls"]=>bool(true)
  ["default_homepage"]=>int(0)
}

$pager

array(9) {
  ["next"]=>int(2)
  ["prev"]=>int(0)
  ["current"]=>int(1)
  ["href_older"]=>string(18) "/nibbleblog/page-2"
  ["href_newer"]=>string(19) "/nibbleblog/page-0"
  ["show_older"]=>bool(true)
  ["show_newer"]=>bool(false)
  ["num_posts"]=>int(3)
  ["num_pages"]=>int(2)
}

$layout

array(11) {
  ["controller"]=>string(13) "blog/view.bit"
  ["view"]=>string(13) "blog/view.bit"
  ["template"]=>string(11) "default.bit"
  ["title"]=>string(13) "Blog name - Blog slogan"
  ["description"]=>string(0) ""
  ["author"]=>string(0) ""
  ["robots"]=>string(0) ""
  ["keywords"]=>string(0) ""
  ["generator"]=>string(10) "Nibbleblog"
  ["feed"]=>string(17) "/nibbleblog/feed/"
  ["canonical"]=>string(28) "http://localhost/nibbleblog/"
}

$where_am_i

For example, if the user is in the blog and filter by a category.

array(2) {
  [0]=> string(4) "blog"
  [1]=> string(8) "category"
}

Constants

All constants defined by Nibbleblog

array(73) {
    ["PATH_ROOT"]=>  string(2) "./"
    ["PATH_CONTENT"]=>  string(10) "./content/"
    ["PATH_ADMIN"]=>  string(8) "./admin/"
    ["PATH_KERNEL"]=>  string(15) "./admin/kernel/"
    ["PATH_HELPERS"]=>  string(23) "./admin/kernel/helpers/"
    ["PATH_DB"]=>  string(18) "./admin/kernel/db/"
    ["PATH_API"]=>  string(19) "./admin/kernel/api/"
    ["PATH_ADMIN_CONTROLLER"]=>  string(20) "./admin/controllers/"
    ["PATH_ADMIN_VIEW"]=>  string(14) "./admin/views/"
    ["PATH_ADMIN_TEMPLATES"]=>  string(18) "./admin/templates/"
    ["PATH_ADMIN_AJAX"]=>  string(13) "./admin/ajax/"
    ["PATH_ADMIN_JS"]=>  string(11) "./admin/js/"
    ["PATH_LANGUAGES"]=>  string(12) "./languages/"
    ["PATH_PLUGINS"]=>  string(10) "./plugins/"
    ["PATH_THEMES"]=>  string(9) "./themes/"
    ["PATH_PUBLIC"]=>  string(17) "./content/public/"
    ["PATH_PRIVATE"]=>  string(18) "./content/private/"
    ["PATH_TMP"]=>  string(14) "./content/tmp/"
    ["PATH_PAGES"]=>  string(23) "./content/public/pages/"
    ["PATH_POSTS"]=>  string(23) "./content/public/posts/"
    ["PATH_COMMENTS"]=>  string(26) "./content/public/comments/"
    ["PATH_UPLOAD"]=>  string(24) "./content/public/upload/"
    ["PATH_PLUGINS_DB"]=>  string(26) "./content/private/plugins/"
    ["FILE_XML_POSTS"]=>  string(27) "./content/private/posts.xml"
    ["FILE_XML_PAGES"]=>  string(27) "./content/private/pages.xml"
    ["FILE_XML_TAGS"]=>  string(26) "./content/private/tags.xml"
    ["FILE_XML_CATEGORIES"]=>  string(32) "./content/private/categories.xml"
    ["FILE_XML_CONFIG"]=>  string(28) "./content/private/config.xml"
    ["FILE_XML_NOTIFICATIONS"]=>  string(35) "./content/private/notifications.xml"
    ["FILE_XML_COMMENTS"]=>  string(30) "./content/private/comments.xml"
    ["FILE_XML_USERS"]=>  string(27) "./content/private/users.xml"
    ["FILE_SHADOW"]=>  string(28) "./content/private/shadow.php"
    ["FILE_KEYS"]=>  string(26) "./content/private/keys.php"
    ["COMMENT_INTERVAL"]=>  int(30)
    ["NOTIFICATIONS_AMOUNT"]=>  int(8)
    ["LAST_COMMENTS_AMOUNT"]=>  int(8)
    ["COMMENTS_AMOUNT"]=>  int(10)
    ["POSTS_AMOUNT"]=>  int(10)
    ["PAGES_AMOUNT"]=>  int(15)
    ["BLACKLIST_SAVED_REQUESTS"]=>  int(15)
    ["BLACKLIST_LOCKING_AMOUNT"]=>  int(5)
    ["BLACKLIST_TIME"]=>  int(5)
    ["NOTIFICATION_DATE_FORMAT"]=>  string(16) "%d %B - %H:%M:%S"
    ["LAST_COMMENT_DATE_FORMAT"]=>  string(16) "%d %B - %H:%M:%S"
    ["COMMENT_DATE_FORMAT"]=>  string(22) "%I:%M:%S %p - %m/%d/%y"
    ["POST_DATE_FORMAT"]=>  string(22) "%I:%M:%S %p - %m/%d/%y"
    ["BLOG_URL"]=>  string(28) "http://localhost/nibbleblog/"
    ["HTML_PATH_ROOT"]=>  string(12) "/nibbleblog/"
    ["HTML_PATH_ADMIN"]=>  string(18) "/nibbleblog/admin/"
    ["HTML_PATH_ADMIN_TEMPLATES"]=>  string(28) "/nibbleblog/admin/templates/"
    ["HTML_PATH_ADMIN_JS"]=>  string(21) "/nibbleblog/admin/js/"
    ["HTML_PATH_ADMIN_AJAX"]=>  string(23) "/nibbleblog/admin/ajax/"
    ["HTML_PATH_THEMES"]=>  string(19) "/nibbleblog/themes/"
    ["HTML_PATH_PLUGINS"]=>  string(20) "/nibbleblog/plugins/"
    ["HTML_PATH_PLUGINS_DB"]=>  string(36) "/nibbleblog/content/private/plugins/"
    ["HTML_PATH_UPLOAD"]=>  string(34) "/nibbleblog/content/public/upload/"
    ["THEME_ROOT"]=>  string(17) "./themes/orange2/"
    ["THEME_CONTROLLERS"]=>  string(29) "./themes/orange2/controllers/"
    ["THEME_VIEWS"]=>  string(23) "./themes/orange2/views/"
    ["THEME_TEMPLATES"]=>  string(27) "./themes/orange2/templates/"
    ["THEME_CSS"]=>  string(21) "./themes/orange2/css/"
    ["THEME_IMG"]=>  string(25) "./themes/orange2/css/img/"
    ["THEME_LANGUAGE"]=>  string(26) "./themes/orange2/language/"
    ["HTML_THEME_ROOT"]=>  string(27) "/nibbleblog/themes/orange2/"
    ["HTML_THEME_CSS"]=>  string(31) "/nibbleblog/themes/orange2/css/"
    ["HTML_THEME_IMG"]=>  string(35) "/nibbleblog/themes/orange2/css/img/"
    ["HTML_THEME_JS"]=>  string(30) "/nibbleblog/themes/orange2/js/"
    ["JS_JQUERY"]=>  string(37) "/nibbleblog/admin/js/jquery/jquery.js"
    ["NIBBLEBLOG_VERSION"]=>  string(3) "4.0"
    ["NIBBLEBLOG_NAME"]=>  string(6) "Coffee"
    ["NIBBLEBLOG_RELEASE_DATE"]=>  string(10) "02/02/2014"
    ["NIBBLEBLOG_BUILD"]=>  int(1391376286)
    ["DEBUG_MODE"]=>  bool(false)
}