-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; } ?>