1 object WebModule1: TWebModule1
3 OnCreate = WebModuleCreate
9 OnAction = WebModule1topAction
15 OnAction = WebModule1indexpageAction
21 OnAction = WebModule1registAction
27 OnAction = WebModule1adminAction
32 OnAction = WebModule1searchAction
37 OnAction = WebModule1helpAction
42 OnAction = WebModule1masterAction
47 OnAction = WebModule1alertAction
53 OnAction = WebModule1usrdelAction
58 OnAction = WebModule1jumpAction
64 OnAction = WebModule1linkAction
69 PathInfo = '/admindel'
70 OnAction = WebModule1admdelAction
75 OnAction = WebModule1loginAction
80 PathInfo = '/adminset'
81 OnAction = WebModule1adminsetAction
87 OnAction = WebModule1logoutAction
93 OnAction = WebModule1imgAction
99 OnAction = WebModule1fileAction
104 OnAction = WebModule1titleAction
108 object articles: TDataSetPageProducer
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>'
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)
126 OnHTMLTag = articlesHTMLTag
130 object index: TDataSetPageProducer
135 ' <meta charset="utf-8">'
136 ' <meta http-equiv="Content-Style-Type" content="text/css">'
137 '<style type="text/css">'
144 ' <script src=//cdn.rawgit.com/google/code-prettify/master/loa' +
145 'der/run_prettify.js></script>'
147 ' <script type=text/javascript src=//ajax.googleapis.com/ajax/' +
148 'libs/jquery/1.8.1/jquery.min.js></script>'
161 ' <a href=<#uri>/ style=text-decoration:none><#title2></a>'
165 ' <hr size="1" width="100%">'
167 ' <form action=<#uri>/userdel?db=<#dbnum> method="post" id=sea' +
169 ' <label><p>'#35352#20107'No</p><input name="num"></label>'
171 ' <label><p>Pass</p><input type="password" name="password"><' +
173 ' <input type="submit" value="'#21066#38500'">'
175 ' <form action=<#uri>/jump?db=<#dbnum> method=post id=search>'
176 ' <label><p>'#35352#20107'No</p><input name=num></label>'
177 ' <input type=submit value='#31227#21205'>'
179 ' <p><a href=<#uri>/search?db=<#dbnum>>'#26908#32034#12506#12540#12472'</a></p>'
180 ' <p style=text-align:right><a href=#article>'#19979#12408#31227#21205'</a></p>'
181 ' <p style=text-align:center><#database></p>'
184 #9'<a name=article></a>'
185 #9'<p style=text-align:right><a href=#top>Top'#12408#31227#21205'</a></p>'
188 ' <p style=text-align:center><a href="<#uri>/admin?db=<#dbnum>' +
189 '">'#31649#29702#32773#29992#12525#12464#12452#12531'</a></p>'
193 OnHTMLTag = indexHTMLTag
197 object admin: TDataSetTableProducer
220 RowAttributes.Align = haCenter
221 TableAttributes.Align = haCenter
222 TableAttributes.BgColor = 'White'
223 TableAttributes.Width = 80
224 OnFormatCell = adminFormatCell
228 object search: TPageProducer
235 ' <title>'#26908#32034'</title>'
236 ' <style type=text/css>'
245 ' <form action="<#uri>/search<#query>" method="post">'
246 ' <p align="center"><strong>'#25237#31295#26908#32034
253 ' <p align="center">'#26908#32034#12290#12473#12506#12540#12473#12391#21306#20999#12387#12390#12367#12384#12373#12356#12290'</p>'
254 ' <select name=type>'
255 ' <option value=OR>OR</option>'
256 ' <option value=AND>AND</option>'
259 ' <div style="HEIGHT: 26px; WIDTH: 105px; POSITION: relati' +
260 've; DISPLAY: inline" ms_positioning="FlowLayout">'#26908#32034#12527#12540#12489
262 ' <p> <input name="word1"></p>'
264 ' <p><input type="radio" name="filter" style="HEIGHT: 20px; WI' +
265 'DTH: 17px" size="17" value="name">'#21517#21069#12363#12425#26908#32034' <input type="radio" che' +
266 'cked="true" style="HEIGHT: 20px; WIDTH: 16px" size="16" name="fi' +
267 'lter" value="com">'#26412#25991#12363#12425#26908#32034
270 ' <input type="submit" value="'#26908#32034'"></p>'
272 ' <p><a href="<#select>">'#25522#31034#26495#12408#25147#12427
277 OnHTMLTag = searchHTMLTag
281 object items: TDataSetPageProducer
284 #9'<section id=title><#title></section>'
285 #9'<section id=name>'#12288'Name:<h1><#name></h1></section>'
286 #9'<section id=date>'#12288'Date:<h1><#date></h1></section>'
288 #9'<section id=comment><#item></section>'
291 OnHTMLTag = itemsHTMLTag
295 object help: TPageProducer
300 '<html><head><meta charset=utf8><title>'#20351#12356#26041'</title></head>'
303 '<P>'#35370#21839#32773#12398#30342#12373#12435'</P>'
306 '<p>'#38283#30330#32773#12398#30342#12373#12435
307 '<p>pybbs'#12398'API'
308 '<p>ArticleAPI ... ~/read/api/<b>dbname</b>/<b>number</b>'
309 '<p>ListAPI ... ~/headline/api'
312 '<p>'#21033#29992#35215#32004
313 '<p>'#12371#12428#12363#12425#26360#12365#12414#12377
314 '<p style=text-align:center><a href=<#uri>/>'#25147#12427'</a>'
317 OnHTMLTag = helpHTMLTag
321 object top: TPageProducer
324 '<html class=no-js lang="ja">'
326 #9'<title>Top Page</title>'
328 ' <script type="text/javascript" src="//ajax.googleapis.com/ajax/' +
329 'libs/jquery/2.1.4/jquery.min.js"></script>'
331 ' <link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jq' +
332 'ueryui/1.10.4/themes/smoothness/jquery-ui.css" />'
334 ' <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jq' +
335 'uery-ui.min.js"></script>'
337 ' <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com' +
338 '/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqF' +
339 'Gwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" cros' +
340 'sorigin="anonymous">'
344 ' <script src="https://code.jquery.com/jquery-3.3.1.slim.min.j' +
345 's" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp' +
346 '4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>'
348 ' <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.j' +
349 's/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRax' +
350 'vfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="ano' +
353 ' <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.' +
354 '2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2j' +
355 'oaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonym' +
358 '<div id="fb-root"></div>'
360 '<script>(function(d, s, id) {'
361 ' var js, fjs = d.getElementsByTagName(s)[0];'
362 ' if (d.getElementById(id)) return;'
363 ' js = d.createElement(s); js.id = id;'
365 ' js.src = "//connect.facebook.net/ja_JP/sdk.js#xfbml=1&version=' +
367 ' fjs.parentNode.insertBefore(js, fjs);'
368 '}(document, '#39'script'#39', '#39'facebook-jssdk'#39'));</script>'
371 '<header><h1 style="text-align: center;">'#28961#26009#38651#23376#25522#31034#26495#12408#12424#12358#12371#12381
373 '<div id="slide-1" class="carousel slide" data-ride="carousel">'
374 ' <ol class="carousel-indicators">'
377 ' <div class="carousel-inner bg-dark"><#slide></div>'
380 #9'<a class="carousel-control-prev" href="#slide-1" role="button" ' +
383 ' <span class="carousel-control-prev-icon" aria-hidden="' +
385 ' <span class="sr-only">Previous</span>'
388 ' <a class="carousel-control-next" href="#slide-1" role="b' +
389 'utton" data-slide="next">'
391 ' <span class="carousel-control-next-icon" aria-hidden="' +
393 ' <span class="sr-only">Next></span>'
397 '<p>'#12288'<em style="background-color: aqua;">'#12288#12288#12288#12288'</em>'#12539#12539#12539'new!'
399 ' <p>[ <a href=<#uri>/index?db=<#dbnum>><#info></a> ] ='#12362#30693#12425 +
400 #12379' <p>[ <a href="<#uri>/master">master'
402 '</a> ] ='#31649#29702#20154'<div class="fb-like" data-href="http://pybbs.herokuap' +
403 'p.com" data-layout="box_count" data-action="like" data-size="sma' +
404 'll" data-show-faces="true" data-share="false"></div>'
406 '<p><a href="http://www.xn--gckj5d1ktb3488cn4q.jp/" target="_blan' +
407 'k"><img alt="'#28961#26009#12459#12454#12531#12479#12540'" src="http://www.xn--gckj5d1ktb3488cn4q.jp/' +
408 'counter.php?id=pybbs" border="0"></a>'
411 '<p><a href=<#uri>/title>'#12479#12452#12488#12523#34920#31034'</a>'
412 '<p><a href="<#uri>/help">'#20351#12356#26041#26696#20869
414 '<p><a href=<#uri>/search>'#26908#32034'</a>'
415 '<p>PR '#12522#12531#12463'<br>'
417 '<p><a href="https://www.amazon.co.jp/%E9%AB%98%E6%A0%A1%E5%8D%92' +
418 '%E6%A5%AD%E3%81%BE%E3%81%A7%E3%81%AE%E3%82%B5%E3%83%83%E3%82%AB%' +
419 'E3%83%BC%E6%88%A6%E8%A1%93-sanuki_kainushi-ebook/dp/B00AXBM08Q/r' +
420 'ef=sr_1_7?ie=UTF8&qid=1479369992&sr=8-7&keywords=san' +
421 'uki_kainushi">'#39640#26657#21330#26989#12414#12391#12398#12469#12483#12459#12540#25126#34899
422 '</a><br>amazon kindle'
426 '<p><a href="https://www.amazon.co.jp/%E4%B8%AD%E5%AD%A6%E5%8D%92' +
427 '%E6%A5%AD%E3%81%BE%E3%81%A7%E3%81%AE%E3%82%B5%E3%83%83%E3%82%AB%' +
428 'E3%83%BC%E6%88%A6%E8%A1%93-sanuki_kainushi-ebook/dp/B014X0S874/r' +
429 'ef=sr_1_3?s=digital-text&ie=UTF8&qid=1479370246&sr=1' +
430 '-3">'#20013#23398#21330#26989#12414#12391#12398#12469#12483#12459#12540#25126#34899
431 '</a><br>amazon kindle'
437 OnHTMLTag = topHTMLTag
441 object master: TPageProducer
445 '<meta charset=utf-8>'
449 '<form action=<#uri>/master method=post>'
451 '<input type=radio name=delete value=some checked>'#21066#38500#28168#12415#12434#28040#21435#12288
452 '<input type=radio name=delete value=all>'#12377#12409#12390#28040#21435
453 '<input type=submit value="'#36865#20449'">'
455 '<p style=text-align:center><a href=<#uri>/logout>'#12525#12464#12450#12454#12488'</a>'
456 '<p style=text-align:center><a href=<#uri>/>'#25147#12427'</a>'
458 OnHTMLTag = masterHTMLTag
462 object alert: TDataSetPageProducer
466 '<p><#article></td><td><#request>'
469 OnHTMLTag = alertHTMLTag
473 object mail: TPageProducer
477 '<head><meta charset=utf-8></head>'
480 '<form action=<#uri>/alert<#query> method=post>'
482 '<textarea name=request></textarea>'
483 '<input type=submit>'
484 '<p style=text-align:center><a href=<#uri>/jump<#query>>'#25147#12427'</a>'
487 OnHTMLTag = mailHTMLTag
491 object css2: TPageProducer
522 ' border:solid 1px #aaaaaa;'
523 ' box-shadow:0 2px 3px #cccccc,'
524 ' 0 0 #ff8800 inset;'
526 ' border-radius:5px;'
527 ' background:-webkit-linear-gradient(#ffffff 0%,#014471 50%,'
528 ' #014471 51%,#ffffff 100%);'
541 '@media only screen and (min-width:900px){'
547 '@media only screen and (max-width:899px){'
555 #9'position:absolute;'
566 'input[type=password] {'
570 'form#search input {'
595 #9'display:inline-block;'
597 #9'margin-right:30px;'
598 #9'margin-left:30px;'
599 #9'margin-bottom:30px'
604 object css3: TPageProducer
606 '/*! normalize.css v2.1.2 | MIT License | git.io/normalize */'
609 '/* =============================================================' +
611 ' HTML5 display definitions'
613 ' =============================================================' +
617 ' * Correct `block` display not defined in IE 8/9.'
636 ' * Correct `inline-block` display not defined in IE 8/9.'
642 ' display: inline-block;'
647 ' * Prevent modern browsers from displaying `audio` without contr' +
649 ' * Remove excess height in iOS 5 devices.'
652 'audio:not([controls]) {'
658 ' * Address styling not present in IE 8/9.'
666 '/* =============================================================' +
670 ' =============================================================' +
674 ' * 1. Set default font family to sans-serif.'
676 ' * 2. Prevent iOS text size adjust after orientation change, wit' +
682 ' font-family: sans-serif; /* 1 */'
683 ' -ms-text-size-adjust: 100%; /* 2 */'
684 ' -webkit-text-size-adjust: 100%; /* 2 */'
688 ' * Remove default margin.'
696 '/* =============================================================' +
700 ' =============================================================' +
705 ' * Address `outline` inconsistency between Chrome and other brow' +
710 ' outline: thin dotted;'
715 ' * Improve readability when focused and also mouse hovered in al' +
725 '/* =============================================================' +
729 ' =============================================================' +
734 ' * Address variable `h1` font-size and margin within `section` a' +
736 ' * contexts in Firefox 4+, Safari 5, and Chrome.'
745 ' * Address styling not present in IE 8/9, Safari 5, and Chrome.'
749 ' border-bottom: 1px dotted;'
754 ' * Address style set to `bolder` in Firefox 4+, Safari 5, and Ch' +
760 ' font-weight: bold;'
764 ' * Address styling not present in Safari 5 and Chrome.'
768 ' font-style: italic;'
772 ' * Address differences between Firefox and other browsers.'
776 ' -moz-box-sizing: content-box;'
777 ' box-sizing: content-box;'
782 ' * Address styling not present in IE 8/9.'
791 ' * Correct font family set oddly in Safari 5 and Chrome.'
798 ' font-family: monospace, serif;'
803 ' * Improve readability of pre-formatted text in all browsers.'
807 ' white-space: pre-wrap;'
811 ' * Set consistent quote types.'
815 ' quotes: "\201C" "\201D" "\2018" "\2019";'
819 ' * Address inconsistent and variable font size in all browsers.'
828 ' * Prevent `sub` and `sup` affecting `line-height` in all browse' +
836 ' position: relative;'
837 ' vertical-align: baseline;'
849 '/* =============================================================' +
853 ' =============================================================' +
857 ' * Remove border when inside `a` element in IE 8/9.'
865 ' * Correct overflow displayed oddly in IE 9.'
873 '/* =============================================================' +
877 ' =============================================================' +
881 ' * Address margin not present in IE 8/9 and Safari 5.'
889 '/* =============================================================' +
893 ' =============================================================' +
897 ' * Define consistent border, margin, and padding.'
901 ' border: 1px solid #c0c0c0;'
903 ' padding: 0.35em 0.625em 0.75em;'
907 ' * 1. Correct `color` not being inherited in IE 8/9.'
909 ' * 2. Remove padding so people aren'#39't caught out if they zero ou' +
914 ' border: 0; /* 1 */'
915 ' padding: 0; /* 2 */'
919 ' * 1. Correct font family not being inherited in all browsers.'
920 ' * 2. Correct font size not being inherited in all browsers.'
922 ' * 3. Address margins set differently in Firefox 4+, Safari 5, a' +
930 ' font-family: inherit; /* 1 */'
931 ' font-size: 100%; /* 2 */'
932 ' margin: 0; /* 3 */'
937 ' * Address Firefox 4+ setting `line-height` on `input` using `!i' +
939 ' * the UA stylesheet.'
944 ' line-height: normal;'
949 ' * Address inconsistent `text-transform` inheritance for `button' +
952 ' * All other form control elements do not inherit `text-transfor' +
955 ' * Correct `button` style inheritance in Chrome, Safari 5+, and ' +
957 ' * Correct `select` style inheritance in Firefox 4+ and Opera.'
962 ' text-transform: none;'
967 ' * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys n' +
969 ' * and `video` controls.'
970 ' * 2. Correct inability to style clickable `input` types in iOS.'
972 ' * 3. Improve usability and consistency of cursor style between ' +
974 ' * `input` and others.'
978 'html input[type="button"], /* 1 */'
979 'input[type="reset"],'
980 'input[type="submit"] {'
981 ' -webkit-appearance: button; /* 2 */'
982 ' cursor: pointer; /* 3 */'
986 ' * Re-set default cursor for disabled elements.'
990 'html input[disabled] {'
995 ' * 1. Address box sizing set to `content-box` in IE 8/9.'
996 ' * 2. Remove excess padding in IE 8/9.'
999 'input[type="checkbox"],'
1000 'input[type="radio"] {'
1001 ' box-sizing: border-box; /* 1 */'
1002 ' padding: 0; /* 2 */'
1007 ' * 1. Address `appearance` set to `searchfield` in Safari 5 and ' +
1010 ' * 2. Address `box-sizing` set to `border-box` in Safari 5 and C' +
1012 ' * (include `-moz` to future-proof).'
1015 'input[type="search"] {'
1016 ' -webkit-appearance: textfield; /* 1 */'
1017 ' -moz-box-sizing: content-box;'
1018 ' -webkit-box-sizing: content-box; /* 2 */'
1019 ' box-sizing: content-box;'
1024 ' * Remove inner padding and search cancel button in Safari 5 and' +
1029 'input[type="search"]::-webkit-search-cancel-button,'
1030 'input[type="search"]::-webkit-search-decoration {'
1031 ' -webkit-appearance: none;'
1035 ' * Remove inner padding and border in Firefox 4+.'
1038 'button::-moz-focus-inner,'
1039 'input::-moz-focus-inner {'
1045 ' * 1. Remove default vertical scrollbar in IE 8/9.'
1046 ' * 2. Improve readability and alignment in all browsers.'
1050 ' overflow: auto; /* 1 */'
1051 ' vertical-align: top; /* 2 */'
1055 '/* =============================================================' +
1059 ' =============================================================' +
1063 ' * Remove most spacing between table cells.'
1067 ' border-collapse: collapse;'
1068 ' border-spacing: 0;'
1073 object css4: TPageProducer
1075 '/*** Styles for Live Preview Window ***/'
1077 '#livepreview_iframe {'
1078 ' box-shadow: inset 5px 5px 10px #666;'
1079 ' -moz-box-shadow: inset 5 5px 10px #666;'
1080 ' -webkit-box-shadow: inset 5 5px 10px #666;'
1083 '#livepreview_dialog {'
1087 ' background-color:#fff;'
1088 ' background-image:url('#39'/images/icon_loading.gif'#39');'
1089 ' background-repeat:no-repeat;'
1090 ' background-position:center center;'
1091 ' position:absolute;'
1092 ' border:solid 5px #666;'
1093 ' border-radius:5px;'
1094 ' -moz-border-radius: 5px;'
1095 ' -webkit-border-radius:5px;'
1098 '#livepreview_dialog:after, #livepreview_dialog:before {'
1099 ' border: solid transparent;'
1103 ' position: absolute;'
1104 ' pointer-events: none;'
1108 '#livepreview_dialog.bottom:after, #livepreview_dialog.bottom:bef' +
1114 '#livepreview_dialog.bottom:after {'
1115 ' border-color: rgba(255, 255, 255, 0);'
1116 ' border-bottom-color: #ffffffff;'
1117 ' border-width: 20px; '
1118 ' margin-left: -20px;'
1120 '#livepreview_dialog.bottom:before {'
1121 ' border-color: rgba(102, 102, 102, 0);'
1122 ' border-bottom-color: #666666;'
1123 ' border-width: 26px;'
1124 ' margin-left: -26px;'
1127 '#livepreview_dialog.top:after, #livepreview_dialog.top:before {'
1132 '#livepreview_dialog.top:after {'
1133 ' border-color: rgba(255, 255, 255, 0);'
1134 ' border-top-color: #ffffffff;'
1135 ' border-width: 20px;'
1136 ' margin-left: -20px;'
1139 '#livepreview_dialog.top:before {'
1140 ' border-color: rgba(102, 102, 102, 0);'
1141 ' border-top-color: #666666;'
1142 ' border-width: 26px;'
1143 ' margin-left: -26px;'
1147 '#livepreview_dialog.right:after, #livepreview_dialog.right:befor' +
1153 '#livepreview_dialog.right:after {'
1154 ' border-color: rgba(255, 255, 255, 0);'
1155 ' border-right-color: #ffffffff;'
1156 ' border-width: 20px;'
1157 ' margin-top: -20px;'
1160 '#livepreview_dialog.right:before {'
1161 ' border-color: rgba(102, 102, 102, 0);'
1162 ' border-right-color: #666666;'
1163 ' border-width: 26px;'
1164 ' margin-top: -26px;'
1167 '#livepreview_dialog.left, #livepreview_dialog.left:before {'
1172 '#livepreview_dialog.left:after {'
1173 ' border-color: rgba(255, 255, 255, 0);'
1174 ' border-left-color: #ffffffff;'
1175 ' border-width: 20px;'
1176 ' margin-top: -20px;'
1179 '#livepreview_dialog.left:before {'
1180 ' border-color: rgba(102, 102, 102, 0);'
1181 ' border-left-color: #666666;'
1182 ' border-width: 26px;'
1183 ' margin-top: -26px;'
1188 object header: TDataSetPageProducer
1192 ' <form action=<#uri>/regist?db=<#dbnum> method="post">'
1196 ' <label><p>'#12362#21517#21069'</p><input name="name" class=name value=<' +
1197 '#cookie param=name>></label>'
1199 ' <label><p>'#12479#12452#12488#12523'</p><input name="title" class=title plac' +
1200 'eholder="'#12479#12452#12488#12523#12394#12375'." value=<#title>></label>'
1201 ' <input type="submit" value="'#36865#20449'">'
1204 ' <label><p>'#26412#25991'<span>'#24517#38920'</span><br></p>'
1206 ' <textarea style="font-size:1.75em" name="comment" co' +
1209 ' required placeholder="'#12467#12513#12531#12488#12394#12393#12434#20837#21147#12375#12390#12367#12384#12373#12356'."><#' +
1210 'raw></textarea></label>'
1214 ' <label><p>'#12497#12473#12527#12540#12489'</p><input name="password" type="passwo' +
1215 'rd" placeholder="'#21066#38500#29992'" value=<#pass>>'
1217 ' </label> / <input type="checkbox" name="show" value="t' +
1218 'rue" <#check>><p>'#12503#12524#12499#12517#12540'</p>'
1222 ' <label><p>'#21512#35328#33865#12434#12402#12425#12364#12394#12391#20837#21147#12375#12390#12367#12384#12373#12356': genki <input name=aikotob' +
1223 'a type=text value=<#cookie param=aikotoba>></label>'
1227 ' </header><#preview>')
1229 OnHTMLTag = headerHTMLTag
1233 object js1: TPageProducer
1236 #9'$('#39'.livepreview'#39').livePreview({position:'#39'top'#39'});'
1238 #9'$('#39'.minpreview'#39').livePreview({scale:1,viewWidth:900,viewHeight:' +
1241 #9'var $window = $(window),'
1242 #9#9'$header = $('#39'header'#39'),'
1243 #9#9'$button = $header.find('#39'button'#39'),'
1244 #9#9'$headerClone = $header.clone(),'
1246 #9#9'$headerCloneContainer = $('#39'<div class=clone style=position:fix' +
1247 'ed;width:100%></div>'#39'),'
1248 #9#9'$clonebutton = $headerCloneContainer.find('#39'button'#39'),'
1249 #9#9'headerOffsetTop = $header.offset().top,'
1250 #9#9'headerHeight = $header.outerHeight();'
1252 #9'$button.on('#39'click'#39',function(){'
1253 #9#9'if ($window.scrollTop() > headerOffsetTop){'
1254 #9#9#9'$headerCloneContainer'
1256 #9#9#9#9#9'opacity:1,'
1257 #9#9#9#9#9'top:-$window.scrollTop()+headerOffsetTop'
1258 #9#9#9#9'})'#9#9#9#9
1259 #9#9#9#9'.animate({top:0},300)'
1260 #9#9#9#9'.find('#39'textarea'#39').val($header.find('#39'textarea'#39').val());'
1262 #9#9#9'$headerCloneContainer.find('#39'.name'#39').val($header.find('#39'.name'#39')' +
1265 #9#9#9'$headerCloneContainer.find('#39'.title'#39').val($header.find('#39'.title' +
1267 #9#9#9'$header.addClass('#39'open'#39');'
1269 #9'}).css({top:headerOffsetTop+headerHeight});'
1270 #9'$headerCloneContainer.append($headerClone);'
1271 #9'$headerCloneContainer.appendTo('#39'body'#39');'
1272 #9'$headerCloneContainer'
1273 #9#9'.css({'#39'opacity'#39':0})'
1274 #9#9'.find('#39'button'#39').text('#39'close'#39').on('#39'click'#39',function(){'#9#9#9
1275 #9#9#9'var wintop = $window.scrollTop();'#9#9#9#9
1278 #9#9#9'$header.find('#39'textarea'#39').val($headerCloneContainer.find('#39'text' +
1279 'area'#39').val());'
1280 #9#9#9'$headerCloneContainer'
1281 #9#9#9#9'.animate({top:-wintop+headerOffsetTop},300)'
1282 #9#9#9#9'.animate({opacity:0,top:-headerHeight},0);'
1284 #9#9#9'$header.find('#39'.name'#39').val($headerCloneContainer.find('#39'.name'#39')' +
1287 #9#9#9'$header.find('#39'.title'#39').val($headerCloneContainer.find('#39'.title' +
1289 #9#9#9'$header.removeClass('#39'open'#39');'
1291 #9'$window.on('#39'scroll'#39',function(){'
1292 #9#9'var wintop = $window.scrollTop();'
1294 #9#9'if ($header.hasClass('#39'open'#39')&&(wintop < headerOffsetTop)){'
1295 #9#9#9'$headerCloneContainer.css({opacity:0,top:-headerHeight});'
1296 #9#9#9'$header.removeClass('#39'open'#39');'
1297 #9#9#9'$window.trigger('#39'scroll'#39');'
1299 #9#9'if (wintop > headerOffsetTop+headerHeight){'
1300 #9#9#9'$button.addClass('#39'sticky'#39').css({top:0});'
1303 #9#9#9'$button.removeClass('#39'sticky'#39').css({top:headerOffsetTop+header' +
1311 object js2: TPageProducer
1313 '/* =========================================================='
1314 ' * jquery-live-preview.js v1.1.0'
1315 ' * https://github.com/alanphoon/jquery-live-preview'
1316 ' * =========================================================='
1317 ' * Copyright 2015 Alan Phoon, www.ampedupdesigns.com'
1318 ' * The MIT License'
1321 ' * Permission is hereby granted, free of charge, to any person o' +
1324 ' * of this software and associated documentation files (the "Sof' +
1327 ' * in the Software without restriction, including without limita' +
1330 ' * to use, copy, modify, merge, publish, distribute, sublicense,' +
1333 ' * copies of the Software, and to permit persons to whom the Sof' +
1335 ' * furnished to do so, subject to the following conditions:'
1338 ' * The above copyright notice and this permission notice shall b' +
1340 ' * all copies or substantial portions of the Software.'
1343 ' * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIN' +
1346 ' * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCH' +
1349 ' * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO E' +
1352 ' * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES' +
1355 ' * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWIS' +
1358 ' * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER' +
1361 ' * ========================================================== */'
1365 ' livePreview: function(options) {'
1368 ' trigger: '#39'hover'#39','
1369 ' targetWidth : 1000,'
1370 ' targetHeight: 800,'
1373 ' position: '#39'right'#39','
1374 ' positionOffset: 40,'
1377 ' var options = $.extend(defaults, options);'
1378 ' //calculate appropriate scaling based on width.'
1380 ' var scale_w = (options.viewWidth / options.targetWidth)' +
1383 ' var scale_h = (options.viewHeight / options.targetHeigh' +
1386 ' var preview_id = '#39'livepreview_dialog'#39';'
1388 ' if(typeof options.scale != '#39'undefined'#39')'
1389 ' scale_f = options.scale;'
1392 ' if(scale_w > scale_h)'
1393 ' scale_f = scale_w;'
1395 ' scale_f = scale_h;'
1398 ' var showPreview = function(event) {'
1399 ' var triggerType = event.data.triggerType;'
1400 ' var obj = event.data.target;'
1401 ' var href = event.data.href;'
1402 ' var s = event.data.scale;'
1405 ' if( (triggerType == '#39'click'#39') && ($('#39'#'#39' + preview_id' +
1406 ').length == 0) ) {'
1407 ' event.preventDefault();'
1410 ' var currentPos = options.position;'
1411 ' if(obj.attr("data-position"))'
1412 ' currentPos = obj.attr("data-position");'
1414 ' var currentOffset = options.positionOffset;'
1415 ' if(obj.attr("data-positionOffset"))'
1417 ' currentOffset = obj.attr("data-positionOffset")' +
1420 ' if(obj.attr("data-scale"))'
1421 ' s = obj.attr("data-scale");'
1423 ' var pos = $(this).offset();'
1424 ' var width = $(this).width();'
1425 ' var height = $(this).height();'
1426 ' var toppos = pos.top - (options.viewHeight/2);'
1427 ' var leftpos = pos.left + width + currentOffset;'
1429 ' if(currentPos == '#39'left'#39') {'
1431 ' leftpos = pos.left - options.viewWidth - current' +
1435 ' if(currentPos == '#39'top'#39') {'
1437 ' leftpos = pos.left + (width/2) - (options.viewWi' +
1440 ' toppos = pos.top - options.viewHeight - currentO' +
1444 ' if(currentPos == '#39'bottom'#39') {'
1446 ' leftpos = pos.left + (width/2) - (options.viewWi' +
1448 ' toppos = pos.top + (height/2) + currentOffset;'
1453 ' $('#39'body'#39').append('#39'<div id="livepreview_dialog" clas' +
1454 's="'#39' + currentPos + '#39'" style="display:none; padding:0px; left: '#39 +
1455 ' + leftpos + '#39'px; top:'#39' + toppos + '#39'px; width: '#39' + options.viewW' +
1456 'idth + '#39'px; height: '#39' + options.viewHeight + '#39'px"><div class="li' +
1457 'vepreview-container" style="overflow:hidden; width: '#39' + options.' +
1458 'viewWidth + '#39'px; height: '#39' + options.viewHeight + '#39'px"><iframe i' +
1459 'd="livepreview_iframe" src="'#39' + href + '#39'" style="height:'#39' + opti' +
1460 'ons.targetHeight + '#39'px; width:'#39' + options.targetWidth + '#39'px;-moz' +
1461 '-transform: scale('#39'+ s + '#39');-moz-transform-origin: 0 0;-o-transf' +
1462 'orm: scale('#39'+ s + '#39');-o-transform-origin: 0 0;-webkit-transform:' +
1463 ' scale('#39'+ s + '#39');-webkit-transform-origin: 0 0;"></iframe></div>' +
1465 ' $('#39'#'#39' + preview_id).fadeIn(100);'
1468 ' return this.each(function() {'
1471 ' var obj = $(this);'
1473 ' var href = obj.attr("data-preview-url") || obj.attr(' +
1475 ' var triggerType = options.trigger;'
1477 ' if(obj.attr("data-trigger")) {'
1478 ' triggerType = obj.attr("data-trigger");'
1481 ' if(triggerType != '#39'click'#39') {'
1482 ' triggerType = '#39'mouseenter'#39';'
1483 ' obj.on('#39'click'#39', function() {'
1484 ' $('#39'#'#39' + preview_id).remove();'
1489 ' obj.on(triggerType, null, { triggerType: triggerType' +
1490 ', target: obj, href: href, scale: s }, showPreview);'
1491 ' obj.on('#39'mouseleave'#39', function() {'
1492 ' $('#39'#'#39' + preview_id).remove();'
1502 object adhead: TPageProducer
1506 '<form method=post action=<#uri>/adminset?db=<#database> style=te' +
1508 ' <label><p>'#12497#12473#12527#12540#12489#12398#22793#26356
1510 ' <input type="password" style="HEIGHT: 23px; WIDTH: 85px" n' +
1514 ' <input type=password style=height:23px;width:85px name=pas' +
1520 ' <input type="checkbox" value="on" name="mente" <#mente>>'#12513#12531#12486#12490 +
1521 #12531#12473#34920#31034'</p>'
1522 ' <p><input type="submit" value="'#22793#26356'"></p>'
1523 ' <p><a href="<#uri>/logout?db=<#database>">'#12525#12464#12450#12454#12488'</a></p>'
1526 '<form action=<#uri>/admindel?db=<#database> method=post style=te' +
1528 OnHTMLTag = adheadHTMLTag
1532 object js5: TPageProducer
1536 #9'$('#39'div'#39').on('#39'click'#39',function(){'
1537 #9#9'var $title = $(this),'
1538 #9#9#9'span1 = 1500,'
1539 #9#9#9'span2 = 200;'
1540 #9#9'$title.css('#39'font-size'#39','#39'2em'#39');'
1541 #9#9'$({deg:5}).animate({deg:365},{'
1542 #9#9#9'duration:500,'
1543 #9#9#9'progress:function(){'
1544 #9#9#9#9'$title.css({'
1545 #9#9#9#9#9#39'-webkit-transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39','
1546 #9#9#9#9#9#39'-ms-transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39','
1547 #9#9#9#9#9#39'ransform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39
1551 #9#9'$({deg:5}).delay(span1).animate({deg:0},{'
1552 #9#9#9'duration:span2,'
1553 #9#9#9'progress:function(){'
1554 #9#9#9#9'$title.css({'#9
1555 #9#9#9#9#9#39'-webkit-transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39','
1556 #9#9#9#9#9#39'-ms-transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39','
1557 #9#9#9#9#9#39'transform'#39':'#39'rotate('#39'+this.deg+'#39'deg)'#39
1561 #9#9'$title.delay(span1+span2).animate({'#39'font-size'#39':'#39'1em'#39'},1);'
1568 object title: TPageProducer
1573 '<meta charset=utf-8>'
1574 '<title>'#12479#12452#12488#12523#34920#31034'</title>'
1576 '<script type="text/javascript" src="//ajax.googleapis.com/ajax/l' +
1577 'ibs/jquery/2.1.4/jquery.min.js"></script>'
1579 '<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqu' +
1580 'eryui/1.10.4/themes/smoothness/jquery-ui.css" />'
1582 '<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jqu' +
1583 'ery-ui.min.js"></script>'
1593 '<p style=text-align:center><a href=<#uri>/>'#25147#12427'</a>'
1596 OnHTMLTag = titleHTMLTag
1600 object ti: TDataSetPageProducer
1603 '<p style=font-weight:bold><a href=<#uri>/index?db=<#dbnum>><#dat' +
1604 'abase></a>'#8595'</p>'
1605 '<div>'#12479#12452#12488#12523': <#title> ; '#35352#20107#25968': <#count> ; '#26356#26032#26178#21051': <#date></div><p>'
1608 OnHTMLTag = tiHTMLTag
1612 object FDTable2: TFDTable
1613 IndexFieldNames = 'DBNUM;NUMBER'
1614 MasterSource = DataSource1
1615 MasterFields = 'DBNUM'
1616 Connection = FDConnection1
1617 FetchOptions.AssignedValues = [evLiveWindowParanoic]
1618 UpdateOptions.UpdateTableName = 'article'
1619 TableName = 'article'
1622 object FDTable2DBNUM: TIntegerField
1625 ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
1628 object FDTable2NUMBER: TIntegerField
1629 FieldName = 'NUMBER'
1631 ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
1634 object FDTable2TITLE: TWideStringField
1639 object FDTable2NAME: TWideStringField
1644 object FDTable2COMMENT: TWideMemoField
1645 FieldName = 'COMMENT'
1647 BlobType = ftWideMemo
1649 object FDTable2RAW: TWideMemoField
1652 BlobType = ftWideMemo
1654 object FDTable2DATE: TDateField
1658 object FDTable2PASS: TWideStringField
1665 object FDTable5: TFDTable
1666 IndexFieldNames = 'ID'
1667 Connection = FDConnection1
1668 UpdateOptions.UpdateTableName = 'images'
1669 TableName = 'images'
1672 object FDTable5id: TIntegerField
1675 ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
1678 object FDTable5name: TWideStringField
1679 AutoGenerateValue = arDefault
1684 object FDTable5source: TWideMemoField
1685 AutoGenerateValue = arDefault
1686 FieldName = 'source'
1688 BlobType = ftWideMemo
1691 object FDTable4: TFDTable
1692 IndexFieldNames = 'ID'
1693 Connection = FDConnection1
1694 UpdateOptions.UpdateTableName = 'req'
1698 object FDTable4ID: TIntegerField
1703 object FDTable4DBNAME: TIntegerField
1704 FieldName = 'DBNAME'
1707 object FDTable4POSNUM: TIntegerField
1708 FieldName = 'POSNUM'
1711 object FDTable4DATE: TDateField
1716 object FDTable4REQUEST: TWideMemoField
1717 FieldName = 'REQUEST'
1719 BlobType = ftWideMemo
1722 object DataSource1: TDataSource
1727 object FDTable3: TFDTable
1728 Connection = FDConnection1
1729 UpdateOptions.UpdateTableName = 'setting'
1730 TableName = 'setting'
1733 object FDTable3TITLE: TWideStringField
1738 object FDTable3TITLE2: TWideStringField
1739 FieldName = 'TITLE2'
1743 object FDTable3mente: TSmallintField
1746 object FDTable3INFO: TIntegerField
1750 object FDTable3COUNT: TIntegerField
1754 object FDTable3password: TWideStringField
1755 FieldName = 'password'
1758 object FDTable3ng: TWideStringField
1763 object FDConnection1: TFDConnection
1765 'ConnectionDef=first_sql')
1770 object FDTable1: TFDTable
1771 IndexFieldNames = 'DBNUM'
1772 Connection = FDConnection1
1773 UpdateOptions.UpdateTableName = 'dbname'
1774 TableName = 'dbname'
1777 object FDTable1DBNUM: TIntegerField
1782 object FDTable1DATABASE: TWideStringField
1783 FieldName = 'DATABASE'
1789 object login: TPageProducer
1793 ' <meta charset=utf-8>'
1794 ' <title>'#12525#12464#12452#12531'</title>'
1798 ' <p style=text-align:center>'#31649#29702#32773#29992#12525#12464#12452#12531#30011#38754
1801 ' <form action=<#uri>/login method="post">'
1802 ' <p style=text-align:center>'
1803 ' <input type=text name=record value=<#database>>'
1804 ' '#9' <input style=height:25px type="password" name="password">'
1805 ' <input type="submit" value="'#12525#12464#12452#12531'">'
1809 ' <p style=text-align:center><br><a href=<#uri>/ >TOP'#12408#31227#21205'</a>' +
1813 OnHTMLTag = loginHTMLTag
1817 object footer: TPageProducer
1819 '<p style=text-align:center>[ <#link> ] <#recent>')
1820 OnHTMLTag = footerHTMLTag
1824 object FDGUIxWaitCursor1: TFDGUIxWaitCursor
1829 object FDQuery1: TFDQuery
1830 Connection = FDConnection1
1832 'select dbnum,title,max(date) from article '
1833 ' group by dbnum order by max(date);')