-- Table structure for table `mdl_block`
--

CREATE TABLE `mdl_block` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(40) NOT NULL default '',
  `version` bigint(10) unsigned NOT NULL default '0',
  `cron` bigint(10) unsigned NOT NULL default '0',
  `lastcron` bigint(10) unsigned NOT NULL default '0',
  `visible` tinyint(1) NOT NULL default '1',
  `multiple` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_block`
--

INSERT INTO `mdl_block` VALUES (1,'activity_modules',2007101509,0,0,1,0),(2,'admin',2007101509,0,0,1,0),(3,'admin_bookmarks',2007101509,0,0,1,0),(4,'admin_tree',2007101509,0,0,1,0),(5,'blog_menu',2007101509,0,0,1,0),(6,'blog_tags',2007101509,0,0,1,1),(7,'calendar_month',2007101509,0,0,1,0),(8,'calendar_upcoming',2007101509,0,0,1,0),(9,'course_list',2007101509,0,0,1,0),(10,'course_summary',2007101509,0,0,1,0),(11,'glossary_random',2007101509,0,0,1,1),(12,'html',2007101509,0,0,1,1),(13,'loancalc',2007101509,0,0,1,0),(14,'login',2007101509,0,0,1,0),(15,'mentees',2007101509,0,0,1,1),(16,'messages',2007101509,0,0,1,0),(17,'mnet_hosts',2007101509,0,0,1,0),(18,'news_items',2007101509,0,0,1,0),(19,'online_users',2007101510,0,0,1,0),(20,'participants',2007101509,0,0,1,0),(21,'quiz_results',2007101509,0,0,1,1),(22,'recent_activity',2007101509,0,0,1,0),(23,'rss_client',2007101511,300,1285873201,1,1),(24,'search',2008031500,1,0,1,0),(25,'search_forums',2007101509,0,0,1,0),(26,'section_links',2007101509,0,0,1,0),(27,'site_main_menu',2007101509,0,0,1,0),(28,'social_activities',2007101509,0,0,1,0),(29,'tag_flickr',2007101509,0,0,1,1),(30,'tag_youtube',2007101509,0,0,1,1),(31,'tags',2007101509,0,0,1,1);

--
-- Table structure for table `mdl_block_instance`
--

CREATE TABLE `mdl_block_instance` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `blockid` bigint(10) unsigned NOT NULL default '0',
  `pageid` bigint(10) unsigned NOT NULL default '0',
  `pagetype` varchar(20) NOT NULL default '',
  `position` varchar(10) NOT NULL default '',
  `weight` smallint(3) NOT NULL default '0',
  `visible` tinyint(1) NOT NULL default '0',
  `configdata` text,
  PRIMARY KEY  (`id`),
  KEY `mdl_blocinst_pag_ix` (`pageid`),
  KEY `mdl_blocinst_pag2_ix` (`pagetype`),
  KEY `mdl_blocinst_blo_ix` (`blockid`)
) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_block_instance`
--

INSERT INTO `mdl_block_instance` VALUES (1,27,1,'course-view','l',0,1,''),(2,4,1,'course-view','l',1,1,''),(3,10,1,'course-view','r',0,1,''),(4,7,1,'course-view','r',1,1,''),(5,4,0,'admin','l',0,1,''),(6,3,0,'admin','l',1,1,''),(7,5,2,'blog-view','r',0,1,NULL),(8,6,2,'blog-view','r',1,1,NULL),(9,20,2,'course-view','l',0,1,''),(10,1,2,'course-view','l',1,1,''),(11,25,2,'course-view','l',2,1,''),(12,2,2,'course-view','l',3,1,''),(13,9,2,'course-view','l',4,1,''),(14,18,2,'course-view','r',0,1,''),(15,8,2,'course-view','r',1,1,''),(16,22,2,'course-view','r',2,1,''),(17,20,3,'course-view','l',0,1,''),(18,1,3,'course-view','l',1,1,''),(19,25,3,'course-view','l',2,1,''),(20,2,3,'course-view','l',3,1,''),(21,9,3,'course-view','l',4,1,''),(22,18,3,'course-view','r',0,1,''),(23,8,3,'course-view','r',1,1,''),(24,22,3,'course-view','r',2,1,'');

--
-- Table structure for table `mdl_block_pinned`
--

CREATE TABLE `mdl_block_pinned` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `blockid` bigint(10) unsigned NOT NULL default '0',
  `pagetype` varchar(20) NOT NULL default '',
  `position` varchar(10) NOT NULL default '',
  `weight` smallint(3) NOT NULL default '0',
  `visible` tinyint(1) NOT NULL default '0',
  `configdata` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_blocpinn_pag_ix` (`pagetype`),
  KEY `mdl_blocpinn_blo_ix` (`blockid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_block_pinned`
--


--
-- Table structure for table `mdl_block_rss_client`
--

CREATE TABLE `mdl_block_rss_client` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `title` text NOT NULL,
  `preferredtitle` varchar(64) NOT NULL default '',
  `description` text NOT NULL,
  `shared` tinyint(2) unsigned NOT NULL default '0',
  `url` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_block_rss_client`
--


--
-- Table structure for table `mdl_block_search_documents`
--

CREATE TABLE `mdl_block_search_documents` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `docid` varchar(32) NOT NULL default '',
  `doctype` varchar(32) NOT NULL default 'none',
  `itemtype` varchar(32) NOT NULL default 'standard',
  `title` varchar(255) NOT NULL default '',
  `url` varchar(255) NOT NULL default '',
  `docdate` bigint(10) unsigned NOT NULL default '0',
  `updated` bigint(10) unsigned NOT NULL default '0',
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `groupid` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_blocseardocu_doc_ix` (`docid`),
  KEY `mdl_blocseardocu_doc2_ix` (`doctype`),
  KEY `mdl_blocseardocu_ite_ix` (`itemtype`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_block_search_documents`
--


--
-- Table structure for table `mdl_cache_filters`
--

CREATE TABLE `mdl_cache_filters` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `filter` varchar(32) NOT NULL default '',
  `version` bigint(10) unsigned NOT NULL default '0',
  `md5key` varchar(32) NOT NULL default '',
  `rawtext` text NOT NULL,
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_cachfilt_filmd5_ix` (`filter`,`md5key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_cache_filters`
--


--
-- Table structure for table `mdl_cache_flags`
--

CREATE TABLE `mdl_cache_flags` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `flagtype` varchar(255) NOT NULL default '',
  `name` varchar(255) NOT NULL default '',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `value` mediumtext NOT NULL,
  `expiry` bigint(10) unsigned NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_cachflag_fla_ix` (`flagtype`),
  KEY `mdl_cachflag_nam_ix` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_cache_flags`
--


--
-- Table structure for table `mdl_cache_text`
--

CREATE TABLE `mdl_cache_text` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `md5key` varchar(32) NOT NULL default '',
  `formattedtext` longtext NOT NULL,
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_cachtext_md5_ix` (`md5key`),
  KEY `mdl_cachtext_tim_ix` (`timemodified`)
) ENGINE=MyISAM AUTO_INCREMENT=1209 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_cache_text`
--


--
-- Table structure for table `mdl_capabilities`
--

CREATE TABLE `mdl_capabilities` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `captype` varchar(50) NOT NULL default '',
  `contextlevel` bigint(10) unsigned NOT NULL default '0',
  `component` varchar(100) NOT NULL default '',
  `riskbitmask` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_capa_nam_uix` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=230 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_capabilities`
--

INSERT INTO `mdl_capabilities` VALUES (1,'moodle/site:doanything','admin',10,'moodle',62),(2,'moodle/legacy:guest','legacy',10,'moodle',0),(3,'moodle/legacy:user','legacy',10,'moodle',0),(4,'moodle/legacy:student','legacy',10,'moodle',16),(5,'moodle/legacy:teacher','legacy',10,'moodle',24),(6,'moodle/legacy:editingteacher','legacy',10,'moodle',28),(7,'moodle/legacy:coursecreator','legacy',10,'moodle',28),(8,'moodle/legacy:admin','legacy',10,'moodle',62),(9,'moodle/site:config','write',10,'moodle',62),(10,'moodle/site:readallmessages','read',10,'moodle',8),(11,'moodle/site:sendmessage','write',10,'moodle',16),(12,'moodle/site:approvecourse','write',10,'moodle',4),(13,'moodle/site:import','write',50,'moodle',28),(14,'moodle/site:backup','write',50,'moodle',28),(15,'moodle/site:restore','write',50,'moodle',28),(16,'moodle/restore:rolldates','write',50,'moodle',0),(17,'moodle/site:manageblocks','write',80,'moodle',20),(18,'moodle/site:accessallgroups','read',50,'moodle',0),(19,'moodle/site:viewfullnames','read',50,'moodle',0),(20,'moodle/site:viewreports','read',50,'moodle',8),(21,'moodle/site:trustcontent','write',50,'moodle',4),(22,'moodle/site:uploadusers','write',10,'moodle',24),(23,'moodle/site:langeditmaster','write',10,'moodle',6),(24,'moodle/site:langeditlocal','write',10,'moodle',6),(25,'moodle/user:create','write',10,'moodle',24),(26,'moodle/user:delete','write',10,'moodle',8),(27,'moodle/user:update','write',10,'moodle',24),(28,'moodle/user:viewdetails','read',50,'moodle',0),(29,'moodle/user:viewhiddendetails','read',50,'moodle',8),(30,'moodle/user:loginas','write',50,'moodle',30),(31,'moodle/role:assign','write',50,'moodle',28),(32,'moodle/role:override','write',50,'moodle',28),(33,'moodle/role:safeoverride','write',50,'moodle',16),(34,'moodle/role:manage','write',10,'moodle',28),(35,'moodle/role:unassignself','write',50,'moodle',0),(36,'moodle/role:viewhiddenassigns','read',50,'moodle',0),(37,'moodle/role:switchroles','read',50,'moodle',12),(38,'moodle/category:manage','write',40,'moodle',4),(39,'moodle/category:viewhiddencategories','read',40,'moodle',0),(40,'moodle/course:create','write',40,'moodle',4),(41,'moodle/course:request','write',10,'moodle',0),(42,'moodle/course:delete','write',50,'moodle',32),(43,'moodle/course:update','write',50,'moodle',4),(44,'moodle/course:view','read',50,'moodle',0),(45,'moodle/course:bulkmessaging','write',50,'moodle',16),(46,'moodle/course:viewhiddenuserfields','read',50,'moodle',8),(47,'moodle/course:viewhiddencourses','read',50,'moodle',0),(48,'moodle/course:visibility','write',50,'moodle',0),(49,'moodle/course:managefiles','write',50,'moodle',4),(50,'moodle/course:manageactivities','write',50,'moodle',4),(51,'moodle/course:managemetacourse','write',50,'moodle',12),(52,'moodle/course:activityvisibility','write',50,'moodle',0),(53,'moodle/course:viewhiddenactivities','write',50,'moodle',0),(54,'moodle/course:viewparticipants','read',50,'moodle',0),(55,'moodle/course:changefullname','write',50,'moodle',4),(56,'moodle/course:changeshortname','write',50,'moodle',4),(57,'moodle/course:changeidnumber','write',50,'moodle',4),(58,'moodle/course:changecategory','write',50,'moodle',4),(59,'moodle/course:changesummary','write',50,'moodle',4),(60,'moodle/site:viewparticipants','read',10,'moodle',0),(61,'moodle/course:viewscales','read',50,'moodle',0),(62,'moodle/course:managescales','write',50,'moodle',0),(63,'moodle/course:managegroups','write',50,'moodle',0),(64,'moodle/course:reset','write',50,'moodle',32),(65,'moodle/blog:view','read',50,'moodle',0),(66,'moodle/blog:create','write',10,'moodle',16),(67,'moodle/blog:manageentries','write',50,'moodle',16),(68,'moodle/calendar:manageownentries','write',50,'moodle',16),(69,'moodle/calendar:managegroupentries','write',50,'moodle',16),(70,'moodle/calendar:manageentries','write',50,'moodle',16),(71,'moodle/user:editprofile','write',30,'moodle',24),(72,'moodle/user:editownprofile','write',10,'moodle',16),(73,'moodle/user:changeownpassword','write',10,'moodle',0),(74,'moodle/user:readuserposts','read',30,'moodle',0),(75,'moodle/user:readuserblogs','read',30,'moodle',0),(76,'moodle/user:viewuseractivitiesreport','read',30,'moodle',8),(77,'moodle/question:managecategory','write',50,'moodle',20),(78,'moodle/question:add','write',50,'moodle',20),(79,'moodle/question:editmine','write',50,'moodle',20),(80,'moodle/question:editall','write',50,'moodle',20),(81,'moodle/question:viewmine','read',50,'moodle',0),(82,'moodle/question:viewall','read',50,'moodle',0),(83,'moodle/question:usemine','read',50,'moodle',0),(84,'moodle/question:useall','read',50,'moodle',0),(85,'moodle/question:movemine','write',50,'moodle',0),(86,'moodle/question:moveall','write',50,'moodle',0),(87,'moodle/question:config','write',10,'moodle',2),(88,'moodle/site:doclinks','read',10,'moodle',0),(89,'moodle/course:sectionvisibility','write',50,'moodle',0),(90,'moodle/course:useremail','write',50,'moodle',0),(91,'moodle/course:viewhiddensections','write',50,'moodle',0),(92,'moodle/course:setcurrentsection','write',50,'moodle',0),(93,'moodle/site:mnetlogintoremote','read',10,'moodle',0),(94,'moodle/grade:viewall','read',50,'moodle',8),(95,'moodle/grade:view','read',50,'moodle',0),(96,'moodle/grade:viewhidden','read',50,'moodle',8),(97,'moodle/grade:import','write',50,'moodle',12),(98,'moodle/grade:export','read',50,'moodle',8),(99,'moodle/grade:manage','write',50,'moodle',12),(100,'moodle/grade:edit','write',50,'moodle',12),(101,'moodle/grade:manageoutcomes','write',50,'moodle',0),(102,'moodle/grade:manageletters','write',50,'moodle',0),(103,'moodle/grade:hide','write',50,'moodle',0),(104,'moodle/grade:lock','write',50,'moodle',0),(105,'moodle/grade:unlock','write',50,'moodle',0),(106,'moodle/my:manageblocks','write',10,'moodle',0),(107,'moodle/notes:view','read',50,'moodle',0),(108,'moodle/notes:manage','write',50,'moodle',16),(109,'moodle/tag:manage','write',10,'moodle',16),(110,'moodle/tag:create','write',10,'moodle',16),(111,'moodle/tag:edit','write',10,'moodle',16),(112,'moodle/tag:editblocks','write',10,'moodle',0),(113,'moodle/block:view','read',80,'moodle',0),(114,'mod/assignment:view','read',70,'mod/assignment',0),(115,'mod/assignment:submit','write',70,'mod/assignment',0),(116,'mod/assignment:grade','write',70,'mod/assignment',4),(117,'mod/chat:chat','write',70,'mod/chat',16),(118,'mod/chat:readlog','read',70,'mod/chat',0),(119,'mod/chat:deletelog','write',70,'mod/chat',0),(120,'mod/choice:choose','write',70,'mod/choice',0),(121,'mod/choice:readresponses','read',70,'mod/choice',0),(122,'mod/choice:deleteresponses','write',70,'mod/choice',0),(123,'mod/choice:downloadresponses','read',70,'mod/choice',0),(124,'mod/data:viewentry','read',70,'mod/data',0),(125,'mod/data:writeentry','write',70,'mod/data',16),(126,'mod/data:comment','write',70,'mod/data',16),(127,'mod/data:viewrating','read',70,'mod/data',0),(128,'mod/data:rate','write',70,'mod/data',0),(129,'mod/data:approve','write',70,'mod/data',16),(130,'mod/data:manageentries','write',70,'mod/data',16),(131,'mod/data:managecomments','write',70,'mod/data',16),(132,'mod/data:managetemplates','write',70,'mod/data',20),(133,'mod/data:viewalluserpresets','read',70,'mod/data',0),(134,'mod/data:manageuserpresets','write',70,'mod/data',20),(135,'mod/forum:viewdiscussion','read',70,'mod/forum',0),(136,'mod/forum:viewhiddentimedposts','read',70,'mod/forum',0),(137,'mod/forum:startdiscussion','write',70,'mod/forum',16),(138,'mod/forum:replypost','write',70,'mod/forum',16),(139,'mod/forum:addnews','write',70,'mod/forum',16),(140,'mod/forum:replynews','write',70,'mod/forum',16),(141,'mod/forum:viewrating','read',70,'mod/forum',0),(142,'mod/forum:viewanyrating','read',70,'mod/forum',0),(143,'mod/forum:rate','write',70,'mod/forum',0),(144,'mod/forum:createattachment','write',70,'mod/forum',16),(145,'mod/forum:deleteownpost','read',70,'mod/forum',0),(146,'mod/forum:deleteanypost','read',70,'mod/forum',0),(147,'mod/forum:splitdiscussions','read',70,'mod/forum',0),(148,'mod/forum:movediscussions','read',70,'mod/forum',0),(149,'mod/forum:editanypost','write',70,'mod/forum',16),(150,'mod/forum:viewqandawithoutposting','read',70,'mod/forum',0),(151,'mod/forum:viewsubscribers','read',70,'mod/forum',0),(152,'mod/forum:managesubscriptions','read',70,'mod/forum',16),(153,'mod/forum:initialsubscriptions','read',70,'mod/forum',0),(154,'mod/forum:throttlingapplies','write',70,'mod/forum',16),(155,'mod/glossary:write','write',70,'mod/glossary',16),(156,'mod/glossary:manageentries','write',70,'mod/glossary',16),(157,'mod/glossary:managecategories','write',70,'mod/glossary',16),(158,'mod/glossary:comment','write',70,'mod/glossary',16),(159,'mod/glossary:managecomments','write',70,'mod/glossary',16),(160,'mod/glossary:import','write',70,'mod/glossary',16),(161,'mod/glossary:export','read',70,'mod/glossary',0),(162,'mod/glossary:approve','write',70,'mod/glossary',16),(163,'mod/glossary:rate','write',70,'mod/glossary',0),(164,'mod/glossary:viewrating','read',70,'mod/glossary',0),(165,'mod/hotpot:attempt','read',70,'mod/hotpot',0),(166,'mod/hotpot:viewreport','read',70,'mod/hotpot',0),(167,'mod/hotpot:grade','read',70,'mod/hotpot',0),(168,'mod/hotpot:deleteattempt','read',70,'mod/hotpot',0),(169,'mod/lams:participate','write',70,'mod/lams',0),(170,'mod/lams:manage','write',70,'mod/lams',0),(171,'mod/lesson:edit','write',70,'mod/lesson',4),(172,'mod/lesson:manage','write',70,'mod/lesson',0),(173,'mod/quiz:view','read',70,'mod/quiz',0),(174,'mod/quiz:attempt','write',70,'mod/quiz',16),(175,'mod/quiz:reviewmyattempts','read',70,'mod/quiz',0),(176,'mod/quiz:manage','write',70,'mod/quiz',16),(177,'mod/quiz:preview','write',70,'mod/quiz',0),(178,'mod/quiz:grade','write',70,'mod/quiz',20),(179,'mod/quiz:viewreports','read',70,'mod/quiz',8),(180,'mod/quiz:deleteattempts','write',70,'mod/quiz',32),(181,'mod/quiz:ignoretimelimits','read',70,'mod/quiz',0),(182,'mod/quiz:emailconfirmsubmission','read',70,'mod/quiz',0),(183,'mod/quiz:emailnotifysubmission','read',70,'mod/quiz',0),(184,'mod/scorm:viewreport','read',70,'mod/scorm',0),(185,'mod/scorm:skipview','write',70,'mod/scorm',0),(186,'mod/scorm:savetrack','write',70,'mod/scorm',0),(187,'mod/scorm:viewscores','read',70,'mod/scorm',0),(188,'mod/scorm:deleteresponses','read',70,'mod/scorm',0),(189,'mod/survey:participate','read',70,'mod/survey',0),(190,'mod/survey:readresponses','read',70,'mod/survey',0),(191,'mod/survey:download','read',70,'mod/survey',0),(192,'mod/wiki:participate','write',70,'mod/wiki',16),(193,'mod/wiki:manage','write',70,'mod/wiki',16),(194,'mod/wiki:overridelock','write',70,'mod/wiki',0),(195,'mod/workshop:participate','write',70,'mod/workshop',16),(196,'mod/workshop:manage','write',70,'mod/workshop',16),(197,'block/online_users:viewlist','read',80,'block/online_users',0),(198,'block/rss_client:createprivatefeeds','write',80,'block/rss_client',0),(199,'block/rss_client:createsharedfeeds','write',80,'block/rss_client',16),(200,'block/rss_client:manageownfeeds','write',80,'block/rss_client',0),(201,'block/rss_client:manageanyfeeds','write',80,'block/rss_client',16),(202,'enrol/authorize:managepayments','write',10,'enrol/authorize',8),(203,'enrol/authorize:uploadcsv','write',10,'enrol/authorize',4),(204,'gradeexport/ods:view','read',50,'gradeexport/ods',8),(205,'gradeexport/ods:publish','read',50,'gradeexport/ods',8),(206,'gradeexport/txt:view','read',50,'gradeexport/txt',8),(207,'gradeexport/txt:publish','read',50,'gradeexport/txt',8),(208,'gradeexport/xls:view','read',50,'gradeexport/xls',8),(209,'gradeexport/xls:publish','read',50,'gradeexport/xls',8),(210,'gradeexport/xml:view','read',50,'gradeexport/xml',8),(211,'gradeexport/xml:publish','read',50,'gradeexport/xml',8),(212,'gradeimport/csv:view','write',50,'gradeimport/csv',0),(213,'gradeimport/xml:view','write',50,'gradeimport/xml',0),(214,'gradeimport/xml:publish','write',50,'gradeimport/xml',0),(215,'gradereport/grader:view','read',50,'gradereport/grader',8),(216,'gradereport/outcomes:view','read',50,'gradereport/outcomes',8),(217,'gradereport/overview:view','read',50,'gradereport/overview',8),(218,'gradereport/user:view','read',50,'gradereport/user',8),(219,'coursereport/log:view','read',50,'coursereport/log',8),(220,'coursereport/log:viewlive','read',50,'coursereport/log',8),(221,'coursereport/log:viewtoday','read',50,'coursereport/log',8),(222,'coursereport/outline:view','read',50,'coursereport/outline',8),(223,'coursereport/participation:view','read',50,'coursereport/participation',8),(224,'coursereport/stats:view','read',50,'coursereport/stats',8),(225,'report/courseoverview:view','read',10,'report/courseoverview',8),(226,'report/security:view','read',10,'report/security',2),(227,'report/unittest:view','read',10,'report/unittest',32),(228,'moodle/backup:userinfo','read',50,'moodle',8),(229,'moodle/restore:userinfo','write',50,'moodle',30);

--
-- Table structure for table `mdl_chat`
--

CREATE TABLE `mdl_chat` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `intro` text NOT NULL,
  `keepdays` bigint(11) NOT NULL default '0',
  `studentlogs` smallint(4) NOT NULL default '0',
  `chattime` bigint(10) unsigned NOT NULL default '0',
  `schedule` smallint(4) NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_chat_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_chat`
--


--
-- Table structure for table `mdl_chat_messages`
--

CREATE TABLE `mdl_chat_messages` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `chatid` bigint(10) NOT NULL default '0',
  `userid` bigint(10) NOT NULL default '0',
  `groupid` bigint(10) NOT NULL default '0',
  `system` tinyint(1) unsigned NOT NULL default '0',
  `message` text NOT NULL,
  `timestamp` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_chatmess_use_ix` (`userid`),
  KEY `mdl_chatmess_gro_ix` (`groupid`),
  KEY `mdl_chatmess_timcha_ix` (`timestamp`,`chatid`),
  KEY `mdl_chatmess_cha_ix` (`chatid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_chat_messages`
--


--
-- Table structure for table `mdl_chat_users`
--

CREATE TABLE `mdl_chat_users` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `chatid` bigint(11) NOT NULL default '0',
  `userid` bigint(11) NOT NULL default '0',
  `groupid` bigint(11) NOT NULL default '0',
  `version` varchar(16) NOT NULL default '',
  `ip` varchar(15) NOT NULL default '',
  `firstping` bigint(10) unsigned NOT NULL default '0',
  `lastping` bigint(10) unsigned NOT NULL default '0',
  `lastmessageping` bigint(10) unsigned NOT NULL default '0',
  `sid` varchar(32) NOT NULL default '',
  `course` bigint(10) unsigned NOT NULL default '0',
  `lang` varchar(30) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_chatuser_use_ix` (`userid`),
  KEY `mdl_chatuser_las_ix` (`lastping`),
  KEY `mdl_chatuser_gro_ix` (`groupid`),
  KEY `mdl_chatuser_cha_ix` (`chatid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_chat_users`
--


--
-- Table structure for table `mdl_choice`
--

CREATE TABLE `mdl_choice` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `text` text NOT NULL,
  `format` tinyint(2) unsigned NOT NULL default '0',
  `publish` tinyint(2) unsigned NOT NULL default '0',
  `showresults` tinyint(2) unsigned NOT NULL default '0',
  `display` smallint(4) unsigned NOT NULL default '0',
  `allowupdate` tinyint(2) unsigned NOT NULL default '0',
  `showunanswered` tinyint(2) unsigned NOT NULL default '0',
  `limitanswers` tinyint(2) unsigned NOT NULL default '0',
  `timeopen` bigint(10) unsigned NOT NULL default '0',
  `timeclose` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_choi_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_choice`
--


--
-- Table structure for table `mdl_choice_answers`
--

CREATE TABLE `mdl_choice_answers` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `choiceid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `optionid` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_choiansw_use_ix` (`userid`),
  KEY `mdl_choiansw_cho_ix` (`choiceid`),
  KEY `mdl_choiansw_opt_ix` (`optionid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_choice_answers`
--


--
-- Table structure for table `mdl_choice_options`
--

CREATE TABLE `mdl_choice_options` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `choiceid` bigint(10) unsigned NOT NULL default '0',
  `text` text,
  `maxanswers` bigint(10) unsigned default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_choiopti_cho_ix` (`choiceid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_choice_options`
--


--
-- Table structure for table `mdl_config`
--

CREATE TABLE `mdl_config` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `value` text NOT NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_conf_nam_uix` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=733 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_config`
--

INSERT INTO `mdl_config` VALUES (1,'unicodedb','1'),(2,'statsrolesupgraded','1264629242'),(3,'auth',''),(4,'auth_pop3mailbox','INBOX'),(5,'enrol','manual'),(6,'enrol_plugins_enabled','manual'),(7,'style','default'),(8,'template','default'),(9,'theme','standardred'),(10,'filter_multilang_converted','1'),(427,'quiz_htimelimit','1'),(12,'guestloginbutton','1'),(13,'alternateloginurl',''),(14,'forgottenpasswordurl',''),(15,'auth_instructions',''),(16,'allowemailaddresses',''),(17,'denyemailaddresses',''),(18,'verifychangedemail','1'),(19,'recaptchapublickey',''),(20,'recaptchaprivatekey',''),(21,'nodefaultuserrolelists','0'),(22,'autologinguests','0'),(23,'hiddenuserfields',''),(24,'allowuserswitchrolestheycantassign','0'),(25,'enablecourserequests','0'),(26,'courserequestnotify',''),(27,'timezone','-7.0'),(28,'forcetimezone','99'),(29,'country','0'),(30,'geoipfile','/home/ruspanc1/public_html/members/uploaddata/geoip/GeoLiteCity.dat'),(31,'googlemapkey',''),(32,'autolang','0'),(33,'lang','en_utf8'),(34,'langmenu','1'),(35,'langlist',''),(36,'langcache','1'),(37,'locale',''),(38,'latinexcelexport','0'),(39,'cachetext','60'),(40,'filteruploadedfiles','0'),(41,'filtermatchoneperpage','0'),(42,'filtermatchonepertext','0'),(43,'filterall','1'),(44,'filter_multilang_force_old','0'),(45,'filter_mediaplugin_enable_mp3','1'),(46,'filter_mediaplugin_enable_swf','0'),(47,'filter_mediaplugin_enable_mov','1'),(48,'filter_mediaplugin_enable_wmv','1'),(49,'filter_mediaplugin_enable_mpg','1'),(50,'filter_mediaplugin_enable_avi','1'),(51,'filter_mediaplugin_enable_flv','1'),(52,'filter_mediaplugin_enable_ram','1'),(53,'filter_mediaplugin_enable_rpm','1'),(54,'filter_mediaplugin_enable_rm','1'),(55,'filter_mediaplugin_enable_youtube','0'),(56,'filter_tex_latexpreamble',' \\usepackage[utf8]{inputenc}\n \\usepackage{amsmath}\n \\usepackage{amsfonts}\n \\RequirePackage{amsmath,amssymb,latexsym}\n'),(57,'filter_tex_latexbackground','#FFFFFF'),(58,'filter_tex_density','120'),(59,'filter_tex_pathlatex','/usr/bin/latex'),(60,'filter_tex_pathdvips','/usr/bin/dvips'),(61,'filter_tex_pathconvert','/usr/bin/convert'),(62,'filter_censor_badwords',''),(63,'protectusernames','1'),(64,'forcelogin','0'),(65,'forceloginforprofiles','1'),(66,'opentogoogle','1'),(67,'maxbytes','0'),(68,'messaging','1'),(69,'allowobjectembed','0'),(70,'enabletrusttext','0'),(71,'maxeditingtime','1800'),(72,'fullnamedisplay','firstname lastname'),(73,'extendedusernamechars','0'),(74,'sitepolicy',''),(75,'bloglevel','4'),(76,'usetags','1'),(77,'keeptagnamecase','1'),(78,'profilesforenrolledusersonly','1'),(79,'cronclionly','0'),(80,'cronremotepassword',''),(482,'passwordpolicy','1'),(82,'minpasswordlength','8'),(83,'minpassworddigits','1'),(84,'minpasswordlower','1'),(85,'minpasswordupper','1'),(86,'minpasswordnonalphanum','1'),(87,'disableuserimages','0'),(88,'emailchangeconfirmation','1'),(89,'enablenotes','1'),(90,'loginhttps','0'),(91,'cookiesecure','0'),(92,'cookiehttponly','0'),(93,'regenloginsession','0'),(94,'restrictmodulesfor','none'),(95,'restrictbydefault','0'),(96,'displayloginfailures',''),(97,'notifyloginfailures',''),(98,'notifyloginthreshold','10'),(99,'runclamonupload','0'),(100,'pathtoclam',''),(101,'quarantinedir',''),(102,'clamfailureonupload','donothing'),(103,'themelist',''),(104,'allowuserthemes','0'),(105,'allowcoursethemes','0'),(106,'allowcategorythemes','0'),(107,'allowuserblockhiding','1'),(108,'showblocksonmodpages','0'),(109,'hideactivitytypenavlink','0'),(110,'calendar_adminseesall','0'),(111,'calendar_site_timeformat','0'),(112,'calendar_startwday','1'),(113,'calendar_weekend','65'),(114,'calendar_lookahead','21'),(115,'calendar_maxevents','10'),(116,'enablecalendarexport','1'),(117,'calendar_exportsalt','2XNqCikHly8r0YrUqkFHIyjyRnXQPpSAzchQRmFJXTAo3qLdNm7p9mnbUAT0'),(118,'htmleditor','1'),(119,'editorbackgroundcolor','#ffffff'),(120,'editorfontfamily','Trebuchet MS,Verdana,Arial,Helvetica,sans-serif'),(121,'editorfontsize',''),(122,'editorfontlist','Trebuchet:Trebuchet MS,Verdana,Arial,Helvetica,sans-serif;Arial:arial,helvetica,sans-serif;Courier New:courier new,courier,monospace;Georgia:georgia,times new roman,times,serif;Tahoma:tahoma,arial,helvetica,sans-serif;Times New Roman:times new roman,times,serif;Verdana:verdana,arial,helvetica,sans-serif;Impact:impact;Wingdings:wingdings'),(123,'editorkillword','0'),(124,'editorhidebuttons',''),(125,'emoticons',':-){:}smiley{;}:){:}smiley{;}:-D{:}biggrin{;};-){:}wink{;}:-/{:}mixed{;}V-.{:}thoughtful{;}:-P{:}tongueout{;}B-){:}cool{;}^-){:}approve{;}8-){:}wideeyes{;}:o){:}clown{;}:-({:}sad{;}:({:}sad{;}8-.{:}shy{;}:-I{:}blush{;}:-X{:}kiss{;}8-o{:}surprise{;}P-|{:}blackeye{;}8-[{:}angry{;}xx-P{:}dead{;}|-.{:}sleepy{;}}-]{:}evil{;}(h){:}heart{;}(heart){:}heart{;}(y){:}yes{;}(n){:}no{;}(martin){:}martin{;}( ){:}egg'),(126,'formatstringstriptags','1'),(127,'docroot','http://docs.moodle.org'),(128,'doctonewwindow','0'),(129,'mymoodleredirect','0'),(130,'mycoursesperpage','21'),(131,'enableajax','1'),(132,'disablecourseajax','1'),(133,'gdversion','2'),(134,'zip',''),(135,'unzip',''),(136,'pathtodu',''),(137,'aspellpath',''),(138,'smtphosts',''),(139,'smtpuser',''),(140,'smtppass',''),(141,'smtpmaxbulk','1'),(142,'noreplyaddress','noreply@www.ruspan.com'),(143,'digestmailtime','17'),(144,'sitemailcharset','0'),(145,'allowusermailcharset','0'),(146,'mailnewline','LF'),(147,'supportpage',''),(148,'dbsessions','0'),(149,'sessiontimeout','7200'),(150,'sessioncookie',''),(151,'sessioncookiepath','/'),(152,'sessioncookiedomain',''),(153,'enablerssfeeds','0'),(154,'debug','0'),(155,'debugdisplay','1'),(156,'xmlstrictheaders','0'),(157,'debugsmtp','0'),(158,'perfdebug','7'),(159,'enablestats','1'),(160,'statsfirstrun','none'),(161,'statsmaxruntime','0'),(162,'statsruntimedays','31'),(163,'statsruntimestarthour','0'),(164,'statsruntimestartminute','0'),(165,'statsuserthreshold','0'),(166,'statscatdepth','1'),(167,'framename','_top'),(168,'slasharguments','1'),(169,'getremoteaddrconf','0'),(170,'proxyhost',''),(171,'proxyport','0'),(172,'proxytype','HTTP'),(173,'proxyuser',''),(174,'proxypassword',''),(175,'longtimenosee','120'),(176,'deleteunconfirmed','168'),(177,'deleteincompleteusers','0'),(178,'loglifetime','0'),(179,'disablegradehistory','0'),(180,'gradehistorylifetime','0'),(181,'extramemorylimit','128M'),(182,'cachetype',''),(183,'rcache','0'),(184,'rcachettl','10'),(185,'intcachemax','10'),(186,'memcachedhosts',''),(187,'memcachedpconn','0'),(188,'enableglobalsearch','0'),(189,'smartpix','0'),(190,'enablehtmlpurifier','0'),(191,'enablegroupings','0'),(192,'experimentalsplitrestore','0'),(193,'enablesafebrowserintegration','0'),(194,'mnet_dispatcher_mode','off'),(195,'mnet_localhost_id','1'),(196,'mnet_all_hosts_id','2'),(197,'version','2007101570'),(198,'release','1.9.7 (Build: 20091126)'),(199,'assignment_type_online_version','2005042900'),(200,'hotpot_showtimes','0'),(201,'hotpot_excelencodings',''),(202,'hotpot_initialdisable','1'),(203,'journal_showrecentactivity','1'),(204,'journal_initialdisable','1'),(205,'lams_initialdisable','1'),(206,'quiz_review','4652015'),(207,'quiz_attemptonlast','0'),(208,'quiz_attempts','3'),(209,'quiz_grademethod','1'),(210,'quiz_decimalpoints','2'),(211,'quiz_maximumgrade','10'),(212,'quiz_password',''),(213,'quiz_popup','0'),(214,'quiz_questionsperpage','0'),(215,'quiz_shuffleanswers','1'),(216,'quiz_shufflequestions','0'),(217,'quiz_subnet',''),(218,'quiz_timelimit','0'),(219,'quiz_optionflags','0'),(220,'quiz_penaltyscheme','1'),(221,'quiz_delay1','0'),(222,'quiz_delay2','0'),(223,'quiz_fix_review','0'),(224,'quiz_fix_attemptonlast','0'),(225,'quiz_fix_attempts','0'),(226,'quiz_fix_grademethod','0'),(227,'quiz_fix_decimalpoints','0'),(228,'quiz_fix_password','0'),(229,'quiz_fix_popup','0'),(230,'quiz_fix_questionsperpage','0'),(231,'quiz_fix_shuffleanswers','0'),(232,'quiz_fix_shufflequestions','0'),(233,'quiz_fix_subnet','0'),(234,'quiz_fix_timelimit','0'),(235,'quiz_fix_adaptive','0'),(236,'quiz_fix_penaltyscheme','0'),(237,'quiz_fix_delay1','0'),(238,'quiz_fix_delay2','0'),(239,'resource_hide_repository','1'),(240,'workshop_initialdisable','1'),(241,'qtype_calculated_version','2006032200'),(242,'qtype_essay_version','2006032200'),(243,'qtype_match_version','2006032200'),(244,'qtype_multianswer_version','2008050800'),(245,'qtype_multichoice_version','2007081700'),(246,'qtype_numerical_version','2006121500'),(247,'qtype_randomsamatch_version','2006042800'),(248,'qtype_shortanswer_version','2006032200'),(249,'qtype_truefalse_version','2006032200'),(250,'backup_version','2009111300'),(251,'backup_release','1.9.7'),(252,'blocks_version','2007081300'),(253,'enrol_authorize_version','2006112903'),(254,'enrol_paypal_version','2006092200'),(255,'gradeexport_ods_version','2007092701'),(256,'gradeexport_txt_version','2007092700'),(257,'gradeexport_xls_version','2007092700'),(258,'gradeexport_xml_version','2007092700'),(259,'gradeimport_csv_version','2007072500'),(260,'gradeimport_xml_version','2007092700'),(261,'gradereport_grader_version','2007091700'),(262,'gradereport_outcomes_version','2007073000'),(263,'gradereport_overview_version','2009022500'),(264,'gradereport_user_version','2007092500'),(265,'coursereport_log_version','2007101504'),(266,'coursereport_outline_version','2007101501'),(267,'coursereport_participation_version','2007101501'),(268,'coursereport_stats_version','2007101501'),(269,'report_courseoverview_version','2007101503'),(270,'report_security_version','2007101500'),(271,'report_unittest_version','2007101501'),(272,'adminblocks_initialised','1'),(273,'siteidentifier','D9RZYCLJZ8YfMCk06DSzL8hzcAbOVfrywww.ruspan.com'),(274,'rolesactive','1'),(275,'guestroleid','6'),(276,'creatornewroleid','3'),(277,'notloggedinroleid','6'),(278,'defaultuserroleid','7'),(279,'defaultcourseroleid','5'),(280,'nonmetacoursesyncroleids',''),(281,'defaultrequestcategory','1'),(282,'gradebookroles','5'),(283,'enableoutcomes','0'),(284,'grade_profilereport','user'),(285,'grade_aggregationposition','1'),(286,'grade_includescalesinaggregation','1'),(287,'grade_hiddenasdate','0'),(288,'gradepublishing','0'),(289,'grade_export_displaytype','1'),(290,'grade_export_decimalpoints','2'),(291,'grade_navmethod','0'),(292,'gradeexport',''),(293,'unlimitedgrades','0'),(294,'grade_hideforcedsettings','1'),(295,'grade_aggregation','11'),(296,'grade_aggregation_flag','0'),(297,'grade_aggregations_visible','0,10,11,12,2,4,6,8,13'),(298,'grade_aggregateonlygraded','1'),(299,'grade_aggregateonlygraded_flag','2'),(300,'grade_aggregateoutcomes','0'),(301,'grade_aggregateoutcomes_flag','2'),(302,'grade_aggregatesubcats','0'),(303,'grade_aggregatesubcats_flag','2'),(304,'grade_keephigh','0'),(305,'grade_keephigh_flag','3'),(306,'grade_droplow','0'),(307,'grade_droplow_flag','2'),(308,'grade_displaytype','1'),(309,'grade_decimalpoints','2'),(310,'grade_item_advanced','iteminfo,idnumber,gradepass,plusfactor,multfactor,display,decimals,hiddenuntil,locktime'),(311,'grade_report_studentsperpage','100'),(312,'grade_report_quickgrading','1'),(313,'grade_report_showquickfeedback','0'),(314,'grade_report_fixedstudents','0'),(315,'grade_report_meanselection','1'),(316,'grade_report_showcalculations','0'),(317,'grade_report_showeyecons','0'),(318,'grade_report_showaverages','1'),(319,'grade_report_showlocks','0'),(320,'grade_report_showranges','0'),(321,'grade_report_showuserimage','1'),(322,'grade_report_showuseridnumber','0'),(323,'grade_report_showactivityicons','1'),(324,'grade_report_shownumberofgrades','0'),(325,'grade_report_averagesdisplaytype','inherit'),(326,'grade_report_rangesdisplaytype','inherit'),(327,'grade_report_averagesdecimalpoints','inherit'),(328,'grade_report_rangesdecimalpoints','inherit'),(329,'grade_report_overview_showrank','0'),(330,'grade_report_user_showrank','0'),(331,'grade_report_user_showpercentage','2'),(332,'grade_report_user_showhiddenitems','1'),(333,'assignment_maxbytes','1048576'),(334,'assignment_itemstocount','1'),(335,'assignment_showrecentsubmissions','1'),(336,'chat_method','header_js'),(337,'chat_refresh_userlist','10'),(338,'chat_old_ping','35'),(339,'chat_refresh_room','5'),(340,'chat_normal_updatemode','jsupdate'),(341,'chat_serverhost','www.ruspan.com'),(342,'chat_serverip','127.0.0.1'),(343,'chat_serverport','9111'),(344,'chat_servermax','100'),(345,'data_enablerssfeeds','0'),(346,'forum_displaymode','3'),(347,'forum_replytouser','1'),(348,'forum_shortpost','300'),(349,'forum_longpost','600'),(350,'forum_manydiscussions','100'),(351,'forum_maxbytes','512000'),(352,'forum_trackreadposts','1'),(353,'forum_oldpostdays','14'),(354,'forum_usermarksread','0'),(355,'forum_cleanreadtime','2'),(356,'forum_enablerssfeeds','0'),(357,'forum_enabletimedposts','0'),(358,'forum_logblocked','1'),(359,'forum_ajaxrating','0'),(360,'glossary_entbypage','10'),(361,'glossary_dupentries','0'),(362,'glossary_allowcomments','0'),(363,'glossary_linkbydefault','1'),(364,'glossary_defaultapproval','1'),(365,'glossary_enablerssfeeds','0'),(366,'glossary_linkentries','0'),(367,'glossary_casesensitive','0'),(368,'glossary_fullmatch','0'),(369,'lams_serverurl',''),(370,'lams_serverid',''),(371,'lams_serverkey',''),(372,'resource_framesize','130'),(373,'resource_websearch','http://google.com/'),(374,'resource_defaulturl','http://'),(375,'resource_secretphrase','SRTpMLm568s4IrL9DDWU'),(376,'resource_allowlocalfiles','0'),(377,'resource_popup',''),(378,'resource_popupresizable','checked'),(379,'resource_popupscrollbars','checked'),(380,'resource_popupdirectories','checked'),(381,'resource_popuplocation','checked'),(382,'resource_popupmenubar','checked'),(383,'resource_popuptoolbar','checked'),(384,'resource_popupstatus','checked'),(385,'resource_popupwidth','620'),(386,'resource_popupheight','450'),(387,'resource_autofilerename','1'),(388,'resource_blockdeletingfile','1'),(389,'scorm_grademethod','1'),(390,'scorm_maxgrade','100'),(391,'scorm_maxattempts','0'),(392,'scorm_whatgrade','0'),(393,'scorm_framewidth','100%'),(394,'scorm_frameheight','500'),(395,'scorm_popup','0'),(396,'scorm_resizable','0'),(397,'scorm_scrollbars','0'),(398,'scorm_directories','0'),(399,'scorm_location','0'),(400,'scorm_menubar','0'),(401,'scorm_toolbar','0'),(402,'scorm_status','0'),(403,'scorm_skipview','0'),(404,'scorm_hidebrowse','0'),(405,'scorm_hidetoc','0'),(406,'scorm_hidenav','0'),(407,'scorm_auto','0'),(408,'scorm_updatefreq','0'),(409,'block_course_list_adminview','all'),(410,'block_course_list_hideallcourseslink','0'),(411,'block_online_users_timetosee','10'),(412,'defaultallowedmodules',''),(413,'coursemanager','3'),(414,'frontpage','1'),(415,'frontpageloggedin','1'),(416,'maxcategorydepth','0'),(417,'coursesperpage','20'),(418,'allowvisiblecoursesinhiddencategories','0'),(419,'defaultfrontpageroleid','0'),(420,'supportname','First name Surname'),(421,'supportemail','admin@admin.com'),(423,'digestmailtimelast','1285804802'),(424,'forum_lastreadclean','1285805703'),(425,'scorm_updatetimelast','1264629602'),(426,'lastexpirynotify','20100930'),(428,'quiz_adaptive','1'),(429,'quiz_timemodified','1264651377'),(430,'quiz_preventlate','0'),(432,'statslastdaily','1285830000'),(433,'statslastexecution','1285830009'),(435,'statslastweekly','1285570800'),(436,'statslastmonthly','1283299200'),(472,'textfilters','filter/multilang,mod/data,mod/glossary,mod/resource,mod/wiki,filter/activitynames,filter/mediaplugin'),(479,'registerauth',''),(480,'registered','1267589267'),(483,'excludeoldflashclients','10.0.12'),(484,'enableimsccimport','0');

--
-- Table structure for table `mdl_config_plugins`
--

CREATE TABLE `mdl_config_plugins` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `plugin` varchar(100) NOT NULL default 'core',
  `name` varchar(100) NOT NULL default '',
  `value` text NOT NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_confplug_plunam_uix` (`plugin`,`name`)
) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_config_plugins`
--

INSERT INTO `mdl_config_plugins` VALUES (1,'moodlecourse','format','weeks'),(2,'moodlecourse','numsections','10'),(3,'moodlecourse','hiddensections','0'),(4,'moodlecourse','newsitems','5'),(5,'moodlecourse','showgrades','1'),(6,'moodlecourse','showreports','0'),(7,'moodlecourse','maxbytes','134217728'),(8,'moodlecourse','metacourse','0'),(9,'qtype_random','selectmanual','0'),(10,'auth/manual','field_lock_firstname','locked'),(11,'auth/manual','field_lock_lastname','locked'),(12,'auth/manual','field_lock_email','locked'),(13,'auth/manual','field_lock_city','locked'),(14,'auth/manual','field_lock_country','locked'),(15,'auth/manual','field_lock_lang','locked'),(16,'auth/manual','field_lock_description','locked'),(17,'auth/manual','field_lock_url','locked'),(18,'auth/manual','field_lock_idnumber','locked'),(19,'auth/manual','field_lock_institution','locked'),(20,'auth/manual','field_lock_department','locked'),(21,'auth/manual','field_lock_phone1','locked'),(22,'auth/manual','field_lock_phone2','locked'),(23,'auth/manual','field_lock_address','locked');

--
-- Table structure for table `mdl_context`
--

CREATE TABLE `mdl_context` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `contextlevel` bigint(10) unsigned NOT NULL default '0',
  `instanceid` bigint(10) unsigned NOT NULL default '0',
  `path` varchar(255) default NULL,
  `depth` tinyint(2) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_cont_conins_uix` (`contextlevel`,`instanceid`),
  KEY `mdl_cont_ins_ix` (`instanceid`),
  KEY `mdl_cont_pat_ix` (`path`)
) ENGINE=MyISAM AUTO_INCREMENT=43 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_context`
--

INSERT INTO `mdl_context` VALUES (1,10,0,'/1',1),(2,50,1,'/1/2',2),(3,40,1,'/1/3',2),(4,80,1,'/1/2/4',3),(5,80,2,'/1/2/5',3),(6,80,3,'/1/2/6',3),(7,80,4,'/1/2/7',3),(8,80,5,'/1/8',2),(9,80,6,'/1/9',2),(10,30,2,'/1/10',2),(11,80,7,'/1/11',2),(12,80,8,'/1/12',2),(13,50,2,'/1/3/13',3),(14,80,9,'/1/3/13/14',4),(15,80,10,'/1/3/13/15',4),(16,80,11,'/1/3/13/16',4),(17,80,12,'/1/3/13/17',4),(18,80,13,'/1/3/13/18',4),(19,80,14,'/1/3/13/19',4),(20,70,1,'/1/3/13/20',4),(21,80,15,'/1/3/13/21',4),(22,80,16,'/1/3/13/22',4),(23,30,1,'/1/23',2),(24,50,3,'/1/3/24',3),(25,80,17,'/1/3/24/25',4),(26,80,18,'/1/3/24/26',4),(27,80,19,'/1/3/24/27',4),(28,80,20,'/1/3/24/28',4),(29,80,21,'/1/3/24/29',4),(30,80,22,'/1/3/24/30',4),(31,70,2,'/1/3/24/31',4),(32,80,23,'/1/3/24/32',4),(33,80,24,'/1/3/24/33',4),(34,70,3,'/1/3/13/34',4),(35,70,4,'/1/3/13/35',4),(36,70,5,'/1/3/13/36',4),(38,30,5,'/1/38',2),(39,30,3,'/1/39',2),(40,30,4,'/1/40',2),(41,30,6,'/1/41',2),(42,70,6,'/1/3/13/42',4);

--
-- Table structure for table `mdl_context_temp`
--

CREATE TABLE `mdl_context_temp` (
  `id` bigint(10) unsigned NOT NULL,
  `path` varchar(255) NOT NULL default '',
  `depth` tinyint(2) unsigned NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_context_temp`
--


--
-- Table structure for table `mdl_course_allowed_modules`
--

CREATE TABLE `mdl_course_allowed_modules` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `module` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_courallomodu_cou_ix` (`course`),
  KEY `mdl_courallomodu_mod_ix` (`module`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_course_allowed_modules`
--


--
-- Table structure for table `mdl_course_categories`
--

CREATE TABLE `mdl_course_categories` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `description` text,
  `parent` bigint(10) unsigned NOT NULL default '0',
  `sortorder` bigint(10) unsigned NOT NULL default '0',
  `coursecount` bigint(10) unsigned NOT NULL default '0',
  `visible` tinyint(1) NOT NULL default '1',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `depth` bigint(10) unsigned NOT NULL default '0',
  `path` varchar(255) NOT NULL default '',
  `theme` varchar(50) default NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_courcate_par_ix` (`parent`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_course_categories`
--

INSERT INTO `mdl_course_categories` VALUES (1,'Miscellaneous',NULL,0,0,2,1,0,1,'/1',NULL);

--
-- Table structure for table `mdl_course_display`
--

CREATE TABLE `mdl_course_display` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `display` bigint(10) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_courdisp_couuse_ix` (`course`,`userid`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_course_display`
--

INSERT INTO `mdl_course_display` VALUES (1,2,2,0),(2,3,2,0),(3,2,3,0),(4,2,4,0),(5,2,5,0);

--
-- Table structure for table `mdl_course_meta`
--

CREATE TABLE `mdl_course_meta` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `parent_course` bigint(10) unsigned NOT NULL default '0',
  `child_course` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_courmeta_par_ix` (`parent_course`),
  KEY `mdl_courmeta_chi_ix` (`child_course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_course_meta`
--


--
-- Table structure for table `mdl_course_modules`
--

CREATE TABLE `mdl_course_modules` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `module` bigint(10) unsigned NOT NULL default '0',
  `instance` bigint(10) unsigned NOT NULL default '0',
  `section` bigint(10) unsigned NOT NULL default '0',
  `idnumber` varchar(100) default NULL,
  `added` bigint(10) unsigned NOT NULL default '0',
  `score` smallint(4) NOT NULL default '0',
  `indent` mediumint(5) unsigned NOT NULL default '0',
  `visible` tinyint(1) NOT NULL default '1',
  `visibleold` tinyint(1) NOT NULL default '1',
  `groupmode` smallint(4) NOT NULL default '0',
  `groupingid` bigint(10) unsigned NOT NULL default '0',
  `groupmembersonly` smallint(4) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_courmodu_vis_ix` (`visible`),
  KEY `mdl_courmodu_cou_ix` (`course`),
  KEY `mdl_courmodu_mod_ix` (`module`),
  KEY `mdl_courmodu_ins_ix` (`instance`),
  KEY `mdl_courmodu_idncou_ix` (`idnumber`,`course`),
  KEY `mdl_courmodu_gro_ix` (`groupingid`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_course_modules`
--

INSERT INTO `mdl_course_modules` VALUES (1,2,5,1,1,NULL,1264632911,0,0,1,1,0,0,0),(2,3,5,2,12,NULL,1265695856,0,0,1,1,0,0,0),(3,2,11,1,2,'',1267488997,0,0,1,1,0,0,0),(4,2,13,1,2,'',1267516169,0,0,1,1,0,0,0),(5,2,7,1,2,'',1267776350,0,0,1,1,0,0,0),(6,2,11,2,2,'',1268870312,0,0,1,1,0,0,0);

--
-- Table structure for table `mdl_course_request`
--

CREATE TABLE `mdl_course_request` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `fullname` varchar(254) NOT NULL default '',
  `shortname` varchar(15) NOT NULL default '',
  `summary` text NOT NULL,
  `reason` text NOT NULL,
  `requester` bigint(10) unsigned NOT NULL default '0',
  `password` varchar(50) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_courrequ_sho_ix` (`shortname`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_course_request`
--


--
-- Table structure for table `mdl_course_sections`
--

CREATE TABLE `mdl_course_sections` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `section` bigint(10) unsigned NOT NULL default '0',
  `summary` text,
  `sequence` text,
  `visible` tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (`id`),
  KEY `mdl_coursect_cousec_ix` (`course`,`section`)
) ENGINE=MyISAM AUTO_INCREMENT=31 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_course_sections`
--

INSERT INTO `mdl_course_sections` VALUES (1,2,0,NULL,'1',1),(2,2,1,'Russian Alphabet.\r\n<p>Learning to read and write in Cyrillic. </p>\r\n<p>Information about the Russian sound system: vowel reduction, palatalization, devoicing, and consonant assimilation. </p>','3,4,5,6',1),(3,2,2,'<p>Learning greetings, introductions, how to talk about oneself and ask about others. </p>\r\n<p>Grammar topics: Russian names, formal and informal speech, words functions in the sentence, gender, the nominative case, the verb &quot;to be&quot; in the present tense. </p>\r\n<p>Numerals 1-19 </p>',NULL,1),(4,2,3,'<p>Learning how to name things, family, professions. </p>\r\n<p>Grammar topics: grammatical gender, nominative plural of nouns, pronouns and adjectives in the nominative, some ways to express possession (possessive pronouns, &quot;I have&quot; in Russian ), some explication of pointing words and questions words, spelling rules. </p>\r\n<p>Numerals 20-49 </p>',NULL,1),(5,2,4,'<p>Learning how to talk about language, ethnic and national backgrounds </p>\r\n<p>Grammar: verbs in the present and past tense, introduction to conjunctions that mean “and” and “but”, adverbs.</p>\r\n<p>Numerals 50-199 </p>',NULL,1),(6,2,5,'<p>University, learning to discuss and write about where, when, and what we study </p>\r\n<p>Grammar: the prepositional case, introduction to the accusative case </p>',NULL,1),(7,2,6,'<p>Schedule of the day</p>\r\n<p>Learning about time expressions, daily activities and schedules, invitations, talking on the phone, reading and writing notes and letters. </p>\r\n<p>Grammar: days of the week, times of day, expressing necessity </p>',NULL,1),(8,2,7,'<p>Introduction to verbs of motion and verbs of position  </p>Questions with &quot;where&quot; and  &quot;where to&quot;, ? / ?? with the accusative case of direction ',NULL,1),(9,2,8,'<p>House, apartment, dormitory </p>\r\n<p>Talking about where and how we live </p>\r\n<p>Grammar: introduction to the genitive case (declensions and uses), the verb &quot;to wish&quot; </p>',NULL,1),(10,2,9,'<p>Our family </p>\r\n<p>Talking about our families and age expressions </p>\r\n<p>Grammar: introduction to the dative case, genitive plural, more on the accusative, stress in verb conjugations </p>',NULL,1),(11,2,10,'<p> есть At the store </p>\r\n<p>Learning about buying things in Russian </p>\r\n<p>Grammar: the past of ????, ?????? vs. ????? and ????? vs. ??????, more on the dative case, necessity and possibility </p>',NULL,1),(12,3,0,NULL,'2',1),(13,3,1,'<p>Language Assessment </p>\r\n<p>Review of RUS 101 Grammar &amp; classroom vocabulary </p>\r\n<p> Spelling and Pronunciation Rules, Cases, Pronouns, Question words, Verbs </p>',NULL,1),(14,3,2,'<p>Free time, hobbies </p>\r\n<p>Inviting people to do things, describing free time, sports</p>\r\n<p> Grammar: <strong>?????? </strong>? vs <strong>?????? ??, </strong> verbs of learning &amp; teaching, verbs that take the instrumental: <strong>??????????, ??????????, ??????????????, ?????, ????, </strong>adjectives that trigger the instrumental: <strong>???????, </strong>being bored and missing people (<strong>??? ??????</strong> vs<strong> ? ??????</strong>), the whole, everyone, everything (<strong>????, ???, ???</strong>), myself (<strong>????</strong>) </p>',NULL,1),(15,3,3,'<p>Weather and travel </p>\r\n<p>Talking about the weather and climate, talking about travel, reading weather reports, using Russian weather sites </p>\r\n<p>Grammar: Weather terms &amp; expressions, expressing states: subjectless dative constructions (“ <strong>??? </strong><strong>?????? </strong>”), adjectives with and without subjects (“ <strong>????? </strong>” vs “ <strong>?????? </strong><strong>?????? </strong>”), seasons + instrumental ( “ <strong>?????? </strong>”), months + prepositional (“ <strong>? ?????? </strong>”), prepositionals in –y (“ <strong>?? ???? </strong>”), the verb <strong>??????, ?</strong><strong>???? </strong>+ future perfective to mean “let’s” (“ <strong>????? </strong><strong>????????? </strong>”), <strong>????? + </strong>future imperfective to mean “let’s not” (“ <strong>????? </strong><strong>?? </strong><strong>????? </strong><strong>???????? </strong>”), invitations with <strong>??????????/?????????, ?</strong><strong>??? </strong>vs <strong>?? </strong>(if vs whether), the preposition <strong>? </strong>+ dative, <strong>???? ? ???? </strong>/ <strong>???? </strong><strong>? </strong><strong>???? </strong>(to go to someone’s place, to be at someone’s place), <strong>???? </strong>and <strong>????? </strong>+ future </p>',NULL,1),(16,3,4,'',NULL,1),(17,3,5,'',NULL,1),(18,3,6,'',NULL,1),(19,3,7,'',NULL,1),(20,3,8,'',NULL,1),(21,3,9,'',NULL,1),(22,3,10,'',NULL,1),(23,3,11,'',NULL,1),(24,3,12,'',NULL,1),(25,3,13,'',NULL,1),(26,3,14,'',NULL,1),(27,3,15,'',NULL,1),(28,2,11,'<p>Learning about food, restaurants, and food stores </p>\r\n<p>Grammar: review of verbs of motion and position, review of case forms and uses, conjugation of ???? and ???? , introduction to the instrumental case, the future tense, introduction to verbal aspect </p>',NULL,1),(29,2,12,'<p>Learning to say more about yourself and your home, learning the biographies of others, including famous Russians </p>\r\n<p>Grammar: expressing resemblance and location, more time expressions, verbal aspect in the past tense </p>',NULL,1),(30,1,0,'','',1);

--
-- Table structure for table `mdl_data`
--

CREATE TABLE `mdl_data` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `intro` text NOT NULL,
  `comments` smallint(4) unsigned NOT NULL default '0',
  `timeavailablefrom` bigint(10) unsigned NOT NULL default '0',
  `timeavailableto` bigint(10) unsigned NOT NULL default '0',
  `timeviewfrom` bigint(10) unsigned NOT NULL default '0',
  `timeviewto` bigint(10) unsigned NOT NULL default '0',
  `requiredentries` int(8) unsigned NOT NULL default '0',
  `requiredentriestoview` int(8) unsigned NOT NULL default '0',
  `maxentries` int(8) unsigned NOT NULL default '0',
  `rssarticles` smallint(4) unsigned NOT NULL default '0',
  `singletemplate` text,
  `listtemplate` text,
  `listtemplateheader` text,
  `listtemplatefooter` text,
  `addtemplate` text,
  `rsstemplate` text,
  `rsstitletemplate` text,
  `csstemplate` text,
  `jstemplate` text,
  `asearchtemplate` text,
  `approval` smallint(4) unsigned NOT NULL default '0',
  `scale` bigint(10) NOT NULL default '0',
  `assessed` bigint(10) unsigned NOT NULL default '0',
  `defaultsort` bigint(10) unsigned NOT NULL default '0',
  `defaultsortdir` smallint(4) unsigned NOT NULL default '0',
  `editany` smallint(4) unsigned NOT NULL default '0',
  `notification` bigint(10) default NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_data_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_data`
--


--
-- Table structure for table `mdl_data_comments`
--

CREATE TABLE `mdl_data_comments` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `recordid` bigint(10) unsigned NOT NULL default '0',
  `content` text NOT NULL,
  `format` tinyint(2) unsigned NOT NULL default '0',
  `created` bigint(10) unsigned NOT NULL default '0',
  `modified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_datacomm_rec_ix` (`recordid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_data_comments`
--


--
-- Table structure for table `mdl_data_content`
--

CREATE TABLE `mdl_data_content` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `fieldid` bigint(10) unsigned NOT NULL default '0',
  `recordid` bigint(10) unsigned NOT NULL default '0',
  `content` longtext,
  `content1` longtext,
  `content2` longtext,
  `content3` longtext,
  `content4` longtext,
  PRIMARY KEY  (`id`),
  KEY `mdl_datacont_rec_ix` (`recordid`),
  KEY `mdl_datacont_fie_ix` (`fieldid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_data_content`
--


--
-- Table structure for table `mdl_data_fields`
--

CREATE TABLE `mdl_data_fields` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `dataid` bigint(10) unsigned NOT NULL default '0',
  `type` varchar(255) NOT NULL default '',
  `name` varchar(255) NOT NULL default '',
  `description` text NOT NULL,
  `param1` text,
  `param2` text,
  `param3` text,
  `param4` text,
  `param5` text,
  `param6` text,
  `param7` text,
  `param8` text,
  `param9` text,
  `param10` text,
  PRIMARY KEY  (`id`),
  KEY `mdl_datafiel_typdat_ix` (`type`,`dataid`),
  KEY `mdl_datafiel_dat_ix` (`dataid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_data_fields`
--


--
-- Table structure for table `mdl_data_ratings`
--

CREATE TABLE `mdl_data_ratings` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `recordid` bigint(10) unsigned NOT NULL default '0',
  `rating` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_datarati_rec_ix` (`recordid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_data_ratings`
--


--
-- Table structure for table `mdl_data_records`
--

CREATE TABLE `mdl_data_records` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `groupid` bigint(10) unsigned NOT NULL default '0',
  `dataid` bigint(10) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `approved` smallint(4) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_datareco_dat_ix` (`dataid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_data_records`
--


--
-- Table structure for table `mdl_enrol_authorize`
--

CREATE TABLE `mdl_enrol_authorize` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `paymentmethod` enum('cc','echeck') NOT NULL default 'cc',
  `refundinfo` smallint(4) unsigned NOT NULL default '0',
  `ccname` varchar(255) NOT NULL default '',
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `transid` bigint(20) unsigned NOT NULL default '0',
  `status` bigint(10) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `settletime` bigint(10) unsigned NOT NULL default '0',
  `amount` varchar(10) NOT NULL default '',
  `currency` varchar(3) NOT NULL default 'USD',
  PRIMARY KEY  (`id`),
  KEY `mdl_enroauth_cou_ix` (`courseid`),
  KEY `mdl_enroauth_use_ix` (`userid`),
  KEY `mdl_enroauth_sta_ix` (`status`),
  KEY `mdl_enroauth_tra_ix` (`transid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_enrol_authorize`
--


--
-- Table structure for table `mdl_enrol_authorize_refunds`
--

CREATE TABLE `mdl_enrol_authorize_refunds` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `orderid` bigint(10) unsigned NOT NULL default '0',
  `status` tinyint(1) unsigned NOT NULL default '0',
  `amount` varchar(10) NOT NULL default '',
  `transid` bigint(20) unsigned default '0',
  `settletime` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_enroauthrefu_tra_ix` (`transid`),
  KEY `mdl_enroauthrefu_ord_ix` (`orderid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_enrol_authorize_refunds`
--


--
-- Table structure for table `mdl_enrol_paypal`
--

CREATE TABLE `mdl_enrol_paypal` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `business` varchar(255) NOT NULL default '',
  `receiver_email` varchar(255) NOT NULL default '',
  `receiver_id` varchar(255) NOT NULL default '',
  `item_name` varchar(255) NOT NULL default '',
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `memo` varchar(255) NOT NULL default '',
  `tax` varchar(255) NOT NULL default '',
  `option_name1` varchar(255) NOT NULL default '',
  `option_selection1_x` varchar(255) NOT NULL default '',
  `option_name2` varchar(255) NOT NULL default '',
  `option_selection2_x` varchar(255) NOT NULL default '',
  `payment_status` varchar(255) NOT NULL default '',
  `pending_reason` varchar(255) NOT NULL default '',
  `reason_code` varchar(30) NOT NULL default '',
  `txn_id` varchar(255) NOT NULL default '',
  `parent_txn_id` varchar(255) NOT NULL default '',
  `payment_type` varchar(30) NOT NULL default '',
  `timeupdated` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_enrol_paypal`
--


--
-- Table structure for table `mdl_event`
--

CREATE TABLE `mdl_event` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `description` text NOT NULL,
  `format` smallint(4) unsigned NOT NULL default '0',
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `groupid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `repeatid` bigint(10) unsigned NOT NULL default '0',
  `modulename` varchar(20) NOT NULL default '',
  `instance` bigint(10) unsigned NOT NULL default '0',
  `eventtype` varchar(20) NOT NULL default '',
  `timestart` bigint(10) unsigned NOT NULL default '0',
  `timeduration` bigint(10) unsigned NOT NULL default '0',
  `visible` smallint(4) NOT NULL default '1',
  `uuid` varchar(36) NOT NULL default '',
  `sequence` bigint(10) unsigned NOT NULL default '1',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_even_cou_ix` (`courseid`),
  KEY `mdl_even_use_ix` (`userid`),
  KEY `mdl_even_tim_ix` (`timestart`),
  KEY `mdl_even_tim2_ix` (`timeduration`),
  KEY `mdl_even_grocouvisuse_ix` (`groupid`,`courseid`,`visible`,`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_event`
--


--
-- Table structure for table `mdl_events_handlers`
--

CREATE TABLE `mdl_events_handlers` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `eventname` varchar(166) NOT NULL default '',
  `handlermodule` varchar(166) NOT NULL default '',
  `handlerfile` varchar(255) NOT NULL default '',
  `handlerfunction` mediumtext,
  `schedule` varchar(255) default NULL,
  `status` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_evenhand_evehan_uix` (`eventname`,`handlermodule`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_events_handlers`
--


--
-- Table structure for table `mdl_events_queue`
--

CREATE TABLE `mdl_events_queue` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `eventdata` longtext NOT NULL,
  `stackdump` mediumtext,
  `userid` bigint(10) unsigned default NULL,
  `timecreated` bigint(10) unsigned NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_evenqueu_use_ix` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_events_queue`
--


--
-- Table structure for table `mdl_events_queue_handlers`
--

CREATE TABLE `mdl_events_queue_handlers` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `queuedeventid` bigint(10) unsigned NOT NULL,
  `handlerid` bigint(10) unsigned NOT NULL,
  `status` bigint(10) default NULL,
  `errormessage` mediumtext,
  `timemodified` bigint(10) unsigned NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_evenqueuhand_que_ix` (`queuedeventid`),
  KEY `mdl_evenqueuhand_han_ix` (`handlerid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_events_queue_handlers`
--


--
-- Table structure for table `mdl_forum`
--

CREATE TABLE `mdl_forum` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `type` enum('single','news','general','social','eachuser','teacher','qanda') NOT NULL default 'general',
  `name` varchar(255) NOT NULL default '',
  `intro` text NOT NULL,
  `assessed` bigint(10) unsigned NOT NULL default '0',
  `assesstimestart` bigint(10) unsigned NOT NULL default '0',
  `assesstimefinish` bigint(10) unsigned NOT NULL default '0',
  `scale` bigint(10) NOT NULL default '0',
  `maxbytes` bigint(10) unsigned NOT NULL default '0',
  `forcesubscribe` tinyint(1) unsigned NOT NULL default '0',
  `trackingtype` tinyint(2) unsigned NOT NULL default '1',
  `rsstype` tinyint(2) unsigned NOT NULL default '0',
  `rssarticles` tinyint(2) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `warnafter` bigint(10) unsigned NOT NULL default '0',
  `blockafter` bigint(10) unsigned NOT NULL default '0',
  `blockperiod` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_foru_cou_ix` (`course`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_forum`
--

INSERT INTO `mdl_forum` VALUES (1,2,'news','News forum','General news and announcements',0,0,0,1,0,1,1,0,0,1264632911,0,0,0),(2,3,'news','News forum','General news and announcements',0,0,0,1,0,1,1,0,0,1265695856,0,0,0);

--
-- Table structure for table `mdl_forum_discussions`
--

CREATE TABLE `mdl_forum_discussions` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `forum` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `firstpost` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `groupid` bigint(10) NOT NULL default '-1',
  `assessed` tinyint(1) NOT NULL default '1',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `usermodified` bigint(10) unsigned NOT NULL default '0',
  `timestart` bigint(10) unsigned NOT NULL default '0',
  `timeend` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_forudisc_use_ix` (`userid`),
  KEY `mdl_forudisc_for_ix` (`forum`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_forum_discussions`
--


--
-- Table structure for table `mdl_forum_posts`
--

CREATE TABLE `mdl_forum_posts` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `discussion` bigint(10) unsigned NOT NULL default '0',
  `parent` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `created` bigint(10) unsigned NOT NULL default '0',
  `modified` bigint(10) unsigned NOT NULL default '0',
  `mailed` tinyint(2) unsigned NOT NULL default '0',
  `subject` varchar(255) NOT NULL default '',
  `message` text NOT NULL,
  `format` tinyint(2) NOT NULL default '0',
  `attachment` varchar(100) NOT NULL default '',
  `totalscore` smallint(4) NOT NULL default '0',
  `mailnow` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_forupost_use_ix` (`userid`),
  KEY `mdl_forupost_cre_ix` (`created`),
  KEY `mdl_forupost_mai_ix` (`mailed`),
  KEY `mdl_forupost_dis_ix` (`discussion`),
  KEY `mdl_forupost_par_ix` (`parent`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_forum_posts`
--


--
-- Table structure for table `mdl_forum_queue`
--

CREATE TABLE `mdl_forum_queue` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `discussionid` bigint(10) unsigned NOT NULL default '0',
  `postid` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_foruqueu_use_ix` (`userid`),
  KEY `mdl_foruqueu_dis_ix` (`discussionid`),
  KEY `mdl_foruqueu_pos_ix` (`postid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_forum_queue`
--


--
-- Table structure for table `mdl_forum_ratings`
--

CREATE TABLE `mdl_forum_ratings` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `post` bigint(10) unsigned NOT NULL default '0',
  `time` bigint(10) unsigned NOT NULL default '0',
  `rating` smallint(4) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_forurati_use_ix` (`userid`),
  KEY `mdl_forurati_pos_ix` (`post`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_forum_ratings`
--


--
-- Table structure for table `mdl_forum_read`
--

CREATE TABLE `mdl_forum_read` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `forumid` bigint(10) unsigned NOT NULL default '0',
  `discussionid` bigint(10) unsigned NOT NULL default '0',
  `postid` bigint(10) unsigned NOT NULL default '0',
  `firstread` bigint(10) unsigned NOT NULL default '0',
  `lastread` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_foruread_usefor_ix` (`userid`,`forumid`),
  KEY `mdl_foruread_usedis_ix` (`userid`,`discussionid`),
  KEY `mdl_foruread_usepos_ix` (`userid`,`postid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_forum_read`
--


--
-- Table structure for table `mdl_forum_subscriptions`
--

CREATE TABLE `mdl_forum_subscriptions` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `forum` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_forusubs_use_ix` (`userid`),
  KEY `mdl_forusubs_for_ix` (`forum`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_forum_subscriptions`
--


--
-- Table structure for table `mdl_forum_track_prefs`
--

CREATE TABLE `mdl_forum_track_prefs` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `forumid` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_forutracpref_usefor_ix` (`userid`,`forumid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_forum_track_prefs`
--


--
-- Table structure for table `mdl_glossary`
--

CREATE TABLE `mdl_glossary` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `intro` text NOT NULL,
  `allowduplicatedentries` tinyint(2) unsigned NOT NULL default '0',
  `displayformat` varchar(50) NOT NULL default 'dictionary',
  `mainglossary` tinyint(2) unsigned NOT NULL default '0',
  `showspecial` tinyint(2) unsigned NOT NULL default '1',
  `showalphabet` tinyint(2) unsigned NOT NULL default '1',
  `showall` tinyint(2) unsigned NOT NULL default '1',
  `allowcomments` tinyint(2) unsigned NOT NULL default '0',
  `allowprintview` tinyint(2) unsigned NOT NULL default '1',
  `usedynalink` tinyint(2) unsigned NOT NULL default '1',
  `defaultapproval` tinyint(2) unsigned NOT NULL default '1',
  `globalglossary` tinyint(2) unsigned NOT NULL default '0',
  `entbypage` smallint(3) unsigned NOT NULL default '10',
  `editalways` tinyint(2) unsigned NOT NULL default '0',
  `rsstype` tinyint(2) unsigned NOT NULL default '0',
  `rssarticles` tinyint(2) unsigned NOT NULL default '0',
  `assessed` bigint(10) unsigned NOT NULL default '0',
  `assesstimestart` bigint(10) unsigned NOT NULL default '0',
  `assesstimefinish` bigint(10) unsigned NOT NULL default '0',
  `scale` bigint(10) NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_glos_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_glossary`
--


--
-- Table structure for table `mdl_glossary_alias`
--

CREATE TABLE `mdl_glossary_alias` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `entryid` bigint(10) unsigned NOT NULL default '0',
  `alias` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_glosalia_ent_ix` (`entryid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_glossary_alias`
--


--
-- Table structure for table `mdl_glossary_categories`
--

CREATE TABLE `mdl_glossary_categories` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `glossaryid` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `usedynalink` tinyint(2) unsigned NOT NULL default '1',
  PRIMARY KEY  (`id`),
  KEY `mdl_gloscate_glo_ix` (`glossaryid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_glossary_categories`
--


--
-- Table structure for table `mdl_glossary_comments`
--

CREATE TABLE `mdl_glossary_comments` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `entryid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `entrycomment` text NOT NULL,
  `format` tinyint(2) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_gloscomm_use_ix` (`userid`),
  KEY `mdl_gloscomm_ent_ix` (`entryid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_glossary_comments`
--


--
-- Table structure for table `mdl_glossary_entries`
--

CREATE TABLE `mdl_glossary_entries` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `glossaryid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `concept` varchar(255) NOT NULL default '',
  `definition` text NOT NULL,
  `format` tinyint(2) unsigned NOT NULL default '0',
  `attachment` varchar(100) NOT NULL default '',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `teacherentry` tinyint(2) unsigned NOT NULL default '0',
  `sourceglossaryid` bigint(10) unsigned NOT NULL default '0',
  `usedynalink` tinyint(2) unsigned NOT NULL default '1',
  `casesensitive` tinyint(2) unsigned NOT NULL default '0',
  `fullmatch` tinyint(2) unsigned NOT NULL default '1',
  `approved` tinyint(2) unsigned NOT NULL default '1',
  PRIMARY KEY  (`id`),
  KEY `mdl_glosentr_use_ix` (`userid`),
  KEY `mdl_glosentr_con_ix` (`concept`),
  KEY `mdl_glosentr_glo_ix` (`glossaryid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_glossary_entries`
--


--
-- Table structure for table `mdl_glossary_entries_categories`
--

CREATE TABLE `mdl_glossary_entries_categories` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `categoryid` bigint(10) unsigned NOT NULL default '0',
  `entryid` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_glosentrcate_cat_ix` (`categoryid`),
  KEY `mdl_glosentrcate_ent_ix` (`entryid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_glossary_entries_categories`
--


--
-- Table structure for table `mdl_glossary_formats`
--

CREATE TABLE `mdl_glossary_formats` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(50) NOT NULL default '',
  `popupformatname` varchar(50) NOT NULL default '',
  `visible` tinyint(2) unsigned NOT NULL default '1',
  `showgroup` tinyint(2) unsigned NOT NULL default '1',
  `defaultmode` varchar(50) NOT NULL default '',
  `defaulthook` varchar(50) NOT NULL default '',
  `sortkey` varchar(50) NOT NULL default '',
  `sortorder` varchar(50) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_glossary_formats`
--

INSERT INTO `mdl_glossary_formats` VALUES (1,'continuous','continuous',1,1,'','','',''),(2,'dictionary','dictionary',1,1,'','','',''),(3,'encyclopedia','encyclopedia',1,1,'','','',''),(4,'entrylist','entrylist',1,1,'','','',''),(5,'faq','faq',1,1,'','','',''),(6,'fullwithauthor','fullwithauthor',1,1,'','','',''),(7,'fullwithoutauthor','fullwithoutauthor',1,1,'','','','');

--
-- Table structure for table `mdl_glossary_ratings`
--

CREATE TABLE `mdl_glossary_ratings` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `entryid` bigint(10) unsigned NOT NULL default '0',
  `time` bigint(10) unsigned NOT NULL default '0',
  `rating` smallint(4) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_glosrati_use_ix` (`userid`),
  KEY `mdl_glosrati_ent_ix` (`entryid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_glossary_ratings`
--


--
-- Table structure for table `mdl_grade_categories`
--

CREATE TABLE `mdl_grade_categories` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL,
  `parent` bigint(10) unsigned default NULL,
  `depth` bigint(10) unsigned NOT NULL default '0',
  `path` varchar(255) default NULL,
  `fullname` varchar(255) NOT NULL default '',
  `aggregation` bigint(10) NOT NULL default '0',
  `keephigh` bigint(10) NOT NULL default '0',
  `droplow` bigint(10) NOT NULL default '0',
  `aggregateonlygraded` tinyint(1) unsigned NOT NULL default '0',
  `aggregateoutcomes` tinyint(1) unsigned NOT NULL default '0',
  `aggregatesubcats` tinyint(1) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL,
  `timemodified` bigint(10) unsigned NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_gradcate_cou_ix` (`courseid`),
  KEY `mdl_gradcate_par_ix` (`parent`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_categories`
--

INSERT INTO `mdl_grade_categories` VALUES (1,2,NULL,1,'/1/','?',11,0,0,1,0,0,1264633125,1264633125),(2,1,NULL,1,'/2/','?',11,0,0,1,0,0,1265004902,1265004902),(3,3,NULL,1,'/3/','?',11,0,0,1,0,0,1266214504,1266214504);

--
-- Table structure for table `mdl_grade_categories_history`
--

CREATE TABLE `mdl_grade_categories_history` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `action` bigint(10) unsigned NOT NULL default '0',
  `oldid` bigint(10) unsigned NOT NULL,
  `source` varchar(255) default NULL,
  `timemodified` bigint(10) unsigned default NULL,
  `loggeduser` bigint(10) unsigned default NULL,
  `courseid` bigint(10) unsigned NOT NULL,
  `parent` bigint(10) unsigned default NULL,
  `depth` bigint(10) unsigned NOT NULL default '0',
  `path` varchar(255) default NULL,
  `fullname` varchar(255) NOT NULL default '',
  `aggregation` bigint(10) NOT NULL default '0',
  `keephigh` bigint(10) NOT NULL default '0',
  `droplow` bigint(10) NOT NULL default '0',
  `aggregateonlygraded` tinyint(1) unsigned NOT NULL default '0',
  `aggregateoutcomes` tinyint(1) unsigned NOT NULL default '0',
  `aggregatesubcats` tinyint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_gradcatehist_act_ix` (`action`),
  KEY `mdl_gradcatehist_old_ix` (`oldid`),
  KEY `mdl_gradcatehist_cou_ix` (`courseid`),
  KEY `mdl_gradcatehist_par_ix` (`parent`),
  KEY `mdl_gradcatehist_log_ix` (`loggeduser`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_categories_history`
--

INSERT INTO `mdl_grade_categories_history` VALUES (1,1,1,'system',1264633125,NULL,2,NULL,0,NULL,'?',11,0,0,1,0,0),(2,2,1,'system',1264633125,NULL,2,NULL,1,'/1/','?',11,0,0,1,0,0),(3,1,2,'system',1265004902,NULL,1,NULL,0,NULL,'?',11,0,0,1,0,0),(4,2,2,'system',1265004902,NULL,1,NULL,1,'/2/','?',11,0,0,1,0,0),(5,1,3,'system',1266214504,NULL,3,NULL,0,NULL,'?',11,0,0,1,0,0),(6,2,3,'system',1266214504,NULL,3,NULL,1,'/3/','?',11,0,0,1,0,0);

--
-- Table structure for table `mdl_grade_grades`
--

CREATE TABLE `mdl_grade_grades` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `itemid` bigint(10) unsigned NOT NULL,
  `userid` bigint(10) unsigned NOT NULL,
  `rawgrade` decimal(10,5) default NULL,
  `rawgrademax` decimal(10,5) NOT NULL default '100.00000',
  `rawgrademin` decimal(10,5) NOT NULL default '0.00000',
  `rawscaleid` bigint(10) unsigned default NULL,
  `usermodified` bigint(10) unsigned default NULL,
  `finalgrade` decimal(10,5) default NULL,
  `hidden` bigint(10) unsigned NOT NULL default '0',
  `locked` bigint(10) unsigned NOT NULL default '0',
  `locktime` bigint(10) unsigned NOT NULL default '0',
  `exported` bigint(10) unsigned NOT NULL default '0',
  `overridden` bigint(10) unsigned NOT NULL default '0',
  `excluded` bigint(10) unsigned NOT NULL default '0',
  `feedback` mediumtext,
  `feedbackformat` bigint(10) unsigned NOT NULL default '0',
  `information` mediumtext,
  `informationformat` bigint(10) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned default NULL,
  `timemodified` bigint(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_gradgrad_useite_uix` (`userid`,`itemid`),
  KEY `mdl_gradgrad_locloc_ix` (`locked`,`locktime`),
  KEY `mdl_gradgrad_ite_ix` (`itemid`),
  KEY `mdl_gradgrad_use_ix` (`userid`),
  KEY `mdl_gradgrad_raw_ix` (`rawscaleid`),
  KEY `mdl_gradgrad_use2_ix` (`usermodified`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_grades`
--


--
-- Table structure for table `mdl_grade_grades_history`
--

CREATE TABLE `mdl_grade_grades_history` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `action` bigint(10) unsigned NOT NULL default '0',
  `oldid` bigint(10) unsigned NOT NULL,
  `source` varchar(255) default NULL,
  `timemodified` bigint(10) unsigned default NULL,
  `loggeduser` bigint(10) unsigned default NULL,
  `itemid` bigint(10) unsigned NOT NULL,
  `userid` bigint(10) unsigned NOT NULL,
  `rawgrade` decimal(10,5) default NULL,
  `rawgrademax` decimal(10,5) NOT NULL default '100.00000',
  `rawgrademin` decimal(10,5) NOT NULL default '0.00000',
  `rawscaleid` bigint(10) unsigned default NULL,
  `usermodified` bigint(10) unsigned default NULL,
  `finalgrade` decimal(10,5) default NULL,
  `hidden` bigint(10) unsigned NOT NULL default '0',
  `locked` bigint(10) unsigned NOT NULL default '0',
  `locktime` bigint(10) unsigned NOT NULL default '0',
  `exported` bigint(10) unsigned NOT NULL default '0',
  `overridden` bigint(10) unsigned NOT NULL default '0',
  `excluded` bigint(10) unsigned NOT NULL default '0',
  `feedback` mediumtext,
  `feedbackformat` bigint(10) unsigned NOT NULL default '0',
  `information` mediumtext,
  `informationformat` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_gradgradhist_act_ix` (`action`),
  KEY `mdl_gradgradhist_old_ix` (`oldid`),
  KEY `mdl_gradgradhist_ite_ix` (`itemid`),
  KEY `mdl_gradgradhist_use_ix` (`userid`),
  KEY `mdl_gradgradhist_raw_ix` (`rawscaleid`),
  KEY `mdl_gradgradhist_use2_ix` (`usermodified`),
  KEY `mdl_gradgradhist_log_ix` (`loggeduser`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_grades_history`
--


--
-- Table structure for table `mdl_grade_import_newitem`
--

CREATE TABLE `mdl_grade_import_newitem` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `itemname` varchar(255) NOT NULL default '',
  `importcode` bigint(10) unsigned NOT NULL,
  `importer` bigint(10) unsigned NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_gradimponewi_imp_ix` (`importer`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_import_newitem`
--


--
-- Table structure for table `mdl_grade_import_values`
--

CREATE TABLE `mdl_grade_import_values` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `itemid` bigint(10) unsigned default NULL,
  `newgradeitem` bigint(10) unsigned default NULL,
  `userid` bigint(10) unsigned NOT NULL,
  `finalgrade` decimal(10,5) default NULL,
  `feedback` mediumtext,
  `importcode` bigint(10) unsigned NOT NULL,
  `importer` bigint(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_gradimpovalu_ite_ix` (`itemid`),
  KEY `mdl_gradimpovalu_new_ix` (`newgradeitem`),
  KEY `mdl_gradimpovalu_imp_ix` (`importer`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_import_values`
--


--
-- Table structure for table `mdl_grade_items`
--

CREATE TABLE `mdl_grade_items` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned default NULL,
  `categoryid` bigint(10) unsigned default NULL,
  `itemname` varchar(255) default NULL,
  `itemtype` varchar(30) NOT NULL default '',
  `itemmodule` varchar(30) default NULL,
  `iteminstance` bigint(10) unsigned default NULL,
  `itemnumber` bigint(10) unsigned default NULL,
  `iteminfo` mediumtext,
  `idnumber` varchar(255) default NULL,
  `calculation` mediumtext,
  `gradetype` smallint(4) NOT NULL default '1',
  `grademax` decimal(10,5) NOT NULL default '100.00000',
  `grademin` decimal(10,5) NOT NULL default '0.00000',
  `scaleid` bigint(10) unsigned default NULL,
  `outcomeid` bigint(10) unsigned default NULL,
  `gradepass` decimal(10,5) NOT NULL default '0.00000',
  `multfactor` decimal(10,5) NOT NULL default '1.00000',
  `plusfactor` decimal(10,5) NOT NULL default '0.00000',
  `aggregationcoef` decimal(10,5) NOT NULL default '0.00000',
  `sortorder` bigint(10) NOT NULL default '0',
  `display` bigint(10) NOT NULL default '0',
  `decimals` tinyint(1) unsigned default NULL,
  `hidden` bigint(10) NOT NULL default '0',
  `locked` bigint(10) NOT NULL default '0',
  `locktime` bigint(10) unsigned NOT NULL default '0',
  `needsupdate` bigint(10) NOT NULL default '0',
  `timecreated` bigint(10) unsigned default NULL,
  `timemodified` bigint(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_graditem_locloc_ix` (`locked`,`locktime`),
  KEY `mdl_graditem_itenee_ix` (`itemtype`,`needsupdate`),
  KEY `mdl_graditem_gra_ix` (`gradetype`),
  KEY `mdl_graditem_idncou_ix` (`idnumber`,`courseid`),
  KEY `mdl_graditem_cou_ix` (`courseid`),
  KEY `mdl_graditem_cat_ix` (`categoryid`),
  KEY `mdl_graditem_sca_ix` (`scaleid`),
  KEY `mdl_graditem_out_ix` (`outcomeid`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_items`
--

INSERT INTO `mdl_grade_items` VALUES (1,2,NULL,NULL,'course',NULL,1,NULL,NULL,NULL,NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',1,0,NULL,0,0,0,0,1264633125,1264633125),(2,1,NULL,NULL,'course',NULL,2,NULL,NULL,NULL,NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',1,0,NULL,0,0,0,0,1265004902,1265004902),(3,3,NULL,NULL,'course',NULL,3,NULL,NULL,NULL,NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',1,0,NULL,0,0,0,0,1266214504,1266214504),(4,2,1,'Russian Alphabet Quiz 1','mod','hotpot',1,0,NULL,'',NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',2,0,NULL,0,0,0,0,1267776350,1267776350),(5,2,1,'Phonetics','mod','lesson',2,0,NULL,'',NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',3,0,NULL,0,0,0,0,1268870312,1268870312);

--
-- Table structure for table `mdl_grade_items_history`
--

CREATE TABLE `mdl_grade_items_history` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `action` bigint(10) unsigned NOT NULL default '0',
  `oldid` bigint(10) unsigned NOT NULL,
  `source` varchar(255) default NULL,
  `timemodified` bigint(10) unsigned default NULL,
  `loggeduser` bigint(10) unsigned default NULL,
  `courseid` bigint(10) unsigned default NULL,
  `categoryid` bigint(10) unsigned default NULL,
  `itemname` varchar(255) default NULL,
  `itemtype` varchar(30) NOT NULL default '',
  `itemmodule` varchar(30) default NULL,
  `iteminstance` bigint(10) unsigned default NULL,
  `itemnumber` bigint(10) unsigned default NULL,
  `iteminfo` mediumtext,
  `idnumber` varchar(255) default NULL,
  `calculation` mediumtext,
  `gradetype` smallint(4) NOT NULL default '1',
  `grademax` decimal(10,5) NOT NULL default '100.00000',
  `grademin` decimal(10,5) NOT NULL default '0.00000',
  `scaleid` bigint(10) unsigned default NULL,
  `outcomeid` bigint(10) unsigned default NULL,
  `gradepass` decimal(10,5) NOT NULL default '0.00000',
  `multfactor` decimal(10,5) NOT NULL default '1.00000',
  `plusfactor` decimal(10,5) NOT NULL default '0.00000',
  `aggregationcoef` decimal(10,5) NOT NULL default '0.00000',
  `sortorder` bigint(10) NOT NULL default '0',
  `hidden` bigint(10) NOT NULL default '0',
  `locked` bigint(10) NOT NULL default '0',
  `locktime` bigint(10) unsigned NOT NULL default '0',
  `needsupdate` bigint(10) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_graditemhist_act_ix` (`action`),
  KEY `mdl_graditemhist_old_ix` (`oldid`),
  KEY `mdl_graditemhist_cou_ix` (`courseid`),
  KEY `mdl_graditemhist_cat_ix` (`categoryid`),
  KEY `mdl_graditemhist_sca_ix` (`scaleid`),
  KEY `mdl_graditemhist_out_ix` (`outcomeid`),
  KEY `mdl_graditemhist_log_ix` (`loggeduser`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_items_history`
--

INSERT INTO `mdl_grade_items_history` VALUES (1,1,1,'system',1264633125,NULL,2,NULL,NULL,'course',NULL,1,NULL,NULL,NULL,NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',1,0,0,0,1),(2,1,2,'system',1265004902,NULL,1,NULL,NULL,'course',NULL,2,NULL,NULL,NULL,NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',1,0,0,0,1),(3,1,3,'system',1266214504,NULL,3,NULL,NULL,'course',NULL,3,NULL,NULL,NULL,NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',1,0,0,0,1),(4,1,4,NULL,1267776350,NULL,2,1,'Russian Alphabet Quiz 1','mod','hotpot',1,0,NULL,'',NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',2,0,0,0,1),(5,1,5,NULL,1268870312,NULL,2,1,'Phonetics','mod','lesson',2,0,NULL,'',NULL,1,'100.00000','0.00000',NULL,NULL,'0.00000','1.00000','0.00000','0.00000',3,0,0,0,1);

--
-- Table structure for table `mdl_grade_letters`
--

CREATE TABLE `mdl_grade_letters` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `contextid` bigint(10) unsigned NOT NULL,
  `lowerboundary` decimal(10,5) NOT NULL,
  `letter` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_gradlett_conlow_ix` (`contextid`,`lowerboundary`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_letters`
--


--
-- Table structure for table `mdl_grade_outcomes`
--

CREATE TABLE `mdl_grade_outcomes` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned default NULL,
  `shortname` varchar(255) NOT NULL default '',
  `fullname` text NOT NULL,
  `scaleid` bigint(10) unsigned default NULL,
  `description` text,
  `timecreated` bigint(10) unsigned default NULL,
  `timemodified` bigint(10) unsigned default NULL,
  `usermodified` bigint(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_gradoutc_cousho_uix` (`courseid`,`shortname`),
  KEY `mdl_gradoutc_cou_ix` (`courseid`),
  KEY `mdl_gradoutc_sca_ix` (`scaleid`),
  KEY `mdl_gradoutc_use_ix` (`usermodified`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_outcomes`
--


--
-- Table structure for table `mdl_grade_outcomes_courses`
--

CREATE TABLE `mdl_grade_outcomes_courses` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL,
  `outcomeid` bigint(10) unsigned NOT NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_gradoutccour_couout_uix` (`courseid`,`outcomeid`),
  KEY `mdl_gradoutccour_cou_ix` (`courseid`),
  KEY `mdl_gradoutccour_out_ix` (`outcomeid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_outcomes_courses`
--


--
-- Table structure for table `mdl_grade_outcomes_history`
--

CREATE TABLE `mdl_grade_outcomes_history` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `action` bigint(10) unsigned NOT NULL default '0',
  `oldid` bigint(10) unsigned NOT NULL,
  `source` varchar(255) default NULL,
  `timemodified` bigint(10) unsigned default NULL,
  `loggeduser` bigint(10) unsigned default NULL,
  `courseid` bigint(10) unsigned default NULL,
  `shortname` varchar(255) NOT NULL default '',
  `fullname` text NOT NULL,
  `scaleid` bigint(10) unsigned default NULL,
  `description` text,
  PRIMARY KEY  (`id`),
  KEY `mdl_gradoutchist_act_ix` (`action`),
  KEY `mdl_gradoutchist_old_ix` (`oldid`),
  KEY `mdl_gradoutchist_cou_ix` (`courseid`),
  KEY `mdl_gradoutchist_sca_ix` (`scaleid`),
  KEY `mdl_gradoutchist_log_ix` (`loggeduser`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_outcomes_history`
--


--
-- Table structure for table `mdl_grade_settings`
--

CREATE TABLE `mdl_grade_settings` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL,
  `name` varchar(255) NOT NULL default '',
  `value` text,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_gradsett_counam_uix` (`courseid`,`name`),
  KEY `mdl_gradsett_cou_ix` (`courseid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_grade_settings`
--


--
-- Table structure for table `mdl_groupings`
--

CREATE TABLE `mdl_groupings` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `description` text,
  `configdata` text,
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_grou_cou2_ix` (`courseid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_groupings`
--


--
-- Table structure for table `mdl_groupings_groups`
--

CREATE TABLE `mdl_groupings_groups` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `groupingid` bigint(10) unsigned NOT NULL default '0',
  `groupid` bigint(10) unsigned NOT NULL default '0',
  `timeadded` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_grougrou_gro_ix` (`groupingid`),
  KEY `mdl_grougrou_gro2_ix` (`groupid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_groupings_groups`
--


--
-- Table structure for table `mdl_groups`
--

CREATE TABLE `mdl_groups` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL,
  `name` varchar(254) NOT NULL default '',
  `description` text,
  `enrolmentkey` varchar(50) default NULL,
  `picture` bigint(10) unsigned NOT NULL default '0',
  `hidepicture` tinyint(1) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_grou_cou_ix` (`courseid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_groups`
--


--
-- Table structure for table `mdl_groups_members`
--

CREATE TABLE `mdl_groups_members` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `groupid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `timeadded` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_groumemb_gro_ix` (`groupid`),
  KEY `mdl_groumemb_use_ix` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_groups_members`
--


--
-- Table structure for table `mdl_hotpot_attempts`
--

CREATE TABLE `mdl_hotpot_attempts` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `hotpot` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `starttime` bigint(10) unsigned NOT NULL default '0',
  `endtime` bigint(10) unsigned NOT NULL default '0',
  `score` mediumint(6) unsigned NOT NULL default '0',
  `penalties` mediumint(6) unsigned NOT NULL default '0',
  `attempt` mediumint(6) unsigned NOT NULL default '0',
  `timestart` bigint(10) unsigned NOT NULL default '0',
  `timefinish` bigint(10) unsigned NOT NULL default '0',
  `status` smallint(4) unsigned NOT NULL default '1',
  `clickreportid` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_hotpatte_use_ix` (`userid`),
  KEY `mdl_hotpatte_hot_ix` (`hotpot`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_hotpot_attempts`
--

INSERT INTO `mdl_hotpot_attempts` VALUES (1,1,2,0,0,0,0,1,1267776355,1267776678,3,1),(2,1,2,0,0,0,0,2,1267776678,1267776815,3,2),(3,1,2,0,0,0,0,3,1267776815,1267776959,3,3),(4,1,2,0,0,0,0,4,1267776959,1267777130,3,4),(5,1,2,0,0,0,0,5,1267777130,1267919274,3,5),(6,1,2,0,0,0,0,6,1267919274,1268265692,3,6),(7,1,2,0,0,0,0,7,1268265692,0,1,0);

--
-- Table structure for table `mdl_hotpot_details`
--

CREATE TABLE `mdl_hotpot_details` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `attempt` bigint(10) unsigned NOT NULL default '0',
  `details` text,
  PRIMARY KEY  (`id`),
  KEY `mdl_hotpdeta_att_ix` (`attempt`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_hotpot_details`
--


--
-- Table structure for table `mdl_hotpot_questions`
--

CREATE TABLE `mdl_hotpot_questions` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` text NOT NULL,
  `type` smallint(4) unsigned NOT NULL default '0',
  `text` bigint(10) unsigned NOT NULL default '0',
  `hotpot` bigint(10) unsigned NOT NULL default '0',
  `md5key` varchar(32) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_hotpques_md5_ix` (`md5key`),
  KEY `mdl_hotpques_hot_ix` (`hotpot`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_hotpot_questions`
--


--
-- Table structure for table `mdl_hotpot_responses`
--

CREATE TABLE `mdl_hotpot_responses` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `attempt` bigint(10) unsigned NOT NULL default '0',
  `question` bigint(10) unsigned NOT NULL default '0',
  `score` mediumint(6) NOT NULL default '0',
  `weighting` mediumint(6) NOT NULL default '0',
  `correct` varchar(255) NOT NULL default '',
  `wrong` varchar(255) NOT NULL default '',
  `ignored` varchar(255) NOT NULL default '',
  `hints` mediumint(6) unsigned NOT NULL default '0',
  `clues` mediumint(6) unsigned NOT NULL default '0',
  `checks` mediumint(6) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_hotpresp_att_ix` (`attempt`),
  KEY `mdl_hotpresp_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_hotpot_responses`
--


--
-- Table structure for table `mdl_hotpot_strings`
--

CREATE TABLE `mdl_hotpot_strings` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `string` text NOT NULL,
  `md5key` varchar(32) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_hotpstri_md5_ix` (`md5key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_hotpot_strings`
--


--
-- Table structure for table `mdl_journal`
--

CREATE TABLE `mdl_journal` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `intro` text NOT NULL,
  `introformat` tinyint(2) NOT NULL default '0',
  `days` mediumint(5) unsigned NOT NULL default '7',
  `assessed` bigint(10) NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_jour_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_journal`
--


--
-- Table structure for table `mdl_journal_entries`
--

CREATE TABLE `mdl_journal_entries` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `journal` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `modified` bigint(10) unsigned NOT NULL default '0',
  `text` text NOT NULL,
  `format` tinyint(2) NOT NULL default '0',
  `rating` bigint(10) default '0',
  `entrycomment` text,
  `teacher` bigint(10) unsigned NOT NULL default '0',
  `timemarked` bigint(10) unsigned NOT NULL default '0',
  `mailed` tinyint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_jourentr_use_ix` (`userid`),
  KEY `mdl_jourentr_jou_ix` (`journal`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_journal_entries`
--


--
-- Table structure for table `mdl_label`
--

CREATE TABLE `mdl_label` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `content` text NOT NULL,
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_labe_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_label`
--


--
-- Table structure for table `mdl_lams`
--

CREATE TABLE `mdl_lams` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `introduction` text NOT NULL,
  `learning_session_id` bigint(20) default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_lams_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lams`
--


--
-- Table structure for table `mdl_lesson_answers`
--

CREATE TABLE `mdl_lesson_answers` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `lessonid` bigint(10) unsigned NOT NULL default '0',
  `pageid` bigint(10) unsigned NOT NULL default '0',
  `jumpto` bigint(11) NOT NULL default '0',
  `grade` smallint(3) unsigned NOT NULL default '0',
  `score` bigint(10) NOT NULL default '0',
  `flags` smallint(3) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `answer` text,
  `response` text,
  PRIMARY KEY  (`id`),
  KEY `mdl_lessansw_les_ix` (`lessonid`),
  KEY `mdl_lessansw_pag_ix` (`pageid`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lesson_answers`
--

INSERT INTO `mdl_lesson_answers` VALUES (1,1,1,0,0,0,0,1267513314,1267659644,'Proto-European','Sorry, wrong.'),(2,1,1,0,0,0,0,1267513314,1267659644,'Balto-Slavic','Sorry, wrong answer.'),(3,1,1,-1,0,1,0,1267513314,1267659644,'Indo-European','Correct!'),(4,1,1,0,0,0,0,1267513314,1267659644,'Indo-Iranian','Sorry, wrong answer'),(5,1,2,0,0,0,0,1267513533,1267659819,'Lechitic languages','Sorry, wrong answer'),(6,1,2,0,0,0,0,1267513533,1267659819,'South Slavic','Sorry, wrong answer'),(7,1,2,0,0,0,0,1267513533,1267659819,'West Slavic','Sorry, wrong answer'),(8,1,2,-1,0,1,0,1267513533,1267659819,'East Slavic','Well done!'),(9,1,4,0,0,0,0,1267513678,1268870123,'True','Sorry, wrong answer.'),(10,1,4,-1,0,1,0,1267513678,1268870123,'False','Correct!'),(11,1,5,0,0,0,0,1267514014,1267769143,'True','Sorry, wrong answer.'),(12,1,5,-1,0,1,0,1267514014,1267769143,'False','Correct!'),(13,1,3,0,0,0,0,1267514254,1267659871,'True','Sorry, wrong answer.'),(14,1,3,-1,0,0,0,1267514254,1267659871,'False','Correct!');

--
-- Table structure for table `mdl_lesson_attempts`
--

CREATE TABLE `mdl_lesson_attempts` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `lessonid` bigint(10) unsigned NOT NULL default '0',
  `pageid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `answerid` bigint(10) unsigned NOT NULL default '0',
  `retry` smallint(3) unsigned NOT NULL default '0',
  `correct` bigint(10) unsigned NOT NULL default '0',
  `useranswer` text,
  `timeseen` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_lessatte_use_ix` (`userid`),
  KEY `mdl_lessatte_les_ix` (`lessonid`),
  KEY `mdl_lessatte_pag_ix` (`pageid`),
  KEY `mdl_lessatte_ans_ix` (`answerid`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lesson_attempts`
--

INSERT INTO `mdl_lesson_attempts` VALUES (1,1,1,5,3,0,1,NULL,1268770644),(2,1,2,5,8,0,1,NULL,1268770774),(3,1,3,5,14,0,0,NULL,1268770863),(4,1,4,5,10,0,1,NULL,1268771243),(5,1,5,5,12,0,1,NULL,1268771503);

--
-- Table structure for table `mdl_lesson_branch`
--

CREATE TABLE `mdl_lesson_branch` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `lessonid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `pageid` bigint(10) unsigned NOT NULL default '0',
  `retry` bigint(10) unsigned NOT NULL default '0',
  `flag` smallint(3) unsigned NOT NULL default '0',
  `timeseen` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_lessbran_use_ix` (`userid`),
  KEY `mdl_lessbran_les_ix` (`lessonid`),
  KEY `mdl_lessbran_pag_ix` (`pageid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lesson_branch`
--


--
-- Table structure for table `mdl_lesson_default`
--

CREATE TABLE `mdl_lesson_default` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `practice` smallint(3) unsigned NOT NULL default '0',
  `modattempts` smallint(3) unsigned NOT NULL default '0',
  `usepassword` smallint(3) unsigned NOT NULL default '0',
  `password` varchar(32) NOT NULL default '',
  `conditions` text NOT NULL,
  `grade` smallint(3) NOT NULL default '0',
  `custom` smallint(3) unsigned NOT NULL default '0',
  `ongoing` smallint(3) unsigned NOT NULL default '0',
  `usemaxgrade` smallint(3) unsigned NOT NULL default '0',
  `maxanswers` smallint(3) unsigned NOT NULL default '4',
  `maxattempts` smallint(3) unsigned NOT NULL default '5',
  `review` smallint(3) unsigned NOT NULL default '0',
  `nextpagedefault` smallint(3) unsigned NOT NULL default '0',
  `feedback` smallint(3) unsigned NOT NULL default '1',
  `minquestions` smallint(3) unsigned NOT NULL default '0',
  `maxpages` smallint(3) unsigned NOT NULL default '0',
  `timed` smallint(3) unsigned NOT NULL default '0',
  `maxtime` bigint(10) unsigned NOT NULL default '0',
  `retake` smallint(3) unsigned NOT NULL default '1',
  `mediaheight` bigint(10) unsigned NOT NULL default '100',
  `mediawidth` bigint(10) unsigned NOT NULL default '650',
  `mediaclose` smallint(3) unsigned NOT NULL default '0',
  `slideshow` smallint(3) unsigned NOT NULL default '0',
  `width` bigint(10) unsigned NOT NULL default '640',
  `height` bigint(10) unsigned NOT NULL default '480',
  `bgcolor` varchar(7) default '#FFFFFF',
  `displayleft` smallint(3) unsigned NOT NULL default '0',
  `displayleftif` smallint(3) unsigned NOT NULL default '0',
  `progressbar` smallint(3) unsigned NOT NULL default '0',
  `highscores` smallint(3) unsigned NOT NULL default '0',
  `maxhighscores` bigint(10) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lesson_default`
--


--
-- Table structure for table `mdl_lesson_grades`
--

CREATE TABLE `mdl_lesson_grades` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `lessonid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `grade` double unsigned NOT NULL default '0',
  `late` smallint(3) unsigned NOT NULL default '0',
  `completed` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_lessgrad_use_ix` (`userid`),
  KEY `mdl_lessgrad_les_ix` (`lessonid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lesson_grades`
--

INSERT INTO `mdl_lesson_grades` VALUES (1,1,5,100,0,1268771510);

--
-- Table structure for table `mdl_lesson_high_scores`
--

CREATE TABLE `mdl_lesson_high_scores` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `lessonid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `gradeid` bigint(10) unsigned NOT NULL default '0',
  `nickname` varchar(5) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_lesshighscor_use_ix` (`userid`),
  KEY `mdl_lesshighscor_les_ix` (`lessonid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lesson_high_scores`
--


--
-- Table structure for table `mdl_lesson_pages`
--

CREATE TABLE `mdl_lesson_pages` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `lessonid` bigint(10) unsigned NOT NULL default '0',
  `prevpageid` bigint(10) unsigned NOT NULL default '0',
  `nextpageid` bigint(10) unsigned NOT NULL default '0',
  `qtype` smallint(3) unsigned NOT NULL default '0',
  `qoption` smallint(3) unsigned NOT NULL default '0',
  `layout` smallint(3) unsigned NOT NULL default '1',
  `display` smallint(3) unsigned NOT NULL default '1',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `title` varchar(255) NOT NULL default '',
  `contents` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_lesspage_les_ix` (`lessonid`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lesson_pages`
--

INSERT INTO `mdl_lesson_pages` VALUES (1,1,0,2,3,0,0,0,1267499949,1267659644,'Language Families. Indo-European language family.','<p align=\"justify\">The <strong>Language</strong> is a particular type of system for encoding and decoding information. All languages can be divided based on the language families to which they belong. A <strong>language family</strong> is a group of languages related by descent from a common ancestor. There are approximately <strong>240 language families</strong>, more than a <strong>100 isolate languages</strong> (those that do not have any known relatives)and more than a <strong>100 of unclassified languages</strong>.</p>\r\n<p align=\"justify\"> The <strong>Indo-European languages</strong> are a family of several hundred related languages and dialects,including most major languages of Europe, languages of Iran, Afghanistan and India, and historically also predominant in Anatolia and Central Asia. The languages of the Indo-European group are spoken by approximately three billion native speakers, the largest number for recognised languages families. </p>\r\n<p align=\"justify\">The various subgroups of the Indo-European language family include ten major branches. One of which is <strong>Balto-Slavic</strong>.</p>\r\n<p align=\"justify\"><strong>What is the major language family that includes most European, Slavic, Iranian languages?</strong> </p>'),(2,1,1,3,3,0,0,0,1267500334,1267659819,'Balto-Slavic language family.','<p align=\"justify\">The <strong>Balto-Slavic language group</strong> consists of the <strong>Baltic</strong> and <strong>Slavic</strong> languages, belonging to the <strong>Indo-European family of languages</strong>. </p>\r\n<p align=\"justify\">Scholars traditionally divide Slavic languages <strong>on the basis of geographical distribution into three main branches</strong>, some of which feature sub-branches: </p>\r\n<ul> \r\n  <li> \r\n    <div align=\"justify\"><strong>East Slavic</strong>, including Russian, Ukrainian, Belarusian, Rusyn West Slavic, which further subdivides into: Czech and Slovak, Upper and Lower Sorbian (minority languages in Germany), Lechitic languages: Polish, Pomeranian/Kashubian, Silesian and extinct Polabian</div></li> \r\n  <li> \r\n    <div align=\"justify\"><strong>South Slavic</strong>, which further subdivides into: Western subgroup composed of Croatian, Bosnian, Serbian and Slovene. </div></li> \r\n  <li> \r\n    <div align=\"justify\"><strong>Eastern subgroup</strong> composed of Bulgarian and Macedonian The oldest Slavic literary language was Old Church Slavonic, of which Church Slavonic is a later descendant. </div></li> \r\n</ul>\r\n<p align=\"justify\"><strong>To which group of Balto-Slavic languages does Russian belong to?</strong> </p>'),(3,1,2,4,2,0,0,0,1267511136,1267659871,'Russian Language.','<p align=\"justify\"><strong>Russian is a Slavic language in the Indo-European family.</strong> Russian is the official language in <strong>Russia, in Belarus along with Belarussian, in Kazakhstan along with Kazakh, Kyrgyzstan along with Kyrgyz.</strong> Russian is also widely spoken in former Soviet Union Republics. Russian is one of the six official languages of the United Nations.</p>\r\n<p align=\"justify\"> <strong>Russian is the official language of Ukraine. Is it true or false?</strong> </p>'),(4,1,3,5,2,0,0,0,1267512388,1268870123,'Cyrillic Alphabet.','<p align=\"justify\"><strong>Russian is written using a modified version of the Cyrillic alphabet.</strong> The <strong>Cyrillic</strong> (pronounced /siˈrɪlɪk/*) <strong>script</strong> writing system is an alphabet developed in the <strong>9th-10th century</strong>, and used in the Slavic national languages of Belarusian, Bulgarian, Russian, Rusyn, Bosnian, Serbian, FYR Macedonia, and Ukrainian, and in the non-Slavic languages of Moldovan, Kazakh, Uzbek, Kyrgyz, Tajik, Tuvan, and Mongolian. </p>\r\n<p align=\"justify\">The Cyrillic alphabet is named after <strong>St. Cyril</strong>, a missionary from Byzantium. <strong>Saints Cyril and Methodius</strong>, two Greek brothers are usually credited with devising the <strong>Glagolitic alphabet</strong>, the first alphabet used to transcribe the Old Church Slavonic language. Some believe that Cyrillic alphabet was based on Glagolitic and Greek and was invented sometime during the 10th century AD, possibly by one of St. Cyrill and Methodius\'disciples - <strong>St. Kliment of Ohrid</strong>. </p>\r\n<p align=\"justify\">The Cyrillic alphabet achieved its current form in <strong>1708</strong> during the reign of <strong>Peter the Great.</strong> Four letters were eliminated from the alphabet in a 1917/18 reform. </p>\r\n<p align=\"justify\">The Cyrillic alphabet has been adapted to write over 50 different languages, mainly in Russia, Central Asia and Eastern Europe. In many cases additional letters are used, some of which are adaptations of standard Cyrillic letters, while others are taken from the Greek or Latin alphabets.</p>\r\n<p align=\"justify\">*<em> Transcription is based on the <u>International Phonetic Alphabet</u>. The IPA stress mark (<span title=\"Representation in the International Phonetic Alphabet (IPA)\" class=\"IPA\"><font>ˈ</font></span>) comes <u>before</u> the syllable that has the stress, in contrast to stress marking in some US American dictionaries.</em></p>\r\n<p align=\"justify\"><strong> Cyrillic and Glagolitic alphabet is one and the same thing. Is it true or false? </strong></p>'),(5,1,4,0,2,0,0,0,1267513006,1267769143,'The Russian Alphabet.','<p align=\"justify\">The <strong>Russian alphabet</strong> consists of <strong>33 letters</strong> divided into 10 vowels, 21 consonants and 2 letters which do not designate any sounds. Each letter can be either capital or small. The letters can also be printed or handwritten.</p>\r\n<p align=\"justify\"><font size=\"4\"> <a title=\"A a\" href=\"http://www.ruspan.com/members/file.php/2/Russian_Alphabet/01_A_041_Tatiana_2008_06_04.mp3\">A a</a> </font></p>\r\n<p align=\"justify\"><font size=\"4\"><a title=\"Б б\" href=\"http://www.ruspan.com/members/file.php/2/Russian_Alphabet/001_A_042_Tatiana_2008_06_04.mp3\"> Б б</a> </font></p>\r\n<p align=\"justify\"><font size=\"4\"> В в </font></p>\r\n<p align=\"justify\"><font size=\"4\"> <a title=\"Г г\" href=\"http://www.ruspan.com/members/file.php/2/Russian_Alphabet/001_A_044_Tatiana_2008_06_04.mp3\">Г г </a></font></p>\r\n<p align=\"justify\"><font size=\"4\">Д д Е е Е е Ж ж З з И и Й й К к Л л M м Н н О о П п Р р С с Т т У у Ф ф Х х Ц ц Ч ч Ш ш Щ щ Ъ ъ Ы ы Ь ь Э э Ю ю Я я</font></p>\r\n<p align=\"justify\"> <strong>All Russian letters designate sounds. Is it true or false? </strong></p>');

--
-- Table structure for table `mdl_lesson_timer`
--

CREATE TABLE `mdl_lesson_timer` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `lessonid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `starttime` bigint(10) unsigned NOT NULL default '0',
  `lessontime` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_lesstime_use_ix` (`userid`),
  KEY `mdl_lesstime_les_ix` (`lessonid`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_lesson_timer`
--

INSERT INTO `mdl_lesson_timer` VALUES (1,1,3,1267849638,1267849638),(2,1,5,1268770498,1268771510);

--
-- Table structure for table `mdl_log`
--

CREATE TABLE `mdl_log` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `time` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `ip` varchar(15) NOT NULL default '',
  `course` bigint(10) unsigned NOT NULL default '0',
  `module` varchar(20) NOT NULL default '',
  `cmid` bigint(10) unsigned NOT NULL default '0',
  `action` varchar(40) NOT NULL default '',
  `url` varchar(100) NOT NULL default '',
  `info` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_log_coumodact_ix` (`course`,`module`,`action`),
  KEY `mdl_log_tim_ix` (`time`),
  KEY `mdl_log_act_ix` (`action`),
  KEY `mdl_log_usecou_ix` (`userid`,`course`),
  KEY `mdl_log_cmi_ix` (`cmid`)
) ENGINE=MyISAM AUTO_INCREMENT=761 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_log`
--



--
-- Table structure for table `mdl_log_display`
--

CREATE TABLE `mdl_log_display` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `module` varchar(20) NOT NULL default '',
  `action` varchar(40) NOT NULL default '',
  `mtable` varchar(30) NOT NULL default '',
  `field` varchar(200) NOT NULL default '',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_logdisp_modact_uix` (`module`,`action`)
) ENGINE=MyISAM AUTO_INCREMENT=113 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_log_display`
--

INSERT INTO `mdl_log_display` VALUES (1,'user','view','user','CONCAT(firstname,\' \',lastname)'),(2,'course','user report','user','CONCAT(firstname,\' \',lastname)'),(3,'course','view','course','fullname'),(4,'course','update','course','fullname'),(5,'course','enrol','course','fullname'),(6,'course','unenrol','course','fullname'),(7,'course','report log','course','fullname'),(8,'course','report live','course','fullname'),(9,'course','report outline','course','fullname'),(10,'course','report participation','course','fullname'),(11,'course','report stats','course','fullname'),(12,'message','write','user','CONCAT(firstname,\' \',lastname)'),(13,'message','read','user','CONCAT(firstname,\' \',lastname)'),(14,'message','add contact','user','CONCAT(firstname,\' \',lastname)'),(15,'message','remove contact','user','CONCAT(firstname,\' \',lastname)'),(16,'message','block contact','user','CONCAT(firstname,\' \',lastname)'),(17,'message','unblock contact','user','CONCAT(firstname,\' \',lastname)'),(18,'group','view','groups','name'),(19,'tag','update','tag','name'),(20,'assignment','view','assignment','name'),(21,'assignment','add','assignment','name'),(22,'assignment','update','assignment','name'),(23,'assignment','view submission','assignment','name'),(24,'assignment','upload','assignment','name'),(25,'chat','view','chat','name'),(26,'chat','add','chat','name'),(27,'chat','update','chat','name'),(28,'chat','report','chat','name'),(29,'chat','talk','chat','name'),(30,'choice','view','choice','name'),(31,'choice','update','choice','name'),(32,'choice','add','choice','name'),(33,'choice','report','choice','name'),(34,'choice','choose','choice','name'),(35,'choice','choose again','choice','name'),(36,'data','view','data','name'),(37,'data','add','data','name'),(38,'data','update','data','name'),(39,'data','record delete','data','name'),(40,'data','fields add','data_fields','name'),(41,'data','fields update','data_fields','name'),(42,'data','templates saved','data','name'),(43,'data','templates def','data','name'),(44,'forum','add','forum','name'),(45,'forum','update','forum','name'),(46,'forum','add discussion','forum_discussions','name'),(47,'forum','add post','forum_posts','subject'),(48,'forum','update post','forum_posts','subject'),(49,'forum','user report','user','CONCAT(firstname,\' \',lastname)'),(50,'forum','move discussion','forum_discussions','name'),(51,'forum','view subscribers','forum','name'),(52,'forum','view discussion','forum_discussions','name'),(53,'forum','view forum','forum','name'),(54,'forum','subscribe','forum','name'),(55,'forum','unsubscribe','forum','name'),(56,'glossary','add','glossary','name'),(57,'glossary','update','glossary','name'),(58,'glossary','view','glossary','name'),(59,'glossary','view all','glossary','name'),(60,'glossary','add entry','glossary','name'),(61,'glossary','update entry','glossary','name'),(62,'glossary','add category','glossary','name'),(63,'glossary','update category','glossary','name'),(64,'glossary','delete category','glossary','name'),(65,'glossary','add comment','glossary','name'),(66,'glossary','update comment','glossary','name'),(67,'glossary','delete comment','glossary','name'),(68,'glossary','approve entry','glossary','name'),(69,'glossary','view entry','glossary_entries','concept'),(70,'journal','view','journal','name'),(71,'journal','add entry','journal','name'),(72,'journal','update entry','journal','name'),(73,'journal','view responses','journal','name'),(74,'label','add','label','name'),(75,'label','update','label','name'),(76,'lesson','start','lesson','name'),(77,'lesson','end','lesson','name'),(78,'lesson','view','lesson_pages','title'),(79,'quiz','add','quiz','name'),(80,'quiz','update','quiz','name'),(81,'quiz','view','quiz','name'),(82,'quiz','report','quiz','name'),(83,'quiz','attempt','quiz','name'),(84,'quiz','submit','quiz','name'),(85,'quiz','review','quiz','name'),(86,'quiz','editquestions','quiz','name'),(87,'quiz','preview','quiz','name'),(88,'quiz','start attempt','quiz','name'),(89,'quiz','close attempt','quiz','name'),(90,'quiz','continue attempt','quiz','name'),(91,'resource','view','resource','name'),(92,'resource','update','resource','name'),(93,'resource','add','resource','name'),(94,'scorm','view','scorm','name'),(95,'scorm','review','scorm','name'),(96,'scorm','update','scorm','name'),(97,'scorm','add','scorm','name'),(98,'survey','add','survey','name'),(99,'survey','update','survey','name'),(100,'survey','download','survey','name'),(101,'survey','view form','survey','name'),(102,'survey','view graph','survey','name'),(103,'survey','view report','survey','name'),(104,'survey','submit','survey','name'),(105,'workshop','assessments','workshop','name'),(106,'workshop','close','workshop','name'),(107,'workshop','display','workshop','name'),(108,'workshop','resubmit','workshop','name'),(109,'workshop','set up','workshop','name'),(110,'workshop','submissions','workshop','name'),(111,'workshop','view','workshop','name'),(112,'workshop','update','workshop','name');

--
-- Table structure for table `mdl_message`
--

CREATE TABLE `mdl_message` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `useridfrom` bigint(10) unsigned NOT NULL default '0',
  `useridto` bigint(10) unsigned NOT NULL default '0',
  `message` text NOT NULL,
  `format` smallint(4) unsigned NOT NULL default '0',
  `timecreated` bigint(10) NOT NULL default '0',
  `messagetype` varchar(50) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_mess_use_ix` (`useridfrom`),
  KEY `mdl_mess_use2_ix` (`useridto`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_message`
--


--
-- Table structure for table `mdl_message_contacts`
--

CREATE TABLE `mdl_message_contacts` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `contactid` bigint(10) unsigned NOT NULL default '0',
  `blocked` tinyint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_messcont_usecon_uix` (`userid`,`contactid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_message_contacts`
--


--
-- Table structure for table `mdl_message_read`
--

CREATE TABLE `mdl_message_read` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `useridfrom` bigint(10) unsigned NOT NULL default '0',
  `useridto` bigint(10) unsigned NOT NULL default '0',
  `message` text NOT NULL,
  `format` smallint(4) unsigned NOT NULL default '0',
  `timecreated` bigint(10) NOT NULL default '0',
  `timeread` bigint(10) NOT NULL default '0',
  `messagetype` varchar(50) NOT NULL default '',
  `mailed` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_messread_use_ix` (`useridfrom`),
  KEY `mdl_messread_use2_ix` (`useridto`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_message_read`
--


--
-- Table structure for table `mdl_mnet_application`
--

CREATE TABLE `mdl_mnet_application` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(50) NOT NULL default '',
  `display_name` varchar(50) NOT NULL default '',
  `xmlrpc_server_url` varchar(255) NOT NULL default '',
  `sso_land_url` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_application`
--

INSERT INTO `mdl_mnet_application` VALUES (1,'moodle','Moodle','/mnet/xmlrpc/server.php','/auth/mnet/land.php'),(2,'mahara','Mahara','/api/xmlrpc/server.php','/auth/xmlrpc/land.php');

--
-- Table structure for table `mdl_mnet_enrol_assignments`
--

CREATE TABLE `mdl_mnet_enrol_assignments` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `hostid` bigint(10) unsigned NOT NULL default '0',
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `rolename` varchar(255) NOT NULL default '',
  `enroltime` bigint(10) unsigned NOT NULL default '0',
  `enroltype` varchar(20) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_mnetenroassi_hoscou_ix` (`hostid`,`courseid`),
  KEY `mdl_mnetenroassi_use_ix` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_enrol_assignments`
--


--
-- Table structure for table `mdl_mnet_enrol_course`
--

CREATE TABLE `mdl_mnet_enrol_course` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `hostid` bigint(10) unsigned NOT NULL default '0',
  `remoteid` bigint(10) unsigned NOT NULL default '0',
  `cat_id` bigint(10) unsigned NOT NULL default '0',
  `cat_name` varchar(255) NOT NULL default '',
  `cat_description` mediumtext NOT NULL,
  `sortorder` bigint(10) unsigned NOT NULL default '0',
  `fullname` varchar(254) NOT NULL default '',
  `shortname` varchar(15) NOT NULL default '',
  `idnumber` varchar(100) NOT NULL default '',
  `summary` mediumtext NOT NULL,
  `startdate` bigint(10) unsigned NOT NULL default '0',
  `cost` varchar(10) NOT NULL default '',
  `currency` varchar(3) NOT NULL default '',
  `defaultroleid` smallint(4) unsigned NOT NULL default '0',
  `defaultrolename` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_mnetenrocour_hosrem_uix` (`hostid`,`remoteid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_enrol_course`
--


--
-- Table structure for table `mdl_mnet_host`
--

CREATE TABLE `mdl_mnet_host` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `deleted` tinyint(1) unsigned NOT NULL default '0',
  `wwwroot` varchar(255) NOT NULL default '',
  `ip_address` varchar(39) NOT NULL default '',
  `name` varchar(80) NOT NULL default '',
  `public_key` mediumtext NOT NULL,
  `public_key_expires` bigint(10) unsigned NOT NULL default '0',
  `transport` tinyint(2) unsigned NOT NULL default '0',
  `portno` tinyint(2) unsigned NOT NULL default '0',
  `last_connect_time` bigint(10) unsigned NOT NULL default '0',
  `last_log_id` bigint(10) unsigned NOT NULL default '0',
  `force_theme` tinyint(1) unsigned NOT NULL default '0',
  `theme` varchar(100) default NULL,
  `applicationid` bigint(10) unsigned NOT NULL default '1',
  PRIMARY KEY  (`id`),
  KEY `mdl_mnethost_app_ix` (`applicationid`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_host`
--


--
-- Table structure for table `mdl_mnet_host2service`
--

CREATE TABLE `mdl_mnet_host2service` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `hostid` bigint(10) unsigned NOT NULL default '0',
  `serviceid` bigint(10) unsigned NOT NULL default '0',
  `publish` tinyint(1) unsigned NOT NULL default '0',
  `subscribe` tinyint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_mnethost_hosser_uix` (`hostid`,`serviceid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_host2service`
--


--
-- Table structure for table `mdl_mnet_log`
--

CREATE TABLE `mdl_mnet_log` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `hostid` bigint(10) unsigned NOT NULL default '0',
  `remoteid` bigint(10) unsigned NOT NULL default '0',
  `time` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `ip` varchar(15) NOT NULL default '',
  `course` bigint(10) unsigned NOT NULL default '0',
  `coursename` varchar(40) NOT NULL default '',
  `module` varchar(20) NOT NULL default '',
  `cmid` bigint(10) unsigned NOT NULL default '0',
  `action` varchar(40) NOT NULL default '',
  `url` varchar(100) NOT NULL default '',
  `info` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_mnetlog_hosusecou_ix` (`hostid`,`userid`,`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_log`
--


--
-- Table structure for table `mdl_mnet_rpc`
--

CREATE TABLE `mdl_mnet_rpc` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `function_name` varchar(40) NOT NULL default '',
  `xmlrpc_path` varchar(80) NOT NULL default '',
  `parent_type` varchar(6) NOT NULL default '',
  `parent` varchar(20) NOT NULL default '',
  `enabled` tinyint(1) unsigned NOT NULL default '0',
  `help` mediumtext NOT NULL,
  `profile` mediumtext NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_mnetrpc_enaxml_ix` (`enabled`,`xmlrpc_path`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_rpc`
--

INSERT INTO `mdl_mnet_rpc` VALUES (1,'user_authorise','auth/mnet/auth.php/user_authorise','auth','mnet',0,'Return user data for the provided token, compare with user_agent string.','a:3:{i:0;a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:44:\"$userdata Array of user info for remote host\";}i:1;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:45:\"token - The unique ID provided by remotehost.\";}i:2;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:30:\"useragent - User Agent string.\";}}'),(2,'keepalive_server','auth/mnet/auth.php/keepalive_server','auth','mnet',0,'Receives an array of usernames from a remote machine and prods their\\n sessions to keep them alive','a:2:{i:0;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:30:\"\"All ok\" or an error message\";}i:1;a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:29:\"array - An array of usernames\";}}'),(3,'kill_children','auth/mnet/auth.php/kill_children','auth','mnet',0,'The IdP uses this function to kill child sessions on other hosts','a:3:{i:0;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:39:\"A plaintext report of what has happened\";}i:1;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:39:\"username - Username for session to kill\";}i:2;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:47:\"useragent - SHA1 hash of user agent to look for\";}}'),(4,'refresh_log','auth/mnet/auth.php/refresh_log','auth','mnet',0,'Receives an array of log entries from an SP and adds them to the mnet_log\\n table','a:2:{i:0;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:30:\"\"All ok\" or an error message\";}i:1;a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:29:\"array - An array of usernames\";}}'),(5,'fetch_user_image','auth/mnet/auth.php/fetch_user_image','auth','mnet',0,'Returns the user\'s image as a base64 encoded string.','a:2:{i:0;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:17:\"The encoded image\";}i:1;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:29:\"username - The id of the user\";}}'),(6,'fetch_theme_info','auth/mnet/auth.php/fetch_theme_info','auth','mnet',0,'Returns the theme information and logo url as strings.','a:1:{i:0;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:14:\"The theme info\";}}'),(7,'update_enrolments','auth/mnet/auth.php/update_enrolments','auth','mnet',0,'Invoke this function _on_ the IDP to update it with enrolment info local to\\n the SP right after calling user_authorise()\\n \\n Normally called by the SP after calling','a:3:{i:0;a:2:{s:4:\"type\";s:7:\"boolean\";s:11:\"description\";N;}i:1;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:23:\"username - The username\";}i:2;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:77:\"courses - Assoc array of courses following the structure of mnet_enrol_course\";}}'),(8,'keepalive_client','auth/mnet/auth.php/keepalive_client','auth','mnet',0,'Poll the IdP server to let it know that a user it has authenticated is still\\n online','a:1:{i:0;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";N;}}'),(9,'kill_child','auth/mnet/auth.php/kill_child','auth','mnet',0,'TODO:Untested When the IdP requests that child sessions are terminated,\\n this function will be called on each of the child hosts. The machine that\\n calls the function (over xmlrpc) provides us with the mnethostid we need.','a:3:{i:0;a:2:{s:4:\"type\";s:7:\"boolean\";s:11:\"description\";s:15:\"True on success\";}i:1;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:39:\"username - Username for session to kill\";}i:2;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:47:\"useragent - SHA1 hash of user agent to look for\";}}'),(10,'available_courses','enrol/mnet/enrol.php/available_courses','enrol','mnet',0,'Does Foo','a:1:{i:0;a:2:{s:4:\"type\";s:7:\"boolean\";s:11:\"description\";s:47:\"Whether the user can login from the remote host\";}}'),(11,'user_enrolments','enrol/mnet/enrol.php/user_enrolments','enrol','mnet',0,'No description given.','a:2:{i:0;a:2:{s:4:\"type\";s:4:\"void\";s:11:\"description\";s:0:\"\";}i:1;s:6:\"userid\";}'),(12,'enrol_user','enrol/mnet/enrol.php/enrol_user','enrol','mnet',0,'Enrols user to course with the default role','a:3:{i:0;a:2:{s:4:\"type\";s:7:\"boolean\";s:11:\"description\";s:41:\"Whether the enrolment has been successful\";}i:1;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:37:\"user - The username of the remote use\";}i:2;a:2:{s:4:\"type\";s:3:\"int\";s:11:\"description\";s:37:\"courseid - The id of the local course\";}}'),(13,'unenrol_user','enrol/mnet/enrol.php/unenrol_user','enrol','mnet',0,'Unenrol a user from a course','a:3:{i:0;a:2:{s:4:\"type\";s:7:\"boolean\";s:11:\"description\";s:47:\"Whether the user can login from the remote host\";}i:1;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:23:\"username - The username\";}i:2;a:2:{s:4:\"type\";s:3:\"int\";s:11:\"description\";s:37:\"courseid - The id of the local course\";}}'),(14,'course_enrolments','enrol/mnet/enrol.php/course_enrolments','enrol','mnet',0,'Get a list of users from the client server who are enrolled in a course','a:3:{i:0;a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:39:\"Array of usernames who are homed on the\";}i:1;a:2:{s:4:\"type\";s:3:\"int\";s:11:\"description\";s:24:\"courseid - The Course ID\";}i:2;a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:47:\"roles - Comma-separated list of role shortnames\";}}');

--
-- Table structure for table `mdl_mnet_service`
--

CREATE TABLE `mdl_mnet_service` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(40) NOT NULL default '',
  `description` varchar(40) NOT NULL default '',
  `apiversion` varchar(10) NOT NULL default '',
  `offer` tinyint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_service`
--

INSERT INTO `mdl_mnet_service` VALUES (1,'sso_idp','','1',1),(2,'sso_sp','','1',1),(3,'mnet_enrol','','1',1);

--
-- Table structure for table `mdl_mnet_service2rpc`
--

CREATE TABLE `mdl_mnet_service2rpc` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `serviceid` bigint(10) unsigned NOT NULL default '0',
  `rpcid` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_mnetserv_rpcser_uix` (`rpcid`,`serviceid`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_service2rpc`
--

INSERT INTO `mdl_mnet_service2rpc` VALUES (1,1,1),(2,1,2),(3,1,3),(4,1,4),(5,1,5),(6,1,6),(7,1,7),(8,2,8),(9,2,9),(10,3,10),(11,3,11),(12,3,12),(13,3,13),(14,3,14);

--
-- Table structure for table `mdl_mnet_session`
--

CREATE TABLE `mdl_mnet_session` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `username` varchar(100) NOT NULL default '',
  `token` varchar(40) NOT NULL default '',
  `mnethostid` bigint(10) unsigned NOT NULL default '0',
  `useragent` varchar(40) NOT NULL default '',
  `confirm_timeout` bigint(10) unsigned NOT NULL default '0',
  `session_id` varchar(40) NOT NULL default '',
  `expires` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_mnetsess_tok_uix` (`token`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_session`
--


--
-- Table structure for table `mdl_mnet_sso_access_control`
--

CREATE TABLE `mdl_mnet_sso_access_control` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `username` varchar(100) NOT NULL default '',
  `mnet_host_id` bigint(10) unsigned NOT NULL default '0',
  `accessctrl` varchar(20) NOT NULL default 'allow',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_mnetssoaccecont_mneuse_uix` (`mnet_host_id`,`username`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_mnet_sso_access_control`
--


--
-- Table structure for table `mdl_modules`
--

CREATE TABLE `mdl_modules` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(20) NOT NULL default '',
  `version` bigint(10) NOT NULL default '0',
  `cron` bigint(10) unsigned NOT NULL default '0',
  `lastcron` bigint(10) unsigned NOT NULL default '0',
  `search` varchar(255) NOT NULL default '',
  `visible` tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (`id`),
  KEY `mdl_modu_nam_ix` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=18 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_modules`
--

INSERT INTO `mdl_modules` VALUES (1,'assignment',2007101511,60,1285873201,'',1),(2,'chat',2009031100,300,1285873201,'',1),(3,'choice',2007101509,0,0,'',1),(4,'data',2007101514,60,0,'',1),(5,'forum',2007101513,60,1285873201,'',1),(6,'glossary',2007101509,0,0,'',1),(7,'hotpot',2007101513,0,0,'',1),(8,'journal',2007101509,60,1285873201,'',1),(9,'label',2007101510,0,0,'',1),(10,'lams',2007101509,0,0,'',1),(11,'lesson',2008112601,0,0,'',1),(12,'quiz',2007101511,0,0,'',1),(13,'resource',2007101510,0,0,'',1),(14,'scorm',2007110502,300,1285873201,'',1),(15,'survey',2007101509,0,0,'',1),(16,'wiki',2007101509,3600,1285870505,'',1),(17,'workshop',2007101510,60,1285873201,'',1);

--
-- Table structure for table `mdl_post`
--

CREATE TABLE `mdl_post` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `module` varchar(20) NOT NULL default '',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `groupid` bigint(10) unsigned NOT NULL default '0',
  `moduleid` bigint(10) unsigned NOT NULL default '0',
  `coursemoduleid` bigint(10) unsigned NOT NULL default '0',
  `subject` varchar(128) NOT NULL default '',
  `summary` longtext,
  `content` longtext,
  `uniquehash` varchar(128) NOT NULL default '',
  `rating` bigint(10) unsigned NOT NULL default '0',
  `format` bigint(10) unsigned NOT NULL default '0',
  `attachment` varchar(100) default NULL,
  `publishstate` enum('draft','site','public') NOT NULL default 'draft',
  `lastmodified` bigint(10) unsigned NOT NULL default '0',
  `created` bigint(10) unsigned NOT NULL default '0',
  `usermodified` bigint(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_post_iduse_uix` (`id`,`userid`),
  KEY `mdl_post_las_ix` (`lastmodified`),
  KEY `mdl_post_mod_ix` (`module`),
  KEY `mdl_post_sub_ix` (`subject`),
  KEY `mdl_post_use_ix` (`usermodified`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_post`
--


--
-- Table structure for table `mdl_question`
--

CREATE TABLE `mdl_question` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `category` bigint(10) NOT NULL default '0',
  `parent` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `questiontext` text NOT NULL,
  `questiontextformat` tinyint(2) NOT NULL default '0',
  `image` varchar(255) NOT NULL default '',
  `generalfeedback` text NOT NULL,
  `defaultgrade` bigint(10) unsigned NOT NULL default '1',
  `penalty` double NOT NULL default '0.1',
  `qtype` varchar(20) NOT NULL default '',
  `length` bigint(10) unsigned NOT NULL default '1',
  `stamp` varchar(255) NOT NULL default '',
  `version` varchar(255) NOT NULL default '',
  `hidden` tinyint(1) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `createdby` bigint(10) unsigned default NULL,
  `modifiedby` bigint(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_ques_cat_ix` (`category`),
  KEY `mdl_ques_par_ix` (`parent`),
  KEY `mdl_ques_cre_ix` (`createdby`),
  KEY `mdl_ques_mod_ix` (`modifiedby`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question`
--


--
-- Table structure for table `mdl_question_answers`
--

CREATE TABLE `mdl_question_answers` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `answer` text NOT NULL,
  `fraction` double NOT NULL default '0',
  `feedback` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_quesansw_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_answers`
--


--
-- Table structure for table `mdl_question_attempts`
--

CREATE TABLE `mdl_question_attempts` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `modulename` varchar(20) NOT NULL default 'quiz',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_attempts`
--


--
-- Table structure for table `mdl_question_calculated`
--

CREATE TABLE `mdl_question_calculated` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `answer` bigint(10) unsigned NOT NULL default '0',
  `tolerance` varchar(20) NOT NULL default '0.0',
  `tolerancetype` bigint(10) NOT NULL default '1',
  `correctanswerlength` bigint(10) NOT NULL default '2',
  `correctanswerformat` bigint(10) NOT NULL default '2',
  PRIMARY KEY  (`id`),
  KEY `mdl_quescalc_ans_ix` (`answer`),
  KEY `mdl_quescalc_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_calculated`
--


--
-- Table structure for table `mdl_question_categories`
--

CREATE TABLE `mdl_question_categories` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `contextid` bigint(10) unsigned NOT NULL default '0',
  `info` text NOT NULL,
  `stamp` varchar(255) NOT NULL default '',
  `parent` bigint(10) unsigned NOT NULL default '0',
  `sortorder` bigint(10) unsigned NOT NULL default '999',
  PRIMARY KEY  (`id`),
  KEY `mdl_quescate_con_ix` (`contextid`),
  KEY `mdl_quescate_par_ix` (`parent`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_categories`
--

INSERT INTO `mdl_question_categories` VALUES (1,'Default for Front Page',2,'The default category for questions shared in context \'Front Page\'.','www.ruspan.com+100127223813+SaA1eM',0,999),(2,'Default for System',1,'The default category for questions shared in context \'System\'.','www.ruspan.com+100127223813+tDYcgc',0,999);

--
-- Table structure for table `mdl_question_dataset_definitions`
--

CREATE TABLE `mdl_question_dataset_definitions` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `category` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `type` bigint(10) NOT NULL default '0',
  `options` varchar(255) NOT NULL default '',
  `itemcount` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesdatadefi_cat_ix` (`category`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_dataset_definitions`
--


--
-- Table structure for table `mdl_question_dataset_items`
--

CREATE TABLE `mdl_question_dataset_items` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `definition` bigint(10) unsigned NOT NULL default '0',
  `itemnumber` bigint(10) unsigned NOT NULL default '0',
  `value` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesdataitem_def_ix` (`definition`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_dataset_items`
--


--
-- Table structure for table `mdl_question_datasets`
--

CREATE TABLE `mdl_question_datasets` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `datasetdefinition` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesdata_quedat_ix` (`question`,`datasetdefinition`),
  KEY `mdl_quesdata_que_ix` (`question`),
  KEY `mdl_quesdata_dat_ix` (`datasetdefinition`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_datasets`
--


--
-- Table structure for table `mdl_question_match`
--

CREATE TABLE `mdl_question_match` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `subquestions` varchar(255) NOT NULL default '',
  `shuffleanswers` smallint(4) NOT NULL default '1',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesmatc_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_match`
--


--
-- Table structure for table `mdl_question_match_sub`
--

CREATE TABLE `mdl_question_match_sub` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `code` bigint(10) unsigned NOT NULL default '0',
  `question` bigint(10) unsigned NOT NULL default '0',
  `questiontext` text NOT NULL,
  `answertext` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesmatcsub_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_match_sub`
--


--
-- Table structure for table `mdl_question_multianswer`
--

CREATE TABLE `mdl_question_multianswer` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `sequence` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_quesmult_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_multianswer`
--


--
-- Table structure for table `mdl_question_multichoice`
--

CREATE TABLE `mdl_question_multichoice` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `layout` smallint(4) NOT NULL default '0',
  `answers` varchar(255) NOT NULL default '',
  `single` smallint(4) NOT NULL default '0',
  `shuffleanswers` smallint(4) NOT NULL default '1',
  `correctfeedback` text NOT NULL,
  `partiallycorrectfeedback` text NOT NULL,
  `incorrectfeedback` text NOT NULL,
  `answernumbering` varchar(10) NOT NULL default 'abc',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesmult_que2_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_multichoice`
--


--
-- Table structure for table `mdl_question_numerical`
--

CREATE TABLE `mdl_question_numerical` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `answer` bigint(10) unsigned NOT NULL default '0',
  `tolerance` varchar(255) NOT NULL default '0.0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesnume_ans_ix` (`answer`),
  KEY `mdl_quesnume_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_numerical`
--


--
-- Table structure for table `mdl_question_numerical_units`
--

CREATE TABLE `mdl_question_numerical_units` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `multiplier` decimal(40,20) NOT NULL default '1.00000000000000000000',
  `unit` varchar(50) NOT NULL default '',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_quesnumeunit_queuni_uix` (`question`,`unit`),
  KEY `mdl_quesnumeunit_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_numerical_units`
--


--
-- Table structure for table `mdl_question_randomsamatch`
--

CREATE TABLE `mdl_question_randomsamatch` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `choose` bigint(10) unsigned NOT NULL default '4',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesrand_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_randomsamatch`
--


--
-- Table structure for table `mdl_question_sessions`
--

CREATE TABLE `mdl_question_sessions` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `attemptid` bigint(10) unsigned NOT NULL default '0',
  `questionid` bigint(10) unsigned NOT NULL default '0',
  `newest` bigint(10) unsigned NOT NULL default '0',
  `newgraded` bigint(10) unsigned NOT NULL default '0',
  `sumpenalty` double NOT NULL default '0',
  `manualcomment` text NOT NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_quessess_attque_uix` (`attemptid`,`questionid`),
  KEY `mdl_quessess_att_ix` (`attemptid`),
  KEY `mdl_quessess_que_ix` (`questionid`),
  KEY `mdl_quessess_new_ix` (`newest`),
  KEY `mdl_quessess_new2_ix` (`newgraded`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_sessions`
--


--
-- Table structure for table `mdl_question_shortanswer`
--

CREATE TABLE `mdl_question_shortanswer` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `answers` varchar(255) NOT NULL default '',
  `usecase` tinyint(2) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesshor_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_shortanswer`
--


--
-- Table structure for table `mdl_question_states`
--

CREATE TABLE `mdl_question_states` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `attempt` bigint(10) unsigned NOT NULL default '0',
  `question` bigint(10) unsigned NOT NULL default '0',
  `originalquestion` bigint(10) unsigned NOT NULL default '0',
  `seq_number` mediumint(6) unsigned NOT NULL default '0',
  `answer` text NOT NULL,
  `timestamp` bigint(10) unsigned NOT NULL default '0',
  `event` smallint(4) unsigned NOT NULL default '0',
  `grade` double NOT NULL default '0',
  `raw_grade` double NOT NULL default '0',
  `penalty` double NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quesstat_att_ix` (`attempt`),
  KEY `mdl_quesstat_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_states`
--


--
-- Table structure for table `mdl_question_truefalse`
--

CREATE TABLE `mdl_question_truefalse` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `question` bigint(10) unsigned NOT NULL default '0',
  `trueanswer` bigint(10) unsigned NOT NULL default '0',
  `falseanswer` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_questrue_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_question_truefalse`
--


--
-- Table structure for table `mdl_quiz`
--

CREATE TABLE `mdl_quiz` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `intro` text NOT NULL,
  `timeopen` bigint(10) unsigned NOT NULL default '0',
  `timeclose` bigint(10) unsigned NOT NULL default '0',
  `optionflags` bigint(10) unsigned NOT NULL default '0',
  `penaltyscheme` smallint(4) unsigned NOT NULL default '0',
  `attempts` mediumint(6) NOT NULL default '0',
  `attemptonlast` smallint(4) NOT NULL default '0',
  `grademethod` smallint(4) NOT NULL default '1',
  `decimalpoints` smallint(4) NOT NULL default '2',
  `review` bigint(10) unsigned NOT NULL default '0',
  `questionsperpage` bigint(10) NOT NULL default '0',
  `shufflequestions` smallint(4) NOT NULL default '0',
  `shuffleanswers` smallint(4) NOT NULL default '0',
  `questions` text NOT NULL,
  `sumgrades` bigint(10) NOT NULL default '0',
  `grade` bigint(10) NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `timelimit` bigint(10) unsigned NOT NULL default '0',
  `password` varchar(255) NOT NULL default '',
  `subnet` varchar(255) NOT NULL default '',
  `popup` smallint(4) NOT NULL default '0',
  `delay1` bigint(10) NOT NULL default '0',
  `delay2` bigint(10) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quiz_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_quiz`
--


--
-- Table structure for table `mdl_quiz_attempts`
--

CREATE TABLE `mdl_quiz_attempts` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `uniqueid` bigint(10) unsigned NOT NULL default '0',
  `quiz` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `attempt` mediumint(6) NOT NULL default '0',
  `sumgrades` double NOT NULL default '0',
  `timestart` bigint(10) unsigned NOT NULL default '0',
  `timefinish` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `layout` text NOT NULL,
  `preview` smallint(3) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_quizatte_uni_uix` (`uniqueid`),
  KEY `mdl_quizatte_use_ix` (`userid`),
  KEY `mdl_quizatte_qui_ix` (`quiz`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_quiz_attempts`
--


--
-- Table structure for table `mdl_quiz_feedback`
--

CREATE TABLE `mdl_quiz_feedback` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `quizid` bigint(10) unsigned NOT NULL default '0',
  `feedbacktext` text NOT NULL,
  `mingrade` double NOT NULL default '0',
  `maxgrade` double NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quizfeed_qui_ix` (`quizid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_quiz_feedback`
--


--
-- Table structure for table `mdl_quiz_grades`
--

CREATE TABLE `mdl_quiz_grades` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `quiz` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `grade` double NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quizgrad_use_ix` (`userid`),
  KEY `mdl_quizgrad_qui_ix` (`quiz`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_quiz_grades`
--


--
-- Table structure for table `mdl_quiz_question_instances`
--

CREATE TABLE `mdl_quiz_question_instances` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `quiz` bigint(10) unsigned NOT NULL default '0',
  `question` bigint(10) unsigned NOT NULL default '0',
  `grade` mediumint(6) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quizquesinst_qui_ix` (`quiz`),
  KEY `mdl_quizquesinst_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_quiz_question_instances`
--


--
-- Table structure for table `mdl_quiz_question_versions`
--

CREATE TABLE `mdl_quiz_question_versions` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `quiz` bigint(10) unsigned NOT NULL default '0',
  `oldquestion` bigint(10) unsigned NOT NULL default '0',
  `newquestion` bigint(10) unsigned NOT NULL default '0',
  `originalquestion` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `timestamp` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_quizquesvers_qui_ix` (`quiz`),
  KEY `mdl_quizquesvers_old_ix` (`oldquestion`),
  KEY `mdl_quizquesvers_new_ix` (`newquestion`),
  KEY `mdl_quizquesvers_ori_ix` (`originalquestion`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_quiz_question_versions`
--


--
-- Table structure for table `mdl_resource`
--

CREATE TABLE `mdl_resource` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `type` varchar(30) NOT NULL default '',
  `reference` varchar(255) NOT NULL default '',
  `summary` text,
  `alltext` mediumtext NOT NULL,
  `popup` text NOT NULL,
  `options` varchar(255) NOT NULL default '',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_reso_cou_ix` (`course`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_resource`
--

INSERT INTO `mdl_resource` VALUES (1,2,'New York Times. Russia\'s Shrinking Linguistic Empire','file','http://www.nytimes.com/imagepages/2009/09/12/weekinreview/13levy_graphic.html','A map of former Soviet Republics which are either friendly or non-friendly to the Russian language.','','','forcedownload',1267516169);

--
-- Table structure for table `mdl_role`
--

CREATE TABLE `mdl_role` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `shortname` varchar(100) NOT NULL default '',
  `description` text NOT NULL,
  `sortorder` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_role_sor_uix` (`sortorder`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_role`
--

INSERT INTO `mdl_role` VALUES (1,'Administrator','admin','Administrators can usually do anything on the site, in all courses.',0),(2,'Course creator','coursecreator','Course creators can create new courses and teach in them.',1),(3,'Teacher','editingteacher','Teachers can do anything within a course, including changing the activities and grading students.',2),(4,'Non-editing teacher','teacher','Non-editing teachers can teach in courses and grade students, but may not alter activities.',3),(5,'Student','student','Students generally have fewer privileges within a course.',4),(6,'Guest','guest','Guests have minimal privileges and usually can not enter text anywhere.',5),(7,'Authenticated user','user','All logged in users.',6);

--
-- Table structure for table `mdl_role_allow_assign`
--

CREATE TABLE `mdl_role_allow_assign` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `allowassign` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_rolealloassi_rolall_uix` (`roleid`,`allowassign`),
  KEY `mdl_rolealloassi_rol_ix` (`roleid`),
  KEY `mdl_rolealloassi_all_ix` (`allowassign`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_role_allow_assign`
--

INSERT INTO `mdl_role_allow_assign` VALUES (1,1,1),(2,1,2),(3,1,4),(4,1,3),(5,1,5),(6,1,6),(7,2,4),(8,2,3),(9,2,5),(10,2,6),(11,3,4),(12,3,5),(13,3,6);

--
-- Table structure for table `mdl_role_allow_override`
--

CREATE TABLE `mdl_role_allow_override` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `allowoverride` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_rolealloover_rolall_uix` (`roleid`,`allowoverride`),
  KEY `mdl_rolealloover_rol_ix` (`roleid`),
  KEY `mdl_rolealloover_all_ix` (`allowoverride`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_role_allow_override`
--

INSERT INTO `mdl_role_allow_override` VALUES (1,1,1),(2,1,2),(3,1,4),(4,1,3),(5,1,5),(6,1,6),(7,1,7);

--
-- Table structure for table `mdl_role_assignments`
--

CREATE TABLE `mdl_role_assignments` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `contextid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `hidden` tinyint(1) unsigned NOT NULL default '0',
  `timestart` bigint(10) unsigned NOT NULL default '0',
  `timeend` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `modifierid` bigint(10) unsigned NOT NULL default '0',
  `enrol` varchar(20) NOT NULL default '',
  `sortorder` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_roleassi_conroluse_uix` (`contextid`,`roleid`,`userid`),
  KEY `mdl_roleassi_sor_ix` (`sortorder`),
  KEY `mdl_roleassi_rol_ix` (`roleid`),
  KEY `mdl_roleassi_con_ix` (`contextid`),
  KEY `mdl_roleassi_use_ix` (`userid`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_role_assignments`
--

INSERT INTO `mdl_role_assignments` VALUES (1,1,1,2,0,0,0,1264629242,0,'manual',0),(2,1,10,2,0,1264525200,0,1264629434,2,'manual',0),(3,2,10,2,0,1264525200,0,1264629449,2,'manual',0),(4,3,10,2,0,1264525200,0,1264629462,2,'manual',0),(5,2,1,2,0,1267462800,0,1267556574,2,'manual',0),(6,3,1,2,0,1267462800,0,1267556695,2,'manual',0);

--
-- Table structure for table `mdl_role_capabilities`
--

CREATE TABLE `mdl_role_capabilities` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `contextid` bigint(10) unsigned NOT NULL default '0',
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `capability` varchar(255) NOT NULL default '',
  `permission` bigint(10) NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `modifierid` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_rolecapa_rolconcap_uix` (`roleid`,`contextid`,`capability`),
  KEY `mdl_rolecapa_rol_ix` (`roleid`),
  KEY `mdl_rolecapa_con_ix` (`contextid`),
  KEY `mdl_rolecapa_mod_ix` (`modifierid`),
  KEY `mdl_rolecapa_cap_ix` (`capability`)
) ENGINE=MyISAM AUTO_INCREMENT=560 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_role_capabilities`
--

INSERT INTO `mdl_role_capabilities` VALUES (1,1,1,'moodle/legacy:admin',1,1264629242,0),(2,1,2,'moodle/legacy:coursecreator',1,1264629242,0),(3,1,3,'moodle/legacy:editingteacher',1,1264629242,0),(4,1,4,'moodle/legacy:teacher',1,1264629242,0),(5,1,5,'moodle/legacy:student',1,1264629242,0),(6,1,6,'moodle/legacy:guest',1,1264629242,0),(7,1,7,'moodle/legacy:user',1,1264629242,0),(8,1,1,'moodle/site:doanything',1,1264629242,0),(9,1,1,'moodle/site:config',1,1264629242,0),(10,1,1,'moodle/site:readallmessages',1,1264629242,0),(11,1,3,'moodle/site:readallmessages',1,1264629242,0),(12,1,1,'moodle/site:sendmessage',1,1264629242,0),(13,1,7,'moodle/site:sendmessage',1,1264629242,0),(14,1,1,'moodle/site:approvecourse',1,1264629242,0),(15,1,3,'moodle/site:import',1,1264629242,0),(16,1,1,'moodle/site:import',1,1264629242,0),(17,1,3,'moodle/site:backup',1,1264629242,0),(18,1,1,'moodle/site:backup',1,1264629242,0),(19,1,3,'moodle/site:restore',1,1264629242,0),(20,1,1,'moodle/site:restore',1,1264629242,0),(21,1,2,'moodle/restore:rolldates',1,1264629242,0),(22,1,1,'moodle/restore:rolldates',1,1264629242,0),(23,1,3,'moodle/site:manageblocks',1,1264629242,0),(24,1,1,'moodle/site:manageblocks',1,1264629242,0),(25,1,4,'moodle/site:accessallgroups',1,1264629242,0),(26,1,3,'moodle/site:accessallgroups',1,1264629242,0),(27,1,1,'moodle/site:accessallgroups',1,1264629242,0),(28,1,4,'moodle/site:viewfullnames',1,1264629242,0),(29,1,3,'moodle/site:viewfullnames',1,1264629242,0),(30,1,1,'moodle/site:viewfullnames',1,1264629242,0),(31,1,4,'moodle/site:viewreports',1,1264629242,0),(32,1,3,'moodle/site:viewreports',1,1264629242,0),(33,1,1,'moodle/site:viewreports',1,1264629242,0),(34,1,3,'moodle/site:trustcontent',1,1264629242,0),(35,1,1,'moodle/site:trustcontent',1,1264629242,0),(36,1,1,'moodle/site:uploadusers',1,1264629242,0),(37,1,1,'moodle/site:langeditmaster',-1,1264629242,0),(38,1,1,'moodle/site:langeditlocal',1,1264629242,0),(39,1,1,'moodle/user:create',1,1264629242,0),(40,1,1,'moodle/user:delete',1,1264629242,0),(41,1,1,'moodle/user:update',1,1264629242,0),(42,1,6,'moodle/user:viewdetails',1,1264629242,0),(43,1,5,'moodle/user:viewdetails',1,1264629242,0),(44,1,4,'moodle/user:viewdetails',1,1264629242,0),(45,1,3,'moodle/user:viewdetails',1,1264629242,0),(46,1,1,'moodle/user:viewdetails',1,1264629242,0),(47,1,4,'moodle/user:viewhiddendetails',1,1264629242,0),(48,1,3,'moodle/user:viewhiddendetails',1,1264629242,0),(49,1,1,'moodle/user:viewhiddendetails',1,1264629242,0),(50,1,1,'moodle/user:loginas',1,1264629242,0),(51,1,3,'moodle/role:assign',1,1264629242,0),(52,1,1,'moodle/role:assign',1,1264629242,0),(53,1,1,'moodle/role:override',1,1264629242,0),(54,1,3,'moodle/role:safeoverride',1,1264629242,0),(55,1,1,'moodle/role:manage',1,1264629242,0),(56,1,4,'moodle/role:unassignself',1,1264629242,0),(57,1,3,'moodle/role:unassignself',1,1264629242,0),(58,1,2,'moodle/role:unassignself',1,1264629242,0),(59,1,1,'moodle/role:unassignself',1,1264629242,0),(60,1,4,'moodle/role:viewhiddenassigns',1,1264629242,0),(61,1,3,'moodle/role:viewhiddenassigns',1,1264629242,0),(62,1,1,'moodle/role:viewhiddenassigns',1,1264629242,0),(63,1,3,'moodle/role:switchroles',1,1264629242,0),(64,1,1,'moodle/role:switchroles',1,1264629242,0),(65,1,1,'moodle/category:manage',1,1264629242,0),(66,1,2,'moodle/category:viewhiddencategories',1,1264629242,0),(67,1,1,'moodle/category:viewhiddencategories',1,1264629242,0),(68,1,2,'moodle/course:create',1,1264629242,0),(69,1,1,'moodle/course:create',1,1264629242,0),(70,1,7,'moodle/course:request',1,1264629242,0),(71,1,1,'moodle/course:delete',1,1264629242,0),(72,1,3,'moodle/course:update',1,1264629242,0),(73,1,1,'moodle/course:update',1,1264629242,0),(74,1,6,'moodle/course:view',1,1264629242,0),(75,1,5,'moodle/course:view',1,1264629242,0),(76,1,4,'moodle/course:view',1,1264629242,0),(77,1,3,'moodle/course:view',1,1264629242,0),(78,1,4,'moodle/course:bulkmessaging',1,1264629242,0),(79,1,3,'moodle/course:bulkmessaging',1,1264629242,0),(80,1,1,'moodle/course:bulkmessaging',1,1264629242,0),(81,1,4,'moodle/course:viewhiddenuserfields',1,1264629242,0),(82,1,3,'moodle/course:viewhiddenuserfields',1,1264629242,0),(83,1,1,'moodle/course:viewhiddenuserfields',1,1264629242,0),(84,1,2,'moodle/course:viewhiddencourses',1,1264629242,0),(85,1,4,'moodle/course:viewhiddencourses',1,1264629242,0),(86,1,3,'moodle/course:viewhiddencourses',1,1264629242,0),(87,1,1,'moodle/course:viewhiddencourses',1,1264629242,0),(88,1,3,'moodle/course:visibility',1,1264629242,0),(89,1,1,'moodle/course:visibility',1,1264629242,0),(90,1,3,'moodle/course:managefiles',1,1264629242,0),(91,1,1,'moodle/course:managefiles',1,1264629242,0),(92,1,3,'moodle/course:manageactivities',1,1264629242,0),(93,1,1,'moodle/course:manageactivities',1,1264629242,0),(94,1,3,'moodle/course:managemetacourse',1,1264629242,0),(95,1,1,'moodle/course:managemetacourse',1,1264629242,0),(96,1,3,'moodle/course:activityvisibility',1,1264629242,0),(97,1,1,'moodle/course:activityvisibility',1,1264629242,0),(98,1,4,'moodle/course:viewhiddenactivities',1,1264629242,0),(99,1,3,'moodle/course:viewhiddenactivities',1,1264629242,0),(100,1,1,'moodle/course:viewhiddenactivities',1,1264629242,0),(101,1,5,'moodle/course:viewparticipants',1,1264629242,0),(102,1,4,'moodle/course:viewparticipants',1,1264629242,0),(103,1,3,'moodle/course:viewparticipants',1,1264629242,0),(104,1,1,'moodle/course:viewparticipants',1,1264629242,0),(105,1,3,'moodle/course:changefullname',1,1264629242,0),(106,1,1,'moodle/course:changefullname',1,1264629242,0),(107,1,3,'moodle/course:changeshortname',1,1264629242,0),(108,1,1,'moodle/course:changeshortname',1,1264629242,0),(109,1,3,'moodle/course:changeidnumber',1,1264629242,0),(110,1,1,'moodle/course:changeidnumber',1,1264629242,0),(111,1,3,'moodle/course:changecategory',1,1264629242,0),(112,1,1,'moodle/course:changecategory',1,1264629242,0),(113,1,3,'moodle/course:changesummary',1,1264629242,0),(114,1,1,'moodle/course:changesummary',1,1264629242,0),(115,1,1,'moodle/site:viewparticipants',1,1264629242,0),(116,1,5,'moodle/course:viewscales',1,1264629242,0),(117,1,4,'moodle/course:viewscales',1,1264629242,0),(118,1,3,'moodle/course:viewscales',1,1264629242,0),(119,1,1,'moodle/course:viewscales',1,1264629242,0),(120,1,3,'moodle/course:managescales',1,1264629242,0),(121,1,1,'moodle/course:managescales',1,1264629242,0),(122,1,3,'moodle/course:managegroups',1,1264629242,0),(123,1,1,'moodle/course:managegroups',1,1264629242,0),(124,1,3,'moodle/course:reset',1,1264629242,0),(125,1,1,'moodle/course:reset',1,1264629242,0),(126,1,6,'moodle/blog:view',1,1264629242,0),(127,1,7,'moodle/blog:view',1,1264629242,0),(128,1,5,'moodle/blog:view',1,1264629242,0),(129,1,4,'moodle/blog:view',1,1264629242,0),(130,1,3,'moodle/blog:view',1,1264629242,0),(131,1,1,'moodle/blog:view',1,1264629242,0),(132,1,7,'moodle/blog:create',1,1264629242,0),(133,1,1,'moodle/blog:create',1,1264629242,0),(134,1,4,'moodle/blog:manageentries',1,1264629242,0),(135,1,3,'moodle/blog:manageentries',1,1264629242,0),(136,1,1,'moodle/blog:manageentries',1,1264629242,0),(137,1,7,'moodle/calendar:manageownentries',1,1264629242,0),(138,1,1,'moodle/calendar:manageownentries',1,1264629242,0),(139,1,4,'moodle/calendar:managegroupentries',1,1264629242,0),(140,1,3,'moodle/calendar:managegroupentries',1,1264629242,0),(141,1,1,'moodle/calendar:managegroupentries',1,1264629242,0),(142,1,4,'moodle/calendar:manageentries',1,1264629242,0),(143,1,3,'moodle/calendar:manageentries',1,1264629242,0),(144,1,1,'moodle/calendar:manageentries',1,1264629242,0),(145,1,1,'moodle/user:editprofile',1,1264629242,0),(146,1,6,'moodle/user:editownprofile',-1000,1264629242,0),(147,1,7,'moodle/user:editownprofile',1,1264629242,0),(148,1,1,'moodle/user:editownprofile',1,1264629242,0),(149,1,6,'moodle/user:changeownpassword',-1000,1264629242,0),(150,1,7,'moodle/user:changeownpassword',1,1264629242,0),(151,1,1,'moodle/user:changeownpassword',1,1264629242,0),(152,1,5,'moodle/user:readuserposts',1,1264629242,0),(153,1,4,'moodle/user:readuserposts',1,1264629242,0),(154,1,3,'moodle/user:readuserposts',1,1264629242,0),(155,1,1,'moodle/user:readuserposts',1,1264629242,0),(156,1,5,'moodle/user:readuserblogs',1,1264629242,0),(157,1,4,'moodle/user:readuserblogs',1,1264629242,0),(158,1,3,'moodle/user:readuserblogs',1,1264629242,0),(159,1,1,'moodle/user:readuserblogs',1,1264629242,0),(160,1,3,'moodle/question:managecategory',1,1264629242,0),(161,1,1,'moodle/question:managecategory',1,1264629242,0),(162,1,3,'moodle/question:add',1,1264629242,0),(163,1,1,'moodle/question:add',1,1264629242,0),(164,1,3,'moodle/question:editmine',1,1264629242,0),(165,1,1,'moodle/question:editmine',1,1264629242,0),(166,1,3,'moodle/question:editall',1,1264629242,0),(167,1,1,'moodle/question:editall',1,1264629242,0),(168,1,3,'moodle/question:viewmine',1,1264629242,0),(169,1,1,'moodle/question:viewmine',1,1264629242,0),(170,1,3,'moodle/question:viewall',1,1264629242,0),(171,1,1,'moodle/question:viewall',1,1264629242,0),(172,1,3,'moodle/question:usemine',1,1264629242,0),(173,1,1,'moodle/question:usemine',1,1264629242,0),(174,1,3,'moodle/question:useall',1,1264629242,0),(175,1,1,'moodle/question:useall',1,1264629242,0),(176,1,3,'moodle/question:movemine',1,1264629242,0),(177,1,1,'moodle/question:movemine',1,1264629242,0),(178,1,3,'moodle/question:moveall',1,1264629242,0),(179,1,1,'moodle/question:moveall',1,1264629242,0),(180,1,1,'moodle/question:config',1,1264629242,0),(181,1,4,'moodle/site:doclinks',1,1264629242,0),(182,1,3,'moodle/site:doclinks',1,1264629242,0),(183,1,1,'moodle/site:doclinks',1,1264629242,0),(184,1,3,'moodle/course:sectionvisibility',1,1264629242,0),(185,1,1,'moodle/course:sectionvisibility',1,1264629242,0),(186,1,3,'moodle/course:useremail',1,1264629242,0),(187,1,1,'moodle/course:useremail',1,1264629242,0),(188,1,3,'moodle/course:viewhiddensections',1,1264629242,0),(189,1,1,'moodle/course:viewhiddensections',1,1264629242,0),(190,1,3,'moodle/course:setcurrentsection',1,1264629242,0),(191,1,1,'moodle/course:setcurrentsection',1,1264629242,0),(192,1,1,'moodle/site:mnetlogintoremote',1,1264629242,0),(193,1,4,'moodle/grade:viewall',1,1264629242,0),(194,1,3,'moodle/grade:viewall',1,1264629242,0),(195,1,1,'moodle/grade:viewall',1,1264629242,0),(196,1,5,'moodle/grade:view',1,1264629242,0),(197,1,4,'moodle/grade:viewhidden',1,1264629242,0),(198,1,3,'moodle/grade:viewhidden',1,1264629242,0),(199,1,1,'moodle/grade:viewhidden',1,1264629242,0),(200,1,3,'moodle/grade:import',1,1264629242,0),(201,1,1,'moodle/grade:import',1,1264629242,0),(202,1,4,'moodle/grade:export',1,1264629242,0),(203,1,3,'moodle/grade:export',1,1264629242,0),(204,1,1,'moodle/grade:export',1,1264629242,0),(205,1,3,'moodle/grade:manage',1,1264629242,0),(206,1,1,'moodle/grade:manage',1,1264629242,0),(207,1,3,'moodle/grade:edit',1,1264629242,0),(208,1,1,'moodle/grade:edit',1,1264629242,0),(209,1,3,'moodle/grade:manageoutcomes',1,1264629242,0),(210,1,1,'moodle/grade:manageoutcomes',1,1264629242,0),(211,1,3,'moodle/grade:manageletters',1,1264629242,0),(212,1,1,'moodle/grade:manageletters',1,1264629242,0),(213,1,3,'moodle/grade:hide',1,1264629242,0),(214,1,1,'moodle/grade:hide',1,1264629242,0),(215,1,3,'moodle/grade:lock',1,1264629242,0),(216,1,1,'moodle/grade:lock',1,1264629242,0),(217,1,3,'moodle/grade:unlock',1,1264629242,0),(218,1,1,'moodle/grade:unlock',1,1264629242,0),(219,1,7,'moodle/my:manageblocks',1,1264629242,0),(220,1,4,'moodle/notes:view',1,1264629242,0),(221,1,3,'moodle/notes:view',1,1264629242,0),(222,1,1,'moodle/notes:view',1,1264629242,0),(223,1,4,'moodle/notes:manage',1,1264629242,0),(224,1,3,'moodle/notes:manage',1,1264629242,0),(225,1,1,'moodle/notes:manage',1,1264629242,0),(226,1,4,'moodle/tag:manage',1,1264629242,0),(227,1,3,'moodle/tag:manage',1,1264629242,0),(228,1,1,'moodle/tag:manage',1,1264629242,0),(229,1,1,'moodle/tag:create',1,1264629242,0),(230,1,7,'moodle/tag:create',1,1264629242,0),(231,1,1,'moodle/tag:edit',1,1264629242,0),(232,1,7,'moodle/tag:edit',1,1264629242,0),(233,1,4,'moodle/tag:editblocks',1,1264629242,0),(234,1,3,'moodle/tag:editblocks',1,1264629242,0),(235,1,1,'moodle/tag:editblocks',1,1264629242,0),(236,1,6,'moodle/block:view',1,1264629242,0),(237,1,7,'moodle/block:view',1,1264629242,0),(238,1,5,'moodle/block:view',1,1264629242,0),(239,1,4,'moodle/block:view',1,1264629242,0),(240,1,3,'moodle/block:view',1,1264629242,0),(241,1,2,'moodle/block:view',1,1264629242,0),(242,1,6,'mod/assignment:view',1,1264629242,0),(243,1,5,'mod/assignment:view',1,1264629242,0),(244,1,4,'mod/assignment:view',1,1264629242,0),(245,1,3,'mod/assignment:view',1,1264629242,0),(246,1,1,'mod/assignment:view',1,1264629242,0),(247,1,5,'mod/assignment:submit',1,1264629242,0),(248,1,4,'mod/assignment:grade',1,1264629242,0),(249,1,3,'mod/assignment:grade',1,1264629242,0),(250,1,1,'mod/assignment:grade',1,1264629242,0),(251,1,5,'mod/chat:chat',1,1264629242,0),(252,1,4,'mod/chat:chat',1,1264629242,0),(253,1,3,'mod/chat:chat',1,1264629242,0),(254,1,1,'mod/chat:chat',1,1264629242,0),(255,1,5,'mod/chat:readlog',1,1264629242,0),(256,1,4,'mod/chat:readlog',1,1264629242,0),(257,1,3,'mod/chat:readlog',1,1264629242,0),(258,1,1,'mod/chat:readlog',1,1264629242,0),(259,1,4,'mod/chat:deletelog',1,1264629242,0),(260,1,3,'mod/chat:deletelog',1,1264629242,0),(261,1,1,'mod/chat:deletelog',1,1264629242,0),(262,1,5,'mod/choice:choose',1,1264629242,0),(263,1,4,'mod/choice:choose',1,1264629242,0),(264,1,3,'mod/choice:choose',1,1264629242,0),(265,1,1,'mod/choice:choose',1,1264629242,0),(266,1,4,'mod/choice:readresponses',1,1264629242,0),(267,1,3,'mod/choice:readresponses',1,1264629242,0),(268,1,1,'mod/choice:readresponses',1,1264629242,0),(269,1,4,'mod/choice:deleteresponses',1,1264629242,0),(270,1,3,'mod/choice:deleteresponses',1,1264629242,0),(271,1,1,'mod/choice:deleteresponses',1,1264629242,0),(272,1,4,'mod/choice:downloadresponses',1,1264629242,0),(273,1,3,'mod/choice:downloadresponses',1,1264629242,0),(274,1,1,'mod/choice:downloadresponses',1,1264629242,0),(275,1,6,'mod/data:viewentry',1,1264629242,0),(276,1,5,'mod/data:viewentry',1,1264629242,0),(277,1,4,'mod/data:viewentry',1,1264629242,0),(278,1,3,'mod/data:viewentry',1,1264629242,0),(279,1,1,'mod/data:viewentry',1,1264629242,0),(280,1,5,'mod/data:writeentry',1,1264629242,0),(281,1,4,'mod/data:writeentry',1,1264629242,0),(282,1,3,'mod/data:writeentry',1,1264629242,0),(283,1,1,'mod/data:writeentry',1,1264629242,0),(284,1,5,'mod/data:comment',1,1264629242,0),(285,1,4,'mod/data:comment',1,1264629242,0),(286,1,3,'mod/data:comment',1,1264629242,0),(287,1,1,'mod/data:comment',1,1264629242,0),(288,1,4,'mod/data:viewrating',1,1264629242,0),(289,1,3,'mod/data:viewrating',1,1264629242,0),(290,1,1,'mod/data:viewrating',1,1264629242,0),(291,1,4,'mod/data:rate',1,1264629242,0),(292,1,3,'mod/data:rate',1,1264629242,0),(293,1,1,'mod/data:rate',1,1264629242,0),(294,1,4,'mod/data:approve',1,1264629242,0),(295,1,3,'mod/data:approve',1,1264629242,0),(296,1,1,'mod/data:approve',1,1264629242,0),(297,1,4,'mod/data:manageentries',1,1264629242,0),(298,1,3,'mod/data:manageentries',1,1264629242,0),(299,1,1,'mod/data:manageentries',1,1264629242,0),(300,1,4,'mod/data:managecomments',1,1264629242,0),(301,1,3,'mod/data:managecomments',1,1264629242,0),(302,1,1,'mod/data:managecomments',1,1264629242,0),(303,1,3,'mod/data:managetemplates',1,1264629242,0),(304,1,1,'mod/data:managetemplates',1,1264629242,0),(305,1,4,'mod/data:viewalluserpresets',1,1264629242,0),(306,1,3,'mod/data:viewalluserpresets',1,1264629242,0),(307,1,1,'mod/data:viewalluserpresets',1,1264629242,0),(308,1,1,'mod/data:manageuserpresets',1,1264629242,0),(309,1,6,'mod/forum:viewdiscussion',1,1264629242,0),(310,1,5,'mod/forum:viewdiscussion',1,1264629242,0),(311,1,4,'mod/forum:viewdiscussion',1,1264629242,0),(312,1,3,'mod/forum:viewdiscussion',1,1264629242,0),(313,1,1,'mod/forum:viewdiscussion',1,1264629242,0),(314,1,4,'mod/forum:viewhiddentimedposts',1,1264629242,0),(315,1,3,'mod/forum:viewhiddentimedposts',1,1264629242,0),(316,1,1,'mod/forum:viewhiddentimedposts',1,1264629242,0),(317,1,5,'mod/forum:startdiscussion',1,1264629242,0),(318,1,4,'mod/forum:startdiscussion',1,1264629242,0),(319,1,3,'mod/forum:startdiscussion',1,1264629242,0),(320,1,1,'mod/forum:startdiscussion',1,1264629242,0),(321,1,5,'mod/forum:replypost',1,1264629242,0),(322,1,4,'mod/forum:replypost',1,1264629242,0),(323,1,3,'mod/forum:replypost',1,1264629242,0),(324,1,1,'mod/forum:replypost',1,1264629242,0),(325,1,4,'mod/forum:addnews',1,1264629242,0),(326,1,3,'mod/forum:addnews',1,1264629242,0),(327,1,1,'mod/forum:addnews',1,1264629242,0),(328,1,4,'mod/forum:replynews',1,1264629242,0),(329,1,3,'mod/forum:replynews',1,1264629242,0),(330,1,1,'mod/forum:replynews',1,1264629242,0),(331,1,5,'mod/forum:viewrating',1,1264629242,0),(332,1,4,'mod/forum:viewrating',1,1264629242,0),(333,1,3,'mod/forum:viewrating',1,1264629242,0),(334,1,1,'mod/forum:viewrating',1,1264629242,0),(335,1,4,'mod/forum:viewanyrating',1,1264629242,0),(336,1,3,'mod/forum:viewanyrating',1,1264629242,0),(337,1,1,'mod/forum:viewanyrating',1,1264629242,0),(338,1,4,'mod/forum:rate',1,1264629242,0),(339,1,3,'mod/forum:rate',1,1264629242,0),(340,1,1,'mod/forum:rate',1,1264629242,0),(341,1,5,'mod/forum:createattachment',1,1264629242,0),(342,1,4,'mod/forum:createattachment',1,1264629242,0),(343,1,3,'mod/forum:createattachment',1,1264629242,0),(344,1,1,'mod/forum:createattachment',1,1264629242,0),(345,1,5,'mod/forum:deleteownpost',1,1264629242,0),(346,1,4,'mod/forum:deleteownpost',1,1264629242,0),(347,1,3,'mod/forum:deleteownpost',1,1264629242,0),(348,1,1,'mod/forum:deleteownpost',1,1264629242,0),(349,1,4,'mod/forum:deleteanypost',1,1264629242,0),(350,1,3,'mod/forum:deleteanypost',1,1264629242,0),(351,1,1,'mod/forum:deleteanypost',1,1264629242,0),(352,1,4,'mod/forum:splitdiscussions',1,1264629242,0),(353,1,3,'mod/forum:splitdiscussions',1,1264629242,0),(354,1,1,'mod/forum:splitdiscussions',1,1264629242,0),(355,1,4,'mod/forum:movediscussions',1,1264629242,0),(356,1,3,'mod/forum:movediscussions',1,1264629242,0),(357,1,1,'mod/forum:movediscussions',1,1264629242,0),(358,1,4,'mod/forum:editanypost',1,1264629242,0),(359,1,3,'mod/forum:editanypost',1,1264629242,0),(360,1,1,'mod/forum:editanypost',1,1264629242,0),(361,1,4,'mod/forum:viewqandawithoutposting',1,1264629242,0),(362,1,3,'mod/forum:viewqandawithoutposting',1,1264629242,0),(363,1,1,'mod/forum:viewqandawithoutposting',1,1264629242,0),(364,1,4,'mod/forum:viewsubscribers',1,1264629242,0),(365,1,3,'mod/forum:viewsubscribers',1,1264629242,0),(366,1,1,'mod/forum:viewsubscribers',1,1264629242,0),(367,1,4,'mod/forum:managesubscriptions',1,1264629242,0),(368,1,3,'mod/forum:managesubscriptions',1,1264629242,0),(369,1,1,'mod/forum:managesubscriptions',1,1264629242,0),(370,1,4,'mod/forum:initialsubscriptions',1,1264629242,0),(371,1,3,'mod/forum:initialsubscriptions',1,1264629242,0),(372,1,5,'mod/forum:initialsubscriptions',1,1264629242,0),(373,1,5,'mod/glossary:write',1,1264629242,0),(374,1,4,'mod/glossary:write',1,1264629242,0),(375,1,3,'mod/glossary:write',1,1264629242,0),(376,1,1,'mod/glossary:write',1,1264629242,0),(377,1,4,'mod/glossary:manageentries',1,1264629242,0),(378,1,3,'mod/glossary:manageentries',1,1264629242,0),(379,1,1,'mod/glossary:manageentries',1,1264629242,0),(380,1,4,'mod/glossary:managecategories',1,1264629242,0),(381,1,3,'mod/glossary:managecategories',1,1264629242,0),(382,1,1,'mod/glossary:managecategories',1,1264629242,0),(383,1,5,'mod/glossary:comment',1,1264629242,0),(384,1,4,'mod/glossary:comment',1,1264629242,0),(385,1,3,'mod/glossary:comment',1,1264629242,0),(386,1,1,'mod/glossary:comment',1,1264629242,0),(387,1,4,'mod/glossary:managecomments',1,1264629242,0),(388,1,3,'mod/glossary:managecomments',1,1264629242,0),(389,1,1,'mod/glossary:managecomments',1,1264629242,0),(390,1,4,'mod/glossary:import',1,1264629242,0),(391,1,3,'mod/glossary:import',1,1264629242,0),(392,1,1,'mod/glossary:import',1,1264629242,0),(393,1,4,'mod/glossary:export',1,1264629242,0),(394,1,3,'mod/glossary:export',1,1264629242,0),(395,1,1,'mod/glossary:export',1,1264629242,0),(396,1,4,'mod/glossary:approve',1,1264629242,0),(397,1,3,'mod/glossary:approve',1,1264629242,0),(398,1,1,'mod/glossary:approve',1,1264629242,0),(399,1,4,'mod/glossary:rate',1,1264629242,0),(400,1,3,'mod/glossary:rate',1,1264629242,0),(401,1,1,'mod/glossary:rate',1,1264629242,0),(402,1,4,'mod/glossary:viewrating',1,1264629242,0),(403,1,3,'mod/glossary:viewrating',1,1264629242,0),(404,1,1,'mod/glossary:viewrating',1,1264629242,0),(405,1,5,'mod/hotpot:attempt',1,1264629242,0),(406,1,4,'mod/hotpot:attempt',1,1264629242,0),(407,1,3,'mod/hotpot:attempt',1,1264629242,0),(408,1,1,'mod/hotpot:attempt',1,1264629242,0),(409,1,4,'mod/hotpot:viewreport',1,1264629242,0),(410,1,3,'mod/hotpot:viewreport',1,1264629242,0),(411,1,1,'mod/hotpot:viewreport',1,1264629242,0),(412,1,4,'mod/hotpot:grade',1,1264629242,0),(413,1,3,'mod/hotpot:grade',1,1264629242,0),(414,1,1,'mod/hotpot:grade',1,1264629242,0),(415,1,3,'mod/hotpot:deleteattempt',1,1264629242,0),(416,1,1,'mod/hotpot:deleteattempt',1,1264629242,0),(417,1,5,'mod/lams:participate',1,1264629242,0),(418,1,4,'mod/lams:manage',1,1264629242,0),(419,1,3,'mod/lams:manage',1,1264629242,0),(420,1,1,'mod/lams:manage',1,1264629242,0),(421,1,3,'mod/lesson:edit',1,1264629242,0),(422,1,1,'mod/lesson:edit',1,1264629242,0),(423,1,4,'mod/lesson:manage',1,1264629242,0),(424,1,3,'mod/lesson:manage',1,1264629242,0),(425,1,1,'mod/lesson:manage',1,1264629242,0),(426,1,6,'mod/quiz:view',1,1264629242,0),(427,1,5,'mod/quiz:view',1,1264629242,0),(428,1,4,'mod/quiz:view',1,1264629242,0),(429,1,3,'mod/quiz:view',1,1264629242,0),(430,1,1,'mod/quiz:view',1,1264629242,0),(431,1,5,'mod/quiz:attempt',1,1264629242,0),(432,1,5,'mod/quiz:reviewmyattempts',1,1264629242,0),(433,1,3,'mod/quiz:manage',1,1264629242,0),(434,1,1,'mod/quiz:manage',1,1264629242,0),(435,1,4,'mod/quiz:preview',1,1264629242,0),(436,1,3,'mod/quiz:preview',1,1264629242,0),(437,1,1,'mod/quiz:preview',1,1264629242,0),(438,1,4,'mod/quiz:grade',1,1264629242,0),(439,1,3,'mod/quiz:grade',1,1264629242,0),(440,1,1,'mod/quiz:grade',1,1264629242,0),(441,1,4,'mod/quiz:viewreports',1,1264629242,0),(442,1,3,'mod/quiz:viewreports',1,1264629242,0),(443,1,1,'mod/quiz:viewreports',1,1264629242,0),(444,1,3,'mod/quiz:deleteattempts',1,1264629242,0),(445,1,1,'mod/quiz:deleteattempts',1,1264629242,0),(446,1,4,'mod/scorm:viewreport',1,1264629242,0),(447,1,3,'mod/scorm:viewreport',1,1264629242,0),(448,1,1,'mod/scorm:viewreport',1,1264629242,0),(449,1,5,'mod/scorm:skipview',1,1264629242,0),(450,1,5,'mod/scorm:savetrack',1,1264629242,0),(451,1,4,'mod/scorm:savetrack',1,1264629242,0),(452,1,3,'mod/scorm:savetrack',1,1264629242,0),(453,1,1,'mod/scorm:savetrack',1,1264629242,0),(454,1,5,'mod/scorm:viewscores',1,1264629242,0),(455,1,4,'mod/scorm:viewscores',1,1264629242,0),(456,1,3,'mod/scorm:viewscores',1,1264629242,0),(457,1,1,'mod/scorm:viewscores',1,1264629242,0),(458,1,4,'mod/scorm:deleteresponses',1,1264629242,0),(459,1,3,'mod/scorm:deleteresponses',1,1264629242,0),(460,1,1,'mod/scorm:deleteresponses',1,1264629242,0),(461,1,5,'mod/survey:participate',1,1264629242,0),(462,1,4,'mod/survey:participate',1,1264629242,0),(463,1,3,'mod/survey:participate',1,1264629242,0),(464,1,1,'mod/survey:participate',1,1264629242,0),(465,1,4,'mod/survey:readresponses',1,1264629242,0),(466,1,3,'mod/survey:readresponses',1,1264629242,0),(467,1,1,'mod/survey:readresponses',1,1264629242,0),(468,1,4,'mod/survey:download',1,1264629242,0),(469,1,3,'mod/survey:download',1,1264629242,0),(470,1,1,'mod/survey:download',1,1264629242,0),(471,1,5,'mod/wiki:participate',1,1264629242,0),(472,1,4,'mod/wiki:participate',1,1264629242,0),(473,1,3,'mod/wiki:participate',1,1264629242,0),(474,1,1,'mod/wiki:participate',1,1264629242,0),(475,1,4,'mod/wiki:manage',1,1264629242,0),(476,1,3,'mod/wiki:manage',1,1264629242,0),(477,1,1,'mod/wiki:manage',1,1264629242,0),(478,1,4,'mod/wiki:overridelock',1,1264629242,0),(479,1,3,'mod/wiki:overridelock',1,1264629242,0),(480,1,1,'mod/wiki:overridelock',1,1264629242,0),(481,1,5,'mod/workshop:participate',1,1264629242,0),(482,1,4,'mod/workshop:manage',1,1264629242,0),(483,1,3,'mod/workshop:manage',1,1264629242,0),(484,1,1,'mod/workshop:manage',1,1264629242,0),(485,1,7,'block/online_users:viewlist',1,1264629242,0),(486,1,6,'block/online_users:viewlist',1,1264629242,0),(487,1,5,'block/online_users:viewlist',1,1264629242,0),(488,1,4,'block/online_users:viewlist',1,1264629242,0),(489,1,3,'block/online_users:viewlist',1,1264629242,0),(490,1,1,'block/online_users:viewlist',1,1264629242,0),(491,1,4,'block/rss_client:createprivatefeeds',1,1264629242,0),(492,1,3,'block/rss_client:createprivatefeeds',1,1264629242,0),(493,1,1,'block/rss_client:createprivatefeeds',1,1264629242,0),(494,1,3,'block/rss_client:createsharedfeeds',1,1264629242,0),(495,1,1,'block/rss_client:createsharedfeeds',1,1264629242,0),(496,1,4,'block/rss_client:manageownfeeds',1,1264629242,0),(497,1,3,'block/rss_client:manageownfeeds',1,1264629242,0),(498,1,1,'block/rss_client:manageownfeeds',1,1264629242,0),(499,1,1,'block/rss_client:manageanyfeeds',1,1264629242,0),(500,1,1,'enrol/authorize:managepayments',1,1264629242,0),(501,1,1,'enrol/authorize:uploadcsv',1,1264629242,0),(502,1,4,'gradeexport/ods:view',1,1264629242,0),(503,1,3,'gradeexport/ods:view',1,1264629242,0),(504,1,1,'gradeexport/ods:view',1,1264629242,0),(505,1,1,'gradeexport/ods:publish',1,1264629242,0),(506,1,4,'gradeexport/txt:view',1,1264629242,0),(507,1,3,'gradeexport/txt:view',1,1264629242,0),(508,1,1,'gradeexport/txt:view',1,1264629242,0),(509,1,1,'gradeexport/txt:publish',1,1264629242,0),(510,1,4,'gradeexport/xls:view',1,1264629242,0),(511,1,3,'gradeexport/xls:view',1,1264629242,0),(512,1,1,'gradeexport/xls:view',1,1264629242,0),(513,1,1,'gradeexport/xls:publish',1,1264629242,0),(514,1,4,'gradeexport/xml:view',1,1264629242,0),(515,1,3,'gradeexport/xml:view',1,1264629242,0),(516,1,1,'gradeexport/xml:view',1,1264629242,0),(517,1,1,'gradeexport/xml:publish',1,1264629242,0),(518,1,3,'gradeimport/csv:view',1,1264629242,0),(519,1,1,'gradeimport/csv:view',1,1264629242,0),(520,1,3,'gradeimport/xml:view',1,1264629242,0),(521,1,1,'gradeimport/xml:view',1,1264629242,0),(522,1,1,'gradeimport/xml:publish',1,1264629242,0),(523,1,4,'gradereport/grader:view',1,1264629242,0),(524,1,3,'gradereport/grader:view',1,1264629242,0),(525,1,1,'gradereport/grader:view',1,1264629242,0),(526,1,4,'gradereport/outcomes:view',1,1264629242,0),(527,1,3,'gradereport/outcomes:view',1,1264629242,0),(528,1,1,'gradereport/outcomes:view',1,1264629242,0),(529,1,5,'gradereport/overview:view',1,1264629242,0),(530,1,1,'gradereport/overview:view',1,1264629242,0),(531,1,5,'gradereport/user:view',1,1264629242,0),(532,1,4,'gradereport/user:view',1,1264629242,0),(533,1,3,'gradereport/user:view',1,1264629242,0),(534,1,1,'gradereport/user:view',1,1264629242,0),(535,1,4,'coursereport/log:view',1,1264629242,0),(536,1,3,'coursereport/log:view',1,1264629242,0),(537,1,1,'coursereport/log:view',1,1264629242,0),(538,1,4,'coursereport/log:viewlive',1,1264629242,0),(539,1,3,'coursereport/log:viewlive',1,1264629242,0),(540,1,1,'coursereport/log:viewlive',1,1264629242,0),(541,1,4,'coursereport/log:viewtoday',1,1264629242,0),(542,1,3,'coursereport/log:viewtoday',1,1264629242,0),(543,1,1,'coursereport/log:viewtoday',1,1264629242,0),(544,1,4,'coursereport/outline:view',1,1264629242,0),(545,1,3,'coursereport/outline:view',1,1264629242,0),(546,1,1,'coursereport/outline:view',1,1264629242,0),(547,1,4,'coursereport/participation:view',1,1264629242,0),(548,1,3,'coursereport/participation:view',1,1264629242,0),(549,1,1,'coursereport/participation:view',1,1264629242,0),(550,1,4,'coursereport/stats:view',1,1264629242,0),(551,1,3,'coursereport/stats:view',1,1264629242,0),(552,1,1,'coursereport/stats:view',1,1264629242,0),(553,1,4,'report/courseoverview:view',1,1264629242,0),(554,1,3,'report/courseoverview:view',1,1264629242,0),(555,1,1,'report/courseoverview:view',1,1264629242,0),(556,1,1,'report/security:view',1,1264629242,0),(557,1,1,'report/unittest:view',1,1264629242,0),(558,1,1,'moodle/backup:userinfo',1,1267653748,0),(559,1,1,'moodle/restore:userinfo',1,1267653748,0);

--
-- Table structure for table `mdl_role_names`
--

CREATE TABLE `mdl_role_names` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `contextid` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_rolename_rolcon_uix` (`roleid`,`contextid`),
  KEY `mdl_rolename_rol_ix` (`roleid`),
  KEY `mdl_rolename_con_ix` (`contextid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_role_names`
--


--
-- Table structure for table `mdl_role_sortorder`
--

CREATE TABLE `mdl_role_sortorder` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL,
  `roleid` bigint(10) unsigned NOT NULL,
  `contextid` bigint(10) unsigned NOT NULL,
  `sortoder` bigint(10) NOT NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_rolesort_userolcon_uix` (`userid`,`roleid`,`contextid`),
  KEY `mdl_rolesort_use_ix` (`userid`),
  KEY `mdl_rolesort_rol_ix` (`roleid`),
  KEY `mdl_rolesort_con_ix` (`contextid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_role_sortorder`
--


--
-- Table structure for table `mdl_scale`
--

CREATE TABLE `mdl_scale` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `scale` text NOT NULL,
  `description` text NOT NULL,
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_scal_cou_ix` (`courseid`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scale`
--

INSERT INTO `mdl_scale` VALUES (1,0,0,'Separate and Connected ways of knowing','Mostly Separate Knowing,Separate and Connected,Mostly Connected Knowing','<h1> Ratings </h1>\n\n<p>Individual posts can be rated using a scale based on the theory of <strong>separate and connected knowing</strong>.\n\nThis theory may help you to look at human interactions in a new way. It describes two different ways that we can evaluate and learn about the things we see and hear.\n\nAlthough each of us may use these two methods in different amounts at different times, it may be useful to imagine two people as examples, one who is a mostly separate knower (Jim) and the other a mostly connected knower (Mary).\n</p>\n\n<ul>\n\n  <li>Jim likes to remain as \'objective\' as possible without including his feelings and emotions. When in a discussion with other people who may have different ideas, he likes to defend his own ideas, using logic to find holes in his opponent\'s ideas. He is critical of new ideas unless they are proven facts from reputable sources such as textbooks, respected teachers or his own direct experience. Jim is a very <strong>separate knower</strong>.\n\n  </li>\n\n  <li>Mary is more sensitive to other people. She is skilled at empathy and tends to listen and ask questions until she feels she can connect and &quot;understand things from their point of view&quot;. She learns by trying to share the experiences that led to the knowledge she finds in other people. When talking to others, she avoids confrontation and will often try to help the other person if she can see a way to do so, using logical suggestions. Mary is a very <strong>connected knower</strong>.</li>\n\n</ul>\n\n<p>Did you notice in these examples that the separate knower is male and the connected knower is female? Some studies have shown that statistically this tends to be the case, however individual people can be anywhere in the spectrum between these two extremes.\n\nFor a collaborative and effective group of learners it may be best if everyone were able to use BOTH ways of knowing.\n\nIn a particular situation like an online forum, a single post by a person may exhibit either of these characteristics, or even both. Someone who is generally very connected may post a very separate-sounding message, and vice versa. The purpose of rating each post using this scale is to:\n</p>\n\n<ol style=\"list-style:lower-alpha\">\n\n  <li> help you think about these issues when reading other posts </li>\n\n  <li> provide feedback to each author on how they are being seen by others </li>\n\n</ol>\n\nThe results are not used towards student assessment in any way, they are just to help improve communication and learning.\n\n<hr />\n<p>\nIn case you\'re interested, here are some references to papers by the authors who originally developed these ideas:\n</p>\n\n<ul>\n  <li>Belenky, M.F., Clinchy, B.M., Goldberger, N.R., &amp; Tarule, J.M. (1986). \n\n    Women\'s ways of knowing: the development of self, voice, and mind. New York, \n\n    NY: Basic Books.</li>\n\n  <li>Clinchy, B.M. (1989a). The development of thoughtfulness in college women: \n\n    Integrating reason and care. American Behavioural Scientist, 32(6), 647-657.</li>\n\n  <li>Clinchy, B.M. (1989b). On critical thinking &amp; connected knowing. Liberal \n\n    education, 75(5), 14-19.</li>\n\n  <li>Clinchy, B.M. (1996). Connected and separate knowing; Toward a marriage \n\n    of two minds. In N.R. Goldberger, Tarule, J.M., Clinchy, B.M. &amp;</li>\n\n  <li>Belenky, M.F. (Eds.), Knowledge, Difference, and Power; Essays inspired \n\n    by &#8220;Women&#8217;s Ways of Knowing&#8221; (pp. 205-247). New York, NY: \n\n    Basic Books.</li>\n\n  <li>Galotti, K. M., Clinchy, B. M., Ainsworth, K., Lavin, B., &amp; Mansfield, \n\n    A. F. (1999). A New Way of Assessing Ways of Knowing: The Attitudes Towards \n\n    Thinking and Learning Survey (ATTLS). Sex Roles, 40(9/10), 745-766.</li>\n\n  <li>Galotti, K. M., Reimer, R. L., &amp; Drebus, D. W. (2001). Ways of knowing \n\n    as learning styles: Learning MAGIC with a partner. Sex Roles, 44(7/8), 419-436. \n\n  </li>\n\n</ul>\n\n',1267514856);

--
-- Table structure for table `mdl_scale_history`
--

CREATE TABLE `mdl_scale_history` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `action` bigint(10) unsigned NOT NULL default '0',
  `oldid` bigint(10) unsigned NOT NULL,
  `source` varchar(255) default NULL,
  `timemodified` bigint(10) unsigned default NULL,
  `loggeduser` bigint(10) unsigned default NULL,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `scale` text NOT NULL,
  `description` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_scalhist_act_ix` (`action`),
  KEY `mdl_scalhist_old_ix` (`oldid`),
  KEY `mdl_scalhist_cou_ix` (`courseid`),
  KEY `mdl_scalhist_log_ix` (`loggeduser`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scale_history`
--


--
-- Table structure for table `mdl_scorm`
--

CREATE TABLE `mdl_scorm` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `reference` varchar(255) NOT NULL default '',
  `summary` text NOT NULL,
  `version` varchar(9) NOT NULL default '',
  `maxgrade` double NOT NULL default '0',
  `grademethod` tinyint(2) NOT NULL default '0',
  `whatgrade` bigint(10) NOT NULL default '0',
  `maxattempt` bigint(10) NOT NULL default '1',
  `updatefreq` tinyint(1) unsigned NOT NULL default '0',
  `md5hash` varchar(32) NOT NULL default '',
  `launch` bigint(10) unsigned NOT NULL default '0',
  `skipview` tinyint(1) unsigned NOT NULL default '1',
  `hidebrowse` tinyint(1) NOT NULL default '0',
  `hidetoc` tinyint(1) NOT NULL default '0',
  `hidenav` tinyint(1) NOT NULL default '0',
  `auto` tinyint(1) unsigned NOT NULL default '0',
  `popup` tinyint(1) unsigned NOT NULL default '0',
  `options` varchar(255) NOT NULL default '',
  `width` bigint(10) unsigned NOT NULL default '100',
  `height` bigint(10) unsigned NOT NULL default '600',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_scor_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm`
--


--
-- Table structure for table `mdl_scorm_scoes`
--

CREATE TABLE `mdl_scorm_scoes` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `scorm` bigint(10) unsigned NOT NULL default '0',
  `manifest` varchar(255) NOT NULL default '',
  `organization` varchar(255) NOT NULL default '',
  `parent` varchar(255) NOT NULL default '',
  `identifier` varchar(255) NOT NULL default '',
  `launch` varchar(255) NOT NULL default '',
  `scormtype` varchar(5) NOT NULL default '',
  `title` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_scorscoe_sco_ix` (`scorm`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_scoes`
--


--
-- Table structure for table `mdl_scorm_scoes_data`
--

CREATE TABLE `mdl_scorm_scoes_data` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `scoid` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `value` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_scorscoedata_sco_ix` (`scoid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_scoes_data`
--


--
-- Table structure for table `mdl_scorm_scoes_track`
--

CREATE TABLE `mdl_scorm_scoes_track` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `scormid` bigint(10) NOT NULL default '0',
  `scoid` bigint(10) unsigned NOT NULL default '0',
  `attempt` bigint(10) unsigned NOT NULL default '1',
  `element` varchar(255) NOT NULL default '',
  `value` longtext NOT NULL,
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_scorscoetrac_usescosco_uix` (`userid`,`scormid`,`scoid`,`attempt`,`element`),
  KEY `mdl_scorscoetrac_use_ix` (`userid`),
  KEY `mdl_scorscoetrac_ele_ix` (`element`),
  KEY `mdl_scorscoetrac_sco_ix` (`scormid`),
  KEY `mdl_scorscoetrac_sco2_ix` (`scoid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_scoes_track`
--


--
-- Table structure for table `mdl_scorm_seq_mapinfo`
--

CREATE TABLE `mdl_scorm_seq_mapinfo` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `scoid` bigint(10) unsigned NOT NULL default '0',
  `objectiveid` bigint(10) unsigned NOT NULL default '0',
  `targetobjectiveid` bigint(10) unsigned NOT NULL default '0',
  `readsatisfiedstatus` tinyint(1) NOT NULL default '1',
  `readnormalizedmeasure` tinyint(1) NOT NULL default '1',
  `writesatisfiedstatus` tinyint(1) NOT NULL default '0',
  `writenormalizedmeasure` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_scorseqmapi_scoidobj_uix` (`scoid`,`id`,`objectiveid`),
  KEY `mdl_scorseqmapi_sco_ix` (`scoid`),
  KEY `mdl_scorseqmapi_obj_ix` (`objectiveid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_seq_mapinfo`
--


--
-- Table structure for table `mdl_scorm_seq_objective`
--

CREATE TABLE `mdl_scorm_seq_objective` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `scoid` bigint(10) unsigned NOT NULL default '0',
  `primaryobj` tinyint(1) NOT NULL default '0',
  `objectiveid` bigint(10) unsigned NOT NULL default '0',
  `satisfiedbymeasure` tinyint(1) NOT NULL default '1',
  `minnormalizedmeasure` float(11,4) unsigned NOT NULL default '0.0000',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_scorseqobje_scoid_uix` (`scoid`,`id`),
  KEY `mdl_scorseqobje_sco_ix` (`scoid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_seq_objective`
--


--
-- Table structure for table `mdl_scorm_seq_rolluprule`
--

CREATE TABLE `mdl_scorm_seq_rolluprule` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `scoid` bigint(10) unsigned NOT NULL default '0',
  `childactivityset` varchar(15) NOT NULL default '',
  `minimumcount` bigint(10) unsigned NOT NULL default '0',
  `minimumpercent` float(11,4) unsigned NOT NULL default '0.0000',
  `conditioncombination` varchar(3) NOT NULL default 'all',
  `action` varchar(15) NOT NULL default '',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_scorseqroll_scoid_uix` (`scoid`,`id`),
  KEY `mdl_scorseqroll_sco_ix` (`scoid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_seq_rolluprule`
--


--
-- Table structure for table `mdl_scorm_seq_rolluprulecond`
--

CREATE TABLE `mdl_scorm_seq_rolluprulecond` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `scoid` bigint(10) unsigned NOT NULL default '0',
  `rollupruleid` bigint(10) unsigned NOT NULL default '0',
  `operator` varchar(5) NOT NULL default 'noOp',
  `cond` varchar(25) NOT NULL default '',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_scorseqroll_scorolid_uix` (`scoid`,`rollupruleid`,`id`),
  KEY `mdl_scorseqroll_sco2_ix` (`scoid`),
  KEY `mdl_scorseqroll_rol_ix` (`rollupruleid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_seq_rolluprulecond`
--


--
-- Table structure for table `mdl_scorm_seq_rulecond`
--

CREATE TABLE `mdl_scorm_seq_rulecond` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `scoid` bigint(10) unsigned NOT NULL default '0',
  `ruleconditionsid` bigint(10) unsigned NOT NULL default '0',
  `refrencedobjective` varchar(255) NOT NULL default '',
  `measurethreshold` float(11,4) NOT NULL default '0.0000',
  `operator` varchar(5) NOT NULL default 'noOp',
  `cond` varchar(30) NOT NULL default 'always',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_scorseqrule_idscorul_uix` (`id`,`scoid`,`ruleconditionsid`),
  KEY `mdl_scorseqrule_sco2_ix` (`scoid`),
  KEY `mdl_scorseqrule_rul_ix` (`ruleconditionsid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_seq_rulecond`
--


--
-- Table structure for table `mdl_scorm_seq_ruleconds`
--

CREATE TABLE `mdl_scorm_seq_ruleconds` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `scoid` bigint(10) unsigned NOT NULL default '0',
  `conditioncombination` varchar(3) NOT NULL default 'all',
  `ruletype` tinyint(2) unsigned NOT NULL default '0',
  `action` varchar(25) NOT NULL default '',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_scorseqrule_scoid_uix` (`scoid`,`id`),
  KEY `mdl_scorseqrule_sco_ix` (`scoid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_scorm_seq_ruleconds`
--


--
-- Table structure for table `mdl_sessions2`
--

CREATE TABLE `mdl_sessions2` (
  `sesskey` varchar(64) NOT NULL default '',
  `expiry` datetime NOT NULL,
  `expireref` varchar(250) default '',
  `created` datetime NOT NULL,
  `modified` datetime NOT NULL,
  `sessdata` longtext,
  PRIMARY KEY  (`sesskey`),
  KEY `mdl_sess_exp_ix` (`expiry`),
  KEY `mdl_sess_exp2_ix` (`expireref`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_sessions2`
--


--
-- Table structure for table `mdl_stats_daily`
--

CREATE TABLE `mdl_stats_daily` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `timeend` bigint(10) unsigned NOT NULL default '0',
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `stattype` enum('enrolments','activity','logins') NOT NULL default 'activity',
  `stat1` bigint(10) unsigned NOT NULL default '0',
  `stat2` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_statdail_cou_ix` (`courseid`),
  KEY `mdl_statdail_tim_ix` (`timeend`),
  KEY `mdl_statdail_rol_ix` (`roleid`)
) ENGINE=MyISAM AUTO_INCREMENT=989 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_stats_daily`
--

INSERT INTO `mdl_stats_daily` VALUES (966,3,1285570800,3,'enrolments',1,0),(965,2,1285570800,3,'enrolments',1,0),(964,1,1285570800,3,'enrolments',1,0),(963,3,1285484400,3,'enrolments',1,0),(962,2,1285484400,3,'enrolments',1,0),(961,1,1285484400,3,'enrolments',1,0),(960,3,1285398000,3,'enrolments',1,0),(959,2,1285398000,3,'enrolments',1,0),(958,1,1285398000,3,'enrolments',1,0),(957,3,1285311600,3,'enrolments',1,0),(956,2,1285311600,3,'enrolments',1,0),(955,1,1285311600,3,'enrolments',1,0),(954,3,1285225200,3,'enrolments',1,0),(579,3,1276498800,3,'enrolments',1,0),(578,2,1276498800,5,'enrolments',2,0),(577,2,1276498800,3,'enrolments',1,0),(576,1,1276498800,3,'enrolments',1,0),(575,3,1276412400,3,'enrolments',1,0),(574,2,1276412400,5,'enrolments',2,0),(573,2,1276412400,3,'enrolments',1,0),(572,1,1276412400,3,'enrolments',1,0),(571,3,1276326000,3,'enrolments',1,0),(570,2,1276326000,5,'enrolments',2,0),(569,2,1276326000,3,'enrolments',1,0),(568,1,1276326000,3,'enrolments',1,0),(567,3,1276239600,3,'enrolments',1,0),(566,2,1276239600,5,'enrolments',2,0),(565,2,1276239600,3,'enrolments',1,0),(564,1,1276239600,3,'enrolments',1,0),(563,3,1276153200,3,'enrolments',1,0),(562,2,1276153200,5,'enrolments',2,0),(561,2,1276153200,3,'enrolments',1,0),(560,1,1276153200,3,'enrolments',1,0),(559,3,1276066800,3,'enrolments',1,0),(558,2,1276066800,5,'enrolments',2,0),(557,2,1276066800,3,'enrolments',1,0),(556,1,1276066800,3,'enrolments',1,0),(555,3,1275980400,3,'enrolments',1,0),(554,2,1275980400,5,'enrolments',2,0),(531,3,1275462000,3,'enrolments',1,0),(530,2,1275462000,5,'enrolments',2,0),(529,2,1275462000,3,'enrolments',1,0),(528,1,1275462000,3,'enrolments',1,0),(553,2,1275980400,3,'enrolments',1,0),(552,1,1275980400,3,'enrolments',1,0),(551,3,1275894000,3,'enrolments',1,0),(550,2,1275894000,5,'enrolments',2,0),(549,2,1275894000,3,'enrolments',1,0),(548,1,1275894000,3,'enrolments',1,0),(547,3,1275807600,3,'enrolments',1,0),(546,2,1275807600,5,'enrolments',2,0),(545,2,1275807600,3,'enrolments',1,0),(544,1,1275807600,3,'enrolments',1,0),(543,3,1275721200,3,'enrolments',1,0),(542,2,1275721200,5,'enrolments',2,0),(541,2,1275721200,3,'enrolments',1,0),(540,1,1275721200,3,'enrolments',1,0),(539,3,1275634800,3,'enrolments',1,0),(538,2,1275634800,5,'enrolments',2,0),(537,2,1275634800,3,'enrolments',1,0),(536,1,1275634800,3,'enrolments',1,0),(535,3,1275548400,3,'enrolments',1,0),(534,2,1275548400,5,'enrolments',2,0),(533,2,1275548400,3,'enrolments',1,0),(532,1,1275548400,3,'enrolments',1,0),(753,3,1280646000,3,'enrolments',1,0),(752,2,1280646000,3,'enrolments',1,0),(751,1,1280646000,3,'enrolments',1,0),(750,3,1280559600,3,'enrolments',1,0),(749,2,1280559600,3,'enrolments',1,0),(748,1,1280559600,3,'enrolments',1,0),(747,3,1280473200,3,'enrolments',1,0),(746,2,1280473200,3,'enrolments',1,0),(745,1,1280473200,3,'enrolments',1,0),(744,3,1280386800,3,'enrolments',1,0),(743,2,1280386800,3,'enrolments',1,0),(742,1,1280386800,3,'enrolments',1,0),(741,3,1280300400,3,'enrolments',1,0),(740,2,1280300400,3,'enrolments',1,0),(739,1,1280300400,3,'enrolments',1,0),(738,3,1280214000,3,'enrolments',1,0),(737,2,1280214000,3,'enrolments',1,0),(736,1,1280214000,3,'enrolments',1,0),(735,3,1280127600,3,'enrolments',1,0),(734,2,1280127600,3,'enrolments',1,0),(733,1,1280127600,3,'enrolments',1,0),(732,3,1280041200,3,'enrolments',1,0),(731,2,1280041200,3,'enrolments',1,0),(730,1,1280041200,3,'enrolments',1,0),(729,3,1279954800,3,'enrolments',1,0),(728,2,1279954800,3,'enrolments',1,0),(727,1,1279954800,3,'enrolments',1,0),(726,3,1279868400,3,'enrolments',1,0),(725,2,1279868400,3,'enrolments',1,0),(724,1,1279868400,3,'enrolments',1,0),(723,3,1279782000,3,'enrolments',1,0),(722,2,1279782000,3,'enrolments',1,0),(721,1,1279782000,3,'enrolments',1,0),(720,3,1279695600,3,'enrolments',1,0),(719,2,1279695600,3,'enrolments',1,0),(718,1,1279695600,3,'enrolments',1,0),(717,3,1279609200,3,'enrolments',1,0),(716,2,1279609200,3,'enrolments',1,0),(715,1,1279609200,3,'enrolments',1,0),(714,3,1279522800,3,'enrolments',1,0),(713,2,1279522800,3,'enrolments',1,0),(712,1,1279522800,3,'enrolments',1,0),(711,3,1279436400,3,'enrolments',1,0),(710,2,1279436400,3,'enrolments',1,0),(709,1,1279436400,3,'enrolments',1,0),(708,3,1279350000,3,'enrolments',1,0),(707,2,1279350000,3,'enrolments',1,0),(706,1,1279350000,3,'enrolments',1,0),(705,3,1279263600,3,'enrolments',1,0),(704,2,1279263600,3,'enrolments',1,0),(703,1,1279263600,3,'enrolments',1,0),(702,3,1279177200,3,'enrolments',1,0),(701,2,1279177200,3,'enrolments',1,0),(700,1,1279177200,3,'enrolments',1,0),(699,3,1279090800,3,'enrolments',1,0),(698,2,1279090800,5,'enrolments',1,0),(697,2,1279090800,3,'enrolments',1,0),(696,1,1279090800,3,'enrolments',1,0),(695,3,1279004400,3,'enrolments',1,0),(694,2,1279004400,5,'enrolments',1,0),(693,2,1279004400,3,'enrolments',1,0),(692,1,1279004400,3,'enrolments',1,0),(691,3,1278918000,3,'enrolments',1,0),(690,2,1278918000,5,'enrolments',1,0),(689,2,1278918000,3,'enrolments',1,0),(688,1,1278918000,3,'enrolments',1,0),(687,3,1278831600,3,'enrolments',1,0),(686,2,1278831600,5,'enrolments',1,0),(685,2,1278831600,3,'enrolments',1,0),(684,1,1278831600,3,'enrolments',1,0),(683,3,1278745200,3,'enrolments',1,0),(682,2,1278745200,5,'enrolments',1,0),(681,2,1278745200,3,'enrolments',1,0),(680,1,1278745200,3,'enrolments',1,0),(679,3,1278658800,3,'enrolments',1,0),(678,2,1278658800,5,'enrolments',1,0),(677,2,1278658800,3,'enrolments',1,0),(676,1,1278658800,3,'enrolments',1,0),(675,3,1278572400,3,'enrolments',1,0),(674,2,1278572400,5,'enrolments',1,0),(673,2,1278572400,3,'enrolments',1,0),(672,1,1278572400,3,'enrolments',1,0),(671,3,1278486000,3,'enrolments',1,0),(670,2,1278486000,5,'enrolments',1,0),(669,2,1278486000,3,'enrolments',1,0),(668,1,1278486000,3,'enrolments',1,0),(667,3,1278399600,3,'enrolments',1,0),(666,2,1278399600,5,'enrolments',1,0),(665,2,1278399600,3,'enrolments',1,0),(664,1,1278399600,3,'enrolments',1,0),(663,3,1278313200,3,'enrolments',1,0),(662,2,1278313200,5,'enrolments',1,0),(661,2,1278313200,3,'enrolments',1,0),(660,1,1278313200,3,'enrolments',1,0),(659,3,1278226800,3,'enrolments',1,0),(658,2,1278226800,5,'enrolments',2,0),(657,2,1278226800,3,'enrolments',1,0),(656,1,1278226800,3,'enrolments',1,0),(655,3,1278140400,3,'enrolments',1,0),(654,2,1278140400,5,'enrolments',2,0),(653,2,1278140400,3,'enrolments',1,0),(652,1,1278140400,3,'enrolments',1,0),(651,3,1278054000,3,'enrolments',1,0),(650,2,1278054000,5,'enrolments',2,0),(649,2,1278054000,3,'enrolments',1,0),(648,1,1278054000,3,'enrolments',1,0),(985,1,1285743600,3,'activity',1,0),(984,1,1285743600,1,'activity',1,0),(983,3,1285743600,3,'activity',1,0),(982,3,1285743600,1,'activity',1,0),(981,2,1285743600,3,'activity',4,0),(980,2,1285743600,1,'activity',4,0),(979,3,1285743600,0,'activity',1,0),(978,2,1285743600,0,'activity',4,0),(977,1,1285743600,0,'activity',1,0),(976,1,1285743600,0,'enrolments',5,1),(975,3,1285743600,0,'enrolments',1,1),(974,2,1285743600,0,'enrolments',1,1),(973,3,1285743600,3,'enrolments',1,1),(972,2,1285743600,3,'enrolments',1,1),(971,1,1285743600,3,'enrolments',1,1),(970,1,1285743600,0,'logins',1,1),(969,3,1285657200,3,'enrolments',1,0),(968,2,1285657200,3,'enrolments',1,0),(967,1,1285657200,3,'enrolments',1,0),(846,3,1283324400,3,'enrolments',1,0),(845,2,1283324400,3,'enrolments',1,0),(844,1,1283324400,3,'enrolments',1,0),(843,3,1283238000,3,'enrolments',1,0),(842,2,1283238000,3,'enrolments',1,0),(841,1,1283238000,3,'enrolments',1,0),(840,3,1283151600,3,'enrolments',1,0),(839,2,1283151600,3,'enrolments',1,0),(838,1,1283151600,3,'enrolments',1,0),(837,3,1283065200,3,'enrolments',1,0),(836,2,1283065200,3,'enrolments',1,0),(835,1,1283065200,3,'enrolments',1,0),(834,3,1282978800,3,'enrolments',1,0),(833,2,1282978800,3,'enrolments',1,0),(832,1,1282978800,3,'enrolments',1,0),(831,3,1282892400,3,'enrolments',1,0),(830,2,1282892400,3,'enrolments',1,0),(829,1,1282892400,3,'enrolments',1,0),(828,3,1282806000,3,'enrolments',1,0),(827,2,1282806000,3,'enrolments',1,0),(826,1,1282806000,3,'enrolments',1,0),(825,3,1282719600,3,'enrolments',1,0),(824,2,1282719600,3,'enrolments',1,0),(823,1,1282719600,3,'enrolments',1,0),(822,3,1282633200,3,'enrolments',1,0),(821,2,1282633200,3,'enrolments',1,0),(820,1,1282633200,3,'enrolments',1,0),(819,3,1282546800,3,'enrolments',1,0),(818,2,1282546800,3,'enrolments',1,0),(817,1,1282546800,3,'enrolments',1,0),(816,3,1282460400,3,'enrolments',1,0),(815,2,1282460400,3,'enrolments',1,0),(814,1,1282460400,3,'enrolments',1,0),(813,3,1282374000,3,'enrolments',1,0),(812,2,1282374000,3,'enrolments',1,0),(811,1,1282374000,3,'enrolments',1,0),(810,3,1282287600,3,'enrolments',1,0),(809,2,1282287600,3,'enrolments',1,0),(808,1,1282287600,3,'enrolments',1,0),(807,3,1282201200,3,'enrolments',1,0),(806,2,1282201200,3,'enrolments',1,0),(805,1,1282201200,3,'enrolments',1,0),(804,3,1282114800,3,'enrolments',1,0),(803,2,1282114800,3,'enrolments',1,0),(802,1,1282114800,3,'enrolments',1,0),(801,3,1282028400,3,'enrolments',1,0),(800,2,1282028400,3,'enrolments',1,0),(799,1,1282028400,3,'enrolments',1,0),(798,3,1281942000,3,'enrolments',1,0),(797,2,1281942000,3,'enrolments',1,0),(796,1,1281942000,3,'enrolments',1,0),(795,3,1281855600,3,'enrolments',1,0),(794,2,1281855600,3,'enrolments',1,0),(793,1,1281855600,3,'enrolments',1,0),(792,3,1281769200,3,'enrolments',1,0),(791,2,1281769200,3,'enrolments',1,0),(790,1,1281769200,3,'enrolments',1,0),(789,3,1281682800,3,'enrolments',1,0),(788,2,1281682800,3,'enrolments',1,0),(787,1,1281682800,3,'enrolments',1,0),(786,3,1281596400,3,'enrolments',1,0),(785,2,1281596400,3,'enrolments',1,0),(784,1,1281596400,3,'enrolments',1,0),(783,3,1281510000,3,'enrolments',1,0),(782,2,1281510000,3,'enrolments',1,0),(781,1,1281510000,3,'enrolments',1,0),(780,3,1281423600,3,'enrolments',1,0),(779,2,1281423600,3,'enrolments',1,0),(778,1,1281423600,3,'enrolments',1,0),(777,3,1281337200,3,'enrolments',1,0),(776,2,1281337200,3,'enrolments',1,0),(775,1,1281337200,3,'enrolments',1,0),(774,3,1281250800,3,'enrolments',1,0),(773,2,1281250800,3,'enrolments',1,0),(772,1,1281250800,3,'enrolments',1,0),(771,3,1281164400,3,'enrolments',1,0),(770,2,1281164400,3,'enrolments',1,0),(769,1,1281164400,3,'enrolments',1,0),(768,3,1281078000,3,'enrolments',1,0),(767,2,1281078000,3,'enrolments',1,0),(766,1,1281078000,3,'enrolments',1,0),(765,3,1280991600,3,'enrolments',1,0),(764,2,1280991600,3,'enrolments',1,0),(763,1,1280991600,3,'enrolments',1,0),(762,3,1280905200,3,'enrolments',1,0),(761,2,1280905200,3,'enrolments',1,0),(756,3,1280732400,3,'enrolments',1,0),(755,2,1280732400,3,'enrolments',1,0),(754,1,1280732400,3,'enrolments',1,0),(760,1,1280905200,3,'enrolments',1,0),(759,3,1280818800,3,'enrolments',1,0),(758,2,1280818800,3,'enrolments',1,0),(757,1,1280818800,3,'enrolments',1,0),(953,2,1285225200,3,'enrolments',1,0),(952,1,1285225200,3,'enrolments',1,0),(951,1,1285138800,6,'activity',2,0),(950,1,1285138800,0,'activity',2,0),(949,1,1285138800,0,'enrolments',5,1),(948,3,1285138800,0,'enrolments',1,0),(947,2,1285138800,0,'enrolments',1,0),(946,3,1285138800,3,'enrolments',1,0),(945,2,1285138800,3,'enrolments',1,0),(944,1,1285138800,3,'enrolments',1,0),(943,1,1285138800,0,'logins',0,0),(942,1,1285052400,6,'activity',15,0),(941,1,1285052400,0,'activity',15,0),(940,1,1285052400,0,'enrolments',5,1),(939,3,1285052400,0,'enrolments',1,0),(938,2,1285052400,0,'enrolments',1,0),(937,3,1285052400,3,'enrolments',1,0),(936,2,1285052400,3,'enrolments',1,0),(935,1,1285052400,3,'enrolments',1,0),(934,1,1285052400,0,'logins',0,0),(933,1,1284966000,6,'activity',17,0),(932,1,1284966000,0,'activity',17,0),(931,1,1284966000,0,'enrolments',5,1),(930,3,1284966000,0,'enrolments',1,0),(929,2,1284966000,0,'enrolments',1,0),(928,3,1284966000,3,'enrolments',1,0),(927,2,1284966000,3,'enrolments',1,0),(926,1,1284966000,3,'enrolments',1,0),(925,1,1284966000,0,'logins',0,0),(924,1,1284879600,6,'activity',19,0),(923,1,1284879600,0,'activity',19,0),(922,1,1284879600,0,'enrolments',5,1),(921,3,1284879600,0,'enrolments',1,0),(920,2,1284879600,0,'enrolments',1,0),(919,3,1284879600,3,'enrolments',1,0),(918,2,1284879600,3,'enrolments',1,0),(917,1,1284879600,3,'enrolments',1,0),(916,1,1284879600,0,'logins',0,0),(915,1,1284793200,6,'activity',7,0),(914,1,1284793200,0,'activity',7,0),(913,1,1284793200,0,'enrolments',5,1),(912,3,1284793200,0,'enrolments',1,0),(911,2,1284793200,0,'enrolments',1,0),(910,3,1284793200,3,'enrolments',1,0),(909,2,1284793200,3,'enrolments',1,0),(908,1,1284793200,3,'enrolments',1,0),(907,1,1284793200,0,'logins',0,0),(906,1,1284706800,6,'activity',17,0),(905,1,1284706800,0,'activity',17,0),(904,1,1284706800,0,'enrolments',5,1),(903,3,1284706800,0,'enrolments',1,0),(902,2,1284706800,0,'enrolments',1,0),(901,3,1284706800,3,'enrolments',1,0),(900,2,1284706800,3,'enrolments',1,0),(899,1,1284706800,3,'enrolments',1,0),(898,1,1284706800,0,'logins',0,0),(897,1,1284620400,6,'activity',1,0),(896,1,1284620400,0,'activity',1,0),(895,1,1284620400,0,'enrolments',5,1),(894,3,1284620400,0,'enrolments',1,0),(893,2,1284620400,0,'enrolments',1,0),(892,3,1284620400,3,'enrolments',1,0),(891,2,1284620400,3,'enrolments',1,0),(890,1,1284620400,3,'enrolments',1,0),(889,1,1284620400,0,'logins',0,0),(888,3,1284534000,3,'enrolments',1,0),(887,2,1284534000,3,'enrolments',1,0),(886,1,1284534000,3,'enrolments',1,0),(885,3,1284447600,3,'enrolments',1,0),(884,2,1284447600,3,'enrolments',1,0),(883,1,1284447600,3,'enrolments',1,0),(882,3,1284361200,3,'enrolments',1,0),(881,2,1284361200,3,'enrolments',1,0),(880,1,1284361200,3,'enrolments',1,0),(879,3,1284274800,3,'enrolments',1,0),(878,2,1284274800,3,'enrolments',1,0),(877,1,1284274800,3,'enrolments',1,0),(876,3,1284188400,3,'enrolments',1,0),(875,2,1284188400,3,'enrolments',1,0),(874,1,1284188400,3,'enrolments',1,0),(873,3,1284102000,3,'enrolments',1,0),(872,2,1284102000,3,'enrolments',1,0),(871,1,1284102000,3,'enrolments',1,0),(870,3,1284015600,3,'enrolments',1,0),(869,2,1284015600,3,'enrolments',1,0),(868,1,1284015600,3,'enrolments',1,0),(867,3,1283929200,3,'enrolments',1,0),(866,2,1283929200,3,'enrolments',1,0),(865,1,1283929200,3,'enrolments',1,0),(864,3,1283842800,3,'enrolments',1,0),(863,2,1283842800,3,'enrolments',1,0),(862,1,1283842800,3,'enrolments',1,0),(861,3,1283756400,3,'enrolments',1,0),(860,2,1283756400,3,'enrolments',1,0),(859,1,1283756400,3,'enrolments',1,0),(858,3,1283670000,3,'enrolments',1,0),(857,2,1283670000,3,'enrolments',1,0),(856,1,1283670000,3,'enrolments',1,0),(855,3,1283583600,3,'enrolments',1,0),(854,2,1283583600,3,'enrolments',1,0),(853,1,1283583600,3,'enrolments',1,0),(852,3,1283497200,3,'enrolments',1,0),(851,2,1283497200,3,'enrolments',1,0),(850,1,1283497200,3,'enrolments',1,0),(849,3,1283410800,3,'enrolments',1,0),(848,2,1283410800,3,'enrolments',1,0),(847,1,1283410800,3,'enrolments',1,0),(524,1,1275375600,3,'enrolments',1,0),(525,2,1275375600,3,'enrolments',1,0),(526,2,1275375600,5,'enrolments',2,0),(527,3,1275375600,3,'enrolments',1,0),(580,1,1276585200,3,'enrolments',1,0),(581,2,1276585200,3,'enrolments',1,0),(582,2,1276585200,5,'enrolments',2,0),(583,3,1276585200,3,'enrolments',1,0),(584,1,1276671600,3,'enrolments',1,0),(585,2,1276671600,3,'enrolments',1,0),(586,2,1276671600,5,'enrolments',2,0),(587,3,1276671600,3,'enrolments',1,0),(588,1,1276758000,3,'enrolments',1,0),(589,2,1276758000,3,'enrolments',1,0),(590,2,1276758000,5,'enrolments',2,0),(591,3,1276758000,3,'enrolments',1,0),(592,1,1276844400,3,'enrolments',1,0),(593,2,1276844400,3,'enrolments',1,0),(594,2,1276844400,5,'enrolments',2,0),(595,3,1276844400,3,'enrolments',1,0),(596,1,1276930800,3,'enrolments',1,0),(597,2,1276930800,3,'enrolments',1,0),(598,2,1276930800,5,'enrolments',2,0),(599,3,1276930800,3,'enrolments',1,0),(600,1,1277017200,3,'enrolments',1,0),(601,2,1277017200,3,'enrolments',1,0),(602,2,1277017200,5,'enrolments',2,0),(603,3,1277017200,3,'enrolments',1,0),(604,1,1277103600,3,'enrolments',1,0),(605,2,1277103600,3,'enrolments',1,0),(606,2,1277103600,5,'enrolments',2,0),(607,3,1277103600,3,'enrolments',1,0),(608,1,1277190000,3,'enrolments',1,0),(609,2,1277190000,3,'enrolments',1,0),(610,2,1277190000,5,'enrolments',2,0),(611,3,1277190000,3,'enrolments',1,0),(612,1,1277276400,3,'enrolments',1,0),(613,2,1277276400,3,'enrolments',1,0),(614,2,1277276400,5,'enrolments',2,0),(615,3,1277276400,3,'enrolments',1,0),(616,1,1277362800,3,'enrolments',1,0),(617,2,1277362800,3,'enrolments',1,0),(618,2,1277362800,5,'enrolments',2,0),(619,3,1277362800,3,'enrolments',1,0),(620,1,1277449200,3,'enrolments',1,0),(621,2,1277449200,3,'enrolments',1,0),(622,2,1277449200,5,'enrolments',2,0),(623,3,1277449200,3,'enrolments',1,0),(624,1,1277535600,3,'enrolments',1,0),(625,2,1277535600,3,'enrolments',1,0),(626,2,1277535600,5,'enrolments',2,0),(627,3,1277535600,3,'enrolments',1,0),(628,1,1277622000,3,'enrolments',1,0),(629,2,1277622000,3,'enrolments',1,0),(630,2,1277622000,5,'enrolments',2,0),(631,3,1277622000,3,'enrolments',1,0),(632,1,1277708400,3,'enrolments',1,0),(633,2,1277708400,3,'enrolments',1,0),(634,2,1277708400,5,'enrolments',2,0),(635,3,1277708400,3,'enrolments',1,0),(636,1,1277794800,3,'enrolments',1,0),(637,2,1277794800,3,'enrolments',1,0),(638,2,1277794800,5,'enrolments',2,0),(639,3,1277794800,3,'enrolments',1,0),(640,1,1277881200,3,'enrolments',1,0),(641,2,1277881200,3,'enrolments',1,0),(642,2,1277881200,5,'enrolments',2,0),(643,3,1277881200,3,'enrolments',1,0),(644,1,1277967600,3,'enrolments',1,0),(645,2,1277967600,3,'enrolments',1,0),(646,2,1277967600,5,'enrolments',2,0),(647,3,1277967600,3,'enrolments',1,0),(986,1,1285830000,3,'enrolments',1,0),(987,2,1285830000,3,'enrolments',1,0),(988,3,1285830000,3,'enrolments',1,0);

--
-- Table structure for table `mdl_stats_monthly`
--

CREATE TABLE `mdl_stats_monthly` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `timeend` bigint(10) unsigned NOT NULL default '0',
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `stattype` enum('enrolments','activity','logins') NOT NULL default 'activity',
  `stat1` bigint(10) unsigned NOT NULL default '0',
  `stat2` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_statmont_cou_ix` (`courseid`),
  KEY `mdl_statmont_tim_ix` (`timeend`),
  KEY `mdl_statmont_rol_ix` (`roleid`)
) ENGINE=MyISAM AUTO_INCREMENT=69 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_stats_monthly`
--

INSERT INTO `mdl_stats_monthly` VALUES (1,1,1264982400,0,'logins',8,2),(2,1,1264982400,0,'enrolments',2,2),(3,1,1264982400,0,'activity',15,2),(4,1,1264982400,1,'activity',14,2),(5,1,1264982400,6,'activity',1,0),(6,2,1264982400,0,'activity',12,3),(7,2,1264982400,1,'activity',12,3),(8,1,1267660800,0,'logins',10,1),(9,1,1267660800,0,'enrolments',2,1),(10,1,1267660800,3,'enrolments',1,1),(11,2,1267660800,0,'enrolments',1,1),(12,2,1267660800,3,'enrolments',1,1),(13,3,1267660800,0,'enrolments',1,1),(14,3,1267660800,3,'enrolments',1,1),(15,1,1267660800,0,'activity',54,2),(16,1,1267660800,1,'activity',54,2),(17,1,1267660800,3,'activity',29,1),(18,2,1267660800,0,'activity',142,21),(19,2,1267660800,1,'activity',142,21),(20,2,1267660800,3,'activity',64,12),(21,3,1267660800,0,'activity',21,1),(22,3,1267660800,1,'activity',21,1),(23,3,1267660800,3,'activity',10,0),(24,1,1270080000,0,'logins',18,4),(25,1,1270080000,0,'enrolments',5,2),(26,1,1270080000,3,'enrolments',1,1),(27,1,1270080000,5,'enrolments',1,1),(28,2,1270080000,0,'enrolments',3,2),(29,2,1270080000,3,'enrolments',1,1),(30,2,1270080000,5,'enrolments',2,1),(31,3,1270080000,0,'enrolments',2,1),(32,3,1270080000,3,'enrolments',1,1),(33,3,1270080000,5,'enrolments',1,0),(34,1,1270080000,0,'activity',61,6),(35,1,1270080000,1,'activity',49,5),(36,1,1270080000,3,'activity',49,5),(37,1,1270080000,5,'activity',6,1),(38,2,1270080000,0,'activity',141,43),(39,2,1270080000,1,'activity',125,38),(40,2,1270080000,3,'activity',125,38),(41,2,1270080000,5,'activity',16,5),(42,3,1270080000,0,'activity',5,1),(43,3,1270080000,1,'activity',5,1),(44,3,1270080000,3,'activity',5,1),(45,1,1272758400,0,'logins',0,0),(46,1,1272758400,3,'enrolments',1,0),(47,2,1272758400,3,'enrolments',1,0),(48,2,1272758400,5,'enrolments',2,0),(49,3,1272758400,3,'enrolments',1,0),(50,1,1275350400,0,'logins',0,0),(51,1,1275350400,3,'enrolments',1,0),(52,2,1275350400,3,'enrolments',1,0),(53,2,1275350400,5,'enrolments',2,0),(54,3,1275350400,3,'enrolments',1,0),(55,1,1278028800,0,'logins',0,0),(56,1,1278028800,3,'enrolments',1,0),(57,2,1278028800,3,'enrolments',1,0),(58,2,1278028800,5,'enrolments',2,0),(59,3,1278028800,3,'enrolments',1,0),(60,1,1280620800,0,'logins',0,0),(61,1,1280620800,3,'enrolments',1,0),(62,2,1280620800,3,'enrolments',1,0),(63,2,1280620800,5,'enrolments',2,0),(64,3,1280620800,3,'enrolments',1,0),(65,1,1283299200,0,'logins',0,0),(66,1,1283299200,3,'enrolments',1,0),(67,2,1283299200,3,'enrolments',1,0),(68,3,1283299200,3,'enrolments',1,0);

--
-- Table structure for table `mdl_stats_user_daily`
--

CREATE TABLE `mdl_stats_user_daily` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `timeend` bigint(10) unsigned NOT NULL default '0',
  `statsreads` bigint(10) unsigned NOT NULL default '0',
  `statswrites` bigint(10) unsigned NOT NULL default '0',
  `stattype` varchar(30) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_statuserdail_cou_ix` (`courseid`),
  KEY `mdl_statuserdail_use_ix` (`userid`),
  KEY `mdl_statuserdail_rol_ix` (`roleid`),
  KEY `mdl_statuserdail_tim_ix` (`timeend`)
) ENGINE=MyISAM AUTO_INCREMENT=106 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_stats_user_daily`
--

INSERT INTO `mdl_stats_user_daily` VALUES (105,1,0,0,1285743600,0,0,'activity'),(104,2,2,0,1285743600,4,0,'activity'),(103,3,2,0,1285743600,1,0,'activity'),(102,1,2,0,1285743600,1,0,'activity'),(101,1,2,0,1285743600,1,0,'logins'),(100,1,0,0,1285138800,0,0,'activity'),(99,1,1,0,1285138800,2,0,'activity'),(98,1,0,0,1285052400,0,0,'activity'),(97,1,1,0,1285052400,15,0,'activity'),(96,1,0,0,1284966000,0,0,'activity'),(95,1,1,0,1284966000,17,0,'activity'),(94,1,0,0,1284879600,0,0,'activity'),(93,1,1,0,1284879600,19,0,'activity'),(92,1,0,0,1284793200,0,0,'activity'),(91,1,1,0,1284793200,7,0,'activity'),(90,1,0,0,1284706800,0,0,'activity'),(89,1,1,0,1284706800,17,0,'activity'),(88,1,0,0,1284620400,0,0,'activity'),(87,1,1,0,1284620400,1,0,'activity');

--
-- Table structure for table `mdl_stats_user_monthly`
--

CREATE TABLE `mdl_stats_user_monthly` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `timeend` bigint(10) unsigned NOT NULL default '0',
  `statsreads` bigint(10) unsigned NOT NULL default '0',
  `statswrites` bigint(10) unsigned NOT NULL default '0',
  `stattype` varchar(30) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_statusermont_cou_ix` (`courseid`),
  KEY `mdl_statusermont_use_ix` (`userid`),
  KEY `mdl_statusermont_rol_ix` (`roleid`),
  KEY `mdl_statusermont_tim_ix` (`timeend`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_stats_user_monthly`
--

INSERT INTO `mdl_stats_user_monthly` VALUES (1,1,1,0,1264982400,1,0,'logins'),(2,1,2,0,1264982400,7,0,'logins'),(3,1,0,0,1264982400,0,0,'activity'),(4,1,1,0,1264982400,1,0,'activity'),(5,1,2,0,1264982400,14,2,'activity'),(6,2,2,0,1264982400,12,3,'activity'),(7,1,2,0,1267660800,10,0,'logins'),(8,0,2,0,1267660800,0,0,'activity'),(9,1,0,0,1267660800,0,0,'activity'),(10,1,2,0,1267660800,54,2,'activity'),(11,2,2,0,1267660800,142,21,'activity'),(12,3,2,0,1267660800,21,1,'activity'),(13,1,2,0,1270080000,12,0,'logins'),(14,1,3,0,1270080000,1,0,'logins'),(15,1,4,0,1270080000,1,0,'logins'),(16,1,5,0,1270080000,4,0,'logins'),(17,0,2,0,1270080000,0,0,'activity'),(18,1,0,0,1270080000,0,0,'activity'),(19,1,2,0,1270080000,49,5,'activity'),(20,1,3,0,1270080000,6,1,'activity'),(21,1,4,0,1270080000,1,0,'activity'),(22,1,5,0,1270080000,2,0,'activity'),(23,2,2,0,1270080000,125,38,'activity'),(24,2,3,0,1270080000,2,1,'activity'),(25,2,4,0,1270080000,3,0,'activity'),(26,2,5,0,1270080000,11,4,'activity'),(27,3,2,0,1270080000,5,1,'activity');

--
-- Table structure for table `mdl_stats_user_weekly`
--

CREATE TABLE `mdl_stats_user_weekly` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `timeend` bigint(10) unsigned NOT NULL default '0',
  `statsreads` bigint(10) unsigned NOT NULL default '0',
  `statswrites` bigint(10) unsigned NOT NULL default '0',
  `stattype` varchar(30) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_statuserweek_cou_ix` (`courseid`),
  KEY `mdl_statuserweek_use_ix` (`userid`),
  KEY `mdl_statuserweek_rol_ix` (`roleid`),
  KEY `mdl_statuserweek_tim_ix` (`timeend`)
) ENGINE=MyISAM AUTO_INCREMENT=51 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_stats_user_weekly`
--

INSERT INTO `mdl_stats_user_weekly` VALUES (1,1,1,0,1265007600,1,0,'logins'),(2,1,2,0,1265007600,7,0,'logins'),(3,1,0,0,1265007600,0,0,'activity'),(4,1,1,0,1265007600,1,0,'activity'),(5,1,2,0,1265007600,19,2,'activity'),(6,2,2,0,1265007600,16,3,'activity'),(7,1,2,0,1266217200,3,0,'logins'),(8,0,2,0,1266217200,0,0,'activity'),(9,1,0,0,1266217200,0,0,'activity'),(10,1,2,0,1266217200,8,1,'activity'),(11,2,2,0,1266217200,22,1,'activity'),(12,3,2,0,1266217200,11,1,'activity'),(13,1,2,0,1267426800,2,0,'logins'),(14,1,0,0,1267426800,0,0,'activity'),(15,1,2,0,1267426800,8,0,'activity'),(16,2,2,0,1267426800,39,0,'activity'),(17,1,2,0,1268031600,13,0,'logins'),(18,1,3,0,1268031600,1,0,'logins'),(19,1,4,0,1268031600,1,0,'logins'),(20,1,5,0,1268031600,2,0,'logins'),(21,0,2,0,1268031600,0,0,'activity'),(22,1,0,0,1268031600,0,0,'activity'),(23,1,2,0,1268031600,77,6,'activity'),(24,1,3,0,1268031600,6,1,'activity'),(25,1,4,0,1268031600,1,0,'activity'),(26,1,5,0,1268031600,1,0,'activity'),(27,2,2,0,1268031600,178,50,'activity'),(28,2,3,0,1268031600,2,1,'activity'),(29,2,4,0,1268031600,3,0,'activity'),(30,2,5,0,1268031600,3,0,'activity'),(31,3,2,0,1268031600,15,1,'activity'),(32,1,2,0,1268636400,1,0,'logins'),(33,1,0,0,1268636400,0,0,'activity'),(34,1,2,0,1268636400,1,0,'activity'),(35,2,2,0,1268636400,7,2,'activity'),(36,1,2,0,1269241200,2,0,'logins'),(37,1,5,0,1269241200,2,0,'logins'),(38,1,0,0,1269241200,0,0,'activity'),(39,1,2,0,1269241200,3,0,'activity'),(40,1,5,0,1269241200,1,0,'activity'),(41,2,2,0,1269241200,16,6,'activity'),(42,2,5,0,1269241200,8,4,'activity'),(43,1,2,0,1269846000,1,0,'logins'),(44,1,0,0,1269846000,0,0,'activity'),(45,1,2,0,1269846000,1,0,'activity'),(46,2,2,0,1269846000,1,0,'activity'),(47,1,0,0,1284966000,0,0,'activity'),(48,1,1,0,1284966000,61,0,'activity'),(49,1,0,0,1285570800,0,0,'activity'),(50,1,1,0,1285570800,17,0,'activity');

--
-- Table structure for table `mdl_stats_weekly`
--

CREATE TABLE `mdl_stats_weekly` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `timeend` bigint(10) unsigned NOT NULL default '0',
  `roleid` bigint(10) unsigned NOT NULL default '0',
  `stattype` enum('enrolments','activity','logins') NOT NULL default 'activity',
  `stat1` bigint(10) unsigned NOT NULL default '0',
  `stat2` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_statweek_cou_ix` (`courseid`),
  KEY `mdl_statweek_tim_ix` (`timeend`),
  KEY `mdl_statweek_rol_ix` (`roleid`)
) ENGINE=MyISAM AUTO_INCREMENT=218 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_stats_weekly`
--

INSERT INTO `mdl_stats_weekly` VALUES (1,1,1265007600,0,'logins',8,2),(2,1,1265007600,0,'enrolments',2,2),(3,1,1265007600,0,'activity',20,2),(4,1,1265007600,1,'activity',19,2),(5,1,1265007600,6,'activity',1,0),(6,2,1265007600,0,'activity',16,3),(7,2,1265007600,1,'activity',16,3),(8,1,1265612400,0,'logins',0,0),(9,1,1266217200,0,'logins',3,1),(10,1,1266217200,0,'enrolments',2,1),(11,1,1266217200,0,'activity',8,1),(12,1,1266217200,1,'activity',8,1),(13,2,1266217200,0,'activity',22,1),(14,2,1266217200,1,'activity',22,1),(15,3,1266217200,0,'activity',11,1),(16,3,1266217200,1,'activity',11,1),(17,1,1266822000,0,'logins',0,0),(18,1,1267426800,0,'logins',2,1),(19,1,1267426800,0,'enrolments',2,1),(20,1,1267426800,0,'activity',8,0),(21,1,1267426800,1,'activity',8,0),(22,2,1267426800,0,'activity',39,0),(23,2,1267426800,1,'activity',39,0),(24,1,1268031600,0,'logins',17,4),(25,1,1268031600,0,'enrolments',3,2),(26,1,1268031600,3,'enrolments',1,1),(27,1,1268031600,5,'enrolments',1,1),(28,2,1268031600,0,'enrolments',2,2),(29,2,1268031600,3,'enrolments',1,1),(30,2,1268031600,5,'enrolments',2,1),(31,3,1268031600,0,'enrolments',2,1),(32,3,1268031600,3,'enrolments',1,1),(33,3,1268031600,5,'enrolments',1,0),(34,1,1268031600,0,'activity',87,7),(35,1,1268031600,1,'activity',77,6),(36,1,1268031600,3,'activity',73,6),(37,1,1268031600,5,'activity',6,1),(38,2,1268031600,0,'activity',186,51),(39,2,1268031600,1,'activity',178,50),(40,2,1268031600,3,'activity',165,42),(41,2,1268031600,5,'activity',8,1),(42,3,1268031600,0,'activity',15,1),(43,3,1268031600,1,'activity',15,1),(44,3,1268031600,3,'activity',15,1),(45,1,1268636400,0,'logins',1,1),(46,1,1268636400,0,'enrolments',5,1),(47,1,1268636400,3,'enrolments',1,1),(48,2,1268636400,0,'enrolments',3,1),(49,2,1268636400,3,'enrolments',1,1),(50,2,1268636400,5,'enrolments',2,0),(51,3,1268636400,0,'enrolments',1,0),(52,3,1268636400,3,'enrolments',1,0),(53,1,1268636400,0,'activity',1,0),(54,1,1268636400,1,'activity',1,0),(55,1,1268636400,3,'activity',1,0),(56,2,1268636400,0,'activity',7,2),(57,2,1268636400,1,'activity',7,2),(58,2,1268636400,3,'activity',7,2),(59,1,1269241200,0,'logins',4,2),(60,1,1269241200,0,'enrolments',5,2),(61,1,1269241200,3,'enrolments',1,1),(62,2,1269241200,0,'enrolments',3,2),(63,2,1269241200,3,'enrolments',1,1),(64,2,1269241200,5,'enrolments',2,1),(65,3,1269241200,0,'enrolments',1,0),(66,3,1269241200,3,'enrolments',1,0),(67,1,1269241200,0,'activity',5,0),(68,1,1269241200,1,'activity',3,0),(69,1,1269241200,3,'activity',3,0),(70,2,1269241200,0,'activity',24,10),(71,2,1269241200,1,'activity',16,6),(72,2,1269241200,3,'activity',16,6),(73,2,1269241200,5,'activity',8,4),(74,1,1269846000,0,'logins',1,1),(75,1,1269846000,0,'enrolments',5,1),(76,1,1269846000,3,'enrolments',1,1),(77,2,1269846000,0,'enrolments',3,1),(78,2,1269846000,3,'enrolments',1,1),(79,2,1269846000,5,'enrolments',2,0),(80,3,1269846000,0,'enrolments',1,0),(81,3,1269846000,3,'enrolments',1,0),(82,1,1269846000,0,'activity',1,0),(83,1,1269846000,1,'activity',1,0),(84,1,1269846000,3,'activity',1,0),(85,2,1269846000,0,'activity',1,0),(86,2,1269846000,1,'activity',1,0),(87,2,1269846000,3,'activity',1,0),(88,1,1270450800,0,'logins',0,0),(89,1,1270450800,3,'enrolments',1,0),(90,2,1270450800,3,'enrolments',1,0),(91,2,1270450800,5,'enrolments',2,0),(92,3,1270450800,3,'enrolments',1,0),(93,1,1271055600,0,'logins',0,0),(94,1,1271055600,3,'enrolments',1,0),(95,2,1271055600,3,'enrolments',1,0),(96,2,1271055600,5,'enrolments',2,0),(97,3,1271055600,3,'enrolments',1,0),(98,1,1271660400,0,'logins',0,0),(99,1,1271660400,3,'enrolments',1,0),(100,2,1271660400,3,'enrolments',1,0),(101,2,1271660400,5,'enrolments',2,0),(102,3,1271660400,3,'enrolments',1,0),(103,1,1272265200,0,'logins',0,0),(104,1,1272265200,3,'enrolments',1,0),(105,2,1272265200,3,'enrolments',1,0),(106,2,1272265200,5,'enrolments',2,0),(107,3,1272265200,3,'enrolments',1,0),(108,1,1272870000,0,'logins',0,0),(109,1,1272870000,3,'enrolments',1,0),(110,2,1272870000,3,'enrolments',1,0),(111,2,1272870000,5,'enrolments',2,0),(112,3,1272870000,3,'enrolments',1,0),(113,1,1273474800,0,'logins',0,0),(114,1,1273474800,3,'enrolments',1,0),(115,2,1273474800,3,'enrolments',1,0),(116,2,1273474800,5,'enrolments',2,0),(117,3,1273474800,3,'enrolments',1,0),(118,1,1274079600,0,'logins',0,0),(119,1,1274079600,3,'enrolments',1,0),(120,2,1274079600,3,'enrolments',1,0),(121,2,1274079600,5,'enrolments',2,0),(122,3,1274079600,3,'enrolments',1,0),(123,1,1274684400,0,'logins',0,0),(124,1,1274684400,3,'enrolments',1,0),(125,2,1274684400,3,'enrolments',1,0),(126,2,1274684400,5,'enrolments',2,0),(127,3,1274684400,3,'enrolments',1,0),(128,1,1275289200,0,'logins',0,0),(129,1,1275289200,3,'enrolments',1,0),(130,2,1275289200,3,'enrolments',1,0),(131,2,1275289200,5,'enrolments',2,0),(132,3,1275289200,3,'enrolments',1,0),(133,1,1275894000,0,'logins',0,0),(134,1,1275894000,3,'enrolments',1,0),(135,2,1275894000,3,'enrolments',1,0),(136,2,1275894000,5,'enrolments',2,0),(137,3,1275894000,3,'enrolments',1,0),(138,1,1276498800,0,'logins',0,0),(139,1,1276498800,3,'enrolments',1,0),(140,2,1276498800,3,'enrolments',1,0),(141,2,1276498800,5,'enrolments',2,0),(142,3,1276498800,3,'enrolments',1,0),(143,1,1277103600,0,'logins',0,0),(144,1,1277103600,3,'enrolments',1,0),(145,2,1277103600,3,'enrolments',1,0),(146,2,1277103600,5,'enrolments',2,0),(147,3,1277103600,3,'enrolments',1,0),(148,1,1277708400,0,'logins',0,0),(149,1,1277708400,3,'enrolments',1,0),(150,2,1277708400,3,'enrolments',1,0),(151,2,1277708400,5,'enrolments',2,0),(152,3,1277708400,3,'enrolments',1,0),(153,1,1278313200,0,'logins',0,0),(154,1,1278313200,3,'enrolments',1,0),(155,2,1278313200,3,'enrolments',1,0),(156,2,1278313200,5,'enrolments',2,0),(157,3,1278313200,3,'enrolments',1,0),(158,1,1278918000,0,'logins',0,0),(159,1,1278918000,3,'enrolments',1,0),(160,2,1278918000,3,'enrolments',1,0),(161,2,1278918000,5,'enrolments',1,0),(162,3,1278918000,3,'enrolments',1,0),(163,1,1279522800,0,'logins',0,0),(164,1,1279522800,3,'enrolments',1,0),(165,2,1279522800,3,'enrolments',1,0),(166,2,1279522800,5,'enrolments',1,0),(167,3,1279522800,3,'enrolments',1,0),(168,1,1280127600,0,'logins',0,0),(169,1,1280127600,3,'enrolments',1,0),(170,2,1280127600,3,'enrolments',1,0),(171,3,1280127600,3,'enrolments',1,0),(172,1,1280732400,0,'logins',0,0),(173,1,1280732400,3,'enrolments',1,0),(174,2,1280732400,3,'enrolments',1,0),(175,3,1280732400,3,'enrolments',1,0),(176,1,1281337200,0,'logins',0,0),(177,1,1281337200,3,'enrolments',1,0),(178,2,1281337200,3,'enrolments',1,0),(179,3,1281337200,3,'enrolments',1,0),(180,1,1281942000,0,'logins',0,0),(181,1,1281942000,3,'enrolments',1,0),(182,2,1281942000,3,'enrolments',1,0),(183,3,1281942000,3,'enrolments',1,0),(184,1,1282546800,0,'logins',0,0),(185,1,1282546800,3,'enrolments',1,0),(186,2,1282546800,3,'enrolments',1,0),(187,3,1282546800,3,'enrolments',1,0),(188,1,1283151600,0,'logins',0,0),(189,1,1283151600,3,'enrolments',1,0),(190,2,1283151600,3,'enrolments',1,0),(191,3,1283151600,3,'enrolments',1,0),(192,1,1283756400,0,'logins',0,0),(193,1,1283756400,3,'enrolments',1,0),(194,2,1283756400,3,'enrolments',1,0),(195,3,1283756400,3,'enrolments',1,0),(196,1,1284361200,0,'logins',0,0),(197,1,1284361200,3,'enrolments',1,0),(198,2,1284361200,3,'enrolments',1,0),(199,3,1284361200,3,'enrolments',1,0),(200,1,1284966000,0,'logins',0,0),(201,1,1284966000,0,'enrolments',5,1),(202,1,1284966000,3,'enrolments',1,0),(203,2,1284966000,0,'enrolments',1,0),(204,2,1284966000,3,'enrolments',1,0),(205,3,1284966000,0,'enrolments',1,0),(206,3,1284966000,3,'enrolments',1,0),(207,1,1284966000,0,'activity',61,0),(208,1,1284966000,6,'activity',61,0),(209,1,1285570800,0,'logins',0,0),(210,1,1285570800,0,'enrolments',5,1),(211,1,1285570800,3,'enrolments',1,0),(212,2,1285570800,0,'enrolments',1,0),(213,2,1285570800,3,'enrolments',1,0),(214,3,1285570800,0,'enrolments',1,0),(215,3,1285570800,3,'enrolments',1,0),(216,1,1285570800,0,'activity',17,0),(217,1,1285570800,6,'activity',17,0);

--
-- Table structure for table `mdl_survey`
--

CREATE TABLE `mdl_survey` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `template` bigint(10) unsigned NOT NULL default '0',
  `days` mediumint(6) NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `intro` text NOT NULL,
  `questions` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_surv_cou_ix` (`course`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_survey`
--

INSERT INTO `mdl_survey` VALUES (1,0,0,0,985017600,985017600,'collesaname','collesaintro','25,26,27,28,29,30,43,44'),(2,0,0,0,985017600,985017600,'collespname','collespintro','31,32,33,34,35,36,43,44'),(3,0,0,0,985017600,985017600,'collesapname','collesapintro','37,38,39,40,41,42,43,44'),(4,0,0,0,985017600,985017600,'attlsname','attlsintro','65,67,68'),(5,0,0,0,985017600,985017600,'ciqname','ciqintro','69,70,71,72,73');

--
-- Table structure for table `mdl_survey_analysis`
--

CREATE TABLE `mdl_survey_analysis` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `survey` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `notes` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_survanal_use_ix` (`userid`),
  KEY `mdl_survanal_sur_ix` (`survey`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_survey_analysis`
--


--
-- Table structure for table `mdl_survey_answers`
--

CREATE TABLE `mdl_survey_answers` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `survey` bigint(10) unsigned NOT NULL default '0',
  `question` bigint(10) unsigned NOT NULL default '0',
  `time` bigint(10) unsigned NOT NULL default '0',
  `answer1` text NOT NULL,
  `answer2` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_survansw_use_ix` (`userid`),
  KEY `mdl_survansw_sur_ix` (`survey`),
  KEY `mdl_survansw_que_ix` (`question`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_survey_answers`
--


--
-- Table structure for table `mdl_survey_questions`
--

CREATE TABLE `mdl_survey_questions` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `text` varchar(255) NOT NULL default '',
  `shorttext` varchar(30) NOT NULL default '',
  `multi` varchar(100) NOT NULL default '',
  `intro` varchar(50) NOT NULL default '',
  `type` smallint(3) NOT NULL default '0',
  `options` text,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=74 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_survey_questions`
--

INSERT INTO `mdl_survey_questions` VALUES (1,'colles1','colles1short','','',1,'scaletimes5'),(2,'colles2','colles2short','','',1,'scaletimes5'),(3,'colles3','colles3short','','',1,'scaletimes5'),(4,'colles4','colles4short','','',1,'scaletimes5'),(5,'colles5','colles5short','','',1,'scaletimes5'),(6,'colles6','colles6short','','',1,'scaletimes5'),(7,'colles7','colles7short','','',1,'scaletimes5'),(8,'colles8','colles8short','','',1,'scaletimes5'),(9,'colles9','colles9short','','',1,'scaletimes5'),(10,'colles10','colles10short','','',1,'scaletimes5'),(11,'colles11','colles11short','','',1,'scaletimes5'),(12,'colles12','colles12short','','',1,'scaletimes5'),(13,'colles13','colles13short','','',1,'scaletimes5'),(14,'colles14','colles14short','','',1,'scaletimes5'),(15,'colles15','colles15short','','',1,'scaletimes5'),(16,'colles16','colles16short','','',1,'scaletimes5'),(17,'colles17','colles17short','','',1,'scaletimes5'),(18,'colles18','colles18short','','',1,'scaletimes5'),(19,'colles19','colles19short','','',1,'scaletimes5'),(20,'colles20','colles20short','','',1,'scaletimes5'),(21,'colles21','colles21short','','',1,'scaletimes5'),(22,'colles22','colles22short','','',1,'scaletimes5'),(23,'colles23','colles23short','','',1,'scaletimes5'),(24,'colles24','colles24short','','',1,'scaletimes5'),(25,'collesm1','collesm1short','1,2,3,4','collesmintro',1,'scaletimes5'),(26,'collesm2','collesm2short','5,6,7,8','collesmintro',1,'scaletimes5'),(27,'collesm3','collesm3short','9,10,11,12','collesmintro',1,'scaletimes5'),(28,'collesm4','collesm4short','13,14,15,16','collesmintro',1,'scaletimes5'),(29,'collesm5','collesm5short','17,18,19,20','collesmintro',1,'scaletimes5'),(30,'collesm6','collesm6short','21,22,23,24','collesmintro',1,'scaletimes5'),(31,'collesm1','collesm1short','1,2,3,4','collesmintro',2,'scaletimes5'),(32,'collesm2','collesm2short','5,6,7,8','collesmintro',2,'scaletimes5'),(33,'collesm3','collesm3short','9,10,11,12','collesmintro',2,'scaletimes5'),(34,'collesm4','collesm4short','13,14,15,16','collesmintro',2,'scaletimes5'),(35,'collesm5','collesm5short','17,18,19,20','collesmintro',2,'scaletimes5'),(36,'collesm6','collesm6short','21,22,23,24','collesmintro',2,'scaletimes5'),(37,'collesm1','collesm1short','1,2,3,4','collesmintro',3,'scaletimes5'),(38,'collesm2','collesm2short','5,6,7,8','collesmintro',3,'scaletimes5'),(39,'collesm3','collesm3short','9,10,11,12','collesmintro',3,'scaletimes5'),(40,'collesm4','collesm4short','13,14,15,16','collesmintro',3,'scaletimes5'),(41,'collesm5','collesm5short','17,18,19,20','collesmintro',3,'scaletimes5'),(42,'collesm6','collesm6short','21,22,23,24','collesmintro',3,'scaletimes5'),(43,'howlong','','','',1,'howlongoptions'),(44,'othercomments','','','',0,NULL),(45,'attls1','attls1short','','',1,'scaleagree5'),(46,'attls2','attls2short','','',1,'scaleagree5'),(47,'attls3','attls3short','','',1,'scaleagree5'),(48,'attls4','attls4short','','',1,'scaleagree5'),(49,'attls5','attls5short','','',1,'scaleagree5'),(50,'attls6','attls6short','','',1,'scaleagree5'),(51,'attls7','attls7short','','',1,'scaleagree5'),(52,'attls8','attls8short','','',1,'scaleagree5'),(53,'attls9','attls9short','','',1,'scaleagree5'),(54,'attls10','attls10short','','',1,'scaleagree5'),(55,'attls11','attls11short','','',1,'scaleagree5'),(56,'attls12','attls12short','','',1,'scaleagree5'),(57,'attls13','attls13short','','',1,'scaleagree5'),(58,'attls14','attls14short','','',1,'scaleagree5'),(59,'attls15','attls15short','','',1,'scaleagree5'),(60,'attls16','attls16short','','',1,'scaleagree5'),(61,'attls17','attls17short','','',1,'scaleagree5'),(62,'attls18','attls18short','','',1,'scaleagree5'),(63,'attls19','attls19short','','',1,'scaleagree5'),(64,'attls20','attls20short','','',1,'scaleagree5'),(65,'attlsm1','attlsm1','45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64','attlsmintro',1,'scaleagree5'),(66,'-','-','-','-',0,'-'),(67,'attlsm2','attlsm2','63,62,59,57,55,49,52,50,48,47','attlsmintro',-1,'scaleagree5'),(68,'attlsm3','attlsm3','46,54,45,51,60,53,56,58,61,64','attlsmintro',-1,'scaleagree5'),(69,'ciq1','ciq1short','','',0,NULL),(70,'ciq2','ciq2short','','',0,NULL),(71,'ciq3','ciq3short','','',0,NULL),(72,'ciq4','ciq4short','','',0,NULL),(73,'ciq5','ciq5short','','',0,NULL);

--
-- Table structure for table `mdl_tag`
--

CREATE TABLE `mdl_tag` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL,
  `name` varchar(255) NOT NULL default '',
  `rawname` varchar(255) NOT NULL default '',
  `tagtype` varchar(255) default NULL,
  `description` text,
  `descriptionformat` tinyint(2) unsigned NOT NULL default '0',
  `flag` smallint(4) unsigned default '0',
  `timemodified` bigint(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_tag_nam_uix` (`name`),
  KEY `mdl_tag_use_ix` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_tag`
--


--
-- Table structure for table `mdl_tag_correlation`
--

CREATE TABLE `mdl_tag_correlation` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `tagid` bigint(10) unsigned NOT NULL,
  `correlatedtags` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_tagcorr_tag_ix` (`tagid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_tag_correlation`
--


--
-- Table structure for table `mdl_tag_instance`
--

CREATE TABLE `mdl_tag_instance` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `tagid` bigint(10) unsigned NOT NULL,
  `itemtype` varchar(255) NOT NULL default '',
  `itemid` bigint(10) unsigned NOT NULL,
  `ordering` bigint(10) unsigned default NULL,
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_taginst_iteitetag_uix` (`itemtype`,`itemid`,`tagid`),
  KEY `mdl_taginst_tag_ix` (`tagid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_tag_instance`
--


--
-- Table structure for table `mdl_timezone`
--

CREATE TABLE `mdl_timezone` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(100) NOT NULL default '',
  `year` bigint(11) NOT NULL default '0',
  `tzrule` varchar(20) NOT NULL default '',
  `gmtoff` bigint(11) NOT NULL default '0',
  `dstoff` bigint(11) NOT NULL default '0',
  `dst_month` tinyint(2) NOT NULL default '0',
  `dst_startday` smallint(3) NOT NULL default '0',
  `dst_weekday` smallint(3) NOT NULL default '0',
  `dst_skipweeks` smallint(3) NOT NULL default '0',
  `dst_time` varchar(6) NOT NULL default '00:00',
  `std_month` tinyint(2) NOT NULL default '0',
  `std_startday` smallint(3) NOT NULL default '0',
  `std_weekday` smallint(3) NOT NULL default '0',
  `std_skipweeks` smallint(3) NOT NULL default '0',
  `std_time` varchar(6) NOT NULL default '00:00',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_timezone`
--


--
-- Table structure for table `mdl_user_info_category`
--

CREATE TABLE `mdl_user_info_category` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `sortorder` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_user_info_category`
--

INSERT INTO `mdl_user_info_category` VALUES (1,'Other fields',1);

--
-- Table structure for table `mdl_user_info_data`
--

CREATE TABLE `mdl_user_info_data` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `fieldid` bigint(10) unsigned NOT NULL default '0',
  `data` longtext NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_user_info_data`
--


--
-- Table structure for table `mdl_user_info_field`
--

CREATE TABLE `mdl_user_info_field` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `shortname` varchar(255) NOT NULL default 'shortname',
  `name` longtext NOT NULL,
  `datatype` varchar(255) NOT NULL default '',
  `description` longtext,
  `categoryid` bigint(10) unsigned NOT NULL default '0',
  `sortorder` bigint(10) unsigned NOT NULL default '0',
  `required` tinyint(2) unsigned NOT NULL default '0',
  `locked` tinyint(2) unsigned NOT NULL default '0',
  `visible` smallint(4) unsigned NOT NULL default '0',
  `forceunique` tinyint(2) unsigned NOT NULL default '0',
  `signup` tinyint(2) unsigned NOT NULL default '0',
  `defaultdata` longtext,
  `param1` longtext,
  `param2` longtext,
  `param3` longtext,
  `param4` longtext,
  `param5` longtext,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_user_info_field`
--


--
-- Table structure for table `mdl_user_lastaccess`
--

CREATE TABLE `mdl_user_lastaccess` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `courseid` bigint(10) unsigned NOT NULL default '0',
  `timeaccess` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_userlast_usecou_uix` (`userid`,`courseid`),
  KEY `mdl_userlast_use_ix` (`userid`),
  KEY `mdl_userlast_cou_ix` (`courseid`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_user_lastaccess`
--

INSERT INTO `mdl_user_lastaccess` VALUES (1,2,2,1285736843),(6,2,3,1285724046);

--
-- Table structure for table `mdl_user_preferences`
--

CREATE TABLE `mdl_user_preferences` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `userid` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(50) NOT NULL default '',
  `value` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_userpref_usenam_uix` (`userid`,`name`)
) ENGINE=MyISAM AUTO_INCREMENT=45 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_user_preferences`
--

INSERT INTO `mdl_user_preferences` VALUES (7,2,'auth_forcepasswordchange','0'),(2,2,'email_bounce_count','0'),(3,2,'email_send_count','38'),(4,2,'blogpagesize','10'),(5,2,'lesson_view','collapsed'),(6,2,'user_editadvanced_form_showadvanced','1'),(8,2,'hotpot_timeopen','0'),(9,2,'hotpot_timeclose','0'),(10,2,'hotpot_navigation','1'),(11,2,'hotpot_outputformat','1'),(12,2,'hotpot_studentfeedback','0'),(13,2,'hotpot_studentfeedbackurl',''),(14,2,'hotpot_forceplugins','0'),(15,2,'hotpot_shownextquiz','0'),(16,2,'hotpot_review','1'),(17,2,'hotpot_grade','100'),(18,2,'hotpot_grademethod','1'),(19,2,'hotpot_attempts','0'),(20,2,'hotpot_subnet',''),(21,2,'hotpot_displaynext','0'),(22,2,'hotpot_quizchain','0'),(23,2,'hotpot_namesource','3'),(24,2,'hotpot_summarysource','0'),(28,4,'auth_forcepasswordchange','0'),(26,3,'email_bounce_count','1'),(27,3,'email_send_count','2'),(29,4,'email_bounce_count','1'),(30,4,'email_send_count','2'),(37,2,'grade_report_grader_collapsed_categories','a:2:{s:14:\"aggregatesonly\";a:0:{}s:10:\"gradesonly\";a:1:{i:0;s:1:\"1\";}}'),(32,5,'email_bounce_count','1'),(33,5,'email_send_count','4'),(34,6,'auth_forcepasswordchange','1'),(35,6,'email_bounce_count','1'),(36,6,'email_send_count','11'),(38,2,'hotpot_mode','overview'),(39,2,'hotpot_reportusers','allusers'),(40,2,'hotpot_reportattempts','all'),(41,2,'hotpot_reportformat','htm'),(42,2,'hotpot_reportshowlegend','0'),(43,2,'hotpot_reportencoding',''),(44,2,'hotpot_reportwrapdata','1');

--
-- Table structure for table `mdl_user_private_key`
--

CREATE TABLE `mdl_user_private_key` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `script` varchar(128) NOT NULL default '',
  `value` varchar(128) NOT NULL default '',
  `userid` bigint(10) unsigned NOT NULL,
  `instance` bigint(10) unsigned default NULL,
  `iprestriction` varchar(255) default NULL,
  `validuntil` bigint(10) unsigned default NULL,
  `timecreated` bigint(10) unsigned default NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_userprivkey_scrval_ix` (`script`,`value`),
  KEY `mdl_userprivkey_use_ix` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_user_private_key`
--


--
-- Table structure for table `mdl_webdav_locks`
--

CREATE TABLE `mdl_webdav_locks` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `token` varchar(255) NOT NULL default '',
  `path` varchar(255) NOT NULL default '',
  `expiry` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `recursive` tinyint(1) unsigned NOT NULL default '0',
  `exclusivelock` tinyint(1) unsigned NOT NULL default '0',
  `created` bigint(10) unsigned NOT NULL default '0',
  `modified` bigint(10) unsigned NOT NULL default '0',
  `owner` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_webdlock_tok_uix` (`token`),
  KEY `mdl_webdlock_pat_ix` (`path`),
  KEY `mdl_webdlock_exp_ix` (`expiry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_webdav_locks`
--


--
-- Table structure for table `mdl_wiki`
--

CREATE TABLE `mdl_wiki` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `summary` text NOT NULL,
  `pagename` varchar(255) NOT NULL default '',
  `wtype` enum('teacher','group','student') NOT NULL default 'group',
  `ewikiprinttitle` smallint(4) unsigned NOT NULL default '1',
  `htmlmode` smallint(4) unsigned NOT NULL default '0',
  `ewikiacceptbinary` smallint(4) unsigned NOT NULL default '0',
  `disablecamelcase` smallint(4) unsigned NOT NULL default '0',
  `setpageflags` smallint(4) unsigned NOT NULL default '1',
  `strippages` smallint(4) unsigned NOT NULL default '1',
  `removepages` smallint(4) unsigned NOT NULL default '1',
  `revertchanges` smallint(4) unsigned NOT NULL default '1',
  `initialcontent` varchar(255) NOT NULL default '',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_wiki_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_wiki`
--


--
-- Table structure for table `mdl_wiki_entries`
--

CREATE TABLE `mdl_wiki_entries` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `wikiid` bigint(10) unsigned NOT NULL default '0',
  `course` bigint(10) unsigned NOT NULL default '0',
  `groupid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `pagename` varchar(255) NOT NULL default '',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_wikientr_cou_ix` (`course`),
  KEY `mdl_wikientr_gro_ix` (`groupid`),
  KEY `mdl_wikientr_use_ix` (`userid`),
  KEY `mdl_wikientr_pag_ix` (`pagename`),
  KEY `mdl_wikientr_wik_ix` (`wikiid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_wiki_entries`
--


--
-- Table structure for table `mdl_wiki_locks`
--

CREATE TABLE `mdl_wiki_locks` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `wikiid` bigint(10) unsigned NOT NULL,
  `pagename` varchar(160) NOT NULL default '',
  `lockedby` bigint(10) unsigned NOT NULL default '0',
  `lockedsince` bigint(10) unsigned NOT NULL default '0',
  `lockedseen` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_wikilock_wikpag_uix` (`wikiid`,`pagename`),
  KEY `mdl_wikilock_loc_ix` (`lockedseen`),
  KEY `mdl_wikilock_wik_ix` (`wikiid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_wiki_locks`
--


--
-- Table structure for table `mdl_wiki_pages`
--

CREATE TABLE `mdl_wiki_pages` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `pagename` varchar(160) NOT NULL default '',
  `version` bigint(10) unsigned NOT NULL default '0',
  `flags` bigint(10) unsigned default '0',
  `content` mediumtext,
  `author` varchar(100) default 'ewiki',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `created` bigint(10) unsigned default '0',
  `lastmodified` bigint(10) unsigned default '0',
  `refs` mediumtext,
  `meta` mediumtext,
  `hits` bigint(10) unsigned default '0',
  `wiki` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  UNIQUE KEY `mdl_wikipage_pagverwik_uix` (`pagename`,`version`,`wiki`),
  KEY `mdl_wikipage_wik_ix` (`wiki`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_wiki_pages`
--


--
-- Table structure for table `mdl_workshop`
--

CREATE TABLE `mdl_workshop` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `course` bigint(10) unsigned NOT NULL default '0',
  `name` varchar(255) NOT NULL default '',
  `description` text NOT NULL,
  `wtype` smallint(3) unsigned NOT NULL default '0',
  `nelements` smallint(3) unsigned NOT NULL default '1',
  `nattachments` smallint(3) unsigned NOT NULL default '0',
  `phase` tinyint(2) unsigned NOT NULL default '0',
  `format` tinyint(2) unsigned NOT NULL default '0',
  `gradingstrategy` tinyint(2) unsigned NOT NULL default '1',
  `resubmit` tinyint(2) unsigned NOT NULL default '0',
  `agreeassessments` tinyint(2) unsigned NOT NULL default '0',
  `hidegrades` tinyint(2) unsigned NOT NULL default '0',
  `anonymous` tinyint(2) unsigned NOT NULL default '0',
  `includeself` tinyint(2) unsigned NOT NULL default '0',
  `maxbytes` bigint(10) unsigned NOT NULL default '100000',
  `submissionstart` bigint(10) unsigned NOT NULL default '0',
  `assessmentstart` bigint(10) unsigned NOT NULL default '0',
  `submissionend` bigint(10) unsigned NOT NULL default '0',
  `assessmentend` bigint(10) unsigned NOT NULL default '0',
  `releasegrades` bigint(10) unsigned NOT NULL default '0',
  `grade` smallint(3) NOT NULL default '0',
  `gradinggrade` smallint(3) NOT NULL default '0',
  `ntassessments` smallint(3) unsigned NOT NULL default '0',
  `assessmentcomps` smallint(3) unsigned NOT NULL default '2',
  `nsassessments` smallint(3) unsigned NOT NULL default '0',
  `overallocation` smallint(3) unsigned NOT NULL default '0',
  `timemodified` bigint(10) unsigned NOT NULL default '0',
  `teacherweight` smallint(3) unsigned NOT NULL default '1',
  `showleaguetable` smallint(3) unsigned NOT NULL default '0',
  `usepassword` smallint(3) unsigned NOT NULL default '0',
  `password` varchar(32) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `mdl_work_cou_ix` (`course`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_workshop`
--


--
-- Table structure for table `mdl_workshop_assessments`
--

CREATE TABLE `mdl_workshop_assessments` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `workshopid` bigint(10) unsigned NOT NULL default '0',
  `submissionid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `timegraded` bigint(10) unsigned NOT NULL default '0',
  `timeagreed` bigint(10) unsigned NOT NULL default '0',
  `grade` double NOT NULL default '0',
  `gradinggrade` smallint(3) NOT NULL default '0',
  `teachergraded` smallint(3) unsigned NOT NULL default '0',
  `mailed` smallint(3) unsigned NOT NULL default '0',
  `resubmission` smallint(3) unsigned NOT NULL default '0',
  `donotuse` smallint(3) unsigned NOT NULL default '0',
  `generalcomment` text NOT NULL,
  `teachercomment` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_workasse_use_ix` (`userid`),
  KEY `mdl_workasse_mai_ix` (`mailed`),
  KEY `mdl_workasse_wor_ix` (`workshopid`),
  KEY `mdl_workasse_sub_ix` (`submissionid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_workshop_assessments`
--


--
-- Table structure for table `mdl_workshop_comments`
--

CREATE TABLE `mdl_workshop_comments` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `workshopid` bigint(10) unsigned NOT NULL default '0',
  `assessmentid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `mailed` tinyint(2) unsigned NOT NULL default '0',
  `comments` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_workcomm_use_ix` (`userid`),
  KEY `mdl_workcomm_mai_ix` (`mailed`),
  KEY `mdl_workcomm_wor_ix` (`workshopid`),
  KEY `mdl_workcomm_ass_ix` (`assessmentid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_workshop_comments`
--


--
-- Table structure for table `mdl_workshop_elements`
--

CREATE TABLE `mdl_workshop_elements` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `workshopid` bigint(10) unsigned NOT NULL default '0',
  `elementno` smallint(3) unsigned NOT NULL default '0',
  `description` text NOT NULL,
  `scale` smallint(3) unsigned NOT NULL default '0',
  `maxscore` smallint(3) unsigned NOT NULL default '1',
  `weight` smallint(3) unsigned NOT NULL default '11',
  `stddev` double NOT NULL default '0',
  `totalassessments` bigint(10) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_workelem_wor_ix` (`workshopid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_workshop_elements`
--


--
-- Table structure for table `mdl_workshop_grades`
--

CREATE TABLE `mdl_workshop_grades` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `workshopid` bigint(10) unsigned NOT NULL default '0',
  `assessmentid` bigint(10) unsigned NOT NULL default '0',
  `elementno` bigint(10) unsigned NOT NULL default '0',
  `feedback` text NOT NULL,
  `grade` smallint(3) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_workgrad_wor_ix` (`workshopid`),
  KEY `mdl_workgrad_ass_ix` (`assessmentid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_workshop_grades`
--


--
-- Table structure for table `mdl_workshop_rubrics`
--

CREATE TABLE `mdl_workshop_rubrics` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `workshopid` bigint(10) unsigned NOT NULL default '0',
  `elementno` bigint(10) unsigned NOT NULL default '0',
  `rubricno` smallint(3) unsigned NOT NULL default '0',
  `description` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_workrubr_wor_ix` (`workshopid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_workshop_rubrics`
--


--
-- Table structure for table `mdl_workshop_stockcomments`
--

CREATE TABLE `mdl_workshop_stockcomments` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `workshopid` bigint(10) unsigned NOT NULL default '0',
  `elementno` bigint(10) unsigned NOT NULL default '0',
  `comments` text NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `mdl_workstoc_wor_ix` (`workshopid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_workshop_stockcomments`
--


--
-- Table structure for table `mdl_workshop_submissions`
--

CREATE TABLE `mdl_workshop_submissions` (
  `id` bigint(10) unsigned NOT NULL auto_increment,
  `workshopid` bigint(10) unsigned NOT NULL default '0',
  `userid` bigint(10) unsigned NOT NULL default '0',
  `title` varchar(100) NOT NULL default '',
  `timecreated` bigint(10) unsigned NOT NULL default '0',
  `mailed` tinyint(2) unsigned NOT NULL default '0',
  `description` text NOT NULL,
  `gradinggrade` smallint(3) unsigned NOT NULL default '0',
  `finalgrade` smallint(3) unsigned NOT NULL default '0',
  `late` smallint(3) unsigned NOT NULL default '0',
  `nassessments` bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `mdl_worksubm_use_ix` (`userid`),
  KEY `mdl_worksubm_mai_ix` (`mailed`),
  KEY `mdl_worksubm_wor_ix` (`workshopid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mdl_workshop_submissions`
--



