Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.466 and 1.475

version 1.466, 2001/11/05 13:35:51 version 1.475, 2001/11/13 07:38:44
Line 1 Line 1
 @main[]  @main[]
 ^status[]  #^xloadwrongtable[]
 <hr>  ^xsetwrongtable[]
   #^if($form:test){y}{n}
   #^tablecolumnerror[]
   #^roll[]
   #^cookie2[]
   #^tableset[]
   #^math:PI.format{%.30f}
 #^xchildren[]  #^xchildren[]
 #^thashforeach3[]  #^thashforeach3[]
 #^thashforeach2[]  #^thashforeach2[]
Line 17 Line 23
 #^безнадёжна_попытка_поправить_непоправимое[]  #^безнадёжна_попытка_поправить_непоправимое[]
 #^tcache[]  #^tcache[]
 #^thashfileexp[]  #^thashfileexp[]
 ^tcounter[]  #^tcounter[]
 #^tablehash[]  #^tablehash[]
 #j^hashfile[]  #j^hashfile[]
 #^formclass[]  #^formclass[]
Line 54 Line 60
 #^mail[]  #^mail[]
 #^exec[]  #^exec[]
 #^fori[]  #^fori[]
 ^tconnect[]  #^tconnect[]
 ^xslt[]  #^xslt[]
 #^xml[]  #^xml[]
 #^header[]  #^header[]
 <hr>  
 ^status[]  
 OK  OK
   
 @status[]  @xloadwrongtable[]
 $c[$status:sql.cache]  $constr[^xdoc::load[wrongtable.xml]]
 sql.cache:<br>  
 <table border=1>  @xsetwrongtable[]
 <tr>  $constr[^xdoc::set{<?xml version="1.0" encoding="windows-1251z" ?>
         <td>url</td>  <block-list>^untaint[as-is]{$constructor}</block-list>}]
         <td>time</td>  
 </tr>  
 ^c.menu{  @tablecolumnerror[]
 <tr>  $t[^table::set{a}]
         <td>$c.url</td>  $t.$a
         <td>$c.time</td>  
 </tr>  @roll[]
 }  #$date[^date::set(1970;1;2)]
 </table>  #^date.roll[month](-1)
   $date[^date::set(2038;1;1)]
 $c[$status:stylesheet.cache]  ^date.roll[month](+1)
 stylesheet.cache:<br>  $date.year  $date.month  $date.day
 <table border=1>  
 <tr>  @cookie2[]
         <td>file</td>  #=$cookie:clientType[$.value[test]]=<br>
         <td>time</td>  =$cookie:clientType=<br>
 </tr>  
 ^c.menu{  
 <tr>  @tableset[]
         <td>$c.file</td>  $a[^table::set{a
         <td>$c.time</td>  1
 </tr>  2}]
 }  ^eval(100\$a)
 </table>  
   
 $c[$status:charset.cache]  
 charset.cache:<br>  @zzz[]
 <table border=1>  
 <tr>  
         <td>file</td>  
 </tr>  
 ^c.menu{  
 <tr>  
         <td>$c.file</td>  
 </tr>  
 }  
 </table>  
   
   
 $db_homes[$status:db.cache]  
 db.cache:<br>  
 ^db_homes.foreach[db_home;tables]{  
 <table border=1>  
 <tr>  
         <td colspan=3>$db_home</td>  
 </tr>  
 <tr>  
         <td>name</td>  
         <td>time</td>  
         <td>users</td>  
 </tr>  
 ^tables.menu{  
 <tr>  
         <td>$tables.name</td>  
         <td>$tables.time</td>  
         <td>$tables.users</td>  
 </tr>  
 }  
 </table>  
 }  
   
 @xchildren[]  
 $constructor[  $constructor[
 <block1 name="main_srvr" type="0" label="Основное тело" />  <block1 name="main_srvr" type="0" label="Основное тело" />
 <block2 name="main_srvr2" type="0" label="Основное тело" />  <block2 name="main_srvr2" type="0" label="Основное тело" />
Line 310  paf=$hf.paf Line 281  paf=$hf.paf
 $a  $a
 $xdoc[^xdoc::create[doc]]  $xdoc[^xdoc::create[doc]]
 $doc[$xdoc.documentElement]  $doc[$xdoc.documentElement]
 $name[^doc.appendChild[^xdoc.createElement{name}]]  $name[^doc.appendChild[^xdoc.createElement[name]]]
 $text[^name.appendChild[^xdoc.createTextNode{петросян&nbsp^;co}]]  $text[^name.appendChild[^xdoc.createTextNode[петросян&coz]]]
 ^untaint[as-is]{=$text.nodeValue=}  ^untaint[as-is]{=$text.nodeValue=}
   
 @domedit[]  @domedit[]
Line 572  $a.status|$a.stderr<hr> Line 543  $a.status|$a.stderr<hr>
   
 @xdata[]  @xdata[]
 #$response:content-type[$.value[text/html] $.charset[windows-1251]]  #$response:content-type[$.value[text/html] $.charset[windows-1251]]
 $xdoc[^xdoc::load[input.xml]]  $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251"?>
   <!--DOCTYPE people SYSTEM "D:\Y\parser3project\parser3\src\www\htdocs\people.dtd"-->
   
   <people>
           <man id="1" имя="word слово">
                   <name>P&#171^;AF        B</name>
           </man>
                   <man id="2">
                           <name>ПИФ^taint[&]</name>
                   </man>
   </people>
   }]
   
 @xml[]  @xml[]
 ^xdata[]  ^xdata[]
Line 633  by id: Line 615  by id:
 }  }
   
 @show-xdoc2[xdoc]  @show-xdoc2[xdoc]
 ^xdoc.save[save.xml;  ^xdoc.save[out/save.xml;
 #       $.encoding[windows-1251]  #       $.encoding[windows-1251]
         $.method[xml]          $.method[xml]
 ]  ]
Line 641  $file[^xdoc.file[ Line 623  $file[^xdoc.file[
 #       $.encoding[windows-1251]  #       $.encoding[windows-1251]
         $.method[html]          $.method[html]
 ]]  ]]
 ^file.save[text;save_file.html]  ^file.save[text;out/save_file.html]
 <pre>^taint[^xdoc.string[]]  <pre>^taint[^xdoc.string[]]
 #       $.encoding[windows-1251]  #       $.encoding[windows-1251]
 #       $.method[html]  #       $.method[html]

Removed from v.1.466  
changed lines
  Added in v.1.475


E-mail: