Просмотр файла themes/chuma.php

Размер файла: 1.79Kb
<?php
####################
echo "<!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\" xml:lang=\"ru\" lang=\"ru\">
      <head>";
echo "<title>
      $title_page | $title
      </title>
      <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />
      
      <meta name=\"description\" content=\"$meta_descr\" />
      <meta name=\"keywords\" content=\"$meta_key\" />
      
      <link rel=\"shortcut icon\" href=\"$home/favicon.ico\" type=\"image/x-icon\" />
      <link rel=\"stylesheet\" href=\"$home/themes/chuma/style.css\" type=\"text/css\" />
      </head>
      <body>";
echo "<p align=\"center\" class=\"top\">";
if(!empty($logo))
 {
  echo '<img src="'.$logo.'" alt="Лого" /></a><br />';
 }
echo '</p>';
echo '<div class="auth">';

$color_new_ls = 'blue';
include ($dob_url.'/templates/themes_panel.php');

echo '</div>';

function re_icon($re_icon) 
 {
  if(!strstr($_SERVER['SCRIPT_NAME'], 'modules/forum') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/zagruz') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/book') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/admin') && !strstr($_SERVER['SCRIPT_NAME'], 'modules/kabinet/notepad'))
   {
    $re_icon = str_replace ('&#187;','<img src="/themes/chuma/ico.png" alt="&#187;" />',$re_icon);
    $re_icon = str_replace ('»','<img src="/themes/chuma/ico.png" alt="&#187;" />',$re_icon);
   }
  return $re_icon;
 }

ob_start(re_icon);
####################
$file_all_top = file_get_contents($dob_url.'/data/reklama_all_top.txt');
if(!empty($file_all_top))
 {
  echo'<p class="rekl">'.$file_all_top.'</p>';
 }
####################
list($msec,$sec)=explode(chr(32),microtime()); 
$headtime=$sec+$msec;
?>