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 '
'; echo IButton::show_calc(); echo '
'; 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): ?>
style='class="input_text"'; $direct->value=''; $direct->size=20; echo $direct->input(); $gDossier=dossier::id(); ?>
"; continue; } $style="tool"; if ($row['me_code']==$selected_module) { $style='toolselected'; } if ( $row['me_url']!='') { $url=$row['me_url']; } elseif ($row['me_javascript'] != '') { $url="javascript:void(0)"; $js_dossier=str_replace('', Dossier::id(), $row['me_javascript']); $js=sprintf(' onclick="%s"',$js_dossier); } else { $url="do.php?gDossier=".Dossier::id()."&ac=".$row['me_code']; } ?>
>