Annotation of parser3/src/www/htdocs/auto.p, revision 1.35.4.1

1.20      paf         1: @auto[]
1.35.4.1! parser      2: ^use[common/lib.p]
        !             3: ^use[common/layout.p]
        !             4: ^use[common/implode.p]
        !             5: ^use[date/dtf.p]
        !             6: ^use[hosting.p]
        !             7: ^detectBrowser[]
        !             8: #end
        !             9: 
        !            10: 
        !            11: @ifhref[flag;address;content;params]
        !            12: ^if($flag){<a href="$address"^if(def $params){ $params}>$content</a>}{$content}
        !            13: 
        !            14: @img[filename;params]
        !            15: ^if(-f $filename){$thisImage[^image::measure[$filename]]^thisImage.html[$params]}
        !            16: 
        !            17: @nafigator[]
        !            18: <table cellpadding="0" cellspacing="0" border="0" background="">
        !            19: <tr>
        !            20:        ^branches.menu{
        !            21:                <td>^ifhref(!in "/$branches.folder/" || ^splitURI.count[] != 1)[/$branches.folder/][<img src="/i/i-${branches.folder}^if(in "/$branches.folder/"){-a}.gif" width="25" height="25" alt="$branches.name" border="0" name="$branches.folder" />][^if(!in "/$branches.folder/"){onMouseOver="iconOver('$branches.folder',1)" onMouseOut="iconOver('$branches.folder',0)"}]</td>
        !            22:                <td width="12" nowrap><spacer type="block" width="12" height="1"></td>
        !            23:        }
        !            24:        <td>^ifhref(^splitURI.count[] != 1)[/$branch/][^img[^if(^splitURI.count[]){/$branch/i/}{/i/home/}p.gif][$.name[p]]]</td>
        !            25: </tr>
        !            26: </table>
        !            27: 
        !            28: @subnafigator[]
        !            29: ^if(def $subbranches){^subbranches.menu{$thisImage[^image::measure[/$branch/i/b-${subbranches.folder}^if(in "/$branch/$subbranches.folder/"){-a}.gif]]^ifhref(!in "/$branch/$subbranches.folder/" || ^splitURI.count[] != 2)[/$branch/$subbranches.folder/][^thisImage.html[$.name[b-$subbranches.folder]]][onMouseOver="rollOver('b-$subbranches.folder', 1, '^if(in "/$branch/$subbranches.folder/"){-a}')" onMouseOut="rollOver('b-$subbranches.folder', 0, '^if(in "/$branch/$subbranches.folder/"){-a}')"]}}
        !            30: 
        !            31: @header[]
        !            32: <br />
        !            33: 
        !            34: @insertia[]
        !            35: <br />
        !            36: 
        !            37: @content[]
        !            38: <br />
        !            39: 
        !            40: @btm[]
        !            41: <br />
        !            42: 
        !            43: @localmenu[]
        !            44: $localSpacer(0)
        !            45: $foundOne(0)
        !            46: ^subbranches.menu{
        !            47:        ^if(in "/$branch/$subbranches.folder/"){$foundOne(1)}
        !            48:        ^if(!$foundOne){
        !            49:                $localimage[^image::measure[/$branch/i/b-${subbranches.folder}.gif]]
        !            50:                ^localSpacer.inc($localimage.width)
        !            51:        }
        !            52: }
        !            53: ^splitURI.offset(1)
        !            54: $result[^if($localSpacer){<img src="/i/d-t.gif" width="$localSpacer" height="23" border="0" />}^local.menu{$thisImage[^image::measure[/$branch/i/b2-${local.folder}^if(in "/$branch/$splitURI.piece/$local.folder/"){-a}.gif]]^ifhref(!in "/$branch/$splitURI.piece/$local.folder/")[/$branch/$splitURI.piece/$local.folder/][^thisImage.html[$.name[b2-$local.folder]]][onMouseOver="rollOver('b2-$local.folder', 1, '')" onMouseOut="rollOver('b2-$local.folder', 0, '')"]}]
        !            55: 
        !            56: @contentTable[]
        !            57: <table cellpadding="0" cellspacing="0" border="0" width="648" background="">
        !            58: <tr valign="top">
        !            59:        <td width="198"^if(-f "/$branch/i/dec-btm-left.gif"){}{ rowspan="2"}>
        !            60:                <table cellpadding="0" cellspacing="0" border="0" width="198" background=""><tr><td align="right">^img[/$branch/i/photo-left-btm.jpg]</td></tr></table>
        !            61:                ^insertia[]
        !            62:        </td>
        !            63:        <td width="25" rowspan="2"><spacer type="block" width="25" height="1"></td>
        !            64:        <td width="348" rowspan="2">^if(def $local){^localmenu[]<br>}{^if(-f "/$branch/i/b-btm-line.gif"){^img[/$branch/i/b-btm-line.gif]}{^img[/i/b-btm-line.gif]}}<spacer type="block" width="348" height="1"><br>
        !            65:                ^content[]
        !            66:        </td>
        !            67:        <td width="30" rowspan="2" valign="bottom" nowrap>^if(-f "/$branch/i/dec-btm-right.gif"){^img[/$branch/i/dec-btm-right.gif]}{<spacer type="block" width="30" height="1">}</td>
        !            68:        <td width="47"^if(-f "/$branch/i/dec-btm-right2.gif"){}{ rowspan="2"} background="/i/bg-body-right.gif">^img[/i/dec-top-right.gif]</td>
        !            69: </tr>
        !            70:        ^btm[]
        !            71: </table>
        !            72: 
        !            73: @main[]
        !            74: $branches[^table::load[/branches.cfg]]
        !            75: $shortURI[^request:uri.mid(1;^request:uri.length[]-1)]
        !            76: $splitURI[^shortURI.lsplit[/]]
        !            77: ^if(-f ^file:find[section.cfg]){
        !            78:        $subbranches[^table::load[^file:find[section.cfg]]]
        !            79:        $branch[^request:uri.mid(1;^request:uri.length[]-1)]
        !            80:        $branch[^branch.mid(0;^branch.pos[/])]
        !            81:        ^if(-f ^file:find[local.cfg]){
        !            82:                $local[^table::load[^file:find[local.cfg]]]
        !            83:        }
        !            84: }
        !            85: <!-- Copyright (c) Art. Lebedev Studio | http://www.design.ru/ --> 
        !            86: 
        !            87: <html><head><base target="_top">
        !            88: <title>
        !            89:        Lord of the Dance
        !            90:        ^if(def $branch){
        !            91:                ^if(^branches.locate[folder][$branch]){| $branches.name}
        !            92:                ^if(^splitURI.count[] > 1){
        !            93:                        ^if(^subbranches.locate[folder][^splitURI.offset(1)$splitURI.piece^splitURI.offset(-1)]){| $subbranches.name}
        !            94:                        ^if(^splitURI.count[] > 2){
        !            95:                                ^if(def $local){^if(^local.locate[folder][^splitURI.offset(2)$splitURI.piece^splitURI.offset(-2)]){| $local.name}}
        !            96:                        }
        !            97:                }
        !            98:        }
        !            99:        </title><link rel="stylesheet" type="text/css" href="/lotd.css">
        !           100: #      ^if(def $prepare){^prepare[]}
        !           101: <script language="javascript">
        !           102: <!--
        !           103:        if (document.images) {
        !           104:                arIcnSrc = new Array (^branches.menu{"/i/i-${branches.folder}-a","/$branches.folder/i/p.gif"}[,])
        !           105:                arIcnLst = new Array ()^;
        !           106:                for (i in arIcnSrc) {
        !           107:                        arIcnLst[i] = new Image ()^;
        !           108:                        arIcnLst[i].src = arIcnSrc[i] + ".gif"^;
        !           109:                }
        !           110:                arImgSrc = new Array (^if(def $subbranches){^subbranches.menu{"b-$subbranches.folder"}[,]^if(def $local){,^local.menu{"b2-$local.folder"}[,]}})^;
        !           111:                arImgLst = new Array ()^;
        !           112:                for (i in arImgSrc) {
        !           113:                        arImgLst[i] = new Image ()^;
        !           114:                        arImgLst[i].src = "/$branch/i/" + arImgSrc[i] + "-s.gif"^;
        !           115:                }
        !           116:        }
        !           117:        function iconOver(imName, over){
        !           118:                if (document.images) {
        !           119:                        document.images[imName].src = "/i/i-" + imName + (over ? "-a" : "") + ".gif"^;
        !           120:                        ^if(def $branch){document.images["p"].src = "/" + (over ? imName : "$branch") + "/i/p.gif"^;}
        !           121:                }
        !           122:        }
        !           123:        function rollOver(imName, over, stSuffix){
        !           124:                if (document.images) document.images[imName].src = "/$branch/i/" + imName + (over ? "-s" : stSuffix) + ".gif"^;
        !           125:        }
        !           126: //-->
        !           127: </script>
        !           128: </head>
        !           129: <body bgcolor="#000000" text="#000000" link="#000000" alink="#9C0000" vlink="#333333" marginheight="7" marginwidth="0" topmargin="7" leftmargin="0" rightmargin="0">
        !           130: 
        !           131: <table cellpadding="0" cellspacing="0" border="0" width="648">
        !           132: <tr>
        !           133:        <td width="198"><img src="/i/d-t.gif" width="198" height="1" alt="" border="0"></td>
        !           134:        <td width="101"><img src="/i/d-t.gif" width="101" height="1" alt="" border="0"></td>
        !           135:        <td width="349"><img src="/i/d-t.gif" width="349" height="1" alt="" border="0"></td>
        !           136: </tr>
        !           137: <tr>
        !           138:        <td width="299" height="42" colspan="2" rowspan="2" align="right" nowrap><a href="/">^img[/i/logo.gif]</a><img src="/i/logo-line.gif" width="33" height="42" alt="" border="0"><br>
        !           139: ^img[/$branch/i/photo-left-top.jpg]^img[/$branch/i/photo-right-top.jpg]</td>
        !           140: </td>
        !           141:        <td height="25" nowrap><spacer type="block" width="1" height="25"></td>
        !           142: </tr>
        !           143: <tr>
        !           144:        <td width="349" height="25" background="/$branch/i/bg-icons.jpg">
        !           145:                ^nafigator[]
        !           146:        </td>
        !           147: </tr>
        !           148: <tr valign="top">
        !           149:        <td width="198" align="right">^img[/$branch/i/photo-left.jpg]</td>
        !           150:        <td width="450" colspan="2" background="/$branch/i/photo-right.jpg">
        !           151:                ^header[]
        !           152:        </td>
        !           153: </tr>
        !           154: </table>
        !           155: 
        !           156: <table cellpadding="0" cellspacing="0" border="0" background="/$branch/i/bg-body.gif"><tr><td>
        !           157:        ^contentTable[]
        !           158: </td></tr></table>
        !           159: 
        !           160: <table cellpadding="0" cellspacing="0" border="0" width="571">
        !           161: <tr>
        !           162:        <td width="223"></td>
        !           163:        <td width="348"><div class="footer">&copy;&nbsp;2001&nbsp;<nobr>Àëüôà-Áàíê</nobr>&nbsp;&nbsp;
        !           164:                <nobr>E-mail:</nobr> <a href="mailto:mail@alfabank.ru" class="grey">mail@alfabank.ru</a></div></td>
        !           165: </tr>
        !           166: </table>
        !           167: 
        !           168: </body>
        !           169: </html>

E-mail: