2009-03-06 03:20:46 +00:00
|
|
|
|
<?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(' > ');
|
|
|
|
|
?>
|
2014-09-02 05:20:24 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
|
|
|
<?= $this->partial('data/left.phtml'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-10 col-sm-12">
|
|
|
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
|
|
|
<div id="message" class="alert alert-info">
|
|
|
|
|
<?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>
|
2009-03-06 03:20:46 +00:00
|
|
|
|
</div>
|