dirroot. '/course/lib.php'); require_once($CFG->libdir. '/coursecatlib.php'); //if ($CFG->forcelogin) { require_login(); $userid = $USER->id; } $teachers = array (2,3,9,10,11,12,13,14,15,16,17,18,19,23,33,34,35,36,37,38,40,41,42,43,44,46,47,48,49,50,52,53,55,56,57,58,81,98,99,101,127,252,254,258,361,362,365,369,370,371,372,374,375,376,377,378,379,380,382,383,384,386,387,389,390,391,394,395,396,504,652,775,781,910,916,933,976,1046,1136,1143,1152,1803,1829,1830,1837,1840,1843,1845,1848,1849,1851,1852,1853,1857,1862,1873,1879,1880,1881,1884,1885,1886,1888,1889,1891,1897,1901,1902,1903,1905,1906,1907,1908,1909,1910,1912,1916,1917,1918,1919,1921,1922,1923,1925,1926,1927,1928,1929,1930,2023,2026,2027,2400); if (in_array($userid,$teachers)) {?> /" /> "You are not permitted to write notices"
;