若数据无投影,则不显示投影
This commit is contained in:
parent
d3e7af02b1
commit
aa6b531f3d
|
@ -59,6 +59,7 @@ echo '</ul></div>';
|
|||
<li id="downtimes">下载:<?php echo $this->downloaded; ?>次</li>
|
||||
<?php endif; ?>
|
||||
<li id="viewtimes">浏览量:<?php echo $this->viewed; ?>次</li>
|
||||
<?php if ($this->projection) : ?>
|
||||
<li id="projection" title="<?= $this->projection; ?>">数据投影:
|
||||
<?php
|
||||
$p=explode(" ",$this->projection);
|
||||
|
@ -71,6 +72,7 @@ else
|
|||
echo $md->projection;
|
||||
}
|
||||
?></li>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($md->timebegin)) : ?>
|
||||
<li id="datatimes">数据时间范围:<?php echo date('Y-m-d',strtotime($md->timebegin));if (!empty($md->timeend)) echo " 至 ".date('Y-m-d',strtotime($md->timeend)); ?></li>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue