mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2025-04-21 03:24:38 +00:00
parent
74e502a853
commit
f2b3280e68
@ -6,14 +6,21 @@
|
||||
$blogs_pag = new Paginator(array(
|
||||
'col_names' => array('*'),
|
||||
'table_name' => 'blogs',
|
||||
'cond' => "poster = '".UOJContext::user()['username']."' and is_hidden = 0",
|
||||
'cond' => "poster = '".UOJContext::userid()."' and is_hidden = 0",
|
||||
'tail' => 'order by post_time desc limit 5',
|
||||
'echo_full' => true
|
||||
));
|
||||
?>
|
||||
<?php
|
||||
|
||||
if (!isset($_COOKIE['bootstrap4'])) {
|
||||
$REQUIRE_LIB['bootstrap5'] = '';
|
||||
}
|
||||
|
||||
$REQUIRE_LIB['mathjax'] = '';
|
||||
$REQUIRE_LIB['shjs'] = '';
|
||||
if (isset($REQUIRE_LIB['bootstrap5'])) {
|
||||
$REQUIRE_LIB['hljs'] = '';
|
||||
} else {
|
||||
$REQUIRE_LIB['shjs'] = '';
|
||||
}
|
||||
?>
|
||||
<?php echoUOJPageHeader(UOJContext::user()['username'] . '的博客') ?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user