40 lines
1.4 KiB
PHTML
40 lines
1.4 KiB
PHTML
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle('后台管理');
|
||
$this->headTitle()->setSeparator(' - ');
|
||
$this->headLink()->appendStylesheet('/css/admin.css');
|
||
$this->breadcrumb('<a href="/">首页</a>');
|
||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
||
$this->breadcrumb('数据通讯管理</a>');
|
||
$this->breadcrumb()->setSeparator(' > ');
|
||
?>
|
||
<div id="leftPanel">
|
||
<?= $this->partial('data/left.phtml'); ?>
|
||
</div>
|
||
<div id="rightPanel">
|
||
<?php if ($this->msg or $this->messages) :?>
|
||
<div id="message">
|
||
<?php if ($this->msg) : ?>
|
||
<p><?php echo $this->msg; ?></p>
|
||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||
<p><?php echo $msg; ?></p>
|
||
<?php endforeach;endif; ?>
|
||
</div>
|
||
<?php endif; ?>
|
||
数据通讯上传格式要求:PDF文件名称为newsletter_N.pdf格式,其中N为数字,代表第几期。
|
||
<?= $this->form; ?>
|
||
<?php
|
||
foreach ($this->newsletters as $nl){
|
||
$name=basename($nl,'.pdf');
|
||
list(,$num)=explode("_",$name);
|
||
?>
|
||
<div class="newsletter">
|
||
|
||
<a href="/images/newsletter/<?php echo $nl; ?>" target="_blank">
|
||
<img src="/images/newsletter/<?php echo $name; ?>.jpg" /></a><br />
|
||
<a href="/images/newsletter/<?php echo $nl; ?>" target="_blank">第<?php echo $num;?>期数据通讯</a>
|
||
</div>
|
||
<?php } ?>
|
||
|
||
</div>
|