filesite
6 months ago
6 changed files with 129 additions and 4 deletions
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
<?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>你还没有创建聚宝盆哦!</li> |
||||
eof; |
||||
} |
||||
?> |
||||
</ul> |
||||
</div> |
||||
</main> |
Loading…
Reference in new issue