logo sorunu
4
●364
- 17-11-2009, 20:58:02headar.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <meta name="distribution" content="global" /> <meta name="robots" content="follow, all" /> <meta name="language" content="en, sv" /> <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please --> <link rel="Shortcut Icon" href="<?php echo get_settings('home'); ?>/wp-content/themes/church_10/images/favicon.ico" type="image/x-icon" /> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_get_archives('type=monthly&format=link'); ?> <?php wp_head(); ?> <style type="text/css" media="screen"><!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); --></style> <script type="text/javascript"><!--//--><![CDATA[//><!-- sfHover = function() { if (!document.getElementsByTagName) return false; var sfEls = document.getElementById("nav").getElementsByTagName("li"); // if you only have one main menu - delete the line below // var sfEls1 = document.getElementById("subnav").getElementsByTagName("li"); // for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } // if you only have one main menu - delete the "for" loop below // for (var i=0; i<sfEls1.length; i++) { sfEls1[i].onmouseover=function() { this.className+=" sfhover1"; } sfEls1[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover1\\b"), ""); } } // } if (window.attachEvent) window.attachEvent("onload", sfHover); //--><!]]></script> </head> <body> <div id="header"> <div class="headerleft"> <a href="<?php echo get_settings('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.jpg" alt="<?php bloginfo('description'); ?>" /></a> </div> <!--WP Yonetim Panelinde Tasarim -> Revolution Lifestyle Options sekmesine gidip 468x60 reklam kodunu yerlestirin.--> <div class="headerright"> <?php $ad_468 = get_option('revchurch_ad_468'); echo stripslashes($ad_468); ?> </div> </div> <div id="navbar"> <div id="navbarleft"> <ul id="subnav"> <li><a href="<?php echo get_settings('home'); ?>">Ana Sayfa</a></li> <?php wp_list_pages('title_li=&depth=3&sort_column=menu_order'); ?> </ul> </div> <div id="navbarright"> <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" value="Site İçi Arama..." name="s" id="searchbox" onfocus="if (this.value == 'Site ici arama...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Site ici arama...';}" /> <input type="submit" id="searchbutton" value="ara" /></form> </div> </div> <div style="clear:both;"></div> <div style="clear:both;"></div>
style.css
************************************************ * Header * ************************************************/ #header { background: #111111 url(images/header.png); width: 960px; height: 150px; color: #FFFFFF; font-size: 11px; margin: 0px; padding: 0px; overflow: hidden; } #header h1 { color: #FFFFFF; font-size: 36px; font-family: Georgia, Times New Roman; font-weight: normal; margin: 0px; padding: 15px 0px 0px 20px; text-decoration: none; } #header h1 a, #header h1 a:visited { color: #FFFFFF; font-size: 36px; font-family: Georgia, Times New Roman; font-weight: normal; margin: 0px; padding: 0px; text-decoration: none; } #header h1 a:hover { color: #FFFFFF; text-decoration: none; } #header h3 { color: #A91B33; font-size: 16px; font-family: Arial, Tahoma, Verdana; font-weight: normal; margin: 0px; padding: 0px; } #header p { color: #FFFFFF; padding: 0px 0px 5px 20px; margin: 0px; line-height: 20px; } .headerleft { width: 460px; float: left; font-size: 14px; margin: 0px; padding: 0px; } .headerleft a img { border: none; margin: 0px; padding: 0px; } .headerright { width: 486px; float: right; margin: 0px; padding: 18px 0px 0px 0px; font-weight: bold; } .headerright a img { border: none; margin: 0px 0px 3px 0px; padding: 0px; border: 1px solid #FFFFFF; }