Diff for /parser3/src/www/htdocs/Attic/auto.p between versions 1.19 and 1.28

version 1.19, 2001/05/04 11:08:12 version 1.28, 2001/07/26 10:47:03
Line 1 Line 1
 @padding[content]  @auto[]
 <table cellspacing=0 cellpadding=8 border=0 width=100%><td>$content</td></table>  $SQL[
           $drivers[^table::set{protocol   driver  client
   mysql   d:\Y\parser3\src\sql\mysql\debug\parser3mysql.dll       d:\y\parser3\src\sql\mysql\mySQL32\lib\opt\libmySQL.dll
   odbc    d:\y\parser3\src\sql\odbc\Debug\parser3odbc.dll
   }]
   ]
   
 @href[url;content;flag]  #$ORIGINS(1)
 ^if($flag){<a href="$url">$content</a>}{$content}  $user-html[^table::set{user     html    comment
   <<      &laquo^;        длинные user вперёд
   >>      &raquo^;
   \n\n    <p>     !эти есть в таблице по умолчанию
   \n      <br>    !но т.к. заменяем, надо повторить.
   <       &lt^;   !можно этим воспользоваться,
   >       &gt^;   !и что-то сделать ДО обычных замен
   "       &quot^; !например из << и >>
   &       &amp^;  !сделать ёлочки-кавычки.
   _       &nbsp^;
   ^#AB    &laquo^;        windows коды ёлочек
   ^#BB    &raquo^;        windows коды ёлочек
   (c)     &copy^;
   ^#A9    &copy^; windows (c)
   }]
   #$if(!($SQL is hash)){$SQL[$z[z]]}
   $SQL.connect-string[mysql://test:test@localhost/test/cp1251_koi8]
   $SQL.connect-string[mysql://test:test@[/a/b]/test/cp1251_koi8]
   #for ^file::load[name;user-name;mime-type << autodetection]
   $MIME-TYPES[^table::set{ext     mime-type
   zip     application/zip
   doc     application/msword
   xls     application/vnd.ms-excel
   pdf     application/pdf
   ppt     application/powerpoint
   rtf     application/rtf
   gif     image/gif
   jpg     image/jpeg
   png     image/png
   tif     image/tiff
   html    text/html
   htm     text/html
   txt     text/plain
   mts     application/metastream
   mid     audio/midi
   midi    audio/midi
   mp3     audio/mpeg
   ram     audio/x-pn-realaudio
   rpm     audio/x-pn-realaudio-plugin
   ra      audio/x-realaudio
   wav     audio/x-wav
   au      audio/basic
   mpg     video/mpeg
   avi     video/x-msvideo
   mov     video/quicktime
   swf     application/x-shockwave-flash
   }]
   
   @auto_test[]
   ^BASE.auto_test[]
   <li>DR
   
 @main[]  @main[]
 $branches[^table:load[/_site.cfg]]  /auto.p main
 <html><head>  
 <title>parser III</title></head>  
 <body bgcolor=8896A7>  
 <table cellspacing=2 cellpadding=2 border=0 width="90%" align=center>  
         <tr>  
                 <td colspan=^branches.count[]><font size=2 color=white><b>parser III</b></font></td>  
         </tr>  
         <tr bgcolor=black>  
                 $branches{  
                         ^menu{  
                                 <td width=^eval(100/^count[])%>^:href{/$folder/;<font size=2 color=white><b>$name</b></font>}(!(in "/$folder/"))</td>  
                         }  
                 }  
         </tr>  
         <tr bgcolor=white>  
                 <td colspan=2 bgcolor=CCCCCC>^padding{^leftCol[]}</td>  
                 <td colspan=^eval(^branches.count[]-2)>^padding{^body[]}</td>  
         </tr>  
         <tr>  
                 <td colspan=^branches.count[]><font size=2 color=white>Copyright &copy^; 2001 <a href=http://www.design.ru/ style="color:white">Студия Артемия Лебедева</a></font></td>  
         </tr>  
 </table>  
 </body></html>  

Removed from v.1.19  
changed lines
  Added in v.1.28


E-mail: