*/
header ( 'X-UA-Compatible: IE = edge, chrome = 1' );
$ilinks = array (
array ( '/'. $conf [ "lang" ] . '/start', tpl_getLang ( 'start' ), '_self' ),
array ( '/'. $conf [ "lang" ] . '/menu', tpl_getLang ( 'menu' ), '_self' ),
array ( '/'. $conf [ "lang" ] . '/news/index', tpl_getLang ( 'news' ), '_self' ),
array ( '/'. $conf [ "lang" ] . '/wiki/index', tpl_getLang ( 'helproom' ), '_blank' ),
array ( '//discord.gg/T8p6M4Q', tpl_getLang ( 'chat' ), '_blank' ),
array ( '//app.comicslate.org/', 'Mobile App', '_blank' ),
);
$t2 = "\n\t\t"; $t3 = "\n\t\t\t"; $t4 = "\n\t\t\t\t"; $t5 = "\n\t\t\t\t\t"; $t6 = "\n\t\t\t\t\t\t";
$apps = "\t\t\t\t" . '
' . $t4;
$socbut = array (
array ( '/feed.php', tpl_getLang ( 'RSS' ), 'rss' ),
array ( '/feed.php?onlynewpages=1', tpl_getLang ( 'RSS' ) . ' (' . tpl_getLang ( 'RSSnew' ) . ')', 'rss' ),
array ( '//patreon.com/comicslate', 'Patreon', 'patreon' ),
array ( '//discord.gg/T8p6M4Q', 'Discord', 'discord' ),
array ( '//t.me/comicslate', 'Telegram', 'telegram' ),
array ( '//www.reddit.com/r/Comicslate', 'Reddit', 'reddit' ),
array ( '//rainbow-spike.tumblr.com', 'Tumblr', 'tumblr' ),
array ( '//facebook.com/groups/comicslate', 'Facebook', 'facebook' ),
array ( '//twitter.com/Rainbow_Spike', 'Twitter', 'twitter' ),
array ( '//vk.com/comicslate', 'VKontakte', 'vkontakte' ),
array ( '/feed.php?mode=recent&ns=' . $INFO [ 'namespace' ], tpl_getLang ( 'RSSpart' ), 'rss' ),
array ( '/feed.php?mode=recent&ns=' . $INFO [ 'namespace' ] . '&onlynewpages=1', tpl_getLang ( 'RSSpart' ) . ' (' . tpl_getLang ( 'RSSnew' ) . ')', 'rss' )
);
echo "\n" . '' .
"\n\t" . '' . // HEAD
$t2 . '' .
$t2 . '' .
$t3 ; tpl_pagetitle ( ); echo ' [Comicslate]' .
$t2 . '' .
$t2 . '' .
$t2 . tpl_favicon ( array ( 'favicon', 'mobile' ) ) .
$t2; tpl_metaheaders ( );
echo "\n\t" . '' .
"\n\t" . '' . // BODY
$t2 . '' .
$t3 . '
' .
$t4 . '
' . // Logo
$t5 . '
' .
$t4 . '
' .
$t4 . '' .
$t3 . '
' .
tpl_flush ( );
echo $t3 . '
' . // PAGE
"\n" . $apps; // App buttons top
if ( $ERROR ) {
print $ERROR;
} else {
echo $t4 .'' . hsc ( tpl_img_getTag ( "IPTC.Headline", $IMG ) ) . '
' .
$t4 . '' .
$t5; tpl_img ( 900, 700 );
echo $t5 . '
';
print nl2br (
hsc (
tpl_img_getTag (
array (
"IPTC.Caption",
"EXIF.UserComment",
"EXIF.TIFFImageDescription",
"EXIF.TIFFUserComment"
)
)
)
); echo $t5 . '
' .
$t4 . '
' .
$t4 . '' .
$t5 . '
←' . $lang["img_backto"]; tpl_pagelink ( $ID ); echo '
' .
$t5 . '
';
$t = tpl_img_getTag ( 'Date.EarliestTime' );
if ( $t ) {
print $t6 . '- ' . $lang['img_date'] . '
' .
$t6 . '- ' . date ( $conf['dformat1'], $t ) . '
';
}
$t = tpl_img_getTag ( 'File.Name' );
if ( $t ) {
print $t6 . '- ' . $lang['img_fname'] . '
' .
$t6 . '- ' . hsc ( $t ) . '
';
}
$t = tpl_img_getTag (
array (
'Iptc.Byline',
'Exif.TIFFArtist',
'Exif.Artist',
'Iptc.Credit'
)
);
if ( $t ) {
print $t6 . '- ' . $lang['img_artist'] . '
' .
$t6 . '- ' . hsc ( $t ) . '
';
}
$t = tpl_img_getTag (
array (
'Iptc.CopyrightNotice',
'Exif.TIFFCopyright',
'Exif.Copyright'
)
);
if ( $t ) {
print $t6 . '- ' . $lang['img_copyr'] . '
' .
$t6 . '- ' . hsc ( $t ) . '
';
}
$t = tpl_img_getTag ( 'File.Format' );
if ( $t ) {
print $t6 . '- ' . $lang['img_format'] . '
' .
$t6 . '- ' . hsc ( $t ) . '
';
}
$t = tpl_img_getTag ( 'File.NiceSize' );
if ( $t ) {
print $t6 . '- ' . $lang['img_fsize'] . '
' .
$t6 . '- ' . hsc ( $t ) . '
';
}
$t = tpl_img_getTag ( 'Simple.Camera' );
if ( $t ) {
print $t6 . '- ' . $lang['img_camera'] . '
' .
$t6 . '- ' . hsc ( $t ) . '
';
}
$t = tpl_img_getTag (
array (
'IPTC.Keywords',
'IPTC.Category'
)
);
if ( $t ) {
print $t6 . '- ' . $lang['img_keywords'] . '
' .
$t6 . '- ' . hsc ( $t ) . '
';
}
echo $t5 . '
';
// dbg ( tpl_img_getTag ( 'Simple.Raw' ) ); // Comment in for Debug
echo $t4 . '
';
};
echo $t3 . '';
tpl_flush ( );
echo $t3 . '
' .
$t4 . '' .
$t3 . '' .
$t3 . '
' .
$t2 . '
' .
"\n\t" . '' .
"\n" . '';