摘要:
<?php defined('IN_TS') or die('Access Denied.');//用户是否登录$userid = aac('user')->isLogin();if($userid ==1){$dbuserid=$db->once_fetch_assoc("SELECT userid FROM `ts_user` ORDER BY rand( ) LIMIT 1");$userid = $dbuserid['userid'];}switch($ts){ //添加评论 case 阅读全文