|
|
<?php
|
|
|
$type = "个人";
|
|
|
// if (substr($_SERVER["REMOTE_ADDR"],0,9)!="127.0.0.1"){
|
|
|
// if (strpos($_SERVER["HTTP_USER_AGENT"],"MicroMessenger")){
|
|
|
// echo "<div style='height:100%;width:100%;text-align:center;margin-top:30%;'><h1>请点击右上角,选择”在浏览器打开“</h1></div>";
|
|
|
// 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 = "内网";
|
|
|
// }
|
|
|
?>
|
|
|
<html lang="zh-CN">
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
<title>ChatGPT<?=$type?>专用版</title>
|
|
|
<link rel="stylesheet" href="css/common.css?v1.1">
|
|
|
<link rel="stylesheet" href="css/wenda.css?v1.1">
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="layout-wrap">
|
|
|
<header class="layout-header">
|
|
|
<div class="container" data-flex="main:justify cross:start">
|
|
|
<div class="header-logo">
|
|
|
<h2 class="logo"><a class="links" id="clean" title="清空对话信息"><span class="logo-title">清空对话信息</span></a></h2>
|
|
|
</div>
|
|
|
<div class="header-logo">
|
|
|
<h2 class="logo"><a class="links" id="showlog" title="查看他人对话"><span class="logo-title">查看他人对话</span></a></h2>
|
|
|
</div>
|
|
|
</div>
|
|
|
</header>
|
|
|
<div class="layout-content">
|
|
|
<div class="container">
|
|
|
<article class="article" id="article">
|
|
|
<div class="article-box">
|
|
|
<div style="text-align: center;color:#9ca2a8">
|
|
|
ChatGPT是一个超强的AI,它会创作、写论文、答辩、编程等。请勿查询违法信息,服务器会保留查询记录。<br/>
|
|
|
账户总查询次数有限,请不要过于浪费查询机会,仅限内部人员测试使用。<br/>
|
|
|
</div>
|
|
|
<div class="precast-block" data-flex="main:left">
|
|
|
<div class="input-group">
|
|
|
<span style="text-align: center;color:#9ca2a8"> 连续对话:</span>
|
|
|
<input type="checkbox" id="keep" checked style="min-width:220px;">
|
|
|
<label for="keep"></label>
|
|
|
<span style="text-align: center;color:#9ca2a8"> 默认开启,ChatGPT将以下面的对话信息作为上下文回答您的提问(含上下文问题最多3072个字符,AI回答不超过1024个字符)。</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<ul id="article-wrapper">
|
|
|
</ul>
|
|
|
<div class="creating-loading" data-flex="main:center dir:top cross:center">
|
|
|
<div class="semi-circle-spin"></div>
|
|
|
</div>
|
|
|
<div id="fixed-block">
|
|
|
<div class="precast-block" id="kw-target-box" data-flex="main:left cross:center">
|
|
|
<div id="target-box" class="box">
|
|
|
<input type="text" name="kw-target" placeholder="请点此提问" id="kw-target" autofocus>
|
|
|
</div>
|
|
|
<div class="right-btn layout-bar">
|
|
|
<p class="btn ai-btn bright-btn" id="ai-btn" data-flex="main:center cross:center"><i class="iconfont icon-wuguan"></i>发送</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</article>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<script src="js/jquery.min.js"></script>
|
|
|
<script src="js/jquery.cookie.min.js"></script>
|
|
|
<script src="js/layer.min.js" type="application/javascript"></script>
|
|
|
<script src="js/chat.js?v2.8"></script>
|
|
|
</body>
|
|
|
|
|
|
</html>
|
|
|
|