westdc-zf1/module/Article/view/article/index/index.phtml

49 lines
2.1 KiB
PHTML

<div class="jumbotron">
<h1>Sunflowercms</h1>
<p><?php echo sprintf($this->translate('Congratulations! You have successfully installed the %sZF2 Skeleton Application%s. You are currently running Zend Framework version %s. This skeleton can serve as a simple starting point for you to begin building your application on ZF2.'), '<a href="https://github.com/zendframework/ZendSkeletonApplication" target="_blank">', '</a>', \Zend\Version\Version::VERSION) ?></p>
<p><a class="btn btn-success btn-lg" href="https://github.com/zendframework/zf2" target="_blank"><?php echo $this->translate('Fork Zend Framework 2 on GitHub') ?> &raquo;</a></p>
</div>
<div class="row">
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $this->translate('Follow Development') ?></h3>
</div>
<div class="panel-body">
<form action="/service/upload" method="post" enctype="multipart/form-data">
<input type="file" name="Filedata" />
<button type="submit">文件上传</button>
</form>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $this->translate('Discover Modules') ?></h3>
</div>
<div class="panel-body">
<?php
$userid = \Sookon\Helpers\View::User('id'); ?>
<?= $userid; ?>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $this->translate('Help &amp; Support') ?></h3>
</div>
<div class="panel-body">
<p>OS : <?= \Sookon\Helpers\View::checkOs(); ?></p>
<p>Version : <?= PHP_VERSION ?></p>
<p>PHP Session auto start : <?php echo ini_get('session.auto_start') ? "On":"Off"; ?></p>
</div>
</div>
</div>
</div>