Files
Testing/include/page_show_members.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

27 lines
752 B
PHP

<?php
// not going to pretend it's something other than a basic dumb page.
if ( ! $database ) {
$database =& SEDatabase::getInstance();
}
// expect the get variables ofs
$start= ( (int) $_GET['start'] ) ? $_GET['start'] : 0;
// this number will probably change. 4 of 5?
$limit= 20;
// basic sort thingie.
$orderby= ( $_GET['orderby'] ) ? $_GET['orderby'] : 'user_username';
$members=array();
$data = $database->database_query( "select * from se_users order by $orderby limit $start, $limit ");
if($database->database_num_rows($rows) > 0 ) {
while( $user_info = $database->database_fetch_assoc($user) ) {
#$user_info['photo_url']->SEUser::getPhoto();
$members[]=$user_info;
}
}
$smarty->assign( 'members', $members );