|
|
pquery($sql, array());
$temprow = $adb->fetch_array($result);
$cnt=1;
require_once('include/utils/UserInfoUtil.php');
require('user_privileges/user_privileges_'.$current_user->id.'.php');
do
{
$templatename = $temprow["templatename"];
if($is_admin == false)
{
$folderName = $temprow['foldername'];
if($folderName != 'Personal')
{
printf(" ");
echo "".$temprow["templatename"]." | ";
printf("%s | ",$temprow["description"]);
}
}
else
{
printf("
");
echo "".$temprow["templatename"]." | ";
printf("%s | ",$temprow["description"]);
}
$cnt++;
}while($temprow = $adb->fetch_array($result));
?>