webmain/system/email/emailAction.php
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
class emailClassAction extends Action
{
public function setsaveAjax()
{
$this->option->setval('email_sendhost@-1', $this->post('sendhost'));
$this->option->setval('email_sendport@-1', $this->post('sendport'));
$this->option->setval('email_recehost@-1', $this->post('recehost'));
$this->option->setval('email_sendsecure@-1', $this->post('sendsecure'));
$this->option->setval('email_sysname@-1', $this->post('sysname'));
$this->option->setval('email_sysuser@-1', $this->post('sysuser'));
$this->option->setval('email_receyumi@-1', $this->post('receyumi'));
$syspass = $this->post('syspass');
if(!isempt($syspass)){
$this->option->setval('email_syspass@-1', $this->jm->encrypt($syspass));
}
$this->backmsg();
}
public function getsetAjax()
{
$arr= array();
$arr['sendhost'] = $this->option->getval('email_sendhost');
$arr['sendport'] = $this->option->getval('email_sendport');
$arr['recehost'] = $this->option->getval('email_recehost');
$arr['sendsecure'] = $this->option->getval('email_sendsecure');
$arr['sysname'] = $this->option->getval('email_sysname');
$arr['sysuser'] = $this->option->getval('email_sysuser');
$arr['receyumi'] = $this->option->getval('email_receyumi');
echo json_encode($arr);
}
public function savebeforecog($table, $cans)
{
$emailpass = $this->post('emailpass');
if(!isempt($emailpass)){
$cans['emailpass'] = $this->jm->encrypt($emailpass);
}
return array(
'rows' => $cans
);
}
public function coguserbeforeshow($table)
{
$fields = '`id`,`name`,`user`,`deptallname`,`status`,`ranking`,`email`,`sort`,`face`,`emailpass`';
$s = '';
$key = $this->post('key');
if($key!=''){
$s = m('admin')->getkeywhere($key);
}
return array(
'fields'=> $fields,
'where' => $s,
'order' => '`sort`'
);
}
public function coguseraftershow($table, $rows)
{
foreach($rows as $k=>$rs){
后面还有 118 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
