Location: PHPKode > projects > @1 File Store > control/groups/index.php
<?
require_once("const.php");

$smarty->assign("datasheet", "groups_list");

$group_list=array();
$SQL="SELECT * FROM `".DB_PREFIX."user_groups`";

if(!$mysql->query($SQL))
{
 exit($mysql->error);
}
while(!$mysql->EOF)
{
 $group_list[]=$mysql->arr;
 $mysql->movenext();
}
$smarty->assign("listdata", $group_list);
$smarty->display("control/index.tpl");
?>
Return current item: @1 File Store