Advertisement
Guest User

Untitled

a guest
Feb 8th, 2012
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.32 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  4. <head profile="http://gmpg.org/xfn/11">
  5. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  6. <meta name="description" content="<?php echo get_option('seo1'); ?>" />
  7. <meta name="keywords" content="<?php echo get_option('seo2'); ?>" />
  8. <title>
  9. <?php if ( is_archive() ) { _e('تصنيف '); } wp_title('-', true, 'right'); bloginfo('name'); ?>
  10. </title>
  11. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
  12. <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
  13. <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
  14. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  15. <link rel="shortcut icon" href="<?php echo get_option('favicon'); ?>" />
  16. <link href="<?php bloginfo('template_directory'); ?>/css/Reset.css" rel="stylesheet" type="text/css" />
  17. <link href="<?php bloginfo('template_directory'); ?>/style.css" rel="stylesheet" type="text/css" />
  18.  
  19. <?php if (is_single()) { ?>
  20. <?php global $wp_query; $postid = $wp_query->post->ID; ?>
  21. <link rel="image_src" href="<?php if (has_post_thumbnail()) {
  22.     $thumb = wp_get_attachment_image_src(get_post_thumbnail_id(), 'small');
  23.     echo $thumb[0]; // thumbnail url
  24. } ?>" />
  25. <?php } ?>
  26. <?php wp_head(); ?>
  27. </head>
  28. <body>
  29. <?php if (get_option('styleSwicther')=='yes'){?>
  30. <link href="<?php bloginfo('template_directory'); ?>/css/StyleSwitcher.css" rel="stylesheet" type="text/css" />
  31. <script type="text/javascript">
  32.     bloginfo='<?php bloginfo('template_directory'); ?>';
  33. </script>
  34. <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/StyleSwitcher.js" ></script>
  35. <?php  
  36.     include_once(TEMPLATEPATH . '/includes/StyleSwitcher.php');
  37. } ?>
  38.  
  39. <!--Start SKIN-->
  40. <?php include_once(TEMPLATEPATH . '/includes/Skins.php');?>
  41. <!--End SKIN-->
  42.  
  43. <!-- Begin Top Bar -->
  44. <div id="header">
  45.   <div id="headerpages">
  46.     <div id="WrapperMenu">
  47.       <div id="WrapperMenuPatern">
  48.         <div id="someunknownrapper">
  49.           <div class="someunknownrapperl">
  50.             <div id="headernavigation1">
  51.               <ul>
  52.                 <?php wp_nav_menu( array( 'theme_location' => 'main-menu', 'container_id' => 'topMenu', 'fallback_cb'=>'primarymenu1') );?>
  53.               </ul>
  54.             </div>
  55.           </div>
  56.           <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>
  57.            <?php
  58.                 $useragent=getenv("HTTP_USER_AGENT");
  59.                 if (eregi("MSIE [4-6]",$useragent))
  60.                 {$condition = '';}
  61.                 else
  62.                 {$condition = '<div class="clear"></div>';}
  63.                 echo $condition;
  64.                 ?>
  65.         </div>
  66.       </div>
  67.            <?php
  68.                 $useragent=getenv("HTTP_USER_AGENT");
  69.                 if (eregi("MSIE [4-6]",$useragent))
  70.                 {$condition = '';}
  71.                 else
  72.                 {$condition = '<div class="clear"></div>';}
  73.                 echo $condition;
  74.                 ?>
  75.     </div>
  76.     <div class="wrapper1">
  77.      
  78.       <!-- Begin Header Bar -->
  79.       <div id="headerwrappermiddle">
  80.         <div class="wrapper1"> <a style="float: right;" href="<?php bloginfo('home'); ?>/"> <img src="<?php echo get_option('logo'); ?>" border="0" alt="" /></a>
  81.           <div id="theheaderight">
  82.             <div class="bigsearch">
  83.               <div class="searchr">
  84.                 <form id="searchform" action="<?php echo get_option('home') ?>">
  85.                   <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;" />
  86.                   <input type="image" src="<?php bloginfo('template_url'); ?>/images/space.gif" />
  87.                 </form>
  88.               </div>
  89.             </div>
  90.             <div class="headerbookmark">
  91.               <?php if(get_option('twitterok')!="yes"):?>
  92.               <?php endif?>
  93.               <?php if(get_option('twitterok')!="no"):?>
  94.               <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>
  95.               <?php endif?>
  96.               <?php if(get_option('facebookok')!="yes"):?>
  97.               <?php endif?>
  98.               <?php if(get_option('facebookok')!="no"):?>
  99.               <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>
  100.               <?php endif?>
  101.               <?php if(get_option('youtubeok')!="yes"):?>
  102.               <?php endif?>
  103.               <?php if(get_option('youtubeok')!="no"):?>
  104.               <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>
  105.               <?php endif?>
  106.             </div>
  107.            <?php
  108.                 $useragent=getenv("HTTP_USER_AGENT");
  109.                 if (eregi("MSIE [4-6]",$useragent))
  110.                 {$condition = '';}
  111.                 else
  112.                 {$condition = '<div class="clear"></div>';}
  113.                 echo $condition;
  114.                 ?>
  115.             <div id="adsense-468">
  116.                 <?php echo get_option('468'); ?>
  117.             </div>
  118.           </div>
  119.           <div class="clear"></div>
  120.         </div>
  121. <div class="clear2"></div>
  122.       </div>
  123. <div class="clear2"></div>
  124.     </div>
  125.   </div>
  126.   <div id="headline">
  127.     <div class="headerticker">
  128.       <div id="news">
  129.         <div class="news_title"> <?php echo get_option(''); ?> <img src="<?php bloginfo('template_url'); ?>/images/headlines.jpg" alt="عناوين رئيسية"/> </div>
  130.         <div class="news_content">
  131.           <!-- News Start -->
  132.           <div id="ticker-area">
  133.             <ul>
  134.               <?php magazine3_ticker(); ?>
  135.             </ul>
  136.           </div>
  137.           <!-- end news -->
  138.         </div>
  139.            <?php
  140.                 $useragent=getenv("HTTP_USER_AGENT");
  141.                 if (eregi("MSIE [4-6]",$useragent))
  142.                 {$condition = '';}
  143.                 else
  144.                 {$condition = '<div class="clear"></div>';}
  145.                 echo $condition;
  146.                 ?>
  147.       </div>
  148.     </div>
  149.   </div>
  150.            <?php
  151.                 $useragent=getenv("HTTP_USER_AGENT");
  152.                 if (eregi("MSIE [4-6]",$useragent))
  153.                 {$condition = '';}
  154.                 else
  155.                 {$condition = '<div class="clear"></div>';}
  156.                 echo $condition;
  157.                 ?>
  158.   <div id="main-menu" class="menu-custom">
  159.     <div class="center-cap">
  160.       <ul>
  161.         <?php wp_nav_menu( array( 'theme_location' => 'second', 'container_class' => 'menu-header', 'fallback_cb'=>'primarymenu2') );?>
  162.       </ul>
  163.     </div>
  164.    
  165.     <!--end: right-->
  166.   </div>
  167. </div>
  168. <div id="under-menu" class="menu-custom">
  169.   <?php wp_nav_menu( array( 'theme_location' => 'third', 'fallback_cb'=>'primarymenu2') );?>
  170. </div>
  171. <div class="wrapper">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement