Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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'); ?>" />
- <meta name="description" content="<?php echo get_option('seo1'); ?>" />
- <meta name="keywords" content="<?php echo get_option('seo2'); ?>" />
- <title>
- <?php if ( is_archive() ) { _e('تصنيف '); } wp_title('-', true, 'right'); bloginfo('name'); ?>
- </title>
- <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'); ?>" />
- <link rel="shortcut icon" href="<?php echo get_option('favicon'); ?>" />
- <link href="<?php bloginfo('template_directory'); ?>/css/Reset.css" rel="stylesheet" type="text/css" />
- <link href="<?php bloginfo('template_directory'); ?>/style.css" rel="stylesheet" type="text/css" />
- <?php if (is_single()) { ?>
- <?php global $wp_query; $postid = $wp_query->post->ID; ?>
- <link rel="image_src" href="<?php if (has_post_thumbnail()) {
- $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'small');
- echo $thumb[0]; // thumbnail url
- } ?>" />
- <?php } ?>
- <?php wp_head(); ?>
- </head>
- <body>
- <?php if (get_option('styleSwicther')=='yes'){?>
- <link href="<?php bloginfo('template_directory'); ?>/css/StyleSwitcher.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- bloginfo='<?php bloginfo('template_directory'); ?>';
- </script>
- <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/StyleSwitcher.js" ></script>
- <?php
- include_once(TEMPLATEPATH . '/includes/StyleSwitcher.php');
- } ?>
- <!--Start SKIN-->
- <?php include_once(TEMPLATEPATH . '/includes/Skins.php');?>
- <!--End SKIN-->
- <!-- Begin Top Bar -->
- <div id="header">
- <div id="headerpages">
- <div id="WrapperMenu">
- <div id="WrapperMenuPatern">
- <div id="someunknownrapper">
- <div class="someunknownrapperl">
- <div id="headernavigation1">
- <ul>
- <?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'container_id' => 'topMenu', 'fallback_cb'=>'primarymenu1') );?>
- </ul>
- </div>
- </div>
- <div class="someunknownrapperr"> <a href="<?php echo get_option('feedurl'); ?>"> <img src="<?php bloginfo('template_url'); ?>/images/rss.gif" class="someunknownrapperrimg" /></a> <a href="<?php echo get_option('feedurl'); ?>">اشترك عن طريق الخلاصات</a> / <a href="<?php echo get_option('feedburner'); ?>">البريد</a> </div>
- <?php
- $useragent=getenv("HTTP_USER_AGENT");
- if (eregi("MSIE [4-6]",$useragent))
- {$condition = '';}
- else
- {$condition = '<div class="clear"></div>';}
- echo $condition;
- ?>
- </div>
- </div>
- <?php
- $useragent=getenv("HTTP_USER_AGENT");
- if (eregi("MSIE [4-6]",$useragent))
- {$condition = '';}
- else
- {$condition = '<div class="clear"></div>';}
- echo $condition;
- ?>
- </div>
- <div class="wrapper1">
- <!-- Begin Header Bar -->
- <div id="headerwrappermiddle">
- <div class="wrapper1"> <a style="float: right;" href="<?php bloginfo('home'); ?>/"> <img src="<?php echo get_option('logo'); ?>" border="0" alt="" /></a>
- <div id="theheaderight">
- <div class="bigsearch">
- <div class="searchr">
- <form id="searchform" action="<?php echo get_option('home') ?>">
- <input style="_border:none;_font-family: Arial;_font-size: 16px;_font-weight:700;_width:300px;" type="text" name="s" value="هل تبحث عن شيء ؟" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" />
- <input type="image" src="<?php bloginfo('template_url'); ?>/images/space.gif" />
- </form>
- </div>
- </div>
- <div class="headerbookmark">
- <?php if(get_option('twitterok')!="yes"):?>
- <?php endif?>
- <?php if(get_option('twitterok')!="no"):?>
- <div class="headerbookmark1"> <a href="<?php echo get_option('twitter'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/icons/twitter-h.jpg" width="21px" height="21px" alt="" /></a> </div>
- <?php endif?>
- <?php if(get_option('facebookok')!="yes"):?>
- <?php endif?>
- <?php if(get_option('facebookok')!="no"):?>
- <div class="headerbookmark1"> <a href="<?php echo get_option('facebook'); ?>"> <img src="<?php bloginfo('template_url'); ?>/images/icons/facebook-h.jpg" alt="" width="21px" height="21px" /></a> </div>
- <?php endif?>
- <?php if(get_option('youtubeok')!="yes"):?>
- <?php endif?>
- <?php if(get_option('youtubeok')!="no"):?>
- <div class="headerbookmark1"> <a href="<?php echo get_option('youtube'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/icons/yt-h.jpg" alt="" width="21px" height="21px"/></a> </div>
- <?php endif?>
- </div>
- <?php
- $useragent=getenv("HTTP_USER_AGENT");
- if (eregi("MSIE [4-6]",$useragent))
- {$condition = '';}
- else
- {$condition = '<div class="clear"></div>';}
- echo $condition;
- ?>
- <div id="adsense-468">
- <?php echo get_option('468'); ?>
- </div>
- </div>
- <div class="clear"></div>
- </div>
- <div class="clear2"></div>
- </div>
- <div class="clear2"></div>
- </div>
- </div>
- <div id="headline">
- <div class="headerticker">
- <div id="news">
- <div class="news_title"> <?php echo get_option(''); ?> <img src="<?php bloginfo('template_url'); ?>/images/headlines.jpg" alt="عناوين رئيسية"/> </div>
- <div class="news_content">
- <!-- News Start -->
- <div id="ticker-area">
- <ul>
- <?php magazine3_ticker(); ?>
- </ul>
- </div>
- <!-- end news -->
- </div>
- <?php
- $useragent=getenv("HTTP_USER_AGENT");
- if (eregi("MSIE [4-6]",$useragent))
- {$condition = '';}
- else
- {$condition = '<div class="clear"></div>';}
- echo $condition;
- ?>
- </div>
- </div>
- </div>
- <?php
- $useragent=getenv("HTTP_USER_AGENT");
- if (eregi("MSIE [4-6]",$useragent))
- {$condition = '';}
- else
- {$condition = '<div class="clear"></div>';}
- echo $condition;
- ?>
- <div id="main-menu" class="menu-custom">
- <div class="center-cap">
- <ul>
- <?php wp_nav_menu( array( 'theme_location' => 'second', 'container_class' => 'menu-header', 'fallback_cb'=>'primarymenu2') );?>
- </ul>
- </div>
- <!--end: right-->
- </div>
- </div>
- <div id="under-menu" class="menu-custom">
- <?php wp_nav_menu( array( 'theme_location' => 'third', 'fallback_cb'=>'primarymenu2') );?>
- </div>
- <div class="wrapper">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement