6 #attr $Description = None
8 #attr $Copyright = None
16 #attr $last_modified_en = time.strftime("%a, %d %b %Y %T GMT", time.gmtime())
17 #attr $local_time = time.localtime()
19 #attr $alternates = None
21 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
22 "http://www.w3.org/TR/html4/loose.dtd">
24 <!-- THIS PAGE IS AUTOMATICALLY GENERATED USING CheetahTemplate. DO NOT EDIT. -->
26 #if $path.startswith("/Russian/")
27 <meta HTTP-Equiv="Content-Type" content="text/html; charset=koi8-r">
29 <meta HTTP-Equiv="Content-Type" content="text/html">
31 <meta HTTP-Equiv="Content-Location" content="http://phdru.name$path">
32 <meta HTTP-Equiv="Last-Modified" content="$last_modified_en">
35 <meta HTTP-Equiv="Refresh" content="$Refresh">
38 <meta name="description" content="$Description">
41 <meta name="keywords" content="$Keywords">
44 #set $full_copyright = $copyright($Copyright)
45 #if $path.startswith("/Russian/")
46 #set $author_href = $root + "Russian/"
47 #set $copy_href = $root + "Russian/free.html"
49 #set $author_href = $root or "./"
50 #set $copy_href = $root + "free.html"
52 <meta name="author" content="Oleg Broytman">
53 <link rel="author" href="$author_href" title="© $full_copyright PhiloSoft Design">
54 <meta name="copyright" content="© $full_copyright PhiloSoft Design">
55 <link rel="copyright" href="$copy_href" title="© $full_copyright PhiloSoft Design">
57 <link rel="canonical" href="http://phdru.name$path">
58 <link rev="made" href="mailto:phd@phdru.name">
59 <meta name="generator" content="CheetahTemplate">
60 <meta name="robots" content="index, follow">
62 #if $path.endswith('index.html')
63 <link rel="up" href="../">
65 <link rel="up" href="./">
69 <link rel="start" href="$Start">
70 #elif not $path.endswith('index.html')
71 <link rel="start" href="./">
74 <link rel="first" href="$First">
77 <link rel="prev" href="$Prev">
80 <link rel="next" href="$Next">
83 <link rel="last" href="$Last">
85 #if $path != "/search.html"
86 <link rel="search" type="text/html" href="${root}search.html">
88 <link rel="stylesheet" type="text/css" media="screen" href="${root}phd.css">
90 #for $media, $style in $styles
91 <STYLE type="text/css" media="$media">
98 #for $title, $type, $href in $alternates
99 <link rel="alternate" title="$title" type="$type" href="$href">
102 <link rel="shortcut icon" href="${root}favicon.ico">
103 #if not $root and $path.endswith('index.html')
104 <link rel="openid.delegate" href="http://phdru.name/">
105 <link rel="openid2.local_id" href="http://phdru.name/">
106 <link rel="openid.server" href="http://home.phdru.name/cgi-bin/poit.py">
107 <link rel="openid2.provider" href="http://home.phdru.name/cgi-bin/poit.py">
109 <meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
111 <body bgcolor="#CCCCCC" text="#000000"
112 link="#0000bb" vlink="#551a8b" alink="#ff0000">
114 #set $path_components = $path.split('/')[1:-1]
115 #set $breadcrumbs = ['<a href="' + $root + '">phdru.name</a>']
116 #for $i in range(len($path_components))
117 #set $subpath = '/'.join($path_components[:i+1])
118 #silent $breadcrumbs.append('<a href="' + $root + $subpath + '/">' + $path_components[i]+ '</a>')
120 #echo " / ".join($breadcrumbs)
121 #if $path.startswith("/Russian/blog/")
122 #set $prev_key, $prev_blog_post, $next_key, $next_blog_post = $find_near_blog_posts()
124 #set $prev_href = $root + "Russian/blog/" + '/'.join($prev_key + ($prev_blog_post[0].replace('.tmpl', '.html'),))
125 #set $prev_title = $prev_blog_post[1].decode('koi8-r')
128 #set $next_href = $root + "Russian/blog/" + '/'.join($next_key + ($next_blog_post[0].replace('.tmpl', '.html'),))
129 #set $next_title = $next_blog_post[1].decode('koi8-r')
135 <td style="text-align: left" width="50%"><-- <a href="$prev_href">$prev_title</a></td>
137 <td style="text-align: left" width="50%"> </td>
140 <td style="text-align: right" width="50%"><a href="$next_href">$next_title</a> --></td>
142 <td style="text-align: right" width="50%"> </td>
150 <a href="../../../tags/${tag}.html">$tag</a>
154 #from Cheetah.compat import string_type
155 #if isinstance($Tag, string_type)
156 #if $path.startswith("/Russian/")
163 #if $path.startswith("/Russian/")
174 #if $path.endswith("index.html")
175 #set $path = $path[:-len("index.html")]
177 #if $path.startswith("/Russian/")
178 <p class="head" style="font-size: 60%">Эта страница <a href="http://phdru.name$path">http://phdru.name$path</a>
179 была сгенерирована $time.strftime("%d.%m.%Y", $local_time) в $time.strftime("%T", $local_time) из шаблона CheetahTemplate
180 <a href="$_fileBaseName">$_fileBaseName</a>;
181 <a href="${root}Russian/free.html">Некоторые права зарезервированы</a>.
182 Вы можете узнать <a href="${root}about/">о</a> <a href="${root}about/technical.html">технических</a>
183 аспектах этого сайта.</p>
185 <p class="head" style="font-size: 60%">This is the page <a href="http://phdru.name$path">http://phdru.name$path</a>.
186 It was generated on $last_modified_en from CheetahTemplate <a href="$_fileBaseName">$_fileBaseName</a>.
187 <a href="./${root}free.html">Some rights are reserved</a>.
188 Read more <a href="${root}about/">about</a> <a href="${root}about/technical.html">technical</a> aspects of the site.