added user list with export
This commit is contained in:
38
template/templates/user_export_list.tpl
Normal file
38
template/templates/user_export_list.tpl
Normal file
@@ -0,0 +1,38 @@
|
||||
<div class="buttons">
|
||||
<a href="/admin/members" class="addbutton big">Vissza</a>
|
||||
<a href="/admin/export_users" class="addbutton add-big">Exportálás CSV-be</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="outer export">
|
||||
<table class="user_export">
|
||||
<tr>
|
||||
<th>Név</th>
|
||||
<th>Szint</th>
|
||||
<th>Iskola</th>
|
||||
<th>Email</th>
|
||||
<th>Telefonszám</th>
|
||||
<th>Szülő 1</th>
|
||||
<th>Email</th>
|
||||
<th>Telefonszám</th>
|
||||
<th>Szülő 2</th>
|
||||
<th>Email</th>
|
||||
<th>Telefonszám</th>
|
||||
</tr>
|
||||
{foreach $users as $user}
|
||||
<tr>
|
||||
<td>{$user['Név']}</td>
|
||||
<td>{$user['Szint']}</td>
|
||||
<td>{$user['Iskola']}</td>
|
||||
<td>{$user['Email']}</td>
|
||||
<td>{$user['Telefonszám']}</td>
|
||||
<td>{$user['Szülő1']}</td>
|
||||
<td>{$user['Sz1_Email']}</td>
|
||||
<td>{$user['Sz1_Telefonszám']}</td>
|
||||
<td>{$user['Szülő2']}</td>
|
||||
<td>{$user['Sz2_Email']}</td>
|
||||
<td>{$user['Sz2_Telefonszám']}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
@@ -5,6 +5,7 @@
|
||||
<a href="/admin/cities" class="addbutton add-big">Települések</a>
|
||||
<a href="/admin/schools" class="addbutton add-big">Iskolák</a>
|
||||
<a href="/admin/regions" class="addbutton add-big">Diákolimpia körzetek</a>
|
||||
<a href="/admin/userlist" class="addbutton add-big">Lista export</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user