The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
untitled PHP Code
Posted by: pool | June 21, 2010 @ 1:45pm
PHP Code
[
Download
]
$sql = "SELECT * FROM " . USER_GROUP_TABLE . " AS user_group_table LEFT JOIN " . USERS_TABLE . " AS users_table ON users_table.user_id = user_group_table.user_id LEFT JOIN " . PROFILE_FIELDS_DATA_TABLE . " AS fields_table ON fields_table.user_id = user_group_table.user_id WHERE user_group_table.group_id = '{$group_id}' ORDER BY users_table.user_klubikaart ASC"; $result = $db->sql_query($sql); while($row = $db->sql_fetchrow($result)) { $uid = $bitfield = $options = ''; $allow_bbcode = $allow_urls = $allow_smilies = true; generate_text_for_storage($row['pf_auto'], $uid, $bitfield, $options, $allow_bbcode, $allow_urls, $allow_smilies); $relv = generate_text_for_display($row['pf_auto'], $uid, $bitfield, $options); $template->assign_block_vars('row', array( 'NR' => $row['user_klubikaart'], 'USERNAME' => $row['username'], 'AUTO' => $relv, 'ASUKOHT' => $row['user_from'], 'U_USERNAME' => append_sid($phpbb_root_path.'memberlist.'.$phpEx, 'mode=viewprofile&u='.$row['user_id']), 'U_EDIT' => append_sid($phpbb_root_path.'ct.'.$phpEx, 'edit='.base64_encode(serialize(array($row['username'], $row['user_klubikaart'])))), )); }
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.57 / 8
42 Votes
http://codebin.yi.org/711
page generated in 0.00 seconds