+++ /dev/null
-#!/usr/bin/env python
-# -*- coding: koi8-r -*-
-
-"""
-Autogenerated by CHEETAH: The Python-Powered Template Engine
- CHEETAH VERSION: 1.0
- Generation time: Mon Jan 2 23:48:51 2006
- Source file: phd_pp_ru.tmpl
- Source file last modified: Mon Jan 2 23:48:44 2006
-"""
-
-__CHEETAH_genTime__ = 'Mon Jan 2 23:48:51 2006'
-__CHEETAH_src__ = 'phd_pp_ru.tmpl'
-__CHEETAH_version__ = '1.0'
-
-##################################################
-## DEPENDENCIES
-
-import sys
-import os
-import os.path
-from os.path import getmtime, exists
-import time
-import types
-import __builtin__
-from Cheetah.Template import Template
-from Cheetah.DummyTransaction import DummyTransaction
-from Cheetah.NameMapper import NotFound, valueForName, valueFromSearchList, valueFromFrameOrSearchList
-from Cheetah.CacheRegion import CacheRegion
-import Cheetah.Filters as Filters
-import Cheetah.ErrorCatchers as ErrorCatchers
-from phd_pp import phd_pp
-import time
-
-##################################################
-## MODULE CONSTANTS
-
-try:
- True, False
-except NameError:
- True, False = (1==1), (1==0)
-VFFSL=valueFromFrameOrSearchList
-VFSL=valueFromSearchList
-VFN=valueForName
-currentTime=time.time
-
-##################################################
-## CLASSES
-
-class phd_pp_ru(phd_pp):
- """
-
- Autogenerated by CHEETAH: The Python-Powered Template Engine
- """
-
- ##################################################
- ## GENERATED METHODS
-
-
- def __init__(self, *args, **KWs):
- """
-
- """
-
- phd_pp.__init__(self, *args, **KWs)
-
- def respond(self,
- trans=None,
- VFFSL=valueFromFrameOrSearchList,
- VFN=valueForName):
-
-
- """
- This is the main method generated by Cheetah
- """
-
- if not trans: trans = self.transaction # is None unless self.awake() was called
- if not trans:
- trans = DummyTransaction()
- dummyTrans = True
- else: dummyTrans = False
- write = trans.response().write
- SL = self._searchList
- globalSetVars = self._globalSetVars
- filter = self._currentFilter
-
- ########################################
- ## START - generated method body
-
- write('''<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<!-- THIS PAGE IS AUTOMATICALLY GENERATED USING CheetahTemplate. DO NOT EDIT. -->
-<head>
-<meta HTTP-Equiv="Content-Type" content="text/html">
-<meta HTTP-Equiv="Content-Location" content="http://phd.pp.ru''')
- __v = VFFSL(SL,"path",True)
- if __v is not None: write(filter(__v, rawExpr='$path')) # from line 21, col 62.
- write('">\n<meta HTTP-Equiv="Last-Modified" content="')
- __v = VFFSL(SL,"last_modified_en",True)
- if __v is not None: write(filter(__v, rawExpr='$last_modified_en')) # from line 22, col 43.
- write('">\n<title>')
- __v = VFFSL(SL,"Title",True)
- if __v is not None: write(filter(__v, rawExpr='$Title')) # from line 23, col 8.
- write('</title>\n')
- if VFFSL(SL,"refresh",True):
- write('<meta HTTP-Equiv="Refresh" content="')
- __v = VFFSL(SL,"refresh",True)
- if __v is not None: write(filter(__v, rawExpr='$refresh')) # from line 25, col 37.
- write('">\n')
- if VFFSL(SL,"Description",True):
- write('<meta name="description" content="')
- __v = VFFSL(SL,"Description",True)
- if __v is not None: write(filter(__v, rawExpr='$Description')) # from line 28, col 35.
- write('">\n')
- if VFFSL(SL,"Keywords",True):
- write('<meta name="keywords" content="')
- __v = VFFSL(SL,"Keywords",True)
- if __v is not None: write(filter(__v, rawExpr='$Keywords')) # from line 31, col 32.
- write('">\n')
- if VFFSL(SL,"Copyright",True):
- full_copyright = VFFSL(SL,"copyright",False)(VFFSL(SL,"Copyright",True))
- write('<meta name="author" content="Oleg BroytMann">\n<meta name="copyright" content="© ')
- __v = VFFSL(SL,"full_copyright",True)
- if __v is not None: write(filter(__v, rawExpr='$full_copyright')) # from line 36, col 40.
- write(' PhiloSoft Design">\n<link rel="copyright" href="." title="© ')
- __v = VFFSL(SL,"full_copyright",True)
- if __v is not None: write(filter(__v, rawExpr='$full_copyright')) # from line 37, col 46.
- write(' PhiloSoft Design">\n')
- write('<meta name="generator" content="CheetahTemplate">\n<link rev="made" href="mailto:phd@phd.pp.ru">\n')
- if VFFSL(SL,"root",True):
- write('<link rel="top" href="')
- __v = VFFSL(SL,"root",True)
- if __v is not None: write(filter(__v, rawExpr='$root')) # from line 42, col 23.
- write('">\n<link rel="up" href="../">\n')
- if VFFSL(SL,"Prev",True):
- write('<link rel="prev" href="')
- __v = VFFSL(SL,"Prev",True)
- if __v is not None: write(filter(__v, rawExpr='$Prev')) # from line 46, col 24.
- write('">\n')
- if VFFSL(SL,"Next",True):
- write('<link rel="next" href="')
- __v = VFFSL(SL,"Next",True)
- if __v is not None: write(filter(__v, rawExpr='$Next')) # from line 49, col 24.
- write('">\n')
- write('<link rel="stylesheet" type="text/css" media="screen" href="')
- __v = VFFSL(SL,"root",True)
- if __v is not None: write(filter(__v, rawExpr='${root}')) # from line 51, col 61.
- write('phd.css">\n')
- if VFFSL(SL,"styles",True):
- for media, style in VFFSL(SL,"styles",True):
- write('<STYLE type="text/css" media="')
- __v = VFFSL(SL,"media",True)
- if __v is not None: write(filter(__v, rawExpr='$media')) # from line 54, col 31.
- write('">\n<!--\n')
- __v = VFFSL(SL,"style",True)
- if __v is not None: write(filter(__v, rawExpr='$style')) # from line 56, col 1.
- write('\n--></STYLE>\n')
- write('''<meta name="MSSmartTagsPreventParsing" content="TRUE"> <!-- MUST DIE -->
-</head>
-<body bgcolor="#CCCCCC" text="#000000"
- link="#0000bb" vlink="#551a8b" alink="#ff0000">
-''')
- __v = VFFSL(SL,"body",True)
- if __v is not None: write(filter(__v, rawExpr='$body')) # from line 64, col 1.
- write('\n')
- if VFN(VFFSL(SL,"path",True),"endswith",False)("index.html"):
- path = VFFSL(SL,"path",True)[:-len("index.html")]
- write('<hr width="90%">\n')
- if VFN(VFFSL(SL,"path",True),"startswith",False)("/Russian/"):
- write('<p class="head" style="font-size: 60%">\xfc\xd4\xc1 \xd3\xd4\xd2\xc1\xce\xc9\xc3\xc1 <a href="http://phd.pp.ru')
- __v = VFFSL(SL,"path",True)
- if __v is not None: write(filter(__v, rawExpr='$path')) # from line 70, col 78.
- write('">http://phd.pp.ru')
- __v = VFFSL(SL,"path",True)
- if __v is not None: write(filter(__v, rawExpr='$path')) # from line 70, col 101.
- write('</a>\n\xc2\xd9\xcc\xc1 \xd3\xc7\xc5\xce\xc5\xd2\xc9\xd2\xcf\xd7\xc1\xce\xc1 ')
- __v = VFFSL(SL,"last_modified_ru",True)
- if __v is not None: write(filter(__v, rawExpr='$last_modified_ru')) # from line 71, col 20.
- write(' \xc9\xda \xdb\xc1\xc2\xcc\xcf\xce\xc1 CheetahTemplate <a href="')
- __v = VFFSL(SL,"_fileBaseName",True)
- if __v is not None: write(filter(__v, rawExpr='$_fileBaseName')) # from line 71, col 74.
- write('">')
- __v = VFFSL(SL,"_fileBaseName",True)
- if __v is not None: write(filter(__v, rawExpr='$_fileBaseName')) # from line 71, col 90.
- write('</a>;\n\xf7\xd9 \xcd\xcf\xd6\xc5\xd4\xc5 \xd5\xda\xce\xc1\xd4\xd8 <a href="')
- __v = VFFSL(SL,"root",True)
- if __v is not None: write(filter(__v, rawExpr='${root}')) # from line 72, col 27.
- write('about/">\xcf</a> <a href="')
- __v = VFFSL(SL,"root",True)
- if __v is not None: write(filter(__v, rawExpr='${root}')) # from line 72, col 57.
- write('about/technical.html">\xd4\xc5\xc8\xce\xc9\xde\xc5\xd3\xcb\xc9\xc8</a> \xc1\xd3\xd0\xc5\xcb\xd4\xc1\xc8 \xdc\xd4\xcf\xc7\xcf \xd3\xc1\xca\xd4\xc1.\n</p>\n')
- else:
- write('<p class="head" style="font-size: 60%">This is the page <a href="http://phd.pp.ru')
- __v = VFFSL(SL,"path",True)
- if __v is not None: write(filter(__v, rawExpr='$path')) # from line 75, col 82.
- write('">http://phd.pp.ru')
- __v = VFFSL(SL,"path",True)
- if __v is not None: write(filter(__v, rawExpr='$path')) # from line 75, col 105.
- write('</a>.\nIt was generated on ')
- __v = VFFSL(SL,"last_modified_en",True)
- if __v is not None: write(filter(__v, rawExpr='$last_modified_en')) # from line 76, col 21.
- write(' from CheetahTemplate <a href="')
- __v = VFFSL(SL,"_fileBaseName",True)
- if __v is not None: write(filter(__v, rawExpr='$_fileBaseName')) # from line 76, col 69.
- write('">')
- __v = VFFSL(SL,"_fileBaseName",True)
- if __v is not None: write(filter(__v, rawExpr='$_fileBaseName')) # from line 76, col 85.
- write('</a>;\nread more <a href="')
- __v = VFFSL(SL,"root",True)
- if __v is not None: write(filter(__v, rawExpr='${root}')) # from line 77, col 20.
- write('about/">about</a> <a href="')
- __v = VFFSL(SL,"root",True)
- if __v is not None: write(filter(__v, rawExpr='${root}')) # from line 77, col 54.
- write('about/technical.html">technical</a> aspects of the site.\n</p>\n')
- write('</body>\n</html>')
-
- ########################################
- ## END - generated method body
-
- return dummyTrans and trans.response().getvalue() or ""
-
- ##################################################
- ## GENERATED ATTRIBUTES
-
-
- Title = ''
-
- Description = None
-
- Keywords = None
-
- Copyright = None
-
- Prev = None
-
- Next = None
-
- refresh = None
-
- last_modified_en = time.strftime("%a, %d %b %Y %T GMT", time.gmtime())
-
- last_modified_ru = time.strftime("%d.%m.%Y в %T", time.localtime())
-
- styles = None
-
- __str__ = respond
-
- _mainCheetahMethod_for_phd_pp_ru= 'respond'
-
-
-# CHEETAH was developed by Tavis Rudd, Mike Orr, Ian Bicking and Chuck Esterbrook;
-# with code, advice and input from many other volunteers.
-# For more information visit http://www.CheetahTemplate.org
-
-##################################################
-## if run from command line:
-if __name__ == '__main__':
- phd_pp_ru().runAsMainProgram()
-