Honorable Retro! Good or evil?
What wind sigh brought you to us?
© Robert Christmas
<html> <head> <title> </title> </head> <body> <div id="header"><!--#include virtual="/header.html" --></div> <div id="sidebar"><!--#include virtual="/sidebar.html" --></div> <div id="footer"><!--#include virtual="/footer.html" --></div> </body> </html>
What kind of fashion bends? The time has gone mad:
Grandmothers dressers in block climb home!
<!--#set var="db" value="Your html db">
<!--#set var="db" file="db.html">
AddDefaultCharset utf-8 AddType text/html .html AddHandler server-parsed .html DirectoryIndex rumba.shtml?query=start RewriteEngine on RewriteRule ^([a-zA-Z0-9-]+)\.html$ rumba.shtml?query=$1
<!--#set var="rumba_title" value="" --> <!--#set var="rumba_content" value="" --> <!--#set var="rumba_menu" value="" --> <!--#set var="rumba_error_title" value=" " --> <!--#set var="rumba_error_text" value="<h2>404</h2> " --> <!--#set var="rumba_menu" value="<ul> <li><a href='./'></a></li> <li><a href='./history.html'> </a></li> <li><a href='./cha-cha-cha.html'> --</a></li> <li><a href='./types.html'> </a></li> <li><a href='./emotion.html'> </a></li> <li><a href='./hits.html'> </a></li> </ul>" --> <!--#set var="rumba_db" value="<articles> <article id='start'> <h2> — </h2> <text> <a href='https://ru.wikipedia.org/wiki/'>́</a> (. rumba) — : <ol> <li> , . rumba Guaguanco. rumba Yambu rumba Columbia. , .</li> <li> , . - ( — , , -- ). - .</li> </ol> </text> </article> <article id='history'> <h2> </h2> <text> 19- . «Rumba», , 1807 — «rumboso orquestra», «rumbo» «» ( — «», ). - , '' , . </text> </article> <article id='cha-cha-cha'> <h2> --</h2> <text> <p> --, - , ( , ), . . , , , , (: , , , — ). -- , , , (, , — , — «--» «--»).</p> <p> -- . , , «», , , -- . «Guantanamera» --, .</p> <p> , , . , - , . . , . , .</p> </text> </article> <article id='types'> <h2> </h2> <text> <p> XIX , (Guaguanco), , , . . - - « ».</p> <p>- , . , (Papilote, Mama'buela, Gavilan)</p> <p> , . , – . , . , (clave), , 3-2. , . , . (Rumba Son).</p> </text> </article> <article id='emotion'> <h2> </h2> <text> . , . , « — ». . , — , , . , , , . </text> </article> <article id='hits'> <h2> </h2> <text> <ul> <li>La Media Vuelta — (Eydie Gorme)</li> <li>Manana</li> <li>Cantinero de Cuba</li> <li>Reflection — </li> <li>Fairy tale — </li> <li>Don't Know Why — </li> <li>Falling Into You — Celine Dion</li> <li>When the blue bird sings</li> <li>Gipsy Kings — La Rumba-De Nicolas</li> <li>Gipsy Kings — Una Rumba Por Aqui</li> <li>Gipsy Kings — Rumba Del Stud</li> </ul> </text> </article> </articles>" --> <!--#if expr="$QUERY_STRING = /^query=([a-zA-Z0-9-]+)/" --> <!--#set var="rumba_query" value="$1" --> <!--#if expr="${rumba_db} = /<article id='${rumba_query}'>[\\s\\S]*?<h2>(.*)<\/h2>[\\s\\S]*?<text>([\\s\\S]*?)<\/text>[\\s\\S]*?<\/article>/" --> <!--#set var="rumba_title" value="$1" --> <!--#set var="rumba_r1" value="$1" --> <!--#set var="rumba_r2" value="$2" --> <!--#set var="rumba_content" value="${rumba_content}<h2>${rumba_r1}</h2>${rumba_r2}" --> <!--#else --> <!--#set var="rumba_title" value="${rumba_error_title}" --> <!--#set var="rumba_content" value="${rumba_error_text}" --> <!--#endif --> <!--#else --> <!--#set var="rumba_title" value="${rumba_error_title}" --> <!--#set var="rumba_content" value="${rumba_error_text}2" --> <!--#endif --> <html> <head> <title><!--#echo encoding="none" var="rumba_title" --></title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <link rel="stylesheet" href="twocolumn.css"> </head> <body> <br/> <div id="header"><h1>- </h1></div> <div id="sidebar"><!--#echo encoding="none" var="rumba_menu" --></div> <div id="content"><!--#echo encoding="none" var="rumba_content" --></div> </body> </html>
body { margin: 0 auto; width: 640px; font:17px/20px Arial,Helvetica,sans-serif; overflow-y: scroll; } a { color: #777; } #header { padding: 10px; text-align: center; } #content { margin-left: 230px; } #content h2{ color: #E6B03E; } #sidebar { padding: 10px; background: #B44E29; float: left; width: 180px; } #sidebar ul { padding: 0px; } #sidebar li { padding: 5px; list-style-type: none; list-style-position: inside; } #sidebar a { color: #fff; text-decoration: none; } #sidebar a:hover { color: #ccc; text-decoration: none; }
Things of another form, chandeliers, boxes, sconces.
Copper pra-phones, kettles - also "great" ...
AddDefaultCharset utf-8 AddType text/xml .xml AddHandler server-parsed .xml AddType text/xsl .xsl AddHandler server-parsed .xsl DirectoryIndex rumba.xml?query=start RewriteEngine on RewriteRule ^([a-zA-Z0-9-]+)\.html$ rumba.xml?query=$1 [L]
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="rumba.xsl?<!--#echo encoding="none" var="QUERY_STRING" -->"?> <html> <head> <title>- </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="Description" content=" "/> </head> <body> <h1>- </h1> <article id='start'> <h2> — </h2> <text> <a title=' ' rel='canonical' href='https://ru.wikipedia.org/wiki/'>́</a> (. rumba) — : <ol> <li> , . rumba Guaguanco. rumba Yambu rumba Columbia. , .</li> <li> , . - ( — , , -- ). - .</li> </ol> </text> </article> <article id='history'> <h2> </h2> <text> 19- . «Rumba», , 1807 — «rumboso orquestra», «rumbo» «» ( — «», ). - , '' , . </text> </article> <article id='cha-cha-cha'> <h2> --</h2> <text> <p> --, - , ( , ), . . , , , , (: , , , — ). -- , , , (, , — , — «--» «--»).</p> <p> -- . , , «», , , -- . «Guantanamera» --, .</p> <p> , , . , - , . . , . , .</p> </text> </article> <article id='types'> <h2> </h2> <text> <p> XIX , (Guaguanco), , , . . - - « ».</p> <p>- , . , (Papilote, Mama'buela, Gavilan)</p> <p> , . , – . , . , (clave), , 3-2. , . , . (Rumba Son).</p> </text> </article> <article id='emotion'> <h2> </h2> <text> . , . , « — ». . , — , , . , , , . </text> </article> <article id='hits'> <h2> </h2> <text> <ul> <li>La Media Vuelta — (Eydie Gorme)</li> <li>Manana</li> <li>Cantinero de Cuba</li> <li>Reflection — </li> <li>Fairy tale — </li> <li>Don't Know Why — </li> <li>Falling Into You — Celine Dion</li> <li>When the blue bird sings</li> <li>Gipsy Kings — La Rumba-De Nicolas</li> <li>Gipsy Kings — Una Rumba Por Aqui</li> <li>Gipsy Kings — Rumba Del Stud</li> </ul> </text> </article> </body> </html>
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!--#if expr="$QUERY_STRING = /^query=([a-zA-Z0-9-]+)/" --> <!--#set var="rumba_query" value="$1" --> <!--#else --> <!--#set var="rumba_query" value="error" --> <!--#endif --> <xsl:param name="query"><!--#echo encoding="none" var="rumba_query" --></xsl:param> <xsl:template match="/"> <html> <head> <xsl:apply-templates select="/html/head"/> <link rel="stylesheet" href="twocolumn.css"/> </head> <body> <div id="header"> <xsl:apply-templates select="/html/body" mode="header"/> </div> <div id="sidebar"> <ul> <xsl:apply-templates select="/html/body/article"/> </ul> </div> <div id="content"> <xsl:choose> <xsl:when test="count(/html/body/article[@id = $query]) = '0'"> <xsl:apply-templates select="/html/body" mode="error"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="/html/body" mode="page"/> </xsl:otherwise> </xsl:choose> </div> </body> </html> </xsl:template> <xsl:template match="/html/head"> <title><xsl:value-of select="/html/body/article[@id = $query]/h2"/></title> <xsl:copy-of select="meta"/> </xsl:template> <xsl:template match="body" mode="header"> <xsl:copy-of select="h1"/> </xsl:template> <xsl:template match="/html/body/article"> <xsl:choose> <xsl:when test="@id = 'start'"> <li><a href="./"></a></li> </xsl:when> <xsl:otherwise> <li><a href="{@id}.html" rel="nofollow"><xsl:value-of select="h2"/></a></li> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="/html/body" mode="page"> <xsl:for-each select="/html/body/article[@id = $query]"> <xsl:copy-of select="h2"/> <div> <xsl:copy-of select="text"/> </div> </xsl:for-each> </xsl:template> <xsl:template match="/html/body" mode="error"> <h2> 404</h2> </xsl:template> </xsl:stylesheet>
body { margin: 0 auto; width: 640px; font:17px/20px Arial,Helvetica,sans-serif; overflow-y: scroll; } a { color: #777; } #header { padding: 10px; text-align: center; } #content { margin-left: 230px; } #content h2{ color: #E6B03E; } #sidebar { padding: 10px; background: #B44E29; float: left; width: 180px; } #sidebar ul { padding: 0px; } #sidebar li { padding: 5px; list-style-type: none; list-style-position: inside; } #sidebar a { color: #fff; text-decoration: none; } #sidebar a:hover { color: #ccc; text-decoration: none; }
Someone - by the way - will say about our years:
“Everything was then easier ... God, we would be like that! ..”
Source: https://habr.com/ru/post/276491/
All Articles