2013-06-29 04:46:10 +00:00
|
|
|
{block name=content}
|
2014-09-03 01:08:57 +00:00
|
|
|
|
2013-06-29 04:46:10 +00:00
|
|
|
<div class="row-fluid">
|
2014-09-03 10:22:14 +00:00
|
|
|
<div class="box col-md-12">
|
|
|
|
<div class="box-inner">
|
2013-06-29 04:46:10 +00:00
|
|
|
<div class="box-header well">
|
2013-08-05 03:37:18 +00:00
|
|
|
<h2><i class="icon-info-sign"></i>{$syncing_title}</h2>
|
2013-06-29 04:46:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="box-content">
|
2013-06-29 17:05:54 +00:00
|
|
|
<center>
|
2013-08-05 03:37:18 +00:00
|
|
|
<p>{$syncing_info}</p>
|
2013-06-29 17:05:54 +00:00
|
|
|
{if $shard eq "online"}
|
|
|
|
<div class="alert alert-success">
|
2013-08-05 03:37:18 +00:00
|
|
|
<i class="icon-refresh icon-white"></i>{$shard_online}<a href="#" id="sync" onclick="sync()">{$syncing_sync}</a>
|
2013-06-29 18:46:38 +00:00
|
|
|
<script>
|
|
|
|
function sync(){
|
|
|
|
xmlhttp=new XMLHttpRequest();
|
2014-09-05 09:10:09 +00:00
|
|
|
xmlhttp.open("POST","cron/sync_cron.php",true);
|
2013-06-29 18:46:38 +00:00
|
|
|
xmlhttp.send();
|
|
|
|
}
|
|
|
|
</script>
|
2013-06-29 17:05:54 +00:00
|
|
|
</div>
|
|
|
|
{else}
|
|
|
|
<div class="alert alert-error">
|
|
|
|
<strong><i class="icon-refresh icon-white"></i></strong> {$shard_offline}
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
</center>
|
2013-06-29 04:46:10 +00:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
2014-09-03 10:22:14 +00:00
|
|
|
</div>
|
2013-06-29 04:46:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-03 01:08:57 +00:00
|
|
|
<div class="row-fluid sortable">
|
2014-09-03 10:22:14 +00:00
|
|
|
<div class="box col-md-12">
|
|
|
|
<div class="box-inner">
|
2013-06-29 17:05:54 +00:00
|
|
|
<div class="box-header well" data-original-title>
|
2013-06-29 18:46:38 +00:00
|
|
|
<h2><i class="icon-user"></i> {$members}</h2>
|
2013-06-29 17:05:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="box-content">
|
2013-08-05 03:27:19 +00:00
|
|
|
<table class="table table-striped table-bordered">
|
2013-06-29 17:05:54 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2013-06-29 18:46:38 +00:00
|
|
|
<th>{$id}</th>
|
|
|
|
<th>{$type}</th>
|
2013-06-29 17:05:54 +00:00
|
|
|
</tr>
|
2014-09-03 01:08:57 +00:00
|
|
|
</thead>
|
2013-06-29 17:05:54 +00:00
|
|
|
<tbody>
|
|
|
|
{foreach from=$liblist item=element}
|
|
|
|
<tr>
|
|
|
|
<td>{$element.id}</td>
|
|
|
|
<td class="center">{$element.type}</td>
|
2014-09-03 01:08:57 +00:00
|
|
|
|
|
|
|
|
2013-06-29 17:05:54 +00:00
|
|
|
</tr>
|
|
|
|
{/foreach}
|
2014-09-03 01:08:57 +00:00
|
|
|
|
2013-06-29 17:05:54 +00:00
|
|
|
</tbody>
|
2013-08-05 03:27:19 +00:00
|
|
|
</table>
|
|
|
|
<div style="width: 300px; margin:0px auto;">
|
|
|
|
<ul class="pagination">
|
2013-08-05 03:37:18 +00:00
|
|
|
<li><a href="index.php?page=syncing&pagenum=1">«</a></li>
|
2013-08-05 03:27:19 +00:00
|
|
|
{foreach from=$links item=link}
|
2013-08-05 03:37:18 +00:00
|
|
|
<li {if $link == $currentPage}class="active"{/if}><a href="index.php?page=syncing&pagenum={$link}">{$link}</a></li>
|
2013-08-05 03:27:19 +00:00
|
|
|
{/foreach}
|
2013-08-05 03:37:18 +00:00
|
|
|
<li><a href="index.php?page=syncing&pagenum={$lastPage}">»</a></li>
|
2013-08-05 03:27:19 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2013-06-29 17:05:54 +00:00
|
|
|
</div>
|
2014-09-03 10:22:14 +00:00
|
|
|
</div>
|
2013-06-29 17:05:54 +00:00
|
|
|
</div><!--/span-->
|
2014-09-03 01:08:57 +00:00
|
|
|
|
2013-06-29 17:05:54 +00:00
|
|
|
</div><!--/row-->
|
2013-06-29 04:46:10 +00:00
|
|
|
{/block}
|
|
|
|
|