2010-07-06 02:33:58 +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/test" > 数据测试工具< / a > ');
$this->breadcrumb('source缺失检查');
$this->breadcrumb()->setSeparator(' > ');
?>
2014-07-23 08:38:32 +00:00
< div class = "hidden-sm hidden-xs col-md-2" >
2010-07-06 02:33:58 +00:00
<? = $this -> partial ( 'test/left.phtml' ); ?>
< / div >
2014-07-23 08:38:32 +00:00
< div class = "col-md-10 col-sm-12" >
2010-07-06 02:33:58 +00:00
<?php if ( $this -> msg or $this -> messages ) : ?>
2014-07-23 08:38:32 +00:00
< div id = "message" class = "alert alert-info" >
2010-07-06 02:33:58 +00:00
<?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 ; ?>
<?php if ( $this -> rows ) : ?>
< div id = "mdlist" >
缺失SOURCE的数据项:
<?php foreach ( $this -> rows as $doi ) : ?>
< ul >
< li >< a href = "/water/ <? = $doi [ 'uuid' ]; ?> " > <?php echo $doi [ 'title' ]; ?> </ a ></ li >
< / ul >
<?php endforeach ; ?>
以上数据若确认是黑河试验的数据, 请通过以下SQL语句执行修复:
"update metadata set source='0595169a-279e-4b95-819f-129d0ba4280d' where id in (select id from metadata where source='' and title ilike '黑河综合遥感联合试验%')"
也可以对geonetwork数据库统一赋值。
< / div >
<?php else : ?>
恭喜!没有对应的数据。
<?php endif ; ?>
< / div >