status == 'draft' ? zget($users, $doc->addedBy) . " {$lang->colon} " . substr($doc->addedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->createAB : zget($users, $doc->releasedBy) . " {$lang->colon} " . substr($doc->releasedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->release;?>
collects;?>
views;?>
keywords):?>
keywords as $keywords):?>
{$keywords}";?>
type == 'url' and $autoloadPage)
{
$url = $doc->content;
if(!preg_match('/^https?:\/\//', $doc->content)) $url = 'http://' . $url;
$urlIsHttps = strpos($url, 'https://') === 0;
$ztIsHttps = ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == 'on') or (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) and strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https'));
if(($urlIsHttps and $ztIsHttps) or (!$urlIsHttps and !$ztIsHttps))
{
echo "";
}
else
{
$parsedUrl = parse_url($url);
$urlDomain = $parsedUrl['scheme'] . '://' . $parsedUrl['host'];
$title = '';
$response = common::http($url);
preg_match_all('/";
echo "";
echo "
";
}
}
elseif($doc->contentType == 'markdown')
{
echo "";
}
elseif($doc->type != 'attachment')
{
echo $doc->content;
}
?>
type != 'attachment'):?>
files as $file):?>
extension, $config->file->imageExtensions)):?>
files[$file->id]);?>
";
echo "
{$title}
";
echo "" . html::a($url, $url, '_target') . "
";
echo "