OSDN Git Service

self.tag の使い方が無理やりになっていたのでtagstrに変更
[newbbs/newbbs.git] / WebModuleUnit1.dfm
1 object WebModule1: TWebModule1
2   OldCreateOrder = False
3   OnCreate = WebModuleCreate
4   Actions = <
5     item
6       MethodType = mtGet
7       Name = 'top'
8       PathInfo = '/'
9       OnAction = WebModule1topAction
10     end
11     item
12       MethodType = mtGet
13       Name = 'indexpage'
14       PathInfo = '/index'
15       OnAction = WebModule1indexpageAction
16     end
17     item
18       MethodType = mtPost
19       Name = 'regist'
20       PathInfo = '/regist'
21       OnAction = WebModule1registAction
22     end
23     item
24       MethodType = mtGet
25       Name = 'admin'
26       PathInfo = '/admin'
27       OnAction = WebModule1adminAction
28     end
29     item
30       Name = 'search'
31       PathInfo = '/search'
32       OnAction = WebModule1searchAction
33     end
34     item
35       Name = 'help'
36       PathInfo = '/help'
37       OnAction = WebModule1helpAction
38     end
39     item
40       Name = 'master'
41       PathInfo = '/master'
42       OnAction = WebModule1masterAction
43     end
44     item
45       Name = 'alert'
46       PathInfo = '/alert'
47       OnAction = WebModule1alertAction
48     end
49     item
50       MethodType = mtPost
51       Name = 'usrdel'
52       PathInfo = '/userdel'
53       OnAction = WebModule1usrdelAction
54     end
55     item
56       Name = 'jump'
57       PathInfo = '/jump'
58       OnAction = WebModule1jumpAction
59     end
60     item
61       MethodType = mtGet
62       Name = 'link'
63       PathInfo = '/link'
64       OnAction = WebModule1linkAction
65     end
66     item
67       MethodType = mtPost
68       Name = 'admdel'
69       PathInfo = '/admindel'
70       OnAction = WebModule1admdelAction
71     end
72     item
73       Name = 'login'
74       PathInfo = '/login'
75       OnAction = WebModule1loginAction
76     end
77     item
78       MethodType = mtPost
79       Name = 'adminset'
80       PathInfo = '/adminset'
81       OnAction = WebModule1adminsetAction
82     end
83     item
84       MethodType = mtGet
85       Name = 'logout'
86       PathInfo = '/logout'
87       OnAction = WebModule1logoutAction
88     end
89     item
90       MethodType = mtGet
91       Name = 'img'
92       PathInfo = '/src'
93       OnAction = WebModule1imgAction
94     end
95     item
96       MethodType = mtGet
97       Name = 'file'
98       PathInfo = '/file'
99       OnAction = WebModule1fileAction
100     end
101     item
102       Name = 'title'
103       PathInfo = '/title'
104       OnAction = WebModule1titleAction
105     end>
106   Height = 385
107   Width = 909
108   object articles: TDataSetPageProducer
109     HTMLDoc.Strings = (
110       '                                            <hr size=1>'
111       
112         #9'<section id=number><a name=<#number>></a><a href=<#uri>/jump?db' +
113         '=<#dbnum>&num=<#number>'
114       '         style=text-decoration:none>'
115       #9#9'[<#number>]</a></section>'
116       #9'<section id=title><#title></section>'
117       #9'<section id=name>'#12288'Name:<h1><#name></h1></section>'
118       #9'<section id=date>'#12288'Date:<h1><#date></h1></section>'
119       #9'<p>'#9661#9650#9661#9650#9661#9650#9661
120       #9'<section id=comment><#comment></section>'
121       
122         '<section id=master style=text-align:right><a href=<#uri>/alert?d' +
123         'b=<#dbnum>&num=<#number>>'#22577#21578'</a></section>'
124       #9'<p>'#9651#9660#9651#9660#9651#9660#9651)
125     DataSet = FDTable2
126     OnHTMLTag = articlesHTMLTag
127     Left = 112
128     Top = 88
129   end
130   object index: TDataSetPageProducer
131     HTMLDoc.Strings = (
132       '<!DOCTYPE html>'
133       '<html lang="ja">'
134       '  <head>'
135       '    <meta charset="utf-8">'
136       '  <meta http-equiv="Content-Style-Type" content="text/css">'
137       
138         '    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.' +
139         'com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJz' +
140         'ZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" c' +
141         'rossorigin="anonymous">'
142       '<style type="text/css">'
143       '<!--'
144       '    <#css id=2>'
145       '    <#css id=4>'
146       '-->'
147       '</style>'
148       
149         '    <script src=//cdn.rawgit.com/google/code-prettify/master/loa' +
150         'der/run_prettify.js></script>'
151       
152         '    <script type=text/javascript src=//ajax.googleapis.com/ajax/' +
153         'libs/jquery/1.8.1/jquery.min.js></script>'
154       '    <script>'
155       '    <!--'
156       '    <#js id=1>'
157       '    <#js id=2>'
158       '    -->'
159       '    </script>'
160       '    <title>'
161       '    <#title>'
162       '    </title>'
163       '  </head>'
164       '  <body>'
165       
166         '    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.j' +
167         's" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp' +
168         '4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>'
169       
170         '    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.j' +
171         's/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRax' +
172         'vfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="ano' +
173         'nymous"></script>'
174       
175         '    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.' +
176         '2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2j' +
177         'oaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonym' +
178         'ous"></script>'
179       '<#pr>'
180       '    <a href=<#uri>/ style=text-decoration:none><#title2></a>'
181       ''
182       '    <#header>'
183       '      <div class="container pt-5">'
184       
185         '    <button class="btn shadow" data-toggle=collapse data-target=' +
186         '.item1'
187       '      aria-expanded=false aria-controls="item1-a item1-b">'
188       '    '#12402#12425#12367'</button>'
189       '    <div class="container pt-3">'
190       '    <div class="row col-5 p-0">'
191       '      <div class="col-4 p-0">'
192       
193         '    <div class="collapse item1" id=item1-a><div class="card card' +
194         '-body">'
195       
196         '    <form action=<#uri>/userdel?db=<#dbnum> method="post" id=sea' +
197         'rch>'
198       
199         '      <label for=id1>'#35352#20107'No</label><input id=id1 class="form-contr' +
200         'ol" name="num">'
201       
202         '      <label for=pass1>Pass</label><input id=pass1 class="form-c' +
203         'ontrol mb-3" type="password" name="password">'
204       '      <button type="submit">'#21066#38500'</button>'
205       '    </form>'
206       '    </div></div>'
207       '      </div>'
208       '      <div class="col-8">'
209       
210         '    <div class="collapse item1" id=item1-b><div class="card card' +
211         '-body">'
212       '    <form action=<#uri>/jump?db=<#dbnum> method=post id=search>'
213       '      <div class="input-group">'
214       
215         '      <div class=input-group-prepend><span class=input-group-tex' +
216         't>'#35352#20107'No</span></div>'
217       '      <input id=number1 class="form-control" name=num>'
218       
219         '      <div class=input-group-append><button type=submit>'#31227#21205'</butt' +
220         'on></div>'
221       '      </div>'
222       '    </form>'
223       '    </div></div>'
224       '      </div>'
225       '    </div>'
226       '    </div>'
227       '      </div>'
228       '    <p><br></p>'
229       '    <p><a href=<#uri>/search?db=<#dbnum>>'#26908#32034#12506#12540#12472'</a></p>'
230       '    <p style=text-align:center><#database></p>'
231       '    <#footer>'
232       '  <#article>'
233       #9'<a name=article></a>'
234       '    <div style=position:fixed;right:30px;bottom:40px>'
235       
236         '      <p><a class="btn btn-outline-info rounded-pill" href=#top>' +
237         #19978#12408'</a>'
238       
239         '      <p><a class="btn btn-outline-info rounded-pill" href=#arti' +
240         'cle>'#19979#12408'</a>'
241       '    </div>'
242       '  <#footer>'
243       
244         '    <p style=text-align:center><a href="<#uri>/admin?db=<#dbnum>' +
245         '">'#31649#29702#32773#29992#12525#12464#12452#12531'</a></p>'
246       '  </body>'
247       '</html>')
248     DataSet = FDTable3
249     OnHTMLTag = indexHTMLTag
250     Left = 112
251     Top = 32
252   end
253   object admin: TDataSetTableProducer
254     Columns = <
255       item
256         Custom = 'width=10%'
257         FieldName = 'CHECK'
258       end
259       item
260         Custom = 'width=10%'
261         FieldName = 'NUMBER'
262       end
263       item
264         FieldName = 'TITLE'
265       end
266       item
267         FieldName = 'NAME'
268       end
269       item
270         FieldName = 'DATE'
271       end>
272     Footer.Strings = (
273       '')
274     MaxRows = 30
275     DataSet = FDTable2
276     RowAttributes.Align = haCenter
277     TableAttributes.Align = haCenter
278     TableAttributes.BgColor = 'White'
279     TableAttributes.Width = 80
280     OnFormatCell = adminFormatCell
281     Left = 176
282     Top = 32
283   end
284   object search: TPageProducer
285     HTMLDoc.Strings = (
286       ''
287       '<!DOCTYPE HTML>'
288       ''
289       '<html>'
290       '  <head>'
291       '    <title>'#26908#32034'</title>'
292       '    <style type=text/css>'
293       '    <!--'
294       '    <#css>'
295       '    -->'
296       '    </style>'
297       '  </head>'
298       ''
299       '  <body>'
300       '<#pr>'
301       '    <form action="<#uri>/search<#query>" method="post">'
302       '    <p align="center"><strong>'#25237#31295#26908#32034
303       '</strong>'
304       '    </p>'
305       '    <p>'
306       '</p>'
307       '    <p>'
308       '    </p>'
309       '      <p align="center">'#26908#32034#12290#12473#12506#12540#12473#12391#21306#20999#12387#12390#12367#12384#12373#12356#12290'</p>'
310       '    <select name=type>'
311       '      <option value=OR>OR</option>'
312       '      <option value=AND>AND</option>'
313       '    </select>      '
314       
315         '        <div style="HEIGHT: 26px; WIDTH: 105px; POSITION: relati' +
316         've; DISPLAY: inline" ms_positioning="FlowLayout">'#26908#32034#12527#12540#12489
317       '</div>'
318       '      <p>&nbsp;<input name="word1"></p>'
319       
320         '    <p><input type="radio" name="filter" style="HEIGHT: 20px; WI' +
321         'DTH: 17px" size="17" value="name">'#21517#21069#12363#12425#26908#32034' <input type="radio" che' +
322         'cked="true" style="HEIGHT: 20px; WIDTH: 16px" size="16" name="fi' +
323         'lter" value="com">'#26412#25991#12363#12425#26908#32034
324       '</p>'
325       '      <p>'
326       '    <input type="submit" value="'#26908#32034'"></p>'
327       '    </form>'
328       '      <p><a href="<#select>">'#25522#31034#26495#12408#25147#12427
329       '</a></p>'
330       '    <#items>'
331       '  </body>'
332       '</html>')
333     OnHTMLTag = searchHTMLTag
334     Left = 240
335     Top = 32
336   end
337   object items: TDataSetPageProducer
338     HTMLDoc.Strings = (
339       '                                            <hr size=1>'
340       #9'<section id=title><#title></section>'
341       #9'<section id=name>'#12288'Name:<h1><#name></h1></section>'
342       #9'<section id=date>'#12288'Date:<h1><#date></h1></section>'
343       #9
344       #9'<section id=comment><#item></section>'
345       '')
346     DataSet = FDTable4
347     OnHTMLTag = itemsHTMLTag
348     Left = 240
349     Top = 144
350   end
351   object help: TPageProducer
352     HTMLDoc.Strings = (
353       ''
354       '<!DOCTYPE html>'
355       ''
356       '<html><head><meta charset=utf8><title>'#20351#12356#26041'</title></head>'
357       '<body>'
358       '<#pr>'
359       '<P>'#35370#21839#32773#12398#30342#12373#12435'</P>'
360       '<#area>'
361       #9'<p><br>'
362       '<p>'#38283#30330#32773#12398#30342#12373#12435
363       '<p>pybbs'#12398'API'
364       '<p>ArticleAPI ... ~/read/api/<b>dbname</b>/<b>number</b>'
365       '<p>ListAPI ... ~/headline/api'
366       '<p><br>'
367       '<p>'
368       '<p>'#21033#29992#35215#32004
369       '<p>'#12371#12428#12363#12425#26360#12365#12414#12377
370       '<p style=text-align:center><a href=<#uri>/>'#25147#12427'</a>'
371       '</body>'
372       '</html>')
373     OnHTMLTag = helpHTMLTag
374     Left = 304
375     Top = 32
376   end
377   object top: TPageProducer
378     HTMLDoc.Strings = (
379       '<!doctype html>'
380       '<html class=no-js lang="ja">'
381       '<head>'
382       #9'<title>Top Page</title>'
383       
384         ' <script type="text/javascript" src="//ajax.googleapis.com/ajax/' +
385         'libs/jquery/2.1.4/jquery.min.js"></script>'
386       
387         ' <link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jq' +
388         'ueryui/1.10.4/themes/smoothness/jquery-ui.css" />'
389       
390         ' <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jq' +
391         'uery-ui.min.js"></script>'
392       
393         ' <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com' +
394         '/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqF' +
395         'Gwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" cros' +
396         'sorigin="anonymous">'
397       '</head>'
398       '<body>'
399       
400         '    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.j' +
401         's" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp' +
402         '4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>'
403       
404         '    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.j' +
405         's/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRax' +
406         'vfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="ano' +
407         'nymous"></script>'
408       
409         '    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.' +
410         '2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2j' +
411         'oaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonym' +
412         'ous"></script>'
413       '<#pr>'
414       '<div id="fb-root"></div>'
415       ''
416       '<script>(function(d, s, id) {'
417       '  var js, fjs = d.getElementsByTagName(s)[0];'
418       '  if (d.getElementById(id)) return;'
419       '  js = d.createElement(s); js.id = id;'
420       
421         '  js.src = "//connect.facebook.net/ja_JP/sdk.js#xfbml=1&version=' +
422         'v2.8";'
423       '  fjs.parentNode.insertBefore(js, fjs);'
424       '}(document, '#39'script'#39', '#39'facebook-jssdk'#39'));</script>'
425       ''
426       ''
427       '<header><h1 style="text-align: center;">'#28961#26009#38651#23376#25522#31034#26495#12408#12424#12358#12371#12381
428       '</h1></header>'
429       '<div id="slide-1" class="carousel slide" data-ride="carousel">'
430       '  <ol class="carousel-indicators">'
431       '    <#indicator>'
432       '  </ol>'
433       '  <div class="carousel-inner bg-dark"><#slide></div>'
434       ''
435       
436         #9'<a class="carousel-control-prev" href="#slide-1" role="button" ' +
437         'data-slide="prev">'
438       
439         '          <span class="carousel-control-prev-icon" aria-hidden="' +
440         'true"></span>'
441       '          <span class="sr-only">Previous</span>'
442       '        </a>'
443       
444         '        <a class="carousel-control-next" href="#slide-1" role="b' +
445         'utton" data-slide="next">'
446       
447         '          <span class="carousel-control-next-icon" aria-hidden="' +
448         'true"></span>'
449       '          <span class="sr-only">Next></span>'
450       '        </a>'
451       '</div>'
452       '<p>'
453       '<p>'#12288'<em style="background-color: aqua;">'#12288#12288#12288#12288'</em>'#12539#12539#12539'new!'
454       
455         '        <p>[ <a href=<#uri>/index?db=<#dbnum>><#info></a> ] ='#12362#30693#12425 +
456         #12379' <p>[ <a href="<#uri>/master">master'
457       
458         '</a> ] ='#31649#29702#20154'<div class="fb-like" data-href="http://pybbs.herokuap' +
459         'p.com" data-layout="box_count" data-action="like" data-size="sma' +
460         'll" data-show-faces="true" data-share="false"></div>'
461       
462         '<p><a href="http://www.xn--gckj5d1ktb3488cn4q.jp/" target="_blan' +
463         'k"><img alt="'#28961#26009#12459#12454#12531#12479#12540'" src="http://www.xn--gckj5d1ktb3488cn4q.jp/' +
464         'counter.php?id=pybbs" border="0"></a>'
465       '<footer>'
466       '<p><br>'
467       '<p><a href=<#uri>/title>'#12479#12452#12488#12523#34920#31034'</a>'
468       '<p><a href="<#uri>/help">'#20351#12356#26041#26696#20869
469       '</a>'
470       '<p><a href=<#uri>/search>'#26908#32034'</a>'
471       '<p>PR '#12522#12531#12463'<br>'
472       
473         '<p><a href="https://www.amazon.co.jp/%E9%AB%98%E6%A0%A1%E5%8D%92' +
474         '%E6%A5%AD%E3%81%BE%E3%81%A7%E3%81%AE%E3%82%B5%E3%83%83%E3%82%AB%' +
475         'E3%83%BC%E6%88%A6%E8%A1%93-sanuki_kainushi-ebook/dp/B00AXBM08Q/r' +
476         'ef=sr_1_7?ie=UTF8&amp;qid=1479369992&amp;sr=8-7&amp;keywords=san' +
477         'uki_kainushi">'#39640#26657#21330#26989#12414#12391#12398#12469#12483#12459#12540#25126#34899
478       '</a><br>amazon kindle'
479       '</p>'
480       '<p>'
481       
482         '<p><a href="https://www.amazon.co.jp/%E4%B8%AD%E5%AD%A6%E5%8D%92' +
483         '%E6%A5%AD%E3%81%BE%E3%81%A7%E3%81%AE%E3%82%B5%E3%83%83%E3%82%AB%' +
484         'E3%83%BC%E6%88%A6%E8%A1%93-sanuki_kainushi-ebook/dp/B014X0S874/r' +
485         'ef=sr_1_3?s=digital-text&amp;ie=UTF8&amp;qid=1479370246&amp;sr=1' +
486         '-3">'#20013#23398#21330#26989#12414#12391#12398#12469#12483#12459#12540#25126#34899
487       '</a><br>amazon kindle'
488       '</p>'
489       '</footer>'
490       ''
491       '</body>'
492       '</html>')
493     OnHTMLTag = topHTMLTag
494     Left = 48
495     Top = 32
496   end
497   object master: TPageProducer
498     HTMLDoc.Strings = (
499       '<!doctype html>'
500       '<head>'
501       '<meta charset=utf-8>'
502       '</head>'
503       '<body>'
504       '<#pr>'
505       '<form action=<#uri>/master method=post>'
506       '<p><#request>'
507       '<input type=radio name=delete value=some checked>'#21066#38500#28168#12415#12434#28040#21435#12288
508       '<input type=radio name=delete value=all>'#12377#12409#12390#28040#21435
509       '<input type=submit value="'#36865#20449'">'
510       '</form>'
511       '<p style=text-align:center><a href=<#uri>/logout>'#12525#12464#12450#12454#12488'</a>'
512       '<p style=text-align:center><a href=<#uri>/>'#25147#12427'</a>'
513       '</body></html>')
514     OnHTMLTag = masterHTMLTag
515     Left = 48
516     Top = 144
517   end
518   object alert: TDataSetPageProducer
519     HTMLDoc.Strings = (
520       '<tr><td>'
521       '<p><#plus><#date>'
522       '<p><#article></td><td><#request>'
523       '</td><tr>')
524     DataSet = FDTable4
525     OnHTMLTag = alertHTMLTag
526     Left = 48
527     Top = 192
528   end
529   object mail: TPageProducer
530     HTMLDoc.Strings = (
531       '<!doctyle html>'
532       '<html>'
533       '<head><meta charset=utf-8></head>'
534       '<body>'
535       '<#pr>'
536       '<form action=<#uri>/alert<#query>  method=post>'
537       '  <#content>'
538       '<textarea name=request></textarea>'
539       '<input type=submit>'
540       '<p style=text-align:center><a href=<#uri>/jump<#query>>'#25147#12427'</a>'
541       '</form>'
542       '</body></html>')
543     OnHTMLTag = mailHTMLTag
544     Left = 176
545     Top = 144
546   end
547   object css2: TPageProducer
548     HTMLDoc.Strings = (
549       'section#number {'
550       '    display:inline'
551       '}'
552       ''
553       'section#title {'
554       '    display:inline;'
555       '    font-weight:bold;'
556       '    font-size:1.2rem;'
557       '    color:#D01166'
558       '}'
559       ''
560       'section#name h1 {'
561       '    font-size:1rem;'
562       '    font-weight:bold;'
563       '    color:#007000'
564       '}'
565       ''
566       'section h1 {'
567       '    font-size:1rem;'
568       '    display:inline;'
569       '}'
570       ''
571       'header {'
572       '    margin:auto;'
573       '    border:solid 1px #aaaaaa;'
574       '    box-shadow:0 2px 3px #cccccc,'
575       '               0 0 #ff8800 inset;'
576       '    padding:18px;'
577       '    border-radius:5px;'
578       '    background:-webkit-linear-gradient(#ffffff 0%,#014471 50%,'
579       '        #014471 51%,#ffffff 100%);'
580       '    overflow:hidden;'
581       '    width:100%'
582       '}'
583       ''
584       'button#custom {'
585       #9'position:absolute;'
586       #9'width:80px;'
587       #9'height:30px;'
588       #9'right:20px'
589       '}'
590       ''
591       'body {'
592       #9'line-height:1.5'
593       '}')
594     Left = 360
595     Top = 144
596   end
597   object css3: TPageProducer
598     HTMLDoc.Strings = (
599       '/*! normalize.css v2.1.2 | MIT License | git.io/normalize */'
600       ''
601       
602         '/* =============================================================' +
603         '============='
604       '   HTML5 display definitions'
605       
606         '   =============================================================' +
607         '============= */'
608       ''
609       '/**'
610       ' * Correct `block` display not defined in IE 8/9.'
611       ' */'
612       ''
613       'article,'
614       'aside,'
615       'details,'
616       'figcaption,'
617       'figure,'
618       'footer,'
619       'header,'
620       'hgroup,'
621       'main,'
622       'nav,'
623       'section,'
624       'summary {'
625       '    display: block;'
626       '}'
627       ''
628       '/**'
629       ' * Correct `inline-block` display not defined in IE 8/9.'
630       ' */'
631       ''
632       'audio,'
633       'canvas,'
634       'video {'
635       '    display: inline-block;'
636       '}'
637       ''
638       '/**'
639       
640         ' * Prevent modern browsers from displaying `audio` without contr' +
641         'ols.'
642       ' * Remove excess height in iOS 5 devices.'
643       ' */'
644       ''
645       'audio:not([controls]) {'
646       '    display: none;'
647       '    height: 0;'
648       '}'
649       ''
650       '/**'
651       ' * Address styling not present in IE 8/9.'
652       ' */'
653       ''
654       '[hidden] {'
655       '    display: none;'
656       '}'
657       ''
658       
659         '/* =============================================================' +
660         '============='
661       '   Base'
662       
663         '   =============================================================' +
664         '============= */'
665       ''
666       '/**'
667       ' * 1. Set default font family to sans-serif.'
668       
669         ' * 2. Prevent iOS text size adjust after orientation change, wit' +
670         'hout disabling'
671       ' *    user zoom.'
672       ' */'
673       ''
674       'html {'
675       '    font-family: sans-serif; /* 1 */'
676       '    -ms-text-size-adjust: 100%; /* 2 */'
677       '    -webkit-text-size-adjust: 100%; /* 2 */'
678       '}'
679       ''
680       '/**'
681       ' * Remove default margin.'
682       ' */'
683       ''
684       'body {'
685       '    margin: 0;'
686       '}'
687       ''
688       
689         '/* =============================================================' +
690         '============='
691       '   Links'
692       
693         '   =============================================================' +
694         '============= */'
695       ''
696       '/**'
697       
698         ' * Address `outline` inconsistency between Chrome and other brow' +
699         'sers.'
700       ' */'
701       ''
702       'a:focus {'
703       '    outline: thin dotted;'
704       '}'
705       ''
706       '/**'
707       
708         ' * Improve readability when focused and also mouse hovered in al' +
709         'l browsers.'
710       ' */'
711       ''
712       'a:active,'
713       'a:hover {'
714       '    outline: 0;'
715       '}'
716       ''
717       
718         '/* =============================================================' +
719         '============='
720       '   Typography'
721       
722         '   =============================================================' +
723         '============= */'
724       ''
725       '/**'
726       
727         ' * Address variable `h1` font-size and margin within `section` a' +
728         'nd `article`'
729       ' * contexts in Firefox 4+, Safari 5, and Chrome.'
730       ' */'
731       ''
732       'h1 {'
733       '    font-size: 2em;'
734       '    margin: 0.67em 0;'
735       '}'
736       ''
737       '/**'
738       ' * Address styling not present in IE 8/9, Safari 5, and Chrome.'
739       ' */'
740       ''
741       'abbr[title] {'
742       '    border-bottom: 1px dotted;'
743       '}'
744       ''
745       '/**'
746       
747         ' * Address style set to `bolder` in Firefox 4+, Safari 5, and Ch' +
748         'rome.'
749       ' */'
750       ''
751       'b,'
752       'strong {'
753       '    font-weight: bold;'
754       '}'
755       ''
756       '/**'
757       ' * Address styling not present in Safari 5 and Chrome.'
758       ' */'
759       ''
760       'dfn {'
761       '    font-style: italic;'
762       '}'
763       ''
764       '/**'
765       ' * Address differences between Firefox and other browsers.'
766       ' */'
767       ''
768       'hr {'
769       '    -moz-box-sizing: content-box;'
770       '    box-sizing: content-box;'
771       '    height: 0;'
772       '}'
773       ''
774       '/**'
775       ' * Address styling not present in IE 8/9.'
776       ' */'
777       ''
778       'mark {'
779       '    background: #ff0;'
780       '    color: #000;'
781       '}'
782       ''
783       '/**'
784       ' * Correct font family set oddly in Safari 5 and Chrome.'
785       ' */'
786       ''
787       'code,'
788       'kbd,'
789       'pre,'
790       'samp {'
791       '    font-family: monospace, serif;'
792       '    font-size: 1em;'
793       '}'
794       ''
795       '/**'
796       ' * Improve readability of pre-formatted text in all browsers.'
797       ' */'
798       ''
799       'pre {'
800       '    white-space: pre-wrap;'
801       '}'
802       ''
803       '/**'
804       ' * Set consistent quote types.'
805       ' */'
806       ''
807       'q {'
808       '    quotes: "\201C" "\201D" "\2018" "\2019";'
809       '}'
810       ''
811       '/**'
812       ' * Address inconsistent and variable font size in all browsers.'
813       ' */'
814       ''
815       'small {'
816       '    font-size: 80%;'
817       '}'
818       ''
819       '/**'
820       
821         ' * Prevent `sub` and `sup` affecting `line-height` in all browse' +
822         'rs.'
823       ' */'
824       ''
825       'sub,'
826       'sup {'
827       '    font-size: 75%;'
828       '    line-height: 0;'
829       '    position: relative;'
830       '    vertical-align: baseline;'
831       '}'
832       ''
833       'sup {'
834       '    top: -0.5em;'
835       '}'
836       ''
837       'sub {'
838       '    bottom: -0.25em;'
839       '}'
840       ''
841       
842         '/* =============================================================' +
843         '============='
844       '   Embedded content'
845       
846         '   =============================================================' +
847         '============= */'
848       ''
849       '/**'
850       ' * Remove border when inside `a` element in IE 8/9.'
851       ' */'
852       ''
853       'img {'
854       '    border: 0;'
855       '}'
856       ''
857       '/**'
858       ' * Correct overflow displayed oddly in IE 9.'
859       ' */'
860       ''
861       'svg:not(:root) {'
862       '    overflow: hidden;'
863       '}'
864       ''
865       
866         '/* =============================================================' +
867         '============='
868       '   Figures'
869       
870         '   =============================================================' +
871         '============= */'
872       ''
873       '/**'
874       ' * Address margin not present in IE 8/9 and Safari 5.'
875       ' */'
876       ''
877       'figure {'
878       '    margin: 0;'
879       '}'
880       ''
881       
882         '/* =============================================================' +
883         '============='
884       '   Forms'
885       
886         '   =============================================================' +
887         '============= */'
888       ''
889       '/**'
890       ' * Define consistent border, margin, and padding.'
891       ' */'
892       ''
893       'fieldset {'
894       '    border: 1px solid #c0c0c0;'
895       '    margin: 0 2px;'
896       '    padding: 0.35em 0.625em 0.75em;'
897       '}'
898       ''
899       '/**'
900       ' * 1. Correct `color` not being inherited in IE 8/9.'
901       
902         ' * 2. Remove padding so people aren'#39't caught out if they zero ou' +
903         't fieldsets.'
904       ' */'
905       ''
906       'legend {'
907       '    border: 0; /* 1 */'
908       '    padding: 0; /* 2 */'
909       '}'
910       ''
911       '/**'
912       ' * 1. Correct font family not being inherited in all browsers.'
913       ' * 2. Correct font size not being inherited in all browsers.'
914       
915         ' * 3. Address margins set differently in Firefox 4+, Safari 5, a' +
916         'nd Chrome.'
917       ' */'
918       ''
919       'button,'
920       'input,'
921       'select,'
922       'textarea {'
923       '    font-family: inherit; /* 1 */'
924       '    font-size: 100%; /* 2 */'
925       '    margin: 0; /* 3 */'
926       '}'
927       ''
928       '/**'
929       
930         ' * Address Firefox 4+ setting `line-height` on `input` using `!i' +
931         'mportant` in'
932       ' * the UA stylesheet.'
933       ' */'
934       ''
935       'button,'
936       'input {'
937       '    line-height: normal;'
938       '}'
939       ''
940       '/**'
941       
942         ' * Address inconsistent `text-transform` inheritance for `button' +
943         '` and `select`.'
944       
945         ' * All other form control elements do not inherit `text-transfor' +
946         'm` values.'
947       
948         ' * Correct `button` style inheritance in Chrome, Safari 5+, and ' +
949         'IE 8+.'
950       ' * Correct `select` style inheritance in Firefox 4+ and Opera.'
951       ' */'
952       ''
953       'button,'
954       'select {'
955       '    text-transform: none;'
956       '}'
957       ''
958       '/**'
959       
960         ' * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys n' +
961         'ative `audio`'
962       ' *    and `video` controls.'
963       ' * 2. Correct inability to style clickable `input` types in iOS.'
964       
965         ' * 3. Improve usability and consistency of cursor style between ' +
966         'image-type'
967       ' *    `input` and others.'
968       ' */'
969       ''
970       'button,'
971       'html input[type="button"], /* 1 */'
972       'input[type="reset"],'
973       'input[type="submit"] {'
974       '    -webkit-appearance: button; /* 2 */'
975       '    cursor: pointer; /* 3 */'
976       '}'
977       ''
978       '/**'
979       ' * Re-set default cursor for disabled elements.'
980       ' */'
981       ''
982       'button[disabled],'
983       'html input[disabled] {'
984       '    cursor: default;'
985       '}'
986       ''
987       '/**'
988       ' * 1. Address box sizing set to `content-box` in IE 8/9.'
989       ' * 2. Remove excess padding in IE 8/9.'
990       ' */'
991       ''
992       'input[type="checkbox"],'
993       'input[type="radio"] {'
994       '    box-sizing: border-box; /* 1 */'
995       '    padding: 0; /* 2 */'
996       '}'
997       ''
998       '/**'
999       
1000         ' * 1. Address `appearance` set to `searchfield` in Safari 5 and ' +
1001         'Chrome.'
1002       
1003         ' * 2. Address `box-sizing` set to `border-box` in Safari 5 and C' +
1004         'hrome'
1005       ' *    (include `-moz` to future-proof).'
1006       ' */'
1007       ''
1008       'input[type="search"] {'
1009       '    -webkit-appearance: textfield; /* 1 */'
1010       '    -moz-box-sizing: content-box;'
1011       '    -webkit-box-sizing: content-box; /* 2 */'
1012       '    box-sizing: content-box;'
1013       '}'
1014       ''
1015       '/**'
1016       
1017         ' * Remove inner padding and search cancel button in Safari 5 and' +
1018         ' Chrome'
1019       ' * on OS X.'
1020       ' */'
1021       ''
1022       'input[type="search"]::-webkit-search-cancel-button,'
1023       'input[type="search"]::-webkit-search-decoration {'
1024       '    -webkit-appearance: none;'
1025       '}'
1026       ''
1027       '/**'
1028       ' * Remove inner padding and border in Firefox 4+.'
1029       ' */'
1030       ''
1031       'button::-moz-focus-inner,'
1032       'input::-moz-focus-inner {'
1033       '    border: 0;'
1034       '    padding: 0;'
1035       '}'
1036       ''
1037       '/**'
1038       ' * 1. Remove default vertical scrollbar in IE 8/9.'
1039       ' * 2. Improve readability and alignment in all browsers.'
1040       ' */'
1041       ''
1042       'textarea {'
1043       '    overflow: auto; /* 1 */'
1044       '    vertical-align: top; /* 2 */'
1045       '}'
1046       ''
1047       
1048         '/* =============================================================' +
1049         '============='
1050       '   Tables'
1051       
1052         '   =============================================================' +
1053         '============= */'
1054       ''
1055       '/**'
1056       ' * Remove most spacing between table cells.'
1057       ' */'
1058       ''
1059       'table {'
1060       '    border-collapse: collapse;'
1061       '    border-spacing: 0;'
1062       '}')
1063     Left = 360
1064     Top = 192
1065   end
1066   object css4: TPageProducer
1067     HTMLDoc.Strings = (
1068       '/*** Styles for Live Preview Window ***/'
1069       ''
1070       '#livepreview_iframe {'
1071       '    box-shadow: inset 5px 5px 10px #666;'
1072       '    -moz-box-shadow: inset 5 5px 10px #666;'
1073       '    -webkit-box-shadow: inset 5 5px 10px #666;'
1074       '}'
1075       ''
1076       '#livepreview_dialog {'
1077       '    padding:0px;'
1078       '    height:200px;  '
1079       '    width:300px;'
1080       '    background-color:#fff;'
1081       '    background-image:url('#39'/images/icon_loading.gif'#39');'
1082       '    background-repeat:no-repeat;'
1083       '    background-position:center center;'
1084       '    position:absolute;'
1085       '    border:solid 5px #666;'
1086       '    border-radius:5px;'
1087       '    -moz-border-radius: 5px;'
1088       '    -webkit-border-radius:5px;'
1089       '}'
1090       ''
1091       '#livepreview_dialog:after, #livepreview_dialog:before {'
1092       '    border: solid transparent;'
1093       '    content: " ";'
1094       '    height: 0;'
1095       '    width: 0;'
1096       '    position: absolute;'
1097       '    pointer-events: none;'
1098       '}'
1099       ''
1100       
1101         '#livepreview_dialog.bottom:after, #livepreview_dialog.bottom:bef' +
1102         'ore {'
1103       '    bottom: 100%;'
1104       '    left: 50%;'
1105       '}'
1106       ''
1107       '#livepreview_dialog.bottom:after {'
1108       '    border-color: rgba(255, 255, 255, 0);'
1109       '    border-bottom-color: #ffffffff;'
1110       '    border-width: 20px; '
1111       '    margin-left: -20px;'
1112       '}'
1113       '#livepreview_dialog.bottom:before {'
1114       '    border-color: rgba(102, 102, 102, 0);'
1115       '    border-bottom-color: #666666;'
1116       '    border-width: 26px;'
1117       '    margin-left: -26px;'
1118       '}'
1119       ''
1120       '#livepreview_dialog.top:after, #livepreview_dialog.top:before {'
1121       '    top: 100%;'
1122       '    left: 50%;'
1123       '}'
1124       ''
1125       '#livepreview_dialog.top:after {'
1126       '    border-color: rgba(255, 255, 255, 0);'
1127       '    border-top-color: #ffffffff;'
1128       '    border-width: 20px;'
1129       '    margin-left: -20px;'
1130       '}'
1131       ''
1132       '#livepreview_dialog.top:before {'
1133       '    border-color: rgba(102, 102, 102, 0);'
1134       '    border-top-color: #666666;'
1135       '    border-width: 26px;'
1136       '    margin-left: -26px;'
1137       '}'
1138       ''
1139       
1140         '#livepreview_dialog.right:after, #livepreview_dialog.right:befor' +
1141         'e {'
1142       '    right: 100%;'
1143       '    top: 50%;'
1144       '}'
1145       ''
1146       '#livepreview_dialog.right:after {'
1147       '    border-color: rgba(255, 255, 255, 0);'
1148       '    border-right-color: #ffffffff;'
1149       '    border-width: 20px;'
1150       '    margin-top: -20px;'
1151       '}'
1152       ''
1153       '#livepreview_dialog.right:before {'
1154       '    border-color: rgba(102, 102, 102, 0);'
1155       '    border-right-color: #666666;'
1156       '    border-width: 26px;'
1157       '    margin-top: -26px;'
1158       '}'
1159       ''
1160       '#livepreview_dialog.left, #livepreview_dialog.left:before {'
1161       '    left: 100%;'
1162       '    top: 50%;'
1163       '}'
1164       ''
1165       '#livepreview_dialog.left:after {'
1166       '    border-color: rgba(255, 255, 255, 0);'
1167       '    border-left-color: #ffffffff;'
1168       '    border-width: 20px;'
1169       '    margin-top: -20px;'
1170       '}'
1171       ''
1172       '#livepreview_dialog.left:before {'
1173       '    border-color: rgba(102, 102, 102, 0);'
1174       '    border-left-color: #666666;'
1175       '    border-width: 26px;'
1176       '    margin-top: -26px;'
1177       '}')
1178     Left = 360
1179     Top = 240
1180   end
1181   object header: TDataSetPageProducer
1182     HTMLDoc.Strings = (
1183       '    <header>'
1184       '    <a name=top></a>'
1185       '    <form action=<#uri>/regist?db=<#dbnum> method="post">'
1186       '      <p><br></p>'
1187       
1188         '      <div class="row justify-content-center"><div class="col-10' +
1189         '">'
1190       '      <div class="container">'
1191       '        <div class="form-row">'
1192       '        <div class="form-inline p-3">'
1193       '          <div class="input-group col-6">'
1194       
1195         '          <div class=input-group-prepend><span class=input-group' +
1196         '-text>'#12362#21517#21069'</span></div>'
1197       
1198         '            <input name="name" id=name1 class="form-control mr-5' +
1199         '0" value=<#cookie param=name>>'
1200       '          </div>'
1201       '          <div class="input-group col-6">'
1202       
1203         '          <div class=input-group-prepend><span class=input-group' +
1204         '-text>'#12479#12452#12488#12523'</span></div>'
1205       
1206         '            <input name="title" id=title1 class=form-control pla' +
1207         'ceholder="'#12479#12452#12488#12523#12394#12375'." value=<#title>>'
1208       
1209         '          <input class="btn btn-primary ml-3" type="submit" valu' +
1210         'e="'#36865#20449'">'
1211       '          </div>'
1212       '        </div>'
1213       '        </div>'
1214       '        <div class="form-row">'
1215       '          <div class="form-group align-self-center w-100">'
1216       
1217         '          <label for=text1>'#26412#25991'<span style=color:red>'#24517#38920'</span></la' +
1218         'bel>'
1219       
1220         '          <textarea id=text1 style="font-size:1.75em" name="comm' +
1221         'ent" rows=4'
1222       
1223         '                class="form-control w-100 sjadpw-lg" required pl' +
1224         'aceholder="'#12467#12513#12531#12488#12394#12393#12434#20837#21147#12375#12390#12367#12384#12373#12356'."><#raw></textarea>'
1225       '          </div>'
1226       '        </div>'
1227       '        <div class="form-row">'
1228       '          <div class="form-inline w-50">'
1229       '            <div class=input-group>'
1230       
1231         '            <div class=input-group-prepend><span class=input-gro' +
1232         'up-text>'#12497#12473#12527#12540#12489'</span></div>'
1233       
1234         '            <input id=password1 name="password" class="form-cont' +
1235         'rol col-4" type="password" placeholder="'#21066#38500#29992'" value=<#pass>>'
1236       '            </div>'
1237       '          </div>'
1238       '          <div class="form-group w-50">'
1239       '            <div class="custom-control custom-checkbox">'
1240       
1241         '            <input type="checkbox" id=check1 name="show" class=c' +
1242         'ustom-control-input value="true" <#check>>'
1243       
1244         '            <label class=custom-control-label for=check1>'#12503#12524#12499#12517#12540'</' +
1245         'label>'
1246       '            </div>'
1247       '          </div>'
1248       '        </div>'
1249       '        <div class="form-row justify-content-end">'
1250       '          <div class="form-inline">'
1251       
1252         '          <label for=aikotoba1>'#21512#35328#33865#12434#12402#12425#12364#12394#12391#20837#21147#12375#12390#12367#12384#12373#12356': genki'#12288'</label>' +
1253         '<input name=aikotoba id=aikotoba1 class="form-control col-2" typ' +
1254         'e=text value=<#cookie param=aikotoba>>'
1255       '          </div>'
1256       '        </div>'
1257       '      </div>'
1258       '      </div></div>'
1259       '    </form>'
1260       '    </header><#preview>')
1261     DataSet = FDTable1
1262     OnHTMLTag = headerHTMLTag
1263     Left = 240
1264     Top = 192
1265   end
1266   object js1: TPageProducer
1267     HTMLDoc.Strings = (
1268       '$(function(){'
1269       #9'$('#39'.livepreview'#39').livePreview({position:'#39'top'#39'});'
1270       
1271         #9'$('#39'.minpreview'#39').livePreview({scale:1,viewWidth:900,viewHeight:' +
1272         '600});'
1273       #9
1274       #9'var $window = $(window),'
1275       #9#9'$header = $('#39'header'#39'),'
1276       #9#9'$button = $header.find('#39'button'#39'),'
1277       #9#9'$headerClone = $header.clone(),'
1278       
1279         #9#9'$headerCloneContainer = $('#39'<div class=clone style=position:fix' +
1280         'ed;width:100%></div>'#39'),'
1281       #9#9'$clonebutton = $headerCloneContainer.find('#39'button'#39'),'
1282       #9#9'headerOffsetTop = $header.offset().top,'
1283       #9#9'headerHeight = $header.outerHeight();'
1284       #9
1285       #9'$button.on('#39'click'#39',function(){'
1286       #9#9'if ($window.scrollTop() > headerOffsetTop){'
1287       #9#9#9'$headerCloneContainer'
1288       #9#9#9#9'.css({'
1289       #9#9#9#9#9'opacity:1,'
1290       #9#9#9#9#9'top:-$window.scrollTop()+headerOffsetTop'
1291       #9#9#9#9'})'#9#9#9#9
1292       #9#9#9#9'.animate({top:0},300)'
1293       #9#9#9#9'.find('#39'textarea'#39').val($header.find('#39'textarea'#39').val());'
1294       
1295         #9#9#9'$headerCloneContainer.find('#39'.name'#39').val($header.find('#39'.name'#39')' +
1296         '.val());'
1297       
1298         #9#9#9'$headerCloneContainer.find('#39'.title'#39').val($header.find('#39'.title' +
1299         #39').val());'
1300       #9#9#9'$header.addClass('#39'open'#39');'
1301       #9#9'};'
1302       #9'}).css({top:headerOffsetTop+headerHeight});'
1303       #9'$headerCloneContainer.append($headerClone);'
1304       #9'$headerCloneContainer.appendTo('#39'body'#39');'
1305       #9'$headerCloneContainer'
1306       #9#9'.css({'#39'opacity'#39':0})'
1307       #9#9'.find('#39'button'#39').text('#39'close'#39').on('#39'click'#39',function(){'#9#9#9
1308       #9#9#9'var wintop = $window.scrollTop();'#9#9#9#9
1309       ''
1310       
1311         #9#9#9'$header.find('#39'textarea'#39').val($headerCloneContainer.find('#39'text' +
1312         'area'#39').val());'
1313       #9#9#9'$headerCloneContainer'
1314       #9#9#9#9'.animate({top:-wintop+headerOffsetTop},300)'
1315       #9#9#9#9'.animate({opacity:0,top:-headerHeight},0);'
1316       
1317         #9#9#9'$header.find('#39'.name'#39').val($headerCloneContainer.find('#39'.name'#39')' +
1318         '.val());'
1319       
1320         #9#9#9'$header.find('#39'.title'#39').val($headerCloneContainer.find('#39'.title' +
1321         #39').val());'
1322       #9#9#9'$header.removeClass('#39'open'#39');'
1323       #9#9'});'
1324       #9'$window.on('#39'scroll'#39',function(){'
1325       #9#9'var wintop = $window.scrollTop();'
1326       #9#9
1327       #9#9'if ($header.hasClass('#39'open'#39')&&(wintop < headerOffsetTop)){'
1328       #9#9#9'$headerCloneContainer.css({opacity:0,top:-headerHeight});'
1329       #9#9#9'$header.removeClass('#39'open'#39');'
1330       #9#9#9'$window.trigger('#39'scroll'#39');'
1331       #9#9'};'
1332       #9#9'if (wintop > headerOffsetTop+headerHeight){'
1333       #9#9#9'$button.addClass('#39'sticky'#39').css({top:0});'
1334       #9#9'}else{'
1335       
1336         #9#9#9'$button.removeClass('#39'sticky'#39').css({top:headerOffsetTop+header' +
1337         'Height});'
1338       #9#9'};'
1339       #9'});'
1340       '});')
1341     Left = 304
1342     Top = 272
1343   end
1344   object js2: TPageProducer
1345     HTMLDoc.Strings = (
1346       '/* =========================================================='
1347       ' * jquery-live-preview.js v1.1.0'
1348       ' * https://github.com/alanphoon/jquery-live-preview'
1349       ' * =========================================================='
1350       ' * Copyright 2015 Alan Phoon, www.ampedupdesigns.com'
1351       ' * The MIT License'
1352       ' *'
1353       
1354         ' * Permission is hereby granted, free of charge, to any person o' +
1355         'btaining a copy'
1356       
1357         ' * of this software and associated documentation files (the "Sof' +
1358         'tware"), to deal'
1359       
1360         ' * in the Software without restriction, including without limita' +
1361         'tion the rights'
1362       
1363         ' * to use, copy, modify, merge, publish, distribute, sublicense,' +
1364         ' and/or sell'
1365       
1366         ' * copies of the Software, and to permit persons to whom the Sof' +
1367         'tware is'
1368       ' * furnished to do so, subject to the following conditions:'
1369       ' * '
1370       
1371         ' * The above copyright notice and this permission notice shall b' +
1372         'e included in'
1373       ' * all copies or substantial portions of the Software.'
1374       ' * '
1375       
1376         ' * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIN' +
1377         'D, EXPRESS OR'
1378       
1379         ' * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCH' +
1380         'ANTABILITY,'
1381       
1382         ' * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO E' +
1383         'VENT SHALL THE'
1384       
1385         ' * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES' +
1386         ' OR OTHER'
1387       
1388         ' * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWIS' +
1389         'E, ARISING FROM,'
1390       
1391         ' * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER' +
1392         ' DEALINGS IN'
1393       ' * THE SOFTWARE.'
1394       ' * ========================================================== */'
1395       ''
1396       '(function($) {'
1397       '  $.fn.extend({'
1398       '     livePreview: function(options) {'
1399       '         '
1400       '         var defaults = {'
1401       '             trigger: '#39'hover'#39','
1402       '             targetWidth : 1000,'
1403       '             targetHeight: 800,'
1404       '             viewWidth: 300,'
1405       '             viewHeight: 200,'
1406       '             position: '#39'right'#39','
1407       '             positionOffset: 40,'
1408       '         };'
1409       ''
1410       '         var options = $.extend(defaults, options);'
1411       '         //calculate appropriate scaling based on width.'
1412       
1413         '         var scale_w = (options.viewWidth / options.targetWidth)' +
1414         ';'
1415       
1416         '         var scale_h = (options.viewHeight / options.targetHeigh' +
1417         't);'
1418       '         var scale_f = 1;'
1419       '         var preview_id = '#39'livepreview_dialog'#39';'
1420       ''
1421       '         if(typeof options.scale != '#39'undefined'#39')'
1422       '             scale_f = options.scale;'
1423       '         else'
1424       '         {'
1425       '             if(scale_w > scale_h)'
1426       '                 scale_f = scale_w;'
1427       '             else'
1428       '                 scale_f = scale_h;'
1429       '         }'
1430       '         '
1431       '         var showPreview = function(event) {'
1432       '             var triggerType = event.data.triggerType;'
1433       '             var obj = event.data.target;'
1434       '             var href = event.data.href;'
1435       '             var s = event.data.scale;'
1436       '             '
1437       
1438         '             if( (triggerType == '#39'click'#39') && ($('#39'#'#39' + preview_id' +
1439         ').length == 0) ) {'
1440       '                 event.preventDefault();'
1441       '             }'
1442       ''
1443       '             var currentPos = options.position;'
1444       '              if(obj.attr("data-position"))'
1445       '                 currentPos = obj.attr("data-position");'
1446       ''
1447       '             var currentOffset = options.positionOffset;'
1448       '             if(obj.attr("data-positionOffset"))'
1449       
1450         '                 currentOffset = obj.attr("data-positionOffset")' +
1451         ';'
1452       ''
1453       '             if(obj.attr("data-scale"))'
1454       '                 s = obj.attr("data-scale");'
1455       ''
1456       '             var pos = $(this).offset();'
1457       '             var width = $(this).width();'
1458       '             var height = $(this).height();'
1459       '             var toppos = pos.top - (options.viewHeight/2);'
1460       '             var leftpos = pos.left + width + currentOffset;'
1461       ''
1462       '             if(currentPos == '#39'left'#39') {'
1463       
1464         '                leftpos = pos.left - options.viewWidth - current' +
1465         'Offset;'
1466       '             }'
1467       '            '
1468       '             if(currentPos == '#39'top'#39') {'
1469       
1470         '                leftpos = pos.left + (width/2) - (options.viewWi' +
1471         'dth/2);'
1472       
1473         '                toppos = pos.top - options.viewHeight - currentO' +
1474         'ffset;'
1475       '             }'
1476       ''
1477       '             if(currentPos == '#39'bottom'#39') {'
1478       
1479         '                leftpos = pos.left + (width/2) - (options.viewWi' +
1480         'dth/2);'
1481       '                toppos = pos.top + (height/2) + currentOffset;'
1482       '             }'
1483       '             '
1484       '             //hover on '
1485       
1486         '             $('#39'body'#39').append('#39'<div id="livepreview_dialog" clas' +
1487         's="'#39' + currentPos + '#39'" style="display:none; padding:0px; left: '#39 +
1488         ' + leftpos + '#39'px; top:'#39' + toppos + '#39'px; width: '#39' + options.viewW' +
1489         'idth + '#39'px; height: '#39' + options.viewHeight + '#39'px"><div class="li' +
1490         'vepreview-container" style="overflow:hidden; width: '#39' + options.' +
1491         'viewWidth + '#39'px; height: '#39' + options.viewHeight + '#39'px"><iframe i' +
1492         'd="livepreview_iframe" src="'#39' + href + '#39'" style="height:'#39' + opti' +
1493         'ons.targetHeight + '#39'px; width:'#39' + options.targetWidth + '#39'px;-moz' +
1494         '-transform: scale('#39'+ s + '#39');-moz-transform-origin: 0 0;-o-transf' +
1495         'orm: scale('#39'+ s + '#39');-o-transform-origin: 0 0;-webkit-transform:' +
1496         ' scale('#39'+ s + '#39');-webkit-transform-origin: 0 0;"></iframe></div>' +
1497         '</div>'#39');'
1498       '             $('#39'#'#39' + preview_id).fadeIn(100);'
1499       '         };'
1500       ''
1501       '         return this.each(function() {'
1502       '            var o = options;'
1503       '            var s = scale_f;'
1504       '            var obj = $(this);'
1505       
1506         '            var href = obj.attr("data-preview-url") || obj.attr(' +
1507         '"href");'
1508       '            var triggerType = options.trigger;'
1509       ''
1510       '            if(obj.attr("data-trigger")) {'
1511       '                triggerType = obj.attr("data-trigger");'
1512       '            }'
1513       ''
1514       '            if(triggerType != '#39'click'#39') {'
1515       '                triggerType = '#39'mouseenter'#39';'
1516       '                obj.on('#39'click'#39', function() {'
1517       '                    $('#39'#'#39' + preview_id).remove();'
1518       '                });'
1519       '            }'
1520       '            '
1521       
1522         '            obj.on(triggerType, null, { triggerType: triggerType' +
1523         ', target: obj, href: href, scale: s }, showPreview);'
1524       '            obj.on('#39'mouseleave'#39', function() {'
1525       '                $('#39'#'#39' + preview_id).remove();'
1526       '            });'
1527       ''
1528       '         });'
1529       '     }'
1530       '  });'
1531       '})(jQuery);')
1532     Left = 256
1533     Top = 272
1534   end
1535   object adhead: TPageProducer
1536     HTMLDoc.Strings = (
1537       '<#pr>'
1538       
1539         '     <link rel="stylesheet" href="https://stackpath.bootstrapcdn' +
1540         '.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJ' +
1541         'zZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" ' +
1542         'crossorigin="anonymous">   <script src="https://code.jquery.com/' +
1543         'jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK4' +
1544         '1JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anony' +
1545         'mous"></script>'
1546       
1547         '    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.j' +
1548         's/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRax' +
1549         'vfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="ano' +
1550         'nymous"></script>'
1551       
1552         '    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.' +
1553         '2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2j' +
1554         'oaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonym' +
1555         'ous"></script><form method=post action=<#uri>/adminset?db=<#data' +
1556         'base> style=text-align:center>'
1557       '    <label><p>'#12497#12473#12527#12540#12489#12398#22793#26356
1558       
1559         '      <input type="password" style="HEIGHT: 23px; WIDTH: 85px" n' +
1560         'ame="pass">'
1561       '       / '#30906#35469
1562       
1563         '      <input type=password style=height:23px;width:85px name=pas' +
1564         's2>'
1565       '      </p>'
1566       '    </label>'
1567       '    <p>'
1568       
1569         '    <input type="checkbox" value="on" name="mente" <#mente>>'#12513#12531#12486#12490 +
1570         #12531#12473#34920#31034'</p>'
1571       '    <p><input type="submit" value="'#22793#26356'"></p>'
1572       '    <p><a href="<#uri>/logout?db=<#database>">'#12525#12464#12450#12454#12488'</a></p>'
1573       '</form>'
1574       
1575         '<form action=<#uri>/admindel?db=<#database> method=post style=te' +
1576         'xt-align:center>')
1577     OnHTMLTag = adheadHTMLTag
1578     Left = 176
1579     Top = 88
1580   end
1581   object js5: TPageProducer
1582     HTMLDoc.Strings = (
1583       ''
1584       '$(function(){'
1585       #9'$('#39'div'#39').on('#39'click'#39',function(){'
1586       #9#9'var $title = $(this),'
1587       #9#9#9'span1 = 1500,'
1588       #9#9#9'span2 = 200;'
1589       #9#9'$title.css('#39'font-size'#39','#39'2em'#39');'
1590       #9#9'$({deg:5}).animate({deg:365},{'
1591       #9#9#9'duration:500,'
1592       #9#9#9'progress:function(){'
1593       #9#9#9#9'$title.css({'
1594       #9#9#9#9#9#39'-webkit-transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39','
1595       #9#9#9#9#9#39'-ms-transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39','
1596       #9#9#9#9#9#39'ransform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39
1597       #9#9#9#9'});'
1598       #9#9#9'}'
1599       #9#9'});'
1600       #9#9'$({deg:5}).delay(span1).animate({deg:0},{'
1601       #9#9#9'duration:span2,'
1602       #9#9#9'progress:function(){'
1603       #9#9#9#9'$title.css({'#9
1604       #9#9#9#9#9#39'-webkit-transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39','
1605       #9#9#9#9#9#39'-ms-transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39','
1606       #9#9#9#9#9#39'transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39
1607       #9#9#9#9'});'
1608       #9#9#9'}'
1609       #9#9'});'
1610       #9#9'$title.delay(span1+span2).animate({'#39'font-size'#39':'#39'1em'#39'},1);'
1611       #9'});'
1612       '});'
1613       '')
1614     Left = 184
1615     Top = 272
1616   end
1617   object title: TPageProducer
1618     HTMLDoc.Strings = (
1619       '<!doctype html>'
1620       '<html>'
1621       '<head>'
1622       '<meta charset=utf-8>'
1623       '<title>'#12479#12452#12488#12523#34920#31034'</title>'
1624       
1625         '<script type="text/javascript" src="//ajax.googleapis.com/ajax/l' +
1626         'ibs/jquery/2.1.4/jquery.min.js"></script>'
1627       
1628         '<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqu' +
1629         'eryui/1.10.4/themes/smoothness/jquery-ui.css" />'
1630       
1631         '<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jqu' +
1632         'ery-ui.min.js"></script>'
1633       '<script>'
1634       '<!--'
1635       '<#js id=5>'
1636       '-->'
1637       '</script>'
1638       '</head>'
1639       '<body>'
1640       '<#pr>'
1641       '<#main>'
1642       '<p style=text-align:center><a href=<#uri>/>'#25147#12427'</a>'
1643       '</body>'
1644       '</html>')
1645     OnHTMLTag = titleHTMLTag
1646     Left = 48
1647     Top = 256
1648   end
1649   object ti: TDataSetPageProducer
1650     HTMLDoc.Strings = (
1651       
1652         '<p style=font-weight:bold><a href=<#uri>/index?db=<#dbnum>><#dat' +
1653         'abase></a>'#8595'</p>'
1654       '<div>'#12479#12452#12488#12523': <#title> ; '#35352#20107#25968': <#count> ; '#26356#26032#26178#21051': <#date></div><p>'
1655       '')
1656     DataSet = FDQuery1
1657     OnHTMLTag = tiHTMLTag
1658     Left = 48
1659     Top = 320
1660   end
1661   object FDTable2: TFDTable
1662     IndexFieldNames = 'DBNUM;NUMBER'
1663     MasterSource = DataSource1
1664     MasterFields = 'DBNUM'
1665     Connection = FDConnection1
1666     FetchOptions.AssignedValues = [evLiveWindowParanoic]
1667     UpdateOptions.UpdateTableName = 'article'
1668     TableName = 'article'
1669     Left = 584
1670     Top = 120
1671     object FDTable2DBNUM: TIntegerField
1672       FieldName = 'DBNUM'
1673       Origin = 'DBNUM'
1674       ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
1675       Required = True
1676     end
1677     object FDTable2NUMBER: TIntegerField
1678       FieldName = 'NUMBER'
1679       Origin = 'NUMBER'
1680       ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
1681       Required = True
1682     end
1683     object FDTable2TITLE: TWideStringField
1684       FieldName = 'TITLE'
1685       Origin = 'TITLE'
1686       Size = 160
1687     end
1688     object FDTable2NAME: TWideStringField
1689       FieldName = 'NAME'
1690       Origin = 'NAME'
1691       Size = 160
1692     end
1693     object FDTable2COMMENT: TWideMemoField
1694       FieldName = 'COMMENT'
1695       Origin = 'COMMENT'
1696       BlobType = ftWideMemo
1697     end
1698     object FDTable2RAW: TWideMemoField
1699       FieldName = 'RAW'
1700       Origin = 'RAW'
1701       BlobType = ftWideMemo
1702     end
1703     object FDTable2DATE: TDateField
1704       FieldName = 'DATE'
1705       Origin = 'DATE'
1706     end
1707     object FDTable2PASS: TWideStringField
1708       FieldName = 'PASS'
1709       Origin = 'PASS'
1710       FixedChar = True
1711       Size = 40
1712     end
1713   end
1714   object FDTable5: TFDTable
1715     IndexFieldNames = 'ID'
1716     Connection = FDConnection1
1717     UpdateOptions.UpdateTableName = 'images'
1718     TableName = 'images'
1719     Left = 712
1720     Top = 184
1721     object FDTable5id: TIntegerField
1722       FieldName = 'id'
1723       Origin = 'id'
1724       ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
1725       Required = True
1726     end
1727     object FDTable5name: TWideStringField
1728       AutoGenerateValue = arDefault
1729       FieldName = 'name'
1730       Origin = '`name`'
1731       Size = 30
1732     end
1733     object FDTable5source: TWideMemoField
1734       AutoGenerateValue = arDefault
1735       FieldName = 'source'
1736       Origin = '`source`'
1737       BlobType = ftWideMemo
1738     end
1739   end
1740   object FDTable4: TFDTable
1741     IndexFieldNames = 'ID'
1742     Connection = FDConnection1
1743     UpdateOptions.UpdateTableName = 'req'
1744     TableName = 'req'
1745     Left = 712
1746     Top = 120
1747     object FDTable4ID: TIntegerField
1748       FieldName = 'ID'
1749       Origin = 'ID'
1750       Required = True
1751     end
1752     object FDTable4DBNAME: TIntegerField
1753       FieldName = 'DBNAME'
1754       Origin = 'DBNAME'
1755     end
1756     object FDTable4POSNUM: TIntegerField
1757       FieldName = 'POSNUM'
1758       Origin = 'POSNUM'
1759     end
1760     object FDTable4DATE: TDateField
1761       FieldName = 'DATE'
1762       Origin = 'DATE'
1763       Required = True
1764     end
1765     object FDTable4REQUEST: TWideMemoField
1766       FieldName = 'REQUEST'
1767       Origin = 'REQUEST'
1768       BlobType = ftWideMemo
1769     end
1770   end
1771   object DataSource1: TDataSource
1772     DataSet = FDTable1
1773     Left = 520
1774     Top = 184
1775   end
1776   object FDTable3: TFDTable
1777     Connection = FDConnection1
1778     UpdateOptions.UpdateTableName = 'setting'
1779     TableName = 'setting'
1780     Left = 648
1781     Top = 120
1782     object FDTable3TITLE: TWideStringField
1783       FieldName = 'TITLE'
1784       Origin = 'TITLE'
1785       Size = 160
1786     end
1787     object FDTable3TITLE2: TWideStringField
1788       FieldName = 'TITLE2'
1789       Origin = 'TITLE2'
1790       Size = 320
1791     end
1792     object FDTable3mente: TSmallintField
1793       FieldName = 'mente'
1794     end
1795     object FDTable3INFO: TIntegerField
1796       FieldName = 'INFO'
1797       Origin = 'INFO'
1798     end
1799     object FDTable3COUNT: TIntegerField
1800       FieldName = 'COUNT'
1801       Origin = 'COUNT'
1802     end
1803     object FDTable3password: TWideStringField
1804       FieldName = 'password'
1805       Size = 100
1806     end
1807     object FDTable3ng: TWideStringField
1808       FieldName = 'ng'
1809       Size = 300
1810     end
1811   end
1812   object FDConnection1: TFDConnection
1813     Params.Strings = (
1814       'ConnectionDef=first_sql')
1815     Left = 632
1816     Top = 56
1817   end
1818   object FDTable1: TFDTable
1819     IndexFieldNames = 'DBNUM'
1820     Connection = FDConnection1
1821     UpdateOptions.UpdateTableName = 'dbname'
1822     TableName = 'dbname'
1823     Left = 520
1824     Top = 120
1825     object FDTable1DBNUM: TIntegerField
1826       FieldName = 'DBNUM'
1827       Origin = 'DBNUM'
1828       Required = True
1829     end
1830     object FDTable1DATABASE: TWideStringField
1831       FieldName = 'DATABASE'
1832       Origin = 'DATABASE'
1833       Required = True
1834       Size = 80
1835     end
1836   end
1837   object login: TPageProducer
1838     HTMLDoc.Strings = (
1839       '<!DOCTYPE HTML>'
1840       '  <head>'
1841       '    <meta charset=utf-8>'
1842       '    <title>'#12525#12464#12452#12531'</title>'
1843       '  </head>'
1844       '  <body>'
1845       '<#pr>'
1846       '    <p style=text-align:center>'#31649#29702#32773#29992#12525#12464#12452#12531#30011#38754
1847       '</p>'
1848       '    <br>'
1849       '    <form action=<#uri>/login method="post">'
1850       '    <p style=text-align:center>'
1851       '      <input type=text name=record value=<#database>>'
1852       '    '#9'  <input style=height:25px type="password" name="password">'
1853       '      <input type="submit" value="'#12525#12464#12452#12531'">'
1854       '    </p>'
1855       '    </form>'
1856       
1857         '      <p style=text-align:center><br><a href=<#uri>/ >TOP'#12408#31227#21205'</a>' +
1858         '</p>'
1859       '  </body>'
1860       '</html>')
1861     OnHTMLTag = loginHTMLTag
1862     Left = 296
1863     Top = 96
1864   end
1865   object footer: TPageProducer
1866     HTMLDoc.Strings = (
1867       '<nav aria-label="Page naigation">'
1868       '  <ul class="pagination justify-content-center pagination-sm">'
1869       '   <#link>'
1870       '  </ul>'
1871       '</nav>')
1872     OnHTMLTag = footerHTMLTag
1873     Left = 112
1874     Top = 192
1875   end
1876   object FDGUIxWaitCursor1: TFDGUIxWaitCursor
1877     Provider = 'Forms'
1878     Left = 632
1879     Top = 256
1880   end
1881   object FDQuery1: TFDQuery
1882     Connection = FDConnection1
1883     SQL.Strings = (
1884       'select dbnum,title,max(date) from article '
1885       ' group by dbnum order by max(date);')
1886     Left = 616
1887     Top = 184
1888   end
1889 end