"; print "alert('You are not allowed to access this section');window.location='main.php?g=reports';"; print ""; } if (isset ( $_GET ['show'] )) { $r = $db->update_sql ( "update authentification set isshow=" . $_GET ['show'] . " where id=" . $_GET ['id'] ); //$db->print_last_query(); print ""; exit (); } if (isset ( $_GET ['d'] )) { $r = $db->select ( "select id from authentification where id=" . $_GET ['d'] ); $row = $db->get_row ( $r, 'MYSQL_BOTH' ); $db->delete ( "delete from authentification where id=" . $row ['0'] ); //$db->print_last_query(); print ""; exit (); } if (! empty ( $_POST ['deleted_pdts'] )) { $r = $db->select ( "select id from authentification where id IN(" . $_POST ['deleted_pdts'] . ")" ); while ( $row = $db->get_row ( $r, 'MYSQL_BOTH' ) ) { $db->delete ( "delete from authentification where id=" . $row ['0'] ); } //$db->print_last_query(); print ""; exit (); } ?>
Latest Registered UsersUsers
select ( "select * from authentification order by id desc LIMIT $limit" ); $numOfRows = $db->select_one ( "Select count(*) from authentification" ); //$db->print_last_query(); while ( $row = $db->get_row ( $res, 'MYSQL_BOTH' ) ) { $p = $row ['0']; ?>
First Name Last Name Username Status Actions