6 #attr $Description = None
8 #attr $Copyright = None
15 #attr $last_modified_en = time.strftime("%a, %d %b %Y %T GMT", time.gmtime())
16 #attr $local_time = time.localtime()
18 #attr $alternates = None
20 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
21 "http://www.w3.org/TR/html4/loose.dtd">
23 <!-- THIS PAGE IS AUTOMATICALLY GENERATED USING CheetahTemplate. DO NOT EDIT. -->
25 #if $path.startswith("/Russian/")
26 <meta HTTP-Equiv="Content-Type" content="text/html; charset=koi8-r">
28 <meta HTTP-Equiv="Content-Type" content="text/html">
30 <meta HTTP-Equiv="Content-Location" content="https://phdru.name$path">
31 <meta HTTP-Equiv="Last-Modified" content="$last_modified_en">
34 <meta HTTP-Equiv="Refresh" content="$Refresh">
37 <meta name="description" content="$Description">
40 <meta name="keywords" content="$Keywords">
43 #set $full_copyright = $copyright($Copyright)
44 #if $path.startswith("/Russian/")
45 #set $author_href = $root + "Russian/"
46 #set $copy_href = $root + "Russian/free.html"
48 #set $author_href = $root or "./"
49 #set $copy_href = $root + "free.html"
51 <meta name="author" content="Oleg Broytman">
52 <link rel="author" href="$author_href" title="© $full_copyright PhiloSoft Design">
53 <meta name="copyright" content="© $full_copyright PhiloSoft Design">
54 <link rel="copyright" href="$copy_href" title="© $full_copyright PhiloSoft Design">
56 <link rel="canonical" href="https://phdru.name$path">
57 <link rev="made" href="mailto:phd@phdru.name">
58 <meta name="generator" content="CheetahTemplate">
59 <meta name="robots" content="index, follow">
61 #if $path.endswith('index.html')
62 <link rel="up" href="../">
64 <link rel="up" href="./">
68 <link rel="start" href="$Start">
69 #elif not $path.endswith('index.html')
70 <link rel="start" href="./">
73 <link rel="first" href="$First">
76 <link rel="prev" href="$Prev">
79 <link rel="next" href="$Next">
82 <link rel="last" href="$Last">
84 #if $path != "/search.html"
85 <link rel="search" type="text/html" href="${root}search.html">
87 <link rel="stylesheet" type="text/css" media="screen" href="${root}phd.css">
89 #for $media, $style in $styles
90 <STYLE type="text/css" media="$media">
97 #for $title, $type, $href in $alternates
98 <link rel="alternate" title="$title" type="$type" href="$href">
101 <link rel="shortcut icon" href="${root}favicon.ico">
102 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
104 <body bgcolor="#CCCCCC" text="#000000"
105 link="#0000bb" vlink="#551a8b" alink="#ff0000">
107 #set $path_components = $path.split('/')[1:-1]
108 #set $breadcrumbs = ['<a href="' + $root + '">phdru.name</a>']
109 #for $i in range(len($path_components))
110 #set $subpath = '/'.join($path_components[:i+1])
111 #silent $breadcrumbs.append('<a href="' + $root + $subpath + '/">' + $path_components[i]+ '</a>')
113 #echo " / ".join($breadcrumbs)
114 #if $path.startswith("/Russian/blog/")
115 #set $prev_key, $prev_blog_post, $next_key, $next_blog_post = $find_near_blog_posts()
117 #set $prev_href = $root + "Russian/blog/" + '/'.join($prev_key + ($prev_blog_post[0].replace('.tmpl', '.html'),))
118 #set $prev_title = $prev_blog_post[1].decode('koi8-r')
121 #set $next_href = $root + "Russian/blog/" + '/'.join($next_key + ($next_blog_post[0].replace('.tmpl', '.html'),))
122 #set $next_title = $next_blog_post[1].decode('koi8-r')
128 <td style="text-align: left" width="50%"><-- <a href="$prev_href">$prev_title</a></td>
130 <td style="text-align: left" width="50%"> </td>
133 <td style="text-align: right" width="50%"><a href="$next_href">$next_title</a> --></td>
135 <td style="text-align: right" width="50%"> </td>
143 <a href="../../../tags/${tag}.html">$tag</a>
147 #from Cheetah.compat import string_type
148 #if isinstance($Tag, string_type)
149 #if $path.startswith("/Russian/")
156 #if $path.startswith("/Russian/")
167 #if $path.endswith("index.html")
168 #set $path = $path[:-len("index.html")]
170 #if $path.startswith("/Russian/")
171 <p class="head" style="font-size: 60%">Эта страница <a href="https://phdru.name$path">https://phdru.name$path</a>
172 была сгенерирована $time.strftime("%d.%m.%Y", $local_time) в $time.strftime("%T", $local_time) из шаблона CheetahTemplate
173 <a href="$_fileBaseName">$_fileBaseName</a>;
174 <a href="${root}Russian/free.html">Некоторые права зарезервированы</a>.
175 Вы можете узнать <a href="${root}about/">о</a> <a href="${root}about/technical.html">технических</a>
176 аспектах этого сайта.</p>
178 <p class="head" style="font-size: 60%">This is the page <a href="https://phdru.name$path">https://phdru.name$path</a>.
179 It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>.
180 <a href="./${root}free.html">Some rights are reserved</a>.
181 Read more <a href="${root}about/">about</a> <a href="${root}about/technical.html">technical</a> aspects of the site.