OSDN Git Service

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