function show_docsnum(id) { if (document.getElementById(id).style.display=='none') { document.getElementById(id).style.display=''; } else { document.getElementById(id).style.display='none'; } } "; $tasks->get_tasks_plan(); } switch ($act) { case 'report_table': reporting_list(); break; default: reporting_list(); break; }