--
-- Host: localhost    Database: kosjrunyon
-- ------------------------------------------------------


--
-- Table structure for table `apps`
--

CREATE TABLE `apps` (
  `aid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `appname` varchar(100) NOT NULL,
  `classname` varchar(100) NOT NULL,
  `parent` int(10) unsigned NOT NULL,
  `filename` varchar(100) NOT NULL,
  `access` enum('user','operator','manager') NOT NULL DEFAULT 'user',
  `active` tinyint(1) DEFAULT '1',
  PRIMARY KEY (`aid`),
  UNIQUE KEY `appname` (`appname`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `apps`
--

INSERT INTO `apps` VALUES (1,'App Zone','App_Zone',2,'default/appzone.php','manager',0),(2,'User Manager','User_Manager',2,'default/users.php','operator',1),(3,'App Settings','App_Settings_Manager',2,'default/appsetup.php','operator',0);

--
-- Table structure for table `categories`
--

CREATE TABLE `categories` (
  `cid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `catname` varchar(100) NOT NULL,
  PRIMARY KEY (`cid`),
  UNIQUE KEY `catname` (`catname`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `categories`
--

INSERT INTO `categories` VALUES (1,'System'),(2,'Administration');

--
-- Table structure for table `session_apps`
--

CREATE TABLE `session_apps` (
  `iid` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `sid` int(10) unsigned NOT NULL,
  `aid` int(11) NOT NULL,
  `corename` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`iid`)
) ENGINE=MyISAM AUTO_INCREMENT=29 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `session_apps`
--

INSERT INTO `session_apps` VALUES (1,2,4,NULL),(2,3,4,NULL),(3,6,0,NULL),(4,6,0,NULL),(5,6,0,NULL),(6,6,0,NULL),(7,6,0,NULL),(8,6,0,NULL),(9,7,0,NULL),(10,7,0,NULL),(11,7,4,NULL),(12,8,0,NULL),(13,11,0,NULL),(14,12,0,NULL),(15,14,2,NULL),(16,15,0,NULL),(17,16,-1,'credits'),(18,17,-1,'credits'),(19,18,-1,'credits'),(20,18,-1,'credits'),(21,19,-1,'credits'),(22,20,2,NULL),(23,21,2,NULL),(24,22,2,NULL),(25,23,2,NULL),(26,24,2,NULL),(27,25,2,NULL),(28,26,2,NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `sid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL,
  `started` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `last` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `lockip` text NOT NULL,
  PRIMARY KEY (`sid`)
) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` VALUES (1,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(2,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(3,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(4,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(5,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(6,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(7,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(8,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(9,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(10,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(11,2,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(12,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(13,2,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(14,2,'0000-00-00 00:00:00','0000-00-00 00:00:00','85.157.91.21'),(15,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(16,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(17,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(18,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(19,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(20,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(21,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(22,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(23,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(24,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(25,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133'),(26,1,'0000-00-00 00:00:00','0000-00-00 00:00:00','67.79.10.133');


