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

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

E-mail: