<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
global $shortname;
?>
<!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" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!--[if lte IE 7]><style media="screen,projection" type="text/css">@import "<?php bloginfo('template_url'); ?>/style-ie.css";</style><![endif]-->
<!-- main menu -->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jqueryslidemenu/jqueryslidemenu.js"></script>
<!-- /main menu -->
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
<body>
<!-- wrapper -->
<div class="wrapper">
<!-- header -->
<div id="header">
<!-- header_logo -->
<div id="header_logo">
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
</div>
<!-- /header_logo -->
<!-- header_search -->
<div id="header_search">
<form action="<?php bloginfo('url'); ?>/" method="get">
<fieldset>
<input type="text" value="Search..." name="s" id="main_search_val" onclick="this.value=''" onblur="if(this.value=='') this.value='Search...';" />
<input type="image" src="<?php bloginfo('template_url'); ?>/images/button_search.gif" alt="search" id="main_search_sub" />
</fieldset>
</form>
</div>
<!-- /header_search -->
</div>
<!-- /header -->
<!-- mainmenu -->
<div id="mainmenu">
<ul>
<li class="first <? if(is_home()) echo 'current_page_item'; ?>"><a href="<?php echo get_option('home'); ?>/"><span>Home</span></a></li>
<?php $menu_type = thman_get_meta($shortname.'_menu_type');
if($menu_type=='enable') :
wp_list_pages2('title_li=&sort_column=menu_order&depth=0&link_before=<span>&link_after=</span>&exclude=');
else :
wp_list_categories2('show_count=0&title_li=&link_before=<span>&link_after=</span>&cat=');
endif; ?>
</ul>
</div>
<!-- /mainmenu -->
<!-- body -->
<div id="body">
<!-- body_top -->
<div id="body_top">
<!-- body_end -->
<div id="body_end">şeklinde umarım olur yaw