<?php
if (!defined('IN_CRONLITE')) die();
@header('Content-Type: text/html; charset=UTF-8');
$addsalt=md5(mt_rand(0,999).time());
$_SESSION['addsalt']=$addsalt;
$x = new \lib\hieroglyphy();
$addsalt_js = $x->hieroglyphyString($addsalt);
list($background_image, $background_css) = \lib\Template::getBackground();
?>
<p><!doctype html></p>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no;"/>
    <title>注册账号 - <?= $conf['sitename'];  ?></title>
    <meta name="keywords" content="<?= $conf['keywords'] ?>">
    <meta name="description" content="<?= $conf['description'] ?>">
    <link rel="shortcut icon" href="<?= $conf['default_ico_url'] ?>">
    <link href="<?= $cdnpublic?>twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="<?= $cdnserver; ?>assets/store/css/foxui.css">
    <link rel="stylesheet" type="text/css" href="<?= $cdnserver; ?>assets/store/css/style.css">
    <link rel="stylesheet" type="text/css" href="<?= $cdnserver; ?>assets/store/css/iconfont.css">
    <link href="<?= $cdnpublic?>font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="<?= $cdnserver?>assets/simple/css/main.css">
    <link rel="stylesheet" href="<?= $cdnserver?>assets/css/common.css">
  <!--[if lt IE 9]>
    <script src="<?= $cdnpublic?>html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="<?= $cdnpublic?>respond.js/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<?= str_replace('body','html',$background_css)?>
<style>
body {
    width: 100%;
    max-width: 650px;
    margin: auto;
    background: #f3f3f3;
    line-height: 24px;
    font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
}
.label{
    color: unset;
    line-height: 1.8;
}
.account-main{
    height: 100% !important;
}
a {
    text-decoration:none;
}
a:hover{
    text-decoration:none;
}
.fui-modal{z-index: 20;}
</style>
<body>
<div id="body">
    <div class="fui-page-group statusbar" style="max-width: 650px;left: auto;">
        <form id="form1">
            <div class="fui-modal popup-modal in">
                <div class="account-layer login" style="max-height:unset;margin:-13rem 0 0 -7.75rem;">
                        <div class="account-main">
                            <div class="account-back"><i class="icon icon-back"></i></div>
                            <div class="account-title">注 册 账 号</div>
                            <div class="form-group">
                                <div class="input-group">
                                    <div class="input-group-addon">
                                        <span class="fa fa-user"></span>
                                    </div>
                                    <input type="text" name="user" value="" class="form-control" required="required" placeholder="输入登录用户名"/>
                                </div>
                            </div>
<pre><code>                        &lt;div class=&quot;form-group&quot;&gt;
                            &lt;div class=&quot;input-group&quot;&gt;
                                &lt;div class=&quot;input-group-addon&quot;&gt;
                                    &lt;span class=&quot;fa fa-lock&quot;&gt;&lt;/span&gt;
                                &lt;/div&gt;
                                &lt;input type=&quot;text&quot; name=&quot;pwd&quot; class=&quot;form-control&quot; required=&quot;required&quot; placeholder=&quot;输入6位以上密码&quot;/&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;

                        &lt;div class=&quot;form-group&quot;&gt;
                            &lt;div class=&quot;input-group&quot;&gt;
                                &lt;div class=&quot;input-group-addon&quot;&gt;
                                    &lt;span class=&quot;fa fa-qq&quot;&gt;&lt;/span&gt;
                                &lt;/div&gt;
                              &lt;input type=&quot;text&quot; name=&quot;qq&quot; class=&quot;form-control&quot; required=&quot;required&quot; placeholder=&quot;输入QQ号,用于找回密码&quot;/&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;account-btn&quot; id=&quot;submit_reg&quot;&gt;注册&lt;/div&gt;
                    &lt;div style=&quot;text-align:center&quot;&gt;
                        &lt;i class=&quot;fa fa-user&quot;&gt;&lt;/i&gt;&amp;nbsp;已有账号?&lt;a href=&quot;login.php&quot;&gt;点此登录&lt;/a&gt;
                    &lt;/div&gt;
                    
                    &lt;div style=&quot;text-align: center;margin-bottom: 5px;color:#999;margin-top: 15px;&quot;&gt;
                    &lt;?php if($conf['login_qq']==1){?&gt;
                     &lt;hr style=&quot;border-top: 1px solid rgba(0,0,0,.1);&quot;&gt;   &lt;div style=&quot;color:#999;position: relative;top: -12px;width: 100px;background-color: white;margin: auto&quot;&gt;            第三方登录&lt;/div&gt;
                    &lt;div onclick=&quot;javascript:connect('qq')&quot; style=&quot;    width: 42px;height:42px;     border: 1px solid rgba(213, 213, 213, 1); border-radius: 21px;  margin: 15px auto ; margin-top: 10px;   background-image: url(../assets/img/logo2.png);background-size: 100%&quot;&gt;
                    &lt;?php } ?&gt;
                    &lt;/div&gt;
                    &lt;div style=&quot;text-align:center;&quot;&gt;&lt;a href=&quot;javascript:goback();&quot; class=&quot;&quot;&gt;返回&lt;/a&gt;&lt;/div&gt;
                    &lt;br/&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/form&gt;
&lt;/div&gt;
&lt;div class=&quot;fui-navbar&quot; style=&quot;z-index: 100000;max-width: 650px;&quot;&gt;
    &lt;a href=&quot;../&quot; class=&quot;nav-item  &quot;&gt; &lt;span class=&quot;icon icon-home&quot;&gt;&lt;/span&gt; &lt;span class=&quot;label&quot;&gt;首页&lt;/span&gt; &lt;/a&gt;
    &lt;a href=&quot;../?mod=query&quot; class=&quot;nav-item &quot;&gt; &lt;span class=&quot;icon icon-dingdan1&quot;&gt;&lt;/span&gt; &lt;span class=&quot;label&quot;&gt;订单&lt;/span&gt; &lt;/a&gt;
    &lt;a href=&quot;../?mod=cart&quot; class=&quot;nav-item &quot; &lt;?php if($conf['shoppingcart']==0){?&gt;style=&quot;display:none&quot;&lt;?php }?&gt;&gt; &lt;span class=&quot;icon icon-cart2&quot;&gt;&lt;/span&gt; &lt;span class=&quot;label&quot;&gt;购物车&lt;/span&gt; &lt;/a&gt;
    &lt;a href=&quot;http://kf.kashoule.com/index/index/home?visiter_id=&amp;visiter_name=&amp;avatar=&amp;business_id=2&amp;groupid=0&amp;special=2&amp;theme=ef10c3&quot; class=&quot;nav-item &quot;&gt; &lt;span class=&quot; icon icon-service1&quot;&gt;&lt;/span&gt; &lt;span class=&quot;label&quot;&gt;客服&lt;/span&gt; &lt;/a&gt;
    &lt;a href=&quot;./&quot; class=&quot;nav-item active&quot;&gt; &lt;span class=&quot;icon icon-person2&quot;&gt;&lt;/span&gt; &lt;span class=&quot;label&quot;&gt;会员中心&lt;/span&gt; &lt;/a&gt;
&lt;/div&gt;
</code></pre>
</div>
<script src="<?= $cdnpublic?>jquery/1.12.4/jquery.min.js"></script>
<script src="<?= $cdnpublic?>layer/2.3/layer.js"></script>
<script src="../assets/js/reguser.js?ver=<?= VERSION ?>"></script>
<script>
function goback()
{
    document.referrer === '' ?window.location.href = '/' :window.history.go(-1);
}
var hashsalt=<?= $addsalt_js?>;
</script>
</body>
</html
代码审计 去掉验证码这个功能phpif !definedIN_CRONLITE die;headerContent-Type texthtml; charset=UTF-8;$addsalt=md5mt_rand0999time;$_SESSIONaddsalt=$addsalt;$x = new libhieroglyphy;$addsalt_js = $x-hieroglyphyString$

原文地址: https://www.cveoy.top/t/topic/cHLo 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录