--
-- Host: localhost    Database: yesskinc_aid4anim
-- ------------------------------------------------------


--
-- Current Database: `yesskinc_aid4anim`
--

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

USE `yesskinc_aid4anim`;

--
-- Table structure for table `modx_active_users`
--

CREATE TABLE `modx_active_users` (
  `internalKey` int(9) NOT NULL DEFAULT '0',
  `username` varchar(50) NOT NULL DEFAULT '',
  `lasthit` int(20) NOT NULL DEFAULT '0',
  `id` int(10) DEFAULT NULL,
  `action` varchar(10) NOT NULL DEFAULT '',
  `ip` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`internalKey`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data about active users.';

--
-- Dumping data for table `modx_active_users`
--

INSERT INTO `modx_active_users` VALUES (1,'admin',1333675119,21,'3','68.101.103.120');

--
-- Table structure for table `modx_categories`
--

CREATE TABLE `modx_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `category` varchar(45) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1 COMMENT='Categories to be used snippets,tv,chunks, etc';

--
-- Dumping data for table `modx_categories`
--

INSERT INTO `modx_categories` VALUES (1,'Demo Content'),(2,'Login'),(3,'Manager and Admin'),(4,'Search'),(5,'Navigation'),(6,'Content'),(7,'Forms'),(8,'Blog items');

--
-- Table structure for table `modx_document_groups`
--

CREATE TABLE `modx_document_groups` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `document_group` int(10) NOT NULL DEFAULT '0',
  `document` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `document` (`document`),
  KEY `document_group` (`document_group`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for access permissions.';

--
-- Dumping data for table `modx_document_groups`
--


--
-- Table structure for table `modx_documentgroup_names`
--

CREATE TABLE `modx_documentgroup_names` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `private_memgroup` tinyint(4) DEFAULT '0' COMMENT 'determine whether the document group is private to manager users',
  `private_webgroup` tinyint(4) DEFAULT '0' COMMENT 'determines whether the document is private to web users',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for access permissions.';

--
-- Dumping data for table `modx_documentgroup_names`
--


--
-- Table structure for table `modx_event_log`
--

CREATE TABLE `modx_event_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `eventid` int(11) DEFAULT '0',
  `createdon` int(11) NOT NULL DEFAULT '0',
  `type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1- information, 2 - warning, 3- error',
  `user` int(11) NOT NULL DEFAULT '0' COMMENT 'link to user table',
  `usertype` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0 - manager, 1 - web',
  `source` varchar(50) NOT NULL DEFAULT '',
  `description` text,
  PRIMARY KEY (`id`),
  KEY `user` (`user`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COMMENT='Stores event and error logs';

--
-- Dumping data for table `modx_event_log`
--

INSERT INTO `modx_event_log` VALUES (1,0,1313511352,3,0,0,'Parser','\n              <html><head><title>MODx Content Manager  &raquo; </title>\n              <style>TD, BODY { font-size: 11px; font-family:verdana; }</style>\n              <script type=\'text/javascript\'>\n              function copyToClip()\n              {\n                holdtext.innerText = sqlHolder.innerText;\n                Copied = holdtext.createTextRange();\n                Copied.execCommand(\'Copy\');\n              }\n            </script>\n              </head><body>\n              <h3 style=\'color:red\'>&laquo; MODx Parse Error &raquo;</h3>\n                    <table border=\'0\' cellpadding=\'1\' cellspacing=\'0\'>\n                    <tr><td colspan=\'3\'>MODx encountered the following error while attempting to parse the requested resource:</td></tr>\n                    <tr><td colspan=\'3\'><b style=\'color:red;\'>&laquo; PHP Parse Error &raquo;</b></td></tr><tr><td>&nbsp;</td></tr><tr><td colspan=\'3\'><b>PHP error debug</b></td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Error: </td><td colspan=\'2\'>Invalid argument supplied for foreach()</td><td>&nbsp;</td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Error type/ Nr.: </td><td colspan=\'2\'>Warning - 2</b></td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;File: </td><td colspan=\'2\'>/home/yesskinc/public_html/qwick4an/assets/snippets/ditto/classes/template.class.inc.php</td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;Line: </td><td colspan=\'2\'>50</td><td>&nbsp;</td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Line 50 source: </td><td colspan=\'2\'>		foreach ($templates as $tplName=&gt;$tpl) {\n</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td></tr><tr><td colspan=\'3\'><b>Parser timing</b></td></tr><tr><td>&nbsp;&nbsp;MySQL: </td><td><i>0.0024 s</i></td><td>(<i>5 Requests</i>)</td></tr><tr><td>&nbsp;&nbsp;PHP: </td><td><i>0.0554 s</i></td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;Total: </td><td><i>0.0578 s</i></td><td>&nbsp;</td></tr></table></body></html>'),(2,0,1313511354,3,0,0,'Parser','\n              <html><head><title>MODx Content Manager  &raquo; </title>\n              <style>TD, BODY { font-size: 11px; font-family:verdana; }</style>\n              <script type=\'text/javascript\'>\n              function copyToClip()\n              {\n                holdtext.innerText = sqlHolder.innerText;\n                Copied = holdtext.createTextRange();\n                Copied.execCommand(\'Copy\');\n              }\n            </script>\n              </head><body>\n              <h3 style=\'color:red\'>&laquo; MODx Parse Error &raquo;</h3>\n                    <table border=\'0\' cellpadding=\'1\' cellspacing=\'0\'>\n                    <tr><td colspan=\'3\'>MODx encountered the following error while attempting to parse the requested resource:</td></tr>\n                    <tr><td colspan=\'3\'><b style=\'color:red;\'>&laquo; PHP Parse Error &raquo;</b></td></tr><tr><td>&nbsp;</td></tr><tr><td colspan=\'3\'><b>PHP error debug</b></td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Error: </td><td colspan=\'2\'>Invalid argument supplied for foreach()</td><td>&nbsp;</td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Error type/ Nr.: </td><td colspan=\'2\'>Warning - 2</b></td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;File: </td><td colspan=\'2\'>/home/yesskinc/public_html/qwick4an/assets/snippets/ditto/classes/template.class.inc.php</td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;Line: </td><td colspan=\'2\'>50</td><td>&nbsp;</td></tr><tr><td valign=\'top\'>&nbsp;&nbsp;Line 50 source: </td><td colspan=\'2\'>		foreach ($templates as $tplName=&gt;$tpl) {\n</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td></tr><tr><td colspan=\'3\'><b>Parser timing</b></td></tr><tr><td>&nbsp;&nbsp;MySQL: </td><td><i>0.0012 s</i></td><td>(<i>5 Requests</i>)</td></tr><tr><td>&nbsp;&nbsp;PHP: </td><td><i>0.0595 s</i></td><td>&nbsp;</td></tr><tr><td>&nbsp;&nbsp;Total: </td><td><i>0.0608 s</i></td><td>&nbsp;</td></tr></table></body></html>');

--
-- Table structure for table `modx_jot_content`
--

CREATE TABLE `modx_jot_content` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) DEFAULT NULL,
  `tagid` varchar(50) DEFAULT NULL,
  `published` int(1) NOT NULL DEFAULT '0',
  `uparent` int(10) NOT NULL DEFAULT '0',
  `parent` int(10) NOT NULL DEFAULT '0',
  `flags` varchar(25) DEFAULT NULL,
  `secip` varchar(32) DEFAULT NULL,
  `sechash` varchar(32) DEFAULT NULL,
  `content` mediumtext,
  `mode` int(1) NOT NULL DEFAULT '1',
  `createdby` int(10) NOT NULL DEFAULT '0',
  `createdon` int(20) NOT NULL DEFAULT '0',
  `editedby` int(10) NOT NULL DEFAULT '0',
  `editedon` int(20) NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `deletedon` int(20) NOT NULL DEFAULT '0',
  `deletedby` int(10) NOT NULL DEFAULT '0',
  `publishedon` int(20) NOT NULL DEFAULT '0',
  `publishedby` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `parent` (`parent`),
  KEY `secip` (`secip`),
  KEY `tagidx` (`tagid`),
  KEY `uparent` (`uparent`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modx_jot_content`
--


--
-- Table structure for table `modx_jot_fields`
--

CREATE TABLE `modx_jot_fields` (
  `id` mediumint(10) NOT NULL DEFAULT '0',
  `label` varchar(50) NOT NULL DEFAULT '',
  `content` text,
  KEY `id` (`id`),
  KEY `label` (`label`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modx_jot_fields`
--


--
-- Table structure for table `modx_jot_subscriptions`
--

CREATE TABLE `modx_jot_subscriptions` (
  `id` mediumint(10) NOT NULL AUTO_INCREMENT,
  `uparent` mediumint(10) NOT NULL DEFAULT '0',
  `tagid` varchar(50) NOT NULL DEFAULT '',
  `userid` mediumint(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `uparent` (`uparent`),
  KEY `tagid` (`tagid`),
  KEY `userid` (`userid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modx_jot_subscriptions`
--


--
-- Table structure for table `modx_keyword_xref`
--

CREATE TABLE `modx_keyword_xref` (
  `content_id` int(11) NOT NULL DEFAULT '0',
  `keyword_id` int(11) NOT NULL DEFAULT '0',
  KEY `content_id` (`content_id`),
  KEY `keyword_id` (`keyword_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Cross reference bewteen keywords and content';

--
-- Dumping data for table `modx_keyword_xref`
--


--
-- Table structure for table `modx_manager_log`
--

CREATE TABLE `modx_manager_log` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `timestamp` int(20) NOT NULL DEFAULT '0',
  `internalKey` int(10) NOT NULL DEFAULT '0',
  `username` varchar(255) DEFAULT NULL,
  `action` int(10) NOT NULL DEFAULT '0',
  `itemid` varchar(10) DEFAULT '0',
  `itemname` varchar(255) DEFAULT NULL,
  `message` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1109 DEFAULT CHARSET=latin1 COMMENT='Contains a record of user interaction.';

--
-- Dumping data for table `modx_manager_log`
--

INSERT INTO `modx_manager_log` VALUES (1,1313249691,1,'admin',58,'-','MODx','Logged in'),(2,1313249694,1,'admin',17,'-','-','Editing settings'),(3,1313249789,1,'admin',30,'-','-','Saving settings'),(4,1313249919,1,'admin',76,'-','-','Element management'),(5,1313249925,1,'admin',19,'-','New template','Creating a new template'),(6,1313250153,1,'admin',20,'-','-','Saving template'),(7,1313250154,1,'admin',76,'-','-','Element management'),(8,1313250157,1,'admin',3,'1','MODx CMS Install Success','Viewing data for resource'),(9,1313250171,1,'admin',27,'1','-','Editing resource'),(10,1313250417,1,'admin',5,'1','-','Saving resource'),(11,1313250420,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(12,1313250472,1,'admin',76,'-','-','Element management'),(13,1313250473,1,'admin',16,'4','QA4Animals Main','Editing template'),(14,1313250592,1,'admin',20,'4','-','Saving template'),(15,1313250593,1,'admin',76,'-','-','Element management'),(16,1313250599,1,'admin',77,'-','New Chunk','Creating a new Chunk (HTML Snippet)'),(17,1313250633,1,'admin',79,'-','-','Saving Chunk (HTML Snippet)'),(18,1313250633,1,'admin',76,'-','-','Element management'),(19,1313250655,1,'admin',77,'-','New Chunk','Creating a new Chunk (HTML Snippet)'),(20,1313250976,1,'admin',79,'-','-','Saving Chunk (HTML Snippet)'),(21,1313250977,1,'admin',76,'-','-','Element management'),(22,1313250984,1,'admin',16,'4','QA4Animals Main','Editing template'),(23,1313251079,1,'admin',20,'4','-','Saving template'),(24,1313251079,1,'admin',76,'-','-','Element management'),(25,1313251086,1,'admin',16,'4','QA4Animals Main','Editing template'),(26,1313251110,1,'admin',20,'4','-','Saving template'),(27,1313251110,1,'admin',76,'-','-','Element management'),(28,1313251328,1,'admin',16,'4','QA4Animals Main','Editing template'),(29,1313251601,1,'admin',20,'4','-','Saving template'),(30,1313251601,1,'admin',76,'-','-','Element management'),(31,1313251866,1,'admin',8,'-','-','Logged out'),(32,1313251926,1,'admin',58,'-','MODx','Logged in'),(33,1313251931,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(34,1313251933,1,'admin',27,'1','-','Editing resource'),(35,1313251940,1,'admin',27,'1','-','Editing resource'),(36,1313251945,1,'admin',5,'1','-','Saving resource'),(37,1313251946,1,'admin',27,'1','-','Editing resource'),(38,1313251988,1,'admin',76,'-','-','Element management'),(39,1313251990,1,'admin',16,'4','QA4Animals Main','Editing template'),(40,1313252109,1,'admin',76,'-','-','Element management'),(41,1313252113,1,'admin',78,'3','row','Editing Chunk (HTML Snippet)'),(42,1313252131,1,'admin',79,'3','-','Saving Chunk (HTML Snippet)'),(43,1313252131,1,'admin',76,'-','-','Element management'),(44,1313252158,1,'admin',77,'-','New Chunk','Creating a new Chunk (HTML Snippet)'),(45,1313252170,1,'admin',79,'-','-','Saving Chunk (HTML Snippet)'),(46,1313252171,1,'admin',76,'-','-','Element management'),(47,1313252251,1,'admin',78,'3','parentRow','Editing Chunk (HTML Snippet)'),(48,1313252260,1,'admin',76,'-','-','Element management'),(49,1313252261,1,'admin',78,'5','row','Editing Chunk (HTML Snippet)'),(50,1313252274,1,'admin',76,'-','-','Element management'),(51,1313252279,1,'admin',16,'4','QA4Animals Main','Editing template'),(52,1313252362,1,'admin',20,'4','-','Saving template'),(53,1313252362,1,'admin',76,'-','-','Element management'),(54,1313252698,1,'admin',78,'4','fixedUL','Editing Chunk (HTML Snippet)'),(55,1313252729,1,'admin',79,'4','-','Saving Chunk (HTML Snippet)'),(56,1313252729,1,'admin',76,'-','-','Element management'),(57,1313252738,1,'admin',78,'3','parentRow','Editing Chunk (HTML Snippet)'),(58,1313252753,1,'admin',76,'-','-','Element management'),(59,1313252758,1,'admin',16,'4','QA4Animals Main','Editing template'),(60,1313252775,1,'admin',20,'4','-','Saving template'),(61,1313252776,1,'admin',76,'-','-','Element management'),(62,1313252854,1,'admin',16,'4','QA4Animals Main','Editing template'),(63,1313252979,1,'admin',20,'4','-','Saving template'),(64,1313252979,1,'admin',76,'-','-','Element management'),(65,1313253135,1,'admin',16,'4','QA4Animals Main','Editing template'),(66,1313253150,1,'admin',20,'4','-','Saving template'),(67,1313253150,1,'admin',76,'-','-','Element management'),(68,1313253396,1,'admin',16,'4','QA4Animals Main','Editing template'),(69,1313253401,1,'admin',27,'1','-','Editing resource'),(70,1313253486,1,'admin',5,'1','-','Saving resource'),(71,1313253489,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(72,1313254159,1,'admin',76,'-','-','Element management'),(73,1313254162,1,'admin',16,'4','QA4Animals Main','Editing template'),(74,1313254233,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(75,1313254237,1,'admin',27,'1','-','Editing resource'),(76,1313254316,1,'admin',5,'1','-','Saving resource'),(77,1313254318,1,'admin',76,'-','-','Element management'),(78,1313254322,1,'admin',16,'4','QA4Animals Main','Editing template'),(79,1313254360,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(80,1313254362,1,'admin',27,'1','-','Editing resource'),(81,1313254432,1,'admin',5,'1','-','Saving resource'),(82,1313254435,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(83,1313254446,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(84,1313254450,1,'admin',27,'1','-','Editing resource'),(85,1313254510,1,'admin',5,'1','-','Saving resource'),(86,1313254513,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(87,1313254530,1,'admin',27,'1','-','Editing resource'),(88,1313254570,1,'admin',5,'1','-','Saving resource'),(89,1313254576,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(90,1313254706,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(91,1313254707,1,'admin',27,'1','-','Editing resource'),(92,1313254720,1,'admin',5,'1','-','Saving resource'),(93,1313254723,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(94,1313254726,1,'admin',27,'1','-','Editing resource'),(95,1313254780,1,'admin',5,'1','-','Saving resource'),(96,1313254781,1,'admin',27,'1','-','Editing resource'),(97,1313254829,1,'admin',5,'1','-','Saving resource'),(98,1313254830,1,'admin',27,'1','-','Editing resource'),(99,1313255513,1,'admin',5,'1','-','Saving resource'),(100,1313255514,1,'admin',27,'1','-','Editing resource'),(101,1313255754,1,'admin',17,'-','-','Editing settings'),(102,1313255781,1,'admin',30,'-','-','Saving settings'),(103,1313255802,1,'admin',4,'-','-','Creating a resource'),(104,1313256019,1,'admin',5,'-','-','Saving resource'),(105,1313256023,1,'admin',76,'-','-','Element management'),(106,1313256025,1,'admin',16,'3','Minimal Template','Editing template'),(107,1313256116,1,'admin',76,'-','-','Element management'),(108,1313256118,1,'admin',16,'4','QA4Animals Main','Editing template'),(109,1313256141,1,'admin',20,'4','-','Saving template'),(110,1313256141,1,'admin',76,'-','-','Element management'),(111,1313256168,1,'admin',4,'-','-','Creating a resource'),(112,1313256237,1,'admin',5,'-','-','Saving resource'),(113,1313256245,1,'admin',4,'-','-','Creating a resource'),(114,1313256319,1,'admin',5,'-','-','Saving resource'),(115,1313256326,1,'admin',4,'-','-','Creating a resource'),(116,1313256393,1,'admin',5,'-','-','Saving resource'),(117,1313256402,1,'admin',4,'-','-','Creating a resource'),(118,1313256485,1,'admin',5,'-','-','Saving resource'),(119,1313256492,1,'admin',4,'-','-','Creating a resource'),(120,1313256531,1,'admin',5,'-','-','Saving resource'),(121,1313256923,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(122,1313256925,1,'admin',27,'1','-','Editing resource'),(123,1313256974,1,'admin',5,'1','-','Saving resource'),(124,1313256975,1,'admin',27,'1','-','Editing resource'),(125,1313257263,1,'admin',5,'1','-','Saving resource'),(126,1313257264,1,'admin',27,'1','-','Editing resource'),(127,1313257569,1,'admin',5,'1','-','Saving resource'),(128,1313257570,1,'admin',27,'1','-','Editing resource'),(129,1313257795,1,'admin',5,'1','-','Saving resource'),(130,1313257795,1,'admin',27,'1','-','Editing resource'),(131,1313258501,1,'admin',5,'1','-','Saving resource'),(132,1313258502,1,'admin',27,'1','-','Editing resource'),(133,1313258547,1,'admin',5,'1','-','Saving resource'),(134,1313258547,1,'admin',27,'1','-','Editing resource'),(135,1313258767,1,'admin',5,'1','-','Saving resource'),(136,1313258767,1,'admin',27,'1','-','Editing resource'),(137,1313258994,1,'admin',5,'1','-','Saving resource'),(138,1313258995,1,'admin',27,'1','-','Editing resource'),(139,1313259180,1,'admin',76,'-','-','Element management'),(140,1313259181,1,'admin',16,'4','QA4Animals Main','Editing template'),(141,1313259360,1,'admin',20,'4','-','Saving template'),(142,1313259360,1,'admin',76,'-','-','Element management'),(143,1313259371,1,'admin',16,'4','QA4Animals Main','Editing template'),(144,1313259436,1,'admin',20,'4','-','Saving template'),(145,1313259436,1,'admin',16,'4','QA4Animals Main','Editing template'),(146,1313259466,1,'admin',20,'4','-','Saving template'),(147,1313259467,1,'admin',16,'4','QA4Animals Main','Editing template'),(148,1313259520,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(149,1313259522,1,'admin',27,'1','-','Editing resource'),(150,1313259537,1,'admin',5,'1','-','Saving resource'),(151,1313259538,1,'admin',27,'1','-','Editing resource'),(152,1313261402,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(153,1313261404,1,'admin',27,'1','-','Editing resource'),(154,1313261415,1,'admin',76,'-','-','Element management'),(155,1313261418,1,'admin',77,'-','New Chunk','Creating a new Chunk (HTML Snippet)'),(156,1313261462,1,'admin',79,'-','-','Saving Chunk (HTML Snippet)'),(157,1313261462,1,'admin',76,'-','-','Element management'),(158,1313261468,1,'admin',27,'1','-','Editing resource'),(159,1313261490,1,'admin',5,'1','-','Saving resource'),(160,1313261493,1,'admin',76,'-','-','Element management'),(161,1313261655,1,'admin',27,'1','-','Editing resource'),(162,1313262060,1,'admin',27,'2','-','Editing resource'),(163,1313262493,1,'admin',5,'2','-','Saving resource'),(164,1313262496,1,'admin',3,'2','Products','Viewing data for resource'),(165,1313262534,1,'admin',27,'2','-','Editing resource'),(166,1313262560,1,'admin',5,'2','-','Saving resource'),(167,1313262560,1,'admin',27,'2','-','Editing resource'),(168,1313262586,1,'admin',5,'2','-','Saving resource'),(169,1313262586,1,'admin',27,'2','-','Editing resource'),(170,1313263381,1,'admin',76,'-','-','Element management'),(171,1313263386,1,'admin',78,'6','scrollbanner','Editing Chunk (HTML Snippet)'),(172,1313263534,1,'admin',3,'2','Products','Viewing data for resource'),(173,1313263537,1,'admin',27,'2','-','Editing resource'),(174,1313263554,1,'admin',5,'2','-','Saving resource'),(175,1313263557,1,'admin',3,'2','Products','Viewing data for resource'),(176,1313263706,1,'admin',27,'2','-','Editing resource'),(177,1313263853,1,'admin',5,'2','-','Saving resource'),(178,1313263856,1,'admin',3,'2','Products','Viewing data for resource'),(179,1313264128,1,'admin',27,'1','-','Editing resource'),(180,1313264775,1,'admin',27,'2','-','Editing resource'),(181,1313264918,1,'admin',5,'2','-','Saving resource'),(182,1313264920,1,'admin',27,'2','-','Editing resource'),(183,1313265462,1,'admin',5,'2','-','Saving resource'),(184,1313265464,1,'admin',27,'2','-','Editing resource'),(185,1313265562,1,'admin',5,'2','-','Saving resource'),(186,1313265563,1,'admin',27,'2','-','Editing resource'),(187,1313265671,1,'admin',5,'2','-','Saving resource'),(188,1313265672,1,'admin',27,'2','-','Editing resource'),(189,1313265765,1,'admin',5,'2','-','Saving resource'),(190,1313265767,1,'admin',27,'2','-','Editing resource'),(191,1313266219,1,'admin',5,'2','-','Saving resource'),(192,1313266221,1,'admin',27,'2','-','Editing resource'),(193,1313266789,1,'admin',5,'2','-','Saving resource'),(194,1313266795,1,'admin',27,'2','-','Editing resource'),(195,1313266953,1,'admin',5,'2','-','Saving resource'),(196,1313266957,1,'admin',27,'2','-','Editing resource'),(197,1313267084,1,'admin',5,'2','-','Saving resource'),(198,1313267086,1,'admin',27,'2','-','Editing resource'),(199,1313267351,1,'admin',3,'2','Products','Viewing data for resource'),(200,1313267358,1,'admin',27,'2','-','Editing resource'),(201,1313267364,1,'admin',3,'3','Veterinary','Viewing data for resource'),(202,1313267372,1,'admin',27,'3','-','Editing resource'),(203,1313267379,1,'admin',5,'3','-','Saving resource'),(204,1313267387,1,'admin',3,'2','Products','Viewing data for resource'),(205,1313267394,1,'admin',27,'2','-','Editing resource'),(206,1313267965,1,'admin',5,'2','-','Saving resource'),(207,1313267971,1,'admin',3,'2','Products','Viewing data for resource'),(208,1313268017,1,'admin',27,'2','-','Editing resource'),(209,1313268038,1,'admin',5,'2','-','Saving resource'),(210,1313268053,1,'admin',27,'2','-','Editing resource'),(211,1313268081,1,'admin',5,'2','-','Saving resource'),(212,1313268085,1,'admin',27,'2','-','Editing resource'),(213,1313268772,1,'admin',5,'2','-','Saving resource'),(214,1313268774,1,'admin',27,'2','-','Editing resource'),(215,1313268895,1,'admin',5,'2','-','Saving resource'),(216,1313268896,1,'admin',27,'2','-','Editing resource'),(217,1313269170,1,'admin',5,'2','-','Saving resource'),(218,1313269171,1,'admin',27,'2','-','Editing resource'),(219,1313269206,1,'admin',5,'2','-','Saving resource'),(220,1313269207,1,'admin',27,'2','-','Editing resource'),(221,1313269231,1,'admin',5,'2','-','Saving resource'),(222,1313269233,1,'admin',27,'2','-','Editing resource'),(223,1313269252,1,'admin',5,'2','-','Saving resource'),(224,1313269253,1,'admin',27,'2','-','Editing resource'),(225,1313269446,1,'admin',5,'2','-','Saving resource'),(226,1313269447,1,'admin',27,'2','-','Editing resource'),(227,1313269782,1,'admin',5,'2','-','Saving resource'),(228,1313269791,1,'admin',27,'2','-','Editing resource'),(229,1313270091,1,'admin',5,'2','-','Saving resource'),(230,1313270093,1,'admin',27,'2','-','Editing resource'),(231,1313270143,1,'admin',5,'2','-','Saving resource'),(232,1313270144,1,'admin',27,'2','-','Editing resource'),(233,1313270259,1,'admin',76,'-','-','Element management'),(234,1313270263,1,'admin',16,'4','QA4Animals Main','Editing template'),(235,1313270289,1,'admin',20,'4','-','Saving template'),(236,1313270290,1,'admin',76,'-','-','Element management'),(237,1313270305,1,'admin',16,'4','QA4Animals Main','Editing template'),(238,1313270322,1,'admin',20,'4','-','Saving template'),(239,1313270322,1,'admin',76,'-','-','Element management'),(240,1313337345,1,'admin',58,'-','MODx','Logged in'),(241,1313340038,1,'admin',76,'-','-','Element management'),(242,1313340040,1,'admin',16,'4','QA4Animals Main','Editing template'),(243,1313340043,1,'admin',96,'4','-','Duplicate Template'),(244,1313340043,1,'admin',16,'5','Duplicate of QA4Animals Main','Editing template'),(245,1313340048,1,'admin',76,'-','-','Element management'),(246,1313340056,1,'admin',78,'6','scrollbanner','Editing Chunk (HTML Snippet)'),(247,1313340059,1,'admin',97,'6','-','Duplicate Chunk (HTML Snippet)'),(248,1313340060,1,'admin',78,'7','Duplicate of scrollbanner','Editing Chunk (HTML Snippet)'),(249,1313340232,1,'admin',79,'7','-','Saving Chunk (HTML Snippet)'),(250,1313340232,1,'admin',76,'-','-','Element management'),(251,1313340234,1,'admin',78,'6','scrollbanner','Editing Chunk (HTML Snippet)'),(252,1313340239,1,'admin',79,'6','-','Saving Chunk (HTML Snippet)'),(253,1313340239,1,'admin',76,'-','-','Element management'),(254,1313340241,1,'admin',78,'7','Duplicate of scrollbanner','Editing Chunk (HTML Snippet)'),(255,1313340245,1,'admin',79,'7','-','Saving Chunk (HTML Snippet)'),(256,1313340245,1,'admin',76,'-','-','Element management'),(257,1313341836,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(258,1313341839,1,'admin',27,'4','-','Editing resource'),(259,1313341867,1,'admin',5,'4','-','Saving resource'),(260,1313341867,1,'admin',27,'4','-','Editing resource'),(261,1313341954,1,'admin',5,'4','-','Saving resource'),(262,1313341955,1,'admin',27,'4','-','Editing resource'),(263,1313341992,1,'admin',5,'4','-','Saving resource'),(264,1313341993,1,'admin',27,'4','-','Editing resource'),(265,1313342173,1,'admin',5,'4','-','Saving resource'),(266,1313342174,1,'admin',27,'4','-','Editing resource'),(267,1313342292,1,'admin',5,'4','-','Saving resource'),(268,1313342293,1,'admin',27,'4','-','Editing resource'),(269,1313342323,1,'admin',5,'4','-','Saving resource'),(270,1313342324,1,'admin',27,'4','-','Editing resource'),(271,1313342443,1,'admin',5,'4','-','Saving resource'),(272,1313342443,1,'admin',27,'4','-','Editing resource'),(273,1313343646,1,'admin',5,'4','-','Saving resource'),(274,1313343647,1,'admin',27,'4','-','Editing resource'),(275,1313343728,1,'admin',5,'4','-','Saving resource'),(276,1313343729,1,'admin',27,'4','-','Editing resource'),(277,1313343743,1,'admin',5,'4','-','Saving resource'),(278,1313343744,1,'admin',27,'4','-','Editing resource'),(279,1313372214,1,'admin',58,'-','MODx','Logged in'),(280,1313373544,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(281,1313373546,1,'admin',27,'4','-','Editing resource'),(282,1313373765,1,'admin',5,'4','-','Saving resource'),(283,1313373765,1,'admin',27,'4','-','Editing resource'),(284,1313373883,1,'admin',5,'4','-','Saving resource'),(285,1313373884,1,'admin',27,'4','-','Editing resource'),(286,1313374420,1,'admin',5,'4','-','Saving resource'),(287,1313374421,1,'admin',27,'4','-','Editing resource'),(288,1313374452,1,'admin',5,'4','-','Saving resource'),(289,1313374453,1,'admin',27,'4','-','Editing resource'),(290,1313375305,1,'admin',5,'4','-','Saving resource'),(291,1313375306,1,'admin',27,'4','-','Editing resource'),(292,1313375807,1,'admin',5,'4','-','Saving resource'),(293,1313375808,1,'admin',27,'4','-','Editing resource'),(294,1313375972,1,'admin',5,'4','-','Saving resource'),(295,1313375973,1,'admin',27,'4','-','Editing resource'),(296,1313376045,1,'admin',5,'4','-','Saving resource'),(297,1313376045,1,'admin',27,'4','-','Editing resource'),(298,1313426370,1,'admin',58,'-','MODx','Logged in'),(299,1313426374,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(300,1313426376,1,'admin',27,'4','-','Editing resource'),(301,1313426386,1,'admin',27,'2','-','Editing resource'),(302,1313426393,1,'admin',27,'4','-','Editing resource'),(303,1313427311,1,'admin',5,'4','-','Saving resource'),(304,1313427312,1,'admin',27,'4','-','Editing resource'),(305,1313427427,1,'admin',5,'4','-','Saving resource'),(306,1313427428,1,'admin',27,'4','-','Editing resource'),(307,1313427683,1,'admin',5,'4','-','Saving resource'),(308,1313427684,1,'admin',27,'4','-','Editing resource'),(309,1313427762,1,'admin',5,'4','-','Saving resource'),(310,1313427763,1,'admin',27,'4','-','Editing resource'),(311,1313427821,1,'admin',5,'4','-','Saving resource'),(312,1313427822,1,'admin',27,'4','-','Editing resource'),(313,1313427930,1,'admin',5,'4','-','Saving resource'),(314,1313427931,1,'admin',27,'4','-','Editing resource'),(315,1313428046,1,'admin',5,'4','-','Saving resource'),(316,1313428047,1,'admin',27,'4','-','Editing resource'),(317,1313429321,1,'admin',5,'4','-','Saving resource'),(318,1313429321,1,'admin',27,'4','-','Editing resource'),(319,1313429349,1,'admin',5,'4','-','Saving resource'),(320,1313429352,1,'admin',27,'4','-','Editing resource'),(321,1313429417,1,'admin',5,'4','-','Saving resource'),(322,1313429418,1,'admin',27,'4','-','Editing resource'),(323,1313429459,1,'admin',5,'4','-','Saving resource'),(324,1313429460,1,'admin',27,'4','-','Editing resource'),(325,1313429487,1,'admin',5,'4','-','Saving resource'),(326,1313429488,1,'admin',27,'4','-','Editing resource'),(327,1313429939,1,'admin',5,'4','-','Saving resource'),(328,1313429939,1,'admin',27,'4','-','Editing resource'),(329,1313430044,1,'admin',5,'4','-','Saving resource'),(330,1313430045,1,'admin',27,'4','-','Editing resource'),(331,1313430477,1,'admin',5,'4','-','Saving resource'),(332,1313430478,1,'admin',27,'4','-','Editing resource'),(333,1313430512,1,'admin',5,'4','-','Saving resource'),(334,1313430513,1,'admin',27,'4','-','Editing resource'),(335,1313430814,1,'admin',5,'4','-','Saving resource'),(336,1313430815,1,'admin',27,'4','-','Editing resource'),(337,1313430832,1,'admin',27,'3','-','Editing resource'),(338,1313430867,1,'admin',5,'3','-','Saving resource'),(339,1313430870,1,'admin',3,'3','Veterinary','Viewing data for resource'),(340,1313430881,1,'admin',27,'3','-','Editing resource'),(341,1313430998,1,'admin',5,'3','-','Saving resource'),(342,1313430999,1,'admin',27,'3','-','Editing resource'),(343,1313431346,1,'admin',27,'4','-','Editing resource'),(344,1313431398,1,'admin',5,'4','-','Saving resource'),(345,1313431401,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(346,1313431418,1,'admin',27,'4','-','Editing resource'),(347,1313431454,1,'admin',5,'4','-','Saving resource'),(348,1313431457,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(349,1313431462,1,'admin',27,'4','-','Editing resource'),(350,1313431484,1,'admin',5,'4','-','Saving resource'),(351,1313431487,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(352,1313431517,1,'admin',27,'1','-','Editing resource'),(353,1313431572,1,'admin',5,'1','-','Saving resource'),(354,1313431575,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(355,1313431577,1,'admin',27,'1','-','Editing resource'),(356,1313431611,1,'admin',5,'1','-','Saving resource'),(357,1313431614,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(358,1313431779,1,'admin',27,'1','-','Editing resource'),(359,1313431929,1,'admin',5,'1','-','Saving resource'),(360,1313431932,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(361,1313431936,1,'admin',27,'1','-','Editing resource'),(362,1313431981,1,'admin',5,'1','-','Saving resource'),(363,1313431985,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(364,1313431989,1,'admin',27,'1','-','Editing resource'),(365,1313431999,1,'admin',5,'1','-','Saving resource'),(366,1313432000,1,'admin',27,'1','-','Editing resource'),(367,1313432129,1,'admin',5,'1','-','Saving resource'),(368,1313432129,1,'admin',27,'1','-','Editing resource'),(369,1313432367,1,'admin',5,'1','-','Saving resource'),(370,1313432368,1,'admin',27,'1','-','Editing resource'),(371,1313432374,1,'admin',5,'1','-','Saving resource'),(372,1313432375,1,'admin',27,'1','-','Editing resource'),(373,1313432391,1,'admin',5,'1','-','Saving resource'),(374,1313432392,1,'admin',27,'1','-','Editing resource'),(375,1313432503,1,'admin',5,'1','-','Saving resource'),(376,1313432504,1,'admin',27,'1','-','Editing resource'),(377,1313434307,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(378,1313434310,1,'admin',27,'1','-','Editing resource'),(379,1313434331,1,'admin',76,'-','-','Element management'),(380,1313434340,1,'admin',78,'7','scrollbanner','Editing Chunk (HTML Snippet)'),(381,1313434423,1,'admin',79,'7','-','Saving Chunk (HTML Snippet)'),(382,1313434424,1,'admin',76,'-','-','Element management'),(383,1313434441,1,'admin',78,'7','scrollbanner','Editing Chunk (HTML Snippet)'),(384,1313434466,1,'admin',79,'7','-','Saving Chunk (HTML Snippet)'),(385,1313434467,1,'admin',76,'-','-','Element management'),(386,1313434469,1,'admin',26,'-','-','Refreshing site'),(387,1313435466,1,'admin',27,'2','-','Editing resource'),(388,1313435707,1,'admin',5,'2','-','Saving resource'),(389,1313435709,1,'admin',3,'2','Products','Viewing data for resource'),(390,1313435730,1,'admin',27,'2','-','Editing resource'),(391,1313435852,1,'admin',5,'2','-','Saving resource'),(392,1313435855,1,'admin',3,'2','Products','Viewing data for resource'),(393,1313436134,1,'admin',27,'5','-','Editing resource'),(394,1313436513,1,'admin',5,'5','-','Saving resource'),(395,1313436514,1,'admin',27,'5','-','Editing resource'),(396,1313436589,1,'admin',5,'5','-','Saving resource'),(397,1313436589,1,'admin',27,'5','-','Editing resource'),(398,1313436686,1,'admin',5,'5','-','Saving resource'),(399,1313436687,1,'admin',27,'5','-','Editing resource'),(400,1313438185,1,'admin',5,'5','-','Saving resource'),(401,1313438186,1,'admin',27,'5','-','Editing resource'),(402,1313438693,1,'admin',5,'5','-','Saving resource'),(403,1313438694,1,'admin',27,'5','-','Editing resource'),(404,1313438713,1,'admin',5,'5','-','Saving resource'),(405,1313438714,1,'admin',27,'5','-','Editing resource'),(406,1313438858,1,'admin',5,'5','-','Saving resource'),(407,1313438859,1,'admin',27,'5','-','Editing resource'),(408,1313438902,1,'admin',5,'5','-','Saving resource'),(409,1313438906,1,'admin',27,'5','-','Editing resource'),(410,1313438937,1,'admin',5,'5','-','Saving resource'),(411,1313438938,1,'admin',27,'5','-','Editing resource'),(412,1313439017,1,'admin',5,'5','-','Saving resource'),(413,1313439018,1,'admin',27,'5','-','Editing resource'),(414,1313439200,1,'admin',5,'5','-','Saving resource'),(415,1313439201,1,'admin',27,'5','-','Editing resource'),(416,1313439234,1,'admin',27,'4','-','Editing resource'),(417,1313439240,1,'admin',27,'5','-','Editing resource'),(418,1313439268,1,'admin',5,'5','-','Saving resource'),(419,1313439271,1,'admin',3,'5','Equine','Viewing data for resource'),(420,1313440483,1,'admin',27,'1','-','Editing resource'),(421,1313440587,1,'admin',5,'1','-','Saving resource'),(422,1313440590,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(423,1313440618,1,'admin',27,'1','-','Editing resource'),(424,1313440686,1,'admin',5,'1','-','Saving resource'),(425,1313440689,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(426,1313440691,1,'admin',27,'1','-','Editing resource'),(427,1313440697,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(428,1313440698,1,'admin',27,'1','-','Editing resource'),(429,1313440716,1,'admin',5,'1','-','Saving resource'),(430,1313440719,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(431,1313440730,1,'admin',76,'-','-','Element management'),(432,1313440734,1,'admin',16,'5','Duplicate of QA4Animals Main','Editing template'),(433,1313440739,1,'admin',21,'5','-','Deleting template'),(434,1313440739,1,'admin',76,'-','-','Element management'),(435,1313440740,1,'admin',16,'4','QA4Animals Main','Editing template'),(436,1313440766,1,'admin',20,'4','-','Saving template'),(437,1313440766,1,'admin',76,'-','-','Element management'),(438,1313440784,1,'admin',16,'4','QA4Animals Main','Editing template'),(439,1313440803,1,'admin',20,'4','-','Saving template'),(440,1313440804,1,'admin',76,'-','-','Element management'),(441,1313440832,1,'admin',76,'-','-','Element management'),(442,1313440849,1,'admin',4,'-','-','Creating a resource'),(443,1313440878,1,'admin',5,'-','-','Saving resource'),(444,1313441082,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(445,1313441083,1,'admin',3,'7','Contact','Viewing data for resource'),(446,1313441085,1,'admin',27,'7','-','Editing resource'),(447,1313441100,1,'admin',5,'7','-','Saving resource'),(448,1313441102,1,'admin',3,'7','Contact','Viewing data for resource'),(449,1313441119,1,'admin',27,'7','-','Editing resource'),(450,1313441131,1,'admin',5,'7','-','Saving resource'),(451,1313441134,1,'admin',3,'7','Contact','Viewing data for resource'),(452,1313441173,1,'admin',27,'8','-','Editing resource'),(453,1313441176,1,'admin',5,'8','-','Saving resource'),(454,1313441179,1,'admin',3,'8','Blog pages','Viewing data for resource'),(455,1313444073,1,'admin',4,'-','-','Creating a resource'),(456,1313444102,1,'admin',5,'-','-','Saving resource'),(457,1313444111,1,'admin',3,'9','Footer Pages','Viewing data for resource'),(458,1313444113,1,'admin',27,'9','-','Editing resource'),(459,1313444117,1,'admin',5,'9','-','Saving resource'),(460,1313444119,1,'admin',3,'9','Footer Pages','Viewing data for resource'),(461,1313444122,1,'admin',4,'-','-','Creating a resource'),(462,1313444703,1,'admin',5,'-','-','Saving resource'),(463,1313444784,1,'admin',27,'10','-','Editing resource'),(464,1313444800,1,'admin',5,'10','-','Saving resource'),(465,1313444803,1,'admin',3,'10','Privacy Policy','Viewing data for resource'),(466,1313444987,1,'admin',76,'-','-','Element management'),(467,1313444990,1,'admin',16,'4','QA4Animals Main','Editing template'),(468,1313445055,1,'admin',20,'4','-','Saving template'),(469,1313445055,1,'admin',76,'-','-','Element management'),(470,1313445075,1,'admin',16,'4','QA4Animals Main','Editing template'),(471,1313445147,1,'admin',20,'4','-','Saving template'),(472,1313445147,1,'admin',76,'-','-','Element management'),(473,1313445187,1,'admin',16,'4','QA4Animals Main','Editing template'),(474,1313445207,1,'admin',20,'4','-','Saving template'),(475,1313445207,1,'admin',76,'-','-','Element management'),(476,1313468793,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(477,1313468796,1,'admin',27,'6','-','Editing resource'),(478,1313469486,1,'admin',5,'6','-','Saving resource'),(479,1313469488,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(480,1313469814,1,'admin',76,'-','-','Element management'),(481,1313469827,1,'admin',78,'2','WebLoginSideBar','Editing Chunk (HTML Snippet)'),(482,1313469861,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(483,1313469871,1,'admin',27,'6','-','Editing resource'),(484,1313469918,1,'admin',5,'6','-','Saving resource'),(485,1313469939,1,'admin',76,'-','-','Element management'),(486,1313469942,1,'admin',78,'2','WebLoginSideBar','Editing Chunk (HTML Snippet)'),(487,1313469957,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(488,1313469962,1,'admin',27,'6','-','Editing resource'),(489,1313469973,1,'admin',5,'6','-','Saving resource'),(490,1313469975,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(491,1313470043,1,'admin',27,'6','-','Editing resource'),(492,1313470092,1,'admin',5,'6','-','Saving resource'),(493,1313470114,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(494,1313470138,1,'admin',27,'6','-','Editing resource'),(495,1313470144,1,'admin',76,'-','-','Element management'),(496,1313470154,1,'admin',78,'2','WebLoginSideBar','Editing Chunk (HTML Snippet)'),(497,1313470197,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(498,1313470200,1,'admin',27,'6','-','Editing resource'),(499,1313470264,1,'admin',5,'6','-','Saving resource'),(500,1313470267,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(501,1313470307,1,'admin',76,'-','-','Element management'),(502,1313470328,1,'admin',22,'15','WebSignup','Editing Snippet'),(503,1313470340,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(504,1313470352,1,'admin',27,'6','-','Editing resource'),(505,1313470369,1,'admin',5,'6','-','Saving resource'),(506,1313470372,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(507,1313470416,1,'admin',27,'6','-','Editing resource'),(508,1313470439,1,'admin',5,'6','-','Saving resource'),(509,1313470471,1,'admin',4,'-','-','Creating a resource'),(510,1313470591,1,'admin',5,'-','-','Saving resource'),(511,1313470606,1,'admin',27,'11','-','Editing resource'),(512,1313470747,1,'admin',5,'11','-','Saving resource'),(513,1313470750,1,'admin',3,'11','Member Signup','Viewing data for resource'),(514,1313470752,1,'admin',3,'11','Member Signup','Viewing data for resource'),(515,1313470760,1,'admin',27,'11','-','Editing resource'),(516,1313470817,1,'admin',5,'11','-','Saving resource'),(517,1313470820,1,'admin',3,'11','Member Signup','Viewing data for resource'),(518,1313508730,1,'admin',76,'-','-','Element management'),(519,1313508733,1,'admin',77,'-','New Chunk','Creating a new Chunk (HTML Snippet)'),(520,1313509852,1,'admin',79,'-','-','Saving Chunk (HTML Snippet)'),(521,1313509852,1,'admin',76,'-','-','Element management'),(522,1313509866,1,'admin',3,'5','Equine','Viewing data for resource'),(523,1313509869,1,'admin',27,'6','-','Editing resource'),(524,1313509897,1,'admin',5,'6','-','Saving resource'),(525,1313509899,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(526,1313509915,1,'admin',27,'6','-','Editing resource'),(527,1313509967,1,'admin',5,'6','-','Saving resource'),(528,1313509968,1,'admin',27,'6','-','Editing resource'),(529,1313509988,1,'admin',5,'6','-','Saving resource'),(530,1313509989,1,'admin',27,'6','-','Editing resource'),(531,1313509991,1,'admin',76,'-','-','Element management'),(532,1313509994,1,'admin',78,'8','qa_blog','Editing Chunk (HTML Snippet)'),(533,1313510024,1,'admin',79,'8','-','Saving Chunk (HTML Snippet)'),(534,1313510025,1,'admin',78,'8','qa_blog','Editing Chunk (HTML Snippet)'),(535,1313510065,1,'admin',79,'8','-','Saving Chunk (HTML Snippet)'),(536,1313510065,1,'admin',78,'8','qa_blog','Editing Chunk (HTML Snippet)'),(537,1313510109,1,'admin',79,'8','-','Saving Chunk (HTML Snippet)'),(538,1313510110,1,'admin',78,'8','qa_blog','Editing Chunk (HTML Snippet)'),(539,1313510122,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(540,1313510125,1,'admin',27,'6','-','Editing resource'),(541,1313510136,1,'admin',76,'-','-','Element management'),(542,1313510144,1,'admin',78,'8','qa_blog','Editing Chunk (HTML Snippet)'),(543,1313510176,1,'admin',79,'8','-','Saving Chunk (HTML Snippet)'),(544,1313510177,1,'admin',76,'-','-','Element management'),(545,1313510189,1,'admin',27,'6','-','Editing resource'),(546,1313510252,1,'admin',5,'6','-','Saving resource'),(547,1313510255,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(548,1313510270,1,'admin',27,'6','-','Editing resource'),(549,1313510283,1,'admin',5,'6','-','Saving resource'),(550,1313510286,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(551,1313510295,1,'admin',76,'-','-','Element management'),(552,1313510440,1,'admin',27,'6','-','Editing resource'),(553,1313510503,1,'admin',5,'6','-','Saving resource'),(554,1313510506,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(555,1313510535,1,'admin',27,'6','-','Editing resource'),(556,1313510554,1,'admin',5,'6','-','Saving resource'),(557,1313510555,1,'admin',27,'6','-','Editing resource'),(558,1313510734,1,'admin',5,'6','-','Saving resource'),(559,1313510734,1,'admin',27,'6','-','Editing resource'),(560,1313510757,1,'admin',5,'6','-','Saving resource'),(561,1313510758,1,'admin',27,'6','-','Editing resource'),(562,1313511348,1,'admin',5,'6','-','Saving resource'),(563,1313511349,1,'admin',27,'6','-','Editing resource'),(564,1313511380,1,'admin',76,'-','-','Element management'),(565,1313511393,1,'admin',77,'-','New Chunk','Creating a new Chunk (HTML Snippet)'),(566,1313511410,1,'admin',79,'-','-','Saving Chunk (HTML Snippet)'),(567,1313511411,1,'admin',76,'-','-','Element management'),(568,1313511413,1,'admin',78,'8','qa_blog','Editing Chunk (HTML Snippet)'),(569,1313511423,1,'admin',79,'8','-','Saving Chunk (HTML Snippet)'),(570,1313511424,1,'admin',76,'-','-','Element management'),(571,1313511428,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(572,1313511435,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(573,1313511436,1,'admin',76,'-','-','Element management'),(574,1313511436,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(575,1313511439,1,'admin',27,'6','-','Editing resource'),(576,1313511454,1,'admin',5,'6','-','Saving resource'),(577,1313511457,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(578,1313511470,1,'admin',76,'-','-','Element management'),(579,1313511472,1,'admin',78,'8','qa_blog','Editing Chunk (HTML Snippet)'),(580,1313511492,1,'admin',76,'-','-','Element management'),(581,1313511493,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(582,1313511508,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(583,1313511508,1,'admin',76,'-','-','Element management'),(584,1313511521,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(585,1313511543,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(586,1313511544,1,'admin',76,'-','-','Element management'),(587,1313512362,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(588,1313512408,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(589,1313512409,1,'admin',76,'-','-','Element management'),(590,1313512438,1,'admin',76,'-','-','Element management'),(591,1313512445,1,'admin',16,'4','QA4Animals Main','Editing template'),(592,1313512491,1,'admin',20,'4','-','Saving template'),(593,1313512492,1,'admin',76,'-','-','Element management'),(594,1313512510,1,'admin',3,'5','Equine','Viewing data for resource'),(595,1313512512,1,'admin',27,'5','-','Editing resource'),(596,1313512571,1,'admin',5,'5','-','Saving resource'),(597,1313512574,1,'admin',3,'5','Equine','Viewing data for resource'),(598,1313512638,1,'admin',76,'-','-','Element management'),(599,1313512640,1,'admin',16,'4','QA4Animals Main','Editing template'),(600,1313512801,1,'admin',96,'4','-','Duplicate Template'),(601,1313512801,1,'admin',16,'6','Duplicate of QA4Animals Main','Editing template'),(602,1313512868,1,'admin',20,'6','-','Saving template'),(603,1313512869,1,'admin',76,'-','-','Element management'),(604,1313512875,1,'admin',78,'2','WebLoginSideBar','Editing Chunk (HTML Snippet)'),(605,1313512881,1,'admin',76,'-','-','Element management'),(606,1313512884,1,'admin',78,'2','WebLoginSideBar','Editing Chunk (HTML Snippet)'),(607,1313512886,1,'admin',76,'-','-','Element management'),(608,1313512888,1,'admin',16,'6','QA4Animals blog','Editing template'),(609,1313512902,1,'admin',20,'6','-','Saving template'),(610,1313512903,1,'admin',76,'-','-','Element management'),(611,1313512915,1,'admin',3,'8','Blog pages','Viewing data for resource'),(612,1313512917,1,'admin',4,'-','-','Creating a resource'),(613,1313512924,1,'admin',4,'-','-','Creating a resource'),(614,1313514295,1,'admin',5,'-','-','Saving resource'),(615,1313514301,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(616,1313514306,1,'admin',27,'6','-','Editing resource'),(617,1313514315,1,'admin',5,'6','-','Saving resource'),(618,1313514317,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(619,1313514911,1,'admin',27,'12','-','Editing resource'),(620,1313514916,1,'admin',76,'-','-','Element management'),(621,1313514918,1,'admin',16,'6','QA4Animals blog','Editing template'),(622,1313514943,1,'admin',20,'6','-','Saving template'),(623,1313514945,1,'admin',76,'-','-','Element management'),(624,1313514985,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(625,1313514989,1,'admin',27,'6','-','Editing resource'),(626,1313514999,1,'admin',76,'-','-','Element management'),(627,1313515008,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(628,1313515039,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(629,1313515040,1,'admin',76,'-','-','Element management'),(630,1313515053,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(631,1313515063,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(632,1313515063,1,'admin',76,'-','-','Element management'),(633,1313515140,1,'admin',27,'6','-','Editing resource'),(634,1313515165,1,'admin',5,'6','-','Saving resource'),(635,1313515168,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(636,1313515179,1,'admin',27,'6','-','Editing resource'),(637,1313515210,1,'admin',5,'6','-','Saving resource'),(638,1313515213,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(639,1313515223,1,'admin',27,'11','-','Editing resource'),(640,1313515235,1,'admin',27,'11','-','Editing resource'),(641,1313515272,1,'admin',5,'11','-','Saving resource'),(642,1313515275,1,'admin',3,'11','Member Signup','Viewing data for resource'),(643,1313515297,1,'admin',75,'-','-','User/ role management'),(644,1313515302,1,'admin',12,'1','admin','Editing user'),(645,1313515313,1,'admin',32,'1','-','Saving user'),(646,1313515314,1,'admin',75,'-','-','User/ role management'),(647,1313515464,1,'admin',27,'12','-','Editing resource'),(648,1313515471,1,'admin',76,'-','-','Element management'),(649,1313515473,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(650,1313515510,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(651,1313515511,1,'admin',76,'-','-','Element management'),(652,1313515513,1,'admin',76,'-','-','Element management'),(653,1313515517,1,'admin',16,'6','QA4Animals blog','Editing template'),(654,1313515525,1,'admin',20,'6','-','Saving template'),(655,1313515526,1,'admin',76,'-','-','Element management'),(656,1313515544,1,'admin',16,'6','QA4Animals blog','Editing template'),(657,1313515560,1,'admin',20,'6','-','Saving template'),(658,1313515560,1,'admin',76,'-','-','Element management'),(659,1313515602,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(660,1313515630,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(661,1313515631,1,'admin',76,'-','-','Element management'),(662,1313515763,1,'admin',27,'12','-','Editing resource'),(663,1313515787,1,'admin',5,'12','South Texas Duck Hunting','Saving resource'),(664,1313515790,1,'admin',3,'12','South Texas Duck Hunting','Viewing data for resource'),(665,1313515860,1,'admin',4,'-','-','Creating a resource'),(666,1313516006,1,'admin',4,'-','-','Creating a resource'),(667,1313516008,1,'admin',5,'-','-','Saving resource'),(668,1313516048,1,'admin',4,'-','-','Creating a resource'),(669,1313516265,1,'admin',4,'-','-','Creating a resource'),(670,1313516267,1,'admin',5,'-','-','Saving resource'),(671,1313516281,1,'admin',27,'8','-','Editing resource'),(672,1313516287,1,'admin',27,'8','-','Editing resource'),(673,1313516288,1,'admin',5,'8','-','Saving resource'),(674,1313516291,1,'admin',3,'8','Blog pages','Viewing data for resource'),(675,1313516296,1,'admin',3,'13','Cracker - a youn Pointer from Anchorage, AL','Viewing data for resource'),(676,1313516298,1,'admin',27,'13','-','Editing resource'),(677,1313516301,1,'admin',5,'13','-','Saving resource'),(678,1313516304,1,'admin',3,'13','Cracker - a young Pointer from Anchorage, AL','Viewing data for resource'),(679,1313516308,1,'admin',4,'-','-','Creating a resource'),(680,1313516387,1,'admin',5,'-','-','Saving resource'),(681,1313516413,1,'admin',27,'8','-','Editing resource'),(682,1313516418,1,'admin',4,'-','-','Creating a resource'),(683,1313516709,1,'admin',5,'-','-','Saving resource'),(684,1313516721,1,'admin',76,'-','-','Element management'),(685,1313516723,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(686,1313516738,1,'admin',76,'-','-','Element management'),(687,1313516741,1,'admin',16,'6','QA4Animals Blog','Editing template'),(688,1313516762,1,'admin',20,'6','-','Saving template'),(689,1313516763,1,'admin',76,'-','-','Element management'),(690,1313516892,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(691,1313516972,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(692,1313516972,1,'admin',76,'-','-','Element management'),(693,1313517027,1,'admin',16,'6','QA4Animals Blog','Editing template'),(694,1313517061,1,'admin',20,'6','-','Saving template'),(695,1313517062,1,'admin',76,'-','-','Element management'),(696,1313517075,1,'admin',16,'6','QA4Animals Blog','Editing template'),(697,1313517083,1,'admin',26,'-','-','Refreshing site'),(698,1313517113,1,'admin',76,'-','-','Element management'),(699,1313517116,1,'admin',16,'6','QA4Animals Blog','Editing template'),(700,1313517155,1,'admin',76,'-','-','Element management'),(701,1313517158,1,'admin',16,'6','QA4Animals Blog','Editing template'),(702,1313517183,1,'admin',3,'12','South Texas Duck Hunting','Viewing data for resource'),(703,1313517186,1,'admin',27,'12','-','Editing resource'),(704,1313517237,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(705,1313517243,1,'admin',27,'6','-','Editing resource'),(706,1313517258,1,'admin',76,'-','-','Element management'),(707,1313517265,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(708,1313517277,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(709,1313517278,1,'admin',76,'-','-','Element management'),(710,1313517722,1,'admin',27,'6','-','Editing resource'),(711,1313517772,1,'admin',5,'6','-','Saving resource'),(712,1313517774,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(713,1313517781,1,'admin',76,'-','-','Element management'),(714,1313517787,1,'admin',16,'4','QA4Animals Main','Editing template'),(715,1313517794,1,'admin',76,'-','-','Element management'),(716,1313517796,1,'admin',16,'6','QA4Animals Blog','Editing template'),(717,1313517922,1,'admin',20,'6','-','Saving template'),(718,1313517923,1,'admin',76,'-','-','Element management'),(719,1313517942,1,'admin',3,'12','South Texas Duck Hunting','Viewing data for resource'),(720,1313517944,1,'admin',27,'12','-','Editing resource'),(721,1313517985,1,'admin',76,'-','-','Element management'),(722,1313517989,1,'admin',16,'6','QA4Animals Blog','Editing template'),(723,1313518008,1,'admin',20,'6','-','Saving template'),(724,1313518008,1,'admin',76,'-','-','Element management'),(725,1313518025,1,'admin',16,'6','QA4Animals Blog','Editing template'),(726,1313518065,1,'admin',20,'6','-','Saving template'),(727,1313518066,1,'admin',76,'-','-','Element management'),(728,1313518145,1,'admin',16,'6','QA4Animals Blog','Editing template'),(729,1313518155,1,'admin',20,'6','-','Saving template'),(730,1313518155,1,'admin',76,'-','-','Element management'),(731,1313518214,1,'admin',16,'6','QA4Animals Blog','Editing template'),(732,1313518231,1,'admin',20,'6','-','Saving template'),(733,1313518231,1,'admin',76,'-','-','Element management'),(734,1313518291,1,'admin',3,'13','Cracker - a young Pointer from Anchorage, AL','Viewing data for resource'),(735,1313518294,1,'admin',27,'13','-','Editing resource'),(736,1313518332,1,'admin',5,'13','-','Saving resource'),(737,1313518334,1,'admin',3,'13','Cracker - a young Pointer from Anchorage, AL','Viewing data for resource'),(738,1313518382,1,'admin',27,'6','-','Editing resource'),(739,1313518389,1,'admin',5,'6','-','Saving resource'),(740,1313518392,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(741,1313518458,1,'admin',27,'6','-','Editing resource'),(742,1313518514,1,'admin',5,'6','-','Saving resource'),(743,1313518517,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(744,1313518520,1,'admin',27,'6','-','Editing resource'),(745,1313518529,1,'admin',5,'6','-','Saving resource'),(746,1313518531,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(747,1313518669,1,'admin',76,'-','-','Element management'),(748,1313518672,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(749,1313518682,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(750,1313518683,1,'admin',76,'-','-','Element management'),(751,1313518804,1,'admin',78,'8','qa_blog','Editing Chunk (HTML Snippet)'),(752,1313518828,1,'admin',80,'8','-','Deleting Chunk (HTML Snippet)'),(753,1313518829,1,'admin',76,'-','-','Element management'),(754,1313518859,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(755,1313518862,1,'admin',27,'6','-','Editing resource'),(756,1313518975,1,'admin',5,'6','-','Saving resource'),(757,1313518978,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(758,1313519084,1,'admin',27,'6','-','Editing resource'),(759,1313519105,1,'admin',5,'6','-','Saving resource'),(760,1313519108,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(761,1313519345,1,'admin',27,'6','-','Editing resource'),(762,1313519428,1,'admin',5,'6','-','Saving resource'),(763,1313519430,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(764,1313519496,1,'admin',27,'6','-','Editing resource'),(765,1313519690,1,'admin',76,'-','-','Element management'),(766,1313519693,1,'admin',16,'4','QA4Animals Main','Editing template'),(767,1313519709,1,'admin',20,'4','-','Saving template'),(768,1313519709,1,'admin',76,'-','-','Element management'),(769,1313519711,1,'admin',16,'6','QA4Animals Blog','Editing template'),(770,1313519720,1,'admin',20,'6','-','Saving template'),(771,1313519720,1,'admin',76,'-','-','Element management'),(772,1313519869,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(773,1313519880,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(774,1313519881,1,'admin',76,'-','-','Element management'),(775,1313519882,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(776,1313519884,1,'admin',27,'6','-','Editing resource'),(777,1313519961,1,'admin',5,'6','-','Saving resource'),(778,1313519964,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(779,1313521096,1,'admin',4,'-','-','Creating a resource'),(780,1313521336,1,'admin',5,'-','-','Saving resource'),(781,1313521359,1,'admin',4,'-','-','Creating a resource'),(782,1313521558,1,'admin',5,'-','-','Saving resource'),(783,1313521683,1,'admin',4,'-','-','Creating a resource'),(784,1313522056,1,'admin',5,'-','-','Saving resource'),(785,1313522069,1,'admin',3,'19','Untitled Resource','Viewing data for resource'),(786,1313522072,1,'admin',27,'19','-','Editing resource'),(787,1313522114,1,'admin',5,'19','-','Saving resource'),(788,1313522117,1,'admin',3,'19','New Food!','Viewing data for resource'),(789,1313524057,1,'admin',58,'-','MODx','Logged in'),(790,1313524062,1,'admin',27,'5','-','Editing resource'),(791,1313524113,1,'admin',5,'5','-','Saving resource'),(792,1313524116,1,'admin',3,'5','Equine','Viewing data for resource'),(793,1313686309,1,'admin',58,'-','MODx','Logged in'),(794,1313686339,1,'admin',76,'-','-','Element management'),(795,1313686347,1,'admin',16,'4','QA4Animals Main','Editing template'),(796,1313691584,1,'admin',27,'2','-','Editing resource'),(797,1313695299,1,'admin',5,'2','-','Saving resource'),(798,1313695302,1,'admin',3,'2','Products','Viewing data for resource'),(799,1314037458,1,'admin',58,'-','MODx','Logged in'),(800,1314037521,1,'admin',3,'2','Products','Viewing data for resource'),(801,1314037524,1,'admin',27,'2','-','Editing resource'),(802,1314037630,1,'admin',5,'2','-','Saving resource'),(803,1314037633,1,'admin',3,'2','Products','Viewing data for resource'),(804,1314037654,1,'admin',27,'2','-','Editing resource'),(805,1314037704,1,'admin',5,'2','-','Saving resource'),(806,1314037705,1,'admin',27,'2','-','Editing resource'),(807,1314037735,1,'admin',5,'2','-','Saving resource'),(808,1314037736,1,'admin',27,'2','-','Editing resource'),(809,1314037817,1,'admin',5,'2','-','Saving resource'),(810,1314037819,1,'admin',27,'2','-','Editing resource'),(811,1314037849,1,'admin',5,'2','-','Saving resource'),(812,1314037850,1,'admin',27,'2','-','Editing resource'),(813,1314045653,1,'admin',58,'-','MODx','Logged in'),(814,1314045665,1,'admin',27,'3','-','Editing resource'),(815,1314045702,1,'admin',5,'3','-','Saving resource'),(816,1314045705,1,'admin',3,'3','Veterinary','Viewing data for resource'),(817,1314045730,1,'admin',27,'4','-','Editing resource'),(818,1314045747,1,'admin',5,'4','-','Saving resource'),(819,1314045750,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(820,1314045789,1,'admin',27,'19','-','Editing resource'),(821,1314045827,1,'admin',5,'19','-','Saving resource'),(822,1314045829,1,'admin',3,'19','New Food!','Viewing data for resource'),(823,1314045838,1,'admin',27,'18','-','Editing resource'),(824,1314045849,1,'admin',5,'18','-','Saving resource'),(825,1314045852,1,'admin',3,'18','Tim Esse and my hunting adventures','Viewing data for resource'),(826,1314045862,1,'admin',3,'19','New Food!','Viewing data for resource'),(827,1314045865,1,'admin',27,'19','-','Editing resource'),(828,1314045885,1,'admin',5,'19','-','Saving resource'),(829,1314045888,1,'admin',3,'19','New Food!','Viewing data for resource'),(830,1314046031,1,'admin',27,'13','-','Editing resource'),(831,1314046038,1,'admin',27,'4','-','Editing resource'),(832,1314046163,1,'admin',5,'4','-','Saving resource'),(833,1314046166,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(834,1314046192,1,'admin',27,'4','-','Editing resource'),(835,1314046340,1,'admin',5,'4','-','Saving resource'),(836,1314046343,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(837,1314046362,1,'admin',27,'4','-','Editing resource'),(838,1314046408,1,'admin',5,'4','-','Saving resource'),(839,1314046411,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(840,1314046417,1,'admin',27,'4','-','Editing resource'),(841,1314046453,1,'admin',5,'4','-','Saving resource'),(842,1314046456,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(843,1314046890,1,'admin',27,'4','-','Editing resource'),(844,1314046917,1,'admin',5,'4','-','Saving resource'),(845,1314046920,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(846,1314054232,1,'admin',27,'10','-','Editing resource'),(847,1314054712,1,'admin',5,'10','-','Saving resource'),(848,1314054715,1,'admin',3,'10','Privacy Policy','Viewing data for resource'),(849,1314054733,1,'admin',27,'10','-','Editing resource'),(850,1314054772,1,'admin',5,'10','-','Saving resource'),(851,1314054773,1,'admin',27,'10','-','Editing resource'),(852,1314054847,1,'admin',5,'10','-','Saving resource'),(853,1314054848,1,'admin',27,'10','-','Editing resource'),(854,1314054876,1,'admin',5,'10','-','Saving resource'),(855,1314054877,1,'admin',27,'10','-','Editing resource'),(856,1314054952,1,'admin',76,'-','-','Element management'),(857,1314054964,1,'admin',76,'-','-','Element management'),(858,1314054965,1,'admin',16,'4','QA4Animals Main','Editing template'),(859,1314055256,1,'admin',94,'10','-','Duplicate resource'),(860,1314055256,1,'admin',3,'20','Duplicate of Privacy Policy','Viewing data for resource'),(861,1314055259,1,'admin',27,'20','-','Editing resource'),(862,1314055303,1,'admin',27,'20','-','Editing resource'),(863,1314055387,1,'admin',27,'20','-','Editing resource'),(864,1314055547,1,'admin',27,'20','-','Editing resource'),(865,1314055576,1,'admin',26,'-','-','Refreshing site'),(866,1314055667,1,'admin',27,'20','-','Editing resource'),(867,1314055681,1,'admin',3,'10','Privacy Policy','Viewing data for resource'),(868,1314055683,1,'admin',27,'10','-','Editing resource'),(869,1314055738,1,'admin',27,'10','-','Editing resource'),(870,1314055860,1,'admin',5,'10','-','Saving resource'),(871,1314055863,1,'admin',3,'10','Privacy Policy','Viewing data for resource'),(872,1314056455,1,'admin',58,'-','MODx','Logged in'),(873,1314056463,1,'admin',27,'10','-','Editing resource'),(874,1314056531,1,'admin',27,'20','-','Editing resource'),(875,1314056903,1,'admin',5,'20','-','Saving resource'),(876,1314056906,1,'admin',3,'20','Return Policy','Viewing data for resource'),(877,1314056921,1,'admin',27,'20','-','Editing resource'),(878,1314057024,1,'admin',5,'20','-','Saving resource'),(879,1314057026,1,'admin',3,'20','Return Policy','Viewing data for resource'),(880,1314057055,1,'admin',27,'20','-','Editing resource'),(881,1314057076,1,'admin',5,'20','-','Saving resource'),(882,1314057082,1,'admin',3,'20','Return Policy','Viewing data for resource'),(883,1314057103,1,'admin',27,'20','-','Editing resource'),(884,1314057141,1,'admin',5,'20','-','Saving resource'),(885,1314057144,1,'admin',3,'20','Return Policy','Viewing data for resource'),(886,1314057151,1,'admin',27,'20','-','Editing resource'),(887,1314057164,1,'admin',5,'20','-','Saving resource'),(888,1314057166,1,'admin',3,'20','Return Policy','Viewing data for resource'),(889,1314057178,1,'admin',27,'20','-','Editing resource'),(890,1314057196,1,'admin',5,'20','-','Saving resource'),(891,1314057199,1,'admin',3,'20','Return Policy','Viewing data for resource'),(892,1314057217,1,'admin',27,'20','-','Editing resource'),(893,1314057258,1,'admin',5,'20','-','Saving resource'),(894,1314057261,1,'admin',3,'20','Return Policy','Viewing data for resource'),(895,1314057266,1,'admin',27,'20','-','Editing resource'),(896,1314057285,1,'admin',5,'20','-','Saving resource'),(897,1314057288,1,'admin',3,'20','Return Policy','Viewing data for resource'),(898,1314060200,1,'admin',76,'-','-','Element management'),(899,1314060204,1,'admin',78,'9','qa_blog2','Editing Chunk (HTML Snippet)'),(900,1314060249,1,'admin',79,'9','-','Saving Chunk (HTML Snippet)'),(901,1314060249,1,'admin',76,'-','-','Element management'),(902,1314124058,1,'admin',58,'-','MODx','Logged in'),(903,1314124064,1,'admin',3,'2','Products','Viewing data for resource'),(904,1314124066,1,'admin',27,'2','-','Editing resource'),(905,1314124089,1,'admin',4,'-','-','Creating a resource'),(906,1314124175,1,'admin',5,'-','-','Saving resource'),(907,1314124231,1,'admin',3,'21','Product Selection','Viewing data for resource'),(908,1314124233,1,'admin',27,'21','-','Editing resource'),(909,1314124303,1,'admin',5,'21','-','Saving resource'),(910,1314124306,1,'admin',3,'21','Product Selection','Viewing data for resource'),(911,1314124318,1,'admin',27,'21','-','Editing resource'),(912,1314124348,1,'admin',5,'21','-','Saving resource'),(913,1314124351,1,'admin',3,'21','Product Selection','Viewing data for resource'),(914,1314124363,1,'admin',27,'21','-','Editing resource'),(915,1314124373,1,'admin',5,'21','-','Saving resource'),(916,1314124376,1,'admin',3,'21','Product Selection','Viewing data for resource'),(917,1314125881,1,'admin',27,'21','-','Editing resource'),(918,1314125898,1,'admin',5,'21','-','Saving resource'),(919,1314125901,1,'admin',3,'21','Product Selection','Viewing data for resource'),(920,1314125907,1,'admin',27,'21','-','Editing resource'),(921,1314125914,1,'admin',5,'21','-','Saving resource'),(922,1314125917,1,'admin',3,'21','Product Selection','Viewing data for resource'),(923,1314125939,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(924,1314125941,1,'admin',27,'1','-','Editing resource'),(925,1314125968,1,'admin',5,'1','-','Saving resource'),(926,1314125971,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(927,1314125985,1,'admin',27,'3','-','Editing resource'),(928,1314125994,1,'admin',5,'3','-','Saving resource'),(929,1314125997,1,'admin',3,'3','Veterinary','Viewing data for resource'),(930,1314126002,1,'admin',27,'3','-','Editing resource'),(931,1314126051,1,'admin',5,'3','-','Saving resource'),(932,1314126054,1,'admin',3,'3','Veterinary','Viewing data for resource'),(933,1314126084,1,'admin',3,'6','Qwick-AID Blog','Viewing data for resource'),(934,1314126089,1,'admin',27,'4','-','Editing resource'),(935,1314126137,1,'admin',5,'4','-','Saving resource'),(936,1314126140,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(937,1314126161,1,'admin',27,'5','-','Editing resource'),(938,1314126240,1,'admin',5,'5','-','Saving resource'),(939,1314126243,1,'admin',3,'5','Equine','Viewing data for resource'),(940,1314126248,1,'admin',27,'5','-','Editing resource'),(941,1314126298,1,'admin',5,'5','-','Saving resource'),(942,1314126301,1,'admin',3,'5','Equine','Viewing data for resource'),(943,1314126309,1,'admin',27,'5','-','Editing resource'),(944,1314126348,1,'admin',5,'5','-','Saving resource'),(945,1314126351,1,'admin',3,'5','Equine','Viewing data for resource'),(946,1314126357,1,'admin',27,'5','-','Editing resource'),(947,1314126368,1,'admin',5,'5','-','Saving resource'),(948,1314126371,1,'admin',3,'5','Equine','Viewing data for resource'),(949,1314126378,1,'admin',27,'4','-','Editing resource'),(950,1314126400,1,'admin',5,'4','-','Saving resource'),(951,1314126403,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(952,1314126423,1,'admin',27,'3','-','Editing resource'),(953,1314126430,1,'admin',5,'3','-','Saving resource'),(954,1314126433,1,'admin',3,'3','Veterinary','Viewing data for resource'),(955,1314126453,1,'admin',3,'2','Products','Viewing data for resource'),(956,1314126455,1,'admin',27,'2','-','Editing resource'),(957,1314126516,1,'admin',5,'2','-','Saving resource'),(958,1314126519,1,'admin',3,'2','Products','Viewing data for resource'),(959,1314126534,1,'admin',27,'2','-','Editing resource'),(960,1314126552,1,'admin',27,'21','-','Editing resource'),(961,1314126596,1,'admin',5,'21','-','Saving resource'),(962,1314126599,1,'admin',3,'21','Product Selection','Viewing data for resource'),(963,1314139695,1,'admin',27,'2','-','Editing resource'),(964,1314139719,1,'admin',5,'2','-','Saving resource'),(965,1314139722,1,'admin',3,'2','Products','Viewing data for resource'),(966,1314139724,1,'admin',27,'21','-','Editing resource'),(967,1314139747,1,'admin',5,'21','-','Saving resource'),(968,1314139749,1,'admin',3,'21','Product Selection','Viewing data for resource'),(969,1314139891,1,'admin',76,'-','-','Element management'),(970,1314139908,1,'admin',16,'4','QA4Animals Main','Editing template'),(971,1314139988,1,'admin',20,'4','-','Saving template'),(972,1314139988,1,'admin',76,'-','-','Element management'),(973,1314140028,1,'admin',3,'21','Product Selection','Viewing data for resource'),(974,1314140033,1,'admin',27,'21','-','Editing resource'),(975,1314140081,1,'admin',5,'21','-','Saving resource'),(976,1314140084,1,'admin',3,'21','Product Selection','Viewing data for resource'),(977,1314140097,1,'admin',27,'21','-','Editing resource'),(978,1314140106,1,'admin',5,'21','-','Saving resource'),(979,1314140109,1,'admin',3,'21','Product Selection','Viewing data for resource'),(980,1314140117,1,'admin',27,'21','-','Editing resource'),(981,1314140124,1,'admin',5,'21','-','Saving resource'),(982,1314140127,1,'admin',3,'21','Product Selection','Viewing data for resource'),(983,1314140135,1,'admin',27,'21','-','Editing resource'),(984,1314140154,1,'admin',5,'21','-','Saving resource'),(985,1314140157,1,'admin',3,'21','Product Selection','Viewing data for resource'),(986,1314154769,1,'admin',3,'21','Product Selection','Viewing data for resource'),(987,1314154771,1,'admin',27,'21','-','Editing resource'),(988,1314307498,1,'admin',58,'-','MODx','Logged in'),(989,1314307507,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(990,1314307511,1,'admin',27,'1','-','Editing resource'),(991,1314307590,1,'admin',5,'1','-','Saving resource'),(992,1314307592,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(993,1314307643,1,'admin',27,'1','-','Editing resource'),(994,1314307651,1,'admin',76,'-','-','Element management'),(995,1314307654,1,'admin',16,'4','QA4Animals Main','Editing template'),(996,1314307721,1,'admin',20,'4','-','Saving template'),(997,1314307722,1,'admin',76,'-','-','Element management'),(998,1314307745,1,'admin',76,'-','-','Element management'),(999,1314307749,1,'admin',16,'4','QA4Animals Main','Editing template'),(1000,1314307768,1,'admin',20,'4','-','Saving template'),(1001,1314307768,1,'admin',76,'-','-','Element management'),(1002,1314307832,1,'admin',76,'-','-','Element management'),(1003,1314307834,1,'admin',16,'4','QA4Animals Main','Editing template'),(1004,1314307841,1,'admin',20,'4','-','Saving template'),(1005,1314307842,1,'admin',76,'-','-','Element management'),(1006,1314307887,1,'admin',76,'-','-','Element management'),(1007,1314307894,1,'admin',16,'4','QA4Animals Main','Editing template'),(1008,1314308062,1,'admin',58,'-','MODx','Logged in'),(1009,1314308067,1,'admin',26,'-','-','Refreshing site'),(1010,1314308073,1,'admin',76,'-','-','Element management'),(1011,1314308075,1,'admin',16,'4','QA4Animals Main','Editing template'),(1012,1314308090,1,'admin',20,'4','-','Saving template'),(1013,1314308091,1,'admin',76,'-','-','Element management'),(1014,1314308207,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(1015,1314308210,1,'admin',27,'1','-','Editing resource'),(1016,1314308231,1,'admin',5,'1','-','Saving resource'),(1017,1314308233,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(1018,1314308235,1,'admin',76,'-','-','Element management'),(1019,1314308678,1,'admin',3,'2','Products','Viewing data for resource'),(1020,1314308680,1,'admin',27,'2','-','Editing resource'),(1021,1314308812,1,'admin',5,'2','-','Saving resource'),(1022,1314308815,1,'admin',3,'2','Products','Viewing data for resource'),(1023,1314308819,1,'admin',27,'3','-','Editing resource'),(1024,1314308920,1,'admin',5,'3','-','Saving resource'),(1025,1314308923,1,'admin',3,'3','Veterinary','Viewing data for resource'),(1026,1314308925,1,'admin',27,'4','-','Editing resource'),(1027,1314309055,1,'admin',5,'4','-','Saving resource'),(1028,1314309058,1,'admin',3,'4','Sporting Dogs','Viewing data for resource'),(1029,1314309060,1,'admin',27,'5','-','Editing resource'),(1030,1314309187,1,'admin',5,'5','-','Saving resource'),(1031,1314309190,1,'admin',3,'5','Equine','Viewing data for resource'),(1032,1314309196,1,'admin',27,'7','-','Editing resource'),(1033,1314309300,1,'admin',5,'7','-','Saving resource'),(1034,1314309303,1,'admin',3,'7','Contact','Viewing data for resource'),(1035,1314309306,1,'admin',27,'21','-','Editing resource'),(1036,1314309390,1,'admin',5,'21','-','Saving resource'),(1037,1314309393,1,'admin',3,'21','Product Selection','Viewing data for resource'),(1038,1314730766,1,'admin',58,'-','MODx','Logged in'),(1039,1314730772,1,'admin',3,'21','Product Selection','Viewing data for resource'),(1040,1314730775,1,'admin',27,'21','-','Editing resource'),(1041,1314730837,1,'admin',5,'21','-','Saving resource'),(1042,1314730839,1,'admin',3,'21','Product Selection','Viewing data for resource'),(1043,1314730843,1,'admin',27,'2','-','Editing resource'),(1044,1314730895,1,'admin',5,'2','-','Saving resource'),(1045,1314730898,1,'admin',3,'2','Products','Viewing data for resource'),(1046,1314730901,1,'admin',8,'-','-','Logged out'),(1047,1314737186,1,'admin',58,'-','MODx','Logged in'),(1048,1314737195,1,'admin',3,'21','Product Selection','Viewing data for resource'),(1049,1314737200,1,'admin',94,'21','-','Duplicate resource'),(1050,1314737201,1,'admin',3,'22','Duplicate of Product Selection','Viewing data for resource'),(1051,1314737206,1,'admin',27,'22','-','Editing resource'),(1052,1314737453,1,'admin',5,'22','-','Saving resource'),(1053,1314737459,1,'admin',3,'22','ESSFT Discount Purchase Page','Viewing data for resource'),(1054,1314738341,1,'admin',27,'22','-','Editing resource'),(1055,1314738359,1,'admin',5,'22','-','Saving resource'),(1056,1314738362,1,'admin',3,'22','ESSFTA Discount Purchase Page','Viewing data for resource'),(1057,1323720777,1,'admin',58,'-','MODx','Logged in'),(1058,1323720785,1,'admin',27,'2','-','Editing resource'),(1059,1323720801,1,'admin',94,'2','-','Duplicate resource'),(1060,1323720801,1,'admin',3,'23','Duplicate of Products','Viewing data for resource'),(1061,1323720805,1,'admin',27,'23','-','Editing resource'),(1062,1323720819,1,'admin',5,'23','-','Saving resource'),(1063,1323720822,1,'admin',3,'23','Products2','Viewing data for resource'),(1064,1323721369,1,'admin',27,'2','-','Editing resource'),(1065,1323722827,1,'admin',27,'23','-','Editing resource'),(1066,1323722842,1,'admin',5,'23','-','Saving resource'),(1067,1323722844,1,'admin',3,'23','Products2','Viewing data for resource'),(1068,1323722866,1,'admin',27,'2','-','Editing resource'),(1069,1323722879,1,'admin',5,'2','-','Saving resource'),(1070,1323722881,1,'admin',3,'2','Products','Viewing data for resource'),(1071,1323805241,1,'admin',58,'-','MODx','Logged in'),(1072,1323805246,1,'admin',27,'23','-','Editing resource'),(1073,1323805388,1,'admin',5,'23','-','Saving resource'),(1074,1323805390,1,'admin',3,'23','Products2','Viewing data for resource'),(1075,1323913318,1,'admin',58,'-','MODx','Logged in'),(1076,1323913324,1,'admin',27,'23','-','Editing resource'),(1077,1325195273,1,'admin',58,'-','MODx','Logged in'),(1078,1325195288,1,'admin',62,'2','-','Un-publishing a resource'),(1079,1325195293,1,'admin',27,'23','-','Editing resource'),(1080,1325195307,1,'admin',27,'23','-','Editing resource'),(1081,1325195360,1,'admin',5,'23','-','Saving resource'),(1082,1325195362,1,'admin',3,'23','Products','Viewing data for resource'),(1083,1325195401,1,'admin',27,'23','-','Editing resource'),(1084,1325195438,1,'admin',27,'2','-','Editing resource'),(1085,1325195449,1,'admin',5,'2','-','Saving resource'),(1086,1325195451,1,'admin',3,'2','Products','Viewing data for resource'),(1087,1325195485,1,'admin',27,'2','-','Editing resource'),(1088,1325195495,1,'admin',26,'-','-','Refreshing site'),(1089,1325195542,1,'admin',27,'2','-','Editing resource'),(1090,1325195555,1,'admin',27,'23','-','Editing resource'),(1091,1325195564,1,'admin',5,'23','-','Saving resource'),(1092,1325195566,1,'admin',3,'23','Products','Viewing data for resource'),(1093,1325195686,1,'admin',27,'23','-','Editing resource'),(1094,1333674586,1,'admin',58,'-','MODx','Logged in'),(1095,1333674596,1,'admin',3,'2','Products','Viewing data for resource'),(1096,1333674599,1,'admin',27,'2','-','Editing resource'),(1097,1333674686,1,'admin',8,'-','-','Logged out'),(1098,1333674869,1,'admin',58,'-','MODx','Logged in'),(1099,1333674877,1,'admin',3,'1','Qwick-AID 4 Animals','Viewing data for resource'),(1100,1333674886,1,'admin',27,'1','-','Editing resource'),(1101,1333674938,1,'admin',3,'21','Product Selection','Viewing data for resource'),(1102,1333674941,1,'admin',27,'21','-','Editing resource'),(1103,1333674970,1,'admin',3,'23','Products','Viewing data for resource'),(1104,1333674973,1,'admin',27,'23','-','Editing resource'),(1105,1333675047,1,'admin',3,'21','Product Selection','Viewing data for resource'),(1106,1333675049,1,'admin',27,'21','-','Editing resource'),(1107,1333675116,1,'admin',5,'21','-','Saving resource'),(1108,1333675119,1,'admin',3,'21','Product Selection','Viewing data for resource');

--
-- Table structure for table `modx_manager_users`
--

CREATE TABLE `modx_manager_users` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `username` varchar(100) NOT NULL DEFAULT '',
  `password` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='Contains login information for backend users.';

--
-- Dumping data for table `modx_manager_users`
--

INSERT INTO `modx_manager_users` VALUES (1,'admin','70cbc2cecbce2ce5e5f4519b0e633046');

--
-- Table structure for table `modx_member_groups`
--

CREATE TABLE `modx_member_groups` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `user_group` int(10) NOT NULL DEFAULT '0',
  `member` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `ix_group_member` (`user_group`,`member`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for access permissions.';

--
-- Dumping data for table `modx_member_groups`
--


--
-- Table structure for table `modx_membergroup_access`
--

CREATE TABLE `modx_membergroup_access` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `membergroup` int(10) NOT NULL DEFAULT '0',
  `documentgroup` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for access permissions.';

--
-- Dumping data for table `modx_membergroup_access`
--


--
-- Table structure for table `modx_membergroup_names`
--

CREATE TABLE `modx_membergroup_names` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for access permissions.';

--
-- Dumping data for table `modx_membergroup_names`
--


--
-- Table structure for table `modx_site_content`
--

CREATE TABLE `modx_site_content` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `type` varchar(20) NOT NULL DEFAULT 'document',
  `contentType` varchar(50) NOT NULL DEFAULT 'text/html',
  `pagetitle` varchar(255) NOT NULL DEFAULT '',
  `longtitle` varchar(255) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT '',
  `alias` varchar(255) DEFAULT '',
  `link_attributes` varchar(255) NOT NULL DEFAULT '',
  `published` int(1) NOT NULL DEFAULT '0',
  `pub_date` int(20) NOT NULL DEFAULT '0',
  `unpub_date` int(20) NOT NULL DEFAULT '0',
  `parent` int(10) NOT NULL DEFAULT '0',
  `isfolder` int(1) NOT NULL DEFAULT '0',
  `introtext` text COMMENT 'Used to provide quick summary of the document',
  `content` mediumtext,
  `richtext` tinyint(1) NOT NULL DEFAULT '1',
  `template` int(10) NOT NULL DEFAULT '1',
  `menuindex` int(10) NOT NULL DEFAULT '0',
  `searchable` int(1) NOT NULL DEFAULT '1',
  `cacheable` int(1) NOT NULL DEFAULT '1',
  `createdby` int(10) NOT NULL DEFAULT '0',
  `createdon` int(20) NOT NULL DEFAULT '0',
  `editedby` int(10) NOT NULL DEFAULT '0',
  `editedon` int(20) NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `deletedon` int(20) NOT NULL DEFAULT '0',
  `deletedby` int(10) NOT NULL DEFAULT '0',
  `publishedon` int(20) NOT NULL DEFAULT '0',
  `publishedby` int(10) NOT NULL DEFAULT '0',
  `menutitle` varchar(255) NOT NULL DEFAULT '' COMMENT 'Menu title',
  `donthit` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Disable page hit count',
  `haskeywords` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'has links to keywords',
  `hasmetatags` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'has links to meta tags',
  `privateweb` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Private web document',
  `privatemgr` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Private manager document',
  `content_dispo` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-inline, 1-attachment',
  `hidemenu` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Hide document from menu',
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `parent` (`parent`),
  KEY `aliasidx` (`alias`),
  FULLTEXT KEY `content_ft_idx` (`pagetitle`,`description`,`content`)
) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=latin1 COMMENT='Contains the site document tree.';

--
-- Dumping data for table `modx_site_content`
--

INSERT INTO `modx_site_content` VALUES (1,'document','text/html','Qwick-AID 4 Animals','Hemostatic bandages for first responders and early wound management','','home','',1,0,0,0,0,'Qwick-AID\'s primary use is for hemostatic applications. It stops vascular and capillary bleeding in seconds. The unique, specially formulated first layer assures good hemostatic effect while the second layer evacuates discharge and bacteria from wounds.','{{scrollbanner}}\r\n\r\n<div id=\"fullcontent\">\r\n<div class=\"heavyleft\">\r\n <h2>Hemostatic Bandages for Animals</h2>\r\n\r\n<p>The Qwick-AID Multi-Use Hemostatic Bandage is an all natural composite textile. Its patent pending technology has many effective applications for treating operative and post-operative animal wounds of all sizes. \r\n<br /><br />\r\nQwick-AID\'s primary use is for hemostatic applications. The bandage stops vascular and capillary bleeding in seconds. The unique, specially formulated first layer assures good hemostatic effect while the second layer evacuates discharge and bacteria from the wound. \r\n<br /><br />\r\nQwick-AID Bandages will not stick to a wound, will not create a hothouse effect, and only require re-moisturization with water to be an effective dressing for up to 3 days. Qwick-AID Bandages have been used in trauma and surgical procedures in a major zoo medical center in treating Asian elephants, zebras, and giant tortoises. They have reported a great time and cost savings vs. the foams, gauze and wrappings currently in use.  When the San Diego Zoo received donated elephants from the circus their feet were in need of repair due to the restraining chains, QwickAID was the bandage of choice for the immediate surgery.\r\n<br /><br />\r\nQwick-AID Multi-Use Hemostatic Bandages for Animals come in 2 sizes, a convenient 2\" by 4\" dressing and a large 7\" by 9\" sheet, which can be cut to easily fit different wound sizes and shapes.\r\n</p>\r\n</div>\r\n<div class=\"lightright\">\r\n<p style=\"text-align: center\"><img src=\"assets/images/product.jpg\" alt=\"2 x 4 Qwick-Aid Bandages\" />\r\n<br />\r\n<a href=\"[~21~]\">Buy now</a></p>\r\n</div>\r\n</div>\r\n<div id=\"fullcontent\">\r\n<h3 class=\"block\">Multi-purpose Applications</h3>\r\n<div class=\"splitleft\">\r\n<p style=\"text-align: center\"><img src=\"assets/images/large-bandage.jpg\" height=\"80%\" width=\"80%\" alt=\"Qwick-Aid Hemostatic Bandage\" /><br /><strong>Bandage Sheet</strong></p>\r\n<p style=\"padding-bottom: 0px\"><span class=\"quote\">\r\n\"I have used Qwick-AID on a number of patients now and I am thoroughly impressed on how well it works. It was a treat to use something that was labeled as a \"stop bleeding\" product that actually worked.  I have started using it on several different wounds and incisions, each time it has far exceeded my                                                                                                                      \r\nexpectations of a bandage. I will use Qwick-AID first before I start with any other therapies. Many of the non-healing wounds                                                                                                                        \r\nheal very well with just Qwick-AID applied.\"</span><div class=\"qattrib\">Scott Reiners, DVM, DACVS</div></p>\r\n\r\n</div>\r\n<div class=\"splitright\">\r\n<h3>Product Features</h3>\r\n<div class=\"bullets\">\r\n<ul>\r\n<li>Qwick-AID Bandages are formulated from all natural bio- compatible ingredients</li>\r\n<li>Clinically proven not to elicit allergic reaction or irritation</li>\r\n<li>Bio-compatible alginate layer acts as an antiseptic lubricant to facilitate healing of wounds, sores, or burns</li>\r\n<li>Qwick-AID will not stick to a wound and will not create a hothouse effect due to air permeability</li>\r\n<li>Assures good therapeutic effect while maintaining the stability of the dressing due to patent pending textile composition</li>\r\n<li>Natural, non-allergenic antiseptics in the dressing make it ideal for field emergency use. Recommended to treat purulent inflammation of soft tissues</li>\r\n<li>Convenient 7\" by 9\" sheets can be easily cut to fit hard to reach areas and all  sizes of wounds</li>\r\n<li>Requires only re-moisturizing with water to be an effective dressing for up to 3 days</li>\r\n<li>May be used with pharmaceutical topicals</li>\r\n</ul>\r\n</div>\r\n</div>\r\n</div>\r\n<div id=\"fullcontent\">\r\n<p><a href=\"[~6~]\" title=\"Qwick-AID Bandages Testimonials\" /><img src=\"assets/images/home-footer.jpg\" alt=\"Qwick-AID works for multiple applications.\" border=\"0\" /></a></p>\r\n</div><!-- end fullcontent  -->',1,4,0,1,1,1,1130304721,1,1314308231,0,0,0,1130304721,1,'Home',0,0,0,0,0,0,0),(2,'document','text/html','Products','Veterinary Bandages, Surgical Dressing, Ambulatory Bandages for Animals','','products','',1,0,0,0,0,'Qwick-AID Bandages are formulated from all natural bio-compatible ingredients and are clinically proven not to elicit allergic reaction or irritation. Qwick-AID does not stick to wounds and will not create a hothouse effect on the skin.','{{scrollbanner}}\r\n\r\n<div id=\"fullcontent\">\r\n<div class=\"heavyleft\">\r\n<h3>Clinical Studies Overview</h3>\r\n<div style=\"margin-bottom: 25px;\">Evidence Based Results</div>\r\n<ul style=\"margin-top: 0;\">\r\n<h4>A Trauma Dressing</h4>\r\n<ul>\r\n<li>Halts capillary/vascular bleeding</li>\r\n<li>Highly efficient in hemostasis in venous hemorrhage from small and medium veinss</li>\r\n<li>Recommended for use in trauma and parenchymatous hemorrhage</li>\r\n</ul>\r\n\r\n<h4>For Slow Healing Wounds</h4>\r\n<ul>\r\n<li>No occurrence of allergic reaction or local irritation</li>\r\n<li>Did not stick to the wound and removed without pain</li>\r\n<li>Allowed patients to undergo treatment in an outpatient basis with no dermal side effects</li>\r\n<li>Easy and cost effective</li>\r\n</ul>\r\n</ul>\r\n</div>\r\n<div class=\"lightright\">\r\n<p><img src=\"assets/images/retrieval.jpg\" alt=\"Successful retrieval\" /><br />                                                                                        \r\n</p>\r\n</div>\r\n</div>\r\n<div id=\"fullcontent\">\r\n\r\n<div class=\"splitleft\">\r\n<p><img src=\"assets/images/product.jpg\" alt=\"Qwick-Aid Bandages\" /></p>\r\n<table class=\"price\">\r\n<tr>\r\n<td class=\"price\">#7070929 QA<br />Individual Bandage 2\" x 4\"</td>\r\n<td class=\"price\">$19.00/ea</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=10\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#707090 QA<br />12 Bandages/box</td>\r\n<td class=\"price\">$228.00/box</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=11\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070931 QA<br />6 Boxes/case (72 Bandages)</td>\r\n<td class=\"price\">$1368.00/case</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=12\">Add to Cart</a></td>\r\n</tr>\r\n</table>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<p><img src=\"assets/images/large-bandage.jpg\" alt=\"Qwick-Aid Bandages\" align=\"right\" /></p>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n</div>\r\n<div class=\"splitright\">\r\n<h3>Product Features</h3>\r\n<ul>\r\n<li>Qwick-AID Bandages are formulated from all natural bio-compatible ingredients</li>\r\n<li>Clinically proven not to elicit allergic reaction or irritation</li>\r\n<li>Bio-compatible alginate layer acts as an antiseptic lubricant to facilitate healing of wounds, sores, or burns</li>\r\n<li>Qwick-AID will not stick to a wound and will not create a hothouse effect due to air permeability</li>\r\n<li>Assures good therapeutic effect while maintaining the stability of the dressing due to patent pending textile composition</li>\r\n<li>Natural, non-allergenic antiseptics in the dressing makes it ideal for field emergency use.   Recommended to treat purulent inflammation of soft tissues</li>                                                                                                                                                                                                                   \r\n<li>Convenient 7â€ by 9â€ sheets can be easily cut to fit hard to reach areas and all  sizes of wounds effective dressing for up to 3 days</li>\r\n<li>May be used with pharmaceutical topicals</li>\r\n</ul>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<table class=\"price\">\r\n<tr>\r\n<td class=\"price\">#7070910 QA<br />Bandage Sheets  7\" x 9\"</td>\r\n<td class=\"price\">$43.00/ea</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=7\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070909 QA<br />6 Sheets/box</td>\r\n<td class=\"price\">$258.00/box</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=8\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070908 QA<br />4 Boxes/case (24 Sheets)</td>\r\n<td class=\"price\">$1032.00/case</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=9\">Add to Cart</a></td>\r\n</tr>\r\n</table>\r\n\r\n</div>\r\n</div>',1,4,1,1,0,1,1313256019,1,1325195449,0,0,0,1325195449,1,'',0,0,0,0,0,0,1),(3,'document','text/html','Veterinary','Wound care dressing for Veterinarians','','veterinary','',1,0,0,0,0,'Qwick-AID is the bandage of choice for surgery and post operative healing. From major surgery, dental operations to post operative healing and first aid for your pets, Qwick-AID will handle the job!','{{scrollbanner}}\r\n\r\n<div id=\"fullcontent\">\r\n<div class=\"splitleft\">\r\n<img src=\"assets/images/dog-exam.jpg\" alt=\"Dog Exam\" />\r\n<p style=\"padding-bottom: 0px\"><span class=\"quote\">\"I found Qwick-AID bandage application to be very effective in stopping the bleeding and enhance ulcer healing.  It is easy to apply, works fast and even provides extra cushion and protection to very sensitive spots.\"</span><div class=\"qattrib\"><strong>Avi Zechory, DVM</div></p>\r\n</div>\r\n<div class=\"splitright\">\r\n<p><strong>When the San Diego Zoo received elephants donated by the circus, immediate surgery was required on their legs/feet due to restraining chains; Qwick-AID® was the bandage of choice for this surgery and post operative healing. From major surgery, dental operations to post operative healing and first aid for your pets, Qwick-AID will handle the job!</strong></p>\r\n<p style=\"text-align: center\"><img src=\"assets/images/qa-logo-med.gif\" alt=\"Qwick-Aid\" /><br />\r\n<img src=\"assets/images/dog-surgery.jpg\" alt=\"Veterinarian surgical dressing\" /></p>\r\n</div>\r\n</div><!-- end fullcontent -->\r\n\r\n<div id=\"fullcontent\">\r\n<h3 class=\"grayblock\">&nbsp;</h3>\r\n<div class=\"splitleft\">\r\n<h3>Clinical Studies Overview</h3>\r\n<div>Evidence Based Results</div>\r\n<ul>\r\n<h4>A Trauma Dressing</h4>\r\n<ul>\r\n<li>Halts capillary/vascular bleeding in 30-40 seconds</li>\r\n<li>Highly efficient in hemostasis in venous hemorrhage from small and medium veins</li>\r\n<li>Hemostatic Effect develops within first minute of 100% of cases</li>\r\n<li>Recommended for use in trauma, surgery, and cavitary operations</li>\r\n</ul>\r\n\r\n<h4>For Slow Healing Wounds</h4>\r\n<ul>\r\n<li>Assists in the formation of soft elastic scars</li>\r\n<li>Accelerates re-epithelization of wounds</li>\r\n<li>No occurrence of allergic reaction or local irritation</li>\r\n<li>Easy and cost effective in broad veterinary practice </li>\r\n</ul>\r\n</ul>\r\n</div>\r\n<div class=\"splitright\">\r\n<p><img src=\"assets/images/qwickaid-box.jpg\" alt=\"Qwick-AID box\" /><br />\r\nBandages for early wound management come in 2 sizes; a convenient 2â€ x 4â€ dressing and a large 7â€ x 9â€ sheet,  which can be cut to easily fit different wound sizes and shapes.                                                                                         \r\n</p>\r\n</div>\r\n</div>\r\n<div id=\"fullcontent\">\r\n<h3 class=\"redblock\">&nbsp;</h3>\r\n<div class=\"splitleft\">\r\n<p><img src=\"assets/images/vet-with-dog.jpg\" alt=\"wound care for dogs\" />\r\n</div>\r\n<div class=\"splitright\">\r\n<p>Qwick-AID’s primary use is for early wound management. The dressing stops vascular and capillary bleeding in seconds. The unique, specially formulated first layer assures good haemostatic effect while the second layer promotes cell migration and evacuates discharge and bacteria from the wound. The third layer has anti-inflammatory and antiseptic characteristics.</p>\r\n<p style=\"font-weight: bold; color: #8e0202;\">\r\nEveryday in almost every aspect of our lives products and services are constantly being up-dated. From computers to cars to mobile phones and sports equipment.  No one wants last week’s product, let alone last year\'s. So why would you look at your veterinary supplies or first aid kit any differently?</p>\r\n<p style=\"text-align: center\">\r\n<img src=\"assets/images/product.jpg\" alt=\"Qwick-Aid Bandages with box\" /><br />\r\n<a href=\"[~21~]\">Buy now</a></p>\r\n</div>\r\n</div>',1,4,2,1,0,1,1313256237,1,1314308920,0,0,0,1313256237,1,'Veterinary',0,0,0,0,0,0,0),(4,'document','text/html','Sporting Dogs','Emergency Wound Dressing for Dogs','','sporting-dogs','',1,0,0,0,0,'Sporting dog owners pack Qwick-AID® Bandages as a trauma dressing used to provide immediate first-aid for you or your dog while hunting or participating in a field trial.','{{scrollbanner}}\r\n\r\n<div id=\"fullcontent\">\r\n<div class=\"splitleft\">\r\n<h2>Dressing for First Responders<br />Early Wound Management</h2>\r\n<p><strong>The Qwick-AID® Bandage is a trauma dressing designed to provide immediate first-aid for you and your dog while hunting or participating in a field trial.</strong>\r\n<br /><br />\r\nThe Qwick-AID® Multi-Use Bandage is a three-layered all natural  composite textile. Its patent pending technology has many effective applications for treating post-operative wounds of all sizes.\r\n<br /><br />\r\nQwick-AID’s primary use is for early wound management. The dressing stops vascular and capillary bleeding in seconds. The unique, specially formulated first layer assures good haemostatic effect while the second layer promotes cell migration and evacuates discharge and bacteria from the wound. The third layer has anti-inflammatory and antiseptic characteristics.\r\n<br /><br />\r\nQwick-AID Bandages will not stick to a wound, will not create a hothouse effect, and only require re-moisturizing with water to be an effective dressing for up to 3 days. Qwick-AID dressings  have been used in trauma and surgical procedures in a major zoo medical center in treating Asian elephants, zebra, and giant tortoises. They have reported a great time and cost savings vs. the foams, gauze and wrappings currently in use.  A large equine surgery center reported complete hemostasis in 30 - 60 seconds for throat and leg surgery.\r\n<br /><br />\r\nEveryday in almost every aspect of our lives products and services are constantly being up-dated. From computers to cars to mobile phones and sports equipment.  No one wants last week’s product, let alone last years. So why would you look at your veterinary supplies or first aid kit any differently?\r\n</p>\r\n</div>\r\n<div class=\"splitright\">\r\n<h2 style=\"color: #C6C6C6; text-align: center\">HUNTERS • DOG TRAINERS • HANDLERS<br />\r\nFIELD TRIAL COMMITTEE MEMBERS<br />\r\nMARSHALLS • JUDGES</h2>\r\n<p style=\"text-align: center\"><img src=\"assets/images/pointer.jpg\" alt=\"field dog\" /></p>\r\n<p><span class=\"quote\">\"I have used Qwick-AID on a number of patients now and I  am thoroughly impressed on how well it works. It was a treat to use something that was labeled as a \"stop bleeding\"  Product that actually worked.\r\n<br /><br />\r\nI have started using it on several different wounds and incisions, each time it has far exceeded my expectations of a bandage. I will use Qwick-AID first before I  start with any other therapies. Many of the non-healing wounds heal very well with just Qwick-AID applied.\"</span> - <strong>Scott Reiners, DVM, DACVS</strong>   \r\n</p>\r\n<p style=\"text-align: center\"><img src=\"assets/images/product.jpg\" alt=\"Qwick Aid Bandages\" /><br />\r\n<a href=\"[~21~]\">Buy now</a></p>\r\n</div>\r\n</div>\r\n\r\n<div id=\"fullcontent\">\r\n<h3 class=\"block\">Hunters • Dog Trainers • Handlers • Field Trial Committee Members • Marshalls</h3>\r\n<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n<tr>\r\n<td width=\"360\" valign=\"top\" style=\"padding-right: 20px\">\r\n<p><img class=\"left\" src=\"assets/images/english-pointer.jpg\" alt=\"English Pointer in action\" />As a “First Responderâ€ you can now eliminate & greatly reducing the risks of severe injury by carrying Qwick-AID® Bandage in your shirt or the vest pocket, buying you valuable time until medical assistance is rendered. We all have a responsibility to be prepared for an emergency situation.  From barbed wire fences, branches and rocks to unseen farm implements left in a field your dog and you are at risk to injury.</p>\r\n</td>\r\n<td width=\"150\" valign=\"top\" style=\"padding-right: 20px\"><img src=\"assets/images/springer-spaniel.jpg\" \"Springer Spaniel in the bush\" /></td>\r\n<td width=\"260\" valign=\"top\"> \r\n<h4>Additional Benefits:</h4>                                                                                                                       \r\n<ul>\r\n<li>Evacuates discharge from wounds</li>\r\n<li>Will not stick to the wound</li>\r\n<li>Natural, non-allergenic antiseptics</li>\r\n<li>Accelerates natural healing process</li>\r\n<li>Ideal for slow healing wounds</li>\r\n<li>FDA Reg/weatherproof packaging/3year shelf life</li>\r\n<li>Stops bleeding in under a minute</li>\r\n</ul>\r\n</td>\r\n</tr>\r\n</table>\r\n</div>\r\n<div id=\"fullcontent\">\r\n<h3 class=\"grayblock\">&nbsp;</h3>\r\n<div class=\"splitright\">\r\n<iframe width=\"360\" height=\"224\" src=\"http://www.youtube.com/embed/vb7X9s4W40c\" frameborder=\"0\" allowfullscreen></iframe>\r\n<h4 style=\"text-align:center\"><a href=\"http://www.gundogdevelopment.com\" target=\"_blank\">Gundogdevelopment.com</a></h4>\r\n\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<p style=\"font-color: #CCC\">Cracker is a young Pointer from Anchorage, Alaska. He is a close working dog that his owners will use to hunt pheasant and other prairie birds.  He is a biddable dog that is in the process of being steadied.\r\n</p>\r\n<p class=\"red\" style=\"padding-bottom: 7px\">\"We have added the Qwick-AID Trauma Bandage to our kennels first aide kit and I also make sure that I carry one in my vest pocket when training or trialing my dog. Any hunter or field trailer needs to add Qwick-AID Bandages to their  emergency kit as a precaution to unforeseen accidents, to their dogs or themselves while in the field.\"\r\n<div class=\"qattrib\">Esther Faraci, Mountain View Kennels</div></p>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n</div>\r\n\r\n<div class=\"splitleft\">\r\n<p style=\"padding-bottom: 0px\">\"I have been raising English Springer Spaniels since 1996 and participate \r\nregularly in AKC Hunt Tests and Field Trials as a competitor and a judge.    \r\nDue to the nature of hunting upland game, our dogs are in a position to \r\nget injured from heavy brush, downed tree limbs, rocks or other natural \r\ncover.  I have personally seen dogs come back to handlers with cuts and \r\nbleeding, once so severely the dog required immediate transport to a vet \r\nfor 20 stitches to close a huge gash caused by the dog jumping over rocks \r\nand landing on a protruding tree branch.  \r\n<br /><br />\r\nI have always carried medical supplies in my truck: gauze, alcohol, and  \r\ntape but since learning of the remarkable benefits of Qwick-AID, I now \r\ncarry Qwick-AID in both my vehicle and in my vest when out in the field \r\nwith my dogs.  The ability of Qwick-AID to stop bleeding in seconds can \r\nmake a huge difference in a dog’s recovery from severe field injuries.\"\r\n<div class=\"qattrib\">Bev Matthews - Osage Kennel</div>\r\n</p>\r\n<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"360\" height=\"220\" id=\"gdoFlashMovie\"><param name=movie value=\"http://www.gundogsonline.com/Youtube.swf\"><param name=wmode value=transparent><param name=flashvars value=\"playerOpts=targetClip*http://media.gundogsonline.com/GHTheFourCurses.flv*s||pauseAtFirstFrame*true*b||autoLoad*false*b||thumbNail*http://www.gundogsonline.com/Img/Video/GHTheFourCurses_FF.jpg*s\"><param name=quality value=high><embed swliveconnect=true name=gdoFlashMovie src=\"http://www.gundogsonline.com/Youtube.swf\" flashvars=\"playerOpts=targetClip*http://media.gundogsonline.com/GHTheFourCurses.flv*s||pauseAtFirstFrame*true*b||autoLoad*false*b||thumbNail*http://www.gundogsonline.com/Img/Video/GHTheFourCurses_FF.jpg*s\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"360\" height=\"220\"></embed></object>\r\n<h4 style=\"text-align:center\"><a href=\"http://www.gundogsonline.com\" target=\"_blank\">Gundogsonline.com</a></h4>\r\n\r\n<br clear=\"all\">\r\n<br clear=\"all\">\r\n</div>\r\n</div>',1,4,3,1,0,1,1313256319,1,1314309055,0,0,0,1313256319,1,'Sporting Dogs',0,0,0,0,0,0,0),(5,'document','text/html','Equine','Bandages and Dressing for Horses','','equine','',1,0,0,0,0,'Mountain View Equine Hospital reported complete hemostasis in 30 - 60 seconds for throat and leg surgery using Qwick-AID Bandages. \"It was a treat to use something that was labeled as a \'stop bleeding\' product that actually worked.\"','{{scrollbanner}}\r\n\r\n<div id=\"fullcontent\">\r\n<h3>Veterinarians on the cutting edge of equine medicine continually explore new therapies & medicine use Qwick-AID Bandages</h3>\r\n<br clear=\"all\" />\r\n<div class=\"heavyleft\">\r\n<h4>Mountain View Equine Hospital reported complete hemostasis in 30 - 60 seconds for throat and leg surgery.</h4>\r\n<br />\r\n<p><span class=\"red\">\"I have used Qwick-AID on a number of patients now and I am thoroughly impressed on how well it works.</span> The first time I used it was during surgery. I had some bleeding that was deep in the laryngeal region and I could not get it to stop with compression and I could not find the bleeding vessel. We had just received a sample of Qwick-AID and it said it would stop the bleeding so I used it along with compression and within a minute the bleeding had stopped. It was a treat to use something that was labeled as a \"stop bleeding\" product that actually worked.\r\n<br /><br />\r\nSince then I have started using it on several different wounds and incisions, each time it has far exceeded my expectations of a bandage. I exclusively use it post surgically under a cast and for my first bandage after any  leg surgeries. We did use non adherent pads and sulfadiazine cream but under the cast there  was a lot of skin scurfing possibly from exudate and/or sweat that build up under the casts.  When I use the Qwick-AID bandage,  I don\'t get any of those problems and the incisions look pristine. I use Qwick-AID all most entirely for leg wounds \r\nespectially for the first bandage and as an emergency field bandage. I found that on high exudative wounds that we get less \"strick through\" then with other bandage material that I have used. Also when we get an old non-healing wound, I will use Qwick-AID first before I start with any other therapies. Many of the non-healing wounds will heal very well with just Qwick-AID applied.\r\n<br /><br />\r\nSo far, I have been very impressed with Qwick-AID. It says on the package that it is to be applied to the wound to stop bleeding but it should be labeled as a first bandage for emergencies, non-healing wounds and post  surgerical bandages. I feel it is a well designed product.\" <div class=\"qattrib\">Scott Reiners, DVM, DACVS</div></p>\r\n</div>\r\n<div class=\"lightright\">\r\n<p><img src=\"assets/images/equestrian-rider.jpg\" alt=\"Equestrian Rodeo Rider\" />\r\n</p>\r\n</div>\r\n</div>\r\n\r\n\r\n<div id=\"fullcontent\">\r\n<h3 class=\"grayblock\">&nbsp;</h3>\r\n<div class=\"splitleft\">\r\n<p><img src=\"assets/images/female-rider.jpg\" alt=\"Female Equestrian Rider\" />\r\n</p>\r\n</div>\r\n<div class=\"splitright\">\r\n<h3>Qwick-AID is used effectively in:</h3>\r\n<ul>\r\n<li>Emergency Surgery</li>\r\n<li>Emergency Surgery for Dystocias</li>\r\n<li>Orthopedic Surgery (including Fracture Repair, Arthroscopy)</li>                                                                                                                                \r\n<li>Soft Tissue Surgery of all types Upper Respiratory Surgery</li>\r\n<li>Urogenital Surgery</li>\r\n<li>Non-Healing Wound</li>\r\n<li>Post Surgical Application</li>\r\n<li>Ambulatory Calls</li>\r\n<li>Lacerations Repair</li>\r\n</ul>\r\n<p><img src=\"assets/images/equine-surgery.jpg\" alt=\"Equine surgical applications\" />\r\n</p>\r\n</div>\r\n</div>\r\n<div id=\"fullcontent\">\r\n<h3 class=\"grayblock\">&nbsp;</h3>\r\n<div class=\"splitleft\">\r\n<h3>Additional Benefits</h3>\r\n<ul>\r\n<li class=\"red\">Stops bleeding in under a minute</li>\r\n<li>Evacuates discharge from wounds</li>\r\n<li>Will not stick to the wound</li>\r\n<li>Natural, non-allergenic antiseptics</li>\r\n<li>Accelerates natural healing process</li>\r\n<li>Ideal for slow healing wounds</li>\r\n<li>FDA Reg/weatherproof packaging/3 year shelf life</li>\r\n</ul>\r\n<ul><img src=\"assets/images/qwickaid-box.jpg\" alt=\"Qwick-AID package\" height=\"85%\" width=\"85%\" /></ul><p style=\"text-align: center\">\r\n<a href=\"[~21~]\">Buy now</a>\r\n<br /><br /></p>\r\n</div>\r\n<div class=\"splitright\">\r\n<p><img src=\"assets/images/steer-roping.jpg\" alt=\"Rodeo steer roping\" />\r\n<br /><br />\r\nAs a \"First Responder\" you can now greatly reduce the risks associated with a severe injury by carrying the Qwick-AID Bandage in your shirt or vest pocket, buying you valuable time until medical assistance is rendered.</p>\r\n</div>\r\n</div>',1,4,4,1,0,1,1313256393,1,1314309187,0,0,0,1313256393,1,'Equine',0,0,0,0,0,0,0),(6,'document','text/html','Qwick-AID Blog','Share information about Veterinary wound care using Qwick Aid Bandages','','qwick-aid-blog','',1,0,0,0,0,'','<div id=\"fullcontent\">\r\n<h2>The QA Blog</h2>\r\n<p><img src=\"assets/images/home-footer.jpg\" alt=\"Qwick-AID Blog\" /></p>\r\n[!Ditto? &debug=`0` &parents=`8` &tpl=`qa_blog2` showInMenuOnly=`1` &paginate=`1` &display=`4` &paginateAlwaysShowLinks=`1` !]\r\n\r\n<div style=\"margin: 10px; 0;\" id=\"ditto_pages\"> [+previous+]&nbsp;&nbsp;[+pages+]&nbsp;&nbsp;[+next+] </div>\r\n</div>\r\n',1,4,5,1,0,1,1313256485,1,1313519961,0,0,0,1313256485,1,'Blog',0,0,0,0,0,0,0),(7,'document','text/html','Contact','Contact Qwick-Aid for Animals','','contact-us','',1,0,0,0,0,'Contact Qwick-AID for more product information, distributor opportunities and where to purchase our Hemostatic Bandages. Works equally well for both people and animals.','<div id=\"fullcontent\">\r\n<h2>Contact Us / Request Information</h2>\r\n\r\n<img src=\"assets/images/product.jpg\" alt=\"Qwick-Aid Hemostatic Bandage\" style=\"float: right; margin: 0 \" />\r\n\r\n<span style=\"font-size: 11px; line-height: 13px\"><span style=\"color: #ba0000\">*</span> indicates required fields</span>\r\n\r\n<br />\r\n<form action=\"http://campaign.digitalmailmaker.com/index.php\" method=\"post\" name=\"campaignform\">\r\n<input type=\"hidden\" name=\"camp\" value=\"b2tjl42miq\">\r\n<input type=\"hidden\" name=\"perso\" value=\"V1RJNE9VMVhiR3RsYlVadlkwaFZOR0ZuUFQwPStV\">\r\n\r\n<div class=\"cntact\">\r\n<ul>\r\n\r\n<li><label>First Name<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"first_name\" class=\"reg\"></li>\r\n\r\n<li><label>Last Name<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"last_name\" class=\"reg\"></li>\r\n\r\n<li><label>Email<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"email\"  class=\"long\"></li>\r\n\r\n<li><br />Please provide some details about your location and area<br />of interest for our products.\r\n<!-- (Samples will only be sent to Healthcare or Veterinary facilities)--><br /><br /></li>\r\n\r\n<li><label>Organization Name<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"company_name\" class=\"reg\"></li>\r\n\r\n<li><label>Address<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"address_1\" class=\"reg\"></li>\r\n\r\n<li><label>City<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"city\" class=\"reg\"></li>\r\n\r\n<li><label>State<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"state\" class=\"reg\"></li>\r\n\r\n<li><label>Zip<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"zip\" class=\"reg\"></li>\r\n\r\n<li><label>Phone<font size=\"1\" color=\"red\">*</font></label>\r\n<input type=\"text\" name=\"phone_1\" size=\"4\" maxlength=\"3\" border=\"0\" class=\"narrow\">\r\n<input type=\"text\" name=\"phone_2\" size=\"4\" maxlength=\"3\" border=\"0\"  class=\"narrow\">\r\n- <input type=\"text\" name=\"phone_3\" size=\"5\" maxlength=\"4\" border=\"0\"  class=\"narrow\">\r\n<span style=\"font-size: 12px\">EXT</span> <input type=\"text\" name=\"phone_4\" size=\"5\" maxlength=\"4\" border=\"0\"  class=\"narrow\"></li>\r\n\r\n<li><label>Questions/Comments</label>\r\n<textarea name=\"comments\" rows=\"4\" cols=\"55\"></textarea></li>\r\n\r\n<li style=\"text-align: center; margin-top: 10px\"><input type=\"submit\" name=\"submit_form\" value=\"Submit\"></li>\r\n</ul>\r\n</div>\r\n<br />\r\n\r\n<br />\r\n</form>\r\n\r\n</div>',1,4,6,1,0,1,1313256531,1,1314309300,0,0,0,1313256531,1,'Contact',0,0,0,0,0,0,0),(8,'document','text/html','Blog pages','','','qa-blog','',1,0,0,0,1,'','',1,6,7,1,0,1,1313440878,1,1313516288,0,0,0,1313440878,1,'',0,0,0,0,0,0,1),(9,'document','text/html','Footer Pages','','','footer-pages','',1,0,0,0,1,'','',1,4,8,1,0,1,1313444102,1,1313444117,0,0,0,1313444102,1,'',0,0,0,0,0,0,1),(10,'document','text/html','Privacy Policy','Privacy Policy','','privacy-policy','',1,0,0,9,0,'','<div id=\"contentfull\">\r\n<div id=\"content\">\r\n<h2>PRIVACY POLICY</h2>\r\n<p><strong>Protection of Information </strong>\r\n<br />\r\nY.E.S. Inc./Qwick-AID values the trust its customers place in this website. Accordingly, Y.E.S. Inc./Qwick-AID adheres to the highest ethical standards in gathering, using and safeguarding customer information that is entrusted to the company</p>\r\n<p><strong>Use and Collection of Customer Information <br /></strong>Y.E.S. Inc/Qwick-AID does not rent, sell or exchange information about its customers. Access to information about our customers is restricted to the Y.E.S./Qwick-AID Inc. family of businesses. Third parties that may need access to our customer information in order to provide operational or other support services to the Y.E.S./Qwick-AID Inc. website must agree to safeguard customer information in strict compliance with our privacy policy.<br /><br />Y.E.S. Inc./Qwick-AID gathers only the customer information that is needed to administer its business, provide superior service and communicate offers on merchandise and services that we believe to be of interest to our customers.<br /><br />Y.E.S. Inc./Qwick-AID limits access to customer information to those employees who need it to carry out their business functions. Y.E.S. Inc./Qwick-AID educates its employees about these policies and practices in regard to safeguarding customer information; preventing its unauthorized access, use or disclosure; and, ensuring its proper handling.</p>\r\n<p><strong>Accuracy and Security of Customer Information<br /></strong>Y.E.S. Inc./Qwick-AID makes all reasonable efforts to ensure that the customer information it maintains is accurate, timely and secure. Please note that we do not store credit card information as a cookie on either our server or on your computer.  Y.E.S. Inc./Qwick-AID will monitor and adopt, as appropriate, new technological developments that are designed to aid in ensuring the accuracy and security of customer information.  Y.E.S. Inc./Qwick-AID enforces its policies in regard to gathering, access and use of personal customer information by its employees and authorized third parties.</p>\r\n<p><strong>Personally Identifiable Information <br /></strong>Y.E.S. Inc./Qwick-AID World Wide Web sites collect personally identifiable information (such as name, address, telephone number, or e-mail address) from Web site visitors only when visitors voluntarily provide such information herein. Y.E.S. Inc./Qwick-AID site visitors who do not want their personally identifiable information collected online are asked not to submit such information to Y.E.S. Inc./Qwick-AID.<br /><br />Y.E.S. Inc./Qwick-AID Web site visitors are informed that when they provide personally identifiable information online, that information is kept within the Y.E.S. Inc./Qwick-AID family of businesses. Visitors are further informed that, unless specifically stated otherwise, the personally identifiable information may be stored and used by Y.E.S. Inc./Qwick-AID to better understand its customers\' needs, to improve our products and services, and to contact customers regarding offers that may be of interest to them.<br /><br />If Y.E.S., Inc./Qwick-AID Web site visitors previously provided their e-mail addresses to Y.E.S. Inc./Qwick-AID and would like to have their e-mail addresses removed from Y.E.S. Inc./Qwick-AID e-mail mailing lists, please send an e-mail message to orders@qwickaid.com or use the unsubscribe function contained at the bottom of any marketing email we may send. Y.E.S. Inc./Qwick-AID informs such visitors that it will use reasonable efforts to delete their e-mail addresses from its existing files.</p>\r\n<p><strong>Personally Identifiable Information Collected Automatically<br /></strong>Y.E.S. Inc./Qwick-AID Web Sites may collect information from Web site visitors that is not personally identifiable, including the visitor\'s operating system, browser, domain name, and the specific web pages on Y.E.S. Inc/Qwick-AID. Web site that are accessed or visited. Y.E.S. Inc./Qwick-AID only collects this information in the aggregate, and only uses it to improve Y.E.S. Inc./Qwick-AID Web sites.<br /><br />This website contains links to other sites.  YES Inc is not responsible for the privacy practices or the content of the other websites.  This privacy policy applies solely to information collected by the YES Inc/Qwick-AID website.  YES Inc is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by YES Inc of the site or any association with its operators.<br /><br />We reserve the right to change this Policy at any time, and will post any changes to this Policy as soon as they take effect. If you have any questions or comments about this Policy, feel free to contact us.</p>\r\n<p><strong>Phone:</strong> 949-496-9400</p>\r\n<p>Policy update: 08/22/11</p>\r\n</div>\r\n<!-- end content  -->\r\n<div id=\"sidebar\">\r\n<h4>Get Info</h4>\r\n<!--For medical professionals only -->\r\n<form action=\"http://campaign.digitalmailmaker.com/index.php\" method=\"post\">\r\n<input name=\"camp\" type=\"hidden\" value=\"b2tjl42miq\" />\r\n<input name=\"perso\" type=\"hidden\" value=\"V1RJNE9VMVhiR3RsYlVadlkwaFZOR0ZuUFQwPStV\" />\r\n\r\n<ul>\r\n<li><label>First Name<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"first_name\" type=\"text\" /></li>\r\n<li><label>Last Name<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"last_name\" type=\"text\" /></li>\r\n<li><label>Company<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"company_name\" type=\"text\" /></li>\r\n<li><label>Address<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"address_1\" type=\"text\" /></li>\r\n<li><label>City<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"city\" type=\"text\" /></li>\r\n<li><label>State<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"state\" type=\"text\" /></li>\r\n<li><label>Zip<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"zip\" type=\"text\" /></li>\r\n<li><label>Phone<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"narrow\" maxlength=\"3\" name=\"phone_1\" size=\"4\" type=\"text\" />\r\n<input class=\"narrow\" maxlength=\"3\" name=\"phone_2\" size=\"4\" type=\"text\" />\r\n- <input class=\"narrow\" maxlength=\"4\" name=\"phone_3\" size=\"5\" type=\"text\" />\r\n<span style=\"font-size: 12px;\">EXT</span> <input class=\"narrow\" maxlength=\"4\" name=\"phone_4\" size=\"5\" type=\"text\" /></li>\r\n<li><label>Email<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"email\" type=\"text\" /></li>\r\n<li><label>Questions/Comments:</label>\r\n<textarea cols=\"30\" rows=\"4\" name=\"comments\"></textarea></li>\r\n<li style=\"text-align: center;\"><input name=\"submit_form\" type=\"submit\" value=\"Submit\" /></li>\r\n</ul>\r\n</form>\r\n</div>\r\n</div>',1,4,0,1,0,1,1313444703,1,1314055860,0,0,0,1313444703,1,'',0,0,0,0,0,0,1),(11,'document','text/html','Member Signup','Qwick-AiID for Animals Member Signup','','qa-signup','',1,0,0,0,0,'','[[WebSignup]]\r\n',1,6,9,1,0,1,1313470591,1,1313515272,0,0,0,1313470591,1,'',0,0,0,0,0,0,1),(13,'document','text/html','Cracker - a young Pointer from Anchorage, AL','','','meet-cracker','',1,0,0,8,0,'','<iframe width=\"480\" height=\"299\" src=\"http://www.youtube.com/embed/vb7X9s4W40c\" frameborder=\"0\" allowfullscreen></iframe>\r\n<p>From: <a href=\"http://www.youtube.com/user/gundogdevelopment?blend=23&ob=5\" alt=\"training hunting dogs\" />Gundog Development</a>\r\n<br /><br />\r\nHe is a close working dog that his owners will use to hunt pheasant and other prairie birds. He is a biddable dog that is in the process of being steadied.\r\n</p>',1,6,1,1,0,1,1313516008,1,1313518331,0,0,0,1313516008,1,'',0,0,0,0,0,0,0),(12,'document','text/html','South Texas Duck Hunting','','','texas-duck-hunting','',1,0,0,8,0,'','<iframe width=\"425\" height=\"349\" src=\"http://www.youtube.com/embed/t0ZPtlF1DF8\" frameborder=\"0\" allowfullscreen></iframe>\r\n<p>Bay Flats Lodge Seadrift, Texas 77983 trophy duck hunting Virginia group loved their visit to Bay Flats Lodge. <strong>South Texas Duck Hunting 1-888-677-4868</strong></p>\r\n',1,6,9,1,0,1,1313514295,1,1313515786,0,0,0,1313514295,1,'',0,0,0,0,0,0,0),(14,'document','text/html','Hunting Opportunities to be Expanded on National Wildlife Refuges in Eight States','','','hunting-opportunities-expanded','',1,0,0,8,0,'','<p>Friday, July 08, 2011</p>\r\n<p>The U.S. Fish and Wildlife Service (Service) is proposing to open Crane Meadows National Wildlife Refuge in Minnesota to deer and turkey hunting for the first time, while expanding hunting activities at nine other refuges in eight states. These states include: Colorado, Louisiana, Mississippi, North Carolina, Minnesota, Iowa, Utah and Texas.  If approved, the proposal would provide additional public hunting opportunities in fulfillment of the National Wildlife Refuge System Improvement Act of 1997.</p>\r\n<p>In addition to the new deer and turkey hunting programs at Crane Meadows, other proposed hunting opportunities include:</p>\r\n<p>-- Arapaho National Wildlife Refuge (Colorado) would increase big game hunting by offering elk hunting for the first time. The refuge also allows migratory bird hunting, upland game hunting and fishing.</p>\r\n<p>  Bayou Sauvage National Wildlife Refuge (Louisiana) would open for the first time to migratory bird hunting of waterfowl and coot. The refuge also allows fishing.</p>\r\n<p>- Coldwater River National Wildlife Refuge (Mississippi) would open for the first time to migratory bird hunting of duck and geese; upland game hunting of squirrel, rabbit and raccoon; and big game hunting of deer and hogs. The refuge also permits fishing.</p>\r\n<p>-- Currituck National Wildlife Refuge (North Carolina) would open for the first time to big game hunting of deer and hogs.</p>\r\n<p>-- Minnesota Valley National Wildlife Refuge (Minnesota) would increase acreage for migratory bird hunting, upland game hunting and big game hunting.</p>\r\n<p>-- Northern Tallgrass Prairie National Wildlife Refuge (Minnesota/Iowa) would increase acreage for migratory bird hunting, upland game hunting and big game hunting. The refuge would expand the species for migratory bird and upland game hunting.</p>\r\n<p>-- Ouray National Wildlife Refuge (Utah) would allow for the first time upland game hunting of turkey and big game hunting of elk. The refuge also allows migratory bird hunting and fishing.</p>\r\n<p>-- Sherburne National Wildlife Refuge (Minnesota) would open new areas to migratory bird hunting. It would allow big game hunting of turkey and deer for the first time. The refuge is also open for fishing.</p>\r\n<p>-- Trinity River National Wildlife Refuge (Texas) would open three new units to upland game hunting of squirrels and rabbits and big game hunting of feral hogs and whitetail deer. The refuge is also open for migratory bird hunting and fishing. \r\nWhile definitions of hunting categories vary by refuge and state, migratory bird hunting generally includes ducks and geese. Upland game hunting may cover such animals as game birds, rabbit, squirrel, opossum and coyote. Big game hunting may include such animals as wild turkey, deer and feral hogs.</p>\r\n<p>Under the National Wildlife Refuge System Improvement Act of 1997, the Service can permit hunting and fishing where they are compatible with refuge purpose and mission. \r\nNRA played a key role in getting language included in this act making hunting a “priority public useâ€ on National Wildlife Refuges.</p>\r\n<p>The NRA encourages all its hunter members to submit comments in support of the Service’s efforts to open new refuges to hunting and to expand existing refuge hunt programs.  Despite federal law that encourages the Service to promote hunting opportunities on refuges, the anti-hunting groups always submit comments in opposition. </p>\r\n<p>Please let the Service hear your voice of support for this rulemaking.  To comment on the proposed hunting rule changes online, or to read the full text of the rule go to <a href=\"http://www.regulations.gov/#!documentDetail;D=FWS-R9-NSR-2011-0038-0001\">www.regulations.gov/#!documentDetail;D=FWS-R9-NSR-2011-0038-0001</a>.  Comments can be submitted by clicking on the orange box in the upper right-hand corner of the page.  The comment period closes August 4, 2011.</p>\r\n<p>Copyright 2011, National Rifle Association of America, Institute for Legislative Action.</p>\r\n<p>This may be reproduced. It may not be reproduced for commercial purposes.\r\n11250 Waples Mill Road, Fairfax, VA 22030 - 800-392-8683.</p> \r\n',1,6,2,1,0,1,1313516267,1,1313516267,0,0,0,1313516267,1,'',0,0,0,0,0,0,0),(15,'document','text/html','Host an AKC CAR Microchip Clinic','','host-a-microchip-clinic','host-an-akc-car-microchip-clinic','',1,0,0,8,0,'','Perfect for your Responsible Dog Ownership Day event, microchipping offers local pet owners the permanent pet identification they need and provides you the opportunity to further promote the good works of your organization. AKC Companion Animal Recovery (AKC CAR) makes hosting a microchipping clinic easier than ever. Read more about hosting an AKC CAR microchip clinic here .</p>\r\n\r\n<p>For further details about hosting a clinic or to obtain microchips, please contact AKC CAR\'s Joyce Prapuolenis at 800-252-7894 (toll-free), 919-816-3808 or <a href=\"mailto:jxp2@akccar.org\">jxp2@akccar.org</a>.</p>\r\n',1,6,3,1,0,1,1313516387,1,1313516387,0,0,0,1313516387,1,'',0,0,0,0,0,0,0),(16,'document','text/html','Join the Fun! Celebrate AKC Responsible Dog Ownership Days this September!','','','akc-responsible-dog-ownership-days','',1,0,0,8,0,'','<p>\r\nThinking about signing up for <a href=\"http://www.akc.org/clubs/rdod/add_events/account.cfm?formsection=Create\">AKC Responsible Dog Ownership Days</a>, sponsored by <a href=\"http://www.motel6.com\">Motel 6? \r\n<br /><br />\r\nWell, it\'s not too late! AKC will be accepting events <a href=\"http://www.akc.org/clubs/rdod/add_events/account.cfm?formsection=Create\">here</a> until August 15, 2011. We will be distributing packets full of \r\neducational materials and freebies to clubs that sign up on the web site. \r\n<br /><br />\r\nThe events are listed in <a href=\"http://www.akc.org/clubs/rdod/events/\">this directory</a> , which is searchable by state.\r\n</p>',1,6,4,1,0,1,1313516709,1,1313516709,0,0,0,1313516709,1,'',0,0,0,0,0,0,0),(17,'document','text/html','Conata Basin Closed To Prairie Dog Hunting','','','conata-basin-prairie-dog-hunting','',1,0,0,8,0,'','<p><img src=\"assets/images/blog/sd-fish-n-game.jpg\" /></p>\r\n<p>As prairie dog shooters from across the nation head to South Dakota, the Department of Game, Fish and Parks and U.S. Forest Service remind hunters that the Conata Basin remains closed year-round to all prairie dog shooting.</p>\r\n\r\n<p>\"A new law this year did not change the status of the Conata Basin, south of Wall, South Dakota,\" explained Keith Fisk, GFP Wildlife Damage Program administrator. \"The Conata Basin remains closed. It is managed by the Forest Service, which has the authority to keep the area closed because of the endangered black-footed ferret.\"\r\nThe new state law that went into effect July 1, 2011, allows prairie dog shooting to occur year-round with no possession limits on most public lands in South Dakota. However, each government agency managing public property retains the authority to close specific areas in certain situations. </p>\r\n\r\n<p>\r\nBecause the Conata Basin is a critical habitat component for reintroduction of the black-footed ferret, prairie dogs may not be hunted there.</p>\r\n\r\n<p>\"Our annual surveys indicate that the Conata Basin continues to provide habitat for about 100 black-footed ferrets,\" said Ruben Leal, Forest Service district ranger. \"This area is very important for the continued effort of ferret reintroductions and remains closed to all prairie dog shooting activities.\"</p>\r\n\r\n<p>Typically, ferret family groups will engage in play behavior in the early morning and early evening, leaving the animals vulnerable to shooting. At extended shooting distances, it can be nearly impossible to distinguish between prairie dogs, burrowing owls, and ferrets emerging from prairie dog burrows.</p>\r\n\r\n<p>The restriction on prairie dog shooting in the Conata Basin prevents the accidental killing of ferrets and helps maintain quality ferret habitat with a sufficient food source (prairie dogs).  It also is safer for agency personnel monitoring the ferrets.\r\nPeople caught shooting prairie dogs in the Conata Basin face citations and substantial fines.</p>\r\n\r\n<p>For more information on the Conata Basin and its ban on prairie dog shooting, contact the U.S. Forest Service in Wall, South Dakota at 605-279-2125.  For other inquires regarding prairie dogs, contact GFP at 605- 223-7660 or visit: <a href=\"http://gfp.sd.gov/hunting/predator-varmit-furbearer/prairie-dogs.aspx\">http://gfp.sd.gov/hunting/predator-varmit-furbearer/prairie-dogs.aspx</a></p>\r\n',1,6,5,1,0,1,1313521336,1,1313521336,0,0,0,1313521336,1,'',0,0,0,0,0,0,0),(18,'document','text/html','Tim Esse and my hunting adventures','','','tim-esse-hunting-adventures','',1,0,0,8,0,'','<p>The North Dakota Game and Fish Department’s annual spring breeding duck survey showed an index of more than 4.1 million birds, down slightly (-9 percent) from last year but 85 percent above the long-term average (1948-2010). The 2011 index is the ninth highest on record.</p>\r\n\r\n<p>Wigeon (+15 percent), blue-winged teal (+12 percent) and pintails (+4 percent and the highest since 1970) were the only ducks to show an increase from last year. However, all species except scaup were well above the long-term average.</p>\r\n\r\n<p>Hovelers were down 13 percent from last year’s record high. Mallards were down 4 percent, but had the sixth highest count on record. Indices for all other species were below that of 2010, with the most significant decreases for ruddy ducks (-62 percent), lesser scaup (-58 percent) and redhead (-33 percent).</p>\r\n\r\n<p>\"Redheads and ruddy ducks were at record highs last year, and scaup numbers were also well-above average,â€ said Mike Johnson, game management section leader. “So their decline was not surprising.\"</p>\r\n\r\n<p>The spring water index was up 31 percent from 2010 and 128 percent above the long-term average. It was the second highest in survey history and the highest since 1999. The water index is based on basins with water, and does not necessarily represent the amount of water contained in wetlands.</p>\r\n\r\n<p>\"Water conditions were exceptional throughout the state, with abundant snow cover and significant spring rains filling most basins,\" Johnson said.</p>\r\n\r\n<p>Additionally, reports indicate that all of the Prairie Pothole Region in the United States and Canada (from Iowa to Alberta) has excellent water conditions this year. \"To our knowledge this is an unprecedented occurrence, at least since surveys have been conducted,\" Johnson said</p>\r\n\r\n<p>However, nesting cover in North Dakota continues to decline. During the survey, Johnson noted many large tracts of grassland and Conservation Reserve Program land that had been converted to cropland since last year, or were in the process of being plowed. \"North Dakota currently has about 2.6 million acres of CRP, which is down about 22 percent from 2007,\" Johnson added. \"Projections are that nearly 400,000 acres will be lost in 2011, and an additional 1 million acres will be lost in 2012-13. The loss of critical nesting cover will be disastrous for breeding ducks and hunting opportunities in the future.\"</p>\r\n\r\n<p>The July brood survey will provide a better idea of duck production and insight into expectations for this fall. Observations to date indicate prospects for high production across the state due to excellent water conditions and increased wetland availability for brood production.</p>\r\n<p<a href=\"http://gf.nd.gov/multimedia/news/2011/06/110610.html\">Original ND DNR Article</a></p>\r\n',1,6,6,1,0,1,1313521558,1,1314045849,0,0,0,1313521558,1,'',0,0,0,0,0,0,0),(19,'document','text/html','New Food!','','','acana-ranchlands-dog-food','',1,0,0,8,0,'','<p><img src=\"assets/images/blog/acana-ranchlands-food.png\" class=\"right\" />So the girls are getting a taste of their new food. Nothing against their old brand but I don\'t think they were getting enough energy out of it.  This was especially true last month at Abby first field trail.  She was in great shape but tired somewhat quickly. After seeing the drop in energy, I reviewed the nutritional facts and found out that the food only had 14% Crude Fat. In my mind way too low for very active ESS.  So the hunt was on for a new feed for the girls. We wanted a premium brand that had a good balance of protein and fat.</p>\r\n\r\n<p> After a few recommendations we found the <a href=\"http://www.championpetfoods.com/acana/products.php\" title=\"world class pet food\" target=\"_blank\">Acana brand</a> of food. We decided to go with their newest product, the <a href=\"http://www.championpetfoods.com/acana/show-product.php?formulation=rl\" target=\"_blank\">Ranchlands formula</a>.  The best part of the Acana brand dog food, is that it is grain free.  The Ranch ands formula has Beef, Lamb and Buffalo as it\'s main meat ingredients. Other ingredients include: blueberries, herring, cranberries and salmon. What a great list of ingredients, if only we ate as good.  Let\'s hope that this switch will work out for the better.</p>\r\n\r\n<p>So if you haven\'t figured it out yet, we do spoil our girls. ... til next time....</p>\r\n<p><a href=\"http://www.anuplandodyssey.com/\">An Upland Odyssey Blog</>\r\n',1,6,7,1,0,1,1313522056,1,1314045885,0,0,0,1313522056,1,'',0,0,0,0,0,0,0),(20,'document','text/html','Return Policy','Return Policy','','return-policy','',1,0,0,9,0,'','<div id=\"contentfull\">\r\n<div id=\"content\">\r\n<h2>RETURN POLICY</h2>\r\n<p>Your satisfaction is our #1 priority. At YES Inc we make it a goal to satisfy our customers. We will work hard to make sure that every order is correct and sent out in a timely manner.&nbsp; If you are not completely satisfied with your purchase for any reason, you have thirty (30) days from the date of purchase to return the product(s).&nbsp; All products must be returned in resalable condition deemed by us, unopened, with their original packaging and documentation.&nbsp; <u>Sterile&nbsp; products can not be returned to be re-sold according to law, therefore refunds for opened&nbsp; products will not be issued.</u><br />\r\n  <br />\r\n  If you paid for the purchase with a credit or debit card, your account will be credited back the amount of the purchase less any shipping charges within thirty (30) business days from the time YES Inc receives the returned product(s).<br />\r\n  <br />\r\n  For all returns you are responsible for the delivery and return shipping costs (does not include defective or erroneously shipped items).&nbsp; We recommend that you fully insure your return shipment in the event that it is lost or damaged, and that you use a carrier that can provide you with proof of delivery, since YES Inc will not be responsible for any losses or damages during return shipping.<br />\r\n  <br />\r\n  If you need to return a product that is defective or that was shipped in error, we apologize for your inconvenience. Please contact us within seven (7) days of the purchase for an RMA number and we will reimburse you for both the original and return shipping costs.<br />\r\n  <br />\r\nAny product shortage must be reported within 48 hours from receipt of the order at your location. You must count your item(s) upon arrival and document any shortages on your delivery receipt.</p>\r\n<ol start=\"1\" type=\"1\" style=\"margin-left: 25px\">\r\n  <li>Authorized returns may be subject to a 25% restocking fee.</li>\r\n  <li>Damages and shortages must be reported within 48 hours working of delivery of order.</li>\r\n  <li>Goods ordered in error are to be returned PREPAID.&nbsp; A minimum 25% restocking fee will apply and, where applicable, cost of any export charges to YES Inc will be deducted from net credit amount.</li>\r\n  <li>Refund for payments made by credit card will only be issued on the original credit card used.</li>\r\n  <li>Returns are not authorized for the following: </li>\r\n  <ul type=\"circle\" style=\"margin: 10px 20px\">\r\n    <li>Any item not purchased directly from the YES Inc/Qwick-AID website.</li>\r\n    <li>Any item purchased on a \"special order\" basis.&nbsp;</li>\r\n    <li>Expired or short dated products (less than six month expiration).</li>\r\n    <li>Partial units of sale.</li>\r\n    <li>Merchandise past 30 days of customer\'s receipt of order.</li>\r\n    <li>Products not in unopened original carton that is not saleable.</li>\r\n  </ul>\r\n  <li>No representative of YES Inc is authorized to make warranties, claims, promises or variations in the above terms without written approval by a YES Inc officer.</li>\r\n  <li>Under NO Circumstances will rejected or refused merchandise qualify for a return claim unless otherwise specified by the warehouse. </li>\r\n  <li>Return&nbsp;freight costs&nbsp;for issues related to  shipping errors by the carrier, damage&nbsp;in transit, and other events      outside of&nbsp;the direct control of&nbsp;YES Inc. will not be covered.&nbsp;</li>\r\n</ol>\r\n<br /><br />\r\n<h3>Shipping</h3>\r\n<p><strong>What are the shipping costs?</strong><br />\r\nShipping and Handling charges vary by Postal Code and shipment weight. Heavy bulk items will incur additional shipping costs and will be added to the shipping charges for your order. We also offer 2nd Day &amp; Next Day Air rates when expedited shipping is needed (additional cost) on most items. If you need something expedited, please let us know and we will be happy to help. We always strive for the lowest possible costs for shipping. Unfortunately sometimes we are forced to raise our rates because of factors outside our control such as higher fuel prices, fuel surcharges, etc. When this happens, we will continue to offer you the best value by limiting the increases as much as possible.<br />\r\n  Shipping FedEx/UPS insurance is included up to $100 but insurance must be paid for in advance if the customer wants insurance over $100.</p>\r\n<p><strong>International Shipping?</strong><br />\r\nWe ship internationally via DHL &amp; FedEx. YES Inc ships via FedEx, UPS, USPS and International via DHL and Canada Post to most destinations in Canada, the Yukon and Northwest Territories. &nbsp;We are unable to ship anything greater than one single box to Post Office boxes via Canada Post.</p>\r\n<p>If product ordered is in stock, orders will be shipped within 72 hours via customer’s selected method of shipping.&nbsp; <br />\r\n<br />\r\n<strong>Back Orders</strong><br />\r\nCustomer will be contacted within 48 hours in the event of backordered items.&nbsp; Backordered items will ship at no extra cost to the customer.<br />\r\n<br />\r\n<strong>Placing Orders</strong><br />\r\nOrders can be placed by any of the following methods; on our website, by fax or email.</p>\r\n</div>\r\n<!-- end content  -->\r\n<div id=\"sidebar\">\r\n<h4>Get Info</h4>\r\n<!--For medical professionals only -->\r\n<form action=\"http://campaign.digitalmailmaker.com/index.php\" method=\"post\">\r\n<input name=\"camp\" type=\"hidden\" value=\"b2tjl42miq\" />\r\n<input name=\"perso\" type=\"hidden\" value=\"V1RJNE9VMVhiR3RsYlVadlkwaFZOR0ZuUFQwPStV\" />\r\n\r\n<ul>\r\n<li><label>First Name<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"first_name\" type=\"text\" /></li>\r\n<li><label>Last Name<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"last_name\" type=\"text\" /></li>\r\n<li><label>Company<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"company_name\" type=\"text\" /></li>\r\n<li><label>Address<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"address_1\" type=\"text\" /></li>\r\n<li><label>City<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"city\" type=\"text\" /></li>\r\n<li><label>State<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"state\" type=\"text\" /></li>\r\n<li><label>Zip<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"zip\" type=\"text\" /></li>\r\n<li><label>Phone<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"narrow\" maxlength=\"3\" name=\"phone_1\" size=\"4\" type=\"text\" />\r\n<input class=\"narrow\" maxlength=\"3\" name=\"phone_2\" size=\"4\" type=\"text\" />\r\n- <input class=\"narrow\" maxlength=\"4\" name=\"phone_3\" size=\"5\" type=\"text\" />\r\n<span style=\"font-size: 12px;\">EXT</span> <input class=\"narrow\" maxlength=\"4\" name=\"phone_4\" size=\"5\" type=\"text\" /></li>\r\n<li><label>Email<span style=\"color: red; font-size: xx-small;\">*</span></label>\r\n<input class=\"reg\" name=\"email\" type=\"text\" /></li>\r\n<li><label>Questions/Comments:</label>\r\n<textarea cols=\"30\" rows=\"4\" name=\"comments\"></textarea></li>\r\n<li style=\"text-align: center;\"><input name=\"submit_form\" type=\"submit\" value=\"Submit\" /></li>\r\n</ul>\r\n</form>\r\n</div>\r\n</div>',1,4,0,1,0,1,1314055256,1,1314057285,0,0,0,1313444703,1,'',0,0,0,0,0,0,1),(21,'document','text/html','Product Selection','Qwick-AID Product Selection','','product-selection','',1,0,0,0,0,'This is where to purchase Qwick-AID bandages online. We offer two sizes and several different quantity selections. Buy Qwick-AID and keep it in your first-aid kit! ','<div id=\"fullcontent\">\r\n\r\n<div class=\"splitleft\">\r\n<p><img src=\"assets/images/product.jpg\" width=\"75%\" height=\"75%\" alt=\"Qwick-Aid Bandages\" /></p>\r\n<h4>Qwick-AID Bandages</h4>\r\n<table class=\"price\">\r\n<tr>\r\n<td class=\"price\">#7070929 QA<br />Individual Bandage 2\" x 4\"</td>\r\n<td class=\"price\">$19.00/ea</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=10\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#707090 QA<br />12 Bandages/box</td>\r\n<td class=\"price\">$228.00/box</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=11\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070931 QA<br />6 Boxes/case (72 Bandages)</td>\r\n<td class=\"price\">$1368.00/case</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=12\">Add to Cart</a></td>\r\n</tr>\r\n</table>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n</div>\r\n<div class=\"splitright\">\r\n<p align=\"center\"><img src=\"assets/images/large-bandage.jpg\" width=\"75%\" height=\"75%\" alt=\"Qwick-Aid Bandages\" /></p>\r\n<h4>Qwick-AID Bandage Sheets</h4>\r\n<table class=\"price\">\r\n<tr>\r\n<td class=\"price\">#7070910 QA<br />Bandage Sheets  7\" x 9\"</td>\r\n<td class=\"price\">$43.00/ea</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=7\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070909 QA<br />6 Sheets/box</td>\r\n<td class=\"price\">$258.00/box</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=8\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070908 QA<br />4 Boxes/case (24 Sheets)</td>\r\n<td class=\"price\">$1032.00/case</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=9\">Add to Cart</a></td>\r\n</tr>\r\n</table>\r\n</div>\r\n<p style=\"clear: both\"><a href=\"https://www.yesskincare.com/qa-cart.html\"><< return to cart</a></p>\r\n</div>',1,4,10,1,0,1,1314124175,1,1333675116,0,0,0,1314124175,1,'',0,0,0,0,0,0,1),(22,'document','text/html','ESSFTA Discount Purchase Page','Qwick-AID Product Selection','','essfta','',1,0,0,0,0,'This is where to purchase Qwick-AID bandages online. We offer two sizes and several different quantity selections. Buy Qwick-AID and keep it in your first-aid kit! ','<div id=\"fullcontent\">\r\n\r\n<div class=\"splitleft\">\r\n<p><img src=\"assets/images/product.jpg\" width=\"75%\" height=\"75%\" alt=\"Qwick-Aid Bandages\" /></p>\r\n<h4>Qwick-AID Bandages</h4>\r\n<table class=\"price\">\r\n<tr>\r\n<td class=\"price\">#7070929 QA<br />Individual Bandage 2\" x 4\"</td>\r\n<td class=\"price\">$19.00/ea <span class=\"red\">($15.20)</span></td>\r\n<td class=\"price\"><a href=\"https://www.yesskincare.com/qa-cart.html?prod=63\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#707090 QA<br />12 Bandages/box</td>\r\n<td class=\"price\">$228.00/box <span class=\"red\">($182.40)</span></td>\r\n<td class=\"price\"><a href=\"https://www.yesskincare.com/qa-cart.html?prod=64\">Add to Cart</a></td>\r\n</tr>\r\n</table>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n</div>\r\n<div class=\"splitright\">\r\n<p align=\"center\"><img src=\"assets/images/large-bandage.jpg\" width=\"75%\" height=\"75%\" alt=\"Qwick-Aid Bandages\" /></p>\r\n<h4>Qwick-AID Bandage Sheets</h4>\r\n<table class=\"price\">\r\n<tr>\r\n<td class=\"price\">#7070910 QA<br />Bandage Sheets  7\" x 9\"</td>\r\n<td class=\"price\">$43.00/ea <span class=\"red\">($34.40)</span></td>\r\n<td class=\"price\"><a href=\"https://www.yesskincare.com/qa-cart.html?prod=65\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070909 QA<br />6 Sheets/box</td>\r\n<td class=\"price\">$258.00/box <span class=\"red\">($206.40)</span></td>\r\n<td class=\"price\"><a href=\"https://www.yesskincare.com/qa-cart.html?prod=66\">Add to Cart</a></td>\r\n</tr>\r\n</table>\r\n</div>\r\n<p style=\"clear: both\"><a href=\"https://www.yesskincare.com/qa-cart.html\"><< return to cart</a></p>\r\n</div>',1,4,10,1,0,1,1314737200,1,1314738359,0,0,0,1314737453,1,'',0,0,0,0,0,0,1),(23,'document','text/html','Products','Veterinary Bandages, Surgical Dressing, Ambulatory Bandages for Animals','','bandages-for-animals','',1,0,0,0,0,'Qwick-AID Bandages are formulated from all natural bio-compatible ingredients and are clinically proven not to elicit allergic reaction or irritation. Qwick-AID does not stick to wounds and will not create a hothouse effect on the skin.','{{scrollbanner}}\r\n\r\n<div id=\"fullcontent\">\r\n<div class=\"heavyleft\">\r\n<h3>Clinical Studies Overview</h3>\r\n<div style=\"margin-bottom: 25px;\">Evidence Based Results</div>\r\n<ul style=\"margin-top: 0;\">\r\n<h4>A Trauma Dressing</h4>\r\n<ul>\r\n<li>Halts capillary/vascular bleeding</li>\r\n<li>Highly efficient in hemostasis in venous hemorrhage from small and medium veinss</li>\r\n<li>Recommended for use in trauma and parenchymatous hemorrhage</li>\r\n</ul>\r\n\r\n<h4>For Slow Healing Wounds</h4>\r\n<ul>\r\n<li>No occurrence of allergic reaction or local irritation</li>\r\n<li>Did not stick to the wound and removed without pain</li>\r\n<li>Allowed patients to undergo treatment in an outpatient basis with no dermal side effects</li>\r\n<li>Easy and cost effective</li>\r\n</ul>\r\n</ul>\r\n</div>\r\n<div class=\"lightright\">\r\n<p><img src=\"assets/images/retrieval.jpg\" alt=\"Successful retrieval\" /><br />                                                                                        \r\n</p>\r\n</div>\r\n</div>\r\n<div id=\"fullcontent\">\r\n\r\n<div class=\"splitleft\">\r\n<p><img src=\"assets/images/product.jpg\" alt=\"Qwick-Aid Bandages\" /></p>\r\n<table class=\"price\">\r\n<tr>\r\n<td class=\"price\">#7070929 QA<br />Individual Bandage 2\" x 4\"</td>\r\n<td class=\"price\">$19.00/ea</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=10\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#707090 QA<br />12 Bandages/box</td>\r\n<td class=\"price\">$228.00/box</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=11\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070931 QA<br />6 Boxes/case (72 Bandages)</td>\r\n<td class=\"price\">$1368.00/case</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=12\">Add to Cart</a></td>\r\n</tr>\r\n</table>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<p><img src=\"assets/images/large-bandage.jpg\" alt=\"Qwick-Aid Bandages\" align=\"right\" /></p>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n</div>\r\n<div class=\"splitright\">\r\n<h3>Product Features</h3>\r\n<ul>\r\n<li>Qwick-AID Bandages are formulated from all natural bio-compatible ingredients</li>\r\n<li>Clinically proven not to elicit allergic reaction or irritation</li>\r\n<li>Bio-compatible alginate layer acts as an antiseptic lubricant to facilitate healing of wounds, sores, or burns</li>\r\n<li>Qwick-AID will not stick to a wound and will not create a hothouse effect due to air permeability</li>\r\n<li>Assures good therapeutic effect while maintaining the stability of the dressing due to patent pending textile composition</li>\r\n<li>Natural, non-allergenic antiseptics in the dressing makes it ideal for field emergency use.   Recommended to treat purulent inflammation of soft tissues</li>                                                                                                                                                                                                                   \r\n<li>Convenient 7â€ by 9â€ sheets can be easily cut to fit hard to reach areas and all  sizes of wounds effective dressing for up to 3 days</li>\r\n<li>May be used with pharmaceutical topicals</li>\r\n</ul>\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<table class=\"price\">\r\n<tr>\r\n<td class=\"price\">#7070910 QA<br />Bandage Sheets  7\" x 9\"</td>\r\n<td class=\"price\">$43.00/ea</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=7\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070909 QA<br />6 Sheets/box</td>\r\n<td class=\"price\">$258.00/box</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=8\">Add to Cart</a></td>\r\n</tr>\r\n<tr>\r\n<td class=\"price\">#7070908 QA<br />4 Boxes/case (24 Sheets)</td>\r\n<td class=\"price\">$1032.00/case</td>\r\n<td class=\"price\"><a href=\"http://www.yesskincare.com/ca/cart?id=9\">Add to Cart</a></td>\r\n</tr>\r\n</table>\r\n\r\n</div>\r\n</div>',1,4,1,1,0,1,1323720801,1,1325195564,0,0,0,1323720819,1,'',0,0,0,0,0,0,0);

--
-- Table structure for table `modx_site_content_metatags`
--

CREATE TABLE `modx_site_content_metatags` (
  `content_id` int(11) NOT NULL DEFAULT '0',
  `metatag_id` int(11) NOT NULL DEFAULT '0',
  KEY `content_id` (`content_id`),
  KEY `metatag_id` (`metatag_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Reference table between meta tags and content';

--
-- Dumping data for table `modx_site_content_metatags`
--


--
-- Table structure for table `modx_site_htmlsnippets`
--

CREATE TABLE `modx_site_htmlsnippets` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT 'Chunk',
  `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  `cache_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Cache option',
  `snippet` mediumtext,
  `locked` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COMMENT='Contains the site chunks.';

--
-- Dumping data for table `modx_site_htmlsnippets`
--

INSERT INTO `modx_site_htmlsnippets` VALUES (1,'mm_demo_rules','Default ManagerManager rules. Should be modified for your own sites.',0,1,0,'// more example rules are in assets/plugins/managermanager/example_mm_rules.inc.php\n\n// example of how PHP is allowed - check that a TV named documentTags exists before creating rule\nif($modx->db->getValue(\"SELECT COUNT(id) FROM \" . $modx->getFullTableName(\'site_tmplvars\') . \" WHERE name=\'documentTags\'\")) {\n    mm_widget_tags(\'documentTags\',\' \'); // Give blog tag editing capabilities to the \'documentTags (3)\' TV\n}\n\nmm_widget_showimagetvs(); // Always give a preview of Image TVs\n',0),(2,'WebLoginSideBar','WebLogin Tpl',0,2,0,'<!-- #declare:separator <hr> -->\n<!-- login form section-->\n<form method=\"post\" name=\"loginfrm\" action=\"[+action+]\">\n    <input type=\"hidden\" value=\"[+rememberme+]\" name=\"rememberme\" />\n    <fieldset>\n        <h3>Your Login Details</h3>\n        <label for=\"username\">User: <input type=\"text\" name=\"username\" id=\"username\" tabindex=\"1\" onkeypress=\"return webLoginEnter(document.loginfrm.password);\" value=\"[+username+]\" /></label>\n    	<label for=\"password\">Password: <input type=\"password\" name=\"password\" id=\"password\" tabindex=\"2\" onkeypress=\"return webLoginEnter(document.loginfrm.cmdweblogin);\" value=\"\" /></label>\n    	<input type=\"checkbox\" id=\"checkbox_1\" name=\"checkbox_1\" tabindex=\"3\" size=\"1\" value=\"\" [+checkbox+] onclick=\"webLoginCheckRemember()\" /><label for=\"checkbox_1\" class=\"checkbox\">Remember me</label>\n    	<input type=\"submit\" value=\"[+logintext+]\" name=\"cmdweblogin\" class=\"button\" />\n	<a href=\"#\" onclick=\"webLoginShowForm(2);return false;\" id=\"forgotpsswd\">Forget Your Password?</a>\n	</fieldset>\n</form>\n<hr>\n<!-- log out hyperlink section -->\n<h4>You\'re already logged in</h4>\nDo you wish to <a href=\"[+action+]\" class=\"button\">[+logouttext+]</a>?\n<hr>\n<!-- Password reminder form section -->\n<form name=\"loginreminder\" method=\"post\" action=\"[+action+]\">\n    <fieldset>\n        <h3>It happens to everyone...</h3>\n        <input type=\"hidden\" name=\"txtpwdrem\" value=\"0\" />\n        <label for=\"txtwebemail\">Enter the email address of your account to reset your password: <input type=\"text\" name=\"txtwebemail\" id=\"txtwebemail\" size=\"24\" /></label>\n        <label>To return to the login form, press the cancel button.</label>\n    	<input type=\"submit\" value=\"Submit\" name=\"cmdweblogin\" class=\"button\" /> <input type=\"reset\" value=\"Cancel\" name=\"cmdcancel\" onclick=\"webLoginShowForm(1);\" class=\"button\" style=\"clear:none;display:inline\" />\n    </fieldset>\n</form>\n\n',0),(3,'parentRow','li structure',0,5,0,'<li><a [+wf.classes+] href=\"[+wf.link+]\" title=\"[+wf.title+]\">[+wf.linktext+]</a>\r\n    <!--[if lte IE 6]>\r\n    <a class=\"sub\" href=\"[+wf.link+]\" title=\"[+wf.title+]\">[+wf.linktext+]\r\n    <table><tr><td>\r\n    <![endif]-->\r\n    [+wf.wrapper+]\r\n    <!--[if lte IE 6]>\r\n	</td></tr></table>\r\n    </a>\r\n    <![endif]-->\r\n</li>',0),(4,'fixedUL','ul structure',0,5,0,'<ul>\r\n[+wf.wrapper+]\r\n</ul>\r\n',0),(5,'row','',0,5,0,'<li[+wf.classes+]><a href=\"[+wf.link+]\" title=\"[+wf.title+]\">[+wf.linktext+]</a>[+wf.wrapper+]</li>',0),(6,'scrollbanner_old','scrolling animal images',0,6,0,'<div id=\"middle\">\r\n	<div id=\"m-left\">\r\n		<div id=\"slogan\">\r\n			<h2>Multi-purpose Applications</h2>\r\n			<h2>Ambulatory Medicine</h2>\r\n		</div>\r\n	</div>\r\n	<div id=\"featured\">\r\n		<div class=\"slideshow\">\r\n			<img alt=\"Featured Work\" width=\"420\" height=\"300\" src=\"assets/images/featured/01.jpg\"/>\r\n			<img alt=\"Featured Work\" width=\"420\" height=\"300\" src=\"assets/images/featured/02.jpg\"/>\r\n			<img alt=\"Featured Work\" width=\"420\" height=\"300\" src=\"assets/images/featured/03.jpg\"/>\r\n		</div>\r\n	</div>\r\n</div>\r\n<!-- end middle section -->',0),(7,'scrollbanner','scrolling animal images',0,6,0,'<div id=\"middle\">\r\n	<div id=\"featured\">\r\n		<div class=\"slideshow\">\r\n			<img alt=\"Ambulatory Medicine\" width=\"800\" height=\"300\" src=\"assets/images/featured/01.jpg\"/>\r\n			<img alt=\"Equine Hospitals\" width=\"800\" height=\"300\" src=\"assets/images/featured/02.jpg\"/>\r\n			<img alt=\"Zoo Medical Centers\" width=\"800\" height=\"300\" src=\"assets/images/featured/03.jpg\"/>\r\n			<img alt=\"Large Animal Practices\" width=\"800\" height=\"300\" src=\"assets/images/featured/04.jpg\"/>\r\n			<img alt=\"Veterinary Surgical Centers\" width=\"800\" height=\"300\" src=\"assets/images/featured/05.jpg\"/>\r\n			<img alt=\"Race Track Veterinarians\" width=\"800\" height=\"300\" src=\"assets/images/featured/06.jpg\"/>\r\n			<img alt=\"Zoo Caretakers\" width=\"800\" height=\"300\" src=\"assets/images/featured/07.jpg\"/>\r\n		</div>\r\n	</div>\r\n<br clear=\"all\" />\r\n<h3 class=\"redblock\">&nbsp;</h3>\r\n</div>\r\n\r\n<!-- end middle section -->',0),(9,'qa_blog2','',0,8,0,'<div id=\"blog\">\r\n<h3><a href=\"[+id+]\">[+title+]</a></h3>\r\n<!--<p>By [+author+] - [+date+]<br />\r\n<br />-->\r\n<div>[+content+]</div>\r\n<h3 class=\"redblock\">&nbsp;</h3>\r\n</div>',0);

--
-- Table structure for table `modx_site_keywords`
--

CREATE TABLE `modx_site_keywords` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `keyword` varchar(40) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `keyword` (`keyword`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Site keyword list';

--
-- Dumping data for table `modx_site_keywords`
--


--
-- Table structure for table `modx_site_metatags`
--

CREATE TABLE `modx_site_metatags` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `tag` varchar(50) NOT NULL DEFAULT '' COMMENT 'tag name',
  `tagvalue` varchar(255) NOT NULL DEFAULT '',
  `http_equiv` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1 - use http_equiv tag style, 0 - use name',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Site meta tags';

--
-- Dumping data for table `modx_site_metatags`
--


--
-- Table structure for table `modx_site_module_access`
--

CREATE TABLE `modx_site_module_access` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `module` int(11) NOT NULL DEFAULT '0',
  `usergroup` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Module users group access permission';

--
-- Dumping data for table `modx_site_module_access`
--


--
-- Table structure for table `modx_site_module_depobj`
--

CREATE TABLE `modx_site_module_depobj` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `module` int(11) NOT NULL DEFAULT '0',
  `resource` int(11) NOT NULL DEFAULT '0',
  `type` int(2) NOT NULL DEFAULT '0' COMMENT '10-chunks, 20-docs, 30-plugins, 40-snips, 50-tpls, 60-tvs',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Module Dependencies';

--
-- Dumping data for table `modx_site_module_depobj`
--


--
-- Table structure for table `modx_site_modules`
--

CREATE TABLE `modx_site_modules` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT '0',
  `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  `disabled` tinyint(4) NOT NULL DEFAULT '0',
  `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  `wrap` tinyint(4) NOT NULL DEFAULT '0',
  `locked` tinyint(4) NOT NULL DEFAULT '0',
  `icon` varchar(255) NOT NULL DEFAULT '' COMMENT 'url to module icon',
  `enable_resource` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'enables the resource file feature',
  `resourcefile` varchar(255) NOT NULL DEFAULT '' COMMENT 'a physical link to a resource file',
  `createdon` int(11) NOT NULL DEFAULT '0',
  `editedon` int(11) NOT NULL DEFAULT '0',
  `guid` varchar(32) NOT NULL DEFAULT '' COMMENT 'globally unique identifier',
  `enable_sharedparams` tinyint(4) NOT NULL DEFAULT '0',
  `properties` text,
  `modulecode` mediumtext COMMENT 'module boot up code',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='Site Modules';

--
-- Dumping data for table `modx_site_modules`
--

INSERT INTO `modx_site_modules` VALUES (1,'Doc Manager','<strong>1.1</strong> Quickly perform bulk updates to the Documents in your site including templates, publishing details, and permissions',0,0,3,0,0,'',0,'',0,0,'',1,'','include_once(MODX_BASE_PATH.\'assets/modules/docmanager/classes/docmanager.class.php\');\ninclude_once(MODX_BASE_PATH.\'assets/modules/docmanager/classes/dm_frontend.class.php\');\ninclude_once(MODX_BASE_PATH.\'assets/modules/docmanager/classes/dm_backend.class.php\');\n\n$dm = new DocManager($modx);\n$dmf = new DocManagerFrontend($dm, $modx);\n$dmb = new DocManagerBackend($dm, $modx);\n\n$dm->ph = $dm->getLang();\n$dm->ph[\'theme\'] = $dm->getTheme();\n$dm->ph[\'ajax.endpoint\'] = MODX_SITE_URL.\'assets/modules/docmanager/tv.ajax.php\';\n$dm->ph[\'datepicker.offset\'] = $modx->config[\'datepicker_offset\'];\n$dm->ph[\'datetime.format\'] = $modx->config[\'datetime_format\'];\n\nif (isset($_POST[\'tabAction\'])) {\n    $dmb->handlePostback();\n} else {\n    $dmf->getViews();\n    echo $dm->parseTemplate(\'main.tpl\', $dm->ph);\n}');

--
-- Table structure for table `modx_site_plugin_events`
--

CREATE TABLE `modx_site_plugin_events` (
  `pluginid` int(10) NOT NULL DEFAULT '0',
  `evtid` int(10) NOT NULL DEFAULT '0',
  `priority` int(10) NOT NULL DEFAULT '0' COMMENT 'determines plugin run order'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Links to system events';

--
-- Dumping data for table `modx_site_plugin_events`
--

INSERT INTO `modx_site_plugin_events` VALUES (1,80,0),(1,81,0),(1,93,0),(2,28,0),(2,29,0),(2,35,0),(2,53,0),(3,3,0),(3,13,0),(3,28,0),(3,31,0),(3,92,0),(4,3,0),(5,85,0),(5,87,0),(5,88,0),(6,100,0);

--
-- Table structure for table `modx_site_plugins`
--

CREATE TABLE `modx_site_plugins` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT 'Plugin',
  `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  `cache_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Cache option',
  `plugincode` mediumtext,
  `locked` tinyint(4) NOT NULL DEFAULT '0',
  `properties` text,
  `disabled` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Disables the plugin',
  `moduleguid` varchar(32) NOT NULL DEFAULT '' COMMENT 'GUID of module from which to import shared parameters',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1 COMMENT='Contains the site plugins.';

--
-- Dumping data for table `modx_site_plugins`
--

INSERT INTO `modx_site_plugins` VALUES (1,'Forgot Manager Login','<strong>1.1.2</strong> Resets your manager login when you forget your password via email confirmation',0,3,0,'if(!class_exists(\'ForgotManagerPassword\')) {\n    class ForgotManagerPassword{\n        function ForgotManagerPassword(){\n            $this->errors = array();\n            $this->checkLang();\n        }\n\n        function getLink() {\n            global $_lang;\n  \n            $link = <<<EOD\n<a id=\"ForgotManagerPassword-show_form\" href=\"index.php?action=show_form\">{$_lang[\'forgot_your_password\']}</a>\nEOD;\n\n            return $link;\n        }\n\n        function getForm() {\n            global $_lang;\n\n            $form = <<<EOD\n<label id=\"FMP-email_label\" for=\"FMP_email\">{$_lang[\'account_email\']}:</label>\n<input id=\"FMP-email\" type=\"text\" />\n<button id=\"FMP-email_button\" type=\"button\" onclick=\"window.location = \'index.php?action=send_email&email=\'+document.getElementById(\'FMP-email\').value;\">{$_lang[\'send\']}</button>\nEOD;\n\n            return $form;\n        }\n\n        /* Get user info including a hash unique to this user, password, and day */\n        function getUser($user_id=false, $username=\'\', $email=\'\', $hash=\'\') {\n            global $modx, $_lang;\n\n            $user_id = $user_id == false ? false : $modx->db->escape($user_id);\n            $username = $modx->db->escape($username);\n            $email = $modx->db->escape($email);\n            $emaail = $modx->db->escape($hash);\n\n			$pre = $modx->db->config[\'table_prefix\'];\n			$site_id = $modx->config[\'site_id\'];\n			$today = date(\'Yz\'); // Year and day of the year\n			$wheres = array();\n			$where = \'\';\n			$user = null;\n  \n            if($user_id !== false) { $wheres[] = \"usr.id = \'{$user_id}\'\"; }\n            if(!empty($username)) { $wheres[] = \"usr.username = \'{$username}\'\"; }\n            if(!empty($email)) { $wheres[] = \"attr.email = \'{$email}\'\"; }\n            if(!empty($hash)) { $wheres[] = \"MD5(CONCAT(usr.username,usr.password,\'{$site_id}\',\'{$today}\')) = \'{$hash}\'\"; } \n\n            if($wheres) {\n                $where = \' WHERE \'.implode(\' AND \',$wheres);\n                $sql = \"SELECT usr.id, usr.username, attr.email, MD5(CONCAT(usr.username,usr.password,\'{$site_id}\',\'{$today}\')) AS hash\n                    FROM `{$pre}manager_users` usr\n                    INNER JOIN `{$pre}user_attributes` attr ON usr.id = attr.internalKey\n                    {$where}      \n                    LIMIT 1;\"; \n\n                if($result = $modx->db->query($sql)){\n                    if($modx->db->getRecordCount($result)==1) {\n                        $user = $modx->db->getRow($result);\n                    }\n                }\n            }\n\n            if($user == null) { $this->errors[] = $_lang[\'could_not_find_user\']; }\n\n            return $user;\n        }\n\n\n\n        /* Send an email with a link to login */\n        function sendEmail($to) {\n            global $modx, $_lang;\n\n            $subject = $_lang[\'password_change_request\'];\n            $headers  = \"MIME-Version: 1.0\\r\\n\".\n                \"Content-type: text/html; charset=\\\"{$modx->config[\'modx_charset\']}\\\"\\r\\n\".\n		\"From: MODx <{$modx->config[\'emailsender\']}>\\r\\n\".\n                \"Reply-To: no-reply@{$_SERVER[\'HTTP_HOST\']}\\r\\n\".\n                \"X-Mailer: PHP/\".phpversion();\n\n            $user = $this->getUser(0, \'\', $to);\n  \n            if($user[\'username\']) {\n                $body = <<<EOD\n<p>{$_lang[\'forgot_password_email_intro\']} <a href=\"{$modx->config[\'site_url\']}manager/processors/login.processor.php?username={$user[\'username\']}&hash={$user[\'hash\']}\">{$_lang[\'forgot_password_email_link\']}</a></p>\n<p>{$_lang[\'forgot_password_email_instructions\']}</p>\n<p><small>{$_lang[\'forgot_password_email_fine_print\']}</small></p>\nEOD;\n\n                $mail = mail($to, $subject, $body, $headers);\n                if(!$mail) { $this->errors[] = $_lang[\'error_sending_email\']; }\n   \n                return $mail;  \n            }\n        }\n\n        function unblockUser($user_id) {\n            global $modx, $_lang;\n\n            $pre = $modx->db->config[\'table_prefix\'];\n            $modx->db->update(array(\'blocked\' => 0, \'blockeduntil\' => 0, \'failedlogincount\' => 0), \"`{$pre}user_attributes`\", \"internalKey = \'{$user_id}\'\");\n\n            if(!$modx->db->getAffectedRows()) { $this->errors[] = $_lang[\'user_doesnt_exist\']; return; }\n\n            return true;\n        }\n\n        function checkLang() {\n            global $_lang;\n\n            $eng = array();\n            $eng[\'forgot_your_password\'] = \'Forgot your password?\';\n            $eng[\'account_email\'] = \'Account email\';\n            $eng[\'send\'] = \'Send\';\n            $eng[\'password_change_request\'] = \'Password change request\';\n            $eng[\'forgot_password_email_intro\'] = \'A request has been made to change the password on your account.\';\n            $eng[\'forgot_password_email_link\'] = \'Click here to complete the process.\';\n            $eng[\'forgot_password_email_instructions\'] = \'From there you will be able to change your password from the My Account menu.\';\n            $eng[\'forgot_password_email_fine_print\'] = \'* The URL above will expire once you change your password or after today.\';\n            $eng[\'error_sending_email\'] = \'Error sending email\';\n            $eng[\'could_not_find_user\'] = \'Could not find user\';\n            $eng[\'user_doesnt_exist\'] = \'User does not exist\';\n            $eng[\'email_sent\'] = \'Email sent\';\n\n            foreach($eng as $key=>$value) {\n                if(empty($_lang[$key])) { $_lang[$key] = $value; }\n            }  \n        }\n\n        function getErrorOutput() {\n            $output = \'\';\n\n            if($this->errors) {\n                $output = \'<span class=\"error\">\'.implode(\'</span><span class=\"errors\">\', $this->errors).\'</span>\';\n            }\n  \n            return $output;\n        }\n    }\n}\n\nglobal $_lang;\n\n$output = \'\';\n$event_name = $modx->Event->name;\n$action = (empty($_GET[\'action\']) ? \'\' : $_GET[\'action\']);\n$username = (empty($_GET[\'username\']) ? false : $_GET[\'username\']);\n$to = (empty($_GET[\'email\']) ? \'\' : $_GET[\'email\']);\n$hash = (empty($_GET[\'hash\']) ? false : $_GET[\'hash\']);\n$forgot = new ForgotManagerPassword();\n\nif($event_name == \'OnManagerLoginFormRender\') {\n    switch($action) {\n        case \'show_form\':\n            $output = $forgot->getForm();\n            break;\n        case \'send_email\':\n            if($forgot->sendEmail($to)) { $output = $_lang[\'email_sent\']; }\n            break;\n        default:\n            $output = $forgot->getLink();\n            break;\n    }\n\n    if($forgot->errors) { $output = $forgot->getErrorOutput() . $forgot->getLink(); }\n}\n\nif($event_name == \'OnBeforeManagerLogin\') {\n    $user = $forgot->getUser(false, $username, \'\', $hash);\n    if($user && is_array($user) && !$forgot->errors) {\n        $forgot->unblockUser($user[\'id\']);\n    }\n}\n\nif($event_name == \'OnManagerAuthentication\' && $hash && $username) {\n    $user = $forgot->getUser(false, $username, \'\', $hash);\n    $output = ($user !== null && count($forgot->errors) == 0) ? true : false;\n}\n\n$modx->Event->output($output);',0,'',0,''),(2,'ManagerManager','<strong>0.3.9</strong> Customize the MODx Manager to offer bespoke admin functions for end users.',0,3,0,'// You can put your ManagerManager rules EITHER in a chunk OR in an external file - whichever suits your development style the best\n\n// To use an external file, put your rules in /assets/plugins/managermanager/mm_rules.inc.php\n// (you can rename default.mm_rules.inc.php and use it as an example)\n// The chunk SHOULD have php opening tags at the beginning and end\n\n// If you want to put your rules in a chunk (so you can edit them through the Manager),\n// create the chunk, and enter its name in the configuration tab.\n// The chunk should NOT have php tags at the beginning or end\n\n// ManagerManager requires jQuery 1.3+\n// The URL to the jQuery library. Choose from the configuration tab whether you want to use\n// a local copy (which defaults to the jQuery library distributed with ModX 1.0.1)\n// a remote copy (which defaults to the Google Code hosted version)\n// or specify a URL to a custom location.\n// Here we set some default values, because this is a convenient place to change them if we need to,\n// but you should configure your preference via the Configuration tab.\n$js_default_url_local = $modx->config[\'site_url\']. \'/assets/js/jquery-1.4.4.min.js\';\n$js_default_url_remote = \'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js\';\n\n// You don\'t need to change anything else from here onwards\n//-------------------------------------------------------\n\n// Run the main code\n$asset_path = $modx->config[\'base_path\'] . \'assets/plugins/managermanager/mm.inc.php\';\ninclude $asset_path;',0,'&config_chunk=Configuration Chunk;text;mm_demo_rules; &remove_deprecated_tv_types_pref=Remove deprecated TV types;list;yes,no;yes &which_jquery=jQuery source;list;local (assets/js),remote (google code),manual url (specify below);local (assets/js) &js_src_type=jQuery URL override;text;',0,''),(3,'Quick Manager+','<strong>1.5.5</strong> Enables QuickManager+ front end content editing support',0,3,0,'// In manager\nif (isset($_SESSION[\'mgrValidated\'])) {\n\n    $show = TRUE;\n\n    if ($disabled  != \'\') {\n        $arr = explode(\",\", $disabled );\n        if (in_array($modx->documentIdentifier, $arr)) {\n            $show = FALSE;\n        }\n    }\n\n    if ($show) {\n        // Replace [*#tv*] with QM+ edit TV button placeholders\n        if ($tvbuttons == \'true\') {\n            $e = $modx->Event;\n            if ($e->name == \'OnParseDocument\') {\n                 $output = &$modx->documentOutput;\n                 $output = preg_replace(\'~\\[\\*#(.*?)\\*\\]~\', \'<!-- \'.$tvbclass.\' $1 -->[*$1*]\', $output);\n                 $modx->documentOutput = $output;\n             }\n         }\n        // In manager\n        if (isset($_SESSION[\'mgrValidated\'])) {\n            include_once($modx->config[\'base_path\'].\'assets/plugins/qm/qm.inc.php\');\n            $qm = new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, $noconflictjq, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs, $hidesections, $addbutton, $tpltype, $tplid, $custombutton, $managerbutton, $logout, $autohide, $editbuttons, $editbclass, $newbuttons, $newbclass, $tvbuttons, $tvbclass);\n        }\n    }\n}',0,'&jqpath=Path to jQuery;text;assets/js/jquery-1.4.4.min.js &loadmanagerjq=Load jQuery in manager;list;true,false;false &loadfrontendjq=Load jQuery in front-end;list;true,false;true &noconflictjq=jQuery noConflict mode in front-end;list;true,false;true &loadtb=Load modal box in front-end;list;true,false;true &tbwidth=Modal box window width;text;80% &tbheight=Modal box window height;text;90% &hidefields=Hide document fields from front-end editors;text;parent &hidetabs=Hide document tabs from front-end editors;text; &hidesections=Hide document sections from front-end editors;text; &addbutton=Show add document here button;list;true,false;true &tpltype=New document template type;list;parent,id,selected;parent &tplid=New document template id;int;3 &custombutton=Custom buttons;textarea; &1=undefined;; &managerbutton=Show go to manager button;list;true,false;true &logout=Logout to;list;manager,front-end;manager &disabled=Plugin disabled on documents;text; &autohide=Autohide toolbar;list;true,false;true &editbuttons=Inline edit buttons;list;true,false;false &editbclass=Edit button CSS class;text;qm-edit &newbuttons=Inline new resource buttons;list;true,false;false &newbclass=New resource button CSS class;text;qm-new &tvbuttons=Inline template variable buttons;list;true,false;false &tvbclass=Template variable button CSS class;text;qm-tv',0,''),(4,'Search Highlight','<strong>1.5</strong> Used with AjaxSearch to show search terms highlighted on page linked from search results',0,4,0,'/*\n  ------------------------------------------------------------------------\n  Plugin: Search_Highlight v1.5\n  ------------------------------------------------------------------------\n  Changes:\n  18/03/10 - Remove possibility of XSS attempts being passed in the URL\n           - look-behind assertion improved\n  29/03/09 - Removed urldecode calls;\n           - Added check for magic quotes - if set, remove slashes\n           - Highlights terms searched for when target is a HTML entity\n  18/07/08 - advSearch parameter and pcre modifier added\n  10/02/08 - Strip_tags added to avoid sql injection and XSS. Use of $_REQUEST\n  01/03/07 - Added fies/updates from forum from users mikkelwe/identity\n  (better highlight replacement, additional div around term/removal message)\n  ------------------------------------------------------------------------\n  Description: When a user clicks on the link from the AjaxSearch results\n    the target page will have the terms highlighted.\n  ------------------------------------------------------------------------\n  Created By:  Susan Ottwell (sottwell@sottwell.com)\n               Kyle Jaebker (kjaebker@muddydogpaws.com)\n\n  Refactored by Coroico (www.modx.wangba.fr) and TS\n  ------------------------------------------------------------------------\n  Based off the the code by Susan Ottwell (www.sottwell.com)\n    http://modxcms.com/forums/index.php/topic,1237.0.html\n  ------------------------------------------------------------------------\n  CSS:\n    The classes used for the highlighting are the same as the AjaxSearch\n  ------------------------------------------------------------------------\n  Notes:\n    To add a link to remove the highlighting and to show the searchterms\n    put the following on your page where you would like this to appear:\n\n      <!--search_terms-->\n\n    Example output for this:\n\n      Search Terms: the, template\n      Remove Highlighting\n\n    Set the following variables to change the text:\n\n      $termText - the text before the search terms\n      $removeText - the text for the remove link\n  ------------------------------------------------------------------------\n*/\nglobal $database_connection_charset;\n// Conversion code name between html page character encoding and Mysql character encoding\n// Some others conversions should be added if needed. Otherwise Page charset = Database charset\n$pageCharset = array(\n  \'utf8\' => \'UTF-8\',\n  \'latin1\' => \'ISO-8859-1\',\n  \'latin2\' => \'ISO-8859-2\'\n);\n\nif (isset($_REQUEST[\'searched\']) && isset($_REQUEST[\'highlight\'])) {\n\n  // Set these to customize the text for the highlighting key\n  // --------------------------------------------------------\n     $termText = \'<div class=\"searchTerms\">Search Terms: \';\n     $removeText = \'Remove Highlighting\';\n  // --------------------------------------------------------\n\n  $highlightText = $termText;\n  $advsearch = \'oneword\';\n\n  $dbCharset = $database_connection_charset;\n  $pgCharset = array_key_exists($dbCharset,$pageCharset) ? $pageCharset[$dbCharset] : $dbCharset;\n\n  // magic quotes check\n  if (get_magic_quotes_gpc()){\n    $searched = strip_tags(stripslashes($_REQUEST[\'searched\']));\n    $highlight = strip_tags(stripslashes($_REQUEST[\'highlight\']));\n    if (isset($_REQUEST[\'advsearch\'])) $advsearch = strip_tags(stripslashes($_REQUEST[\'advsearch\']));\n  }\n  else {\n    $searched = strip_tags($_REQUEST[\'searched\']);\n    $highlight = strip_tags($_REQUEST[\'highlight\']);\n    if (isset($_REQUEST[\'advsearch\'])) $advsearch = strip_tags($_REQUEST[\'advsearch\']);\n  }\n\n  if ($advsearch != \'nowords\') {\n\n    $searchArray = array();\n    if ($advsearch == \'exactphrase\') $searchArray[0] = $searched;\n    else $searchArray = explode(\' \', $searched);\n\n    $searchArray = array_unique($searchArray);\n    $nbterms = count($searchArray);\n    $searchTerms = array();\n    for($i=0;$i<$nbterms;$i++){\n      // Consider all possible combinations\n      $word_ents = array();\n      $word_ents[] = $searchArray[$i];\n      $word_ents[] = htmlentities($searchArray[$i], ENT_NOQUOTES, $pgCharset);\n      $word_ents[] = htmlentities($searchArray[$i], ENT_COMPAT, $pgCharset);\n      $word_ents[] = htmlentities($searchArray[$i], ENT_QUOTES, $pgCharset);\n      // Avoid duplication\n      $word_ents = array_unique($word_ents);\n      foreach($word_ents as $word) $searchTerms[]= array(\'term\' => $word, \'class\' => $i+1);\n    }\n\n    $output = $modx->documentOutput; // get the parsed document\n    $body = explode(\"<body\", $output); // break out the head\n\n    $highlightClass = explode(\' \',$highlight); // break out the highlight classes\n    /* remove possibility of XSS attempts being passed in URL */\n    foreach ($highlightClass as $key => $value) {\n       $highlightClass[$key] = preg_match(\'/[^A-Za-z0-9_-]/ms\', $value) == 1 ? \'\' : $value;\n    }\n\n    $pcreModifier = ($pgCharset == \'UTF-8\') ? \'iu\' : \'i\';\n    $lookBehind = \'/(?<!&|&[\\w#]|&[\\w#]\\w|&[\\w#]\\w\\w|&[\\w#]\\w\\w\\w|&[\\w#]\\w\\w\\w\\w|&[\\w#]\\w\\w\\w\\w\\w)\';  // avoid a match with a html entity\n    $lookAhead = \'(?=[^>]*<)/\'; // avoid a match with a html tag\n\n    $nbterms = count($searchTerms);\n    for($i=0;$i<$nbterms;$i++){\n      $word = $searchTerms[$i][\'term\'];\n      $class = $highlightClass[0].\' \'.$highlightClass[$searchTerms[$i][\'class\']];\n\n      $highlightText .= ($i > 0) ? \', \' : \'\';\n      $highlightText .= \'<span class=\"\'.$class.\'\">\'.$word.\'</span>\';\n\n      $pattern = $lookBehind . preg_quote($word, \'/\') . $lookAhead . $pcreModifier;\n      $replacement = \'<span class=\"\' . $class . \'\">${0}</span>\';\n      $body[1] = preg_replace($pattern, $replacement, $body[1]);\n    }\n\n    $output = implode(\"<body\", $body);\n\n    $removeUrl = $modx->makeUrl($modx->documentIdentifier);\n    $highlightText .= \'<br /><a href=\"\'.$removeUrl.\'\" class=\"ajaxSearch_removeHighlight\">\'.$removeText.\'</a></div>\';\n\n    $output = str_replace(\'<!--search_terms-->\',$highlightText,$output);\n    $modx->documentOutput = $output;\n  }\n}',0,'',0,''),(5,'TinyMCE Rich Text Editor','<strong>3.3.9.2</strong> Javascript WYSIWYG Editor',0,3,0,'// Set the name of the plugin folder\n$plugin_dir = \"tinymce\";\n\n// Set path and base setting variables\nif(!isset($mce_path))\n{ \n	$mce_path = MODX_BASE_PATH . \'assets/plugins/\'.$plugin_dir . \'/\'; \n	$mce_url  = MODX_BASE_URL  . \'assets/plugins/\'.$plugin_dir . \'/\'; \n}\n\n$params[\'customparams\']    = $customparams;\n$params[\'blockFormats\']    = $mce_formats;\n$params[\'entity_encoding\'] = $entity_encoding;\n$params[\'entities\']        = $entities;\n$params[\'pathoptions\']     = $mce_path_options;\n$params[\'resizing\']        = $mce_resizing;\n$params[\'disabledButtons\'] = $disabledButtons;\n$params[\'link_list\']       = $link_list;\n$params[\'theme\']           = $webtheme;\n$params[\'custom_plugins\']  = $webPlugins;\n$params[\'custom_buttons1\'] = $webButtons1;\n$params[\'custom_buttons2\'] = $webButtons2;\n$params[\'custom_buttons3\'] = $webButtons3;\n$params[\'custom_buttons4\'] = $webButtons4;\n$params[\'toolbar_align\']   = $webAlign;\n$params[\'width\']           = $width;\n$params[\'height\']          = $height;\n\n$params[\'mce_path\']        = $mce_path;\n$params[\'mce_url\']         = $mce_url;\n\ninclude_once $mce_path . \'lang/tinymce.lang.php\';\ninclude_once $mce_path . \'tinymce.functions.php\';\n\n$mce = new TinyMCE($params);\n\n// Handle event\n$e = &$modx->Event; \nswitch ($e->name)\n{\n	case \"OnRichTextEditorRegister\": // register only for backend\n		$e->output(\"TinyMCE\");\n		break;\n\n	case \"OnRichTextEditorInit\": \n		if($editor!==\"TinyMCE\") return;\n		\n		$params[\'elements\']        = $elements;\n		$params[\'css_selectors\']   = $modx->config[\'tinymce_css_selectors\'];\n		$params[\'use_browser\']     = $modx->config[\'use_browser\'];\n		$params[\'editor_css_path\'] = $modx->config[\'editor_css_path\'];\n		\n		if($modx->isBackend() || (intval($_GET[\'quickmanagertv\']) == 1 && isset($_SESSION[\'mgrValidated\'])))\n		{\n			$params[\'theme\']           = $modx->config[\'tinymce_editor_theme\'];\n			$params[\'language\']        = getTinyMCELang($modx->config[\'manager_language\']);\n			$params[\'frontend\']        = false;\n			$params[\'custom_plugins\']  = $modx->config[\'tinymce_custom_plugins\'];\n			$params[\'custom_buttons1\'] = $modx->config[\'tinymce_custom_buttons1\'];\n			$params[\'custom_buttons2\'] = $modx->config[\'tinymce_custom_buttons2\'];\n			$params[\'custom_buttons3\'] = $modx->config[\'tinymce_custom_buttons3\'];\n			$params[\'custom_buttons4\'] = $modx->config[\'tinymce_custom_buttons4\'];\n			$params[\'toolbar_align\']   = $modx->config[\'manager_direction\'];\n			$params[\'webuser\']         = null;\n			\n			$html = $mce->get_mce_script($params);\n		}\n		else\n		{\n			$frontend_language = isset($modx->config[\'fe_editor_lang\']) ? $modx->config[\'fe_editor_lang\']:\'\';\n			$webuser = (isset($modx->config[\'rb_webuser\']) ? $modx->config[\'rb_webuser\'] : null);\n			\n			$params[\'webuser\']         = $webuser;\n			$params[\'language\']        = getTinyMCELang($frontend_language);\n			$params[\'frontend\']        = true;\n			\n			$html = $mce->get_mce_script($params);\n		}\n		$e->output($html);\n		break;\n\n	case \"OnInterfaceSettingsRender\":\n		global $usersettings,$settings;\n		$action = $modx->manager->action;\n		switch ($action)\n		{\n			case 11:\n				$mce_settings = \'\';\n				break;\n			case 12:\n				$mce_settings = $usersettings;\n				break;\n			case 17:\n				$mce_settings = $settings;\n				break;\n			default:\n				$mce_settings = $settings;\n				break;\n		}\n		\n		$params[\'use_editor\']       = $modx->config[\'base_url\'].$modx->config[\'use_editor\'];\n        $params[\'editor_css_path\']  = $modx->config[\'editor_css_path\'];\n		$params[\'theme\']            = $mce_settings[\'tinymce_editor_theme\'];\n		$params[\'css_selectors\']    = $mce_settings[\'tinymce_css_selectors\'];\n		$params[\'custom_plugins\']   = $mce_settings[\'tinymce_custom_plugins\'];\n		$params[\'custom_buttons1\']  = $mce_settings[\'tinymce_custom_buttons1\'];\n		$params[\'custom_buttons2\']  = $mce_settings[\'tinymce_custom_buttons2\'];\n		$params[\'custom_buttons3\']  = $mce_settings[\'tinymce_custom_buttons3\'];\n		$params[\'custom_buttons4\']  = $mce_settings[\'tinymce_custom_buttons4\'];\n		\n		$html = $mce->get_mce_settings($params);\n		$e->output($html);\n		break;\n		\n	default :\n		return; // stop here - this is very important. \n		break; \n}\n',0,'&customparams=Custom Parameters;textarea; &mce_formats=Block Formats;text;p,h1,h2,h3,h4,h5,h6,div,blockquote,code,pre &entity_encoding=Entity Encoding;list;named,numeric,raw;named &entities=Entities;text; &mce_path_options=Path Options;list;rootrelative,docrelative,fullpathurl;docrelative &mce_resizing=Advanced Resizing;list;true,false;true &disabledButtons=Disabled Buttons;text; &link_list=Link List;list;enabled,disabled;enabled &webtheme=Web Theme;list;simple,editor,creative,custom;simple &webPlugins=Web Plugins;text;style,advimage,advlink,searchreplace,contextmenu,paste,fullscreen,nonbreaking,xhtmlxtras,visualchars,media &webButtons1=Web Buttons 1;text;undo,redo,selectall,|,pastetext,pasteword,|,search,replace,|,nonbreaking,hr,charmap,|,image,link,unlink,anchor,media,|,cleanup,removeformat,|,fullscreen,code,help &webButtons2=Web Buttons 2;text;bold,italic,underline,strikethrough,sub,sup,|,|,blockquote,bullist,numlist,outdent,indent,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,|,styleprops &webButtons3=Web Buttons 3;text; &webButtons4=Web Buttons 4;text; &webAlign=Web Toolbar Alignment;list;ltr,rtl;ltr &width=Width;text;100% &height=Height;text;400',0,''),(6,'TransAlias','<strong>1.0.1</strong> Human readible URL translation supporting multiple languages and overrides',0,3,0,'/*\n * Initialize parameters\n */\nif (!isset ($alias)) { return ; }\nif (!isset ($plugin_dir) ) { $plugin_dir = \'transalias\'; }\nif (!isset ($plugin_path) ) { $plugin_path = $modx->config[\'base_path\'].\'assets/plugins/\'.$plugin_dir; }\nif (!isset ($table_name)) { $table_name = \'common\'; }\nif (!isset ($char_restrict)) { $char_restrict = \'lowercase alphanumeric\'; }\nif (!isset ($remove_periods)) { $remove_periods = \'No\'; }\nif (!isset ($word_separator)) { $word_separator = \'dash\'; }\nif (!isset ($override_tv)) { $override_tv = \'\'; }\n\nif (!class_exists(\'TransAlias\')) {\n    require_once $plugin_path.\'/transalias.class.php\';\n}\n$trans = new TransAlias($modx);\n\n/*\n * see if TV overrides the table name\n */\nif(!empty($override_tv)) {\n    $tvval = $trans->getTVValue($override_tv);\n    if(!empty($tvval)) {\n        $table_name = $tvval;\n    }\n}\n\n/*\n * Handle events\n */\n$e =& $modx->event;\nswitch ($e->name ) {\n    case \'OnStripAlias\':\n        if ($trans->loadTable($table_name, $remove_periods)) {\n            $output = $trans->stripAlias($alias,$char_restrict,$word_separator);\n            $e->output($output);\n            $e->stopPropagation();\n        }\n        break ;\n    default:\n        return ;\n}',0,'&table_name=Trans table;list;common,russian,utf8,utf8lowercase;utf8lowercase &char_restrict=Restrict alias to;list;lowercase alphanumeric,alphanumeric,legal characters;legal characters &remove_periods=Remove Periods;list;Yes,No;No &word_separator=Word Separator;list;dash,underscore,none;dash &override_tv=Override TV name;string;',0,'');

--
-- Table structure for table `modx_site_snippets`
--

CREATE TABLE `modx_site_snippets` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT 'Snippet',
  `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  `cache_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Cache option',
  `snippet` mediumtext,
  `locked` tinyint(4) NOT NULL DEFAULT '0',
  `properties` text,
  `moduleguid` varchar(32) NOT NULL DEFAULT '' COMMENT 'GUID of module from which to import shared parameters',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 COMMENT='Contains the site snippets.';

--
-- Dumping data for table `modx_site_snippets`
--

INSERT INTO `modx_site_snippets` VALUES (1,'AjaxSearch','<strong>1.9.2</strong> Ajax and non-Ajax search that supports results highlighting',0,4,0,'/**\n--------------------------------------------------------------------------------\n:: Preamble\n--------------------------------------------------------------------------------\nThe release 1.9 looks like the previous release, but it is a completely\nrefactored development.\n\nIt is partially based on the previous releases of AjaxSearch written by the\nfollowing authors:\n\n Coroico <coroico@wangba.fr>\n Jason Coward <jason@opengeek.com>\n Kyle Jaebker <kjaebker@muddydogpaws.com>\n Ryan Thrash  <ryan@vertexworks.com>\n\n--------------------------------------------------------------------------------\n:: Description\n--------------------------------------------------------------------------------\n\n        Ajax and non-Ajax search that supports results highlighting.\n\nThis snippet adds AJAX functionality on top of the robust content searching.\n\nWhat AjaxSearch do:\n- search in fields of the content an TV MODx tables\n- several customizable input forms available\n- search in a subset of documents\n- highlighting of searchword in the results returned\n- allow a filtering of search results\n- displaying of search results customizable thru templates\n- group the search results by categories\n- filter features (allow to set up specific search forms)\n\nIt could works in two modes:\n\najax mode :\n- search results displayed in current page through AJAX request\n- multiple search options including live search\n- available link to view all results in a new page when only a subset is returned\n- customize the number of results returned\n- offer two types for paginating the results\n- uses the MooTools or JQuery js library for AJAX and visual effects\n\nnon-ajax mode :\n- search results displayed in a new page or below on the same page\n- offer two types for paginating the results\n- works without JS enabled\n\nWhat AjaxSearch don\'t :\n- search in dynamic content. AjaxSearch could retreive only data stored in\ndatabase. It can\'t find something stored in a chunk or generated by a snippet.\n\nMORE : See the ajaxSearch.readme.txt file for more informations. \n\n----------------------------------------------------------------------------- */\n\n// ajaxSearch version being executed\ndefine(\'AS_VERSION\', \'1.9.2\');\n// Path where ajaxSearch is installed\ndefine(\'AS_SPATH\', \'assets/snippets/ajaxSearch/\');\n//include snippet file\ndefine(\'AS_PATH\', MODX_BASE_PATH . AS_SPATH);\n\n//------------------------------------------------------------------------------\n// Configuration - general AjaxSearch snippet setup options\n//------------------------------------------------------------------------------\nglobal $modx;\n$tstart = $modx->getMicroTime();\n\n$cfg = array(); // current configuration\n$cfg[\'version\'] = AS_VERSION;\n\n// Load the default configuration $dcfg to get the default values\n$default = AS_PATH . \'configs/default.config.php\';\nif (file_exists($default)) include $default;\nelse return \"<h3>AjaxSearch error: $default not found !<br />Check the existing of this file!</h3>\";\nif (!isset($dcfg)) return \"<h3>AjaxSearch error: default configuration array not defined in $default!<br /> Check the content of this file!</h3>\";\n\nif ($dcfg[\'version\'] != AS_VERSION) return \"<h3>AjaxSearch error: Version number mismatch. Check the content of the default configuration file!</h3>\";\n\n// check the possible use of deprecated parameters (since 1.8.5)\n$readme = \"ajaxSearch_version_192.txt\";\nif (isset($searchWordList)) return \"<h3>AjaxSearch error: searchWordList is a deprecated parameter. Read \" . $readme . \" file.</h3>\";\nif (isset($resultsPage)) return \"<h3>AjaxSearch error: resultsPage is a deprecated parameter. Read \" . $readme . \" file.</h3>\";\nif (isset($AS_showForm)) return \"<h3>AjaxSearch error: AS_showForm parameter has been renamed showInputForm. Read \" . $readme . \" file.</h3>\";\nif (isset($AS_landing)) return \"<h3>AjaxSearch error: AS_landing parameter has been renamed landingPage. Read \" . $readme . \" file.</h3>\";\nif (isset($AS_showResults)) return \"<h3>AjaxSearch error: AS_showResults parameter has been renamed showResults. Read \" . $readme . \" file.</h3>\";\n\n// Load a custom configuration file if required\n// config_name - Other config installed in the configs folder or in any folder within the MODx base path via @FILE\n// Configuration files should be named in the form: <config_name>.config.php\n// Default: \'\' - no custom config\n$cfg[\'config\'] = isset($config) ? $config : $dcfg[\'config\'];\nif ($cfg[\'config\']) {\n    $config = $cfg[\'config\'];\n    $lconfig = (substr($config, 0, 6) != \"@FILE:\") ? AS_PATH . \"configs/$config.config.php\" : $modx->config[\'base_path\'] . trim(substr($config, 6, strlen($config)-6));\n    if (file_exists($lconfig)) include $lconfig;\n    else return \"<h3>AjaxSearch error: \" . $lconfig . \" not found !<br />Check your config parameter or your config file name!</h3>\";\n}\n\n// &debug = [ 0 | 1 | 2 | 3 ]\n// 1,2,3 : File mode - Output logged into a file named ajaxSearch_log.txt in ajaxSearch/debug/ directory.\n// this directory should be writable.\n// Default: 0 - no logs\n$cfg[\'debug\'] = isset($debug) ? $debug : (isset($__debug) ? $__debug : $dcfg[\'debug\']);\n\n// &timeLimit = [ int | 60 ]\n// Max execution time in seconds for the AjaxSearch script\n// 0 - If set to zero, no time limit is imposed\n// Default: 60 - 1 minute.\n$cfg[\'timeLimit\'] = isset($timeLimit) ? $timeLimit : (isset($__timeLimit) ? $__timeLimit : $dcfg[\'timeLimit\']);\n\n// &language [ language_name | manager_language ] (optional)\n// Default: $modx->config[\'manager_language\'] - manager language used\n$cfg[\'language\'] = isset($language) ? $language : (isset($__language) ? $__language : $dcfg[\'language\']);\n\n// &ajaxSearch [1 | 0] (as passed in snippet variable ONLY)\n// Use this to display the search results using ajax You must include the Mootools library in your template\n// Default: 1 - ajax mode selected\n$cfg[\'ajaxSearch\'] = isset($ajaxSearch) ? $ajaxSearch : (isset($__ajaxSearch) ? $__ajaxSearch : $dcfg[\'ajaxSearch\']);\n\n// &advSearch [ \'exactphrase\' | \'allwords\' | \'nowords\' | \'oneword\' ]\n// Advanced search:\n// - exactphrase : provides the documents which contain the exact phrase\n// - allwords : provides the documents which contain all the words\n// - nowords : provides the documents which do not contain the words\n// - oneword : provides the document which contain at least one word\n// Default: \'oneword\'\n$cfg[\'advSearch\'] = isset($advSearch) ? $advSearch : (isset($__advSearch) ? $__advSearch : $dcfg[\'advSearch\']);\n\n// &asId - Unique id for AjaxSearch instance\n// this allows to distinguish several Ajaxsearch instances on the same page\n// Any combination of characters a-z, underscores, and numbers 0-9\n// This is case sensitive. Default = empty string\n// With ajax mode, the first snippet call of the page shouldn\'t use the asId parameter\n$cfg[\'asId\'] = isset($asId) ? $asId : (isset($__asId) ? $__asId : $dcfg[\'asId\']);\n\n// &whereSearch\n// Define where should occur the search\n// a separated list of keywords describing the tables where to search\n// keywords allowed :\n// \"content\" for site_content, \"tv\" for site_tmplvar_contentvalues, \"jot\" for jot_content, \"maxigallery\" for maxigallery\n// you could add your own keywords. But the keyword should be a user function which describes the tables to use\n// all the text fields are searchable but you could specify the fields like this:\n// whereSearch=`content:pagetitle,introtext,content|tv:tv_value|maxigallery:gal_title`\n// Default: \'content|tv\'\n$cfg[\'whereSearch\'] = isset($whereSearch) ? $whereSearch : (isset($__whereSearch) ? $__whereSearch : $dcfg[\'whereSearch\']);\n\n// &sites : [comma separated list of sites]\n// sites allow to define sites where to do the search\n$cfg[\'sites\'] = isset($sites) ? $sites : (isset($__sites) ? $__sites : $dcfg[\'sites\']);\n\n// &subSearch  [comma separated list of subsites]\n// subSearch allow to define sub-domains or subsites where to do the search\n$cfg[\'subSearch\'] = isset($subSearch) ? $subSearch : (isset($__subSearch) ? $__subSearch : $dcfg[\'subSearch\']);\n\n// &category  [ tv_name ]\n// Any combination of characters a-z, underscores, and numbers 0-9\n// This is case sensitive. Default = empty string\n// Name of a TV. The category of a MODx document is provided by this TV content\n$cfg[\'category\'] = isset($category) ? $category : (isset($__category) ? $__category : $dcfg[\'category\']);\n\n// &display [ \'mixed\' | \'unmixed\' ]\n// When results comes from differents sites, subsites or categories, you could choose to display the results mixed or unmixed.\n// Default: unmixed\n// Unmixed mode display the results grouped by site, subsite or category. Each group of results could be paginated.\n// Mixed mode mixe all the results coming from the differents area.\n// With unmixed mode, results are ordered by the field provided by the first field of the order parameter\n$cfg[\'display\'] = isset($display) ? $display : (isset($__display) ? $__display : $dcfg[\'display\']);\n\n// &init  [ \'none\' | \'all\' ]\n// init defines if the search display all the results or none when the search term is an empty string\n// Default: none\n$cfg[\'init\'] = isset($init) ? $init : (isset($__init) ? $__init : $dcfg[\'init\']);\n\n// &withTvs - Define which Tvs are used for the search in Tvs\n// a comma separated list of TV names\n// Default: \'\' - all TVs are used (empty list)\n$cfg[\'withTvs\'] = isset($withTvs) ? $withTvs : (isset($__withTvs) ? $__withTvs : $dcfg[\'withTvs\']);\n\n// &order - Define the sort order of results\n// Comma separated list of fields defined as searchable in the table definition\n// to suppress the sorting, use &order=``\n// Default: \'pub_date,pagetitle\'\n$cfg[\'order\'] = isset($order) ? $order : (isset($__order) ? $__order : $dcfg[\'order\']);\n\n// &rank - Define the rank of search results. Results are sorted by rank value\n// Comma separated list of fields with optionally user defined weight\n// Default: \'pagetitle:100,extract\'\n// to suppress the rank sorting, use &rank=``;\n// &rank sort occurs after the &order sort\n$cfg[\'rank\'] = isset($rank) ? $rank : (isset($__rank) ? $__rank : $dcfg[\'rank\']);\n\n// &maxWords [ 1 < int < 10 ]\n// Maximum number of words for searching\n// Default: 5\n$cfg[\'maxWords\'] = isset($maxWords) ? intval($maxWords) : (isset($__maxWords) ? intval($__maxWords) : $dcfg[\'maxWords\']);\n\n// &minChars [  2 < int < 100 ]\n// Minimum number of characters to require for a word to be valid for searching.\n// length of each word with $advSearch = \'allwords\', \'oneword\' or \'nowords\'\n// length of the search string with possible spaces with $advSearch = \'exactphrase\'\n// Default: 3\n$cfg[\'minChars\'] = isset($minChars) ? intval($minChars) : (isset($__minChars) ? intval($__minChars) : $dcfg[\'minChars\']);\n\n// &showInputForm [0 | 1]\n// If you would like to turn off the search form when showing results you can set this to false.(1=true, 0=false)\n// Default: 1\n$cfg[\'showInputForm\'] = isset($showInputForm) ? $showInputForm : (isset($__showInputForm) ? $__showInputForm : $dcfg[\'showInputForm\']);\n\n// &showIntro [0 | 1]\n// If you would like to turn off the intro message beyond the input form you can set this to false.(1=true, 0=false)\n// Default: 1\n$cfg[\'showIntro\'] = isset($showIntro) ? $showIntro : (isset($__showIntro) ? $__showIntro : $dcfg[\'showIntro\']);\n\n// &grabMax [ int ]\n// Set to the max number of records you would like on each page. Set to 0 if unlimited.\n// Default: 10\n$cfg[\'grabMax\'] = isset($grabMax) ? intval($grabMax) : (isset($__grabMax) ? intval($__grabMax) : $dcfg[\'grabMax\']);\n\n// &extract [ n:searchable fields list | 1:content,description,introtext,tv_content]\n// show the search terms highlighted in a little extract\n// n : maximum number of extracts displayed\n// ordered searchable fields list : separated list of fields define as searchable in the table definition\n// Default: \'1:content,description,introtext,tv_value\' - One extract from content then description,introtext,tv_value\n$cfg[\'extract\'] = isset($extract) ? $extract : (isset($__extract) ? $__extract : $dcfg[\'extract\']);\n\n// &extractLength [ 50 < int < 800]\n// Length of extract around the search words found - between 50 and 800 characters\n// Default: 200\n$cfg[\'extractLength\'] = isset($extractLength) ? intval($extractLength) : (isset($__extractLength) ? intval($__extractLength) : $dcfg[\'extractLength\']);\n\n// &extractEllips [ string ]\n// Ellipside to mark the star and the end of  an extract when the sentence is cutting\n// Default: \'...\'\n$cfg[\'extractEllips\'] = isset($extractEllips) ? $extractEllips : (isset($__extractEllips) ? $__extractEllips : $dcfg[\'extractEllips\']);\n\n// &extractSeparator [ string ]\n// Any html tag to mark the separation between extracts\n// Default: \'<br />\' - but you could also choose for instance \'<hr />\'\n$cfg[\'extractSeparator\'] = isset($extractSeparator) ? $extractSeparator : (isset($__extractSeparator) ? $__extractSeparator : $dcfg[\'extractSeparator\']);\n\n// &formatDate [ string ]\n// The format of outputted dates. See http://www.php.net/manual/en/function.date.php\n// Default: \'d/m/y : H:i:s\' - e.g: 21/01/08 : 23:09:22\n$cfg[\'formatDate\'] = isset($formatDate) ? $formatDate : (isset($__formatDate) ? $__formatDate : $dcfg[\'formatDate\']);\n\n// &highlightResult [1 | 0]\n// create links so that search terms will be highlighted when linked page clicked\n// Default: 1 - Results highlighted\n$cfg[\'highlightResult\'] = isset($highlightResult) ? $highlightResult : (isset($__highlightResult) ? $__highlightResult : $dcfg[\'highlightResult\']);\n\n// &pagingType[ 0 | 1 | 2 ]\n// Determine the pagination type used - Default 1 : Previous - X-Y/Z - Next\n$cfg[\'pagingType\'] = isset($pagingType) ? $pagingType : (isset($__pagingType) ? $__pagingType : $dcfg[\'pagingType\']);\n\n// &pageLinkSeparator [ string ]\n// What you want, if anything, between your page link numbers\n// Default: \' | \'\n$cfg[\'pageLinkSeparator\'] = isset($pageLinkSeparator) ? $pageLinkSeparator : (isset($__pageLinkSeparator) ? $__pageLinkSeparator : $dcfg[\'pageLinkSeparator\']);\n\n// &showPagingAlways[1 | 0]\n// Determine whether or not to always show paging\n$cfg[\'showPagingAlways\'] = isset($showPagingAlways) ? $showPagingAlways : (isset($__showPagingAlways) ? $__showPagingAlways : $dcfg[\'showPagingAlways\']);\n\n// &landingPage  [int] set the page to show the results page (non Ajax search)\n// Default: false\n$cfg[\'landingPage\'] = isset($landingPage) ? $landingPage : (isset($__landingPage) ? $__landingPage : $dcfg[\'landingPage\']);\n\n// &showResults  [1 | 0]  establish whether to show the results or not\n// Default: 1\n$cfg[\'showResults\'] = isset($showResults) ? $showResults : (isset($__showResults) ? $__showResults : $dcfg[\'showResults\']);\n\n// &parents [ [ in | not in ] : comma separated list of Ids | \'\' ]\n// Ids of documents to retrieve their children to &depth depth  where to do the search in or not in\n// Default: \'\' - empty list\n$cfg[\'parents\'] = isset($parents) ? $parents : (isset($__parents) ? $__parents : $dcfg[\'parents\']);\n\n// &documents [ [ in | not in ] : comma separated list of Ids | \'\' ]\n// Ids of documents where to do the search in or not in\n// Default: \'\' - empty list\n$cfg[\'documents\'] = isset($documents) ? $documents : (isset($__documents) ? $__documents : $dcfg[\'documents\']);\n\n// &depth [ 0 < int ] Number of levels deep to retrieve documents\n// Default: 10\n$cfg[\'depth\'] = isset($depth) ? intval($depth) : (isset($__depth) ? intval($__depth) : $dcfg[\'depth\']);\n\n// &hideMenu [0 | 1| 2]  Search in hidden documents from menu.\n// 0 - search only in documents visible from menu\n// 1 - search only in documents hidden from menu\n// 2 - search in hidden or visible documents from menu\n// Default: 2\n$cfg[\'hideMenu\'] = isset($hideMenu) ? $hideMenu : (isset($__hideMenu) ? $__hideMenu : $dcfg[\'hideMenu\']);\n\n// &hideLink [0 | 1 ]   Search in content of type reference (link)\n// 0 - search in content of type document AND reference\n// 1 - search only in content of type document\n// Default: 1\n$cfg[\'hideLink\'] = isset($hideLink) ? $hideLink : (isset($__hideLink) ? $__hideLink : $dcfg[\'hideLink\']);\n\n// &filter - Basic filtering : remove unwanted documents that meets the criteria of the filter\n// See Ditto 2 Basic filtering and the ajaxSearch demo site for more information\n// Default: \'\' - empty list\n$cfg[\'filter\'] = isset($filter) ? $filter : (isset($__filter) ? $__filter : $dcfg[\'filter\']);\n\n// &output [0 | 1 ]Custom layout\n// Default: 0 - Results are listed just under the input form\n// 1 - custom layout. put [+as.inputForm+] and [+as.results+] where you want to define the layout\n$cfg[\'output\'] = isset($output) ? $output : (isset($__output) ? $__output : $dcfg[\'output\']);\n\n// &tplInput - Chunk to style the ajaxSearch input form\n// Default: \'@FILE:\' . AS_SPATH . \'templates/input.tpl.html\'\n$cfg[\'tplInput\'] = isset($tplInput) ? $tplInput : (isset($__tplInput) ? $__tplInput : $dcfg[\'tplInput\']);\n\n// &tplResults - Chunk to style the non-ajax output results outer\n// Default: \'@FILE:\' . AS_SPATH . \'templates/results.tpl.html\'\n$cfg[\'tplResults\'] = isset($tplResults) ? $tplResults : (isset($__tplResults) ? $__tplResults : $dcfg[\'tplResults\']);\n\n// &tplGrpResult - Chunk to style the non-ajax output group result outer\n// Default: \'@FILE:\' . AS_SPATH . \'templates/grpResult.tpl.html\'\n$cfg[\'tplGrpResult\'] = isset($tplGrpResult) ? $tplGrpResult : (isset($__tplGrpResult) ? $__tplGrpResult : $dcfg[\'tplGrpResult\']);\n\n// &tplResult - Chunk to style each output result\n// Default: \"@FILE:\" . AS_SPATH . \'templates/result.tpl.html\'\n$cfg[\'tplResult\'] = isset($tplResult) ? $tplResult : (isset($__tplResult) ? $__tplResult : $dcfg[\'tplResult\']);\n\n// &tplComment - Chunk to style the comment form (Also used with the ajax mode)\n// Default: \'@FILE:\' . AS_SPATH . \'templates/comment.tpl.html\'\n$cfg[\'tplComment\'] = isset($tplComment) ? $tplComment : (isset($__tplComment) ? $__tplComment : $dcfg[\'tplComment\']);\n\n// &tplPaging0 - Chunk to style the paging links - type 0\n// Default: \'@FILE:\' . AS_SPATH . \'templates/paging0.tpl.html\'\n$cfg[\'tplPaging0\'] = isset($tplPaging0) ? $tplPaging0 : (isset($__tplPaging0) ? $__tplPaging0 : $dcfg[\'tplPaging0\']);\n\n// &tplPaging1 - Chunk to style the paging links - type 1\n// Default: \'@FILE:\' . AS_SPATH . \'templates/paging1.tpl.html\'\n$cfg[\'tplPaging1\'] = isset($tplPaging1) ? $tplPaging1 : (isset($__tplPaging1) ? $__tplPaging1 : $dcfg[\'tplPaging1\']);\n\n// &tplPaging2 - Chunk to style the paging links - type 2\n// Default: \'@FILE:\' . AS_SPATH . \'templates/paging2.tpl.html\'\n$cfg[\'tplPaging2\'] = isset($tplPaging2) ? $tplPaging2 : (isset($__tplPaging2) ? $__tplPaging2 : $dcfg[\'tplPaging2\']);\n\n// &stripInput - stripInput user function name\n// Default: \'defaultStripInput\'\n$cfg[\'stripInput\'] = isset($stripInput) ? $stripInput : (isset($__stripInput) ? $__stripInput : $dcfg[\'stripInput\']);\n\n// &stripOutput - stripOutput user function name\n// Default: \'defaultStripOutput\'\n$cfg[\'stripOutput\'] = isset($stripOutput) ? $stripOutput : (isset($__stripOutput) ? $__stripOutput : $dcfg[\'stripOutput\']);\n\n// &breadcrumbs\n// 0 : disallow the breadcrumbs link\n// Name of the breadcrumbs function : allow the breadcrumbs link\n// The function name could be followed by some parameter initialization\n// e.g: &breadcrumbs=`Breadcrumbs,showHomeCrumb:0,showCrumbsAtHome:1`\n// Default: \'\' - empty string\n$cfg[\'breadcrumbs\'] = isset($breadcrumbs) ? $breadcrumbs : (isset($__breadcrumbs) ? $__breadcrumbs : $dcfg[\'breadcrumbs\']);\n\n// &tvPhx - display and set placeHolders for TV (template variables)\n// 0 : disallow the feature\n// 1 : allow the display of all Modx TVs of the document found (default)\n// \'tb_alias:display_function_name[,[tb_alias:display_function_name]*]\' : set up placeholders for custom joined tables\n// Default: 1 - tvPhx allowed for TV only\n$cfg[\'tvPhx\'] = isset($tvPhx) ? $tvPhx : (isset($__tvPhx) ? $__tvPhx : $dcfg[\'tvPhx\']);\n\n// &clearDefault - Clearing default text\n// Set this to 1 if you would like to include the clear default js function\n// add the class \"cleardefault\" to your input text form and set this parameter\n// Default: 0\n$cfg[\'clearDefault\'] = isset($clearDefault) ? $clearDefault : (isset($__clearDefault) ? $__clearDefault : $dcfg[\'clearDefault\']);\n\n// &jsClearDefault - Location of the js library\n// Default: AS_SPATH . \'js/clearDefault.js\'\n$cfg[\'jsClearDefault\'] = $dcfg[\'jsClearDefault\'];\n\n// &mbstring - php_mbstring extension available [0 | 1]\n// Default: 1 - extension available\n$cfg[\'mbstring\'] = isset($mbstring) ? $mbstring : (isset($__mbstring) ? $__mbstring : $dcfg[\'mbstring\']);\n\n//  &asLog - ajaxSearch log [ level [: comment [: purge]]]\n//  level:\n//        0 : disallow the ajaxSearch log (Default)\n//        1 : failed search requests are logged\n//        2 : all ajaxSearch requests are logged\n//  comment:\n//        0 : user comment not allowed (Default)\n//        1 : user comment allowed\n//  purge: number of logs allowed before to do an automatic purge of the table\n//        Default: 200\n$cfg[\'asLog\'] = isset($asLog) ? $asLog : (isset($__asLog) ? $__asLog : $dcfg[\'asLog\']);\n\n\n//------------------------------------------------------------------------------\n// Configuration - Simple Ajax mode\n//------------------------------------------------------------------------------\n\nif ($cfg[\'ajaxSearch\']) {\n\n    // $liveSearch [1 | 0] (as passed in snippet variable ONLY)\n    // Set this to 1 if you would like to use the live search (i.e. results as you type)\n    // Default: 0 - livesearch mode inactivated\n    $cfg[\'liveSearch\'] = isset($liveSearch) ? $liveSearch : (isset($__liveSearch) ? $__liveSearch : $dcfg[\'liveSearch\']);\n\n    // &ajaxMax [int] - The maximum number of results to show for the ajaxsearch\n    // Default: 6\n    $cfg[\'ajaxMax\'] = isset($ajaxMax) ? $ajaxMax : (isset($__ajaxMax) ? $__ajaxMax : $dcfg[\'ajaxMax\']);\n\n    // &moreResultsPage [int]\n    // The document id of the page you want the more results link to point to\n    // Default: 0\n    $cfg[\'moreResultsPage\'] = isset($moreResultsPage) ? $moreResultsPage : (isset($__moreResultsPage) ? $__moreResultsPage : $dcfg[\'moreResultsPage\']);\n\n    // &opacity - set the opacity of the div ajaxSearch_output\n    // Should be a float value: [ 0. < float <= 1. ]\n    // Default: 1.\n    $cfg[\'opacity\'] = isset($opacity) ? $opacity : (isset($__opacity) ? $__opacity : $dcfg[\'opacity\']);\n\n    // &tplAjaxResults - Chunk to style the ajax output results outer\n    // Default: \'\' - empty string\n    $cfg[\'tplAjaxResults\'] = isset($tplAjaxResults) ? $tplAjaxResults : (isset($__tplAjaxResults) ? $__tplAjaxResults : $dcfg[\'tplAjaxResults\']);\n\n    // &tplAjaxGrpResult - Chunk to style each ajax output group result outer\n    // Default: \'\' - empty string\n    $cfg[\'tplAjaxGrpResult\'] = isset($tplAjaxGrpResult) ? $tplAjaxGrpResult : (isset($__tplAjaxGrpResult) ? $__tplAjaxGrpResult : $dcfg[\'tplAjaxGrpResult\']);\n\n    // &tplAjaxResult - Chunk to style each ajax output result\n    // Default: \'\' - empty string\n    $cfg[\'tplAjaxResult\'] = isset($tplAjaxResult) ? $tplAjaxResult : (isset($__tplAjaxResult) ? $__tplAjaxResult : $dcfg[\'tplAjaxResult\']);\n\n    // &jscript [\'jquery\'|\'mootools2\'|\'mootools\']\n    // Set this to jquery if you would like use the jquery library\n    // set mootools2 to use the version 1.2 of mootools (limited to JS functions used by AS)\n    // Default: \'mootools\' - use the version 1.11 of mootools provided with MODx\n    $cfg[\'jscript\'] = isset($jscript) ? $jscript : (isset($__jscript) ? $__jscript : $dcfg[\'jscript\']);\n\n    // &addJscript [1 | 0]\n    // Set this to 1 if you would like to include or not the mootool/jquery library in the header of your pages automatically\n    // Default: 1\n    $cfg[\'addJscript\'] = isset($addJscript) ? $addJscript : (isset($__addJscript) ? $__addJscript : $dcfg[\'addJscript\']);\n\n    // &jsMooTools - Location of the mootools javascript library (current version of MODx)\n    // Default: \'manager/media/script/mootools/mootools.js\'\n    $cfg[\'jsMooTools\'] = isset($jsMooTools) ? $jsMooTools : (isset($__jsMooTools) ? $__jsMooTools : $dcfg[\'jsMooTools\']);\n\n    // &jsMooTools2 - Location of an alternative mootools javascript library\n    // Default: AS_SPATH . \'js/mootools1.2/mootools.js\' - contains only the required functions for AS\n    // to use an another library, use this parameter and change the ajaxSearch/js/ajaxSearch1/ajaxSearch-mootools2.js file\n    $cfg[\'jsMooTools2\'] = isset($jsMooTools2) ? $jsMooTools2 : (isset($__jsMooTools2) ? $__jsMooTools2 : $dcfg[\'jsMooTools2\']);\n\n    // &jsQuery - Location of the jquery javascript library\n    // Default: AS_SPATH . \'js/jquery/jquery.js\'\n    $cfg[\'jsJquery\'] = isset($jsJquery) ? $jsJquery : (isset($__jsJquery) ? $__jsJquery : $dcfg[\'jsJquery\']);\n}\n\n// ========================================================== End of config\ninclude_once AS_PATH . \"classes/ajaxSearch.class.inc.php\";\nif (class_exists(\'AjaxSearch\')) {\n    $as = new AjaxSearch();\n    $output = $as->run($tstart, $dcfg, $cfg);\n} else {\n    $output = \"<h3>error: AjaxSearch class not found</h3>\";\n}\n$elapsedTime = $modx->getMicroTime() - $tstart;\n$etime = sprintf(\"%.4fs\",$elapsedTime);\n//$f=fopen(\'test.txt\',\'a+\');fwrite($f,\"etime=\".$etime.\"\\n\\n\");\nreturn $output;',0,'',''),(2,'Breadcrumbs','<strong>1.0.3</strong> Configurable breadcrumb page-trail navigation',0,5,0,'/*\n * This snippet shows the path through the various levels of site structure. It\n * is NOT necessarily the path the user took to arrive at a given page.\n */\n\n/* -----------------------------------------------------------------------------\n * CONFIGURATION\n * -----------------------------------------------------------------------------\n * This section contains brief explanations of the available parameters.\n */\n\n/* General setup\n * -----------------------------------------------------------------------------\n */\n\n/* $maxCrumbs [ integer ]\n * Max number of elemetns to have in a breadcrumb path. The default 100 is an\n * arbitrarily high number that will essentially include everything. If you were\n * to set it to 2, and you were 5 levels deep, it would appear like:\n * HOME > ... > Level 3 > Level 4 > CURRENT PAGE\n * It should be noted that the \"home\" link, and the current page do not count as\n * they are managed by their own configuration settings.\n */\n( isset($maxCrumbs) ) ? $maxCrumbs : $maxCrumbs = 100;\n\n/* $pathThruUnPub [ 1 | 0 ]\n * When your path includes an unpublished folder, setting this to 1 (true) will\n * show all documents in path EXCEPT the unpublished. When set to 0 (false), the\n * path will not go \"through\" that unpublished folder and will stop there.\n */\n( isset($pathThruUnPub) ) ? $pathThruUnPub : $pathThruUnPub = 1;\n\n/* $respectHidemenu [ 0 | 1 ]\n * Setting this to 1 (true) will respect the hidemenu setting of the document\n * and not include it in trail.\n */\n( isset($respectHidemenu) ) ? (int)$respectHidemenu : $respectHidemenu = 1;\n\n/* $showCurrentCrumb [ 1 | 0 ]\n * Include the current page at the end of the trail. On by default.\n */\n( isset($showCurrentCrumb) ) ? $showCurrentCrumb : $showCurrentCrumb = 1;\n\n/* $currentAsLink [ 1 | 0 ]\n * If the current page is included, this parameter will show it as a link (1) or\n * just plain text (0).\n */\n( $currentAsLink ) ? $currentAsLink : $currentAsLink = 0;\n\n/* $linkTextField [ string ]\n * Prioritized list of fields to use as link text. Options are: pagetitle,\n * longtitle, description, menutitle. The first of these fields that has a value\n * will be the title.\n */\n( isset($linkTextField) ) ? $linkTextField : $linkTextField = \'menutitle,pagetitle,longtitle\';\n\n/* $linkDescField [ string ]\n * Prioritized list of fields to use as link title text. Options are: pagetitle,\n * longtitle, description, menutitle. The first of these fields that has a value\n * will be the title.\n */\n( isset($linkDescField) ) ? $linkDescField : $linkDescField = \'description,longtitle,pagetitle,menutitle\';\n\n/* $showCrumbsAsLinks [ 1 | 0 ]\n * If for some reason you want breadcrumbs to be text and not links, set to 0\n * (false).\n */\n( isset($showCrumbsAsLinks) ) ? $showCrumbsAsLinks : $showCrumbsAsLinks = 1;\n\n/* $templateSet [ string ]\n * The set of templates you\'d like to use. (Templates are defined below.) It\n * will default to defaultString which replicates the output of previous\n * versions.\n */\n( isset($templateSet) ) ? $templateSet : $templateSet = \'defaultString\';\n\n/* $crumbGap [ string ]\n * String to be shown to represent gap if there are more crumbs in trail than\n * can be shown. Note: if you would like to use an image, the entire image tag\n * must be provided. When making a snippet call, you cannot use \"=\", so use \"||\"\n * instead and it will be converted for you.\n */\n( isset($crumbGap) ) ? $crumbGap : $crumbGap = \'...\';\n\n/* $stylePrefix [ string ]\n * Breadcrumbs will add style classes to various parts of the trail. To avoid\n * class name conflicts, you can determine your own prefix. The following\n * classes will be attached:\n * crumbBox: Span that surrounds all crumb output\n * hideCrumb: Span that surrounds the \"...\" if there are more crumbs than will\n * be shown\n * currentCrumb: Span or A tag surrounding the current crumb\n * firstCrumb: Span that will be applied to first crumb, whether it is \"home\" or\n * not\n * lastCrumb: Span surrounding last crumb, whether it is the current page or\n * not\n * crumb: Class given to each A tag surrounding the intermediate crumbs (not\n * \"home\", \"current\", or \"hide\")\n * homeCrumb: Class given to the home crumb\n */\n( isset($stylePrefix) ) ? $stylePrefix : $stylePrefix = \'B_\';\n\n\n\n/* Home link parameters\n * -----------------------------------------------------------------------------\n * The home link is unique. It is a link that can be placed at the head of the\n * breadcrumb trail, even if it is not truly in the hierarchy.\n */\n\n/* $showHomeCrumb [ 1 | 0 ]\n * This toggles the \"home\" crumb to be added to the beginning of your trail.\n */\n( isset($showHomeCrumb) ) ? $showHomeCrumb : $showHomeCrumb = 1;\n\n/* $homeId [ integer ]\n * Usually the page designated as \"site start\" in MODx configuration is\n * considered the home page. But if you would like to use some other document,\n * you may explicitly define it.\n */\n( isset($homeId) ) ? (int)$homeId : $homeId = $modx->config[\'site_start\'];\n\n/* $homeCrumbTitle [ string ]\n * If you\'d like to use something other than the menutitle (or pagetitle) for\n * the home link.\n */\n( isset($homeCrumbTitle) ) ? $homeCrumbTitle : $homeCrumbTitle = \'\';\n\n/* $homeCrumbDescription [ string ]\n * If you\'d like to use a custom description (link title) on the home link. If\n * left blank, the title will follow the title order set in $titleField.\n */\n( isset($homeCrumbDescription) ) ? $homeCrumbDescription : $homeCrumbDescription = \'\';\n\n\n/* Custom behaviors\n * -----------------------------------------------------------------------------\n * The following parameters will alter the behavior of the Breadcrumbs based on\n * the page it is on.\n */\n\n/* $showCrumbsAtHome [ 1 | 0 ]\n * You can turn off Breadcrumbs all together on the home page by setting this to\n * 1 (true);\n */\n( isset($showCrumbsAtHome) ) ? $showCrumbsAtHome : $showCrumbsAtHome = 0;\n\n/* $hideOn [ string ]\n * Comma separated list of documents you don\'t want Breadcrumbs on at all. If\n * you have a LOT of pages like this, you might try $hideUnder or use another\n * template. This parameter is best for those rare odd balls - otherwise it will\n * become a pain to manage.\n */\n( isset($hideOn) ) ? $hideOn : $hideOn = \'\';\n\n/* $hideUnder [ string ]\n * Comma separated list of parent documents, whose CHILDREN you don\'t want\n * Breadcrumbs to appear on at all. This enables you to hide Breadcrumbs on a\n * whole folders worth of documents by specifying the parent only. The PARENT\n * will not have Breadcrumbs hidden however. If you wanted to hide the parent\n * and the children, put the parent ID in hideUnder AND hideOn.\n */\n( isset($hideUnder) ) ? $hideUnder : $hideUnder = \'\';\n\n/* $stopIds [ string ]\n * Comma separated list of document IDs that when reached, stops Breadcrumbs\n * from going any further. This is useful in situations like where you have\n * language branches, and you don\'t want the Breadcrumbs going past the \"home\"\n * of the language you\'re in.\n */\n( isset($stopIds) ) ? $stopIds : $stopIds = \'\';\n\n/* $ignoreIds [ string ]\n * Comma separated list of document IDs to explicitly ignore.\n */\n( isset($ignoreIds) ) ? $ignoreids : $ignoreids = \'\';\n\n/* Templates\n * -----------------------------------------------------------------------------\n * In an effort to keep the MODx chunks manager from getting mired down in lots\n * of templates, Breadcrumbs templates are included here. Two sets are provided\n * prefixed with defaultString, and defaultList. You can create as many more as\n * you like, each set with it\'s own prefix\n */\n$templates = array(\n    \'defaultString\' => array(\n        \'crumb\' => \'[+crumb+]\',\n        \'separator\' => \' &raquo; \',\n        \'crumbContainer\' => \'<span class=\"[+crumbBoxClass+]\">[+crumbs+]</span>\',\n        \'lastCrumbWrapper\' => \'<span class=\"[+lastCrumbClass+]\">[+lastCrumbSpanA+]</span>\',\n        \'firstCrumbWrapper\' => \'<span class=\"[+firstCrumbClass+]\">[+firstCrumbSpanA+]</span>\'\n    ),\n    \'defaultList\' => array(\n        \'crumb\' => \'<li>[+crumb+]</li>\',\n        \'separator\' => \'\',\n        \'crumbContainer\' => \'<ul class=\"[+crumbBoxClass+]\">[+crumbs+]</ul>\',\n        \'lastCrumbWrapper\' => \'<span class=\"[+lastCrumbClass+]\">[+lastCrumbSpanA+]</span>\',\n        \'firstCrumbWrapper\' => \'<span class=\"[+firstCrumbClass+]\">[+firstCrumbSpanA+]</span>\'\n    ),\n);\n\n\n/* -----------------------------------------------------------------------------\n * END CONFIGURATION\n * -----------------------------------------------------------------------------\n */\n\n// Return blank if necessary: on home page\nif ( !$showCrumbsAtHome && $homeId == $modx->documentObject[\'id\'] )\n{\n    return \'\';\n}\n// Return blank if necessary: specified pages\nif ( $hideOn || $hideUnder )\n{\n    // Create array of hide pages\n    $hideOn = str_replace(\' \',\'\',$hideOn);\n    $hideOn = explode(\',\',$hideOn);\n\n    // Get more hide pages based on parents if needed\n    if ( $hideUnder )\n    {\n        $hiddenKids = array();\n        // Get child pages to hide\n        $hideKidsQuery = $modx->db->select(\'id\',$modx->getFullTableName(\"site_content\"),\"parent IN ($hideUnder)\");\n        while ( $hideKid = $modx->db->getRow($hideKidsQuery) )\n        {\n            $hiddenKids[] = $hideKid[\'id\'];\n        }\n        // Merge with hideOn pages\n        $hideOn = array_merge($hideOn,$hiddenKids);\n    }\n\n    if ( in_array($modx->documentObject[\'id\'],$hideOn) )\n    {\n        return \'\';\n    }\n\n}\n\n\n// Initialize ------------------------------------------------------------------\n\n// Put certain parameters in arrays\n$stopIds = str_replace(\' \',\'\',$stopIds);\n$stopIds = explode(\',\',$stopIds);\n$linkTextField = str_replace(\' \',\'\',$linkTextField);\n$linkTextField = explode(\',\',$linkTextField);\n$linkDescField = str_replace(\' \',\'\',$linkDescField);\n$linkDescField = explode(\',\',$linkDescField);\n$ignoreIds = str_replace(\' \',\'\',$ignoreIds);\n$ignoreIds = explode(\',\',$ignoreIds);\n\n/* $crumbs\n * Crumb elements are: id, parent, pagetitle, longtitle, menutitle, description,\n * published, hidemenu\n */\n$crumbs = array();\n$parent = $modx->documentObject[\'parent\'];\n$output = \'\';\n$maxCrumbs += ($showCurrentCrumb) ? 1 : 0;\n\n// Replace || in snippet parameters that accept them with =\n$crumbGap = str_replace(\'||\',\'=\',$crumbGap);\n\n// Curent crumb ----------------------------------------------------------------\n\n// Decide if current page is to be a crumb\nif ( $showCurrentCrumb )\n{\n    $crumbs[] = array(\n        \'id\' => $modx->documentObject[\'id\'],\n        \'parent\' => $modx->documentObject[\'parent\'],\n        \'pagetitle\' => $modx->documentObject[\'pagetitle\'],\n        \'longtitle\' => $modx->documentObject[\'longtitle\'],\n        \'menutitle\' => $modx->documentObject[\'menutitle\'],\n        \'description\' => $modx->documentObject[\'description\']);\n}\n\n// Intermediate crumbs ---------------------------------------------------------\n\n\n// Iterate through parents till we hit root or a reason to stop\n$loopSafety = 0;\nwhile ( $parent && $parent!=$modx->config[\'site_start\'] && $loopSafety < 1000 )\n{\n    // Get next crumb\n    $tempCrumb = $modx->getPageInfo($parent,0,\"id,parent,pagetitle,longtitle,menutitle,description,published,hidemenu\");\n\n    // Check for include conditions & add to crumbs\n    if (\n        $tempCrumb[\'published\'] &&\n        ( !$tempCrumb[\'hidemenu\'] || !$respectHidemenu ) &&\n        !in_array($tempCrumb[\'id\'],$ignoreIds)\n    )\n    {\n        // Add crumb\n        $crumbs[] = array(\n        \'id\' => $tempCrumb[\'id\'],\n        \'parent\' => $tempCrumb[\'parent\'],\n        \'pagetitle\' => $tempCrumb[\'pagetitle\'],\n        \'longtitle\' => $tempCrumb[\'longtitle\'],\n        \'menutitle\' => $tempCrumb[\'menutitle\'],\n        \'description\' => $tempCrumb[\'description\']);\n    }\n\n    // Check stop conditions\n    if (\n        in_array($tempCrumb[\'id\'],$stopIds) ||  // Is one of the stop IDs\n        !$tempCrumb[\'parent\'] || // At root\n        ( !$tempCrumb[\'published\'] && !$pathThruUnPub ) // Unpublished\n    )\n    {\n        // Halt making crumbs\n        break;\n    }\n\n    // Reset parent\n    $parent = $tempCrumb[\'parent\'];\n\n    // Increment loop safety\n    $loopSafety++;\n}\n\n// Home crumb ------------------------------------------------------------------\n\nif ( $showHomeCrumb && $homeId != $modx->documentObject[\'id\'] && $homeCrumb = $modx->getPageInfo($homeId,0,\"id,parent,pagetitle,longtitle,menutitle,description,published,hidemenu\") )\n{\n    $crumbs[] = array(\n    \'id\' => $homeCrumb[\'id\'],\n    \'parent\' => $homeCrumb[\'parent\'],\n    \'pagetitle\' => $homeCrumb[\'pagetitle\'],\n    \'longtitle\' => $homeCrumb[\'longtitle\'],\n    \'menutitle\' => $homeCrumb[\'menutitle\'],\n    \'description\' => $homeCrumb[\'description\']);\n}\n\n\n// Process each crumb ----------------------------------------------------------\n$pretemplateCrumbs = array();\n\nforeach ( $crumbs as $c )\n{\n\n    // Skip if we\'ve exceeded our crumb limit but we\'re waiting to get to home\n    if ( count($pretemplateCrumbs) > $maxCrumbs && $c[\'id\'] != $homeId )\n    {\n        continue;\n    }\n\n    $text = \'\';\n    $title = \'\';\n    $pretemplateCrumb = \'\';\n\n    // Determine appropriate span/link text: home link specified\n    if ( $c[\'id\'] == $homeId && $homeCrumbTitle )\n    {\n        $text = $homeCrumbTitle;\n    }\n    else\n    // Determine appropriate span/link text: home link not specified\n    {\n        for ($i = 0; !$text && $i < count($linkTextField); $i++)\n        {\n            if ( $c[$linkTextField[$i]] )\n            {\n                $text = $c[$linkTextField[$i]];\n            }\n        }\n    }\n\n    // Determine link/span class(es)\n    if ( $c[\'id\'] == $homeId )\n    {\n        $crumbClass = $stylePrefix.\'homeCrumb\';\n    }\n    else if ( $modx->documentObject[\'id\'] == $c[\'id\'] )\n    {\n        $crumbClass = $stylePrefix.\'currentCrumb\';\n    }\n    else\n    {\n        $crumbClass = $stylePrefix.\'crumb\';\n    }\n\n    // Make link\n    if (\n        ( $c[\'id\'] != $modx->documentObject[\'id\'] && $showCrumbsAsLinks ) ||\n        ( $c[\'id\'] == $modx->documentObject[\'id\'] && $currentAsLink )\n    )\n    {\n        // Determine appropriate title for link: home link specified\n        if ( $c[\'id\'] == $homeId && $homeCrumbDescription )\n        {\n            $title = htmlspecialchars($homeCrumbDescription);\n        }\n        else\n        // Determine appropriate title for link: home link not specified\n        {\n            for ($i = 0; !$title && $i < count($linkDescField); $i++)\n            {\n                if ( $c[$linkDescField[$i]] )\n                {\n                    $title = htmlspecialchars($c[$linkDescField[$i]]);\n                }\n            }\n        }\n\n\n        $pretemplateCrumb .= \'<a class=\"\'.$crumbClass.\'\" href=\"\'.($c[\'id\'] == $modx->config[\'site_start\'] ? $modx->config[\'base_url\'] : $modx->makeUrl($c[\'id\'])).\'\" title=\"\'.$title.\'\">\'.$text.\'</a>\';\n    }\n    else\n    // Make a span instead of a link\n    {\n       $pretemplateCrumb .= \'<span class=\"\'.$crumbClass.\'\">\'.$text.\'</span>\';\n    }\n\n    // Add crumb to pretemplate crumb array\n    $pretemplateCrumbs[] = $pretemplateCrumb;\n\n    // If we have hit the crumb limit\n    if ( count($pretemplateCrumbs) == $maxCrumbs )\n    {\n        if ( count($crumbs) > ($maxCrumbs + (($showHomeCrumb) ? 1 : 0)) )\n        {\n            // Add gap\n            $pretemplateCrumbs[] = \'<span class=\"\'.$stylePrefix.\'hideCrumb\'.\'\">\'.$crumbGap.\'</span>\';\n        }\n\n        // Stop here if we\'re not looking for the home crumb\n        if ( !$showHomeCrumb )\n        {\n            break;\n        }\n    }\n}\n\n// Put in correct order for output\n$pretemplateCrumbs = array_reverse($pretemplateCrumbs);\n\n// Wrap first/last spans\n$pretemplateCrumbs[0] = str_replace(\n    array(\'[+firstCrumbClass+]\',\'[+firstCrumbSpanA+]\'),\n    array($stylePrefix.\'firstCrumb\',$pretemplateCrumbs[0]),\n    $templates[$templateSet][\'firstCrumbWrapper\']\n);\n$pretemplateCrumbs[(count($pretemplateCrumbs)-1)] = str_replace(\n    array(\'[+lastCrumbClass+]\',\'[+lastCrumbSpanA+]\'),\n    array($stylePrefix.\'lastCrumb\',$pretemplateCrumbs[(count($pretemplateCrumbs)-1)]),\n    $templates[$templateSet][\'lastCrumbWrapper\']\n);\n\n// Insert crumbs into crumb template\n$processedCrumbs = array();\nforeach ( $pretemplateCrumbs as $pc )\n{\n    $processedCrumbs[] = str_replace(\'[+crumb+]\',$pc,$templates[$templateSet][\'crumb\']);\n}\n\n// Combine crumbs together into one string with separator\n$processedCrumbs = implode($templates[$templateSet][\'separator\'],$processedCrumbs);\n\n// Put crumbs into crumb container template\n$container = str_replace(\n    array(\'[+crumbBoxClass+]\',\'[+crumbs+]\'),\n    array($stylePrefix.\'crumbBox\',$processedCrumbs),\n    $templates[$templateSet][\'crumbContainer\']\n    );\n\n// Return crumbs\nreturn $container;',0,'',''),(3,'Ditto','<strong>2.1.0</strong> Summarizes and lists pages to create blogs, catalogs, PR archives, bio listings and more',0,6,0,'/* Description:\n *      Aggregates documents to create blogs, article/news\n *      collections, and more,with full support for templating.\n * \n * Author: \n *      Mark Kaplan for MODx CMF\n*/\n\n//---Core Settings---------------------------------------------------- //\n\n$ditto_version = \"2.1.0\";\n    // Ditto version being executed\n\n$ditto_base = isset($ditto_base) ? $modx->config[\'base_path\'].$ditto_base : $modx->config[\'base_path\'].\"assets/snippets/ditto/\";\n/*\n    Param: ditto_base\n    \n    Purpose:\n    Location of Ditto files\n\n    Options:\n    Any valid folder location containing the Ditto source code with a trailing slash\n\n    Default:\n    [(base_path)]assets/snippets/ditto/\n*/\n$dittoID = (!isset($id)) ? \"\" : $id.\"_\";\n$GLOBALS[\"dittoID\"] = $dittoID;\n/*\n    Param: id\n\n    Purpose:\n    Unique ID for this Ditto instance for connection with other scripts (like Reflect) and unique URL parameters\n\n    Options:\n    Any combination of characters a-z, underscores, and numbers 0-9\n    \n    Note:\n    This is case sensitive\n\n    Default:\n    \"\" - blank\n*/      \n$language = (isset($language))? $language : $modx->config[\'manager_language\'];\nif (!file_exists($ditto_base.\"lang/\".$language.\".inc.php\")) {\n    $language =\"english\";\n}\n/*\n    Param: language\n\n    Purpose:\n    language for defaults, debug, and error messages\n\n    Options:\n    Any language name with a corresponding file in the &ditto_base/lang folder\n\n    Default:\n    \"english\"\n*/\n$format = (isset($format)) ? strtolower($format) : \"html\" ;\n/*\n    Param: format\n\n    Purpose:\n    Output format to use\n\n    Options:\n    - \"html\"\n    - \"json\"\n    - \"xml\"\n    - \"atom\"\n    - \"rss\"\n\n    Default:\n    \"html\"\n*/\n$config = (isset($config)) ? $config : \"default\";\n/*\n    Param: config\n\n    Purpose:\n    Load a custom configuration\n\n    Options:\n    \"default\" - default blank config file\n    CONFIG_NAME - Other configs installed in the configs folder or in any folder within the MODx base path via @FILE\n\n    Default:\n    \"default\"\n    \n    Related:\n    - <extenders>\n*/\n$debug = isset($debug)? $debug : 0;\n/*\n    Param: debug\n\n    Purpose:\n    Output debugging information\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    0 - off\n    \n    Related:\n    - <debug>\n*/\n$phx = (isset($phx))? $phx : 1;\n/*\n    Param: phx\n\n    Purpose:\n    Use PHx formatting\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    1 - on\n*/      \n$extenders = isset($extenders) ? explode(\",\",$extenders) : array();\n/*\n    Param: extenders\n\n    Purpose:\n    Load an extender which adds functionality to Ditto\n\n    Options:\n    Any extender in the extenders folder or in any folder within the MODx base path via @FILE\n\n    Default:\n    [NULL]\n\n    Related:\n    - <config>\n*/\n    // Variable: extenders\n    // Array that can be added to by configs or formats to load that extender\n    \n$placeholders = array();\n    // Variable: placeholders\n    // Initialize custom placeholders array for configs or extenders to add to\n\n$filters = array(\"custom\"=>array(),\"parsed\"=>array());\n    // Variable: filters\n    // Holds both the custom filters array for configs or extenders to add to \n    // and the parsed filters array. To add to this array, use the following format\n    // (code)\n    // $filters[\"parsed\"][] = array(\"name\" => array(\"source\"=>$source,\"value\"=>$value,\"mode\"=>$mode));\n    // $filters[\"custom\"][] = array(\"source\",\"callback_function\");\n\n$orderBy = array(\'parsed\'=>array(),\'custom\'=>array(),\'unparsed\'=>$orderBy);\n    // Variable: orderBy\n    // An array that holds all criteria to sort the result set by. \n    // Note that using a custom sort will disable all other sorting.\n    // (code)\n    // $orderBy[\"parsed\"][] = array(\"sortBy\",\"sortDir\");\n    // $orderBy[\"custom\"][] = array(\"sortBy\",\"callback_function\");\n        \n//---Includes-------------------------------------------------------- //\n\n$files = array (\n    \"base_language\" => $ditto_base.\"lang/english.inc.php\",\n    \"language\" => $ditto_base.\"lang/$language.inc.php\",\n    \"main_class\" => $ditto_base.\"classes/ditto.class.inc.php\",\n    \"template_class\" => $ditto_base.\"classes/template.class.inc.php\",\n    \"filter_class\" => $ditto_base.\"classes/filter.class.inc.php\",\n    \"format\" => $ditto_base.\"formats/$format.format.inc.php\",\n    \"config\" => $ditto_base.\"configs/default.config.php\",\n    \"user_config\" => (substr($config, 0, 5) != \"@FILE\") ? $ditto_base.\"configs/$config.config.php\" : $modx->config[\'base_path\'].trim(substr($config, 5))\n);\n\nif ($phx == 1) {\n    $files[\"prePHx_class\"] = $ditto_base.\"classes/phx.pre.class.inc.php\";\n}\nif (isset($randomize)) {\n    $files[\"randomize_class\"] = $ditto_base.\"classes/random.class.inc.php\";\n}\nif ($debug == 1) {\n    $files[\"modx_debug_class\"] = $ditto_base.\"debug/modxDebugConsole.class.php\";\n    $files[\"debug_class\"] = $ditto_base.\"classes/debug.class.inc.php\";\n    $files[\"debug_templates\"] = $ditto_base.\"debug/debug.templates.php\";\n}\n\n$files = array_unique($files);\nforeach ($files as $filename => $filevalue) {\n    if (file_exists($filevalue) && strpos($filename,\"class\")) {\n        include_once($filevalue);\n    } else if (file_exists($filevalue)) {\n        include($filevalue);\n    } else if ($filename == \"language\") {\n        $modx->logEvent(1, 3, \"Language file does not exist Please check: \" . $filevalue, \"Ditto \" . $ditto_version);\n        return \"Language file does not exist Please check: \" . $filevalue;\n    } else {\n        $modx->logEvent(1, 3, $filevalue . \" \" . $_lang[\'file_does_not_exist\'], \"Ditto \" . $ditto_version);\n        return $filevalue . \" \" . $_lang[\'file_does_not_exist\'];\n    }\n}\n\n//---Initiate Class-------------------------------------------------- //\nif (class_exists(\'ditto\')) {\n    $ditto = new ditto($dittoID,$format,$_lang,$dbg_templates);\n        // create a new Ditto instance in the specified format and language with the requested debug level\n} else {\n    $modx->logEvent(1,3,$_lang[\'invalid_class\'],\"Ditto \".$ditto_version);\n    return $_lang[\'invalid_class\'];\n}\n\n//---Initiate Extenders---------------------------------------------- //\nif (isset($tagData)) {\n    $extenders[] = \"tagging\";\n}\nif(count($extenders) > 0) {\n    $extenders = array_unique($extenders);\n    foreach ($extenders as $extender) {\n            if(substr($extender, 0, 5) != \"@FILE\") {\n                $extender_path = $ditto_base.\"extenders/\".$extender.\".extender.inc.php\";                \n            } else {\n                $extender_path = $modx->config[\'base_path\'].trim(substr($extender, 5));\n            }\n            \n            if (file_exists($extender_path)){\n                include($extender_path);\n            } else {\n                $modx->logEvent(1, 3, $extender . \" \" . $_lang[\'extender_does_not_exist\'], \"Ditto \".$ditto_version);\n                return $extender . \" \" . $_lang[\'extender_does_not_exist\'];\n            }       \n    }   \n}\n\n//---Parameters------------------------------------------------------- /*\nif (isset($startID)) {$parents = $startID;}\nif (isset($summarize)) {$display = $summarize;}\nif (isset($limit)) {$queryLimit = $limit;}\nif (isset($sortBy) || isset($sortDir) || is_null($orderBy[\'unparsed\'])) {\n    $sortDir = isset($sortDir) ? strtoupper($sortDir) : \'DESC\';\n    $sortBy = isset($sortBy) ? $sortBy : \"createdon\";\n    $orderBy[\'parsed\'][]=array($sortBy,$sortDir);\n}\n    // Allow backwards compatibility\n\n$idType = isset($documents) ? \"documents\" : \"parents\";\n    // Variable: idType\n    // type of IDs provided; can be either parents or documents\n\n$parents = isset($parents) ? $ditto->cleanIDs($parents) : $modx->documentIdentifier;\n\n/*\n    Param: parents\n\n    Purpose:\n    IDs of containers for Ditto to retrieve their children to &depth depth\n\n    Options:\n    Any valid MODx document marked as a container\n\n    Default:\n    Current MODx Document\n\n    Related:\n    - <documents>\n    - <depth>\n*/\n$documents = isset($documents) ? $ditto->cleanIDs($documents) : false;\n/*\n    Param: documents\n\n    Purpose:\n    IDs of documents for Ditto to retrieve\n\n    Options:\n    Any valid MODx document marked as a container\n\n    Default:\n    None\n\n    Related:\n    - <parents>\n*/\n\n$IDs = ($idType == \"parents\") ? $parents : $documents;\n    // Variable: IDs\n    // Internal variable which holds the set of IDs for Ditto to fetch\n\n$depth = isset($depth) ? $depth : 1;\n/*\n    Param: depth\n\n    Purpose:\n    Number of levels deep to retrieve documents\n\n    Options:\n    Any number greater than or equal to 1\n    0 - infinite depth\n\n    Default:\n    1\n\n    Related:\n    - <seeThruUnpub>\n*/\n$paginate = isset($paginate)? $paginate : 0;\n/*\n    Param: paginate\n\n    Purpose:\n    Paginate the results set into pages of &display length.\n    Use &total to limit the number of documents retreived.\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    0 - off\n    \n    Related:\n    - <paginateAlwaysShowLinks>\n    - <paginateSplitterCharacter>\n    - <display>\n*/\n$dateSource = isset($dateSource) ? $dateSource : \"createdon\";\n/*\n    Param: dateSource\n\n    Purpose:\n    Source of the [+date+] placeholder\n\n    Options:\n    # - Any UNIX timestamp from MODx fields or TVs such as createdon, pub_date, or editedon\n    \n    Default:\n    \"createdon\"\n    \n    Related:\n    - <dateFormat>\n*/\n$dateFormat = isset($dateFormat)? $dateFormat : $_lang[\"dateFormat\"];\n/*\n    Param: dateFormat\n\n    Purpose:\n    Format the [+date+] placeholder in human readable form\n\n    Options:\n    Any PHP valid strftime option\n\n    Default:\n    [LANG]\n    \n    Related:\n    - <dateSource>\n*/\n$display = isset($display) ? $display : \"all\";\n/*\n    Param: display\n\n    Purpose:\n    Number of documents to display in the results\n\n    Options:\n    # - Any number\n    \"all\" - All documents found\n\n    Default:\n    \"all\"\n    \n    Related:\n    - <queryLimit>\n    - <total>\n*/\n$total = isset($total) ? $total : \"all\";\n/*\n    Param: total\n\n    Purpose:\n    Number of documents to retrieve\n    \n    Options:\n    # - Any number\n    \"all\" - All documents found\n\n    Default:\n    \"all\" - All documents found\n    \n    Related:\n    - <display>\n    - <queryLimit>\n*/\n$showPublishedOnly = isset($showPublishedOnly) ? $showPublishedOnly : 1;\n/*\n    Param: showPublishedOnly\n\n    Purpose:\n    Show only published documents\n\n    Options:\n    0 - show only unpublished documents\n    1 - show both published and unpublished documents\n    \n    Default:\n    1 - show both published and unpublished documents\n    \n    Related:\n    - <seeThruUnpub>\n    - <hideFolders>\n    - <showPublishedOnly>\n    - <where>\n*/\n$showInMenuOnly = isset($showInMenuOnly) ? $showInMenuOnly : 0;\n/*\n    Param: showInMenuOnly\n\n    Purpose:\n    Show only documents visible in the menu\n\n    Options:\n    0 - show all documents\n    1 - show only documents with the show in menu flag checked\n    \n    Default:\n    0 - show all documents\n    \n    Related:\n    - <seeThruUnpub>\n    - <hideFolders>\n    - <where>\n*/\n$hideFolders = isset($hideFolders)? $hideFolders : 0;\n/*\n    Param: hideFolders\n\n    Purpose:\n    Don\'t show folders in the returned results\n\n    Options:\n    0 - keep folders\n    1 - remove folders\n    \n    Default:\n    0 - keep folders\n    \n    Related:\n    - <seeThruUnpub>\n    - <showInMenuOnly>\n    - <where>\n*/\n$hidePrivate = isset($hidePrivate)? $hidePrivate : 1;\n/*\n    Param: hidePrivate\n\n    Purpose:\n    Don\'t show documents the guest or user does not have permission to see\n\n    Options:\n    0 - show private documents\n    1 - hide private documents\n    \n    Default:\n    1 - hide private documents\n    \n    Related:\n    - <seeThruUnpub>\n    - <showInMenuOnly>\n    - <where>\n*/\n$seeThruUnpub = (isset($seeThruUnpub))? $seeThruUnpub : 1 ;\n/*\n    Param: seeThruUnpub\n\n    Purpose:\n    See through unpublished folders to retrive their children\n    Used when depth is greater than 1\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    0 - off\n    \n    Related:\n    - <hideFolders>\n    - <showInMenuOnly>\n    - <where>\n*/\n$queryLimit = (isset($queryLimit))? $queryLimit : 0;\n/*\n    Param: queryLimit\n\n    Purpose:\n    Number of documents to retrieve from the database, same as MySQL LIMIT\n\n    Options:\n    # - Any number\n    0 - automatic\n\n    Default:\n    0 - automatic\n    \n    Related:\n    - <where>\n*/\n$where = (isset($where))? $where : \"\";\n/*\n    Param: where\n\n    Purpose:\n    Custom MySQL WHERE statement\n\n    Options:\n    A valid MySQL WHERE statement using only document object items (no TVs)\n\n    Default:\n    [NULL]\n    \n    Related:\n    - <queryLimit>\n*/\n$noResults = isset($noResults)? $ditto->getParam($noResults,\"no_documents\") : $_lang[\'no_documents\'];\n/*\n    Param: noResults\n\n    Purpose:\n    Text or chunk to display when there are no results\n\n    Options:\n    Any valid chunk name or text\n\n    Default:\n    [LANG]\n*/\n$removeChunk = isset($removeChunk) ? explode(\",\",$removeChunk) : false;\n/*\n    Param: removeChunk\n\n    Purpose:\n    Name of chunks to be stripped from content separated by commas\n    - Commonly used to remove comments\n\n    Options:\n    Any valid chunkname that appears in the output\n\n    Default:\n    [NULL]\n*/\n$hiddenFields = isset($hiddenFields) ? explode(\",\",$hiddenFields) : false;\n/*\n    Param: hiddenFields\n\n    Purpose:\n    Allow Ditto to retrieve fields its template parser cannot handle such as nested placeholders and [*fields*]\n\n    Options:\n    Any valid MODx fieldnames or TVs comma separated\n\n    Default:\n    [NULL]\n*/\n$offset = isset($start) ? $start : 0;\n$start = (isset($_GET[$dittoID.\'start\'])) ? intval($_GET[$dittoID.\'start\']) : 0;\n/*\n    Param: start\n\n    Purpose:\n    Number of documents to skip in the results\n    \n    Options:\n    Any number\n\n    Default:\n    0\n*/\n$globalFilterDelimiter = isset($globalFilterDelimiter) ? $globalFilterDelimiter : \"|\";\n/*\n    Param: globalFilterDelimiter\n\n    Purpose:\n    Filter delimiter used to separate filters in the filter string\n    \n    Options:\n    Any character not used in the filters\n\n    Default:\n    \"|\"\n    \n    Related:\n    - <localFilterDelimiter>\n    - <filter>\n    - <parseFilters>\n*/\n    \n$localFilterDelimiter = isset($localFilterDelimiter) ? $localFilterDelimiter : \",\";\n/*\n    Param: localFilterDelimiter\n\n    Purpose:\n    Delimiter used to separate individual parameters within each filter string\n    \n    Options:\n    Any character not used in the filter itself\n\n    Default:\n    \",\"\n    \n    Related:\n    - <globalFilterDelimiter>\n    - <filter>\n    - <parseFilters>\n*/\n$filters[\"custom\"] = isset($cFilters) ? array_merge($filters[\"custom\"],$cFilters) : $filters[\"custom\"];\n$filters[\"parsed\"] = isset($parsedFilters) ? array_merge($filters[\"parsed\"],$parsedFilters) : $filters[\"parsed\"];\n    // handle 2.0.0 compatibility\n$filter = (isset($filter) || ($filters[\"custom\"] != false) || ($filters[\"parsed\"] != false)) ? $ditto->parseFilters($filter,$filters[\"custom\"],$filters[\"parsed\"],$globalFilterDelimiter,$localFilterDelimiter) : false;\n/*\n    Param: filter\n\n    Purpose:\n    Removes items not meeting a critera. Thus, if pagetitle == joe then it will be removed.\n    Use in the format field,criteria,mode with the comma being the local delimiter\n\n    *Mode* *Meaning*\n    \n    1 - !=\n    2 - ==\n    3 - <\n    4 - >\n    5 - <=\n    6 - >=\n    7 - Text not in field value\n    8 - Text in field value\n    9 - case insenstive version of #7\n    10 - case insenstive version of #8\n    11 - checks leading character of the field\n    \n    @EVAL:\n        @EVAL in filters works the same as it does in MODx exect it can only be used \n        with basic filtering, not custom filtering (tagging, etc). Make sure that\n        you return the value you wish Ditto to filter by and that the code is valid PHP.\n\n    Default:\n    [NULL]\n    \n    Related:\n    - <localFilterDelimiter>\n    - <globalFilterDelimiter>\n    - <parseFilters>\n*/\n$keywords = (isset($keywords))? $keywords : 0;\n/*  \n    Param: keywords\n    \n    Purpose: \n    Enable fetching of associated keywords for each document\n    Can be used as [+keywords+] or as a tagData source\n    \n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    0 - off\n*/\n\n$randomize = (isset($randomize))? $randomize : 0;\n/*  \n    Param: randomize\n    \n    Purpose: \n    Randomize the order of the output\n    \n    Options:\n    0 - off\n    1 - on\n    Any MODx field or TV for weighted random\n    \n    Default:\n    0 - off\n*/\n$save = (isset($save))? $save : 0;\n/*\n    Param: save\n\n    Purpose:\n    Saves the ditto object and results set to placeholders\n    for use by other snippets\n\n    Options:\n    0 - off; returns output\n    1 - remaining; returns output\n    2 - all;\n    3 - all; returns ph only\n\n    Default:\n        0 - off; returns output\n*/\n$templates = array(\n    \"default\" => \"@CODE\".$_lang[\'default_template\'],\n    \"base\" => $tpl,\n    \"alt\" => $tplAlt,\n    \"first\" => $tplFirst,\n    \"last\" => $tplLast,\n    \"current\" => $tplCurrentDocument\n);\n/*\n    Param: tpl\n\n    Purpose:\n    User defined chunk to format the documents \n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE\n    - File via @FILE\n\n    Default:\n    [LANG]\n*/\n/*\n    Param: tplAlt\n\n    Purpose:\n    User defined chunk to format every other document\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE\n    - File via @FILE\n\n    Default:\n    &tpl\n*/\n/*\n    Param: tplFirst\n\n    Purpose:\n    User defined chunk to format the first document \n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE\n    - File via @FILE\n\n    Default:\n    &tpl\n*/\n/*\n    Param: tplLast\n\n    Purpose:\n    User defined chunk to format the last document \n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE\n    - File via @FILE\n\n    Default:\n    &tpl\n*/\n/*\n    Param: tplCurrentDocument\n\n    Purpose:\n    User defined chunk to format the current document\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE\n    - File via @FILE\n\n    Default:\n    &tpl\n*/\n$orderBy = $ditto->parseOrderBy($orderBy,$randomize);\n/*\n    Param: orderBy\n\n    Purpose:\n    Sort the result set\n\n    Options:\n    Any valid MySQL style orderBy statement\n\n    Default:\n    createdon DESC\n*/\n//-------------------------------------------------------------------- */\n$templates = $ditto->template->process($templates);\n    // parse the templates for TV\'s and store them for later use\n\n$ditto->setDisplayFields($ditto->template->fields,$hiddenFields);\n    // parse hidden fields\n    \n$ditto->parseFields($placeholders,$seeThruUnpub,$dateSource,$randomize);\n    // parse the fields into the field array\n    \n$documentIDs = $ditto->determineIDs($IDs, $idType, $ditto->fields[\"backend\"][\"tv\"], $orderBy, $depth, $showPublishedOnly, $seeThruUnpub, $hideFolders, $hidePrivate, $showInMenuOnly, $where, $keywords, $dateSource, $queryLimit, $display, $filter,$paginate, $randomize);\n    // retrieves a list of document IDs that meet the criteria and populates the $resources array with them\n$count = count($documentIDs);\n    // count the number of documents to be retrieved\n$count = $count-$offset;\n    // handle the offset\n\nif ($count > 0) {\n    // if documents are returned continue with execution\n    \n    $total = ($total == \"all\") ? $count : min($total,$count);\n        // set total equal to count if all documents are to be included\n    \n    $display = ($display == \"all\") ? min($count,$total) : min($display,$total);\n        // allow show to use all option\n\n    $stop = ($save != \"1\") ? min($total-$start,$display) : min($count,$total);\n        // set initial stop count\n\n    if($paginate == 1) {\n        $paginateAlwaysShowLinks = isset($paginateAlwaysShowLinks)? $paginateAlwaysShowLinks : 0;\n        /*\n            Param: paginateAlwaysShowLinks\n\n            Purpose:\n            Determine whether or not to always show previous next links\n\n            Options:\n            0 - off\n            1 - on\n\n            Default:\n            0 - off\n        \n            Related:\n            - <paginate>\n            - <paginateSplitterCharacter>\n        */\n        $paginateSplitterCharacter = isset($paginateSplitterCharacter)? $paginateSplitterCharacter : $_lang[\'button_splitter\'];\n        /*\n            Param: paginateSplitterCharacter\n\n            Purpose:\n            Splitter to use if always show is disabled\n\n            Options:\n            Any valid character\n\n            Default:\n            [LANG]\n        \n            Related:\n            - <paginate>\n            - <paginateSplitterCharacter>\n        */\n        $tplPaginatePrevious = isset($tplPaginatePrevious)? $ditto->template->fetch($tplPaginatePrevious) : \"<a href=\'[+url+]\' class=\'ditto_previous_link\'>[+lang:previous+]</a>\";\n        /*\n            Param: tplPaginatePrevious\n\n            Purpose:\n            Template for the previous link\n\n            Options:\n            - Any valid chunk name\n            - Code via @CODE\n            - File via @FILE\n\n            Placeholders:\n            url - URL for the previous link\n            lang:previous - value of \'prev\' from the language file\n        \n            Related:\n            - <tplPaginateNext>\n            - <paginateSplitterCharacter>\n        */\n        $tplPaginateNext = isset($tplPaginateNext)? $ditto->template->fetch($tplPaginateNext) : \"<a href=\'[+url+]\' class=\'ditto_next_link\'>[+lang:next+]</a>\";\n        /*\n            Param: tplPaginateNext\n\n            Purpose:\n            Template for the next link\n\n            Options:\n            - Any valid chunk name\n            - Code via @CODE\n            - File via @FILE\n\n            Placeholders:\n            url - URL for the next link\n            lang:next - value of \'next\' from the language file\n        \n            Related:\n            - <tplPaginatePrevious>\n            - <paginateSplitterCharacter>\n        */\n        $tplPaginateNextOff = isset($tplPaginateNextOff)? $ditto->template->fetch($tplPaginateNextOff) : \"<span class=\'ditto_next_off ditto_off\'>[+lang:next+]</span>\";\n        /*\n            Param: tplPaginateNextOff\n\n            Purpose:\n            Template for the inside of the next link\n\n            Options:\n            - Any valid chunk name\n            - Code via @CODE\n            - File via @FILE\n\n            Placeholders:\n            lang:next - value of \'next\' from the language file\n        \n            Related:\n            - <tplPaginatePrevious>\n            - <paginateSplitterCharacter>\n        */\n        $tplPaginatePreviousOff = isset($tplPaginatePreviousOff)? $ditto->template->fetch($tplPaginatePreviousOff) : \"<span class=\'ditto_previous_off ditto_off\'>[+lang:previous+]</span>\";\n        /*\n            Param: tplPaginatePreviousOff\n\n            Purpose:\n            Template for the previous link when it is off\n\n            Options:\n            - Any valid chunk name\n            - Code via @CODE\n            - File via @FILE\n\n            Placeholders:\n            lang:previous - value of \'prev\' from the language file\n    \n            Related:\n            - <tplPaginatePrevious>\n            - <paginateSplitterCharacter>\n        */\n        $tplPaginatePage = isset($tplPaginatePage)? $ditto->template->fetch($tplPaginatePage) : \"<a class=\'ditto_page\' href=\'[+url+]\'>[+page+]</a>\";\n        /*\n            Param: tplPaginatePage\n\n            Purpose:\n            Template for the page link\n\n            Options:\n            - Any valid chunk name\n            - Code via @CODE\n            - File via @FILE\n\n            Placeholders:\n            url - url for the page\n            page - number of the page\n    \n            Related:\n            - <tplPaginatePrevious>\n            - <paginateSplitterCharacter>\n        */\n        $tplPaginateCurrentPage = isset($tplPaginateCurrentPage)? $ditto->template->fetch($tplPaginateCurrentPage) : \"<span class=\'ditto_currentpage\'>[+page+]</span>\";\n        /*\n            Param: tplPaginateCurrentPage\n\n            Purpose:\n            Template for the current page link\n\n            Options:\n            - Any valid chunk name\n            - Code via @CODE\n            - File via @FILE\n\n            Placeholders:\n            page - number of the page\n    \n            Related:\n            - <tplPaginatePrevious>\n            - <paginateSplitterCharacter>\n        */\n        \n        $ditto->paginate($start, $stop, $total, $display, $tplPaginateNext, $tplPaginatePrevious, $tplPaginateNextOff, $tplPaginatePreviousOff, $tplPaginatePage, $tplPaginateCurrentPage, $paginateAlwaysShowLinks, $paginateSplitterCharacter);\n            // generate the pagination placeholders\n    }\n\n    $dbFields = $ditto->fields[\"display\"][\"db\"];\n        // get the database fields\n    $TVs = $ditto->fields[\"display\"][\"tv\"];\n        // get the TVs\n    \n    switch($orderBy[\'parsed\'][0][1]) {\n        case \"DESC\":\n            $stop = ($ditto->prefetch === false) ? $stop + $start + $offset : $stop + $offset; \n            $start += $offset;\n        break;\n        case \"ASC\":\n            $start += $offset;\n            $stop += $start;\n        break;\n    }\n\n    if ($ditto->prefetch !== false) {\n        $documentIDs = array_slice($documentIDs,$start,$stop);\n            // set the document IDs equal to the trimmed array\n        $dbFields = array_diff($dbFields,$ditto->prefetch[\"fields\"][\"db\"]);\n            // calculate the difference between the database fields and those already prefetched\n        $dbFields[] = \"id\";\n            // append id to the db fields array\n        $TVs = array_diff($TVs,$ditto->prefetch[\"fields\"][\"tv\"]);\n            // calculate the difference between the tv fields and those already prefetched\n        $start = 0;\n        $stop = min($display,($queryLimit != 0) ? $queryLimit : $display,count($documentIDs));\n    } else {\n        $queryLimit = ($queryLimit == 0) ? \"\" : $queryLimit;\n    }\n    \n    $resource = $ditto->getDocuments($documentIDs, $dbFields, $TVs, $orderBy, $showPublishedOnly, 0, $hidePrivate, $where, $queryLimit, $keywords, $randomize, $dateSource);\n        // retrieves documents\n    $output = $header;\n        // initialize the output variable and send the header\n\n    if ($resource) {\n        if ($randomize != \"0\" && $randomize != \"1\") {\n            $resource = $ditto->weightedRandom($resource,$randomize,$stop);\n                // randomize the documents\n        }\n        \n        $resource = array_values($resource);\n\n        for ($x=$start;$x<$stop;$x++) {\n            $template = $ditto->template->determine($templates,$x,0,$stop,$resource[$x][\"id\"]);\n                // choose the template to use and set the code of that template to the template variable\n            $renderedOutput = $ditto->render($resource[$x], $template, $removeChunk, $dateSource, $dateFormat, $placeholders,$phx,abs($start-$x));\n                // render the output using the correct template, in the correct format and language\n            $modx->setPlaceholder($dittoID.\"item[\".abs($start-$x).\"]\",$renderedOutput);\n            /*\n                Placeholder: item[x]\n\n                Content:\n                Individual items rendered output\n            */\n            $output .= $renderedOutput;\n                // send the rendered output to the buffer\n        }\n    } else {\n        $output .= $ditto->noResults($noResults,$paginate);\n            // if no documents are found return a no documents found string\n    }\n    $output .= $footer;\n        // send the footer\n\n    // ---------------------------------------------------\n    // Save Object\n    // ---------------------------------------------------\n\n    if($save) {\n        $modx->setPlaceholder($dittoID.\"ditto_object\", $ditto);\n        $modx->setPlaceholder($dittoID.\"ditto_resource\", ($save == \"1\") ? array_slice($resource,$display) : $resource);\n    }\n} else {\n    $output = $header.$ditto->noResults($noResults,$paginate).$footer;\n}\n// ---------------------------------------------------\n// Handle Debugging\n// ---------------------------------------------------\n\nif ($debug == 1) {\n    $ditto_params =& $modx->event_params;\n    if (!isset($_GET[\"ditto_\".$dittoID.\"debug\"])) {\n    $_SESSION[\"ditto_debug_$dittoID\"] = $ditto->debug->render_popup($ditto, $ditto_base, $ditto_version, $ditto_params, $documentIDs, array(\"db\"=>$dbFields,\"tv\"=>$TVs), $display, $templates, $orderBy, $start, $stop, $total,$filter,$resource);\n    }\n    if (isset($_GET[\"ditto_\".$dittoID.\"debug\"])) {\n        switch ($_GET[\"ditto_\".$dittoID.\"debug\"]) {\n            case \"open\" :\n                exit($_SESSION[\"ditto_debug_$dittoID\"]);\n            break;\n            case \"save\" :\n                $ditto->debug->save($_SESSION[\"ditto_debug_$dittoID\"],\"ditto\".strtolower($ditto_version).\"_debug_doc\".$modx->documentIdentifier.\".html\");\n            break;\n        }\n    } else {\n        $output = $ditto->debug->render_link($dittoID,$ditto_base).$output;\n    }\n}\n\nreturn ($save != 3) ? $output : \"\";',0,'',''),(4,'eForm','<strong>1.4.4.6</strong> Robust form parser/processor with validation, multiple sending options, chunk/page support for forms and reports, and file uploads',0,7,0,'# eForm 1.4.4.6 - Electronic Form Snippet\n# Original created by Raymond Irving 15-Dec-2004.\n# Version 1.3+ extended by Jelle Jager (TobyL) September 2006\n# -----------------------------------------------------\n# Captcha image support - thanks to Djamoer\n# Multi checkbox, radio, select support - thanks to Djamoer\n# Form Parser and extened validation - by Jelle Jager\n#\n# see eform/docs/eform.htm for history, usage and examples\n#\n\n# Set Snippet Paths\n$snipFolder = isset($snipFolder)?$snipFolder:\'eform\';\n$snipPath = $modx->config[\"base_path\"].\'assets/snippets/\'.$snipFolder.\'/\';\n\n\n# check if inside manager\nif ($modx->isBackend()) {\nreturn \'\'; # don\'t go any further when inside manager\n}\n\n//tidying up some casing errors in parameters\nif(isset($eformOnValidate)) $eFormOnValidate = $eformOnValidate;\nif(isset($eformOnBeforeMailSent)) $eFormOnBeforeMailSent = $eformOnBeforeMailSent;\nif(isset($eformOnMailSent)) $eFormOnMailSent = $eformOnMailSent;\nif(isset($eformOnValidate)) $eFormOnValidate = $eformOnValidate;\nif(isset($eformOnBeforeFormMerge)) $eFormOnBeforeFormMerge = $eformOnBeforeFormMerge;\nif(isset($eformOnBeforeFormParse)) $eFormOnBeforeFormParse = $eformOnBeforeFormParse;\n//for sottwell :)\nif(isset($eFormCSS)) $cssStyle = $eFormCSS;\n\n# Snippet customize settings\n$params = array (\n   // Snippet Path\n   \'snipPath\' => $snipPath, //includes $snipFolder\n	 \'snipFolder\' => $snipFolder,\n\n// eForm Params\n   \'vericode\' => isset($vericode)? $vericode:\"\",\n   \'formid\' => isset($formid)? $formid:\"\",\n   \'from\' => isset($from)? $from:$modx->config[\'emailsender\'],\n   \'fromname\' => isset($fromname)? $fromname:$modx->config[\'site_name\'],\n   \'to\' => isset($to)? $to:$modx->config[\'emailsender\'],\n   \'cc\' => isset($cc)? $cc:\"\",\n   \'bcc\' => isset($bcc)? $bcc:\"\",\n   \'subject\' => isset($subject)? $subject:\"\",\n   \'ccsender\' => isset($ccsender)?$ccsender:0,\n   \'sendirect\' => isset($sendirect)? $sendirect:0,\n   \'mselector\' => isset($mailselector)? $mailselector:0,\n   \'mobile\' => isset($mobile)? $mobile:\'\',\n   \'mobiletext\' => isset($mobiletext)? $mobiletext:\'\',\n   \'autosender\' => isset($autosender)? $autosender:$from,\n   \'autotext\' => isset($automessage)? $automessage:\"\",\n   \'category\' => isset($category)? $category:0,\n   \'keywords\' => isset($keywords)? $keywords:\"\",\n   \'gid\' => isset($gotoid)? $gotoid:$modx->documentIdentifier,\n   \'noemail\' => isset($noemail)? ($noemail):false,\n   \'saveform\' => isset($saveform)? ($saveform? true:false):true,\n   \'tpl\' => isset($tpl)? $tpl:\"\",\n   \'report\' => isset($report)? $report:\"\",\n   \'allowhtml\' => isset($allowhtml)? $allowhtml:0,\n   //Added by JJ\n   \'replyto\' => isset($replyto)? $replyto:\"\",\n   \'language\' => isset($language)? $language:$modx->config[\'manager_language\'],\n   \'thankyou\' => isset($thankyou)? $thankyou:\"\",\n   \'isDebug\' => isset($debug)? $debug:0,\n   \'reportAbuse\' => isset($reportAbuse)? $reportAbuse:false,\n   \'disclaimer\' => isset($disclaimer)?$disclaimer:\'\',\n   \'sendAsHtml\' => isset($sendAsHtml)?$sendAsHtml:false,\n   \'sendAsText\' => isset($sendAsText)?$sendAsText:false,\n   \'sessionVars\' => isset($sessionVars)?$sessionVars:false,\n   \'postOverides\' => isset($postOverides)?$postOverides:0,\n   \'eFormOnBeforeMailSent\' => isset($eFormOnBeforeMailSent)?$eFormOnBeforeMailSent:\'\',\n   \'eFormOnMailSent\' => isset($eFormOnMailSent)?$eFormOnMailSent:\'\',\n   \'eFormOnValidate\' => isset($eFormOnValidate)?$eFormOnValidate:\'\',\n   \'eFormOnBeforeFormMerge\' => isset($eFormOnBeforeFormMerge)?$eFormOnBeforeFormMerge:\'\',\n   \'eFormOnBeforeFormParse\' => isset($eFormOnBeforeFormParse)?$eFormOnBeforeFormParse:\'\',\n   \'cssStyle\' => isset($cssStyle)?$cssStyle:\'\',\n   \'jScript\' => isset($jScript)?$jScript:\'\',\n   \'submitLimit\' => (isset($submitLimit) &&  is_numeric($submitLimit))?$submitLimit*60:0,\n   \'protectSubmit\' => isset($protectSubmit)?$protectSubmit:1,\n   \'requiredClass\' => isset($requiredClass)?$requiredClass:\"required\",\n   \'invalidClass\' => isset($invalidClass)?$invalidClass:\"invalid\",\n   \'runSnippet\' => ( isset($runSnippet) && !is_numeric($runSnippet) )?$runSnippet:\'\',\n   \'autoSenderName\' => isset($autoSenderName)?$autoSenderName:\'\',\n   \'version\' => \'1.4.4\'\n);\n\n// pixelchutes PHx workaround\nforeach( $params as $key=>$val ) $params[ $key ] = str_replace( array(\'((\',\'))\'), array(\'[+\',\'+]\'), $val );\n\n# Start processing\n\ninclude_once ($snipPath.\"eform.inc.php\");\n\n$output = eForm($modx,$params);\n\n# Return\nreturn $output;',0,'',''),(5,'FirstChildRedirect','<strong>1.0</strong> Automatically redirects to the first child of a Container Resource',0,5,0,'/*\n * @name FirstChildRedirect\n * @author Jason Coward <jason@opengeek.com>\n * @modified-by Ryan Thrash <ryan@vertexworks.com>\n * @license Public Domain\n * @version 1.0\n * \n * This snippet redirects to the first child document of a folder in which this\n * snippet is included within the content (e.g. [!FirstChildRedirect!]).  This\n * allows MODx folders to emulate the behavior of real folders since MODx\n * usually treats folders as actual documents with their own content.\n * \n * Modified to make Doc ID a required parameter... now defaults to the current \n * Page/Folder you call the snippet from.\n * \n * &docid=`12` \n * Use the docid parameter to have this snippet redirect to the\n * first child document of the specified document.\n */\n\n$docid = (isset($docid))? $docid: $modx->documentIdentifier;\n\n$children= $modx->getActiveChildren($docid, \'menuindex\', \'ASC\');\nif (!$children === false) {\n    $firstChild= $children[0];\n    $firstChildUrl= $modx->makeUrl($firstChild[\'id\']);\n} else {\n    $firstChildUrl= $modx->makeUrl($modx->config[\'site_start\']);\n}\nreturn $modx->sendRedirect($firstChildUrl);\n',0,'',''),(6,'Jot','<strong>1.1.4</strong> User comments with moderation and email subscription',0,6,0,'/*####\n#\n# Author: Armand \"bS\" Pondman (apondman@zerobarrier.nl)\n#\n# Latest Version: http://modxcms.com/Jot-998.html\n# Jot Demo Site: http://projects.zerobarrier.nl/modx/\n# Documentation: http://wiki.modxcms.com/index.php/Jot (wiki)\n#\n####*/\n\n$jotPath = $modx->config[\'base_path\'] . \'assets/snippets/jot/\';\ninclude_once($jotPath.\'jot.class.inc.php\');\n\n$Jot = new CJot;\n$Jot->VersionCheck(\"1.1.4\");\n$Jot->Set(\"path\",$jotPath);\n$Jot->Set(\"action\", $action);\n$Jot->Set(\"postdelay\", $postdelay);\n$Jot->Set(\"docid\", $docid);\n$Jot->Set(\"tagid\", $tagid);\n$Jot->Set(\"subscribe\", $subscribe);\n$Jot->Set(\"moderated\", $moderated);\n$Jot->Set(\"captcha\", $captcha);\n$Jot->Set(\"badwords\", $badwords);\n$Jot->Set(\"bw\", $bw);\n$Jot->Set(\"sortby\", $sortby);\n$Jot->Set(\"numdir\", $numdir);\n$Jot->Set(\"customfields\", $customfields);\n$Jot->Set(\"guestname\", $guestname);\n$Jot->Set(\"canpost\", $canpost);\n$Jot->Set(\"canview\", $canview);\n$Jot->Set(\"canedit\", $canedit);\n$Jot->Set(\"canmoderate\", $canmoderate);\n$Jot->Set(\"trusted\", $trusted);\n$Jot->Set(\"pagination\", $pagination);\n$Jot->Set(\"placeholders\", $placeholders);\n$Jot->Set(\"subjectSubscribe\", $subjectSubscribe);\n$Jot->Set(\"subjectModerate\", $subjectModerate);\n$Jot->Set(\"subjectAuthor\", $subjectAuthor);\n$Jot->Set(\"notify\", $notify);\n$Jot->Set(\"notifyAuthor\", $notifyAuthor);\n$Jot->Set(\"validate\", $validate);\n$Jot->Set(\"title\", $title);\n$Jot->Set(\"authorid\", $authorid);\n$Jot->Set(\"css\", $css);\n$Jot->Set(\"cssFile\", $cssFile);\n$Jot->Set(\"cssRowAlt\", $cssRowAlt);\n$Jot->Set(\"cssRowMe\", $cssRowMe);\n$Jot->Set(\"cssRowAuthor\", $cssRowAuthor);\n$Jot->Set(\"tplForm\", $tplForm);\n$Jot->Set(\"tplComments\", $tplComments);\n$Jot->Set(\"tplModerate\", $tplModerate);\n$Jot->Set(\"tplNav\", $tplNav);\n$Jot->Set(\"tplNotify\", $tplNotify);\n$Jot->Set(\"tplNotifyModerator\", $tplNotifyModerator);\n$Jot->Set(\"tplNotifyAuthor\", $tplNotifyAuthor);\n$Jot->Set(\"tplSubscribe\", $tplSubscribe);\n$Jot->Set(\"debug\", $debug);\n$Jot->Set(\"output\", $output);\nreturn $Jot->Run();',0,'',''),(7,'ListIndexer','<strong>1.0.1</strong> A flexible way to show the most recent Resources and other Resource lists',0,5,0,'// added in 1.0.1: hidePrivate (hide items from unauthorized users)\n//\n// Derived from ListIndex 0.6j by jaredc@honeydewdesign.com\n// Now supports Show In Menu\n//\n// This snippet was designed to be a VERY flexible way\n// of showing what has been recently added. You can use\n// this snippet to show news from one folder, or what has\n// been recently added site wide. You can even show what\'s\n// new in a \'section\' (everything under a defined folder)!\n\n// Configuration Settings\n\n   // Set the following snippet defaults the way you would normally\n   // use this snippet, then use snippet variables in other situations\n   // to override the default behaviors.\n\n   // GENERAL OPTIONS\n\n   // $rootFolder [ NULL | string (comma separated page id\'s) ]\n   // Decide which folder to pull recent documents from.\n   // If you want to specify a few folders, comma separate them.\n   // The default NULL will set current page as root. Using 0\n   // would search site wide. Can be set with snippet parameter\n   // $LIn_root like:\n   // [[ListIndexer?LIn_root=3,6,88]] \n   $rootFolder = NULL;\n\n   // $descendentDepth [ int ]\n   // How many levels below the root folder(s) do you want to\n   // include? Can be overridden in snippet call with LIn_depth:\n   // [[ListIndexer?LIn_depth=2]]\n   // Uncomment one of these common two or create your own:\n   // $descendentDepth = 1; // just children of root folder(s)\n   $descendentDepth = 0; // all decendents of root folder(s)\n\n   // $seeThruUnpub [ true | false ]\n   // When using descendents, do you want to consider files below\n   // an unpublished (hidden) folder? Usually no. But you decide.\n   // Snippet parameter: LIn_seeThru\n   // [[ListIndexer?LIn_seeThru=1]]\n   $seeThruUnpub = false;\n\n   // $seeShowInMenu [ true | false ]\n   // When using descendents, do you want to consider files flagged\n   // to be hidden from the menus? Usually no. But you decide.\n   // Snippet parameter: LIn_seeShowInMenu\n   // [[ListIndexer?LIn_seeShowInMenu=1]]\n   $seeShowInMenu = false;\n   \n   // $hidePrivate [ true | false ]\n   // Hide items from users that don\'t have appropriate\n   // rights to view. Usually true. But you decide.\n   // Snippet parameter: LIn_hidePrivate\n   // [[ListIndexer?LIn_hidePrivate=0]]\n   $hidePrivate = true;\n\n   // $mode [ \'short\' | \'full\' ]\n   // Defines whether this list should be a full, paged\n   // list of all documents, or a short list of the most\n   // recent few (how many will be defined next). Can be\n   // overridden in snippet call with $LIn_mode:\n   // [[ListIndexer?LIn_mode=full]]\n   $mode = \'short\';\n   \n   // $sortBy [ \'alpha\' | \'date\' | \'menuindex\' ]\n   // The default date will sort by most recent items first, but\n   // by using the \'alpha\' option, and using full mode, you could\n   // use this to create an index, or directory.\n   // Settable with snippet call $LIn_sort:\n   // [[ListIndexer?LIn_sort=alpha]]\n   $sortBy = \'date\';\n   \n   // $sortDir [ \'ASC\' | \'DESC\' ]\n   // Sort direction ascending or descending. Is applied to whatever $sortBy\n   // field you have chosen above. If left blank, menuindex and alpha will sort\n   // ASC and date DESC.\n   // $LIn_dir in snippet call:\n   // [[ListIndexer?LIn_dir=ASC&LIn_sortBy=menuindex]]\n   $sortDir = \'\';\n\n   // WHAT TO DISPLAY\n\n   // $defaultTitle [ string ]\n   // If you want a default title for your list\n   // you can declare it here. Or use an empty\n   // string to leave this off. This can be overridden\n   // in the snippet call with the variable $LIn_title:\n   // [[ListIndexer?LIn_title=Some new title]]\n   $defaultTitle = \'\';\n\n   // $shortDesc [ true | false ]\n   // Show the description on the short list, or not. Snippet\n   // parameter $LIn_sDesc:\n   // [[ListIndexer?LIn_sDesc=0]]\n   $shortDesc = true;\n\n   // $fullDesc [ true | false ]\n   // Show the description on the full list, or not. Snippet\n   // parameter $LIn_fDesc:\n   // [[ListIndexer?LIn_fDesc=0]]\n   $fullDesc = true;\n\n   // $linkToIndex [ int ]\n   // If you have a page set up as an \'index\' for all the \n   // documents in this list, you can link to it by specifying \n   // its id- can also be set in snippet call with LIn_link:\n   // [[ListIndexer?LIn_link=8]]\n   // The default 0 will eliminate this link\n   $linkToIndex = 0;\n\n   // $indexText [ string ]\n   // If you want a link to an index (probably a page running this\n   // snippet in \"full\" mode), you can declare what you want that\n   // link to say here. Or in the snippet call with LIn_indexText:\n   // [[ListIndexer?LIn_indexText=Financial News Index]]\n   $indexText = \'Index\';\n\n   // $showCreationDate [ true | false ]\n   // Decide to include date of creation in output or not. From\n   // snippet call $LIn_showDate use 1 (true) or 0 (false)\n   // [[ListIndexer?LIn_showDate=1]]\n   $showCreationDate = true;\n\n   // $dateFormat [ string ]\n   // Used to define how date will be displayed (if using date)\n   // Y = 4 digit year     y = 2 digit year\n   // M = Jan - Dec        m = 01 - 12\n   // D = Sun - Sat        d = 01 -31\n   // Other standard PHP characters may be used\n   $dateFormat = \'Y.m.d\';\n\n   // $shortQty [ int ]\n   // Number of entries to list in the short list. Can be\n   // overridden in snippet call with $LIn_sQty:\n   //[[ListIndexer?LIn_sQty=3]]\n   $shortQty = 3;\n\n   // PAGING\n\n   // $fullQty [ int ]\n   // Number of entries PER PAGE to list in the full list\n   // Can be overridden in snippet call with $LIn_fQty:\n   // [[ListIndexer?LIn_fQty=20]]\n   // To show all set to 0 here or in snippet call\n   $fullQty = 10;\n   \n   // $pageSeparator [ string ]\n   // What you want your page number links to be separated by.\n   // You NEED to include spaces if you want them. They are NOT\n   // created automatically to facilitate styling ability.\n   // For instance, \" | \" will render links like:\n   // 1 | 2 | 3 | 4\n   $pageSeparator = \" | \";\n   \n   // $pgPosition [ \'top\' | \'bottom\' | \'both\']\n   // Pick where you want your pagination links to appear.\n   $pgPosition = \'both\';\n\n   // PERFORMANCE\n\n   // $useFastUrls [ true | false ]\n   // IMPORTANT- using fast urls will reduce database queries\n   // and improve performance WHEN IN FULL MODE ONLY and \n   // should NOT be used when multiple instances of this snippet\n   // appear on the same page. With snippet call LIn_fast use 1\n   // (true) or 0 (false)\n   // [[ListIndexer?LIn_fast=0]]\n   $useFastUrls = false;\n\n   // $newLinesForLists [ true | false ]\n   // Depending on how you want to style your list, you may\n   // or may not want your <li>s on new lines. Generally, if you\n   // are displaying then inline (horizontal, you do not want new\n   // lines, but standard vertical block styling you do. This is\n   // for IE, real browsers don\'t care.\n   $newLinesForLists = true;\n\n// Styles\n//\n// The following are the styles included in this snippet. It is up\n// to you to include these styles in your stylesheet to get them to\n// look the way you want.\n\n   // div.LIn_title {}          List title div\n   // ul.LIn_fullMode {}        UL class\n   // ul.LIn_shortMode {}       UL class\n   // span.LIn_date {}          Span surrounding pub/created date\n   // span.LIn_desc {}          Span surrounding description\n   // div.LIn_pagination        Div surrounding pagination links\n   // span.LIn_currentPage {}   Span surrounding current page of\n   //                           pagination (which wouldn\'t be css-able\n   //                           by virtue of its <a> tag)\n\n\n// **********************************************************************\n// END CONFIG SETTINGS\n// THE REST SHOULD TAKE CARE OF ITSELF\n// **********************************************************************\n\n// Take care of IE list issue\n$ie = ($newLinesForLists)? \"\\n\" : \'\' ;\n\n// Use snippet call defined variables if set\n$activeTitle = (isset($LIn_title))? $LIn_title : $defaultTitle ;\n$mode = (isset($LIn_mode))? $LIn_mode : $mode ;\n$descendentDepth = (isset($LIn_depth))? $LIn_depth : $descendentDepth ;\n$seeThruUnpub = (isset($LIn_seeThru))? $LIn_seeThru : $seeThruUnpub ;\n$seeShowInMenu = (isset($LIn_seeShowInMenu))? $LIn_seeShowInMenu : $seeShowInMenu ;\n$hidePrivate = (isset($LIn_hidePrivate))? $LIn_hidePrivate : $hidePrivate;\n$linkToIndex = (isset($LIn_link))? $LIn_link : $linkToIndex ;\n$rootFolder = (isset($LIn_root))? $LIn_root : $rootFolder ;\n$shortQty = (isset($LIn_sQty))? $LIn_sQty : $shortQty ;\n$fullQty = (isset($LIn_fQty))? $LIn_fQty : $fullQty ;\n$showCreationDate = (isset($LIn_showDate))? $LIn_showDate : $showCreationDate ;\n$indexText = (isset($LIn_indexText))? $LIn_indexText : $indexText ;\n$useFastUrls = (isset($LIn_fast))? $LIn_fast : $useFastUrls ;\n$sortBy = (isset($LIn_sort))? $LIn_sort : $sortBy;\n$shortDesc = (isset($LIn_sDesc))? $LIn_sDesc : $shortDesc ;\n$fullDesc = (isset($LIn_fDesc))? $LIn_fDesc : $fullDesc ;\n$sortDir = (isset($LIn_dir))? $LIn_dir : $sortDir ;\nif ($sortDir == \'\') $sortDir = ($sortBy == \'date\')? \'DESC\' : \'ASC\' ;\n\n\n// Make useful variable shortcut for the content table\n//$tbl = $modx->dbConfig[\'dbase\'] . \".\" . $modx->dbConfig[\'table_prefix\'] . \"site_content\";\n$tblsc = $modx->getFullTableName(\"site_content\");\n$tbldg = $modx->getFullTableName(\"document_groups\");\n\n// Initialize output\n$output = \'\';\n\n// ---------------------------------------------------\n// ---------------------------------------------------\n// Query db for parent folders, or not. First check to\n// see if a querystring cheat has been provided- this\n// should speed things up considerably when using this\n// in full mode. (a.k.a. fastUrls)\n// ---------------------------------------------------\n// ---------------------------------------------------\n$inFolder= isset($_GET[\'LIn_f\'])? $_GET[\'LIn_f\']: 0;\nif ((!$inFolder && $useFastUrls) || !$useFastUrls ){\n  // Only run all the database queries if we don\'t already\n  // know the folders AND fastUrls are desired.\n\n  // ---------------------------------------------------\n  // Seed list of viable parents\n  // ---------------------------------------------------\n\n  if ($rootFolder == NULL){\n    $rootFolder = $modx->documentIdentifier;\n  }\n  // Set root level parent array\n  $seedArray = explode(\',\',$rootFolder);\n  $parentsArray = array();\n  foreach($seedArray AS $seed){\n    $parentsArray[\'level_0\'][] = $seed;\n  }\n\n  // ---------------------------------------------------\n  // Make array of all allowed parents\n  // ---------------------------------------------------\n\n  // Process valid parents\n  $levelCounter = 1;\n\n  while (((count($parentsArray) < $descendentDepth) || ($descendentDepth == 0)) && ($levelCounter <= count($parentsArray)) && ($levelCounter < 10)){\n\n    // Find all decendant parents for this level\n    $pLevel = \'level_\'.($levelCounter - 1);\n    $tempLevelArray = $parentsArray[$pLevel];\n\n    foreach($tempLevelArray AS $p){\n\n      // Get children who are parents (isfolder = 1)\n      $validParentSql = \"\";\n      $validParentSql .= \"SELECT id FROM $tblsc sc WHERE \";\n      $validParentSql .= \"isfolder = 1 AND parent = $p \";\n      $validParentSql .= \"AND sc.deleted=0 \";\n      $validParentSql .= ($seeThruUnpub)? \";\" : \"AND sc.published = 1;\";\n\n      // Run statement\n      $rsTempParents = $modx->dbQuery($validParentSql);\n      // Get number of results\n      $countTempParents = $modx->recordCount($rsTempParents);\n\n      // If there are results, put them in an array\n      $tempValidArray = false;\n      if ($countTempParents){\n        for ($i=0;$i<$countTempParents;$i++){\n          $tempId = $modx->fetchRow($rsTempParents);\n          $tempValidArray[] = $tempId[\'id\'];\n        } // end while\n      } // end if\n\n	  // populate next level of array \n	  if ($tempValidArray){\n	    foreach($tempValidArray AS $kid){\n	      $kidLevel = \'level_\'.$levelCounter;\n	      $parentsArray[$kidLevel][] = $kid;\n	    } // end foreach\n\n	  } // end if\n    } // end foreach\n\n    // Do next level\n    $levelCounter++;\n\n  } // end while\n\n  // Finalize list of parents\n  $validParents = \'\';\n  foreach ($parentsArray AS $level){\n    foreach ($level AS $validP){\n      $validParents .= $validP . \',\';\n    }\n  }\n\n  // Remove trailing comma\n  $validParents = substr($validParents,0,strlen($validParents)-1);\n\n} else {\n  $validParents = $_GET[\'LIn_f\'];\n}\n\n// ---------------------------------------------------\n// Make appropriate SQL statement to pull recent items\n// ---------------------------------------------------\n\n// get document groups for current user\nif($docgrp = $modx->getUserDocGroups()) $docgrp = implode(\",\",$docgrp);\n\n$access = \" (\".($modx->isFrontend() ? \"sc.privateweb=0\":\"1=\'\".$_SESSION[\'mgrRole\'].\"\' OR sc.privatemgr=0\").\n          (!$docgrp ? \"\":\" OR dg.document_group IN ($docgrp)\").\") AND \";\n\n// Initialize\n$recentSql = \"\";\n$recentSql .= \"SELECT sc.id, pagetitle, description\";\n// Include pub_date or createdon date if date is desired\n$recentSql .= ($showCreationDate)? \", IF(pub_date > 0, pub_date, createdon) AS pubDate \": \" \" ;\n$recentSql .= \"FROM $tblsc sc LEFT JOIN $tbldg dg on dg.document = sc.id \";\n$recentSql .= \"WHERE \";\n$recentSql .= ($hidePrivate)? $access:\"\";\n// Look everywhere, or just under valid parents\n$recentSql .= (($rootFolder == 0) && $seeThruUnpub && ($descendentDepth == 0))? \"\" : \"parent IN ($validParents) AND \" ;\n// Published\n$recentSql .= \"sc.published = 1 \";\n// Show In Menu\n$recentSql .= ($seeShowInMenu)? \" \" : \" AND sc.hidemenu=0 \" ;\n// Not deleted\n$recentSql .= \"AND sc.deleted=0 \";\n// Choose sort method\nswitch ($sortBy){\n  case \'alpha\':\n    $recentSql .= \"ORDER BY pagetitle \";\n    break;\n  case \'menuindex\':\n    $recentSql .= \"ORDER BY menuindex \";\n    break;\n  default:\n    $recentSql .= \"ORDER BY IF(pub_date>0, pub_date, createdon) \";\n    break;\n}\n// Provide a sort direction\n$recentSql .= $sortDir;\n\n// If this is a short list, just pull a limited number\n$recentSql .= ($mode == \'short\')? \" LIMIT $shortQty;\" : \";\" ;\n\n// Run statement\n$rsRecent = $modx->dbQuery($recentSql);\n// Count records\n$recentLimit = $modx->recordCount($rsRecent);\n\n// ---------------------------------------------------\n// Generate pagination string if needed\n// ---------------------------------------------------\n$offsetParam = isset($_GET[\'LIn_o\'])? $_GET[\'LIn_o\']: 0;\n$offset = ($offsetParam && ($mode == \'full\'))? $offsetParam : 0 ;\n$pagination = \'\';\n\n// Don\'t bother unless there are enough records to justify it\nif ( ($mode == \'full\') && ($recentLimit > $fullQty) && ($fullQty) ){\n  $fullUrl = $_SERVER[\'REQUEST_URI\'];\n  $urlPieces = parse_url($fullUrl);\n  $urlPath = $urlPieces[\'path\'];\n  $otherQs = \'\';\n\n  if ($urlPieces[\'query\']){\n    foreach($_GET AS $qsKey=>$qsValue){\n	  if (($qsKey != \'LIn_o\') && ($qsKey != \'LIn_f\')){\n	    $otherQs .= \'&\'.$qsKey.\'=\'.$qsValue;\n	  }\n	}\n  } \n  \n  $fastUrl = $urlPath.\'?LIn_f=\'.$validParents.$otherQs;\n\n  // Determine number of pages needed to show results\n  $totalPages = ceil($recentLimit/$fullQty);\n  \n  // Make links\n  for ($j = 0 ; $j < $totalPages; $j++){\n    // only include links to OTHER pages, not current page\n    if($offset == $j*$fullQty){\n	  $pagination .= \'<span class=\"LIn_currentPage\">\'.($j+1) .\'</span>\';\n	} else {\n      $pagination .= \'<a href=\"\'.$fastUrl.\'&LIn_o=\'.($j*$fullQty).\'\" title=\"\'.($j+1).\'\">\'.($j+1) .\'</a>\';\n	}\n	if ($j < $totalPages-1){\n	  $pagination .= $pageSeparator;\n	}\n  }\n  \n  // Make final pagination link set in it\'s own div\n  $pagination = \'<div class=\"LIn_pagination\">\'.\"\\n\".$pagination.\"\\n</div>\\n\";\n  \n}\n\n\n// ---------------------------------------------------\n// Create title if wanted\n// ---------------------------------------------------\n\nif ($activeTitle){\n  $output .= \'<div class=\"LIn_title\">\'.$activeTitle.\'</div>\'.\"\\n\";\n}\n\n// ---------------------------------------------------\n// Create list of recent items\n// ---------------------------------------------------\n\n// Include pagination\n$output .= ($pgPosition == \'top\' || $pgPosition == \'both\')? $pagination : \'\' ;\n\n$output .= \'<ul class=\"LIn_\'.$mode.\'Mode\">\' . $ie;\n\n$recentCounter = $offset;\nif ($mode == \'short\') {\n  $recentCounterLimit = min($shortQty,$recentLimit);\n} else {\n  $recentCounterLimit = ($fullQty)? min(($fullQty+$offset),$recentLimit) : $recentLimit ;\n}\n\nwhile (($recentCounter < $recentCounterLimit) && $rsRecent && ($recentLimit > 0)){\n  mysql_data_seek($rsRecent,$recentCounter);\n  $recentRecord = $modx->fetchRow($rsRecent);\n  $output .= \'<li>\';\n  // Link to page\n  $output .= \'<a href=\"[~\'.$recentRecord[\'id\'].\'~]\" title=\"\'.strip_tags($recentRecord[\'pagetitle\']).\'\">\'.$recentRecord[\'pagetitle\'].\'</a> \';\n  // Date if desired\n  if ($showCreationDate){\n    $output .= \'<span class=\"LIn_date\">\'.date($dateFormat,$recentRecord[\'pubDate\']).\'</span> \';\n  }\n  // Description if desired\n  if ((($mode == \'short\') && ($shortDesc)) || (($mode == \'full\') && ($fullDesc))){\n   $output .= \'<span class=\"LIn_desc\">\'.$recentRecord[\'description\'].\'</span>\';\n  }\n  // wrap it up\n  $output .= \'</li>\' . $ie;\n  $recentCounter ++;\n}\n\n$output .= \'</ul>\' . $ie;\n\n$output .= ($pgPosition == \'bottom\' || $pgPosition == \'both\')? $pagination : \'\' ;\n\n// ---------------------------------------------------\n// Link to index\n// ---------------------------------------------------\n\nif ($linkToIndex) {\n\n  $output .= \'<div class=\"LIn_index\">\';\n  $output .= \'<a href=\"[~\'.$linkToIndex.\'~]\" title=\"\'.$indexText.\'\">\'.$indexText.\'</a>\';\n  $output .= \'</div>\';\n\n}\n\n// ---------------------------------------------------\n// Send to browser\n// ---------------------------------------------------\n\nreturn $output;',0,'',''),(8,'MemberCheck','<strong>1.1</strong> Show chunks based on a logged in Web User\'s group membership',0,2,0,'#::::::::::::::::::::::::::::::::::::::::\n# Version: 1.0\n# Created By Ryan Thrash (vertexworks.com)\n# Sanitized By Jason Coward (opengeek.com)\n#\n# Date: November 29, 2005\n#\n# Changelog: \n# Nov 29, 05 -- initial release\n# Jul 13, 06 -- adjusted Singleton to work under PHP4, added placeholder code (by: garryn)\n#\n#::::::::::::::::::::::::::::::::::::::::\n# Description: 	\n#	Checks to see if users belong to a certain group and \n#	displays the specified chunk if they do. Performs several\n#	sanity checks and allows to be used multiple times on a page.\n#\n# Params:\n#	&groups [array] (REQUIRED)\n#		array of webuser group-names to check against\n#\n#	&chunk [string] (REQUIRED)\n#		name of the chunk to use if passes the check\n#\n#	&ph [string] (optional)\n#		name of the placeholder to set instead of directly retuning chunk\n#\n#	&debug [boolean] (optional | false) \n#		turn on debug mode for extra troubleshooting\n#\n# Example Usage:\n#\n#	[[MemberCheck? &groups=`siteadmin, registered users` &chunk=`privateSiteNav` &ph=`MemberMenu` &debug=`true`]]\n#\n#	This would place the \'members-only\' navigation store in the chunk \'privateSiteNav\'\n#	into a placeholder (called \'MemberMenu\'). It will only do this as long as the user \n#	is logged in as a webuser and is a member of the \'siteadmin\' or the \'registered users\'\n#	groups. The optional debug parameter can be used to display informative error messages \n#	when configuring this snippet for your site. For example, if the developer had \n#	mistakenly typed \'siteowners\' for the first group, and none existed with debug mode on, \n#	it would have returned the error message: The group siteowners could not be found....\n#\n#::::::::::::::::::::::::::::::::::::::::\n\n# debug parameter\n$debug = isset ($debug) ? $debug : false;\n\n# check if inside manager\nif ($m = $modx->insideManager()) {\n	return \'\'; # don\'t go any further when inside manager\n}\n\nif (!isset ($groups)) {\n	return $debug ? \'<p>Error: No Group Specified</p>\' : \'\';\n}\n\nif (!isset ($chunk)) {\n	return $debug ? \'<p>Error: No Chunk Specified</p>\' : \'\';\n}\n\n# turn comma-delimited list of groups into an array\n$groups = explode(\',\', $groups);\n\nif (!class_exists(\'MemberCheck\')) {\n	class MemberCheck {\n		var $allGroups = NULL;\n		var $debug;\n\n		function getInstance($debug) {\n			static $instance;\n			if (!isset ($instance)) {\n				$instance = new MemberCheck($debug);\n			}\n			return $instance;\n		}\n\n		function MemberCheck($debug = false) {\n			global $modx;\n\n			$this->debug = $debug;\n			if ($debug) {\n				$this->allGroups = array ();\n				$tableName = $modx->getFullTableName(\'webgroup_names\');\n				$sql = \"SELECT name FROM $tableName\";\n				if ($rs = $modx->db->query($sql)) {\n					while ($row = $modx->db->getRow($rs)) {\n						array_push($this->allGroups, stripslashes($row[\'name\']));\n					}\n				}\n			}\n		}\n\n		function isValidGroup($groupName) {\n			$isValid = !(array_search($groupName, $this->allGroups) === false);\n			return $isValid;\n		}\n\n		function getMemberChunk(& $groups, $chunk) {\n			global $modx;\n			$o = \'\';\n			if (is_array($groups)) {\n				for ($i = 0; $i < count($groups); $i++) {\n					$groups[$i] = trim($groups[$i]);\n					if ($this->debug) {\n						if (!$this->isValidGroup($groups[$i])) {\n							return \"<p>The group <strong>\" . $groups[$i] . \"</strong> could not be found...</p>\";\n						}\n					}\n				}\n\n				$check = $modx->isMemberOfWebGroup($groups);\n\n				$chunkcheck = $modx->getChunk($chunk);\n\n				$o .= ($check && $chunkcheck) ? $chunkcheck : \'\';\n				if (!$chunkcheck)\n					$o .= $this->debug ? \"<p>The chunk <strong>$chunk</strong> not found...</p>\" : \'\';\n			} else {\n				$o .= \"<p>No valid group names were specified!</p>\";\n			}\n\n			return $o;\n		}\n	}\n}\n\n$memberCheck = MemberCheck :: getInstance($debug);\n\nif (!isset ($ph)) {\n	return $memberCheck->getMemberChunk($groups, $chunk);\n} else {\n	$modx->setPlaceholder($ph, $memberCheck->getMemberChunk($groups, $chunk));\n	return \'\';\n}',0,'',''),(9,'Personalize','<strong>2.1</strong> Personalize snippet',0,2,0,'#::::::::::::::::::::::::::::::::::::::::\n# Created By:Ryan Thrash (modx@vertexworks.com),\n#	and then powered up by kudo (kudo@kudolink.com)\n#\n# Date: Aug 03, 2006\n#\n# Changelog:\n# Dec 01, 05 -- initial release\n# Jun 19, 06 -- updated description\n# Jul 19, 06 -- hacked by kudo to output chunks\n# Aug 03, 06 -- added placeholder for username\n# Aug 27, 10 -- powered up all code\n#\n#::::::::::::::::::::::::::::::::::::::::\n# Description:\n#	Checks to see if webusers are logged in and displays yesChunk if the user\n#	is logged or noChunk if user is not logged. Insert only the chunk name as\n#	param, without {{}}. Can use a placeholder to output the username.\n#	TESTED: can be used more than once per page.\n#	TESTED: chunks can contain snippets.\n#\n#\n# Params:\n#	&yesChunk [string] (optional)\n#		Output for LOGGED users\n#\n#	&noChunk [string] (optional)\n#		Output for NOT logged users\n#\n#	&ph [string] (optional)\n#		Placeholder for placing the username\n#		ATTENTION!: place this ph only in yesChunk!\n#\n#	&context [string] (optional)\n#		web|mgr\n#\n#	&yesTV [string] (optional)\n#		Output for LOGGED users\n#\n#	&noTV [string] (optional)\n#		Output for NOT logged users\n#\n# Example Usage:\n#\n#	[[Personalize? &yesChunk=`Link` &noChunk=`Register` &ph=`name`]]\n#\n#	Having Chunks named {{Link}} and another {{Register}}, the first will be\n#	published to registered user, the second to non-registered users.\n#\n#::::::::::::::::::::::::::::::::::::::::\n\n# prepare params and variables\n\nif     ($this->isFrontend() && isset ($_SESSION[\'webValidated\'])) $current_context = \'web\';\nelseif ($this->isBackend()  && isset ($_SESSION[\'mgrValidated\'])) $current_context = \'mgr\';\n\n$output = \'\';\n$yesChunk = (isset($yesChunk))? $yesChunk : \'\';\n$noChunk  = (isset($noChunk)) ? $noChunk  : \'\';\n$ph       = (isset($ph))      ? $ph       : \'username\';\n$context  = (isset($context)) ? $context     : $current_context;\n$yesTV    = (isset($yesTV))   ? $yesTV : \'\';\n$noTV     = (isset($noTV))    ? $noTV  : \'\';\n\n/*\n$referer = htmlspecialchars($_SERVER[\'HTTP_REFERER\'], ENT_QUOTES);\n$ua =      htmlspecialchars($_SERVER[\'HTTP_USER_AGENT\'], ENT_QUOTES);\n$ip =      htmlspecialchars($_SERVER[\'REMOTE_ADDR\'], ENT_QUOTES);\n$host =    htmlspecialchars($_SERVER[\'REMOTE_HOST\'], ENT_QUOTES);\n\n$ua_strtolower = strtolower($_SERVER[\'HTTP_USER_AGENT\']);\nif    (strpos($ua_strtolower, \'firefox\') !== false)     $browser = \'firefox\';\nelseif(strpos($ua_strtolower, \'trident/4.0\') !== false) $browser = \'internet explorer 8\';\nelseif(strpos($ua_strtolower, \'msie\') !== false)        $browser = \'internet explorer\';\nelseif(strpos($ua_strtolower, \'chrome\') !== false)      $browser = \'chrome\';\nelseif(strpos($ua_strtolower, \'safari\') !== false)      $browser = \'safari\';\nelseif(strpos($ua_strtolower, \'opera\') !== false)       $browser = \'opera\';\nelse $browser = \'other\';\n\n$modx->setPlaceholder(\'referer\', $referer);\n$modx->setPlaceholder(\'ua\',      $ua);\n$modx->setPlaceholder(\'browser\', $browser);\n$modx->setPlaceholder(\'ip\',      $ip);\n$modx->setPlaceholder(\'host\',    $host);\n*/\n\nswitch($context)\n{\n    case \'web\':\n        $short_name = $_SESSION[\'webShortname\'];\n        $full_name  = $_SESSION[\'webFullname\'];\n        $email      = $_SESSION[\'webEmail\'];\n        $last_login = $_SESSION[\'webLastlogin\'];\n        break;\n    case \'mgr\':\n    case \'manager\':\n        $short_name = $_SESSION[\'mgrShortname\'];\n        $full_name  = $_SESSION[\'mgrFullname\'];\n        $email      = $_SESSION[\'mgrEmail\'];\n        $last_login = $_SESSION[\'mgrLastlogin\'];\n        break;\n    default:\n        $short_name = \'\';\n}\nif (!empty($context))\n{\n    if($yesTV !== \'\')\n    {\n        $pre_output = $modx->documentObject[$yesTV];\n        if(is_array($pre_output))\n        {\n            $output = $pre_output[1];\n        }\n        else\n        {\n            $output = $pre_output;\n        }\n    }\n    elseif($yesChunk !== \'\')\n    {\n        $output = $modx->getChunk($yesChunk);\n    }\n    else\n    {\n        $output = \'username : \' . $short_name;\n    }\n\n    if(empty($last_login)) $last_login_text = \'first login\';\n    else                   $last_login_text = $modx->toDateFormat($last_login);\n\n    $modx->setPlaceholder($ph,$short_name);\n    $modx->setPlaceholder(\'short_name\',  $short_name);\n    $modx->setPlaceholder(\'full_name\',   $full_name);\n    $modx->setPlaceholder(\'email\',       $email);\n    $modx->setPlaceholder(\'last_login\', $last_login_text);\n}\nelse\n{\n    if($noTV !== \'\')\n    {\n        $pre_output = $modx->documentObject[$noTV];\n        if(is_array($pre_output))\n        {\n            $output = $pre_output[1];\n        }\n        else\n        {\n            $output = $pre_output;\n        }\n    }\n    elseif($noChunk!==\'\')\n    {\n        $output = $modx->getChunk($noChunk);\n    }\n    else\n    {\n        $output = \'guest\';\n    }\n}\nreturn $output;',0,'',''),(10,'Reflect','<strong>2.1.0</strong> Generates date-based archives using Ditto',0,6,0,'/*\n * Author: \n *      Mark Kaplan for MODx CMF\n * \n * Note: \n *      If Reflect is not retrieving its own documents, make sure that the\n *          Ditto call feeding it has all of the fields in it that you plan on\n *       calling in your Reflect template. Furthermore, Reflect will ONLY\n *          show what is currently in the Ditto result set.\n *       Thus, if pagination is on it will ONLY show that page\'s items.\n*/\n \n\n// ---------------------------------------------------\n//  Includes\n// ---------------------------------------------------\n\n$reflect_base = isset($reflect_base) ? $modx->config[\'base_path\'].$reflect_base : $modx->config[\'base_path\'].\"assets/snippets/reflect/\";\n/*\n    Param: ditto_base\n    \n    Purpose:\n    Location of Ditto files\n\n    Options:\n    Any valid folder location containing the Ditto source code with a trailing slash\n\n    Default:\n    [(base_path)]assets/snippets/ditto/\n*/\n\n$config = (isset($config)) ? $config : \"default\";\n/*\n    Param: config\n\n    Purpose:\n    Load a custom configuration\n\n    Options:\n    \"default\" - default blank config file\n    CONFIG_NAME - Other configs installed in the configs folder or in any folder within the MODx base path via @FILE\n\n    Default:\n    \"default\"\n    \n    Related:\n    - <extenders>\n*/\n\nrequire($reflect_base.\"configs/default.config.php\");\nrequire($reflect_base.\"default.templates.php\");\nif ($config != \"default\") {\n    require((substr($config, 0, 5) != \"@FILE\") ? $reflect_base.\"configs/$config.config.php\" : $modx->config[\'base_path\'].trim(substr($config, 5)));\n}\n\n// ---------------------------------------------------\n//  Parameters\n// ---------------------------------------------------\n\n$id = isset($id) ? $id.\"_\" : false;\n/*\n    Param: id\n\n    Purpose:\n    Unique ID for this Ditto instance for connection with other scripts (like Reflect) and unique URL parameters\n\n    Options:\n    Any valid folder location containing the Ditto source code with a trailing slash\n\n    Default:\n    \"\" - blank\n*/\n$getDocuments = isset($getDocuments) ? $getDocuments : 0;\n/*\n    Param: getDocuments\n\n    Purpose:\n    Force Reflect to get documents\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    0 - off\n*/\n$showItems = isset($showItems) ? $showItems : 1;\n/*\n    Param: showItems\n\n    Purpose:\n    Show individual items in the archive\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    1 - on\n*/\n$groupByYears = isset($groupByYears)? $groupByYears : 1;\n/*\n    Param: groupByYears\n\n    Purpose:\n    Group the archive by years\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    1 - on\n*/\n$targetID = isset($targetID) ? $targetID : $modx->documentObject[\'id\'];\n/*\n    Param: targetID\n\n    Purpose:\n    ID for archive links to point to\n\n    Options:\n    Any MODx document with a Ditto call setup with extenders=`dateFilter`\n    \n    Default:\n    Current MODx Document\n*/\n$dateSource = isset($dateSource) ? $dateSource : \"createdon\";\n/*\n    Param: dateSource\n\n    Purpose:\n    Date source to display for archive items\n\n    Options:\n    # - Any UNIX timestamp from MODx fields or TVs such as createdon, pub_date, or editedon\n    \n    Default:\n    \"createdon\"\n    \n    Related:\n    - <dateFormat>\n*/\n$dateFormat = isset($dateFormat) ? $dateFormat : \"%d-%b-%y %H:%M\";  \n/*\n    Param: dateFormat\n\n    Purpose:\n    Format the [+date+] placeholder in human readable form\n\n    Options:\n    Any PHP valid strftime option\n\n    Default:\n    \"%d-%b-%y %H:%M\"\n    \n    Related:\n    - <dateSource>\n*/\n$yearSortDir = isset($yearSortDir) ? $yearSortDir : \"DESC\";\n/*\n    Param: yearSortDir\n\n    Purpose:\n    Direction to sort documents\n\n    Options:\n    ASC - ascending\n    DESC - descending\n\n    Default:\n    \"DESC\"\n    \n    Related:\n    - <monthSortDir>\n*/\n$monthSortDir = isset($monthSortDir) ? $monthSortDir : \"ASC\";\n/*\n    Param: monthSortDir\n\n    Purpose:\n    Direction to sort the months\n\n    Options:\n    ASC - ascending\n    DESC - descending\n\n    Default:\n    \"ASC\"\n    \n    Related:\n    - <yearSortDir>\n*/\n$start = isset($start)? intval($start) : 0;\n/*\n    Param: start\n\n    Purpose:\n    Number of documents to skip in the results\n    \n    Options:\n    Any number\n\n    Default:\n    0\n*/  \n$phx = (isset($phx))? $phx : 1;\n/*\n    Param: phx\n\n    Purpose:\n    Use PHx formatting\n\n    Options:\n    0 - off\n    1 - on\n    \n    Default:\n    1 - on\n*/\n\n// ---------------------------------------------------\n//  Initialize Ditto\n// ---------------------------------------------------\n$placeholder = ($id != false && $getDocuments == 0) ? true : false;\nif ($placeholder === false) {\n    $rID = \"reflect_\".rand(1,1000);\n    $itemTemplate = isset($tplItem) ? $tplItem: \"@CODE:\".$defaultTemplates[\'item\'];\n    $dParams = array(\n        \"id\" => \"$rID\",\n        \"save\" => \"3\",  \n        \"summarize\" => \"all\",\n        \"tpl\" => $itemTemplate,\n    );\n    \n    $source = $dittoSnippetName;\n    $params = $dittoSnippetParameters;\n        // TODO: Remove after 3.0\n        \n    if (isset($params)) {\n        $givenParams = explode(\"|\",$params);\n        foreach ($givenParams as $parameter) {\n            $p = explode(\":\",$parameter);\n            $dParams[$p[0]] = $p[1];\n        }\n    }\n    /*\n        Param: params\n\n        Purpose:\n        Pass parameters to the Ditto instance used to retreive the documents\n\n        Options:\n        Any valid ditto parameters in the format name:value \n        with multiple parameters separated by a pipe (|)\n        \n        Note:\n        This parameter is only needed for config, start, and phx as you can\n        now simply use the parameter as if Reflect was Ditto\n\n        Default:\n        [NULL]\n    */\n    \n    $reflectParameters = array(\'reflect_base\',\'config\',\'id\',\'getDocuments\',\'showItems\',\'groupByYears\',\'targetID\',\'yearSortDir\',\'monthSortDir\',\'start\',\'phx\',\'tplContainer\',\'tplYear\',\'tplMonth\',\'tplMonthInner\',\'tplItem\',\'save\');\n    $params =& $modx->event->params;\n    if(is_array($params)) {\n        foreach ($params as $param=>$value) {\n            if (!in_array($param,$reflectParameters) && substr($param,-3) != \'tpl\') {\n                $dParams[$param] = $value;\n            }\n        }\n    }\n\n    $source = isset($source) ? $source : \"Ditto\";\n    /*\n        Param: source\n\n        Purpose:\n        Name of the Ditto snippet to use\n\n        Options:\n        Any valid snippet name\n\n        Default:\n        \"Ditto\"\n    */\n    $snippetOutput = $modx->runSnippet($source,$dParams);\n    $ditto = $modx->getPlaceholder($rID.\"_ditto_object\");\n    $resource = $modx->getPlaceholder($rID.\"_ditto_resource\");\n} else {\n    $ditto = $modx->getPlaceholder($id.\"ditto_object\");\n    $resource = $modx->getPlaceholder($id.\"ditto_resource\");\n}\nif (!is_object($ditto) || !isset($ditto) || !isset($resource)) {\n    return !empty($snippetOutput) ? $snippetOutput : \"The Ditto object is invalid. Please check it.\";\n}\n\n// ---------------------------------------------------\n//  Templates\n// ---------------------------------------------------\n\n$templates[\'tpl\'] = isset($tplContainer) ? $ditto->template->fetch($tplContainer): $defaultTemplates[\'tpl\'];\n/*\n    Param: tplContainer\n\n    Purpose:\n    Container template for the archive\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'year\'] = isset($tplYear) ? $ditto->template->fetch($tplYear): $defaultTemplates[\'year\'];\n/*\n    Param: tplYear\n\n    Purpose:\n    Template for the year item\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'year_inner\'] = isset($tplYearInner) ? $ditto->template->fetch($tplYearInner): $defaultTemplates[\'year_inner\'];\n/*\n    Param: tplYearInner\n\n    Purpose:\n    Template for the year item (the ul to hold the year template)\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'month\'] = isset($tplMonth) ? $ditto->template->fetch($tplMonth): $defaultTemplates[\'month\'];\n/*\n    Param: tplMonth\n\n    Purpose:\n    Template for the month item\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'month_inner\'] = isset($tplMonthInner) ? $ditto->template->fetch($tplMonthInner): $defaultTemplates[\'month_inner\'];\n/*\n    Param: tplMonthInner\n\n    Purpose:\n    Template for the month item  (the ul to hold the month template)\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n$templates[\'item\'] = isset($tplItem) ? $ditto->template->fetch($tplItem): $defaultTemplates[\'item\'];\n/*\n    Param: tplItem\n\n    Purpose:\n    Template for the individual item\n\n    Options:\n    - Any valid chunk name\n    - Code via @CODE:\n    - File via @FILE:\n\n    Default:\n    See default.tempates.php\n*/\n\n$ditto->addField(\"date\",\"display\",\"custom\");\n    // force add the date field if receiving data from a Ditto instance\n\n// ---------------------------------------------------\n//  Reflect\n// ---------------------------------------------------\n\nif (function_exists(\"reflect\") === FALSE) {\nfunction reflect($templatesDocumentID, $showItems, $groupByYears, $resource, $templatesDateSource, $dateFormat, $ditto, $templates,$id,$start,$yearSortDir,$monthSortDir) {\n    global $modx;\n    $cal = array();\n    $output = \'\';\n    $ph = array(\'year\'=>\'\',\'month\'=>\'\',\'item\'=>\'\',\'out\'=>\'\');\n    $build = array();\n    $stop = count($resource);\n\n    // loop and fetch all the results\n    for ($i = $start; $i < $stop; $i++) {\n        $date = getdate($resource[$i][$templatesDateSource]);\n        $year = $date[\"year\"];\n        $month = $date[\"mon\"];\n        $cal[$year][$month][] = $resource[$i];\n    }\n    if ($yearSortDir == \"DESC\") {\n        krsort($cal);\n    } else {\n        ksort($cal);\n    }\n    foreach ($cal as $year=>$months) {\n        if ($monthSortDir == \"ASC\") {\n            ksort($months);\n        } else {\n            krsort($months);\n        }\n        $build[$year] = $months;\n    }\n    \n    foreach ($build as $year=>$months) {\n        $r_year = \'\';\n        $r_month = \'\';\n        $r_month_2 = \'\';\n        $year_count = 0;\n        $items = array();\n        \n        foreach ($months as $mon=>$month) {\n            $month_text = strftime(\"%B\", mktime(10, 10, 10, $mon, 10, $year));\n            $month_url = $ditto->buildURL(\"month=\".$mon.\"&year=\".$year.\"&day=false&start=0\",$templatesDocumentID,$id);\n            $month_count = count($month);\n            $year_count += $month_count;\n            $r_month = $ditto->template->replace(array(\"year\"=>$year,\"month\"=>$month_text,\"url\"=>$month_url,\"count\"=>$month_count),$templates[\'month\']);\n            if ($showItems) {\n                foreach ($month as $item) {\n                    $items[$year][$mon][\'items\'][] = $ditto->render($item, $templates[\'item\'], false, $templatesDateSource, $dateFormat, array(),$phx);\n                }\n                $r_month_2 = $ditto->template->replace(array(\'wrapper\' => implode(\'\',$items[$year][$mon][\'items\'])),$templates[\'month_inner\']);\n                $items[$year][$mon] = $ditto->template->replace(array(\'wrapper\' => $r_month_2),$r_month);\n            } else {\n                $items[$year][$mon] = $r_month;\n            }\n        }\n        if ($groupByYears) {\n            $year_url = $ditto->buildURL(\"year=\".$year.\"&month=false&day=false&start=0\",$templatesDocumentID,$id);\n            $r_year =  $ditto->template->replace(array(\"year\"=>$year,\"url\"=>$year_url,\"count\"=>$year_count),$templates[\'year\']);\n            $var = $ditto->template->replace(array(\'wrapper\'=>implode(\'\',$items[$year])),$templates[\'year_inner\']);\n            $output .= $ditto->template->replace(array(\'wrapper\'=>$var),$r_year);\n        } else {\n            $output .= implode(\'\',$items[$year]);\n        }\n    }\n\n    $output = $ditto->template->replace(array(\'wrapper\'=>$output),$templates[\'tpl\']);\n    $modx->setPlaceholder($id.\'reset\',$ditto->buildURL(\'year=false&month=false&day=false\',$templatesDocumentID,$id));\n\nreturn $output;\n    \n}\n}\n\nreturn reflect($targetID, $showItems, $groupByYears, $resource, $dateSource, $dateFormat, $ditto, $templates,$id,$start,$yearSortDir,$monthSortDir);',0,'',''),(11,'UltimateParent','<strong>2.0</strong> Travels up the document tree from a specified document and returns its \"ultimate\" non-root parent',0,5,0,'/*\n * @name UltimateParent\n * @version 2.0 beta (requires MODx 0.9.5+)\n * @author Jason Coward <modx@opengeek.com>\n * \n * @param &id The id of the document whose parent you want to find.\n * @param &top The top node for the search.\n * @param &topLevel The top level node for the search (root = level 1)\n * \n * @license Public Domain, use as you like.\n * \n * @example [[UltimateParent? &id=`45` &top=`6`]] \n * Will find the ultimate parent of document 45 if it is a child of document 6;\n * otherwise it will return 45.\n * \n * @example [[UltimateParent? &topLevel=`2`]]\n * Will find the ultimate parent of the current document at a depth of 2 levels\n * in the document hierarchy, with the root level being level 1.\n * \n * This snippet travels up the document tree from a specified document and\n * returns the \"ultimate\" parent.  Version 2.0 was rewritten to use the new\n * getParentIds function features available only in MODx 0.9.5 or later.\n * \n * Based on the original UltimateParent 1.x snippet by Susan Ottwell\n * <sottwell@sottwell.com>.  The topLevel parameter was introduced by staed and\n * adopted here.\n */\n$top= isset ($top) && intval($top) ? $top : 0;\n$id= isset ($id) && intval($id) ? intval($id) : $modx->documentIdentifier;\n$topLevel= isset ($topLevel) && intval($topLevel) ? intval($topLevel) : 0;\nif ($id && $id != $top) {\n    $pid= $id;\n    if (!$topLevel || count($modx->getParentIds($id)) >= $topLevel) {\n        while ($parentIds= $modx->getParentIds($id, 1)) {\n            $pid= array_pop($parentIds);\n            if ($pid == $top) {\n                break;\n            }\n            $id= $pid;\n            if ($topLevel && count($modx->getParentIds($id)) < $topLevel) {\n                break;\n            }\n        }\n    }\n}\nreturn $id;',0,'',''),(12,'Wayfinder','<strong>2.0.1</strong> Completely template-driven and highly flexible menu builder',0,5,0,'/*\n::::::::::::::::::::::::::::::::::::::::\n Snippet name: Wayfinder\n Short Desc: builds site navigation\n Version: 2.0\n Authors: \n	Kyle Jaebker (muddydogpaws.com)\n	Ryan Thrash (vertexworks.com)\n Date: February 27, 2006\n::::::::::::::::::::::::::::::::::::::::\nDescription:\n    Totally refactored from original DropMenu nav builder to make it easier to\n    create custom navigation by using chunks as output templates. By using templates,\n    many of the paramaters are no longer needed for flexible output including tables,\n    unordered- or ordered-lists (ULs or OLs), definition lists (DLs) or in any other\n    format you desire.\n::::::::::::::::::::::::::::::::::::::::\nExample Usage:\n    [[Wayfinder? &startId=`0`]]\n::::::::::::::::::::::::::::::::::::::::\n*/\n\n$wayfinder_base = $modx->config[\'base_path\'].\"assets/snippets/wayfinder/\";\n\n//Include a custom config file if specified\n$config = (isset($config)) ? \"{$wayfinder_base}configs/{$config}.config.php\" : \"{$wayfinder_base}configs/default.config.php\";\nif (file_exists($config)) {\n	include_once(\"$config\");\n}\n\ninclude_once(\"{$wayfinder_base}wayfinder.inc.php\");\n\nif (class_exists(\'Wayfinder\')) {\n   $wf = new Wayfinder();\n} else {\n    return \'error: Wayfinder class not found\';\n}\n\n$wf->_config = array(\n	\'id\' => isset($startId) ? $startId : $modx->documentIdentifier,\n	\'level\' => isset($level) ? $level : 0,\n	\'includeDocs\' => isset($includeDocs) ? $includeDocs : 0,\n	\'excludeDocs\' => isset($excludeDocs) ? $excludeDocs : 0,\n	\'ph\' => isset($ph) ? $ph : FALSE,\n	\'debug\' => isset($debug) ? TRUE : FALSE,\n	\'ignoreHidden\' => isset($ignoreHidden) ? $ignoreHidden : FALSE,\n	\'hideSubMenus\' => isset($hideSubMenus) ? $hideSubMenus : FALSE,\n	\'useWeblinkUrl\' => isset($useWeblinkUrl) ? $useWeblinkUrl : TRUE,\n	\'fullLink\' => isset($fullLink) ? $fullLink : FALSE,\n	\'nl\' => isset($removeNewLines) ? \'\' : \"\\n\",\n	\'sortOrder\' => isset($sortOrder) ? strtoupper($sortOrder) : \'ASC\',\n	\'sortBy\' => isset($sortBy) ? $sortBy : \'menuindex\',\n	\'limit\' => isset($limit) ? $limit : 0,\n	\'cssTpl\' => isset($cssTpl) ? $cssTpl : FALSE,\n	\'jsTpl\' => isset($jsTpl) ? $jsTpl : FALSE,\n	\'rowIdPrefix\' => isset($rowIdPrefix) ? $rowIdPrefix : FALSE,\n	\'textOfLinks\' => isset($textOfLinks) ? $textOfLinks : \'menutitle\',\n	\'titleOfLinks\' => isset($titleOfLinks) ? $titleOfLinks : \'pagetitle\',\n	\'displayStart\' => isset($displayStart) ? $displayStart : FALSE,\n);\n\n//get user class definitions\n$wf->_css = array(\n	\'first\' => isset($firstClass) ? $firstClass : \'\',\n	\'last\' => isset($lastClass) ? $lastClass : \'last\',\n	\'here\' => isset($hereClass) ? $hereClass : \'active\',\n	\'parent\' => isset($parentClass) ? $parentClass : \'\',\n	\'row\' => isset($rowClass) ? $rowClass : \'\',\n	\'outer\' => isset($outerClass) ? $outerClass : \'\',\n	\'inner\' => isset($innerClass) ? $innerClass : \'\',\n	\'level\' => isset($levelClass) ? $levelClass: \'\',\n	\'self\' => isset($selfClass) ? $selfClass : \'\',\n	\'weblink\' => isset($webLinkClass) ? $webLinkClass : \'\',\n);\n\n//get user templates\n$wf->_templates = array(\n	\'outerTpl\' => isset($outerTpl) ? $outerTpl : \'\',\n	\'rowTpl\' => isset($rowTpl) ? $rowTpl : \'\',\n	\'parentRowTpl\' => isset($parentRowTpl) ? $parentRowTpl : \'\',\n	\'parentRowHereTpl\' => isset($parentRowHereTpl) ? $parentRowHereTpl : \'\',\n	\'hereTpl\' => isset($hereTpl) ? $hereTpl : \'\',\n	\'innerTpl\' => isset($innerTpl) ? $innerTpl : \'\',\n	\'innerRowTpl\' => isset($innerRowTpl) ? $innerRowTpl : \'\',\n	\'innerHereTpl\' => isset($innerHereTpl) ? $innerHereTpl : \'\',\n	\'activeParentRowTpl\' => isset($activeParentRowTpl) ? $activeParentRowTpl : \'\',\n	\'categoryFoldersTpl\' => isset($categoryFoldersTpl) ? $categoryFoldersTpl : \'\',\n	\'startItemTpl\' => isset($startItemTpl) ? $startItemTpl : \'\',\n);\n\n//Process Wayfinder\n$output = $wf->run();\n\nif ($wf->_config[\'debug\']) {\n	$output .= $wf->renderDebugOutput();\n}\n\n//Ouput Results\nif ($wf->_config[\'ph\']) {\n    $modx->setPlaceholder($wf->_config[\'ph\'],$output);\n} else {\n    return $output;\n}',0,'',''),(13,'WebChangePwd','<strong>1.0</strong> Allows Web User to change their password from the front-end of the website',0,2,0,'# Created By Raymond Irving April, 2005\n#::::::::::::::::::::::::::::::::::::::::\n# Params:	\n#\n#	&tpl			- (Optional)\n#		Chunk name or document id to use as a template\n#				  \n#	Note: Templats design:\n#			section 1: change pwd template\n#			section 2: notification template \n#\n# Examples:\n#\n#	[[WebChangePwd? &tpl=`ChangePwd`]] \n\n# Set Snippet Paths \n$snipPath  = (($modx->insideManager())? \"../\":\"\");\n$snipPath .= \"assets/snippets/\";\n\n# check if inside manager\nif ($m = $modx->insideManager()) {\n	return \'\'; # don\'t go any further when inside manager\n}\n\n\n# Snippet customize settings\n$tpl		= isset($tpl)? $tpl:\"\";\n\n# System settings\n$isPostBack		= count($_POST) && isset($_POST[\'cmdwebchngpwd\']);\n\n# Start processing\ninclude_once $snipPath.\"weblogin/weblogin.common.inc.php\";\ninclude_once $snipPath.\"weblogin/webchangepwd.inc.php\";\n\n# Return\nreturn $output;\n\n\n\n',0,'',''),(14,'WebLogin','<strong>1.1</strong> Allows webusers to login to protected pages in the website, supporting multiple user groups',0,2,0,'# Created By Raymond Irving 2004\n#::::::::::::::::::::::::::::::::::::::::\n# Params:	\n#\n#	&loginhomeid 	- (Optional)\n#		redirects the user to first authorized page in the list.\n#		If no id was specified then the login home page id or \n#		the current document id will be used\n#\n#	&logouthomeid 	- (Optional)\n#		document id to load when user logs out	\n#\n#	&pwdreqid 	- (Optional)\n#		document id to load after the user has submited\n#		a request for a new password\n#\n#	&pwdactid 	- (Optional)\n#		document id to load when the after the user has activated\n#		their new password\n#\n#	&logintext		- (Optional) \n#		Text to be displayed inside login button (for built-in form)\n#\n#	&logouttext 	- (Optional)\n#		Text to be displayed inside logout link (for built-in form)\n#	\n#	&tpl			- (Optional)\n#		Chunk name or document id to as a template\n#				  \n#	Note: Templats design:\n#			section 1: login template\n#			section 2: logout template \n#			section 3: password reminder template \n#\n#			See weblogin.tpl for more information\n#\n# Examples:\n#\n#	[[WebLogin? &loginhomeid=`8` &logouthomeid=`1`]] \n#\n#	[[WebLogin? &loginhomeid=`8,18,7,5` &tpl=`Login`]] \n\n# Set Snippet Paths \n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\n\n# check if inside manager\nif ($m = $modx->insideManager()) {\n	return \'\'; # don\'t go any further when inside manager\n}\n\n# deprecated params - only for backward compatibility\nif(isset($loginid)) $loginhomeid=$loginid;\nif(isset($logoutid)) $logouthomeid = $logoutid;\nif(isset($template)) $tpl = $template;\n\n# Snippet customize settings\n$liHomeId	= isset($loginhomeid)? explode(\",\",$loginhomeid):array($modx->config[\'login_home\'],$modx->documentIdentifier);\n$loHomeId	= isset($logouthomeid)? $logouthomeid:$modx->documentIdentifier;\n$pwdReqId	= isset($pwdreqid)? $pwdreqid:0;\n$pwdActId	= isset($pwdactid)? $pwdactid:0;\n$loginText	= isset($logintext)? $logintext:\'Login\';\n$logoutText	= isset($logouttext)? $logouttext:\'Logout\';\n$tpl		= isset($tpl)? $tpl:\"\";\n\n# System settings\n$webLoginMode = isset($_REQUEST[\'webloginmode\'])? $_REQUEST[\'webloginmode\']: \'\';\n$isLogOut		= $webLoginMode==\'lo\' ? 1:0;\n$isPWDActivate	= $webLoginMode==\'actp\' ? 1:0;\n$isPostBack		= count($_POST) && (isset($_POST[\'cmdweblogin\']) || isset($_POST[\'cmdweblogin_x\']));\n$txtPwdRem 		= isset($_REQUEST[\'txtpwdrem\'])? $_REQUEST[\'txtpwdrem\']: 0;\n$isPWDReminder	= $isPostBack && $txtPwdRem==\'1\' ? 1:0;\n\n$site_id = isset($site_id)? $site_id: \'\';\n$cookieKey = substr(md5($site_id.\"Web-User\"),0,15);\n\n# Start processing\ninclude_once $snipPath.\"weblogin/weblogin.common.inc.php\";\ninclude_once ($modx->config[\'base_path\'] . \"manager/includes/crypt.class.inc.php\");\n\nif ($isPWDActivate || $isPWDReminder || $isLogOut || $isPostBack) {\n	# include the logger class\n	include_once $modx->config[\'base_path\'] . \"manager/includes/log.class.inc.php\";\n	include_once $snipPath.\"weblogin/weblogin.processor.inc.php\";\n}\n\ninclude_once $snipPath.\"weblogin/weblogin.inc.php\";\n\n# Return\nreturn $output;\n',0,'&loginhomeid=Login Home Id;string; &logouthomeid=Logout Home Id;string; &logintext=Login Button Text;string; &logouttext=Logout Button Text;string; &tpl=Template;string;',''),(15,'WebSignup','<strong>1.1</strong> Basic Web User account creation/signup system',0,2,0,'# Created By Raymond Irving April, 2005\n#::::::::::::::::::::::::::::::::::::::::\n# Usage:     \n#    Allows a web user to signup for a new web account from the website\n#    This snippet provides a basic set of form fields for the signup form\n#    You can customize this snippet to create your own signup form\n#\n# Params:    \n#\n#    &tpl        - (Optional) Chunk name or document id to use as a template\n#    &groups     - Web users groups to be assigned to users\n#    &useCaptcha - (Optional) Determine to use (1) or not to use (0) captcha\n#                  on signup form - if not defined, will default to system\n#                  setting. GD is required for this feature. If GD is not \n#                  available, useCaptcha will automatically be set to false;\n#                  \n#    Note: Templats design:\n#        section 1: signup template\n#        section 2: notification template \n#\n# Examples:\n#\n#    [[WebSignup? &tpl=`SignupForm` &groups=`NewsReaders,WebUsers`]] \n\n# Set Snippet Paths \n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\n\n# check if inside manager\nif ($m = $modx->insideManager()) {\n    return \'\'; # don\'t go any further when inside manager\n}\n\n\n# Snippet customize settings\n$tpl = isset($tpl)? $tpl:\"\";\n$useCaptcha = isset($useCaptcha)? $useCaptcha : $modx->config[\'use_captcha\'] ;\n// Override captcha if no GD\nif ($useCaptcha && !gd_info()) $useCaptcha = 0;\n\n# setup web groups\n$groups = isset($groups) ? explode(\',\',$groups):array();\nfor($i=0;$i<count($groups);$i++) $groups[$i] = trim($groups[$i]);\n\n# System settings\n$isPostBack        = count($_POST) && isset($_POST[\'cmdwebsignup\']);\n\n$output = \'\';\n\n# Start processing\ninclude_once $snipPath.\"weblogin/weblogin.common.inc.php\";\ninclude_once $snipPath.\"weblogin/websignup.inc.php\";\n\n# Return\nreturn $output;',0,'&tpl=Template;string;','');

--
-- Table structure for table `modx_site_templates`
--

CREATE TABLE `modx_site_templates` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `templatename` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT 'Template',
  `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  `icon` varchar(255) NOT NULL DEFAULT '' COMMENT 'url to icon file',
  `template_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-page,1-content',
  `content` mediumtext,
  `locked` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1 COMMENT='Contains the site templates.';

--
-- Dumping data for table `modx_site_templates`
--

INSERT INTO `modx_site_templates` VALUES (3,'Minimal Template','Default minimal empty template (content returned only)',0,0,'',0,'[*content*]',0),(4,'QA4Animals Main','Primary Template',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\">\r\n<base href=\"http://www.qwickaid4animals.com\" />\r\n<title>[*longtitle*]</title>\r\n<meta name=\"description\" content=\"[*introtext*]\">\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/templates/css/qwik_css2.css\">\r\n<!-- jQuery library -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.js\"></script>\r\n<!-- end of jQuery library -->\r\n\r\n<!-- jCarousel script (clients slider) -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.jcarousel.pack.js\"></script>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/js/jquery.jcarousel.css\">\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/templages/css/clients_slider.css\">\r\n<script type=\"text/javascript\">\r\njQuery(document).ready(function() {\r\n    jQuery(\'#mycarousel\').jcarousel();\r\n});\r\n</script>\r\n<!-- ends of jCarousel scripts -->\r\n\r\n<!-- Cycle jquery plugin (Featured fader) -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.cycle.all.js\"></script>\r\n<script type=\"text/javascript\">\r\n$(document).ready(function() {\r\n    $(\'.slideshow\').cycle({\r\n		fx: \'fade\' // choose your transition type, ex: fade, scrollUp, shuffle, etc...\r\n	});\r\n});\r\n</script>\r\n<!-- end of Cycle plugin -->\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\">\r\n<div id=\"header\"> \r\n<table width=\"100%\" height=\"90px\">\r\n<tr><td valign=\"bottom\" align=\"right\">\r\n<div style=\"float: right; margin-right: 45px; margin-bottom: 15px; font-size: 11px; vertical-align: top\"><a href=\"https://www.yesskincare.com/qa-cart.html\" title=\"secure shopping cart\"><img src=\"assets/images/cart-icon.gif\" border=\"0\">Shopping Cart</a></div>\r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div class=\"menu\">\r\n[[Wayfinder? &startId=`0` &outerTpl=`fixedUL` &rowTpl=`row`]]\r\n</div> \r\n\r\n\r\n [*#content*] \r\n\r\n\r\n<div id=\"footer\">\r\n<div style=\"float: left; width:15%\">&copy; Qwick-AID<sup>&reg;</sup></div>\r\n<div stlye=\"float: left; width: 40%\">\r\n<ul class=\"topnav\">\r\n<li><a href=\"[~1~]\" title=\"Hemostatic Bandages for Animals\" >Home</a></li>\r\n<li><a href=\"[~7~]\" title=\"Contact us\" >Contact Us</a></li>\r\n<li><a href=\"[~10~]\" title=\"Qwick-AID respects your privacy\">Privacy Policy</a></li>\r\n<li class=\"last\"><a href=\"http://www.qwickaid.com\" title=\"Hemostatic Bandages\" >Qwick-AID Home Page</a></li>\r\n</ul>\r\n</div>\r\n</div><!-- end footer -->\r\n\r\n</div> <!-- end container -->\r\n</body>\r\n</html>',0),(6,'QA4Animals Blog','For blog posts',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\">\r\n<base href=\"http://www.qwickaid4animals.com\" />\r\n\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/templates/css/qwik_css2.css\">\r\n<title>[*longtitle*]</title>\r\n<meta name=\"description\" content=\"Introduction to QwickAid 4 Animals\">\r\n\r\n<!-- jQuery library -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.js\"></script>\r\n<!-- end of jQuery library -->\r\n\r\n<!-- jCarousel script (clients slider) -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.jcarousel.pack.js\"></script>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/js/jquery.jcarousel.css\">\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/templages/css/clients_slider.css\">\r\n<script type=\"text/javascript\">\r\njQuery(document).ready(function() {\r\n    jQuery(\'#mycarousel\').jcarousel();\r\n});\r\n</script>\r\n<!-- ends of jCarousel scripts -->\r\n\r\n<!-- Cycle jquery plugin (Featured fader) -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.cycle.all.js\"></script>\r\n<script type=\"text/javascript\">\r\n$(document).ready(function() {\r\n    $(\'.slideshow\').cycle({\r\n		fx: \'fade\' // choose your transition type, ex: fade, scrollUp, shuffle, etc...\r\n	});\r\n});\r\n</script>\r\n<!-- end of Cycle plugin -->\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\">\r\n<div id=\"header\"> \r\n<table width=\"100%\" height=\"90px\">\r\n<tr><td valign=\"bottom\" align=\"right\">\r\n<div style=\"float: right; margin-right: 45px; margin-bottom: 15px; font-size: 11px; vertical-align: top\"><a href=\"index.php?id=151\" title=\"secure shopping cart\"><img src=\"assets/images/cart-icon.gif\" border=\"0\">Shopping Cart</a></div>\r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div class=\"menu\">\r\n[[Wayfinder? &startId=`0` &outerTpl=`fixedUL` &rowTpl=`row`]]\r\n</div> \r\n\r\n<div id=\"fullcontent\">\r\n<h3>[*pagetitle*]</h3>\r\n [*#content*] \r\n[[Jot? &placeholders=`1` &output=`0` &action=`default` &pagination=`10` &sortby=`createdon:a` &bw=`2` &badwords=`shit,fuck,ass,asshole,bitch,cunt,cock,cocksucker` ]]\r\n</div>\r\n<div id=\"footer\">\r\n<div style=\"float: left; width:15%\">&copy; Qwick-AID<sup>&reg;</sup></div>\r\n<div stlye=\"float: left; width: 40%\">\r\n<ul class=\"topnav\">\r\n<li><a href=\"[~1~]\" title=\"Hemostatic Bandages for Animals\" >Home</a></li>\r\n<li><a href=\"[~7~]\" title=\"Contact us\" >Contact Us</a></li>\r\n<li><a href=\"[~10~]\" title=\"Qwick-AID respects your privacy\">Privacy Policy</a></li>\r\n<li class=\"last\"><a href=\"http://www.qwickaid.com\" title=\"Hemostatic Bandages\" >Qwick-AID Home Page</a></li>\r\n</ul>\r\n</div>\r\n</div><!-- end footer -->\r\n\r\n</div> <!-- end container -->\r\n</body>\r\n</html>',0);

--
-- Table structure for table `modx_site_tmplvar_access`
--

CREATE TABLE `modx_site_tmplvar_access` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `tmplvarid` int(10) NOT NULL DEFAULT '0',
  `documentgroup` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for template variable access permissions.';

--
-- Dumping data for table `modx_site_tmplvar_access`
--


--
-- Table structure for table `modx_site_tmplvar_contentvalues`
--

CREATE TABLE `modx_site_tmplvar_contentvalues` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tmplvarid` int(10) NOT NULL DEFAULT '0' COMMENT 'Template Variable id',
  `contentid` int(10) NOT NULL DEFAULT '0' COMMENT 'Site Content Id',
  `value` text,
  PRIMARY KEY (`id`),
  KEY `idx_tmplvarid` (`tmplvarid`),
  KEY `idx_id` (`contentid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Site Template Variables Content Values Link Table';

--
-- Dumping data for table `modx_site_tmplvar_contentvalues`
--


--
-- Table structure for table `modx_site_tmplvar_templates`
--

CREATE TABLE `modx_site_tmplvar_templates` (
  `tmplvarid` int(10) NOT NULL DEFAULT '0' COMMENT 'Template Variable id',
  `templateid` int(11) NOT NULL DEFAULT '0',
  `rank` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`tmplvarid`,`templateid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Site Template Variables Templates Link Table';

--
-- Dumping data for table `modx_site_tmplvar_templates`
--


--
-- Table structure for table `modx_site_tmplvars`
--

CREATE TABLE `modx_site_tmplvars` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(20) NOT NULL DEFAULT '',
  `name` varchar(50) NOT NULL DEFAULT '',
  `caption` varchar(80) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT '',
  `editor_type` int(11) NOT NULL DEFAULT '0' COMMENT '0-plain text,1-rich text,2-code editor',
  `category` int(11) NOT NULL DEFAULT '0' COMMENT 'category id',
  `locked` tinyint(4) NOT NULL DEFAULT '0',
  `elements` text,
  `rank` int(11) NOT NULL DEFAULT '0',
  `display` varchar(20) NOT NULL DEFAULT '' COMMENT 'Display Control',
  `display_params` text COMMENT 'Display Control Properties',
  `default_text` text,
  PRIMARY KEY (`id`),
  KEY `indx_rank` (`rank`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COMMENT='Site Template Variables';

--
-- Dumping data for table `modx_site_tmplvars`
--

INSERT INTO `modx_site_tmplvars` VALUES (1,'richtext','blogContent','blogContent','RTE for the new blog entries',0,1,0,'',0,'RichText','&w=383px&h=450px&edt=TinyMCE',''),(2,'text','documentTags','Tags','Space delimited tags for the current document',0,1,0,'',0,'','',''),(3,'text','loginName','loginName','Conditional name for the Login menu item',0,1,0,'',0,'','','@EVAL if ($modx->getLoginUserID()) return \'Logout\'; else return \'Login\';');

--
-- Table structure for table `modx_system_eventnames`
--

CREATE TABLE `modx_system_eventnames` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `service` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'System Service number',
  `groupname` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1001 DEFAULT CHARSET=latin1 COMMENT='System Event Names.';

--
-- Dumping data for table `modx_system_eventnames`
--

INSERT INTO `modx_system_eventnames` VALUES (1,'OnDocPublished',5,''),(2,'OnDocUnPublished',5,''),(3,'OnWebPagePrerender',5,''),(4,'OnWebLogin',3,''),(5,'OnBeforeWebLogout',3,''),(6,'OnWebLogout',3,''),(7,'OnWebSaveUser',3,''),(8,'OnWebDeleteUser',3,''),(9,'OnWebChangePassword',3,''),(10,'OnWebCreateGroup',3,''),(11,'OnManagerLogin',2,''),(12,'OnBeforeManagerLogout',2,''),(13,'OnManagerLogout',2,''),(14,'OnManagerSaveUser',2,''),(15,'OnManagerDeleteUser',2,''),(16,'OnManagerChangePassword',2,''),(17,'OnManagerCreateGroup',2,''),(18,'OnBeforeCacheUpdate',4,''),(19,'OnCacheUpdate',4,''),(20,'OnLoadWebPageCache',4,''),(21,'OnBeforeSaveWebPageCache',4,''),(22,'OnChunkFormPrerender',1,'Chunks'),(23,'OnChunkFormRender',1,'Chunks'),(24,'OnBeforeChunkFormSave',1,'Chunks'),(25,'OnChunkFormSave',1,'Chunks'),(26,'OnBeforeChunkFormDelete',1,'Chunks'),(27,'OnChunkFormDelete',1,'Chunks'),(28,'OnDocFormPrerender',1,'Documents'),(29,'OnDocFormRender',1,'Documents'),(30,'OnBeforeDocFormSave',1,'Documents'),(31,'OnDocFormSave',1,'Documents'),(32,'OnBeforeDocFormDelete',1,'Documents'),(33,'OnDocFormDelete',1,'Documents'),(34,'OnPluginFormPrerender',1,'Plugins'),(35,'OnPluginFormRender',1,'Plugins'),(36,'OnBeforePluginFormSave',1,'Plugins'),(37,'OnPluginFormSave',1,'Plugins'),(38,'OnBeforePluginFormDelete',1,'Plugins'),(39,'OnPluginFormDelete',1,'Plugins'),(40,'OnSnipFormPrerender',1,'Snippets'),(41,'OnSnipFormRender',1,'Snippets'),(42,'OnBeforeSnipFormSave',1,'Snippets'),(43,'OnSnipFormSave',1,'Snippets'),(44,'OnBeforeSnipFormDelete',1,'Snippets'),(45,'OnSnipFormDelete',1,'Snippets'),(46,'OnTempFormPrerender',1,'Templates'),(47,'OnTempFormRender',1,'Templates'),(48,'OnBeforeTempFormSave',1,'Templates'),(49,'OnTempFormSave',1,'Templates'),(50,'OnBeforeTempFormDelete',1,'Templates'),(51,'OnTempFormDelete',1,'Templates'),(52,'OnTVFormPrerender',1,'Template Variables'),(53,'OnTVFormRender',1,'Template Variables'),(54,'OnBeforeTVFormSave',1,'Template Variables'),(55,'OnTVFormSave',1,'Template Variables'),(56,'OnBeforeTVFormDelete',1,'Template Variables'),(57,'OnTVFormDelete',1,'Template Variables'),(58,'OnUserFormPrerender',1,'Users'),(59,'OnUserFormRender',1,'Users'),(60,'OnBeforeUserFormSave',1,'Users'),(61,'OnUserFormSave',1,'Users'),(62,'OnBeforeUserFormDelete',1,'Users'),(63,'OnUserFormDelete',1,'Users'),(64,'OnWUsrFormPrerender',1,'Web Users'),(65,'OnWUsrFormRender',1,'Web Users'),(66,'OnBeforeWUsrFormSave',1,'Web Users'),(67,'OnWUsrFormSave',1,'Web Users'),(68,'OnBeforeWUsrFormDelete',1,'Web Users'),(69,'OnWUsrFormDelete',1,'Web Users'),(70,'OnSiteRefresh',1,''),(71,'OnFileManagerUpload',1,''),(72,'OnModFormPrerender',1,'Modules'),(73,'OnModFormRender',1,'Modules'),(74,'OnBeforeModFormDelete',1,'Modules'),(75,'OnModFormDelete',1,'Modules'),(76,'OnBeforeModFormSave',1,'Modules'),(77,'OnModFormSave',1,'Modules'),(78,'OnBeforeWebLogin',3,''),(79,'OnWebAuthentication',3,''),(80,'OnBeforeManagerLogin',2,''),(81,'OnManagerAuthentication',2,''),(82,'OnSiteSettingsRender',1,'System Settings'),(83,'OnFriendlyURLSettingsRender',1,'System Settings'),(84,'OnUserSettingsRender',1,'System Settings'),(85,'OnInterfaceSettingsRender',1,'System Settings'),(86,'OnMiscSettingsRender',1,'System Settings'),(87,'OnRichTextEditorRegister',1,'RichText Editor'),(88,'OnRichTextEditorInit',1,'RichText Editor'),(89,'OnManagerPageInit',2,''),(90,'OnWebPageInit',5,''),(91,'OnLoadWebDocument',5,''),(92,'OnParseDocument',5,''),(93,'OnManagerLoginFormRender',2,''),(94,'OnWebPageComplete',5,''),(95,'OnLogPageHit',5,''),(96,'OnBeforeManagerPageInit',2,''),(97,'OnBeforeEmptyTrash',1,'Documents'),(98,'OnEmptyTrash',1,'Documents'),(99,'OnManagerLoginFormPrerender',2,''),(100,'OnStripAlias',1,'Documents'),(200,'OnCreateDocGroup',1,'Documents'),(201,'OnManagerWelcomePrerender',2,''),(202,'OnManagerWelcomeHome',2,''),(203,'OnManagerWelcomeRender',2,''),(204,'OnBeforeDocDuplicate',1,'Documents'),(205,'OnDocDuplicate',1,'Documents'),(206,'OnManagerMainFrameHeaderHTMLBlock',2,''),(999,'OnPageUnauthorized',1,''),(1000,'OnPageNotFound',1,'');

--
-- Table structure for table `modx_system_settings`
--

CREATE TABLE `modx_system_settings` (
  `setting_name` varchar(50) NOT NULL DEFAULT '',
  `setting_value` text,
  UNIQUE KEY `setting_name` (`setting_name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains Content Manager settings.';

--
-- Dumping data for table `modx_system_settings`
--

INSERT INTO `modx_system_settings` VALUES ('manager_theme','MODxCarbon'),('settings_version','1.0.5'),('show_meta','0'),('server_offset_time','0'),('server_protocol','http'),('manager_language','english'),('modx_charset','UTF-8'),('site_name','Qwick Aid for Animals'),('site_start','1'),('error_page','1'),('unauthorized_page','1'),('site_status','1'),('site_unavailable_message','The site is currently unavailable'),('track_visitors','0'),('top_howmany','10'),('auto_template_logic','parent'),('default_template','4'),('old_template','3'),('publish_default','1'),('cache_default','0'),('search_default','1'),('friendly_urls','1'),('friendly_url_prefix',''),('friendly_url_suffix','.html'),('friendly_alias_urls','1'),('use_alias_path','0'),('use_udperms','1'),('udperms_allowroot','0'),('failed_login_attempts','5'),('blocked_minutes','15'),('use_captcha','0'),('captcha_words','MODx,Access,Better,BitCode,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Tattoo,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote'),('emailsender','mark@yesskincare.com'),('emailsubject','Your login details'),('number_of_logs','100'),('number_of_messages','30'),('number_of_results','20'),('use_editor','1'),('use_browser','1'),('rb_base_dir','/home2/yesskinc/public_html/qwick4an/assets/'),('rb_base_url','assets/'),('which_editor','none'),('fe_editor_lang','english'),('fck_editor_toolbar','standard'),('fck_editor_autolang','0'),('editor_css_path',''),('editor_css_selectors',''),('strip_image_paths','1'),('upload_images','bmp,ico,gif,jpeg,jpg,png,psd,tif,tiff'),('upload_media','au,avi,mp3,mp4,mpeg,mpg,wav,wmv'),('upload_flash','fla,flv,swf'),('upload_files','aac,au,avi,css,cache,doc,docx,gz,gzip,htaccess,htm,html,js,mp3,mp4,mpeg,mpg,ods,odp,odt,pdf,ppt,pptx,rar,tar,tgz,txt,wav,wmv,xls,xlsx,xml,z,zip'),('upload_maxsize','1048576'),('new_file_permissions','0644'),('new_folder_permissions','0755'),('filemanager_path','/home2/yesskinc/public_html/qwick4an/'),('theme_refresher',''),('manager_layout','4'),('custom_contenttype','application/rss+xml,application/pdf,application/vnd.ms-word,application/vnd.ms-excel,text/html,text/css,text/xml,text/javascript,text/plain'),('auto_menuindex','1'),('session.cookie.lifetime','604800'),('mail_check_timeperiod','60'),('manager_direction','ltr'),('tinymce_editor_theme','editor'),('tinymce_custom_plugins','style,advimage,advlink,searchreplace,print,contextmenu,paste,fullscreen,nonbreaking,xhtmlxtras,visualchars,media'),('tinymce_custom_buttons1','undo,redo,selectall,separator,pastetext,pasteword,separator,search,replace,separator,nonbreaking,hr,charmap,separator,image,link,unlink,anchor,media,separator,cleanup,removeformat,separator,fullscreen,print,code,help'),('tinymce_custom_buttons2','bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,separator,styleprops'),('tree_show_protected','0'),('rss_url_news','http://feeds.feedburner.com/modx-announce'),('rss_url_security','http://feeds.feedburner.com/modxsecurity'),('validate_referer','1'),('datepicker_offset','-10'),('xhtml_urls','1'),('allow_duplicate_alias','0'),('automatic_alias','1'),('datetime_format','dd-mm-YYYY'),('warning_visibility','1'),('remember_last_tab','0'),('site_id','4e469970582c0'),('site_unavailable_page',''),('reload_site_unavailable',''),('siteunavailable_message_default','The site is currently unavailable.'),('reload_captcha_words',''),('captcha_words_default','MODx,Access,Better,BitCode,Chunk,Cache,Desc,Design,Excell,Enjoy,URLs,TechView,Gerald,Griff,Humphrey,Holiday,Intel,Integration,Joystick,Join(),Oscope,Genetic,Light,Likeness,Marit,Maaike,Niche,Netherlands,Ordinance,Oscillo,Parser,Phusion,Query,Question,Regalia,Righteous,Snippet,Sentinel,Template,Thespian,Unity,Enterprise,Verily,Tattoo,Veri,Website,WideWeb,Yap,Yellow,Zebra,Zygote'),('reload_emailsubject',''),('emailsubject_default','Your login details'),('reload_signupemail_message',''),('signupemail_message','Hello [+uid+] \r\n\r\nHere are your login details for [+sname+] Content Manager:\r\n\r\nUsername: [+uid+]\r\nPassword: [+pwd+]\r\n\r\nOnce you log into the Content Manager ([+surl+]), you can change your password.\r\n\r\nRegards,\r\nSite Administrator'),('system_email_signup_default','Hello [+uid+] \r\n\r\nHere are your login details for [+sname+] Content Manager:\r\n\r\nUsername: [+uid+]\r\nPassword: [+pwd+]\r\n\r\nOnce you log into the Content Manager ([+surl+]), you can change your password.\r\n\r\nRegards,\r\nSite Administrator'),('reload_websignupemail_message',''),('websignupemail_message','Hello [+uid+]\r\n\r\nHere are your login details for [+sname+]:\r\n\r\nUsername: [+uid+]\r\nPassword: [+pwd+]\r\n\r\nOnce you log into [+sname+] ([+surl+]), you can change your password.\r\n\r\nRegards,\r\nSite Administrator'),('system_email_websignup_default','Hello [+uid+]\r\n\r\nHere are your login details for [+sname+]:\r\n\r\nUsername: [+uid+]\r\nPassword: [+pwd+]\r\n\r\nOnce you log into [+sname+] ([+surl+]), you can change your password.\r\n\r\nRegards,\r\nSite Administrator'),('reload_system_email_webreminder_message',''),('webpwdreminder_message','Hello [+uid+]\r\n\r\nTo activate your new password click the following link:\r\n\r\n[+surl+]\r\n\r\nIf successful you can use the following password to login:\r\n\r\nPassword:[+pwd+]\r\n\r\nIf you did not request this email then please ignore it.\r\n\r\nRegards,\r\nSite Administrator'),('system_email_webreminder_default','Hello [+uid+]\r\n\r\nTo activate your new password click the following link:\r\n\r\n[+surl+]\r\n\r\nIf successful you can use the following password to login:\r\n\r\nPassword:[+pwd+]\r\n\r\nIf you did not request this email then please ignore it.\r\n\r\nRegards,\r\nSite Administrator'),('tree_page_click','3'),('rb_webuser','0'),('clean_uploaded_filename','0'),('tinymce_custom_buttons3',''),('tinymce_custom_buttons4',''),('tinymce_css_selectors','');

--
-- Table structure for table `modx_user_attributes`
--

CREATE TABLE `modx_user_attributes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `internalKey` int(10) NOT NULL DEFAULT '0',
  `fullname` varchar(100) NOT NULL DEFAULT '',
  `role` int(10) NOT NULL DEFAULT '0',
  `email` varchar(100) NOT NULL DEFAULT '',
  `phone` varchar(100) NOT NULL DEFAULT '',
  `mobilephone` varchar(100) NOT NULL DEFAULT '',
  `blocked` int(1) NOT NULL DEFAULT '0',
  `blockeduntil` int(11) NOT NULL DEFAULT '0',
  `blockedafter` int(11) NOT NULL DEFAULT '0',
  `logincount` int(11) NOT NULL DEFAULT '0',
  `lastlogin` int(11) NOT NULL DEFAULT '0',
  `thislogin` int(11) NOT NULL DEFAULT '0',
  `failedlogincount` int(10) NOT NULL DEFAULT '0',
  `sessionid` varchar(100) NOT NULL DEFAULT '',
  `dob` int(10) NOT NULL DEFAULT '0',
  `gender` int(1) NOT NULL DEFAULT '0' COMMENT '0 - unknown, 1 - Male 2 - female',
  `country` varchar(5) NOT NULL DEFAULT '',
  `state` varchar(25) NOT NULL DEFAULT '',
  `zip` varchar(25) NOT NULL DEFAULT '',
  `fax` varchar(100) NOT NULL DEFAULT '',
  `photo` varchar(255) NOT NULL DEFAULT '' COMMENT 'link to photo',
  `comment` text,
  PRIMARY KEY (`id`),
  KEY `userid` (`internalKey`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='Contains information about the backend users.';

--
-- Dumping data for table `modx_user_attributes`
--

INSERT INTO `modx_user_attributes` VALUES (1,1,'Mark Thompson',1,'mark@yesskincare.com','','',0,0,0,21,1333674586,1333674869,0,'22e3b100a4a0ea28781fbd3b7b14a4a2',0,0,'','','','','','');

--
-- Table structure for table `modx_user_messages`
--

CREATE TABLE `modx_user_messages` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `type` varchar(15) NOT NULL DEFAULT '',
  `subject` varchar(60) NOT NULL DEFAULT '',
  `message` text,
  `sender` int(10) NOT NULL DEFAULT '0',
  `recipient` int(10) NOT NULL DEFAULT '0',
  `private` tinyint(4) NOT NULL DEFAULT '0',
  `postdate` int(20) NOT NULL DEFAULT '0',
  `messageread` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains messages for the Content Manager messaging system.';

--
-- Dumping data for table `modx_user_messages`
--


--
-- Table structure for table `modx_user_roles`
--

CREATE TABLE `modx_user_roles` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '',
  `description` varchar(255) NOT NULL DEFAULT '',
  `frames` int(1) NOT NULL DEFAULT '0',
  `home` int(1) NOT NULL DEFAULT '0',
  `view_document` int(1) NOT NULL DEFAULT '0',
  `new_document` int(1) NOT NULL DEFAULT '0',
  `save_document` int(1) NOT NULL DEFAULT '0',
  `publish_document` int(1) NOT NULL DEFAULT '0',
  `delete_document` int(1) NOT NULL DEFAULT '0',
  `empty_trash` int(1) NOT NULL DEFAULT '0',
  `action_ok` int(1) NOT NULL DEFAULT '0',
  `logout` int(1) NOT NULL DEFAULT '0',
  `help` int(1) NOT NULL DEFAULT '0',
  `messages` int(1) NOT NULL DEFAULT '0',
  `new_user` int(1) NOT NULL DEFAULT '0',
  `edit_user` int(1) NOT NULL DEFAULT '0',
  `logs` int(1) NOT NULL DEFAULT '0',
  `edit_parser` int(1) NOT NULL DEFAULT '0',
  `save_parser` int(1) NOT NULL DEFAULT '0',
  `edit_template` int(1) NOT NULL DEFAULT '0',
  `settings` int(1) NOT NULL DEFAULT '0',
  `credits` int(1) NOT NULL DEFAULT '0',
  `new_template` int(1) NOT NULL DEFAULT '0',
  `save_template` int(1) NOT NULL DEFAULT '0',
  `delete_template` int(1) NOT NULL DEFAULT '0',
  `edit_snippet` int(1) NOT NULL DEFAULT '0',
  `new_snippet` int(1) NOT NULL DEFAULT '0',
  `save_snippet` int(1) NOT NULL DEFAULT '0',
  `delete_snippet` int(1) NOT NULL DEFAULT '0',
  `edit_chunk` int(1) NOT NULL DEFAULT '0',
  `new_chunk` int(1) NOT NULL DEFAULT '0',
  `save_chunk` int(1) NOT NULL DEFAULT '0',
  `delete_chunk` int(1) NOT NULL DEFAULT '0',
  `empty_cache` int(1) NOT NULL DEFAULT '0',
  `edit_document` int(1) NOT NULL DEFAULT '0',
  `change_password` int(1) NOT NULL DEFAULT '0',
  `error_dialog` int(1) NOT NULL DEFAULT '0',
  `about` int(1) NOT NULL DEFAULT '0',
  `file_manager` int(1) NOT NULL DEFAULT '0',
  `save_user` int(1) NOT NULL DEFAULT '0',
  `delete_user` int(1) NOT NULL DEFAULT '0',
  `save_password` int(11) NOT NULL DEFAULT '0',
  `edit_role` int(1) NOT NULL DEFAULT '0',
  `save_role` int(1) NOT NULL DEFAULT '0',
  `delete_role` int(1) NOT NULL DEFAULT '0',
  `new_role` int(1) NOT NULL DEFAULT '0',
  `access_permissions` int(1) NOT NULL DEFAULT '0',
  `bk_manager` int(1) NOT NULL DEFAULT '0',
  `new_plugin` int(1) NOT NULL DEFAULT '0',
  `edit_plugin` int(1) NOT NULL DEFAULT '0',
  `save_plugin` int(1) NOT NULL DEFAULT '0',
  `delete_plugin` int(1) NOT NULL DEFAULT '0',
  `new_module` int(1) NOT NULL DEFAULT '0',
  `edit_module` int(1) NOT NULL DEFAULT '0',
  `save_module` int(1) NOT NULL DEFAULT '0',
  `delete_module` int(1) NOT NULL DEFAULT '0',
  `exec_module` int(1) NOT NULL DEFAULT '0',
  `view_eventlog` int(1) NOT NULL DEFAULT '0',
  `delete_eventlog` int(1) NOT NULL DEFAULT '0',
  `manage_metatags` int(1) NOT NULL DEFAULT '0' COMMENT 'manage site meta tags and keywords',
  `edit_doc_metatags` int(1) NOT NULL DEFAULT '0' COMMENT 'edit document meta tags and keywords',
  `new_web_user` int(1) NOT NULL DEFAULT '0',
  `edit_web_user` int(1) NOT NULL DEFAULT '0',
  `save_web_user` int(1) NOT NULL DEFAULT '0',
  `delete_web_user` int(1) NOT NULL DEFAULT '0',
  `web_access_permissions` int(1) NOT NULL DEFAULT '0',
  `view_unpublished` int(1) NOT NULL DEFAULT '0',
  `import_static` int(1) NOT NULL DEFAULT '0',
  `export_static` int(1) NOT NULL DEFAULT '0',
  `remove_locks` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COMMENT='Contains information describing the user roles.';

--
-- Dumping data for table `modx_user_roles`
--

INSERT INTO `modx_user_roles` VALUES (2,'Editor','Limited to managing content',1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,1),(3,'Publisher','Editor with expanded permissions including manage users, update Elements and site settings',1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,1,0,1,0,0,1),(1,'Administrator','Site administrators have full access to all functions',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);

--
-- Table structure for table `modx_user_settings`
--

CREATE TABLE `modx_user_settings` (
  `user` int(11) NOT NULL DEFAULT '0',
  `setting_name` varchar(50) NOT NULL DEFAULT '',
  `setting_value` text,
  KEY `setting_name` (`setting_name`),
  KEY `user` (`user`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains backend user settings.';

--
-- Dumping data for table `modx_user_settings`
--

INSERT INTO `modx_user_settings` VALUES (1,'manager_language','english'),(1,'allow_manager_access','1');

--
-- Table structure for table `modx_web_groups`
--

CREATE TABLE `modx_web_groups` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `webgroup` int(10) NOT NULL DEFAULT '0',
  `webuser` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `ix_group_user` (`webgroup`,`webuser`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for web access permissions.';

--
-- Dumping data for table `modx_web_groups`
--


--
-- Table structure for table `modx_web_user_attributes`
--

CREATE TABLE `modx_web_user_attributes` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `internalKey` int(10) NOT NULL DEFAULT '0',
  `fullname` varchar(100) NOT NULL DEFAULT '',
  `role` int(10) NOT NULL DEFAULT '0',
  `email` varchar(100) NOT NULL DEFAULT '',
  `phone` varchar(100) NOT NULL DEFAULT '',
  `mobilephone` varchar(100) NOT NULL DEFAULT '',
  `blocked` int(1) NOT NULL DEFAULT '0',
  `blockeduntil` int(11) NOT NULL DEFAULT '0',
  `blockedafter` int(11) NOT NULL DEFAULT '0',
  `logincount` int(11) NOT NULL DEFAULT '0',
  `lastlogin` int(11) NOT NULL DEFAULT '0',
  `thislogin` int(11) NOT NULL DEFAULT '0',
  `failedlogincount` int(10) NOT NULL DEFAULT '0',
  `sessionid` varchar(100) NOT NULL DEFAULT '',
  `dob` int(10) NOT NULL DEFAULT '0',
  `gender` int(1) NOT NULL DEFAULT '0' COMMENT '0 - unknown, 1 - Male 2 - female',
  `country` varchar(5) NOT NULL DEFAULT '',
  `state` varchar(25) NOT NULL DEFAULT '',
  `zip` varchar(25) NOT NULL DEFAULT '',
  `fax` varchar(100) NOT NULL DEFAULT '',
  `photo` varchar(255) NOT NULL DEFAULT '' COMMENT 'link to photo',
  `comment` text,
  PRIMARY KEY (`id`),
  KEY `userid` (`internalKey`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='Contains information for web users.';

--
-- Dumping data for table `modx_web_user_attributes`
--

INSERT INTO `modx_web_user_attributes` VALUES (1,1,'Linda Eastwood',0,'le707@cox.net','','',0,0,0,0,0,0,0,'',0,0,'223','CA','92629','','',NULL);

--
-- Table structure for table `modx_web_user_settings`
--

CREATE TABLE `modx_web_user_settings` (
  `webuser` int(11) NOT NULL DEFAULT '0',
  `setting_name` varchar(50) NOT NULL DEFAULT '',
  `setting_value` text,
  KEY `setting_name` (`setting_name`),
  KEY `webuserid` (`webuser`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains web user settings.';

--
-- Dumping data for table `modx_web_user_settings`
--


--
-- Table structure for table `modx_web_users`
--



--
-- Dumping data for table `modx_web_users`
--

INSERT INTO `modx_web_users` VALUES (1,'LindaE','57f35cdcace50ceeedda5a535d3369a4','');

--
-- Table structure for table `modx_webgroup_access`
--

CREATE TABLE `modx_webgroup_access` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `webgroup` int(10) NOT NULL DEFAULT '0',
  `documentgroup` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for web access permissions.';

--
-- Dumping data for table `modx_webgroup_access`
--


--
-- Table structure for table `modx_webgroup_names`
--

CREATE TABLE `modx_webgroup_names` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Contains data used for web access permissions.';

--
-- Dumping data for table `modx_webgroup_names`
--



