webmain/task/mode/modeAction.php
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
class modeClassAction extends ActionNot
{
public function init123Action()
{
$aid = (int)$this->get('adminid');
$token = $this->get('token');
$aid = m('login')->autologin($aid, $token);
if($aid==0){
$this->mweblogin(1);
}
$this->getlogin(1);
}
public function initAction()
{
$this->mweblogin(0);
}
public function defaultAction()
{
$fn = $this->get('fn');
$title = $this->rock->jm->base64decode($this->get('title'));
if($title!='')$this->title = $title;
$path = P.'/task/mode/html/'.$fn.'.html';
if(!file_exists($path))exit('not found '.$fn.'');
$this->displayfile = $path;
}
//移动端页面详情
public function xAction()
{
$num = $this->get('modenum');
if($num=='')$num=$this->get('num');
$mid = (int)$this->get('mid');
if($num=='' || $mid==0)exit('无效请求');
$arr = m('flow')->getdatalog($num, $mid, 1);
$pagetitle = $arr['title'];
$this->title = $arr['title'];
if($pagetitle=='')$pagetitle = $arr['modename'];
$this->smartydata['arr'] = $arr;
$spagepath = P.'/flow/page/viewpage_'.$num.'_1.html';
if(!file_exists($spagepath))$spagepath = P.'/flow/page/viewpage_'.$num.'.html';
if(!file_exists($spagepath)){
$spagepath = '';
}
$this->smartydata['spagepath'] = $spagepath;
$this->smartydata['pagetitle'] = $pagetitle;
$inputjspath = P.'/flow/input/inputjs/mode_'.$num.'.js';
if(!file_exists($inputjspath)){
$inputjspath = '';
}
$this->smartydata['inputjspath'] = $inputjspath;
$this->assign('inputobj', c('input'));
后面还有 128 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
