PHP Classes
elePHPant
Icontem

File: partner_list.tpl

Recommend this page to a friend!
  Classes of Voznyak Nazar  >  MVC Membership System  >  partner_list.tpl  >  Download  
File: partner_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: 16 years ago
Size: 1,218 bytes
 

 

Contents

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

<table>
{section name=i loop=$users}
<tr>
  <td>
	<b>Current status:</a></b> {$users[i].status}
    <form action="partnerhandle.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='partnerhandle.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='partnerhandle.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>