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.

39 lines
1.2 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">
7 months ago
<div class="breadcrumbs">
<a href="<?=$linkPrefix?>/my/">&lt;&lt;返回</a>
</div>
<div class="g_form_style">
7 months ago
<div>
点击昵称切换:
</div>
<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>
7 months ago
<p class="mt20">你可以拥有多个“聚宝盆”,每个聚宝盆可以设定不同的主题。</p>
</div>
</main>