--
-- Host: localhost    Database: cruisecr_pagepeel
-- ------------------------------------------------------


--
-- Current Database: `cruisecr_pagepeel`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `cruisecr_pagepeel` /*!40100 DEFAULT CHARACTER SET latin1 */;

USE `cruisecr_pagepeel`;

--
-- Table structure for table `pageear_campaign`
--

CREATE TABLE `pageear_campaign` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL DEFAULT '',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pageear_campaign`
--

INSERT INTO `pageear_campaign` VALUES (3,'Lapel Pins',1);

--
-- Table structure for table `pageear_config`
--

CREATE TABLE `pageear_config` (
  `id` tinyint(2) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `value` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uname` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=126 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pageear_config`
--

INSERT INTO `pageear_config` VALUES (1,'size_small','150'),(2,'size_big','500'),(3,'size_variable','0'),(4,'keep_sourceimg','1'),(5,'peel_range','32'),(6,'peel_shadow','60'),(7,'video_buffer','1');

--
-- Table structure for table `pageear_customer`
--

CREATE TABLE `pageear_customer` (
  `id` int(11) NOT NULL DEFAULT '0',
  `name` varchar(50) NOT NULL DEFAULT '',
  `status` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pageear_customer`
--


--
-- Table structure for table `pageear_group`
--

CREATE TABLE `pageear_group` (
  `id` tinyint(2) NOT NULL AUTO_INCREMENT,
  `name` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pageear_group`
--

INSERT INTO `pageear_group` VALUES (1,'administrator'),(2,'customer');

--
-- Table structure for table `pageear_list`
--

CREATE TABLE `pageear_list` (
  `id` tinyint(2) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `file_small` varchar(38) NOT NULL DEFAULT '',
  `file_big` varchar(38) NOT NULL DEFAULT '',
  `file_thumb` varchar(38) NOT NULL DEFAULT '',
  `size_small` mediumint(3) NOT NULL DEFAULT '100',
  `size_big` mediumint(4) NOT NULL DEFAULT '500',
  `cropbig` tinyint(1) NOT NULL DEFAULT '1',
  `speed` tinyint(1) NOT NULL DEFAULT '0',
  `mirror` tinyint(1) NOT NULL DEFAULT '1',
  `color` varchar(6) NOT NULL DEFAULT '',
  `url` varchar(250) NOT NULL DEFAULT '',
  `target` varchar(5) NOT NULL DEFAULT '',
  `open_on_load` float(2,1) NOT NULL DEFAULT '0.0',
  `close_on_load` tinyint(1) NOT NULL DEFAULT '0',
  `direction` enum('lt','rt') NOT NULL DEFAULT 'lt',
  `fade_in` tinyint(1) NOT NULL DEFAULT '0',
  `play_sound` varchar(150) NOT NULL DEFAULT '',
  `play_open_sound` varchar(150) NOT NULL DEFAULT '',
  `play_close_sound` varchar(150) NOT NULL DEFAULT '',
  `close_on_click` tinyint(1) NOT NULL DEFAULT '0',
  `close_on_click_text` varchar(50) NOT NULL DEFAULT '',
  `view` int(11) NOT NULL DEFAULT '0',
  `click` int(11) NOT NULL DEFAULT '0',
  `open` int(11) NOT NULL DEFAULT '0',
  `campaign_id` int(11) NOT NULL DEFAULT '0',
  `limit_views` tinyint(1) NOT NULL DEFAULT '0',
  `max_views` int(6) NOT NULL DEFAULT '0',
  `scroll_text` varchar(255) NOT NULL DEFAULT '',
  `scroll_color` varchar(6) NOT NULL DEFAULT '',
  `scroll_speed` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pageear_list`
--

INSERT INTO `pageear_list` VALUES (27,'My first PageEar','872b1d55e8f425a3a950e66fdfeb9d95_s.jpg','872b1d55e8f425a3a950e66fdfeb9d95_b.jpg','872b1d55e8f425a3a950e66fdfeb9d95_t.jpg',150,500,0,14,1,'33FFFF','http://www.cruisecrazies.com/community/lapel_pins.php','new',3.0,5,'rt',3,'','','',0,'Close',84,11,121,3,0,0,'Perfect for showing off your CruiseCrazies membership!','000033',2);

--
-- Table structure for table `pageear_log`
--

CREATE TABLE `pageear_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ip` varchar(20) NOT NULL DEFAULT '',
  `time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `list_id` mediumint(6) NOT NULL DEFAULT '0',
  `campaign_id` int(11) NOT NULL DEFAULT '0',
  `type` enum('click','open','view') NOT NULL DEFAULT 'click',
  `count` int(11) NOT NULL DEFAULT '0',
  `udate` date NOT NULL DEFAULT '0000-00-00',
  `uhour` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `udate` (`udate`,`uhour`,`type`,`list_id`)
) ENGINE=MyISAM AUTO_INCREMENT=128 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pageear_log`
--

INSERT INTO `pageear_log` VALUES (1,'1144046943','2010-09-17 00:00:00',27,0,'open',37,'2010-09-17',21),(2,'1144046943','2010-09-17 00:00:00',27,0,'view',14,'2010-09-17',21),(3,'2393015593','2010-09-17 00:00:00',27,0,'click',4,'2010-09-17',21),(4,'1276779297','2010-09-17 00:00:00',27,0,'open',84,'2010-09-17',22),(5,'1276779297','2010-09-17 00:00:00',27,0,'click',7,'2010-09-17',22),(6,'1276779297','2010-09-17 00:00:00',27,0,'view',70,'2010-09-17',22),(7,'1141012354','2010-09-17 00:00:00',3,3,'view',46,'2010-09-17',22),(8,'1141012354','2010-09-17 00:00:00',3,3,'open',45,'2010-09-17',22),(9,'1141012354','2010-09-17 00:00:00',3,3,'click',5,'2010-09-17',22),(10,'1141012354','2010-09-17 00:00:00',3,3,'view',65,'2010-09-17',23),(11,'1141012354','2010-09-17 00:00:00',3,3,'open',72,'2010-09-17',23),(12,'2907639341','2010-09-17 00:00:00',3,3,'click',2,'2010-09-17',23),(13,'1153542490','2010-09-18 00:00:00',3,3,'view',1,'2010-09-18',0),(14,'1153542490','2010-09-18 00:00:00',3,3,'open',1,'2010-09-18',0),(15,'1276779297','2010-09-18 00:00:00',3,3,'open',26,'2010-09-18',1),(16,'1276779297','2010-09-18 00:00:00',3,3,'view',24,'2010-09-18',1),(17,'1216545644','2010-09-18 00:00:00',3,3,'open',6,'2010-09-18',2),(18,'1216545644','2010-09-18 00:00:00',3,3,'view',4,'2010-09-18',2),(19,'1276246593','2010-09-18 00:00:00',3,3,'view',30,'2010-09-18',3),(20,'1276246593','2010-09-18 00:00:00',3,3,'open',29,'2010-09-18',3),(21,'1276246593','2010-09-18 00:00:00',3,3,'view',7,'2010-09-18',4),(22,'1276246593','2010-09-18 00:00:00',3,3,'open',7,'2010-09-18',4),(23,'1243887165','2010-09-18 00:00:00',3,3,'open',1,'2010-09-18',5),(24,'1243887165','2010-09-18 00:00:00',3,3,'view',1,'2010-09-18',5),(25,'1203338187','2010-09-18 00:00:00',3,3,'view',18,'2010-09-18',7),(26,'1203338187','2010-09-18 00:00:00',3,3,'open',19,'2010-09-18',7),(27,'1203338187','2010-09-18 00:00:00',3,3,'open',25,'2010-09-18',8),(28,'1209859542','2010-09-18 00:00:00',3,3,'view',27,'2010-09-18',8),(29,'1153966184','2010-09-18 00:00:00',3,3,'click',2,'2010-09-18',8),(30,'1443575291','2010-09-18 00:00:00',3,3,'view',41,'2010-09-18',9),(31,'1443575291','2010-09-18 00:00:00',3,3,'open',40,'2010-09-18',9),(32,'1443575291','2010-09-18 00:00:00',3,3,'click',3,'2010-09-18',9),(33,'1256987460','2010-09-18 00:00:00',3,3,'view',32,'2010-09-18',10),(34,'1256987460','2010-09-18 00:00:00',3,3,'open',35,'2010-09-18',10),(35,'1203338187','2010-09-18 00:00:00',3,3,'view',35,'2010-09-18',11),(36,'1669627754','2010-09-18 00:00:00',3,3,'open',32,'2010-09-18',11),(37,'1155713710','2010-09-18 00:00:00',3,3,'click',1,'2010-09-18',11),(38,'1136049364','2010-09-18 00:00:00',3,3,'view',20,'2010-09-18',12),(39,'1136049364','2010-09-18 00:00:00',3,3,'open',16,'2010-09-18',12),(40,'403803514','2010-09-18 00:00:00',3,3,'view',66,'2010-09-18',13),(41,'403803514','2010-09-18 00:00:00',3,3,'open',35,'2010-09-18',13),(42,'1651647119','2010-09-18 00:00:00',3,3,'click',2,'2010-09-18',13),(43,'1276779297','2010-09-18 00:00:00',3,3,'view',75,'2010-09-18',14),(44,'1276779297','2010-09-18 00:00:00',3,3,'open',88,'2010-09-18',14),(45,'1154478361','2010-09-18 00:00:00',3,3,'click',4,'2010-09-18',14),(46,'1276779297','2010-09-18 00:00:00',3,3,'view',74,'2010-09-18',15),(47,'1276779297','2010-09-18 00:00:00',3,3,'open',76,'2010-09-18',15),(48,'1276779297','2010-09-18 00:00:00',3,3,'open',53,'2010-09-18',16),(49,'1276779297','2010-09-18 00:00:00',3,3,'view',45,'2010-09-18',16),(50,'1250259306','2010-09-18 00:00:00',3,3,'click',2,'2010-09-18',16),(51,'1838837652','2010-09-18 00:00:00',3,3,'view',30,'2010-09-18',17),(52,'1838837652','2010-09-18 00:00:00',3,3,'open',32,'2010-09-18',17),(53,'1634237273','2010-09-18 00:00:00',3,3,'click',2,'2010-09-18',17),(54,'1203338187','2010-09-18 00:00:00',3,3,'view',42,'2010-09-18',18),(55,'403803514','2010-09-18 00:00:00',3,3,'open',40,'2010-09-18',18),(56,'1634237273','2010-09-18 00:00:00',3,3,'view',22,'2010-09-18',19),(57,'1634237273','2010-09-18 00:00:00',3,3,'open',21,'2010-09-18',19),(58,'1203338187','2010-09-18 00:00:00',3,3,'open',72,'2010-09-18',20),(59,'1156030514','2010-09-18 00:00:00',3,3,'view',63,'2010-09-18',20),(60,'1156030514','2010-09-18 00:00:00',3,3,'click',8,'2010-09-18',20),(61,'1651702033','2010-09-18 00:00:00',3,3,'view',88,'2010-09-18',21),(62,'1651702033','2010-09-18 00:00:00',3,3,'open',85,'2010-09-18',21),(63,'1651702033','2010-09-18 00:00:00',3,3,'click',5,'2010-09-18',21),(64,'1651647119','2010-09-18 00:00:00',3,3,'open',50,'2010-09-18',22),(65,'1651647119','2010-09-18 00:00:00',3,3,'view',47,'2010-09-18',22),(66,'1290344749','2010-09-18 00:00:00',3,3,'click',1,'2010-09-18',22),(67,'1077542938','2010-09-18 00:00:00',3,3,'view',24,'2010-09-18',23),(68,'1077542938','2010-09-18 00:00:00',3,3,'open',23,'2010-09-18',23),(69,'1197560776','2010-09-19 00:00:00',3,3,'view',31,'2010-09-19',0),(70,'1197560776','2010-09-19 00:00:00',3,3,'open',35,'2010-09-19',0),(71,'1197560776','2010-09-19 00:00:00',3,3,'click',3,'2010-09-19',0),(72,'1667743845','2010-09-19 00:00:00',3,3,'view',11,'2010-09-19',1),(73,'1667743845','2010-09-19 00:00:00',3,3,'open',11,'2010-09-19',1),(74,'1667743845','2010-09-19 00:00:00',3,3,'click',1,'2010-09-19',1),(75,'403049970','2010-09-19 00:00:00',3,3,'view',9,'2010-09-19',2),(76,'403049970','2010-09-19 00:00:00',3,3,'open',10,'2010-09-19',2),(77,'1268127305','2010-09-19 00:00:00',3,3,'view',6,'2010-09-19',3),(78,'1268127305','2010-09-19 00:00:00',3,3,'open',5,'2010-09-19',3),(79,'1029442967','2010-09-19 00:00:00',3,3,'view',1,'2010-09-19',5),(80,'1029442967','2010-09-19 00:00:00',3,3,'open',1,'2010-09-19',5),(81,'1625489652','2010-09-19 00:00:00',3,3,'open',7,'2010-09-19',6),(82,'1625489652','2010-09-19 00:00:00',3,3,'view',6,'2010-09-19',6),(83,'1209859542','2010-09-19 00:00:00',3,3,'open',9,'2010-09-19',7),(84,'1209859542','2010-09-19 00:00:00',3,3,'view',8,'2010-09-19',7),(85,'1625489652','2010-09-19 00:00:00',3,3,'open',24,'2010-09-19',8),(86,'1625489652','2010-09-19 00:00:00',3,3,'view',22,'2010-09-19',8),(87,'1144388446','2010-09-19 00:00:00',3,3,'click',2,'2010-09-19',8),(88,'1144388446','2010-09-19 00:00:00',3,3,'view',22,'2010-09-19',9),(89,'1144388446','2010-09-19 00:00:00',3,3,'open',26,'2010-09-19',9),(90,'1169437429','2010-09-19 00:00:00',3,3,'view',30,'2010-09-19',10),(91,'1169437429','2010-09-19 00:00:00',3,3,'open',27,'2010-09-19',10),(92,'1634237273','2010-09-19 00:00:00',3,3,'click',2,'2010-09-19',10),(93,'403803514','2010-09-19 00:00:00',3,3,'view',9,'2010-09-19',11),(94,'403803514','2010-09-19 00:00:00',3,3,'open',9,'2010-09-19',11),(95,'1163701717','2010-09-19 00:00:00',3,3,'view',14,'2010-09-19',12),(96,'1163701717','2010-09-19 00:00:00',3,3,'open',13,'2010-09-19',12),(97,'211305288','2010-09-19 00:00:00',3,3,'view',11,'2010-09-19',13),(98,'211305288','2010-09-19 00:00:00',3,3,'open',10,'2010-09-19',13),(99,'1203420605','2010-09-19 00:00:00',3,3,'view',63,'2010-09-19',14),(100,'1203420605','2010-09-19 00:00:00',3,3,'open',53,'2010-09-19',14),(101,'1268634575','2010-09-19 00:00:00',3,3,'click',2,'2010-09-19',14),(102,'1276246593','2010-09-19 00:00:00',3,3,'view',47,'2010-09-19',15),(103,'1276246593','2010-09-19 00:00:00',3,3,'open',47,'2010-09-19',15),(104,'2906339031','2010-09-19 00:00:00',3,3,'click',1,'2010-09-19',15),(105,'1625489652','2010-09-19 00:00:00',3,3,'view',16,'2010-09-19',16),(106,'1625489652','2010-09-19 00:00:00',3,3,'open',16,'2010-09-19',16),(107,'1077542938','2010-09-19 00:00:00',3,3,'open',54,'2010-09-19',17),(108,'1077542938','2010-09-19 00:00:00',3,3,'view',52,'2010-09-19',17),(109,'1250259306','2010-09-19 00:00:00',3,3,'click',1,'2010-09-19',17),(110,'2920320794','2010-09-19 00:00:00',3,3,'open',59,'2010-09-19',18),(111,'2920320794','2010-09-19 00:00:00',3,3,'view',62,'2010-09-19',18),(112,'404410340','2010-09-19 00:00:00',3,3,'click',2,'2010-09-19',18),(113,'1811940887','2010-09-19 00:00:00',3,3,'view',59,'2010-09-19',19),(114,'1811940887','2010-09-19 00:00:00',3,3,'open',61,'2010-09-19',19),(115,'1811940887','2010-09-19 00:00:00',3,3,'click',1,'2010-09-19',19),(116,'403803514','2010-09-19 00:00:00',3,3,'view',24,'2010-09-19',20),(117,'403803514','2010-09-19 00:00:00',3,3,'open',25,'2010-09-19',20),(118,'1198709462','2010-09-19 00:00:00',3,3,'view',21,'2010-09-19',21),(119,'1198709462','2010-09-19 00:00:00',3,3,'open',20,'2010-09-19',21),(120,'1668439676','2010-09-19 00:00:00',3,3,'view',22,'2010-09-19',22),(121,'1668439676','2010-09-19 00:00:00',3,3,'open',23,'2010-09-19',22),(122,'1668439676','2010-09-19 00:00:00',3,3,'click',1,'2010-09-19',22),(123,'2393015593','2010-09-19 00:00:00',3,3,'view',44,'2010-09-19',23),(124,'2393015593','2010-09-19 00:00:00',3,3,'open',51,'2010-09-19',23),(125,'2393015593','2010-09-19 00:00:00',3,3,'click',4,'2010-09-19',23),(126,'1156030514','2010-09-20 00:00:00',3,3,'open',13,'2010-09-20',0),(127,'1156030514','2010-09-20 00:00:00',3,3,'view',12,'2010-09-20',0);

--
-- Table structure for table `pageear_translate`
--

CREATE TABLE `pageear_translate` (
  `id` int(3) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(50) NOT NULL DEFAULT '',
  `lang` enum('de','en') NOT NULL DEFAULT 'de',
  `text` varchar(250) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=289 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pageear_translate`
--




