Posted by blah Mon 5th Mar 2007 01:52 - Syntax is SAS - 50 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
-
// No options are selected, so show the list of users.
-
$users = mysql_query("SELECT * FROM " . table_users . "");
-
$userlist = array();
-
-
while ($rows = mysql_fetch_array ($users, MYSQL_ASSOC)) array_push ($userlist, $rows);
-
$main_smarty->assign('userlist', $userlist);
-
-
$main_smarty->assign('Avatar', get_avatar('small', "", ????->user_login, ""));
-
-
// breadcrumbs
-
$navwhere['text1'] = $main_smarty->get_config_vars('PLIGG_Visual_Header_AdminPanel');
-
$navwhere['link1'] = getmyurl('admin', '');
-
$navwhere['text2'] = $main_smarty->get_config_vars('PLIGG_Visual_Header_AdminPanel_1');
-
$navwhere['link2'] = my_pligg_base . "/admin_users.php";
-
$main_smarty->assign('navbar_where', $navwhere);
-
$main_smarty->assign('posttitle', " / " . $main_smarty->get_config_vars('PLIGG_Visual_Header_AdminPanel'));
-
// breadcrumbs
-
-
define('pagename', 'admin_users');
-
$main_smarty->assign('pagename', pagename);
-
-
$main_smarty->assign('tpl_center', $the_template . '/admin_templates/user_listall_center');
-
$main_smarty->display($the_template . '/pligg.tpl');
PermaLink to this entry https://pastebin.co.uk/11409
Posted by blah Mon 5th Mar 2007 01:52 - Syntax is SAS - 50 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0