Login   Register  
PHP Classes
elePHPant
Icontem

File: member_list.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Voznyak Nazar  >  MVC Membership System  >  member_list.tpl  >  Download  
File: member_list.tpl
Role: Auxiliary data
Content type: text/plain
Description: smarty template
Class: MVC Membership System
Membership system using the MVC design pattern
Author: By
Last change:
Date: 2003-12-30 00:48
Size: 1,214 bytes
 

Contents

Class file image Download
<h3>Memberlist</h3>

<table>
{section name=i loop=$users}
<tr>
  <td>
	<b>Current status:</a></b> {$users[i].status}
    <form action="memberhandle.php">
    <input type='hidden' name='action' value='changeStatus'>
    <input type='hidden' name='username' value='{$users[i].username}'>
    <input type='hidden' name='password' value='{$users[i].password}'>
	<input type='submit' value='Change status'>
    </form>
  </td>
  <td><b>Username:</b> {$users[i].username}</td>
  <td><b>Password:</b> {$users[i].password}</td>
  <td>
    <form action='memberhandle.php'>
    <input type='hidden' name='action' value='remove'>
    <input type='hidden' name='username' value='{$users[i].username}'>
    <input type='hidden' name='password' value='{$users[i].password}'>
    <input type='submit' value='Delete'>
    </form>
  </td>
</tr>
{/section}
</table>

<form action='memberhandle.php'>
  <input type='hidden' name='action' value='store'>
  <input type='text' name='username'>
  <input type='password' name='password'>
  <input type='submit' value='add member'>
</form>

<a href='adminpages.php?page=admin_start'><< Main page</a>
<a href='adminpages.php?page=admin_logout'>Logout</a>