View file themes/vista/index.php

File size: 1.94Kb
  1. <?php
  2. #-----------------------------------------------------#
  3. # ********* WAP-MOTORS ********* #
  4. # Made by : VANTUZ #
  5. # E-mail : visavi.net@mail.ru #
  6. # Site : http://pizdec.ru #
  7. # WAP-Site : http://visavi.net #
  8. # ICQ : 36-44-66 #
  9. # Вы не имеете право вносить изменения в код скрипта #
  10. #-----------------------------------------------------#
  11. header('Content-type:text/html; charset=utf-8');
  12. echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
  13. echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
  14. echo '<link rel="shortcut icon" href="'.$config_home.'/favicon.ico">';
  15.  
  16. if($config_rssicon==1){echo '<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$config_home.'/news/rss_news.php">';}
  17.  
  18. echo '<title>'.site_title($php_self).'</title>';
  19. echo '<link rel="stylesheet" href="'.$config_home.'/themes/vista/vista.css" type="text/css">';
  20. echo '<meta name="keywords" content="'.$config_keywords.'">';
  21. echo '<meta name="description" content="'.$config_description.'">';
  22. echo '</head><body>';
  23. echo '<!--Themes by Silent-->';
  24. echo '<div class="a" id="up"><img src="'.$config_logotip.'" alt=""><br>'.$config_logos.' </div>';
  25.  
  26. if($config_rekhead==1){include_once BASEDIR."local/datamain/reklama_head.dat";}
  27.  
  28. echo '<div>';
  29.  
  30. function myhtml($myhtml) {
  31. $myhtml = str_replace("images/img/act1.gif","themes/vista/act.gif",$myhtml);
  32. $myhtml = str_replace("images/img/act2.gif","themes/vista/act.gif",$myhtml);
  33. $myhtml = str_replace("images/img/act3.gif","themes/vista/act.gif",$myhtml);
  34. $myhtml = str_replace("images/img/forums.gif","themes/vista/act.gif",$myhtml);
  35. $myhtml = str_replace("images/img/zakr.gif","themes/vista/act2.gif",$myhtml);
  36. return $myhtml; }
  37. ob_start(myhtml);
  38. ?>