From a073141ebb225322adec71c909e23caebb602678 Mon Sep 17 00:00:00 2001 From: dirk1983 Date: Thu, 16 Feb 2023 18:04:36 +0800 Subject: [PATCH] Add files via upload --- chat.txt | 4 + css/common.css | 1585 +++++++++++++++++++++++++++++++++++++++ css/icon.png | Bin 0 -> 11493 bytes css/iconfont.ttf | Bin 0 -> 5912 bytes css/iconfont.woff | Bin 0 -> 3356 bytes css/iconfont.woff2 | Bin 0 -> 3196 bytes css/layer.css | 1 + css/loading-2.gif | Bin 0 -> 1787 bytes css/wenda.css | 198 +++++ index.php | 89 +++ js/chat.js | 101 +++ js/jquery.cookie.min.js | 2 + js/jquery.min.js | 2 + js/layer.min.js | 1 + message.php | 75 ++ 15 files changed, 2058 insertions(+) create mode 100644 chat.txt create mode 100644 css/common.css create mode 100644 css/icon.png create mode 100644 css/iconfont.ttf create mode 100644 css/iconfont.woff create mode 100644 css/iconfont.woff2 create mode 100644 css/layer.css create mode 100644 css/loading-2.gif create mode 100644 css/wenda.css create mode 100644 index.php create mode 100644 js/chat.js create mode 100644 js/jquery.cookie.min.js create mode 100644 js/jquery.min.js create mode 100644 js/layer.min.js create mode 100644 message.php diff --git a/chat.txt b/chat.txt new file mode 100644 index 0000000..bdff628 --- /dev/null +++ b/chat.txt @@ -0,0 +1,4 @@ +127.0.0.1 | 2023-02-16 10:03:27 +Q:test +A:服务器返回错误信息:Incorrect API key provided: sk-PXQ0A***************************************wkqd. You can find your API key at https://platform.openai.com/account/api-keys. +---------------- diff --git a/css/common.css b/css/common.css new file mode 100644 index 0000000..33ef28c --- /dev/null +++ b/css/common.css @@ -0,0 +1,1585 @@ +html { + line-height:1.15; + -webkit-text-size-adjust:100%; +} +body { + margin:0; +} +main { + display:block; +} +h1 { + font-size:2em; + margin:0.67em 0; +} +hr { + box-sizing:content-box; + height:0; + overflow:visible; +} +pre { + font-family:monospace, monospace; + font-size:1em; +} +img { + height:auto; + width:auto; + max-width:500px; +} +a { + background-color:transparent; +} +abbr[title] { + border-bottom:none; + text-decoration:underline; + text-decoration:underline dotted; +} +b, strong { + font-weight:bolder; +} +code, kbd, samp { + font-family:monospace, monospace; + font-size:1em; +} +small { + font-size:80%; +} +sub, sup { + font-size:75%; + line-height:0; + position:relative; + vertical-align:baseline; +} +sub { + bottom:-0.25em; +} +sup { + top:-0.5em; +} +ul, li { + list-style:none; +} +img { + border-style:none; +} +button, input, optgroup, select, textarea { + font-family:inherit; + font-size:100%; + line-height:1.15; + margin:0; +} +button, input { + overflow:visible; +} +button, select { + text-transform:none; +} +button, [type="button"], [type="reset"], [type="submit"] { + -webkit-appearance:button; +} +button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { + border-style:none; + padding:0; +} +button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { + outline:1px dotted ButtonText; +} +fieldset { + padding:0.35em 0.75em 0.625em; +} +legend { + box-sizing:border-box; + color:inherit; + display:table; + max-width:100%; + padding:0; + white-space:normal; +} +progress { + vertical-align:baseline; +} +textarea { + overflow:auto; +} +[type="checkbox"], [type="radio"] { + box-sizing:border-box; + padding:0; +} +[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { + height:auto; +} +[type="search"] { + -webkit-appearance:textfield; + outline-offset:-2px; +} +[type="search"]::-webkit-search-decoration { + -webkit-appearance:none; +} +::-webkit-file-upload-button { + -webkit-appearance:button; + font:inherit; +} +details { + display:block; +} +summary { + display:list-item; +} +template { + display:none; +} +[hidden] { + display:none; +} +body { + font:14px / 1.5 Helvetica Neue, Helvetica, Arial, Hiragino Sans GB, Hiragino Sans GB W3, Microsoft YaHei UI, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif; +} +body * { + padding:0; + margin:0; + box-sizing:border-box; +} +body.whole-screen { + position:relative; + height:100vh; + overflow:hidden; +} +[data-flex] { + display:-webkit-box; + display:-webkit-flex; + display:-ms-flexbox; + display:flex; +} +[data-flex~="flex:wrap"] { + flex-wrap:wrap +} +[data-flex~="flex:nowrap"] { + flex-wrap:nowrap +} +[data-flex] > * { + display:block; +} +[data-flex] >[data-flex] { + display:-webkit-box; + display:-webkit-flex; + display:-ms-flexbox; + display:flex; +} +[data-flex~="dir:left"] { + -webkit-box-orient:horizontal; + -webkit-box-direction:normal; + -webkit-flex-direction:row; + -ms-flex-direction:row; + flex-direction:row; +} +[data-flex~="dir:right"] { + -webkit-box-orient:horizontal; + -webkit-box-direction:reverse; + -webkit-flex-direction:row-reverse; + -ms-flex-direction:row-reverse; + flex-direction:row-reverse; + -webkit-box-pack:end; +} +[data-flex~="dir:top"] { + -webkit-box-orient:vertical; + -webkit-box-direction:normal; + -webkit-flex-direction:column; + -ms-flex-direction:column; + flex-direction:column; +} +[data-flex~="dir:bottom"] { + -webkit-box-orient:vertical; + -webkit-box-direction:reverse; + -webkit-flex-direction:column-reverse; + -ms-flex-direction:column-reverse; + flex-direction:column-reverse; + -webkit-box-pack:end; +} +[data-flex~="main:left"] { + -webkit-box-pack:start; + -webkit-justify-content:flex-start; + -ms-flex-pack:start; + justify-content:flex-start; +} +[data-flex~="main:right"] { + -webkit-box-pack:end; + -webkit-justify-content:flex-end; + -ms-flex-pack:end; + justify-content:flex-end; +} +[data-flex~="main:justify"] { + -webkit-box-pack:justify; + -webkit-justify-content:space-between; + -ms-flex-pack:justify; + justify-content:space-between; +} +[data-flex~="main:center"] { + -webkit-box-pack:center; + -webkit-justify-content:center; + -ms-flex-pack:center; + justify-content:center; +} +[data-flex~="cross:top"] { + -webkit-box-align:start; + -webkit-align-items:flex-start; + -ms-flex-align:start; + align-items:flex-start; +} +[data-flex~="cross:bottom"] { + -webkit-box-align:end; + -webkit-align-items:flex-end; + -ms-flex-align:end; + align-items:flex-end; +} +[data-flex~="cross:center"] { + -webkit-box-align:center; + -webkit-align-items:center; + -ms-flex-align:center; + align-items:center; +} +[data-flex~="cross:baseline"] { + -webkit-box-align:baseline; + -webkit-align-items:baseline; + -ms-flex-align:baseline; + align-items:baseline; +} +[data-flex~="cross:stretch"] { + -webkit-box-align:stretch; + -webkit-align-items:stretch; + -ms-flex-align:stretch; + align-items:stretch; +} +[data-flex~="box:mean"] > *, [data-flex~="box:first"] > *, [data-flex~="box:last"] > *, [data-flex~="box:justify"] > * { + width:0; + height:auto; + -webkit-box-flex:1; + -webkit-flex-grow:1; + -ms-flex-positive:1; + flex-grow:1; + -webkit-flex-shrink:1; + -ms-flex-negative:1; + flex-shrink:1; +} +[data-flex~="box:first"] >:first-child, [data-flex~="box:last"] >:last-child, [data-flex~="box:justify"] >:first-child, [data-flex~="box:justify"] >:last-child { + width:auto; + -webkit-box-flex:0; + -webkit-flex-grow:0; + -ms-flex-positive:0; + flex-grow:0; + -webkit-flex-shrink:0; + -ms-flex-negative:0; + flex-shrink:0; +} +[data-flex~="dir:top"][data-flex~="box:mean"] > *, [data-flex~="dir:top"][data-flex~="box:first"] > *, [data-flex~="dir:top"][data-flex~="box:last"] > *, [data-flex~="dir:top"][data-flex~="box:justify"] > *, [data-flex~="dir:bottom"][data-flex~="box:mean"] > *, [data-flex~="dir:bottom"][data-flex~="box:first"] > *, [data-flex~="dir:bottom"][data-flex~="box:last"] > *, [data-flex~="dir:bottom"][data-flex~="box:justify"] > * { + width:auto; + height:0; + -webkit-box-flex:1; + -webkit-flex-grow:1; + -ms-flex-positive:1; + flex-grow:1; + -webkit-flex-shrink:1; + -ms-flex-negative:1; + flex-shrink:1; +} +[data-flex~="dir:top"][data-flex~="box:first"] >:first-child, [data-flex~="dir:top"][data-flex~="box:last"] >:last-child, [data-flex~="dir:top"][data-flex~="box:justify"] >:first-child, [data-flex~="dir:top"][data-flex~="box:justify"] >:last-child, [data-flex~="dir:bottom"][data-flex~="box:first"] >:first-child, [data-flex~="dir:bottom"][data-flex~="box:last"] >:last-child, [data-flex~="dir:bottom"][data-flex~="box:justify"] >:first-child[data-flex~="dir:bottom"][data-flex~="box:justify"] >:last-child { + height:auto; + -webkit-box-flex:0; + -webkit-flex-grow:0; + -ms-flex-positive:0; + flex-grow:0; + -webkit-flex-shrink:0; + -ms-flex-negative:0; + flex-shrink:0; +} +[data-flex-box="0"] { + -webkit-box-flex:0; + -webkit-flex-grow:0; + -ms-flex-positive:0; + flex-grow:0; + -webkit-flex-shrink:0; + -ms-flex-negative:0; + flex-shrink:0; +} +[data-flex-box="1"] { + -webkit-box-flex:1; + -webkit-flex-grow:1; + -ms-flex-positive:1; + flex-grow:1; + -webkit-flex-shrink:1; + -ms-flex-negative:1; + flex-shrink:1; +} +[data-flex-box="2"] { + -webkit-box-flex:2; + -webkit-flex-grow:2; + -ms-flex-positive:2; + flex-grow:2; + -webkit-flex-shrink:2; + -ms-flex-negative:2; + flex-shrink:2; +} +[data-flex-box="3"] { + -webkit-box-flex:3; + -webkit-flex-grow:3; + -ms-flex-positive:3; + flex-grow:3; + -webkit-flex-shrink:3; + -ms-flex-negative:3; + flex-shrink:3; +} +[data-flex-box="4"] { + -webkit-box-flex:4; + -webkit-flex-grow:4; + -ms-flex-positive:4; + flex-grow:4; + -webkit-flex-shrink:4; + -ms-flex-negative:4; + flex-shrink:4; +} +[data-flex-box="5"] { + -webkit-box-flex:5; + -webkit-flex-grow:5; + -ms-flex-positive:5; + flex-grow:5; + -webkit-flex-shrink:5; + -ms-flex-negative:5; + flex-shrink:5; +} +[data-flex-box="6"] { + -webkit-box-flex:6; + -webkit-flex-grow:6; + -ms-flex-positive:6; + flex-grow:6; + -webkit-flex-shrink:6; + -ms-flex-negative:6; + flex-shrink:6; +} +[data-flex-box="7"] { + -webkit-box-flex:7; + -webkit-flex-grow:7; + -ms-flex-positive:7; + flex-grow:7; + -webkit-flex-shrink:7; + -ms-flex-negative:7; + flex-shrink:7; +} +[data-flex-box="8"] { + -webkit-box-flex:8; + -webkit-flex-grow:8; + -ms-flex-positive:8; + flex-grow:8; + -webkit-flex-shrink:8; + -ms-flex-negative:8; + flex-shrink:8; +} +[data-flex-box="9"] { + -webkit-box-flex:9; + -webkit-flex-grow:9; + -ms-flex-positive:9; + flex-grow:9; + -webkit-flex-shrink:9; + -ms-flex-negative:9; + flex-shrink:9; +} +[data-flex-box="10"] { + -webkit-box-flex:10; + -webkit-flex-grow:10; + -ms-flex-positive:10; + flex-grow:10; + -webkit-flex-shrink:10; + -ms-flex-negative:10; + flex-shrink:10; +} +input { + text-rendering:auto; + letter-spacing:normal; + word-spacing:normal; + line-height:normal; + text-transform:none; + text-indent:0px; + text-shadow:none; + display:inline-block; + text-align:start; + appearance:auto; + cursor:text; + margin:0em; + padding:1px 2px; + border:none; + text-indent:0; + background:transparent; + resize:none; + outline:none; + -webkit-appearance:none; + line-height:normal; +} +.input:focus { + outline:none; + border-color:none +} +html { + --zhuluan-white-color:#fff; + --zhuluan-black-3-color:#333; + --zhuluan-black-6-color:#666; + --zhuluan-black-80-color:#808080; + --zhuluan-custom-e8-color:#e8e8e8; + --zhuluan-custom-d8-color:#d8d8d8; + --zhuluan-custom-b8-color:#b8b8b8; + --zhuluan-custom-ff-color:#f5f6f7; + --zhuluan-white-f2-color:#f2f2f2; + --zhuluan-white-f5-color:#f5f5f5; + --zhuluan-primary-color:#1781ea; + --zhuluan-neighbor-color:#5A9AF9; + --zhuluan-primary-color-hover:#3385ff; + --zhuluan-primary-color-active:#096dd9; + --zhuluan-primary-rgba-10:rgba(31, 130, 242, .08); + --zhuluan-primary-rgba-20:rgba(31, 130, 242, .2); + --zhuluan-border-color:#e2e2e2; + --zhuluan-border-rgba-4:rgba(225, 225, 225, .4); + --zhuluan-warning-color:#FD6A53; + --zhuluan-warning-rgba-10:rgba(253, 106, 83, .08); + --zhuluan-warning-rgba-20:rgba(253, 106, 83, .2); + --zhuluan-shadow-color:51 133 255; + --zhuluan-switch-size:15px; + --zhuluan-switch-box:30px; + --zhuluan-primary-border-radius:5px; +} +body { + background-color:var(--zhuluan-custom-ff-color) +} +@font-face { + font-family:"iconfont"; + src:url('iconfont.woff2') format('woff2'), url('iconfont.woff') format('woff'), url('iconfont.ttf') format('truetype'); +} +.input-group { + position:relative; + display:-ms-flexbox; + display:flex; + -ms-flex-wrap:wrap; + flex-wrap:wrap; + -ms-flex-align:stretch; + align-items:stretch; + width:100% +} +.input-group>.form-control, .input-group>.form-select { + position:relative; + -ms-flex:1 1 auto; + flex:1 1 auto; + width:1%; + min-width:10 +} +.form-control { + display:block; + width:100%; + height:25px; + padding:0px 5px; + font-size:15px; + line-height:1.42857143; + color:#555; + background-color:#fff; + border:1px solid #000; + border-radius:4px; + -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075); + box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075); + -webkit-transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; + -o-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s; + transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing:antialiased; + -moz-osx-font-smoothing:grayscale; +} +.icon-shuaxin:before { + content:"\ec08"; +} +.icon-codelibrary:before { + content:"\ebdb"; +} +.icon-jiance:before { + content:"\e674"; +} +.icon-text-add:before { + content:"\e614"; +} +.icon-close:before { + content:"\e607"; +} +.icon-menu:before { + content:"\e608"; +} +.icon-copy:before { + content:"\e617"; +} +.icon-wuguan:before { + content:"\ec5f"; +} +.icon-clear-all:before { + content:"\e8b6"; +} +.icon-wenda:before { + content:"\e60e"; +} +.icon-bangzhu:before { + content:"\e600"; +} +.icon-baobiao:before { + content:"\e601"; +} +.icon-rizhi:before { + content:"\e602"; +} +.icon-pishi:before { + content:"\e603"; +} +.icon-xinwen:before { + content:"\e604"; +} +.icon-yewu:before { + content:"\e605"; +} +.icon-tixing:before { + content:"\e606"; +} +.switch-container { + height:var(--zhuluan-switch-size); + width:var(--zhuluan-switch-box); +} +.switch-container label, .switch-container label:before, .switch-container label:after { + display:block; +} +.switch-container label { + position:relative; + background-color:var(--zhuluan-custom-e8-color); + height:100%; + width:100%; + cursor:pointer; + border-radius:25px; +} +.switch-container label:before, .switch-container label:after { + content:''; +} +.switch-container label:before { + border-radius:25px; + height:100%; + width:var(--zhuluan-switch-size); + background-color:var(--zhuluan-white-color); + opacity:1; + box-shadow:1px 1px 1px 1px rgba(0, 0, 0, 0.08); + -webkit-transition:all 0.2s; +} +.switch-container label:after { + position:absolute; + top:0; + right:0; + left:var(--zhuluan-switch-size); + border-radius:25px; + height:100%; + width:var(--zhuluan-switch-size); + background-color:white; + opacity:0; + box-shadow:1px 1px 1px 1px rgba(0, 0, 0, 0.08); + transition:opacity 0.2s ease; +} +.switch:checked~label:after { + opacity:1; +} +.switch:checked~label:before { + opacity:0; +} +.switch:checked~label { + background-color:var(--zhuluan-primary-color); +} +#tooltip { + display:none; +} +#tooltip[data-show] { + display:block; +} +.toast { + top:50%; + left:50%; + position:fixed; + -webkit-transform:translate(-50%, -50%); + transform:translate(-50%, -50%); + border-radius:5px; + background:rgba(0, 0, 0, 0.6); + color:white; + -webkit-box-sizing:border-box; + box-sizing:border-box; + text-align:center; + padding:10px 14px; + z-index:999999; + -webkit-animation-duration:500ms; + animation-duration:500ms; +} +.toast.in { + -webkit-animation-name:contentZoomIn; + animation-name:contentZoomIn; +} +.toast .iconfont { + font-size:30px; + color:rgba(255, 255, 255, 0.8); + margin-bottom:10px; + display:block; +} +.toast .iconfont.icon-loading:before { + display:block; + -webkit-transform:rotate(360deg); + animation:rotation 2.7s linear infinite; +} +.toast .text { + text-align:center; + max-width:300px; + color:#fff; + font-size:14px; +} +@-webkit-keyframes rotation { + from { + -webkit-transform:rotate(0deg); + } + to { + -webkit-transform:rotate(360deg); + } +} +@-webkit-keyframes contentZoomIn { + 0% { + -webkit-transform:translate(-50%, -70%); + transform:translate(-50%, -70%); + opacity:0; + } + 100% { + -webkit-transform:translate(-50%, -50%); + transform:translate(-50%, -50%); + opacity:1; + } +} +@keyframes contentZoomIn { + 0% { + opacity:0; + } + 100% { + opacity:1; + } +} +@-webkit-keyframes contentZoomOut { + 0% { + opacity:1; + } + 100% { + opacity:0; + } +} +@keyframes contentZoomOut { + 0% { + opacity:1; + } + 100% { + opacity:0; + } +} +a.unlinks-deco { + color:var(--zhuluan-primary-color); + text-decoration:none; +} +.layout-header { + height:50px; + background-color:var(--zhuluan-white-color) +} +.layout-header .logo .links { + cursor:pointer; + display:block; +} +.layout-header .logo .links img { + height:100%; +} +.layout-header .icon-menu { + display:none +} +.layout-header .nav .list { + font-size:16px; + font-weight:600; + margin-left:32px; +} +.layout-header .nav .list .links { + color:var(--zhuluan-black-6-color); + transition:all .4s +} +.layout-header .nav .list.active .links, .layout-header .nav .list:hover .links, .article-box .links:hover { + color:var(--zhuluan-primary-color) +} +.layout-header .nav .nav-btn { + padding-left:35px; +} +.layout-header .nav .btn { + padding:6px 12px; + margin:0 0 0 14px; + font-size:12px; + font-weight:400; + line-height:1.42857143; + text-align:center; + white-space:nowrap; + vertical-align:middle; + touch-action:manipulation; + cursor:pointer; + border-radius:var(--zhuluan-primary-border-radius); + color:var(--zhuluan-black-3-color); + background-color:var(--zhuluan-white-f2-color); + transition:all .4s; +} +.layout-header .nav .btn.sign { + color:var(--zhuluan-white-color); + background-color:var(--zhuluan-primary-color); + background:linear-gradient(90deg, var(--zhuluan-primary-color), var(--zhuluan-primary-color-hover)); + box-shadow:0 4px 8px 0 rgb(var(--zhuluan-shadow-color) / 12%); +} +.layout-header .nav .btn:hover { + opacity:.8; + box-shadow:none +} +.layout-content { + padding:22px 0 50px; + background-color:#343541; +} +.layout-bar { + font-size:14px; + color:var(--zhuluan-black-80-color) +} +.layout-bar .num span { + margin:0 6px; + font-size:24px; + font-weight:300; + font-family:Open Sans, Arial, sans-serif; +} +.layout-bar .btn { + width:100px; + margin-left:14px; + text-align:center; + height:36px; + line-height:36px; + font-size:14px; + border-radius:var(--zhuluan-primary-border-radius); + color:var(--zhuluan-primary-color); + cursor:pointer; + transition:all .4s; +} +.layout-bar .layout-bar-left { + margin-right:-14px; +} +.layout-bar .layout-bar-left .btn { + margin:0 14px 0 0 +} +.layout-bar .btn .iconfont { + margin-right:3px; +} +.layout-bar .btn .iconfont.icon-wuguan { + margin-right:5px; +} +.layout-bar .btn .iconfont.icon-text-add { + margin-right:5px; + font-size:17px; +} +.layout-bar .bright-btn { + color:var(--zhuluan-white-color); + background-color:var(--zhuluan-primary-color); + background:linear-gradient(90deg, var(--zhuluan-primary-color), var(--zhuluan-primary-color-hover)); + box-shadow:0 4px 8px 0 var(--zhuluan-shadow-color); +} +.precast-block { + padding:20px 12px; + min-height:50px; + border:1px solid; +} +.precast-block .title { + width:65px; + text-indent:10px; + color:var(--zhuluan-black-80-color) +} +.kw-text { + padding-top:10px; +} +#kw-box { + margin-right:20px; +} +.kw-btn.btn { + line-height:100%; + color:var(--zhuluan-primary-color); + cursor:pointer; +} +.kw-btn.btn .iconfont { + margin-right:4px; +} +.precast-block .box { + flex:1 +} +#kw-target-box { + border-radius:var(--zhuluan-primary-border-radius) var(--zhuluan-primary-border-radius) 0 0; + -webkit-border-radius:; + -moz-border-radius:; + -ms-border-radius:; + -o-border-radius:; +} +#kw-target-box #kw-target { + display:block; + height:36px; + width:100%; + padding-left:13px; + font-size:16px; + font-weight:500; + color:#fff; +} +#kw-target::-webkit-input-placeholder { + color:var(--zhuluan-custom-b8-color) +} +#kw-tags { + border-top:none; + height:28px; + margin-bottom:-6px; +} +#kw-tags #tags-clear-all { + margin-left:10px; +} +#kw-box { + margin-bottom:-8px; +} +#kw-list { + font-weight:500; + font-size:12px; + color:var(--zhuluan-black-80-color) +} +#xiezuo-h1 { + color:var(--zhuluan-black-3-color); + line-height:160%; + margin-bottom:12px +} +#kw-list .kw, .locked-kw-tags .tag { + display:inline-block; + padding:6px 25px 4px 10px; + border-radius:22px; + margin:0 0 8px 8px; + word-break:keep-all; + position:relative; + color:var(--zhuluan-primary-color); + background-color:var(--zhuluan-primary-rgba-10); + transition:all 0.4s +} +#kw-list .kw .icon-close, .locked-kw-tags .tag .icon-close { + cursor:pointer; +} +#kw-list .kw:hover, .locked-kw-tags .tag:hover { + background-color:var(--zhuluan-primary-rgba-20); +} +#kw-list .kw .iconfont, .locked-kw-tags .tag .iconfont { + font-size:12px; + position:absolute; + right:8px; + top:50%; + transform:translateY(-50%) +} +.article .is-created-none, .article:not(.created) .is-created-block { + display:none +} +.article:not(.created) .is-created-none, .article .is-created-block { + display:block +} +.layout-bar .line-btn { + color:var(--zhuluan-primary-color); +} +.article.created .xiezuo-header { + border-radius:0; + border-bottom:none +} +.layout-bar .line-btn:hover { + box-shadow:0 4px 8px -2px rgb(51 51 51 / 8%) +} +.layout-bar .bright-btn:hover { + background-color:var(--zhuluan-neighbor-color); + box-shadow:none; + opacity:.8 +} +.magnitude #word-count { + margin-right:4px +} +.magnitude #word-count .warning { + color:var(--zhuluan-warning-color) +} +.article { + width:100%; + position:relative; +} +.article .creating-loading { + display:none; + position:absolute; + z-index:10008; + left:0; + top:0; + right:0; + bottom:0; + background-color:rgba(52, 53, 65, .68) +} +.article .creating-loading.isLoading { + display:flex +} +.article .creating-loading .tips { + margin-top:10px; + color:var(--zhuluan-primary-color) +} +.article .layout-article { + min-height:420px; + border-radius:0 0 var(--zhuluan-primary-border-radius) var(--zhuluan-primary-border-radius); + border:1px solid var(--zhuluan-border-color); + background-color:var(--zhuluan-white-color); + position:relative; +} +.layout-article .w-e-toolbar, .layout-article .w-e-text-container { + border:none !important +} +.layout-article .w-e-toolbar { + border-bottom:1px solid var(--zhuluan-border-color) !important; +} +.article-footer-bar { + padding:12px 12px 6px; + height:15px; + color:var(--zhuluan-black-80-color) +} +.article-footer-bar .switch-container { + margin-right:8px +} +.article-footer-bar .magnitude { + text-align:right; + font-size:14px; +} +.bar-fast-tool .iconfont { + color:var(--zhuluan-custom-d8-color); + transition:all .4s; + cursor:pointer; +} +.bar-fast-tool .iconfont:hover { + color:var(--zhuluan-primary-color) +} +#think-kw { + position:absolute; + left:0; + top:0; + width:100%; + border-top:1px solid var(--zhuluan-border-color); + background-color:var(--zhuluan-white-color); + box-shadow:0 3px 5px rgba(30, 30, 30, .02) +} +#think-kw .list { + padding:12px 10px; + line-height:100%; + border-bottom:1px solid var(--zhuluan-border-rgba-4); + transition:all .4s; + cursor:pointer; +} +#think-kw .list:hover, #think-kw .list.pitch { + background-color:var(--zhuluan-warning-rgba-10) +} +#think-kw .list:last-child { + border:none +} +#think-kw .list .text span { + color:var(--zhuluan-warning-color) +} +#think-kw .list .num { + color:var(--zhuluan-black-80-color) +} +.bar-fast-tool .iconfont { + font-size:20px; + margin-left:5px; +} +.bar-fast-tool .magnitude { + margin-left:20px; +} +.layout-site-details { + padding-top:70px; + font-size:14px; + color:var(--zhuluan-black-6-color) +} +.layout-site-details h2 { + font-size:28px; + line-height:120%; + padding:0 20px; + margin:0 0 60px; + font-weight:500; + text-align:center; +} +.layout-site-details p { + line-height:200%; +} +.locked-kw { + position:relative; + border:1px solid var(--zhuluan-border-color); + border-top:none; + border-bottom:none; +} +.locked-kw .locked-kw-tags { + display:block; + width:100%; + border-color:var(--zhuluan-white-color); + border-radius:var(--zhuluan-primary-border-radius); + background-color:var(--zhuluan-white-color); + overflow:hidden; +} +.locked-kw-tags .tag { + margin:0 7px 7px 0; + font-size:12px; +} +.locked-kw .locked-kw-tags #locked-kw_addTag { + padding-left:15px; + padding-bottom:15px; +} +.locked-kw .locked-kw-tags #clear-all, #kw-tags #tags-clear-all { + color:var(--zhuluan-black-80-color); + font-size:12px; + cursor:pointer; + transition:all .4s +} +.locked-kw .locked-kw-tags #clear-all:hover, #kw-tags #tags-clear-all:hover { + color:var(--zhuluan-black-3-color); +} +.locked-kw .locked-kw-tags .tags_clear { + display:block; + margin-bottom:-7px +} +.locked-kw #locked-kw_tag { + font-size:12px; + font-weight:normal; + padding:8px 0 +} +.footer { + padding-bottom:15px +} +.footer p { + text-align:center; + margin-bottom:8px +} +.footer p, .footer .links { + color:var(--zhuluan-black-80-color) +} +.footer .foot-menu { + font-size:16px +} +.footer .links { + margin:0 6px; + word-break:keep-all; + transition:all .4s +} +.footer .links:hover { + color:var(--zhuluan-black-3-color) +} +.content-list { + padding-bottom:20px; +} +.content-list li { + font-size:16px; + line-height:200%; + text-indent:32px; + color:var(--zhuluan-black-80-color) +} +.zhuluan-cms { + border-bottom:none; + border-top:none +} +.zhuluan-cms img { + width:30%; + vertical-align:top +} +.anchor-box { + position:fixed; + z-index:9999; + left:0; + top:0; + width:100vw; + height:100vh; +} +.anchor-box .anchor-content { + position:absolute; + width:420px; + height:220px; + left:50%; + top:50%; + padding:35px 25px; + transform:translate(-50%, -50%); + background-color:var(--zhuluan-white-color); + box-shadow:3px 3px 38px rgba(0, 0, 0, .1), -3px -3px 38px rgba(0, 0, 0, .1); +} +.anchor-box .anchor-content .icon-close { + position:absolute; + right:12px; + top:8px; + font-size:14px; + color:var(--zhuluan-black-80-color); + cursor:pointer; +} +.anchor-box .anchor-content .h4 { + margin-bottom:12px; + font-size:15px; +} +.anchor-box .anchor-content .h4 span { + color:var(--zhuluan-black-80-color); + margin-left:10px; + font-size:12px +} +.anchor-box .anchor-content em { + font-style:normal; +} +.anchor-box .anchor-content em.warning { + color:var(--zhuluan-warning-color); +} +.anchor-content .input-list { + margin-bottom:10px; +} +.anchor-content .input { + border:solid 1px var(--zhuluan-border-color); + padding:8px 10px; + width:100%; + border-radius:2px; + display:block; +} +.anchor-content .input:focus { + border-color:var(--zhuluan-primary-color); +} +.anchor-content .btn-box { + color:var(--zhuluan-black-80-color); +} +.anchor-content .btn-box .btn { + margin-left:12px; + cursor:pointer; + transition:all .4s +} +.anchor-content .btn-box .btn:hover { + opacity:.6 +} +.anchor-content .btn-box .btn.add { + color:var(--zhuluan-primary-color); +} +.switch-bar .tips { + margin-left:10px; +} +.anchor-box { + position:absolute; + z-index:99998; + left:0; + top:0; + width:100%; + height:100%; + background-color:rgba(255, 255, 255, .5); +} +.banner { + padding-top:40px; + height:460px; +} +.banner .images { + width:582px; + height:424px; +} +.banner .images img { + width:100%; + height:auto; +} +.banner .title { + padding-left:55px; +} +.banner h2, .title h2 { + font-size:26px; + font-weight:normal; + padding-bottom:10px; +} +.banner p { + margin-top:6px; + color:var(--zhuluan-black-6-color) +} +.banner .btn { + display:block; + margin-top:22px; + width:120px; + height:42px; + line-height:42px; + border-radius:5px; + text-align:center; + color:var(--zhuluan-white-color); + font-size:16px; + background-color:var(--zhuluan-primary-color); + box-shadow:0 6px 18px 0 rgb(var(--zhuluan-shadow-color) / 20%); + cursor:pointer; + transition:all .4s +} +.banner .btn .iconfont { + font-size:18px; + margin-right:5px; +} +.banner .btn:hover { + background-color:var(--zhuluan-primary-color-hover); + box-shadow:none +} +.xiezuo { + background-color:var(--zhuluan-white-color); + padding:65px 0; +} +.xiezuo .title { + text-align:center; +} +.xiezuo .title h2 { + padding-bottom:6px; +} +.xiezuo .title p { + color:var(--zhuluan-black-80-color) +} +.xiezuo .content { + margin-left:-20px; + box-sizing:border-box; + width:100%; +} +.xiezuo .list .icon, .xiezuo .list .icon img { + margin:0 auto; + width:120px; + height:120px; +} +.xiezuo .list .icon { + margin-bottom:12px; +} +.xiezuo .list .icon img { + opacity:.9 +} +.xiezuo .content .list { + border:1px solid var(--zhuluan-custom-ff-color); + border-radius:5px; + padding:25px 10px; + text-align:center; + width:calc(19.999999% - 22px); + margin:0 0 20px 20px; + box-sizing:border-box; +} +.xiezuo .list a { + display:block; +} +.xiezuo .content .list:last-child { + display:none; +} +.xiezuo .content .list .h3 { + font-size:24px; + font-weight:400; + color:var(--zhuluan-black-3-color) +} +.xiezuo .content .list p { + font-family:sans-serif; + font-size:18px; + color:var(--zhuluan-black-80-color); + text-transform:uppercase +} +.xiezuo .content .list, .xiezuo .content .list img, .xiezuo .content .list .h3, .xiezuo .content .list p { + transition:all .35s +} +.xiezuo .content .list:hover { + border-style:dashed; + border-color:var(--zhuluan-primary-color) +} +.xiezuo .content .list:hover img { + opacity:.6 +} +.xiezuo .content .list:hover .h3 { + color:var(--zhuluan-primary-color) +} +.xiezuo .content .list:hover p { + color:var(--zhuluan-black-3-color) +} +.relevance { + padding-top:50px; +} +.relevance .ve-clever { + margin-left:-20px; + padding-top:25px; +} +.relevance .list { + border:1px dashed var(--zhuluan-custom-ff-color); + margin:0 0 20px 20px; + width:calc(24.999999% - 22px) +} +.relevance .list dt { + padding:14px; + border-bottom:1px dashed var(--zhuluan-custom-ff-color); + text-align:center; + font-size:16px; + color:var(--zhuluan-black-6-color) +} +.relevance .list dd { + padding:20px 0; + text-align:center; + color:var(--zhuluan-black-80-color) +} +.relevance .list dd p { + width:49.99999%; + padding:8px 35px; +} +.xiezuo-header { + text-align:center; + padding:25px 18px; + border-radius:var(--zhuluan-primary-border-radius); + -webkit-border-radius:var(--zhuluan-primary-border-radius); + -moz-border-radius:var(--zhuluan-primary-border-radius); + -ms-border-radius:var(--zhuluan-primary-border-radius); + -o-border-radius:var(--zhuluan-primary-border-radius); +} +.xiezuo-header span { + color:var(--zhuluan-black-80-color) +} +.xiezuo-header h3 { + padding:10px; + font-size:24px; + font-weight:normal; +} +.xiezuo-header li { + margin:0 2px 4px 2px; +} +.xiezuo-header li span { + position:relative; + margin-left:3px; +} +.xiezuo-header li span:before { + content:"#"; + color:var(--zhuluan-custom-d8-color); + margin-right:3px; +} +.container { + padding-right:15px; + padding-left:15px; + margin-right:auto; + margin-left:auto +} +@media (min-width:768px) { + .container { + width:750px + } +} +@media (min-width:992px) { + .container { + width:980px + } +} +@media (min-width:1200px) { + .container { + width:85%; + } +} +@media (max-width:1444px) and (min-width:993px) { + .xiezuo .content .list { + width:calc(33.333333% - 22px); + } + .xiezuo .content .list:last-child { + display:block + } + .relevance .list dd p { + padding:8px 15px; + } +} +@media (max-width:992px) { + .layout-header { + position; + relative; + } + .layout-header, .layout-header .logo, .layout-header .logo .links { + height:50px + } + .layout-header .logo .links img { + width:auto + } + .layout-header .icon-menu { + display:block + } + .header-nav .nav { + display:none; + } + .header-nav.open-menu .nav { + display:block; + position:absolute; + z-index:10008; + left:0; + right:0; + top:60px; + width:100%; + padding:15px 0 25px; + border-top:1px solid var(--zhuluan-custom-d8-color); + background-color:var(--zhuluan-white-color); + box-shadow:0 6px 6px rgba(30, 30, 30, .06) + } + .layout-header .nav .list { + height:35px; + line-height:35px; + } + .layout-header .nav .nav-btn { + padding-left:32px; + padding-top:15px; + } + .layout-header .nav .btn { + margin:0 14px 0 0 + } + .layout-content { + padding:18px 0 32px + } + .article .creating-loading { + bottom:50%; + } + .layout-content .article { + -webkit-box-orient:vertical; + -webkit-box-direction:normal; + -webkit-flex-direction:column; + -ms-flex-direction:column; + flex-direction:column; + } + .article .layout-article { + width:100%; + margin-bottom:12px + } + .anchor-box .anchor-content { + width:92vw + } + .banner { + display:block; + padding-top:0; + height:400px; + } + .banner .images { + width:300px; + height:200px; + margin:0 auto + } + .banner h2, .title h2 { + font-size:24px + } + .banner .title { + padding-left:25px; + } + .xiezuo .content .list { + width:calc(49.999999% - 22px) + } + .xiezuo { + padding:40px 0 25px + } + .xiezuo .content { + padding-top:30px; + margin-left:-10px; + } + .xiezuo .content .list { + padding:15px 10px; + } + .xiezuo .content .list .icon, .xiezuo .content .list .icon img { + width:20vw; + height:20vw + } + .xiezuo .content .list .h3 { + font-size:20px; + } + .xiezuo .content .list p { + font-size:16px; + } + .layout-site-details { + padding-top:45px; + } + .layout-site-details h2 { + margin-bottom:40px; + } + .xiezuo .content .list:last-child { + display:block; + } + .relevance .list { + width:calc(49.999999% - 22px) + } + .relevance .list dd p { + padding:4px 5px; + } + .zhuluan-cms img { + width:80%; + } + #xiezuo-h1 { + font-size:18px; + } + #kw-tags { + height:auto; + } + #kw-box { + margin-bottom:4px; + } + .article-box { + margin:0 -10px; + padding:20px; + } +} +.semi-circle-spin { + position:relative; + width:35px; + height:35px; + overflow:hidden; +} +.semi-circle-spin:after { + content:''; + position:absolute; + border-width:0px; + border-radius:100%; + -webkit-animation:spin-rotate 0.6s 0s infinite linear; + animation:spin-rotate 0.6s 0s infinite linear; + background-image:-webkit-linear-gradient(transparent 0%, transparent 70%, var(--zhuluan-primary-color) 30%, var(--zhuluan-primary-color) 100%); + background-image:linear-gradient(transparent 0%, transparent 70%, var(--zhuluan-primary-color) 30%, var(--zhuluan-primary-color) 100%); + width:100%; + height:100%; +} +@-webkit-keyframes spin-rotate { + 0% { + -webkit-transform:rotate(0deg); + transform:rotate(0deg); + } + 50% { + -webkit-transform:rotate(180deg); + transform:rotate(180deg); + } + 100% { + -webkit-transform:rotate(360deg); + transform:rotate(360deg); + } +} +@keyframes spin-rotate { + 0% { + -webkit-transform:rotate(0deg); + transform:rotate(0deg); + } + 50% { + -webkit-transform:rotate(180deg); + transform:rotate(180deg); + } + 100% { + -webkit-transform:rotate(360deg); + transform:rotate(360deg); + } +} +.ball-clip-rotate-multiple { + position:relative; +} +.ball-clip-rotate-multiple > div { + -webkit-animation-fill-mode:both; + animation-fill-mode:both; + position:absolute; + left:0px; + top:0px; + border:2px solid #fff; + border-bottom-color:transparent; + border-top-color:transparent; + border-radius:100%; + height:35px; + width:35px; + -webkit-animation:rotate 1s 0s ease-in-out infinite; + animation:rotate 1s 0s ease-in-out infinite; +} +.ball-clip-rotate-multiple > div:last-child { + display:inline-block; + top:10px; + left:10px; + width:15px; + height:15px; + -webkit-animation-duration:0.5s; + animation-duration:0.5s; + border-color:#fff transparent #fff transparent; + -webkit-animation-direction:reverse; + animation-direction:reverse; +} diff --git a/css/icon.png b/css/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3e17da8b1aaae2935e19ac97d9015f0fe24e8770 GIT binary patch literal 11493 zcmXw-i8_L=B2002N!keAj3008p<06+u@0RRB3Ch*|`004MTNd;{rBqXFD zB&%2e0D$Z!Z{P_4pkV(eF!P%suK)mm#7josOUu>9%lDgyH9*43)xw%W*51R~*VV(( zlR`?1_qe+?5dfe7C`e0a`xRUi`Ue>;6==u zr867MFNs`{w|<#0EX;XW@Ez`*86j7CC^~w*>;d-%PWw-L7BL}H!Yfd0=)x|Gz=P4t zAgAi2DoAQ{fOHOWfpSy^ZVgdT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U{}aDBIpt=s z((Z7Ov)vj)X;-QacGM!4LpFDKm>jw_qvS;t!vrawYT6)`s8X(uwl8Y?YmZV3WOJWTqE4U%E#YI_BA7Zkd^-B^R;Cv*FI2%QZ#?Kg4iKT zQ?nHGfhFt{Zu|QC`)mDlZcdSxg?w29NLKBT^#!E^As9$w;J>T&RFHHpNog{MDHrb~ zT_&lIj6CHSYS@%sIB@XX!2=8FO=}=+m*_P~%F0r0r(m=wXC;9Jqt_%VA6_3~ML)O3 zN4TzZAc7kE`4{;g^V_ZSW+#Sm8$K!K-paW>-aKUn?D2%rSO`tx@kFnvHE|YOTYC-J zL#dUMnopAk)(V_z8wL%^8@bxeRMx$f+q3sz0lp?H=t`bzitQO!;tM zSPiP(duspeQq`cUzS>~yGt)*cXXJ8fAfTR9byd~XYOZ^Hqho0y>D`6g!Y;FTukQ1RDIY=eq_Xkt5byw}7MR8*VT ziT%{p#4Z>#cEfzJP%4hc?tdtDWNdb3Vs@s~;&&7$PfQi&TVjjvFU}u7GCLF7*4y7w zjTUE$^Q~@RBZm9&5MnrjG0b8H6INTgLcRkVcV<@2)hpnhN z>_8v-R_>?e-)r6Hbo2ddeM!Cg)kcgs*~m^3$>bn~oa7=mwUGz%cyX#&Dh@Px);=~h zd%W0`1|5?p3N!Z~**dsEtk^-zcJRc^L literal 0 HcmV?d00001 diff --git a/css/iconfont.woff b/css/iconfont.woff new file mode 100644 index 0000000000000000000000000000000000000000..d3c1f0591836365531cab54eda10ef572109eb3d GIT binary patch literal 3356 zcmZXWc{CLM8pgk9EMsr%VN%v)Uy`N8lKqE4S&|upp)6yGvBlViCc9*dM9G>h$rdwN zvkoF-jUv00Y;jNbo_qhf?>WzT&vTyhob&wo2{gNL1JD2f0IMKi{`-0P{^S4u^ewHm z0ia<70B8UJtj-d}g3T=D6ak>o1pxdNQd8I{2JMN$0zeZ70H_6k7LmOV;lp?YxdK3| z2>@d(0POzGK5t6hTu{ycKtBKg6aWCK!oNV4o0|&?0O%e7Ko|fZ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RY>-i0;B zq$-ObMs;+6q4QehhvzF}Dzx~G$)w6ztS|XM-!qV2lp0BNx(%~{!3?8NG6U5-T`L)% zTSc0A>Tg6DTU0P5*ey9LS8l(17a+69$xiTqd31LCK>5Frr`+lMSo6rA0xf)eL?%mO z_U3z>*2yCY{?yWx1c^%tn%^hu4;Q;%rk&BhS-~fKMQqj8<4b0)X%7tMdqEnW6PMK( zYU21^ooxs0pc+mLw0-ks?@ZVBcpoPk22)^hSk2CREJ6B;_6yDve#z4$#Dz>Abi0yR zqP~M6_S2et>KPw(5D}YMM1Srdj~LjNU^a%XiA141)%n8}7u5I_GkyN);SXB9*&0;u zxsZbq7`fcHADefKY)MP|EZx8R8g|r^qq0!Hv@- zvQj8c>Cvp|v?9M#j-ql+81idVRlrGhR)}S= z;QDtezkUA~lNhI=+W}RBC8wmTOC=&LC&-uu{M(=4jpPEzy|K=}eBoa7v{a$kZvhUfdh^>{6Xq$fW`w02-Nql+u5oI2tU{nA2oJWFfAQW_k{KU;0S~HHOCjGNj8Fv?LnPh@bsNt4$w!g1kZp zxW{Np0WLQtMazqHjUy(%J^56+q*0Nw`%Njy(>+J&1|{atik~sme$%fXx05p%y=Vjmx*Rhd2DsVs=k z!#+JI!_vv&U|u!oPPV-8j`Em56#Lsfj>RW2c@^!bzHtO%r7tS1s=QOM89Hj#f^$>o;_&`NFO_RZ$W>N_UZ1$`V%h z?l~;nyf68PW+Kh|7B1J5Xb6pv=h6umoK%->CNLN87>u2Zv=R&sFR0L{WlDNteoa>D zPw}+~4o)X|ETgDFiikcwb?|?6%;5skm;Fh904S{{0 Ze$uOl%0CW{S^dr=$qX|$Fp4h&@Gn~o6bS$T literal 0 HcmV?d00001 diff --git a/css/iconfont.woff2 b/css/iconfont.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..0114c80ae435588037088b149754bfe92f8544be GIT binary patch literal 3196 zcmV-?41@D`Pew8T0RR9101SKp3jhEB02d?x01Pew0RR9100000000000000000000 z0000SR0d!Gg%Ap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`5b7w946*YZ)ht84tg`OCD`mzbi=(`caN;i8rAMk?>EYov)uY`HI=SBC^>Ti6G zR7&m~{ey{@qe1G1aJybMCk_n07{r)1KceJq$9q*(jw8-3=h+3GU4Jw=V%ymFF%^eR8?e0!Ap?8fsgg&O)WGr2>z=0^`|#$C&qwjs z?ypfu%4EkEF8 z!X1EGREVi0SIS-@wH!cz1Ofqo4-#D{)<*k+cxiQqI}f|D@iy@cb%m^OG?a_W*cfAB zU%MJ%36Z<1q?!!L8QG?2quoN%Cw*bxXZgpIO&$n5>_>>|%p0kq@H^?wf=cuA5sLtEC^|*R}x#KwG+YpD-*lF@u5Zs~y)GV|=Qjtz! z^u^wg=R|w;JUj83(E1_0Yz-;n%Bj-e@6V@MnNnF<5v9f_$_Me%2?G!FmIz<~`F$jn z?^^YI_@nzWQ`EdOp_LJkr`L$mHHs75uP!=+gVfsD&QZ4~t1nj9Dt0#Gt!)nXtqy!9 zY(NFY94bej6&~HVW<>ntn!gAB@m<)teiVZVyM|9lQ{tO#QuZmRKkl zSqT356~-)aoENdejI*m^R-Nuhi?MhL>8S*zBxHzY*Aa)m)3rhHoT{x%z1F+H)%~Xe zY-Rx+kK4VG?u`@sFJVIf0i^$gBI9?J)(ySt{G57|Ri{EP>1k)1^RH|z+8`}1x>tE& zfumz>&^>(FOVa4t7G?&Bgw?ke)VT}-6eBmE*ctlg!r5wm-Bp&yYjVJ@l2ZbzvG`9(7iF^)KDl_HYKl`^Wne|H_)ibH{4-cCCUU<%js` ez7P~22y6BPVl_HH56$5`O?3iP!G+Bv5cO}DB7ai= literal 0 HcmV?d00001 diff --git a/css/wenda.css b/css/wenda.css new file mode 100644 index 0000000..8050b55 --- /dev/null +++ b/css/wenda.css @@ -0,0 +1,198 @@ +.logo-title { + line-height:50px; + color:#fff; + text-decoration:none +} +.layout-header .logo .links { + text-decoration:none; +} +.layout-header { + background:#202123; +} +.layout-header .nav .list .links { + color:#fff; +} +.xiezuo-header { + max-height:calc(100vh - 30px); + overflow-y:auto; + min-height:200px; +} +#article-wrapper { + min-height:calc(100vh - 320px); + border:1px solid; + border-radius:var(--zhuluan-primary-border-radius); +} +.article-box { + min-height:calc(100vh - 50px) !important; + position:relative; + display:flex; + flex-direction:column; + justify-content:space-around; +} +#fixed-block { + background-color:#40414F; + bottom:20px; +} +#kw-target-box { + border-radius:var(--zhuluan-primary-border-radius); + -webkit-border-radius:var(--zhuluan-primary-border-radius); + -moz-border-radius:var(--zhuluan-primary-border-radius); + -ms-border-radius:var(--zhuluan-primary-border-radius); + -o-border-radius:var(--zhuluan-primary-border-radius); +} +#popup { + display:none; + position:absolute; + top:50%; + left:50%; + transform:translate(-50%, -50%); + -webkit-transform:translate(-50%, -50%); + -moz-transform:translate(-50%, -50%); + -ms-transform:translate(-50%, -50%); + -o-transform:translate(-50%, -50%); + background-color:#fff; + padding:20px; + border:1px solid var(--zhuluan-border-color); + width:70%; + border-radius:var(--zhuluan-primary-border-radius); + -webkit-border-radius:var(--zhuluan-primary-border-radius); + -moz-border-radius:var(--zhuluan-primary-border-radius); + -ms-border-radius:var(--zhuluan-primary-border-radius); + -o-border-radius:var(--zhuluan-primary-border-radius); +} +#popup-close { + font-size:24px; + color:#666; + float:right; + cursor:pointer; +} +.popup-header { + height:30px; +} +.pop-title { + font-size:24px; +} +.popup-content { + margin-top:20px; +} +.image-wrapper { + display:flex; + flex-direction:row; + justify-content:space-around; +} +.image-wrapper img { + width:40%; +} +.popup-footer { + margin-top:10px; + text-align:center; +} +#count-down { + font-size:20px; + color:red; +} +#sure-pay { + margin-top:10px; + display:block; + width:120px; + height:40px; + line-height:40px; + border:1px solid var(--zhuluan-border-color); + border-radius:var(--zhuluan-primary-border-radius); + background-color:#0188fb; + color:#fff; + -webkit-border-radius:var(--zhuluan-primary-border-radius); + -moz-border-radius:var(--zhuluan-primary-border-radius); + -ms-border-radius:var(--zhuluan-primary-border-radius); + -o-border-radius:var(--zhuluan-primary-border-radius); + margin-left:50%; + transform:translateX(-50%); + -webkit-transform:translateX(-50%); + -moz-transform:translateX(-50%); + -ms-transform:translateX(-50%); + -o-transform:translateX(-50%); + cursor:pointer; +} +li.article-title { + background:#343541; + padding:14px; + color:#fff; + font-size:15px; +} +li.article-content { + background:#434654; + padding:14px; + color:#fff; + font-size:15px; +} +.article .creating-loading { + display:none; + position:absolute; + z-index:10008; + left:0; + top:0; + right:0; + bottom:0; + background-color:rgba(52, 53, 65, .68); + width:100%; + height:100%; +} +.layout-content { + padding:0 !important; +} +@media screen and (max-width:768px) { + #popup { + height:350px; + } + .image-wrapper img { + width:92px; + height:139px; + } +} +pre { + word-break:break-all; + word-wrap:break-word; + white-space:pre-wrap; +} +input { + display:none; +} +label { + display:block; + width:40px; + height:20px; + border-radius:20px; + background:rgb(164, 165, 179); + border:1px solid #A4A5B3; + cursor:pointer; + position:relative; + overflow:hidden; +} +label::before { + display:block; + content:''; + width:16px; + height:16px; + border-radius:50%; + background:white; + position:absolute; + left:1px; + top:50%; + transform:translateY(-50%); + transition:all .3s; +} +label::after { + display:block; + content:''; + width:0; + height:100%; + background:#202123; + transition:all .3s; + border-radius:10px; +} +input:checked + label::before { + left:20px; +} +input:checked + label::after { + width:100%; +} \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..2fd4f37 --- /dev/null +++ b/index.php @@ -0,0 +1,89 @@ +

请点击右上角,选择”在浏览器打开“

"; +// exit; +// } +// if (!isset($_SERVER['PHP_AUTH_USER'])) { +// header('WWW-Authenticate: Basic realm="Please input username and password."'); +// header('HTTP/1.0 401 Unauthorized'); +// echo 'Bye, honey.'; +// exit; +// } else { +// if (($_SERVER['PHP_AUTH_USER']=="admin")&&($_SERVER['PHP_AUTH_PW']=="admin")){ +// $type = "外网"; +// } else { +// echo 'Wrong password, bye...'; +// exit; +// } +// } +// } else { +// $type = "内网"; +// } +?> + + + + + + ChatGPT<?=$type?>专用版 + + + + +
+
+ +
+
+
+
+
+
+ ChatGPT是一个超强的AI,它会创作、写论文、答辩、编程等。请勿查询违法信息,服务器会保留查询记录。
+ 账户总查询次数有限,请不要过于浪费查询机会,仅限内部人员测试使用。
+
+
+
+   连续对话: + + +     默认开启,ChatGPT将以下面的对话信息作为上下文回答您的提问(含上下文问题最多3072个字符,AI回答不超过1024个字符)。 +
+
+
    +
+
+
+
+
+
+
+ +
+
+

发送

+
+
+
+
+
+
+
+
+ + + + + + + + diff --git a/js/chat.js b/js/chat.js new file mode 100644 index 0000000..2df4dc4 --- /dev/null +++ b/js/chat.js @@ -0,0 +1,101 @@ + +/* +//定时器*/ +var contextarray = []; +$(document).ready(function () { + + $("#kw-target").on('keydown', function (event) { + if (event.keyCode == 13) { + send_post(); + return false; + } + }); + $("#ai-btn").click(function () { + send_post(); + return false; + }); + $("#clean").click(function () { + $("#article-wrapper").html(""); + contextarray = []; + layer.msg("清理完毕!"); + return false; + }); + $("#showlog").click(function () { + let btnArry = ['已阅']; + layer.open({ + type: 1 + ,title: '全部对话日志' + ,area: ['80%', '80%'] + ,shade: 0.5 + ,scrollbar: true + ,offset: [ + ($(window).height() * 0.1) + ,($(window).width() * 0.1) + ] + ,content: '' + ,btn: btnArry + }); + return false; + }); + function articlewrapper(answer,str){ + $("#article-wrapper").append('
  • '); + if(str == null || str == ""){ + str="服务器响应超时,您可以更换词语再试试或过会儿再试。"; + } + let str_ = '' + let i = 0 + let timer = setInterval(()=>{ + if(str_.length问:'+prompt+''); + articlewrapper(randomString(16),"答:"+results.raw_message); + } + }); + } + + function randomString(len) { + len = len || 32; + var $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678'; /****默认去掉了容易混淆的字符oOLl,9gq,Vv,Uu,I1****/ + var maxPos = $chars.length; + var pwd = ''; + for (i = 0; i < len; i++) { + pwd += $chars.charAt(Math.floor(Math.random() * maxPos)); + } + return pwd; + } +}); diff --git a/js/jquery.cookie.min.js b/js/jquery.cookie.min.js new file mode 100644 index 0000000..36d6b65 --- /dev/null +++ b/js/jquery.cookie.min.js @@ -0,0 +1,2 @@ +/*! jquery.cookie v1.4.1 | MIT */ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); diff --git a/js/jquery.min.js b/js/jquery.min.js new file mode 100644 index 0000000..769a1d9 --- /dev/null +++ b/js/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.4.0 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.0",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ae(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ne(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ne(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n=void 0,r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(Q.set(this,i,k.event.trigger(k.extend(r.shift(),k.Event.prototype),r,this)),e.stopImmediatePropagation())}})):k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0'+(o?n.title[0]:n.title)+"":"";return n.zIndex=a,t([n.shade?'
    ':"",'
    '+(e&&2!=n.type?"":o)+'
    '+(0==n.type&&-1!==n.icon?'':"")+((1!=n.type||!e)&&n.content||"")+'
    '+(s=s?'':"",n.closeBtn&&(s+=''),s)+""+(n.btn?function(){var e="";"string"==typeof n.btn&&(n.btn=[n.btn]);for(var t=0,i=n.btn.length;t'+n.btn[t]+"";return'
    '+e+"
    "}():"")+(n.resize?'':"")+"
    "],o,m('
    ')),this},t.pt.creat=function(){var e,n=this,a=n.config,o=n.index,s="object"==typeof(l=a.content),r=m("body");if(!a.id||!m("#"+a.id)[0]){switch("string"==typeof a.area&&(a.area="auto"===a.area?["",""]:[a.area,""]),a.shift&&(a.anim=a.shift),6==g.ie&&(a.fixed=!1),a.type){case 0:a.btn="btn"in a?a.btn:c.btn[0],g.closeAll("dialog");break;case 2:var l=a.content=s?a.content:[a.content||"","auto"];a.content='';break;case 3:delete a.title,delete a.closeBtn,-1===a.icon&&a.icon,g.closeAll("loading");break;case 4:s||(a.content=[a.content,"body"]),a.follow=a.content[1],a.content=a.content[0]+'',delete a.title,a.tips="object"==typeof a.tips?a.tips:[a.tips,!0],a.tipsMore||g.closeAll("tips")}n.vessel(s,function(e,t,i){r.append(e[0]),s?2==a.type||4==a.type?m("body").append(e[1]):l.parents("."+d[0])[0]||(l.data("display",l.css("display")).show().addClass("layui-layer-wrap").wrap(e[1]),m("#"+d[0]+o).find("."+d[5]).before(t)):r.append(e[1]),m("#"+d.MOVE)[0]||r.append(c.moveElem=i),n.layero=m("#"+d[0]+o),n.shadeo=m("#"+d.SHADE+o),a.scrollbar||d.html.css("overflow","hidden").attr("layer-full",o)}).auto(o),n.shadeo.css({"background-color":a.shade[1]||"#000",opacity:a.shade[0]||a.shade}),2==a.type&&6==g.ie&&n.layero.find("iframe").attr("src",l[0]),4==a.type?n.tips():(n.offset(),parseInt(c.getStyle(document.getElementById(d.MOVE),"z-index"))||(n.layero.css("visibility","hidden"),g.ready(function(){n.offset(),n.layero.css("visibility","visible")}))),a.fixed&&f.on("resize",function(){n.offset(),(/^\d+%$/.test(a.area[0])||/^\d+%$/.test(a.area[1]))&&n.auto(o),4==a.type&&n.tips()}),a.time<=0||setTimeout(function(){g.close(n.index)},a.time),n.move().callback(),d.anim[a.anim]&&(e="layer-anim "+d.anim[a.anim],n.layero.addClass(e).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){m(this).removeClass(e)})),a.isOutAnim&&n.layero.data("isOutAnim",!0)}},t.pt.auto=function(e){var t=this.config,i=m("#"+d[0]+e);""===t.area[0]&&0t.maxWidth&&i.width(t.maxWidth));var n=[i.innerWidth(),i.innerHeight()],a=i.find(d[1]).outerHeight()||0,o=i.find("."+d[6]).outerHeight()||0,e=function(e){(e=i.find(e)).height(n[1]-a-o-2*(0|parseFloat(e.css("padding-top"))))};return 2===t.type?e("iframe"):""===t.area[1]?0t.maxHeight?(n[1]=t.maxHeight,e("."+d[5])):t.fixed&&n[1]>=f.height()&&(n[1]=f.height(),e("."+d[5])):e("."+d[5]),this},t.pt.offset=function(){var e=this,t=e.config,i=e.layero,n=[i.outerWidth(),i.outerHeight()],a="object"==typeof t.offset;e.offsetTop=(f.height()-n[1])/2,e.offsetLeft=(f.width()-n[0])/2,a?(e.offsetTop=t.offset[0],e.offsetLeft=t.offset[1]||e.offsetLeft):"auto"!==t.offset&&("t"===t.offset?e.offsetTop=0:"r"===t.offset?e.offsetLeft=f.width()-n[0]:"b"===t.offset?e.offsetTop=f.height()-n[1]:"l"===t.offset?e.offsetLeft=0:"lt"===t.offset?(e.offsetTop=0,e.offsetLeft=0):"lb"===t.offset?(e.offsetTop=f.height()-n[1],e.offsetLeft=0):"rt"===t.offset?(e.offsetTop=0,e.offsetLeft=f.width()-n[0]):"rb"===t.offset?(e.offsetTop=f.height()-n[1],e.offsetLeft=f.width()-n[0]):e.offsetTop=t.offset),t.fixed||(e.offsetTop=/%$/.test(e.offsetTop)?f.height()*parseFloat(e.offsetTop)/100:parseFloat(e.offsetTop),e.offsetLeft=/%$/.test(e.offsetLeft)?f.width()*parseFloat(e.offsetLeft)/100:parseFloat(e.offsetLeft),e.offsetTop+=f.scrollTop(),e.offsetLeft+=f.scrollLeft()),i.attr("minLeft")&&(e.offsetTop=f.height()-(i.find(d[1]).outerHeight()||0),e.offsetLeft=i.css("left")),i.css({top:e.offsetTop,left:e.offsetLeft})},t.pt.tips=function(){var e=this.config,t=this.layero,i=[t.outerWidth(),t.outerHeight()],n=m(e.follow),a={width:(n=!n[0]?m("body"):n).outerWidth(),height:n.outerHeight(),top:n.offset().top,left:n.offset().left},o=t.find(".layui-layer-TipsG"),n=e.tips[0];e.tips[1]||o.remove(),a.autoLeft=function(){0":'',o=i.success;return delete i.success,g.open(m.extend({type:1,btn:["确定","取消"],content:t,skin:"layui-layer-prompt"+x("prompt"),maxWidth:f.width(),success:function(e){(a=e.find(".layui-layer-input")).val(i.value||"").focus(),"function"==typeof o&&o(e)},resize:!1,yes:function(e){var t=a.val();""===t?a.focus():t.length>(i.maxlength||500)?g.tips("最多输入"+(i.maxlength||500)+"个字数",a,{tips:1}):n&&n(t,e,a)}},i))},g.tab=function(n){var a=(n=n||{}).tab||{},o="layui-this",s=n.success;return delete n.success,g.open(m.extend({type:1,skin:"layui-layer-tab"+x("tab"),resize:!1,title:function(){var e=a.length,t=1,i="";if(0'+a[0].title+"";t"+a[t].title+"";return i}(),content:'
      '+function(){var e=a.length,t=1,i="";if(0'+(a[0].content||"no content")+"";t'+(a[t].content||"no content")+"";return i}()+"
    ",success:function(e){var t=e.find(".layui-layer-title").children(),i=e.find(".layui-layer-tabmain").children();t.on("mousedown",function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0;var t=m(this),e=t.index();t.addClass(o).siblings().removeClass(o),i.eq(e).show().siblings().hide(),"function"==typeof n.change&&n.change(e)}),"function"==typeof s&&s(e)}},n))},g.photos=function(i,e,n){var t,a,o,s,r={};if((i=i||{}).photos){var l=!("string"==typeof i.photos||i.photos instanceof m),f=l?i.photos:{},c=f.data||[],d=f.start||0;r.imgIndex=1+(0|d),i.img=i.img||"img";var u=i.success;if(delete i.success,l){if(0===c.length)return g.msg("没有图片")}else{var y=m(i.photos),p=function(){c=[],y.find(i.img).each(function(e){var t=m(this);t.attr("layer-index",e),c.push({alt:t.attr("alt"),pid:t.attr("layer-pid"),src:t.attr("layer-src")||t.attr("src"),thumb:t.attr("src")})})};if(p(),0===c.length)return;if(e||y.on("click",i.img,function(){p();var e=m(this).attr("layer-index");g.photos(m.extend(i,{photos:{start:e,data:c,tab:i.tab},full:i.full}),!0)}),!e)return}r.imgprev=function(e){r.imgIndex--,r.imgIndex<1&&(r.imgIndex=c.length),r.tabimg(e)},r.imgnext=function(e,t){r.imgIndex++,r.imgIndex>c.length&&(r.imgIndex=1,t)||r.tabimg(e)},r.keyup=function(e){var t;r.end||(t=e.keyCode,e.preventDefault(),37===t?r.imgprev(!0):39===t?r.imgnext(!0):27===t&&g.close(r.index))},r.tabimg=function(e){if(!(c.length<=1))return f.start=r.imgIndex-1,g.close(r.index),g.photos(i,!0,e)},r.event=function(){r.bigimg.find(".layui-layer-imgprev").on("click",function(e){e.preventDefault(),r.imgprev(!0)}),r.bigimg.find(".layui-layer-imgnext").on("click",function(e){e.preventDefault(),r.imgnext(!0)}),m(document).on("keyup",r.keyup)},r.loadi=g.load(1,{shade:!("shade"in i)&&.9,scrollbar:!1}),t=c[d].src,a=function(e){var t;g.close(r.loadi),n&&(i.anim=-1),r.index=g.open(m.extend({type:1,id:"layui-layer-photos",area:(t=[e.width,e.height],e=[m(h).width()-100,m(h).height()-100],!i.full&&(t[0]>e[0]||t[1]>e[1])&&((e=[t[0]/e[0],t[1]/e[1]])[1]'+(c[d].alt||'+(1
    '+(c[d].alt||"")+""+r.imgIndex+" / "+c.length+"
    ":"")+"",success:function(e,t){r.bigimg=e.find(".layui-layer-phimg"),r.imgsee=e.find(".layui-layer-imgbar"),r.event(e),i.tab&&i.tab(c[d],e),"function"==typeof u&&u(e)},end:function(){r.end=!0,m(document).off("keyup",r.keyup)}},i))},o=function(){g.close(r.loadi),g.msg("当前图片地址异常
    是否继续查看下一张?",{time:3e4,btn:["下一张","不看了"],yes:function(){1 $sModel, + 'prompt' => str_replace('"', '', $prompt), + 'temperature' => $dTemperature, + 'max_tokens' => $iMaxTokens, + 'top_p' => $top_p, + 'frequency_penalty' => $frequency_penalty, + 'presence_penalty' => $presence_penalty, + 'stop' => '[" Human:", " AI:"]', +]; + +//echo json_encode($postData); + +curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); +curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); +curl_setopt($ch, CURLOPT_URL, 'https://api.openai.com/v1/completions'); +curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); +curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); +curl_setopt($ch, CURLOPT_POST, 1); +curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($postData)); + +$result = curl_exec($ch); +$complete = json_decode($result); + +if( isset( $complete->choices[0]->text ) ) { + $text = str_replace( "\\n", "\n", $complete->choices[0]->text ); +} elseif( isset( $complete->error->message ) ) { + $text = "服务器返回错误信息:".$complete->error->message; +} else { + $text = "抱歉,我不知道如何回答."; +} + + + +echo json_encode( [ + "message" => $text, + "raw_message" => $text, + "status" => "success", + ] ); + +$content2 = $_SERVER["REMOTE_ADDR"]." | ".date("Y-m-d H:i:s")."\n"; +$content2 .= "Q:".$_POST['message']."\nA:".$text."\n----------------\n"; +$myfile = fopen(__DIR__ . "/chat.txt", "a") or die("Writing file failed."); +fwrite($myfile, $content2); +fclose($myfile); +?> \ No newline at end of file