$s  = "CREATE TABLE #TABLE_ID# SELECT zzzzsys_form_id AS theid FROM zzzzsys_form WHERE ";
$w  = "1";
if ( $_SESSION[NU_NUBUILDER_SESSION_DATA][NU_SESSION_NUSETUP]->set_denied == 1 )  { 
$w  = "zzzzsys_form_id NOT LIKE 'nu%' OR zzzzsys_form_id = 'nuuserhome'"; 
}
nuRunQuery("$s$w");
