Annotation of parser3/src/www/htdocs/index.html, revision 1.175

1.48      paf         1: @main[]
1.175   ! paf         2: $t1[^table:set{key     value
        !             3: 1      v1
        !             4: 2      v2}]
        !             5: $h1[^t1.hash[key]]
        !             6: ^h1.default[$value[nothing]]
        !             7: ^$h1.2.value=$h1.2.value
        !             8: <hr>
1.172     paf         9: $t2[^table:set{key     a       b
1.173     paf        10: 1      a1
1.172     paf        11: 2      a2      b2
                     12: }]
1.175   ! paf        13: t2 ^if(^t2.empty[]){empty}{not empty}<br>
1.173     paf        14: ^t2.offset(1)
                     15: $t2.b
                     16: $r[^t2.record[]]
                     17: <hr>
                     18: $th[^t2.hash[b]]
                     19: ^$th.b2.a=$th.b2.a<br>
                     20: <hr>
                     21: $th[^t2.hash[key;a]]
1.174     paf        22: ^$th.2.a=$th.2.a<br>
1.172     paf        23: <hr>
1.171     paf        24: #^OP:eval(1<2)
1.169     paf        25: 
                     26: $filelist[^table:dir[.]]
1.168     paf        27: <hr>
                     28: $path[/news/tululu/]
1.169     paf        29: #^path.flip[]
1.168     paf        30: <hr>
1.167     paf        31: $branches[^table:set{name      val
                     32: index.cgihtml  123
                     33: }]
                     34: $splitURI[^request:uri.lsplit[/]]
1.171     paf        35: name ^if(^branches.locate[name;$splitURI.1]){found;not found}:
                     36: $branches.name
1.167     paf        37: <HR>
1.166     paf        38: $splitURI[^request:uri.lsplit[/]]
1.164     paf        39: $splitURI.0!$splitURI.1
                     40: <HR>
                     41: 
1.163     paf        42: $t2[^table:set{dir     title
                     43: /here  Here
                     44: }]
                     45: $t2{^menu{${dir}-$title}[,]}
                     46: <HR>
                     47: $dir[news]
                     48: $list[^table:dir[$dir]]
                     49: ^list.menu{
                     50:     $subdir[$dir/$list.name]
                     51:        $sublist[^table:dir[$subdir]]
                     52:        ${list.name}/ $sublist{^menu{$name}[,]}<br>
                     53: }
                     54: <HR>
1.162     paf        55: ^t[x]
                     56: <HR>
1.161     paf        57: ^if(in "/otherdeeper"){y;n}
                     58: <HR>
1.160     paf        59: ^$form:проверка_имя=$form:проверка_имя<BR>
                     60: <form method=post>
                     61: <input name=проверка_имя value=проверка_значение>
                     62: <input type=submit>
                     63: </form>
                     64: <HR>
                     65: 
1.116     paf        66: ^^table:dir[/]:<BR>
                     67: $d[^table:dir[/]]
1.158     paf        68: $d{^menu{$name &nbsp^;&nbsp^;&nbsp^;&nbsp^;^if(-f $name){-f} ^if(-d $name){-d};<BR>}}
1.115     paf        69: <HR>
                     70: 
1.158     paf        71: $files[^table:set{name}]
1.159     paf        72: $d{^menu{
                     73:     ^if(-d "$name"){
                     74:         ^:files.append{$name}
1.158     paf        75:     }
1.159     paf        76: }}
                     77: 
1.158     paf        78: $files{^menu{$name}[,]}
1.94      paf        79: <HR>
1.31      paf        80: 
1.159     paf        81: @exception[origin;source;comment;type;code][i;j]
1.35      paf        82: <body bgcolor=black>
                     83: <font color=white>
1.31      paf        84: ERROR:
1.67      paf        85: ^if(def $source){$origin '$source'}
1.31      paf        86: ${comment}.
                     87: ^if(def $type){type=$type}
                     88: ^if(def $code){code=$code}
1.42      paf        89: 
1.43      paf        90: @auto_test[]
                     91: ^BASE.auto_test[]
1.168     paf        92: <li>${request:uri}!
                     93: 
                     94: @t[a]
                     95: -${a}-
                     96: @end
                     97: 

E-mail: