post_title); IF (!strlen($obt_title)) $obt_title = obt_translate("Untitled"); IF (strlen($post->post_password)) $obt_title = obt_translate("%1 (protected)",$obt_title); $obt_title = esc_html($obt_title,true); $obt_description = $obt_title; IF ($obt_comments_paginated){ IF (is_single()) $obt_description = obt_translate("You are currently viewing the comments for the post %1 on the blog %2",$obt_title,esc_html(get_bloginfo("name"),true)); IF (is_page()) $obt_description = obt_translate("You are currently viewing the comments for the post %1 on the blog %2",$obt_title,esc_html(get_bloginfo("name"),true)); $obt_title = obt_translate("Comments").": ".$obt_title; }ELSE{ IF (!strlen($post->post_excerpt)){ $obt_post_excerpt = get_the_content(); $obt_post_excerpt = apply_filters("get_the_excerpt",$obt_post_excerpt); $obt_post_excerpt = apply_filters("the_excerpt",$obt_post_excerpt); $obt_post_excerpt = obt_excerpt($obt_post_excerpt); }ELSE{ $obt_post_excerpt = $post->post_excerpt; $obt_post_excerpt = apply_filters("get_the_excerpt",$post->post_excerpt); $obt_post_excerpt = apply_filters("the_excerpt",$obt_post_excerpt); $obt_post_excerpt = str_replace(array("
","

","","","","\n")," ",$obt_post_excerpt); $obt_post_excerpt = strip_tags($obt_post_excerpt); WHILE (strpos($obt_post_excerpt," ") !== false) $obt_post_excerpt = str_replace(" "," ",$obt_post_excerpt); $text = trim($obt_post_excerpt); }; IF (strlen($obt_post_excerpt)) $obt_description .= ": ".$obt_post_excerpt; }; }ELSEIF (is_category()){ $obt_title = $obt_description = esc_html(ucfirst(single_cat_title("",false)),true); $obt_category_description = category_description(); IF (trim($obt_category_description) == "

") $obt_category_description = ""; IF (strlen($obt_category_description)) $obt_title .= ": ".obt_excerpt($obt_category_description,10); $obt_description .= ": ".esc_html(obt_first_titles(5),true); unset($obt_category); }ELSE{ IF (obt_is_tag()) $obt_title = $obt_description = ucfirst(obt_current_tag()); ELSEIF (is_search()){ $obt_title = $obt_description = esc_html(ucfirst($s),true); IF ($obt_tags = esc_html(ucfirst(obt_tag_keywords(3,$s)),true)) $obt_title .= ": {$obt_tags}"; }ELSEIF (is_year()) $obt_title = $obt_description = get_the_time("Y"); ELSEIF (is_month()) $obt_title = $obt_description = obt_translate("%1 %2",obt_translate_months(get_the_time("F")),get_the_time("Y")); ELSEIF (is_day()) $obt_title = $obt_description = obt_translate("%2 %1 %3",get_the_time("j"),obt_translate_months(get_the_time("F")),get_the_time("Y")); ELSEIF (is_author()) $obt_title = $obt_description = esc_html(get_the_author_nickname(),true); $obt_description .= ": ".esc_html(obt_first_titles(5),true); }; IF ($paged > 1){ $obt_title .= ": ".obt_translate("Page %1",$paged); $obt_description = obt_translate("Page %1",$paged).": {$obt_description}"; }; IF ($obt_comments_this_page > 1){ $obt_title .= ": ".obt_translate("Page %1",$obt_comments_this_page); $obt_description = obt_translate("Page %1",$obt_comments_this_page).": {$obt_description}"; }; IF (!is_404()) IF (is_category()){ IF (!strlen($obt_category_description)) IF ($obt_tags = esc_html(ucfirst(obt_tag_keywords(3,single_cat_title("",false))),true)) $obt_title .= ": {$obt_tags}"; $obt_keywords = esc_html(ucfirst(single_cat_title("",false)),true); IF ($obt_tags = esc_html(obt_tag_keywords(9,single_cat_title("",false)),true)) $obt_keywords .= ", {$obt_tags}"; }ELSEIF (obt_is_tag()){ IF ($obt_tags = esc_html(ucfirst(obt_tag_keywords(3,obt_current_tag())),true)) $obt_title .= ": {$obt_tags}"; $obt_keywords = esc_html(ucfirst(obt_current_tag()),true); IF ($obt_tags = esc_html(obt_tag_keywords(9,obt_current_tag()),true)) $obt_keywords .= ", {$obt_tags}"; }ELSE{ IF (is_date() || is_author()) $obt_title .= ": ".esc_html(ucfirst(obt_tag_keywords(3))); $obt_keywords = esc_html(ucfirst(obt_tag_keywords()),true); }; IF (!is_home()){ IF (obt_get_themeoption("site-title") != "beginning") $obt_title .= ": ".esc_html(get_bloginfo("name"),true); ELSE $obt_title = esc_html(get_bloginfo("name"),true).": {$obt_title}"; }; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "{$obt_title}\n"; echo "\n"; echo "\n"; echo "\n"; IF (strpos($wp_version,"mu") !== false) echo "\n"; ELSE echo "\n"; echo "\n"; echo "\n"; IF (get_option("blog_public") === "0") echo "\n"; ELSEIF (is_404() || (!is_home() && !is_single() && !is_page() && (obt_get_themeoption("meta-noindex") == "archives" || obt_get_themeoption("meta-noindex") == "paginated-archives" && $paged > 1))) echo "\n"; IF (is_single() || is_page()){ IF ($post->ping_status == "open"){ echo "\n"; echo "\n"; }; }; echo "\n"; echo "\n"; IF (obt_use_buffer()){ ob_start(); wp_head(); wp_meta(); $obt_meta = ob_get_contents(); ob_end_clean(); $obt_meta = obt_clean_meta($obt_meta); echo $obt_meta; unset($obt_meta); }ELSE{ wp_head(); wp_meta(); }; include(TEMPLATEPATH."/ads/before-head-close-tag.php"); echo "\n"; echo "\n"; include(TEMPLATEPATH."/ads/after-body-open-tag.php"); echo "
\n"; echo "
\n"; echo "
\n"; include(TEMPLATEPATH."/ads/before-header-title.php"); IF (preg_match("'^http:\/\/(.*)\.(.*)$'",obt_get_themeoption("image"))) echo "

\"".esc_html(get_bloginfo("name"),true).":

\n"; ELSE{ echo "

".esc_html(get_bloginfo("name"),true)."

\n"; IF (strlen(get_bloginfo("description"))) echo "
".get_bloginfo("description")."
\n"; }; include(TEMPLATEPATH."/ads/after-header-title.php"); echo "
\n"; IF (obt_get_themeoption("menu") != "regular"){ echo "
\n"; obt_widget_pages_list(); echo "
\n"; }; echo "
\n"; include(TEMPLATEPATH."/ads/after-header-content.php"); echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; include(TEMPLATEPATH."/ads/after-header.php"); echo "
\n"; ?>