webmain/reim/index/indexAction.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
class indexClassAction extends ActionNot
{
	public function initAction()
	{
		
	}
	
	public function defaultAction()
	{
		$ybarr	 = $this->option->authercheck();
		if(is_string($ybarr))return $ybarr;
		
		if($this->adminid==0){
			$this->rock->location('?d=reim&m=login');
		}
		$this->title 	= getconfig('reimtitle','REIM');
		$my				= $this->db->getone('[Q]admin', "`id`='$this->adminid'",'`face`,`id`,`name`,`ranking`,`deptname`,`deptallname`,`type`,`style`');
		
		$this->smartydata['my']			= $my;
		$this->smartydata['face']		= $this->rock->repempt($my['face'], 'images/noface.png');
	}
	
	public function xinAction()
	{
		$ybarr	 = $this->option->authercheck();
		if(is_string($ybarr))return $ybarr;
		
		if($this->adminid==0){
			$this->rock->location('?d=reim&m=login&a=xin');
		}
		$this->title 	= getconfig('reimtitle','REIM');
		$my				= $this->db->getone('[Q]admin', "`id`='$this->adminid'",'`face`,`id`,`name`,`ranking`,`deptname`,`deptallname`,`type`,`style`');
		
		$this->smartydata['my']			= $my;
		$this->smartydata['face']		= $this->rock->repempt($my['face'], 'images/noface.png');
		$this->smartydata['logo']		= 'images/logo.png';
		$this->smartydata['showtitle']	= TITLE;
		
		if(ISMORECOM){
			$companyinfo = m('admin')->getcompanyinfo($this->adminid, 1);
			$oaname 	 = $companyinfo['oaname'];
			if(!isempt($oaname))$this->smartydata['showtitle'] = $oaname;
			$this->smartydata['logo'] = $companyinfo['logo'];
		}
	}
	
	public function xinaAction()
	{
		$ybarr	 = $this->option->authercheck();
		if(is_string($ybarr))return $ybarr;
		
		if($this->adminid==0){
			$this->rock->location('?d=reim&m=login&a=xina');
		}
		$this->xinAction();
	}
	
	public function istsings()
	{
后面还有 3 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。