123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <!doctype html>
- <html>
- <head>
- <include file="public/head"/>
- <title>ThinkCMF插件演示首页</title>
- <meta name="description" content="ThinkCMF插件演示首页">
- <meta name="keywords" content="ThinkCMF插件演示首页">
- </head>
- <body>
- <div class="wrap js-check-wrap">
- <ul class="nav nav-tabs">
- <li class="active"><a>插件演示后台</a></li>
- </ul>
- <div class="common-form">
- <div>
- <php>
- $config = $plugin->getConfig();
- $pluginName = $plugin->getName();
- $pluginInfo = $plugin->checkInfo();
- $configFilePath = $plugin->getConfigFilePath();
- $defaultConfig = $plugin->getDefaultConfig();
- $pluginThemeRoot = $plugin->getThemeRoot();
- $pluginFetchContent = $plugin->testFetch();
- echo "<b>\$plugin->getConfig():</b>";
- dump($config);
- echo "<b>\$plugin->getName():</b>";
- dump($pluginName);
- echo "<b>\$plugin->checkInfo():</b>";
- dump($pluginInfo);
- echo "<b>\$plugin->getConfigFilePath():</b>";
- dump($configFilePath);
- echo "<b>\$plugin->getDefaultConfig():</b>";
- dump($defaultConfig);
- echo "<b>\$plugin->getThemeRoot():</b>";
- dump($pluginThemeRoot);
- echo "<b>\$plugin->testFetch():</b>";
- dump($pluginFetchContent);
- </php>
- </div>
- <div class="well">
- <p>
- <b>当前登录管理员id:</b>{$admin_id|default='管理员未登录'}
- </p>
- <p>
- <b>网站根目录:</b>__ROOT__
- </p>
- <p>
- <b>插件根目录:</b>__PLUGIN_ROOT__
- </p>
- <p>
- <b>插件模板根目录:</b>__PLUGIN_TMPL__
- </p>
- <p>
- <b>后台当前模板目录:</b>__ADMIN_TMPL__
- </p>
- <p>
- <b>网站资源根目录:</b>__WEB_ROOT__
- </p>
- <p>
- <b>public/static目录:</b>__STATIC__
- </p>
- </div>
- <form method="post" class="js-ajax-form" action="#">
- <div class="table_list">
- <table width="100%" class="table table-hover">
- <thead>
- <tr>
- <th width="50">ID</th>
- <th>用户名</th>
- <th>邮箱</th>
- <th>注册时间</th>
- <th width="120">操作</th>
- </tr>
- </thead>
- <tbody>
- <foreach name="users" item="vo">
- <tr>
- <td>{$vo.id}</td>
- <td>{$vo.user_login}</td>
- <td>{$vo.user_email}</td>
- <td>{$vo.create_time}</td>
- <td>
- <a href="javascript:;">修改</a>|
- <a href="javascript:;" class="js-ajax-delete">删除</a>
- </td>
- </tr>
- </foreach>
- </tbody>
- </table>
- </div>
- </form>
- </div>
- </div>
- <include file="public/scripts"/>
- </body>
- </html>
|