-2 ORDER BY arc.id DESC LIMIT 0,12"; $arcArr = array(); $dsql->Execute('m', $query); while($row = $dsql->GetArray('m')) { $arcArr[] = $row; } ?> 1) { foreach($arcArr as $row) { if(trim($row['editcon'])==''){ $row['editcon'] = 'archives_edit.php'; } $rowarcrank = $row['arcrank']==-1? " [未审核]":""; $pubdate = GetDateMk($row['pubdate']); echo ""; } } else { ?>
{$row['title']}{$rowarcrank}{$pubdate}
暂无文档
-1001, "msg" => "PHP不支持OpenSSL,无法完成商业版授权", "result" => null, )); exit; } if (empty($cfg_auth_code)) { echo json_encode(array( "code" => -1002, "msg" => "当前站点尚未升级商业版授权", "result" => null, )); exit; } openssl_public_decrypt(base64_decode($cfg_auth_code), $decotent, DEDEPUB); $core_info = new stdClass; if (!empty($cfg_bizcore_appid) && !empty($cfg_bizcore_key)) { $client = new DedeBizClient($cfg_bizcore_hostname, $cfg_bizcore_port); $client->appid = $cfg_bizcore_appid; $client->key = $cfg_bizcore_key; $core_info = $client->SystemInfo(); $client->Close(); } if (!empty($decotent)) { $res = json_decode($decotent); if (isset($res->sid)) { echo json_encode(array( "code" => 200, "msg" => "", "result" => array( "domain" => $res->domain, "title" => $res->title, "stype" => $res->stype == 1 ? "企业单位" : "个人", "auth_version" => $res->auth_version, "auth_at" => date("Y-m-d", $res->auth_at), "core" => $core_info, ), )); } } } elseif ($dopost == 'get_statistics') { require_once(DEDEINC."/libraries/statistics.class.php"); //获取统计信息 $sdate = empty($sdate) ? 0 : intval($sdate); $stat = new DedeStatistics; $rs = $stat->GetInfoByDate($sdate); echo json_encode(array( "code" => 200, "msg" => "", "result" => $rs, )); exit; } elseif ($dopost == 'get_statistics_multi') { require_once(DEDEINC."/libraries/statistics.class.php"); //获取统计信息 $sdates = empty($sdates) ? array() : explode(",",preg_replace("[^\d\,]","",$sdates)) ; $stat = new DedeStatistics; $rs = $stat->GetInfoByDateMulti($sdates); echo json_encode(array( "code" => 200, "msg" => "", "result" => $rs, )); exit; } elseif ($dopost == 'safe_mode') { $safemsg = "当前系统环境运行模式为【安全模式】,安全模式下将无法使用后台“模板管理”、“标签管理”、“数据库管理”、“模块管理”等功能,如果您需要使用上述功能,可在`/system/common.inc.php`中,将`DEDEBIZ_SAFE_MODE`后面值TRUE更改为FALSE"; $unsafemsg = "当前系统环境运行模式为【非安全模式】,系统中“模板管理”、“标签管理”、“数据库管理”、“模块管理”等功能使用不当会存在一定的安全风险,建议您在`/system/common.inc.php`中,将`DEDEBIZ_SAFE_MODE`后面值FALSE更改为TRUE"; $modeStr = DEDEBIZ_SAFE_MODE? $safemsg : $unsafemsg; ShowMsg($modeStr, "javascript:;"); exit; } ?>