Dossier : =h(dossier::name())?>
get_value("select count(*) from profile join profile_user using (p_id)
where user_name=$1 and with_calc=true",array($_SESSION['g_user'])) ==1):
echo IButton::show_calc();
endif;
if ( $cn->get_value("select count(*) from profile join profile_user using (p_id)
where user_name=$1 and with_direct_form=true",array($_SESSION['g_user'])) ==1):
?>
try {
new Ajax.Autocompleter("ac","ac_choices","direct.php?gDossier==$gDossier?>",
{paramName:"acs",minChars:1,indicator:null,
callback:null,
afterUpdateElement:null});} catch (e){alert(e.message);};
endif;
?>