Source code of filesite.io.
https://filesite.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
34 lines
1.0 KiB
<?php |
|
//常用方法 |
|
require_once __DIR__ . '/../../../../plugins/Html.php'; |
|
$imgPreffix = '/' . FSC::$app['config']['content_directory'] . FSC::$app['config']['tajian']['data_dir']; |
|
|
|
$linkPrefix = ''; |
|
//多用户路径支持 |
|
if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['user_id'])) { |
|
$linkPrefix = '/' . FSC::$app['user_id']; |
|
} |
|
|
|
?><main class="g_main_lay"> |
|
<div class="g_form_style"> |
|
<div class="vercenter"> |
|
<strong class="nickname">点击切换</strong> |
|
</div> |
|
<hr> |
|
<ul class="mg_menus"> |
|
<?php |
|
if (!empty($viewData['myNicks'])) { |
|
foreach($viewData['myNicks'] as $dir => $nickname) { |
|
echo <<<eof |
|
<li><a href="{$linkPrefix}/my/index?dir={$dir}">{$dir} {$nickname}</a></li> |
|
eof; |
|
} |
|
}else { |
|
echo <<<eof |
|
<li><a href="/site/logout">退出重新登录</a></li> |
|
eof; |
|
} |
|
?> |
|
</ul> |
|
</div> |
|
</main>
|
|
|