| Server IP : 103.30.41.158 / Your IP : 216.73.217.126 Web Server : nginx/1.24.0 System : Linux hlvps 5.14.0-457.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 30 22:48:58 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.0.26 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/yc.76haha.com/ |
Upload File : |
<?php
if (version_compare(PHP_VERSION, '7.1.0', '<')) {
die('require PHP >= 7.1 !');
}
include("./includes/common.php");
$mod = isset($_GET['mod'])?$_GET['mod']:'index';
if(isset($_GET['invite'])){
$invite_code = trim($_GET['invite']);
$uid = get_invite_uid($invite_code);
if($uid && is_numeric($uid)){
$_SESSION['invite_uid'] = intval($uid);
}
}
if($mod=='index'){
if($conf['homepage']==2){
echo '<html><frameset framespacing="0" border="0" rows="0" frameborder="0">
<frame name="main" src="'.$conf['homepage_url'].'" scrolling="auto" noresize>
</frameset></html>';
exit;
}elseif($conf['homepage']==1){
exit("<script language='javascript'>window.location.href='/user/';</script>");
}
}
$loadfile = \lib\Template::load($mod);
include $loadfile;