begin of thinksaas 3.68

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2023-06-22 13:33:25 +08:00
commit 963ec1b2ea
2746 changed files with 331806 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
<?php
defined('IN_TS') or die('Access Denied.');
$userid = tsIntval($GLOBALS['TS_USER']['userid']);
switch($ts){
case "":
if($userid==0){
echo 2;exit;
}
if($new['user']->signin()){
echo 1;exit;
}else{
echo 0;exit;
}
break;
case "ajax":
$strSign = $new['user']->find('sign',array(
'userid'=>$userid,
'addtime'=>date('Y-m-d'),
));
$strScore = $new['user']->find('user_score',array(
'app'=>'user',
'action'=>'signin',
'mg'=>'',
'ts'=>'',
));
include template('signin_ajax');
break;
}