mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
76 lines
3.8 KiB
Smarty
76 lines
3.8 KiB
Smarty
<section class="content-header">
|
|
<h1><?php echo $gsprache->downloads;?></h1>
|
|
<ol class="breadcrumb">
|
|
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
|
|
<li><a href="admin.php?w=pn"><i class="fa fa-globe"></i> CMS</a></li>
|
|
<li><a href="admin.php?w=pd"><i class="fa fa-download"></i> <?php echo $gsprache->downloads;?></a></li>
|
|
<li class="active"><?php echo $gsprache->overview;?></li>
|
|
</ol>
|
|
</section>
|
|
|
|
<section class="content">
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<?php echo $gsprache->downloads;?> <a href="admin.php?w=pd&d=ad"><span class="btn-success btn-sm"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->add;?></span></a>
|
|
</div>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="box box-primary">
|
|
<div class="box-body table-responsive">
|
|
|
|
<form method="post" action="admin.php?w=pd">
|
|
|
|
<input type="hidden" name="token" value="<?php echo token();?>">
|
|
<input type="hidden" name="downloadOrder" value="true">
|
|
|
|
<table id="dataTable" class="table table-bordered table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th><?php echo $sprache->name;?></th>
|
|
<th>ID</a></th>
|
|
<th><?php echo $gsprache->downloads;?></th>
|
|
<th><?php echo $sprache->sort;?></th>
|
|
<th><?php echo $gsprache->action;?></th>
|
|
</tr>
|
|
</thead>
|
|
<?php foreach ($table as $table_row) { ?>
|
|
<tr>
|
|
<td><?php echo $table_row['description'];?></td>
|
|
<td><?php echo $table_row['id'];?></td>
|
|
<td><?php echo $table_row['count'];?></td>
|
|
<td><label class="form-inline"><input class="input-mini" type="number" name="downloadID[<?php echo $table_row['id'];?>]" value="<?php echo $table_row['order'];?>"></label></td>
|
|
<td>
|
|
<a href="admin.php?w=pd&d=dl&id=<?php echo $table_row['id'];?>"><span class="btn btn-danger btn-sm"><i class="fa fa-trash-o"></i> <?php echo $gsprache->del;?></span></a>
|
|
<a href="admin.php?w=pd&d=md&id=<?php echo $table_row['id'];?>"><span class="btn btn-primary btn-sm"><i class="fa fa-pencil-square-o"></i> <?php echo $gsprache->mod;?></span></a>
|
|
</td>
|
|
</tr>
|
|
<?php } ?>
|
|
<tfoot>
|
|
<tr>
|
|
<th><?php echo $sprache->name;?></th>
|
|
<th>ID</a></th>
|
|
<th><?php echo $gsprache->downloads;?></th>
|
|
<th><?php echo $sprache->sort;?></th>
|
|
<th><?php echo $gsprache->action;?></th>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
|
|
<div class="control-group">
|
|
<label class="control-label" for="inputEdit"></label>
|
|
<div class="controls">
|
|
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"></i> <?php echo $gsprache->save;?></button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|