Location: PHPKode > projects > Tagging manager > version 1.02/admin/userlist.php
<?
  $root_path  = './../';
  
  include_once($root_path.'config.php');
	  
  require_once($root_path.'includes/dbconn.php');
  require_once($root_path.'includes/functions.php');
  require_once($root_path.'includes/template.php');
  require_once($root_path.'includes/metadata.php');
  require_once($root_path.'includes/user.php');
  

		$userlist = '<table width="100%"  border="1" cellspacing="0" cellpadding="2">';
		$i = new iter("SELECT * FROM `tm_users`");            
    while ($users = $i->fetch()) {
		$bdy = & new Template();
		$bdy->set('userActive', $users->active);
		$bdy->set('userName', $users->userName);
		$bdy->set('user_id', $users->user_id);
		$bdy->set('userEmail', $users->userEmail);
		$bdy->set('userCreated', $users->datecreated);
		$bdy->set('edit', 'processuser.php?action=edit&id='.$users->user_id);
		$bdy->set('pass', 'processuser.php?action=pass&id='.$users->user_id);
		$bdy->set('delete', 'processuser.php?action=delete&id='.$users->user_id);
		$userlist .= $bdy->fetch('./../template/'.$template.'/userlist.tpl');
		}
		$userlist .= '</table>';

echo $userlist;


$myUser = new User;
$myUser->userName = 'testeee';
$myUser->userPassword = 'testeee';
$myUser->userEmail = 'testee';
  $myUser->updateUser(18);
 
/*
switch ($_POST[action]) {
case update:
  $myUser->updateUser($_POST[id]);
	break;
case new:
  $myUser->setUser();
  break;
}
*/

  
?>
Return current item: Tagging manager