webmain/system/geren/gerenAction.php
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
class gerenClassAction extends Action
{
public function getinitAjax()
{
$uid = $this->adminid;
$carr= m('admin')->getcompanyinfo($uid);
return array(
'gerentodo' => $this->option->getval('gerennotodo_'.$uid.''),
'qmimgstr' => $this->option->getval('qmimgstr_'.$uid.''),
'carr' => $carr,
);
}
public function cogsaveAjax()
{
$uid = $this->adminid;
$this->option->setval('gerennotodo_'.$uid.'', $this->get('gerentodo','0'));
}
//保存图片
public function qmimgsaveAjax()
{
$uid = $this->adminid;
$str = '';
$qmimgstr = $this->post('qmimgstr');
if(!isempt($qmimgstr)){
if(contain($qmimgstr,'.')){
$str = $qmimgstr;
}else{
$qma = explode(',', $qmimgstr);
$str = ''.UPDIR.'/'.date('Y-m').'/'.$uid.'qming_'.rand(1000,9999).'.png';
$this->rock->createtxt($str, base64_decode($qma[1]));
}
}
$this->option->setval('qmimgstr_'.$uid.'', $str);
}
public function filebefore($table)
{
$key = $this->post('key');
$atype = $this->post('atype');
$dt1 = $this->post('dt1');
$dt2 = $this->post('dt2');
$where = 'and optid='.$this->adminid.'';
if($atype=='all' && $this->adminid == 1){
$where='';
if($this->adminid>1)$where=m('admin')->getcompanywhere(3);
}
if($key!=''){
$where.=" and (`optname` like '%$key%' or `filename` like '%$key%' or `mtype`='$key')";
}
if($dt1!='')$where.=" and `adddt`>='".$dt1." 00:00:00'";
if($dt2!='')$where.=" and `adddt`<='".$dt2." 23:59:59'";
return array(
'where' => $where,
);
后面还有 179 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
