-- 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=3 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'),(2,'le707','14309ed404e29442771ffd15608b6a30');

--
-- 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_shipping_zone_price`
--

CREATE TABLE `modx_shipping_zone_price` (
  `id` int(1) NOT NULL AUTO_INCREMENT,
  `zone_price_status` char(1) NOT NULL DEFAULT '',
  `price` varchar(10) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modx_shipping_zone_price`
--

INSERT INTO `modx_shipping_zone_price` VALUES (1,'1','9.99');

--
-- 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=59 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','Products','Anti-Aging Serum & Rejuvenating Skin Cream - Beauty Regimen','','products','',1,0,0,0,1,'','<h2 class=\"gray\" style=\"text-align: center;\">\r\n<img class=\"left\" src=\"assets/images/bio-chem.jpg\" alt=\"All botanical formula\" />Science Backed . . . . Clinically Proven<br />\r\nDermatologist Recommended<br />\r\nGreat for all skin types</h2>\r\n<h3 style=\"text-align: center;\">CP-24 Complex&reg; is clinically proven to increase<br />\r\ncellular regeneration by 250% within 24 hours!</h3>\r\n<p><strong>Y.E.S. Skincare\'s </strong>breakthrough formula stimulates skin cell renewal bringing younger cells to the surface; regenerating and firming your skin.</p>\r\n<p>CP24-Complex is a breakthrough in essential skin care; utilizing organic plant cultures to maintain and enhance the function of skin stem cells. Y.E.S. Skincare\'s proprietary formula targets the skin cells that are responsible for the rejuvenation of the skin; decreasing visible wrinkles and stimulating dormant stem cells &ndash; creating younger, fresher-looking skin. </p>\r\n\r\n<p>The skin stem cells at the epidermal-dermal junction in your skin determine the longevity of the skin cells. Our new plant stem cell technology,  <strong>CP24-Complex&reg;</strong>, activates and protects these skin stem cells while delaying terminal aging of skin cells at the surface. </p>\r\n\r\n<p>CP24-Complex&reg; is combined with powerful anti-oxidants, amino acids and organic botanicals that are essential to your skin. The result is dramatically healthier skin which then minimizes the visibility of deep wrinkles and lines, improves the texture, smoothes and firms your skin. </p>\r\n\r\n<p>Using the combination of Y.E.S. Anti-Aging serum along with the Y.E.S. Rejuvenating Moisture Cream daily both morning and evening will provide all the nutrients your skin needs to maintain a healthy, youthful glow.<strong></strong></p>\r\n<br clear=\"all\" />\r\n<h3>What the pro\'s say:</h3>\r\n<p><strong>Beauty Expert, Anastasia Papaionou Bella Online &ndash; The Voice of Women &ldquo;This is a moisturizer unlike any I have tried.&nbsp; </strong>It smells like cake and has a gel like consistency. Like the serum, a little moisturizer goes a long way.&nbsp; I liked the way it made my skin feel and noticed that it stayed hydrated throughout the day.&nbsp; After a month of using these products I did notice my skin looked a lot brighter.&nbsp; I also noticed that they lines around my mouth seemed less noticeable and my skin felt soft and smooth.<br />\r\n  <br />\r\n<strong>Beauty Editor at Barefoot Mommies.com</strong> - &ldquo;This has got to be the BEST moisturizer I have ever tried on my face! Sometimes you add moisturizer and your face feels like you just applied a bunch of makeup to it because it feels so heavy. Y.E.S. Rejuvenating Moisture Cream is LIGHT; a little goes a long way! You can really tell it&rsquo;s evening out my skin tone.<br />\r\n<br />\r\nI am 30, quite young I am always told . . . . But my skin doesn&rsquo;t feel so young! I never cared for my skin when I was younger and now you can see the damage! Sun damage,  I was never one to wear a sun block! My skin tone is un-even, but let me tell you . . . . With Y.E.S. my skin is looking BEAUTIFUL and young again, like it&rsquo;s supposed to! <br />\r\n<br />\r\nI am honestly amazed by these products, and the Y.E.S. Anti-aging Serum is no different. This as well is a little goes a LONG way and your skin, OMG will feel so soft and silky! It will leave you looking FLAWLESS!<br />\r\nDon\'t we all need flawless skin?? . . . or at least WANT flawless skin? <strong>Ladies, I&rsquo;m telling you these products are amazing!\"</strong></p>\r\n<p><br />\r\n\"I have been using this skin care faithfully since June and can honestly say it works and may indeed be the fountain of youth in a jar! It&rsquo;s appropriately called, Y.E.S. Even my facialist noticed the difference when she saw me 3 weeks after starting the regimen.\"&nbsp;<em>&nbsp;</em><strong>- Patti Covello, Beauty Expert featured on Rick Dees in the Morning 93.9 FM</strong> <br />\r\n<br />\r\n\"Younger looking skin, smoother texture, more confidence and less time required to get ready for the day! I experienced the Y.E.S. skincare and really enjoyed the smooth texture, easy slip, gentle scent of botanicals and absorption that was quick and silky into my skin.  <br />\r\n<br />\r\n<br />Sooooo....from my opinion, the duo is worth a try and you and you can help others while helping yourself, Angel Faces a charity that helps women with severe facial disfigurements. For more information or to purchase YES and have it support Angel Faces, visit the link: <a href=\"http:/www.yesskincare.com/angel-face-partnership\">Angel Faces Charity</a><em>&nbsp;</em><strong> - Cherelynn Baker, Professional Makeup Artist &amp; Beauty Expert</strong>\r\n</p>\r\n<br clear=\"all\" />\r\n<div class=\"two-third\">\r\n<img src=\"assets/images/serum-cream.jpg\" alt=\"Anti-Aging Beauty Regimen\" class=\"right-box\" />\r\n</div>\r\n<div class=\"one-third last\" style=\"padding-top: 30px\">\r\n<div id=\"offerbox\">\r\n<h2>Great for all skin types!</h2>\r\n<h4>Dermatologist Recommended!</h4>\r\n<h5>Anti-Aging Serum - 1 oz / 30 ml<br />\r\nRejuvenating Moisture Cream - 2 oz / 60 ml</h5>\r\n<p>Both are approximately a 60 day supply</p>\r\n\r\n[[product_buttons? &prodID=`4` &style=`buybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"disclaimer\">Special Price: $105.00 for both products<br />\r\nFlex pay: Two installments of $52.50 + S&amp;H</p>\r\n</div>\r\n</div>\r\n<div class=\"clear\"></div>\r\n{{social_footer}}',1,6,1,1,0,1,1130304721,1,1324338912,0,0,0,1130304721,1,'Products',1,0,0,0,0,0,0),(39,'document','text/html','Y.E.S. Skincare Product Ingredients','Y.E.S. Skincare Product Ingredients','','skincare-product-ingredients','',1,0,0,1,0,'YES Skincare products contain all natural ingredients and was engineered using non-controversial stem-cell science with botanical ingredients. The result is a highly effective treatment for reducing wrinkles, aging spots and early deterioration of skin cells. ','<h1>Y.E.S. Skincare Ingredients</h1>\r\n<div class=\"two-third\">\r\n<h2>Anti-Aging Serum</h2>\r\n<p><strong>CP24-Complex&trade;</strong> - is a proprietary formula that increases fibroblast growth improving damaged skin by 250% within 24 hours.  In combination with the most powerful anti-oxidants, amino acids and botanicals that are essential to your skin; it dramatically minimizes the visibility of deep wrinkles and lines, improves the texture, smoothes and firms the skin with regular use.</p>\r\n<p>When metabolic activity increases, cell respiration is stimulated the cells consume more oxygen.  CP24-Complex™ causes significant activity of the stimulation of human fibroblasts proliferation.  Its properties stabilize the skin pH by their buffer effect and reinforce the hydration of the epidermis.  Y.E.S. is highly hygroscopic; absorbing water from the air.</p>\r\n<p><strong>Glycosaminoglycans</strong> - GAGS, form an important component of connective tissue.  Ideal molecules for a lubricating fluid. Their rigidity provides structural integrity to the cells and provides passageways between cells allowing for cell migration. Hyalauronic acid is a specific GAG that displaces a large volume of water.</p>\r\n<p><strong>Algin (Sodium Alginate)</strong> - Algin is principally extracted from the giant kelp <em>Macrocystis pyrifera</em>. Multiple trace elements, such as iodine, become catalysts that allow an increase in the speed of biological reactions. The mineral salts, particularly magnesium, potassium, calcium and silicium act on the vitality of the cells by their ionic potential.  The essential amino acids are the reconstituting factors for tissues, reestablishing protein metabolism.  The polysaccharides represent the nutritive, hydrative; holding water and energetic contribution. </p>\r\n<p>Seaweed’s numerous vitamins (A, B1, B2, C, D, E, etc) form an essential complex for overcoming the smallest deficiency.  As for the various elements like enzymes, bacterial and antibiotic substances and vegetable hormones - they create many factors acting favorably on skin problems.</p>\r\n<p><em>Epidermal Detoxification</em> - Fresh cell-burst seaweed stimulates tissue metabolism, which is biologically activated by a heightened elimination of toxins.  It has a remarkable effect on the skin through its purification, normalization and revitalization.  The skin, when well nourished, detoxified, rebalanced and re-mineralized, suffers no deficiency and is therefore in the best possible condition for resisting all elements that could attack it.<br />\r\n  <br />\r\nThe increase in chlorophyll exchange improves the photosynthesis and assures better cell nutrition, compensating for biological ills caused by unbalanced nourishment.  The stimulants in the seaweed allow the skin to be nourished gently, through their role as deficiency protector.  They contain preventative elements to fight against eventual imbalances.  By stimulating the system’s defenses, they reinforce the skin, assuring healthier skin.</p>\r\n<p>Seaweed greatly influences cell multiplication because of its mass growth substances, such as vitamins, trace elements, increased chlorophyll syntheses and photosynthesis.</p>\r\n<p><strong>Shiitake - Lentinus edodes extract</strong> from the shiitake mushroom is known to have antimicrobial, antibacterial and medicinal properties. </p>\r\n<p>The natural shiitake complex stimulates cell renewal bringing younger cells to the surface; products that contain shiitake complex stimulates cell renewal for your specific skin, regenerating and firming.</p>\r\n<p><strong>Hydrolyzed Soy Protein</strong> - provides a smoothing effect and minimizes the appearance of roughness and wrinkles</p>\r\n<p><strong>Vit E Acetate</strong> - It is a great antioxidant for the skin; the skin is protected from harmful effects of sunlight when topically applied.</p>\r\n<p><strong>Retinyl Palmitate - Benefits</strong>: normalizes skin, help to keep skin soft and plump, vitamin A palmitate\'s stability is superior to retinol. Clinical results have shown that vitamin A palmitate increased significantly skin composition to increase collagen, DNA, skin thickness and elasticity. Vitamin A palmitate\'s stability is superior to retinol. Topical application of retinyl palmitate is the most sensible way for loading the skin with retinol (vitamin A). Cosmetic products containing retinyl palmitate are also more effective than those containing retinol. Furthermore, retinyl palmitate readily penetrates into the epidermis and dermis</p>\r\n<p><strong>Anise</strong>: Anise oil is a good antiseptic.  Antifungal</p>\r\n<p><strong>Organic Aloe Vera Leaf</strong> - natural source of beta-carotene, minerals, amino acids and the important antioxidant vitamins (A, C, E and B1, B2 and B3).</p>\r\n<p><strong>Vitamin C Ester</strong> (ascorbyl palmitate) - boosts protective antioxidant action and helps repair past damage by aiding new collagen production.  A scientifically advanced form of Vitamin C (created by adding a fatty acid from palm oil), with solubility that allows absorption to take place more easily than other forms of vitamin C.  This form of Vitamin C promotes collagen synthesis and has many antioxidant properties.</p>\r\n<p><strong>Tea Tree (Melaleuca Alternifolia)</strong> - The intrinsic anti-microbial activity of tea tree oil, in combination with the penetrating power of the oil, is believed to be responsible for the efficiency of this natural product. The oil has anti-infectious and anti-fungal properties as well as an immuno-stimulant effect, and these properties have been well researched and hundreds of clinical studies have verified the results obtained.  Due to its effectiveness in fighting bacteria and fungi, it is very effective in clearing problem skin conditions such as pimples, acne and rashes.</p>\r\n</div>\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<p><img src=\"assets/images/sb-serum-img.jpg\" alt=\"younger skin toner\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum</strong> - $60.00<br />\r\n1 oz / 30 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`1` &style=`prodbuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $30.00 + S&H</p>\r\n</div>\r\n<br clear=\"all\" />\r\n<div class=\"separator-line\" style=\"clear: both\"></div>\r\n\r\n<div id=\"productbox\">\r\n<p><img src=\"assets/images/sb-buy-both-img.jpg\" alt=\"perfect skincare regimen\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream</strong><br />\r\n<span class=\"offer-red\">Buy Both and Save $10.00!</span></p>\r\n<br clear=\"all\" />\r\n[[product_buttons? &prodID=`4` &style=`prodbuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Special Price: $105.00 for both products<br />\r\nFlex pay: Two installments of $52.50 + S&H</p>\r\n</div>\r\n</div>\r\n<div class=\"separator-line\" style=\"clear: both\"></div>\r\n\r\n<div class=\"two-third\">\r\n<h2>Rejuvenating Moisture Cream</h2>\r\n<p><strong>CP24-Complex&trade;</strong> - is a proprietary natural formula that increases fibroblast growth improving damaged skin by 250% within 24 hours.  In combination with the most powerful anti-oxidants, amino acids and botanicals that are essential to your skin; it dramatically minimizes the visibility of deep wrinkles and lines, improves the texture, smoothes and firms the skin with regular use.</p>\r\n<p><strong>When metabolic activity increases, cell respiration is stimulated the cells consume more oxygen.  CP24-Complex&trade; causes significant activity of the stimulation of human fibroblasts proliferation.  Its properties stabilize the skin pH by their buffer effect and reinforce the hydration of the epidermis.  Y.E.S. is highly hygroscopic; absorbing water from the air.</strong></p>\r\n<p><strong>Seabuckthorn Seed Oil</strong>- stimulates tissue regeneration and epithelial healing with analgesic and anti-inflammatory effect. The <strong>SBT Tocopherols</strong> and <strong>Tocotrienols</strong> are powerful anti-oxidants that protect against skin damage. The <strong>Sitosterol</strong> found in the <strong>Seabuckthorn Seed Oil</strong> improves micro-circulation in the skin.  Phospholipids form a protective film to prevent moisture loss and keep bacterial and fungal invaders at bay. Acts both as a moisture regulator and an anti-oxidant. </p>\r\n<p><strong>Seabuckthorn Fruit Oil’s Omega 7 (Palmitoleic Acid)</strong> is not only an anti-wrinkle product but it also has a softening effect on the skin. Promotes micro-circulation. High in nourishing and protective <strong>Carotenoids</strong> and <strong>Tocopherols</strong>. An ingredient of the oil, Palmitoleic acid, is a component of skin. It is considered a valuable topical agent in treating burns and healing wounds. This oil has UV-blocking activity as well as emollient properties-and it is an aid in promoting regeneration of tissues.</p>\r\n<p><strong>Peptides</strong> - there are multiple combinations of peptides contained in the rejuvenating moisture cream. Clinical trials indicated that Palmitoyl Oligopeptide-3 regenerated the skin\'s upper layers by stimulating collagen production, thickening the epidermis. Acetyl Hexapeptide-3 reduced wrinkles by disrupting the nerve signals sent to tense muscles below the dermis, relaxing them, smoothing the overlying skin. Also, Palmitoyl Tetrapeptide-3 suppresses the body\'s production of interleukins, the chemical messengers that trigger inflammation. Peptides play a vital role in the skin\'s healing process. These protein molecules, found naturally in the body, send out signals when damaged skin is in need of repair.</p>\r\n<p><strong>Squalane</strong> – Squalene of which Squalane is a derivative, is naturally found in the composition of human skin. It helps the skin maintain its health, integrity, moisture, and softness. The amount of squalane in human skin declines with age, so the topical application of squalane is an especially effective way of treating dryness, roughness, and superficial lines in aging skin. Squalane has also been shown to have antioxidant properties</p>\r\n<p><strong>C12-15 Alkyl Benzoate</strong> - reduces circles and deep wrinkles as much as 98% retaining the natural firmness of the skin.  It helps attract cells to sites that need repair and contributes to the reconstruction of the dermis.</p>\r\n<p><strong>Shea Butter &amp; Organic Aloe Vera Leaf</strong> – natural source of beta-carotene, minerals, amino acids and the important antioxidant vitamins (A, C, E and B1, B2 and B3) along with Shea Butter which is an excellent nutrient rich moisturizer for the skin keeping it soft and elastic.</p>\r\n<p>(Niacinamide (Vitamin B3) - It’s anti-inflammatory properties made it ideal for for use on rosacea and acne sufferers. But now, it’s being added to anti-aging products because it stimulates collagen production, decreases fine lines, decreases redness and it won’t clog your pores.)</p>\r\n<p>(Amino-peptides can repair damaged skin as well as reduce the appearance of eye wrinkles.)<br />\r\n</p>\r\n<p><strong>Matricaria (Chamomilla Recutita)</strong> - This annual herb, also known as German Chamomile or Wild Chamomile.  The flowers of this plant possess gentle, healing and anti-inflammatory properties.</p>\r\n<p><strong>Vit E Acetate</strong> - It is a great antioxidant for the skin; the skin is protected from harmful effects of sunlight when topically applied.</p>\r\n<p><strong>Retinyl Palmitate</strong> - Benefits: normalizes skin, helps to keep skin stay soft and plump; vitamin A palmitate\'s stability is superior to retinol. Clinical results have shown that vitamin A palmitate increased significantly skin composition to increase collagen, DNA, skin thickness, and elasticity. Vitamin A palmitate\'s stability is superior to retinol. Topical application of retinyl palmitate is the most sensible way for loading the skin with retinol (vitamin A). Cosmetic products containing retinyl palmitate are also more effective than those containing retinol. Furthermore, retinyl palmitate readily penetrates into the epidermis and dermis</p>\r\n<p><strong>Hydrolyzed Soy Protein</strong> - provides a smoothing effect and minimizes the appearance of roughness and wrinkles</p>\r\n<p><strong>Chia plant most desirable omega-3 sources available.</strong> It has a higher level of omega-3 fatty acids than any commonly used natural source with more than 600 mg omega-3 per 1 gram of extract.  Not only a top source for omega3 essential fatty acids but also contains several antioxidants, making it a more stable source for EFA’s than flax or hemp seed<br />\r\n  The seeds are a good source of B vitamins, calcium (100 grams of seeds contains roughly 5x that of milk!), phosphorus, zinc, boron (an essential trace mineral deficient in modern diets) and copper. Chia has excellent protein, containing around 20% with all essential amino acids. <br />\r\n</p>\r\n</div>\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<p><img src=\"assets/images/sb-cream-img.jpg\" alt=\"botanical moisturizer\" class=\"center-box\" />\r\n<br /><strong>Rejuvenating Moisture Cream</strong> - $55.00<br />\r\n2 oz / 60 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`2` &style=`prodbuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $27.50 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both\"></div>\r\n\r\n<div class=\"two-third\">\r\n<h2>Rejuvenating Eye Patches</h2>\r\n<p> Chitosan (a shellfish derivative), collagen and Vitamin C (ascorbic acid).<br />\r\n <strong> About Chitosan:</strong></p>\r\n  <ul>\r\n  <li>Chitosan stabilized with Vitamin C neutralizes damaging free radicals to repair skin.</li>\r\n  <li>Marine Chitosan contains powerful antioxidants, vitamins and skin-replenishing nutrients for unparalleled results.</li>\r\n  <li>Marine extracts and minerals nourish, restore and rejuvenate skin to its natural balance.</li>\r\n  <li>Chitosan is a natural whitening agent and will lighten your skin within 2 weeks of regular use.</li>\r\n  <li>Marine Chitosan helps stimulate cell renewal providing younger looking skin</li>\r\n  </ul>\r\n</div>\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<p><img src=\"assets/images/sb-eye-patch.jpg\" alt=\"younger looking eyes\" class=\"center-box\" />\r\n<br /><strong>Y.E.S. Rejuvenating Eye Patches</strong> - $30.00</p>\r\n[[product_buttons? &prodID=`3` &style=`prodbuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $15.00 + S&H</p>\r\n</div>\r\n</div>',1,6,12,1,0,1,1323308292,1,1324326383,0,0,0,1323308292,1,'',0,0,0,0,0,0,0),(2,'document','text/html','Anti-Aging Serum','Anti-Aging Serum','','anti-aging-serum-toner-skincare','',1,0,0,1,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Y.E.S. Anti-Aging Serum</h2>\r\n<div class=\"col-425\">\r\n<ul id=\"images-slider\">\r\n	<li><img src=\"assets/images/serum/slide-1.jpg\" style=\"width: 425px; height: 260px;\" alt=\"beautiful skin\" /></li>\r\n	<li><img src=\"assets/images/serum/slide-2.jpg\" style=\"width: 425px; height: 260px;\" alt=\"removes wrinkles\" /></li>\r\n	<li><img src=\"assets/images/serum/slide-3.jpg\" style=\"width: 425px; height: 260px;\" alt=\"anti-aging\" /></li>	\r\n	<li><img src=\"assets/images/serum/slide-4.jpg\" style=\"width: 425px; height: 260px;\" alt=\"make my skin smoother\" /></li>	\r\n	<li><img src=\"assets/images/serum/slide-5.jpg\" style=\"width: 425px; height: 260px;\" alt=\"remove age spots\" /></li>					\r\n</ul>\r\n</div>\r\n<div class=\"col-210 last\">\r\n<ul class=\"custom-list arrows-1\">\r\n<li>Reduces the appearance of fine lines &amp; wrinkles</li>\r\n<li>Rejuvenates sun aged skin</li>\r\n<li>Stimulates cell renewal</li>\r\n<li>Boosts collagen</li>\r\n<li>Tones &amp; Tightens</li>\r\n<li>Smoothes &amp; Brightens</li>\r\n<li>Optimizes Hydration</li>\r\n<li>Antimicrobial &amp; Antibacterial</li>\r\n<li>Immediate absorption <strong>makes it perfect for men too!</strong></li>\r\n</ul>\r\n</div>\r\n<div class=\"clear\"></div>\r\n\r\n<p>Serums have been recognized as the most efficient vehicles to deliver ingredients with therapeutic effects. Our CP24-Complex&reg; has the most complete method to penetrate layers of the skin, with a targeted mission of increasing cellular proliferation by 250% within 24 hours. You will notice the deep tissue cellular changes as the tone and texture improves within a few weeks. This delivery system addresses your immediate skin concerns from wrinkles, scars and dullness to age spots, acne and sensitivities. \r\n</p>\r\n<p>This powerful anti-aging serum is gentle enough to use daily followed by the Y.E.S. Rejuvenating Moisture Cream.\r\n</p>\r\n\r\n\r\n<div class=\"split-left\">\r\n<img src=\"assets/images/serum.jpg\" alt=\"Anti-Aging Serum\" class=\"right-box\" />\r\n</div>\r\n<div class=\"split-right\" style=\"padding-top: 55px\">\r\n<div id=\"offerbox\">\r\n<p><strong>Anti-Aging Serum - $60.00</strong><br />\r\n1 oz / 30 ml - a 60 day supply</p>\r\n[[product_buttons? &prodID=`1` &style=`buybox` &sideCart=`on` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $30.00 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n[[DisplayCart? &display=`product_side`]]\r\n<br clear=\"all\" />\r\n<div class=\"separator-line\" style=\"clear:both\"></div>\r\n\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>',1,6,3,1,0,1,1313083607,1,1324319355,0,0,0,1313083624,1,'Anti-Aging Serum',1,0,0,0,0,0,0),(3,'document','text/html','Rejuvenating Moisture Cream','Rejuvenating Moisture Cream','','rejuvenating-moisture-cream','',1,0,0,1,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Y.E.S. Rejuvenating Moisture Cream</h2>\r\n<div class=\"col-425\">\r\n<ul id=\"images-slider\">\r\n<li><img src=\"assets/images/cream/happy-couple.jpg\" style=\"width: 425px; height: 260px;\" alt=\"Great for men and women\" /></li>\r\n<li><img src=\"assets/images/cream/man-shaving.jpg\" style=\"width: 425px; height: 260px;\" alt=\"Use for aftershave\" /></li>\r\n<li><img src=\"assets/images/cream/blond-beauty.jpg\" style=\"width: 425px; height: 260px;\" alt=\"anti-aging cream\" /></li>	\r\n<li><img src=\"assets/images/cream/mature-couple.jpg\" style=\"width: 425px; height: 260px;\" alt=\"Skincare for all ages\"/></li>	\r\n<li><img src=\"assets/images/cream/auto-girl.jpg\" style=\"width: 425px; height: 260px;\" alt=\"moisture cream\"/></li>				\r\n</ul>\r\n</div>\r\n<div class=\"col-210 last\">\r\n\r\n<ul class=\"custom-list arrows-1\">\r\n<li>Reduces the signs of aging</li>\r\n<li>Maximizes Hydration</li>\r\n<li>Tones &amp; Tightens</li>\r\n<li>Instantly Softens</li>\r\n<li>Rejuvenates</li>\r\n<li>Brightens</li>\r\n<li>Immediate Absorption <strong>makes it perfect for men too!</strong></li>\r\n</ul>\r\n</div>\r\n<div class=\"clear\"></div>\r\n\r\n<p>Y.E.S. Skin Perfecting Moisturizer with CP24-Complex&reg; is the most advanced age-defying treatment that instantly goes to work stimulating new cell production, bringing new younger cells to the surface. Our proprietary formulation rich in seabuckthorn (instrumental in promoting cell tissue regeneration), all-natural organic botanicals, pentapeptides, powerful anti-oxidant vitamins, collagen builders and minerals along with amino acids allows the skin to renew, repair and protect itself as nature intended, reversing the signs of aging.</p>\r\n<p>The rapid absorption makes it perfect for all skin types, never greasy; the cream/gel like consistency makes it extremely hydrating, leaving the surface velvety smooth. You will love the way it feels. \r\n</p>\r\n\r\n\r\n<div class=\"split-left center\">\r\n<img src=\"assets/images/cream.jpg\" alt=\"All Natural Moisture Cream\" class=\"center-box\" />\r\n</div>\r\n\r\n<div class=\"split-right center\" style=\"padding-top: 20px\">\r\n<div align=\"center\">\r\n<div id=\"offerbox\">\r\n<p><strong>Anti-Aging Serum - $55.00</strong><br />\r\n2 oz / 60 ml - a 60 day supply</p>\r\n[[product_buttons? &prodID=`2` &style=`buybox` &sideCart=`on` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $27.50 + S&H</p>\r\n</div>\r\n</div>\r\n</div>\r\n\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n[[DisplayCart? &display=`product_side`]]\r\n<br clear=\"all\" />\r\n<hr />\r\n<br clear=\"all\" />\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>',1,6,4,1,0,1,1313083821,1,1324329037,0,0,0,1313083821,1,'',1,0,0,0,0,0,0),(4,'document','text/html','Cart pages','','','ca','',1,0,0,0,1,'','',1,7,100,1,0,1,1320967454,1,1321660478,0,0,0,1320967454,1,'',0,0,0,0,0,0,1),(5,'document','text/html','Your Cart Contents','Your Cart Contents','','cart','',1,0,0,4,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n[[DisplayCart]]\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>',1,7,0,1,0,1,1320967541,1,1323305871,0,0,0,1320967541,1,'',0,0,0,0,0,0,0),(6,'document','text/html','Cart Checkout','','','checkout','',1,0,0,4,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n[[cart_payment]]\r\n</div>\r\n\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n[[DisplayCart? &display=`product_side`]]\r\n<br clear=\"all\" />\r\n<hr />\r\n<br clear=\"all\" />\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>',1,7,1,1,0,1,1320967580,1,1323370042,0,0,0,1320967580,1,'',0,0,0,0,0,0,0),(7,'document','text/html','Verify Order / Submit Payment','','','cart-verify','',1,0,0,4,0,'','<div class=\"two-third\">\r\n[[cart_verify]]\r\n</div>\r\n<div class=\"one-third last\">\r\n<br clear=\"all\" />\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>',1,7,2,1,0,1,1320967619,1,1323970187,0,0,0,1320967619,1,'',0,0,0,0,0,0,0),(8,'document','text/html','Thank You for Your Order','','','cart-final','',1,0,0,4,0,'','[[cart_verify? &action=`final`]]',1,7,3,1,0,1,1320967652,1,1321660524,0,0,0,1320967652,1,'',0,0,0,0,0,0,0),(18,'document','text/html','Home','All Natural Skincare Products','','yes-skin-care-products','',1,0,0,0,0,'Amazing skin care products for all skin types. YES anti-aging products will rejuvenate your skin, reduce wrinkles and aging spots while giving your skin a much smoother feel. Works better than skin care products that sell for twice the price.','<div class=\"two-third\">\r\n<h1 class=\"center\">The Best of Nature with the Proof of Science!</h1>\r\n<img src=\"assets/images/expert-skin-care2.jpg\" alt=\"Expert Skin Care Products\" />\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<h2 style=\"margin-bottom: 0px\">Great for all skin types!</h2>\r\n<p><strong>Dermatologist Recommended!</strong></p>\r\n<p>&ldquo;This serum is so amazing! I love the way my skin looks... smoother, tighter and more firm. I\'m thrilled that this works!&rdquo; <strong>Judy Reppart, Beauty writer</strong>\r\n<br /><br />\r\n&ldquo;I absolutely love this moisturizer. It makes my skin feels soft & refreshed.  My skin tone looks even and is absolutely glowing.&rdquo; <strong>Joan Rogers, Cosmetic & Beauty Reviews</strong>\r\n<br /><br />\r\n&ldquo;This is a wonderful anti-aging treatment serum!  My skin looks smoother as I have fewer lines & my adult acne is under control.&rdquo; <strong>Joan Rogers, Cosmetic & Beauty Reviews</strong>\r\n<br /><br />\r\n&ldquo;This is no contest the best moisturizer I have ever used in my life! The serum makes my face look like it\'s made of porcelain. A little goes a LOOOONG way, so it will last a long time.&rdquo; <strong>Kristen King, Women\'s Health Mag</strong>\r\n<br /><br />\r\n&ldquo;I\'ve been using the Y.E.S. products for almost two weeks now, and I see a definite difference. The overall color of my face has evened out and lightened, the circles under my eyes have significantly lightened, and my self-confidence has soared. Overall, I would recommend trying this product out yourself, as I plan on continuing to use it!&rdquo; <strong>Audrey Seiberling Beauty Editor, Plasticsurgery.com</strong>\r\n</p>\r\n<div align=\"center\">\r\n<h2>Need we say more?</h2>\r\n[[product_buttons? &prodID=`4` &style=`buybox` &sideCart=`off` &flexPay=`on`]]\r\n<h5>Anti-Aging Serum - 1 oz / 30 ml<br />\r\nRejuvenating Moisture Cream - 2 oz / 60 ml</h5>\r\n<p class=\"offer\">Special Price: $105.00 for both products<br />\r\nFlex pay: Two installments of $52.50 + S&H</p>\r\n</div>\r\n</div>\r\n<div class=\"clear\"></div>\r\n\r\n<div class=\"two-third\">\r\n<h3 class=\"gray_head\">Simple Solutions for Looking Good & Feeling Good</h3>\r\n<p><img src=\"assets/images/fruit.jpg\" class=\"right-box\" />In our LifeStyle Blog we show you the best ways to Look & Feel Good. We tackle the job from the inside out, then helping you with the finishing touches!  All the things to be healthy and look terrific with very little effort and expense.  Stay tuned for all of our secrets!</p>\r\n</div>\r\n<div class=\"one-third last\">\r\n<h3 class=\"gray_head\">Cosmetics \"the best and the worst\"</h3>\r\n<p>Become a VIP & receive special beauty gifts. Each month we will randomly select a member to receive our favorite beauty product. We will review cosmetic items in order to save you time and money. There is nothing more aggravating then buying into &ldquo;hype&rdquo; and being disappointed; especially in today\'s economy.</p>\r\n</div>\r\n<div class=\"clear\"></div>\r\n<div class=\"one-third\">\r\n<h3 class=\"red_head\">Stop the Judgement</h3>\r\n<p>It is time that we all started looking at things differently. We are all too tired of the being told what we need to look like in order to be accepted. This is true especially as we age.  Our goal is to provide you with the information and tools to help you be the best &ldquo;YOU&rdquo;!  Regardless of your size, age or budget...</p>\r\n<h4>Our Favorite Charity</h4>\r\n<img src=\"assets/images/wounded-warrior.jpg\" alt=\"Wounded Warrior Project\" />\r\n<p><strong>Wounded Warrior Project</strong><br />\r\n<a href=\"[~23~]\" title=\"your purchase benefits our charities\" />Learn how</a> your purchase can make a difference...</p>\r\n</div>\r\n\r\n<div class=\"one-third\">\r\n<h3 class=\"red_head\">Skin Care 101</h3>\r\n<p class=\"center\"><img src=\"assets/images/skin-care-101.jpg\" alt=\"skin care tips\" class=\"center-box\" /></p>\r\n<h4 class=\"center\"><a href=\"[~41~]\" title=\"skin care tips\" />read more</a></h4>\r\n\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<h3 class=\"red_head\">Special Offers</h3>\r\n<div id=\"productbox\">\r\n<p>A blush/BRONZER you will LOVE!<br />\r\n<img src=\"assets/images/blush-bronzer.jpg\" alt=\"bronzer\" class=\"center-box\" /></p>\r\n[[product_buttons? &prodID=`5` &style=`prodbuybox` &sideCart=`off` &flexPay=`off`]]\r\n</div></div>\r\n<div class=\"clear\"></div>\r\n{{social_footer}}',1,6,0,1,0,1,1321137835,1,1324338588,0,0,0,1321137835,1,'',0,0,0,0,0,0,0),(10,'document','text/html','Pending Sales','Pending Sales','','indexadmin','',1,0,0,17,0,'','[[admin_orders]]',1,5,0,1,0,1,1320967709,1,1321310266,0,0,0,1320967709,1,'',0,0,0,0,0,0,0),(11,'document','text/html','Sales History','Sales History','','sales-history','',1,0,0,17,0,'','[[admin_orders? &show=`shipped`]]',1,5,1,1,0,1,1320967768,1,1320975977,0,0,0,1320967768,1,'',0,0,0,0,0,0,0),(12,'document','text/html','Product List','Product List','','product-list','',1,0,0,17,0,'','[[admin_products]]',1,5,2,1,0,1,1320967803,1,1320975994,0,0,0,1320967803,1,'',0,0,0,0,0,0,0),(13,'document','text/html','Edit Product','Edit Product','','edit-product','',1,0,0,17,0,'','[[admin_products_edit]]',1,5,3,1,0,1,1320967838,1,1320976031,0,0,0,1320967838,1,'',0,0,0,0,0,0,0),(14,'document','text/html','Add Product','Add Product','','add-product','',1,0,0,17,0,'','[[admin_products_edit? &action=`add`]]',1,5,4,1,0,1,1320968568,1,1320976078,0,0,0,1320968568,1,'',0,0,0,0,0,0,0),(15,'document','text/html','Order Details','Order Details','','order-details','',1,0,0,17,0,'','[[admin_orders_edit]]',1,5,5,1,0,1,1320968702,1,1320976102,0,0,0,1320968702,1,'',0,0,0,0,0,0,0),(16,'document','text/html','Product Categories','Product Categories','','categories','',1,0,0,17,0,'','[[admin_categories]]',1,5,6,1,0,1,1320973561,1,1320975945,0,0,0,1320973561,1,'',0,0,0,0,0,0,0),(17,'reference','text/html','Control Panel2','','','admin','',1,0,0,0,1,'','10',1,6,99,1,0,1,1320975746,1,1321138109,0,0,0,1320975746,1,'',0,0,0,0,0,0,1),(19,'document','text/html','Lifestyle Blog','Lifestyle Blog','','lifestyle-blog','',1,0,0,0,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n[[Ditto? &startID=`55` &extenders=`summary` &total=`5`  &tpl=`yes_blog`]]\r\n</div>\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n\r\n</div>',1,6,2,1,0,1,1321138024,1,1324586003,0,0,0,1324585854,1,'',0,0,0,0,0,0,1),(20,'document','text/html','YES Skincare News','YES Skincare News','','skincare-news','',1,0,0,0,1,'','[[FirstChildRedirect]]',1,6,3,1,0,1,1321138206,1,1323472304,0,0,0,1321138206,1,'News',0,0,0,0,0,0,0),(21,'document','text/html','Reviews','Reviews','','reviews','',1,0,0,0,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Testimonials</h2>\r\n<p><em>The Rejuvenating Moisture Cream is the best after shave cream I have ever used!</em>&nbsp;&nbsp;&nbsp;<strong>Gerald Rosenberg - NYC, NY</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><em>I\'m thrilled! I have been using Y.E.S. for almost 2 months now and I could not be happier!</p>\r\n<p>I have some scarring on my face which always bothered me.  Since I have been using Y.E.S., I have to look for the scar in the mirror instead of my eyes going right to it.  I hardly notice it at all.</p>\r\n<p>Prior to using Y.E.S., I had been reading about the benefits of Seabuckthorn.  One article even called it a \"fountain of youth\" so I was extremely pleased to find out that Seabuckthorn was an ingredient in Y.E.S. I highly recommend this product.</em>&nbsp;&nbsp;&nbsp;<strong>Kimberly Miller - Stanton, CA</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><em>I\'m usually a tough critic and a bit of a loyalist when it comes to skincare products. I like what I like and it\'s been confirmed that most skincare lines don\'t do what they claim to do. BUT I recently tried the Y.E.S. skincare line for 1-month, which includes a 1) Rejuvenating Moisture Cream and 2) Anti-Again Serum, and I have to say that it really stood out. A lot of facial moisturizers I\'ve used in the past feel like body moisturizers, meaning they have more of water base to them and quickly soak into your skin. That\'s not entirely a bad thing but when I used to the Y.E.S. Rejuvenating Moisture Cream I could feel more a protective gel-base texture on my face that half soaked into my skin and half created a protective barrier again the elements (i.e. the crazy cold weather here in NYC where I live). Because it\'s more of a gel-base moisturizer, it coats your face in a silky smooth way and you\'ll never feel dry or chapped. Best of all, it makes makeup application a cinch because you\'re working with a smoother surface after you apply the moisturizer. The Y.E.S Anti-Aging Serum is wonderful too. Usually serums are \"filmy\" and thick. They always make me worry whether my skin can breath under them. And I\'ve never seen results from them either. After 1 month of using Y.E.S Anti-Aging Serum, I actually saw a difference. My skin felt perkier, firmer and just looked more alive that usual. I happen to have dry skin and most products just can\'t give me the moisture I need. But after 1-month, it\'s almost like my skin changed because it barely felt dry anymore. I was pretty consistent in my use, applying in both mornings and evenings…so I definitely recommend that. The serum is super light and feels refreshing when you apply it. But afterwards you won\'t even know you have it on and that\'s why the Rejuvenating Moisture Cream is a perfect Step #2. \r\n<br /><br />\r\nOverall, what I love most about the Y.E.S. Skincare line is that it goes on incredibly smooth and feels delicious on your skin. I\'m a big fan of skincare that works dually for AM/PM use and which holds up and doesn\'t get greasy while you\'re working out (which I do a lot of as part of my job). The packaging makes both the serum and moisturizer easy to travel with too. I take them with me in my gym bag when I know I\'m going to shower in the locker room. If you\'re on the fence about Y.E.S., just say YES because it\'s a divine skincare line.</em>&nbsp;&nbsp;&nbsp;<strong>Bianca Jade/ MizzFIT  (<a href=\"http://mizzfit.com\" target=\"_blank\">mizzfit.com</a>)</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><em>\"I was interested in trying out the Y.E.S. (Young Essential Skincare) Anti-aging Serum and Rejuvenating Moisture Cream. It should be said that I am a highly skeptical person and had serious doubts as to the capabilities of an anti-aging product. Being of Cherokee decent, I have had small dark circles under my eyes since I was two years old. I\'ve always appeared older than I am because of this, and have tried my fair share of products to improve the situation.\r\n<br /><br />\r\nI noticed a difference in my skin tone on the second day of using these products. The dark circles under my eyes appeared to have lightened and my skin had a fresh glow to it. On the third day, three different strangers told me that I looked young for my age (while being carded for cigarettes, go figure) or wondered aloud about what had me in such a good mood.\r\n<br /><br />\r\nI\'ve been using the Y.E.S. products for almost two weeks now, and I see a definite difference. The overall color of my face has evened out and lightened, the circles under my eyes have significantly lightened, and my self-confidence has soared. Overall, I would recommend trying this product out for yourself, as I plan on continuing to use it!\"</em>&nbsp;&nbsp;&nbsp;<strong>Feb 08, 2009 by Audrey Seiberling Beauty Editor, Plasticsurgery.com</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><em>\"The Eyes . . . You\'re stressed and you\'ve lost sleep, and the No. 1 place where it\'s going to show: your eyes. There is no product on the market that\'s going to be better than eight hours of sleep. But here are a couple tricks: Y.E.S. Rejuvenating Eye Patches http://www.yesskincare.com/rejuvenating-eye-patch.php. Yep, they\'re pricey ($20 for a set), but there\'s nothing like peeling them away and revealing smooth, flawless skin underneath. I\'d highly recommend this product, as long as you\'re not allergic to shellfish.\"</em>&nbsp;&nbsp;&nbsp;<strong>Ms. Mari Talbliss - Exclusively Weddings</strong>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><em>\"This is a moisturizer unlike any I have tried.  It smells like cake and has a gel like consistency.  Like the serum, a little moisturizer goes a long way.  I liked the way it made my skin feel and noticed that it stayed hydrated throughout the day.\r\n<br /><br />\r\nAfter a month of using these products I did notice my skin looked a lot brighter.  I also noticed that they lines around my mouth seemed less noticeable and my skin felt soft and smooth.\"</em>&nbsp;&nbsp;&nbsp;<strong>Beauty Expert, Anastasia Papaionou - Bella Online - The Voice of Women</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><em>“This has got to be the BEST moisturizer I have ever tried on my face!  Sometimes you add moisturizer and your face feels like you just applied a bunch of makeup to it because it feels so heavy.  Y.E.S. Rejuvenating Moisture Cream is LIGHT; a little goes a long way!  You can really tell it’s evening out my skin tone.\r\n<br /><br />\r\nI am 30, quite young I am always told . . . . But my skin doesn’t feel so young!  I never cared for my skin when I was younger and now you can see the damage!  Sun damage, never was I one to wear a sun block!  My skin tone is un-even, but let me tell you . . . . With Y.E.S. my skin is looking BEAUTIFUL and young again, like it’s supposed to!\r\n<br /><br />\r\nI am honestly amazed by these products, and the Y.E.S. Anti-aging Serum is no different.  This as well is a little goes a LONG way and your skin, OMG will feel so soft and silky!  It will leave you looking FLAWLESS!â€\r\n<br /><br />\r\nDon\'t we all need flawless skin?? . . . or at least WANT flawless skin? <strong>Ladies, I’m telling you these products are amazing!\"</strong></em>&nbsp;&nbsp;&nbsp;<strong>Beauty Editor at Barefoot Mommies.com</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><strong>14 October 2008 EDITOR\'S CHOICE FOR TRAVEL: Y.E.S. SKINCARE!</strong>\r\n<br /><br />\r\n<em>\"I love products that are already packaged to meet the \"liquids in carry on luggage\" requirements (oh so strict) for airline travel.  Try these products from Y.E.S. (Young Essential Skincare) on your next trip.   In the transitional fall season when skin can get dry and flaky and just plain blah, these essentials can help keep you from looking like your alligator skin luggage!\"\r\n<br /><br />\r\nY.E.S. Anti-Aging Serum  - \"Use it again on clean skin before bed for a truly healing overnight experience.\"\r\n<br /><br />\r\nY.E.S. Rejuvenating Moisture Cream - \"This moisture cream is a dry-skinned-gal\'s best friend, it is not at all greasy and is perfect under makeup or on its own.\"\r\n<br /><br />\r\nY.E.S. Eye Patches - \"Changes in climate and stress shows up around the eyes, carry along a pack of these little crescent-shaped lovelies and you are armed with an arsenal to combat puffy eyes, dark circles and dry lines.  Bringing moisture to this tricky area has never been easier than popping one of these patches under each eye before your hit the bed, pretty damn good therapy on the road and off!\"</em>&nbsp;&nbsp;&nbsp;<strong>Dana Harrison-Tidwell - Editor, diva in a carry on </strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"I have been using Y.E.S. (Young Essential Skincare) Anti-Aging Serum for about a month now, and I am very impressed. I think this serum would be a great step to add to just about any skin care regimen you are currently using. Just a few drops of Y.E.S. Anti-Aging Serum daily yields noticeable results in less than a month.\r\n<br /><br />\r\nAlmost instantly I noticed my skin was smoother, tighter, and more radiant. The serum absorbs into your face relatively quickly leaving skin exceptionally soft. It is a pleasure to use the serum each day, especially on my forehead, where I tend to have fine lines. This serum is so versatile that it is perfect for women of any age, and with a wide range of skin concerns. Whether you are dealing with acne, scars, dullness, age spots, wrinkles, lines, or skin sensitivities, Y.E.S is for you!  \r\n</em>&nbsp;&nbsp;&nbsp;<strong>What’s Haute Beauty Review by Allison Croce</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"I have been using this skin care faithfully since June and can honestly say it works and may indeed be the fountain of youth in a jar! It’s appropriately called, Y.E.S. Even my facialist noticed the difference when she saw me 3 weeks after starting the regimen.\"</em>&nbsp;&nbsp;&nbsp;<strong>Patti Covello, Beauty Expert featured on Rick Dees in the Morning 93.9 FM</strong></p>\r\n\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"This is a wonderful anti-aging treatment serum!  My skin looks smoother as I have fewer lines and my adult acne is under control.\"</em>&nbsp;&nbsp;&nbsp;<strong>Joan Rogers, Cosmetic & Beauty Reviews</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"This is no contest the best moisturizer I have ever used in my life! I love how it feels on my skin, I love how it feels after I apply it, I love how it never, ever leaves my face shiny or my skin feeling weighted down. I love the scent, the texture, the fact that my complexion has been clearer since I started using it…\"</em>&nbsp;&nbsp;&nbsp;<strong>Kristen King, Women\'s Health Magazine</strong></p>\r\n\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"This serum is so amazing!  I love the way my skin looks . . . smoother, tighter and more firm.  I\'m thrilled that this works!\"</em>&nbsp;&nbsp;&nbsp;<strong>Judy Reppart, Beauty writer</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"With the steep prices of spas and the dangers associated with Botox, many women are looking for an alternative method to keep their beautiful skin. Looking for that youthful glow? Y.E.S. Young Essential Skincare is the answer to the many questions that women have about enhancing their complexion. Young Essential Skincare also offers fantastic rejuvenating eye patches, which are a problem area for many women. Lines, darkened circles, and puffiness are all very unattractive. In just minutes, Y.E.S. relieves all signs of fatigue!\"\r\n<br /><br />\r\n\"If you haven\'t tried Y.E.S. yet, darling it\'s time you gave it a shot. You won\'t be disappointed.\"</em>&nbsp;&nbsp;&nbsp;<strong>HauteMimi International Editor: Therese Quiao</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"The eye patches have not failed me.  They are perfect for when I want to smooth my under eye, lighten and d puff the eye area.  My makeup applies easy and looks flawless.\"</em>&nbsp;&nbsp;&nbsp;<strong>Joan Rogers, Cosmetic &  Beauty Reviews</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"Younger looking skin, smoother texture, more confidence and less\r\ntime required to get ready for the day! I experienced the Y.E.S. skincare and really enjoyed the smooth texture, easy slip, gentle scent of botanicals and absorption that was quick and silky into my skin.\r\n<br /><br />\r\nSooooo....from my opinion, the duo is worth a try and you and you can help other\'s while helping yourself, Angel Faces a charity that helps women with severe facial disfigurements. For more information or to purchase YES and have it support Angel Faces, visit the link:  <a href=â€http://www.yesskincare.com/angel-face-partnership.phpâ€  alt=â€support the Angel Faces Charityâ€ />Angel Faces Charity</a>\r\n\"</em>&nbsp;&nbsp;&nbsp;<strong>Cherelynn Baker, Professional Makeup Artist & Beauty Expert</strong></p>\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"The eye patches are simple and effective, easy and convenient to throw in your weekend bag.  These are the perfect beauty accessory for everyone.\"</em>&nbsp;&nbsp;&nbsp;<strong>Kirstyn Carlyle, HealthNewsDigest.com</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"The Y.E.S. Rejuvenating Moisture Cream absorbs quickly and is now my product of choice!\"</em>&nbsp;&nbsp;&nbsp;<strong>Maria Palma Beauty Within writer</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"With the serum, a little goes a long way.  Combined with the Rejuvenating Moisture Cream gives you a perfect base for makeup.\"</em>&nbsp;&nbsp;&nbsp;<strong>Andrea Toochin Beauty writer</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"The Y.E.S. serum is my “drugâ€ of choice, I can’t go a day without it!\"</em>&nbsp;&nbsp;&nbsp;<strong>B. Chacone, TV Producer, Los Angeles</strong></p>\r\n\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"I wrote about Y.E.S. Skincare back in June which I have been using faithfully and can honestly say it works and may indeed be the fountain of youth in a jar.  Even my facialist noticed the difference when she saw me three weeks after starting the regimen.  Very effective with Patti\'s stamp of approval.\"</em>&nbsp;&nbsp;&nbsp;<strong>Patti Covello, Beauty Writer</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"I absolutely love this moisturizer.  It makes my skin feel soft and refreshed.  My skin tone looks even and is absolutely glowing.\"</em>&nbsp;&nbsp;&nbsp;<strong>Joan Rogers, Cosmetic & Beauty Reviews</strong></p>\r\n\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"The serum makes my face look like it’s made of porcelain.  A little goes a LOOOONG way, so it will last a long time.\"</em>&nbsp;&nbsp;&nbsp;<strong>Kristen King, Beauty Writer</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"Y.E.S. makes great skin easy and affordable!\"</em>&nbsp;&nbsp;&nbsp;<strong>Joanna Cosgrove, online Editor Happi Magazine</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><em>\"I started using my sample on a couple of pre cancer spots on my face after seeing my Doctor. In three days they were gone just in time for a breakfast that I had to attend. My face looked so smooth that several women at the meeting asked what I had been doing since I looked like I had been on vacation! This was amazing since I only had 2 hours sleep the night before and had been up since 5:00 a.m., to church at 6:00 then the beakfast. \r\n<br /><br />\r\nLate in the afternoon I stopped by Macy’s to pick up eye makeup and asked for the wrong item; after apologizing to the sales clerk for being tired she said she would have never known by the way I looked. She wanted to know my skincare routine and I couldn’t wait to tell her what I was using. It’s a wonderful product!\"</em>&nbsp;&nbsp;&nbsp;<strong>Delores Logan, Anaheim, CA</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"When your skin has been challenged with a serious burn injury as mine, it’s hard to find a skin care product that soothes and moisturizes. I’m relieved to have been introduced to Y.E.S., Young Essential Skincare. By day three, I caught myself noticing how refreshed and nourished my face looked and felt – then I remembered the \"new product I\'d been using\". YES! I found a winner!\"</em>&nbsp;&nbsp;&nbsp;<strong>Lesia Cartelli, \r\nFounder and Director Angel Faces - www.angelfacesretreat.org</strong></p>\r\n\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"I love having two products that do the work of many.....it is easy to apply morning and night and the cream just rolls on like velvet\". I am a former beauty queen, model and BIG CONSUMER OF FACIAL PRODUCTS over the years and I have used everything from Erno Lazlo to La Prairie. I love your product!\"</em>&nbsp;&nbsp;&nbsp;<strong>Copper St James, La Jolla, CA</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"I received your sample package of skin care products and I really do like them quite a bit! I\'m a skin care consultant and really like the two easy steps which your products offer as they save me a lot of time. My skin feels great – soft, smooth and although I have good skin, there\'s always opportunities to make it better; I think they\'re really great.\r\n<br /><br />\r\nI will also pass the information on to my sister and another acquaintance too.\"</em>&nbsp;&nbsp;&nbsp;<strong>Janet O\'Connor, President - O\'Connor Creative Inc. </strong></p>\r\n\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"I received your samples today. I am very particular and sensitive about skin care. I just cleansed my face and applied one of your samples. I am SOOOO impressed! Most products on the market are so greasy. YES is so light and feels so wonderful. The fragrance is mild as well. I have a Christmas party tomorrow night where I will be seeing one of my favorite estheticians; I plan on giving her some to try. I love your product and your packaging is amazing!\"</em>&nbsp;&nbsp;&nbsp;<strong>Margie Meehan, Long Beach, CA</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"Y.E.S. is one of the most impressive products I have seen. I have very sensitive skin, compounded with occasional breakouts of rosacea. I have never found a product that actually soothes the skin and calms the inflammation to the point where there is no visible redness. All of this, in addition to providing unprecedented moisturization!  Please keep making this product!\"</em>&nbsp;&nbsp;&nbsp;<strong>Jane Carroll, Encinitas, CA</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<p><em>\"I actually began using Y.E.S. products twice daily in order to see how fast I could dramatically improve my skin after years of inadequate nutrition and sleep and overexposure to sun rays and tanning beds. And after one week of use, the Y.E.S. serum and cream combination lightened my very dark circles and brightened my skin with an added vibrant glow even without changing one other health variable in my daily routine. The Young Essential Skincare line is simply nourishing, invigorating, and satiny smooth that makes you feel quite fabulous.\"</em>&nbsp;&nbsp;&nbsp;<strong>Cindy Kay, PA</strong></p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"I\'m using the products going on 3 days now! I love the products, my skin seems smoother already...will keep you posted! I\'m sending some to girlfriends...\r\n<br /><br />\r\n(2nd submission - sent two weeks later) Linda - I LOVE the products! I hope your products get in every magazine and on the face of every actress in town!\"</em>&nbsp;&nbsp;&nbsp;<strong>Anna Vocino, Los Angeles, CA </strong></p>\r\n\r\n\r\n<div class=\"separator-line\"></div>\r\n<p><em>\"Linda, I\'ve been meaning to tell you that I\'m using the product daily and really, really like it. It created sort of a stinging sensation when I first started using it, but not as much lately. I noticed that it sort of turns my face a bit red upon application, but a couple minutes later I have a nice \'rosy glow\' that lasts all day long. I\'ve also noticed a real nice decline in my crows feet. Considering that I live in the Pacific Northwest, I enjoy having a rosy glow on my face in spite of the fact that almost no sun touches my face this time of year. Good job!\"</em>&nbsp;&nbsp;&nbsp;<strong>Mark Thompson, Seattle, WA</strong></p>\r\n\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n<div align=\"center\">\r\n\r\n<h2>Y.E.S. Skincare Products</h2>\r\n<p><img src=\"assets/images/sb-buy-both-img.jpg\" class=\"center-box\" alt=\"Serum & Cream Skincare\" /><br />\r\n<strong>Anti-Aging Serum</strong> - 1oz / 30ml<br />\r\n<strong>Rejuvenating Moisture Cream</strong><br />2oz / 60ml<br />\r\n<div class=\"special-offer\">Buy Both and Save $10.00!</span></div></p>\r\n[[product_buttons? &prodID=`4` &style=`sidebuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Special Price: $105.00 for both products<br />Flex pay: Two installments of $52.50 + S&H</p>\r\n\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n\r\n<h2>Rejuvenating Eye Patches</h2>\r\n<p><img src=\"assets/images/sb-eye-patch.jpg\" alt=\"Rejuvenating Eye Patches\" class=\"center-box\" /></p>\r\n<div style=\"margin-bottom: 5px\"><strong>Rejuvenating Eye Patches - $30.00</strong></div>\r\n[[product_buttons? &prodID=`3 &style=`sidebuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $15.00 + S&H</p>\r\n</div>\r\n<hr />\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>\r\n<div class=\"clear\"></div>\r\n{{social_footer}}',1,6,4,1,0,1,1321138285,1,1329765706,0,0,0,1321138285,1,'',0,0,0,0,0,0,0),(22,'document','text/html','About','About YES, Young Essential Skincare Products, All Natural Skin Care','','about-yes-skin-care','',1,0,0,0,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n<h2 style=\"margin-bottom: 0px\">About Linda Eastwood</h2>\r\n<h4>Y.E.S. Skincare\'s Founder</h4>\r\n\r\n<p><strong>With over 20 years experience in all aspects of personal style, clothing &amp; jewelry design, Linda Eastwood understands the female consumers who are frustrated with the fashion media.</strong> Linda saw a need and produced programs and products to satisfy that need. In her widely read book, <a title=\"Fashion Guidance\" href=\"http://www.simplesolutionsforwomen.com\" target=\"_blank\">Simple Solutions for Women! (diet &amp; exercise not required)</a>, Ms. Eastwood challenged the fashion advice that is geared to runway models. She said, \"They focus on the narrow segment of women that have perfect figures, are young and economically affluent. I believe that women of all sizes and ages can feel and look good, at a reasonable price.\" </p>\r\n<p>As a fashion and marketing executive, <strong>Linda was asked to reposition a specialty line of skin care products for a firm who wholesaled a very expensive product line to Plastic Surgeons and Dermatologists</strong>. Eastwood attacked this new assignment with the same energy and dedication that she has always employed. Eventually, the firm\'s owners asked Linda to buy into the firm as an equal partner and run it. As CEO of the skin care company, Linda directed the firm to new highs and expanded markets. <strong>What she wanted though, was to develop a line of products, equal or better in the beneficial results they produced, at price-points needed to enter the competitive retail marketplace.</strong></p>\r\n<p>With the firm\'s scientists and chemists, Linda developed new formulas for the products. The plan was close to fruition when her partners did an about face and made the decision not to invest further in the new product line. Linda\'s career guiding goal has always been to provide women with practical and reliable information on products and services. <strong>As quoted in the media so many times, she said \"It\'s about real help for women.&rdquo;</strong></p>\r\n<p>Eastwood knew the new formulas for her products were exactly this; Real help for women. And so, Linda negotiated her exit from the firm she had built over the previous five years and now owns the formulas, trademarks and patents for her new product lines.</p>\r\n<p>And now this author, designer &amp; style expert has done it again! Just say, \"Y.E.S.\" to great looking skin! The exclusive formulas for the Y.E.S. Young Essential Skincare&reg; line of skin care products are offered on line at <a title=\"Best new Skincare Products\" href=\"[~41~]\">www.yesskincare.com</a>.</p>\r\n<p>Linda Eastwood continues to inspire, motivate and train others to transform their lives with products and information they can trust. Read her blog at: <a title=\"Simple Solutions for Women\" href=\"http://www.simplesolutionsforwomen.com\" title=\"Health and fashion tips for women\" target=\"_blank\">www.simplesolutionsforwomen.com</a></p>\r\n<br />\r\n<h2>Personal Recommendations:</h2>\r\n<p><em>\"One hour with Linda is better than 10 years with a psychiatrist!\"</em> - <strong>Sandra (a woman that resided in the Safe Passage shelter for abused women that Linda has helped.) Los Angeles, CA.</strong></p>\r\n<p><em>\"I have always appreciated your service and the quality of your products. I know that your plans to embrace women with informational materials will be a great success.\"</em> - <strong>Ivana Trump.</strong></p>\r\n<strong>\r\n</strong>\r\n<p><em>\"On behalf of Camp Pendleton Armed Services YMCA, THANK YOU for the tremendous amount of selfless volunteer work you did to execute the first-ever ball gown giveaway. 323 women actually tried on and received a lovely fitted ball gown!\"</em> -&nbsp;<strong>Marjorie Love, Executive Director, Armed Service YMCA/Camp Pendleton.</strong></p>\r\n\r\n<p><em>\"My hat\'s off to Linda Eastwood a truly talented and dedicated woman. I admire her creativity and tenacity and I wish her great success.\"</em> - <strong>Kathy Lee Gifford.</strong></p>\r\n\r\n<p><em>\"Linda Eastwood\'s weekly fashion segments have been proven to be one of the most popular features on our morning show. She has the uncanny ability to translate a lifetime of learning into practical pointers that can change the average viewer\'s wardrobe from humdrum to elegant in minutes. Her advice is particularly useful for today\'s working woman who often must juggle a variety of looks with a variety of \r\nroles during the course of every business day.\"</em> - <strong>Steve Weakly, Executive Producer KUSI Morning News, San Diego, CA.</strong></p>\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n<p><a href=\"http://www.lindaeastwood.com\" title=\"Linda\'s original website\" target=\"_blank\"><img src=\"assets/images/le-website-img.jpg\" alt=\"Linda Eastwood.com\" border=\"0\" /></a></p>\r\n\r\n<div class=\"clear\"></div>\r\n<p><a href=\"http://www.simplesolutionsforwomen.com\" title=\"Linda\'s original blog\" target=\"_blank\"><img src=\"assets/images/ssfw-bookcover.jpg\" alt=\"Linda Eastwood.com\" style=\"border: 1px solid #c6c6c6\" /></a></p>\r\n<div class=\"clear\"></div>\r\n<h3 style=\"margin-bottom: 15px; margin-top: 15x;\">Favorite Charities</h3>\r\n<p><a href=\"http://www.woundedwarriorproject.org\" title=\"Donate to Wounded Warriors!\" target=\"_blank\"><img src=\"assets/images/wounded-warrior.jpg\" alt=\"Wounded Warrior Project\" border=\"0\" /></a></p>\r\n<div class=\"clear\"></div>\r\n<p><a href=\"http://www.angelfacesretreat.org/af/\" title=\"Angel Faces Retreat\" target=\"_blank\"><img src=\"assets/images/angel-faces.jpg\" alt=\"Angel Faces Foundation\" border=\"0\" /></a></p>\r\n<div class=\"clear\"></div>\r\n<p><a href=\"[~40~]\" title=\"ball gown give-away\"><img src=\"assets/images/ball-gown-giveaway.jpg\" alt=\"Ball Gown Giveaway\" border=\"0\" /><p>\r\n<p style=\"text-align: center\">...more about the give-away.</a></p>\r\n<div class=\"clear\"></div>\r\n\r\n</div>\r\n<div class=\"clear\"></div>\r\n<div class=\"separator-line last\"></div>\r\n{{social_footer}}',1,6,7,1,0,1,1321138370,1,1336085649,0,0,0,1321138370,1,'',0,0,0,0,0,0,0),(23,'document','text/html','Charity','YES Skincare\'s Charity Contributions','','charity','',1,0,0,0,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Charity - An important part of who we are!</h2>\r\n<p>Y.E.S. Young Essential Skincare&reg; is very happy to say, \"<span style=\"color: #CD0000\">YES</span>\" to making significant contributions to worthwhile charities. The satisfaction that comes from aiding a cause in which we truly believe is motivating to all of us.\r\n</p>\r\n<br />\r\n\r\n<h3>Wounded Warrior Project</h3>\r\n<p>We all owe a debt of gratitude to the men and women that have served our country.  Every little bit adds up to help our wounded soldiers.  We are donating all of the profits from each book sale on our website to this organization.  You will not only gain valuable information for yourself, learning how to look and feel great regardless of your age, size or budget but even more important; you will be helping those who have provided us with our security and freedom, those whose lives are changed forever. <a href=\"http://www.woundedwarriorproject.org/\" title=\"Wounded Warrior Project\" target=\"_blank\">Learn more...</a>\r\n</p>\r\n<br />\r\n\r\n<h3>Angel Faces Retreats</h3>\r\n<p>In today\'s society, with all of the emphasis on beauty, there are few things in life that are more difficult to deal with than facial disfigurements, especially by the ravages of fire. During a young persons growth years, when self esteem is being developed, having to struggle with physical pain as well as emotional pain is more than some can bear. Because of the success that the women of Angel Faces have had with Y.E.S. Young Essential Skincare&reg; products, we are delighted to donate a percentage of our sales to them. This will allow a young woman to heal as well as to expand the Angel Faces organization\'s help across the country. <a href=\"http://www.angelfacesretreat.org/af/\" title=\"Angel Faces - Healing Retreats\" target=\"_blank\">...learn more &amp; donate to the cause.</a></p>\r\n<p style=\"text-align: center\"><img src=\"assets/images/serum-cream-display.jpg\" class=\"center-box\" alt=\"Anti-Aging Serum and Cream\"><br />\r\n<strong><a href=\"[~44~]\" title=\"Your purchase benefits Angel Faces\">Your purchase here</a> will create a positive benefit to you and many others!</strong></p>\r\n<p>\"<span style=\"color: #CD0000\">Yes</span>\" is such a positive word. It is guaranteed to help those when you purchase any of our Y.E.S. Young Essential Skincare&reg; products on the following links. Select the one that is closest to your heart. <strong>We encourage you to not only try YES Skincare products for your own benefit, but to buy them through our special charity pages. This is your opportunity to say, \"<span style=\"color: #CD0000\">Y.E.S.</span>\" and change someone\'s life... <a href=\"[~44~]\" title=\"Your purchase benefits Angel Faces\">Do it today!</a></strong></p>\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n<h3>Wounded Warrior</h3>\r\n<p style=\"text-align: center\"><a href=\"http://www.woundedwarriorproject.org\" title=\"Donate to Wounded Warriors!\" target=\"_blank\"><img src=\"assets/images/wounded-warrior.jpg\" alt=\"Wounded Warrior Project\" border=\"0\" /><br />\r\nVisit the Website</a></p>\r\n<br />\r\n<div align=\"center\">\r\n<h3>Simple Solutions for Women</h3>\r\n<p>All profits from the sale of Linda Eastwood\'s <strong>\"Simple Solutions for Women\"</strong> book are donated to the Wounded Warrior Project.<br /><br />\r\n<a href=\"http://www.simplesolutionsforwomen.com/\" title=\"SS4W Blog\" target=\"_blank\" />\r\n<img src=\"assets/images/ssfw-book.jpg\" alt=\"Simple Solutions for Women\" border=\"0\" /><br /><br />\r\nLearn more</a></p>\r\n</div>\r\n</div>',1,6,6,1,0,1,1321138465,1,1321388420,0,0,0,1321138465,1,'',0,0,0,0,0,0,0),(24,'document','text/html','Contact','Contact Us','','contact-yes-skincare','',1,0,0,0,0,'','<div class=\"two-third\">\r\n<h2>Let\'s get in touch!</h2>\r\n<p>If you have questions or comments, we want to hear from you! Also, distributor opportunities may exist in your area. If you have an interest in selling Y.E.S. products at your location, please use the form below.\r\n<br /><br />\r\nA representative will contact you at our earliest opportunity.<br /><span style=\"font-size: 10px; color: #D80000\">All fields required.</span></p>\r\n\r\n<form action=\"http://campaign.digitalmailmaker.com/index.php\" class=\"contact\" method=\"post\" name=\"campaignform\" onsubmit=\"return validate()\" >\r\n<input type=\"hidden\" name=\"camp\" value=\"websignup\">\r\n<input type=\"hidden\" name=\"perso\" value=\"V1RJNE9VMVhiR3RsYlVadlkwaFZOR0ZuUFQwPStV\">\r\n\r\n<p><label>First Name:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"first_name\" /></p>\r\n\r\n<p><label>Last Name:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"last_name\" /></p>\r\n\r\n<p><label>Company:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"company_name\" /></p>\r\n\r\n<p><label>Address:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"address_1\" /></p>\r\n\r\n<p><label>City:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"city\" /></p>\r\n\r\n<p><label>State:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"state\" /></p>\r\n\r\n<p><label>Zip:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"zip\" /></p>\r\n\r\n<p><label>Email:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"email\" /></p>\r\n\r\n<p><label>Phone:</label>\r\n<br /><input type=\"text\" class=\"textbox\" name=\"contact_phone\" /></p>\r\n\r\n<p><label>Comments:</label>\r\n<br /><textarea class=\"textbox\" name=\"comments\"  id=\"message\"  rows=\"\" cols=\"\" /></textarea></p>\r\n\r\n<input type=\"submit\" name=\"submit_form\" value=\"Send Message\"  id=\"submit\"  />\r\n</form>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<h2>Corporate Contact:</h2>\r\n<p><span style=\"font-size: 14px; line-height: 18px; font-weight: bold\">\r\nLisa Taylor</span><br />\r\n<span style=\"font-size: 12px; line-height: 18px; font-style: italic\">Executive VP</span><br /><br />\r\n<span style=\"font-size: 13px; line-height: 18px\">Phone: 949.496.9400<br />\r\nEmail: <a href=\"mailto:lisa@yesskincare.com\">lisa@yesskincare.com</a></span></p>\r\n</div>',1,6,8,1,0,1,1321138505,1,1321382283,0,0,0,1321138505,1,'',0,0,0,0,0,0,0),(25,'document','text/html','unknown','Featured Items','','nx','',1,1321150919,0,4,0,'','[[category_products]]',1,6,0,1,0,1,1321150919,1,1321152134,0,0,0,0,0,'',0,0,0,0,0,0,1),(26,'document','text/html','Featured Items','Featured Items','','featured-items','',1,0,0,4,0,'','[[category_products]]',1,6,4,1,0,1,1321151939,1,1321151939,0,0,0,1321151939,1,'',0,0,0,0,0,0,0),(27,'document','text/html','Specials','','','specials','',1,0,0,4,0,'','[[category_products]]',1,6,6,1,0,1,1321152097,1,1321152097,0,0,0,1321152097,1,'',0,0,0,0,0,0,0),(54,'document','text/html','VIP Discounts','VIP Member Discount Purchase Page','','vip-discounts','',1,0,0,42,0,'Hi Friends! This is the discount page for our VIP members. Bookmark this page to  buy our products for 10% off. If you haven\'t tried YES Skincare, the time is now!','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Welcome to YES Skincare\'s [*ff_sales*] Page</h2>\r\n<h4 class=\"gray\">All pricing is 10% off regular cost for our VIP Members. Bookmark this page and make all your purchases here! Thank you for you business.</h4>\r\n<br clear=\"all\" />\r\n<div class=\"two-third\">\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Anti-Aging Serum</h3>\r\n<p><img src=\"assets/images/sb-serum-img.jpg\" alt=\"younger skin toner\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum</strong> - $54.00<br />\r\n1 oz / 30 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`1` &style=`prodbuybox` &sp=`VIP Member` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $27.00 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Moisture Cream</h3>\r\n<p><img src=\"assets/images/sb-cream-img.jpg\" alt=\"botanical moisturizer\" class=\"center-box\" />\r\n<br /><strong>Rejuvenating Moisture Cream</strong> - $49.50<br />\r\n2 oz / 60 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`2` &style=`prodbuybox` &sp=`VIP Member` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $24.75 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Eye Patches</h3>\r\n<p><img src=\"assets/images/sb-eye-patch.jpg\" alt=\"younger looking eyes\" class=\"center-box\" />\r\n<br /><strong>Y.E.S. Rejuvenating Eye Patches</strong> - $27.00</p>\r\n[[product_buttons? &prodID=`3` &style=`prodbuybox` &sp=`VIP Member` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $13.50 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Serum  &amp; Cream Special Offer</h3>\r\n<p><img src=\"assets/images/sb-buy-both-img.jpg\" alt=\"perfect skincare regimen\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream</strong><br />\r\n<span class=\"offer-red\">Buy Both and Save $10.00 + 10% off!</span></p>\r\n<br clear=\"all\" />\r\n[[product_buttons? &prodID=`4` &style=`prodbuybox` &sp=`VIP Member` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Special Price: $94.50 for both products<br />\r\nFlex pay: Two installments of $47.25 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">VIP Bronzer Blush</h3>\r\n<p><img src=\"assets/images/sb-bronzer-img.jpg\" alt=\"VIP Bronzer Blush Makeup\" class=\"center-box\" />\r\n<br /><strong>VIP Bronzer Blush</strong> - $20.00<br />\r\nFor the sun kissed look without the sun!</p>\r\n[[product_buttons? &prodID=`5` &style=`prodbuybox` &sp=`VIP Member` &sideCart=`on`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">VIP Lipstick</h3>\r\n<p><img src=\"assets/images/sb-lipstick-img.jpg\" alt=\"VIP Lipstick\" class=\"center-box\" />\r\n<br /><strong>VIP Lipstick - Chilili</strong> - $20.00<br />&nbsp;</p>\r\n[[product_buttons? &prodID=`6` &style=`prodbuybox` &sp=`VIP Member` &sideCart=`on`]]\r\n</div>\r\n</div>\r\n\r\n</div>\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n[[DisplayCart? &display=`product_side`]]\r\n\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<div class=\"separator-line\"></div>\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>\r\n<div class=\"clear\"></div>\r\n{{social_footer}}',1,6,0,1,0,1,1324414680,1,1325786246,0,0,0,1324414874,1,'',0,0,0,0,0,0,0),(29,'document','text/html','Health & Beauty','','','health-beauty','',1,1321376716,0,4,0,'','[[category_products]]',1,8,0,1,0,1,1321376716,1,1321639106,0,0,0,0,0,'',0,0,0,0,0,0,1),(31,'document','text/html','Y.E.S. Rejuvenating Eye Patches','Rejuvenating Eye Patches','','y.e.s.-rejuvenating-eye-patches-1321567360','',1,1321567360,0,1,0,'Y.E.S. Eye Patches contain biologically active ingredients that alleviate puffiness, dark circles, fine lines and wrinkles in record time.','<div class=\"col-510\">\r\n<img src=\"assets/images/eyepatch-collage.jpg\" alt=\"younger looking eyes men and women\" />\r\n</div>\r\n<div class=\"col-390 last\">\r\n<h2 style=\"margin-top: 0px\">What the Pros Say</h2>\r\n<img src=\"assets/images/eye-patches.jpg\" class=\"right-box\" />\r\n<p>\"When it comes to the eyes- the windows to the soul and revealer of your age; we’re loving the \"High Performance Eye Lifting & Line Smoothing Anti-Fatigue\" Eye Patches that we recently discovered from Y.E.S. Young Essential Skincare. In less time than it takes to drink a latte, you can plump up the skin around your eyes, giving them a boost while leaving you’re your skin silky smooth, soft, and the skin calmer.  </p> <p>These fabulous little patches alleviate puffiness, dark circles, and fine lines- and they do it in a super cool way. Simply place them on your eyes and in no time they dissolve- along with your wrinkles!\" Jason Salzenstein - Edge San Francisco.\r\n</p> <p>\"The eye patches have not failed me. They are perfect for when I want to smooth my under eye, lighten and d puff the eye area. My makeup applies easy and looks flawless.\" Joan Rogers, Cosmetic & Beauty Reviews\r\n</p>\r\n<p>\"The eye patches are simple and effective, easy and convenient to throw in your weekend bag. These are the perfect beauty accessory for everyone.\" Kirstyn Carlyle, HealthNewsDigest.com</p>\r\n</div>\r\n\r\n<div class=\"clear\"></div>\r\n<div class=\"separator-line\"></div>\r\n\r\n<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Y.E.S. Rejuvenating Eye Patches</h2>\r\n<h4 class=\"gray\">Finally! An effective multi-action formula for smoother, firmer and radiant skin around your eyes!</h4> \r\n\r\n<div class=\"split-left\">\r\n<div id=\"offerbox\" style=\"float: right\">\r\n<img src=\"assets/images/eye-patches.jpg\" alt=\"Rejuvenating Eye Patches\" class=\"center-box\" />\r\n<p><strong>Rejuvenating Eye Patches - $30.00</strong></p>\r\n[[product_buttons? &prodID=`3` &style=`buybox` &sideCart=`on` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $15.00 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"split-right\">\r\n<ul class=\"custom-list arrows-1\" style=\"margin-top: 35px; padding-right: 50px\">\r\n<li>Hydrates the skin over time due to a moisture retaining effect</li>\r\n<li>Calms skin irritation</li>\r\n<li>Leaves the skin perceptibly softer</li>\r\n<li>Sooth dermatological irritations and increase the elasticity and softness of the skin</li>\r\n<li>Also protects from environmental exposure to toxic pollutants</li>\r\n</ul>\r\n</div>\r\n\r\n<div class=\"clear\"></div>\r\n<p><br />Y.E.S. Eye Patches contain biologically active ingredients that alleviate puffiness, dark circles, fine lines and wrinkles in record time. They are specifically designed to treat the under eye area, actually dissolving along with your wrinkles right before your eyes. The highly effective ingredients are derived from a bio-marine origin (Chitosan, a shellfish derivative) which is prized for its moisture retaining effects along with collagen and Vitamin C. \r\n</p>\r\n<div class=\"clear\"></div>\r\n\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n<h2>Shopping Cart</h2>\r\n[[DisplayCart? &display=`product_side`]]\r\n<br clear=\"all\" />\r\n<hr />\r\n<br clear=\"all\" />\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>',1,6,5,1,0,1,1321567360,1,1324322336,0,0,0,0,0,'Rejuvenating Eye Patches',0,0,0,0,0,0,0),(34,'document','text/html','CP-24 Complex&reg;','CP-24 Complex&reg; All Natural Skin Care, Botanical Anti-Aging Products','','cp-24-complex','',1,0,0,1,0,'CP-24 Complex targets the skin cells that are responsible for the rejuvenation of the skin; decreasing visible wrinkles and stimulating dormant stem cells – creating younger, fresher-looking skin.','<div class=\"two-third\">\r\n<ul id=\"images-slider\">\r\n	<li>\r\n		<img src=\"assets/images/cp24/picture-1.jpg\" width=\"600\" height=\"350\" alt=\"image\" />\r\n	</li>\r\n	<li>\r\n		<img src=\"assets/images/cp24/picture-2.jpg\" width=\"600\" height=\"350\" alt=\"image\" />\r\n	</li>\r\n	<li>\r\n		<img src=\"assets/images/cp24/picture-3.jpg\" width=\"600\" height=\"350\" alt=\"image\" />\r\n	</li>	\r\n</ul>\r\n<h2>CP-24 Complex&reg;</h2>\r\n<p><strong>Y.E.S. Skincare\'s breakthrough formula stimulates skin cell renewal - bringing younger cells to the surface; regenerating and firming your skin.</strong>\r\n</p>\r\n<p>CP24-Complex is a breakthrough in essential skin care; utilizing organic plant cultures to maintain and enhance the function of skin stem cells. Y.E.S. Skincare\'s proprietary formula targets the skin cells that are responsible for the rejuvenation of the skin; decreasing visible wrinkles and stimulating dormant stem cells – creating younger, fresher-looking skin. \r\n</p>\r\n<p>  The skin stem cells at the epidermal-dermal junction in your skin determine the longevity of the skin cells. Our new plant stem cell technology, CP24-Complex, activates and protects these skin stem cells while delaying terminal aging of skin cells at the surface.\r\n</p>\r\n<p>  CP24-Complex is combined with powerful anti-oxidants, amino acids and organic botanicals that are essential to your skin. By combining our stem cell complex with these additional powerful ingredients we are rejuvenating skin cell DNA, the core center for all cell renewal processes, literally giving aging skin a fresh new cell.  The result is dramatically healthier skin which then minimizes the visibility of deep wrinkles and lines, improves the texture, smooths and firms your skin.\r\n</p>\r\n<p>  Using the combination of Y.E.S. Anti-Aging serum along with the Y.E.S. Rejuvenating Moisture Cream daily both morning and evening will provide all the nutrients your skin needs to maintain a healthy, youthful glow.</p>\r\n<div align=\"center\">\r\n<p><img src=\"assets/images/serum-cream-combo.jpg\" alt=\"Anti-Aging Serum & Moisture Cream\" class=\"center-box\" /><br />\r\n<div id=\"offerbox\">\r\n<p><strong>Anti-Aging Serum</strong> - 1 oz / 30 ml<br />\r\n<strong>Rejuvenating Moisture Cream</strong> - 2 oz / 60 ml<br />\r\nBoth are approximately a 60 day supply</p>\r\n[[product_buttons? &prodID=`4` &style=`buybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Special Price: $105.00 for both products<br />\r\nFlex pay: Two installments of $52.50 + S&H</p>\r\n</p>\r\n</div>\r\n<h3>Great for all skin types</h3>\r\n<h3 class=\"gray\">Dermatologist Recommended!</h3>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<h2>What the Pro\'s say:</h2>\r\n<p><strong>Beauty Expert, Anastasia Papaionou Bella Online - The Voice of Women - </strong>&ldquo;This is a  moisturizer unlike any I have tried. It smells like cake and has a gel like consistency. Like the serum, a little moisturizer goes a long way. I liked the way it made my skin feel and noticed that it stayed hydrated throughout the day.</p>\r\n \r\n<p>After a month of using these products I did notice my skin looked a lot brighter. I also noticed that they lines around my mouth seemed less noticeable and my skin felt soft and smooth.&rdquo;</p>\r\n\r\n<p><strong>Beauty Editor at Barefoot Mommies.com - </strong>&ldquo;This has got to be the BEST moisturizer I have ever tried on my face! Sometimes you add moisturizer and your face feels like you just applied a bunch of makeup to it because it feels so heavy. Y.E.S. Rejuvenating Moisture Cream is LIGHT; a little goes a long way! You can really tell it’s evening out my skin tone.</p>\r\n\r\n<p>I am 30, quite young I am always told . . . . But my skin doesn’t feel so young! I never cared for my skin when I was younger and now you can see the damage! Sun damage, never was I one to wear a sun block! My skin tone is un-even, but let me tell you . . . . With Y.E.S. my skin is looking BEAUTIFUL and young again, like it’s supposed to!</p>\r\n\r\n<p>I am honestly amazed by these products, and the Y.E.S. Anti-aging Serum is no different. This as well is a little goes a LONG way and your skin, OMG will feel so soft and silky! It will leave you looking FLAWLESS!</p>\r\n\r\n<p>Don\'t we all need flawless skin?? . . . or at least WANT flawless skin? <strong>Ladies, I’m telling you these products are amazing!</strong>&rdquo; \r\n</p>\r\n\r\n<div class=\"separator-line\"></div>\r\n<div align=\"center\">\r\n<h2 style=\"margin-bottom: 5px;\">Skincare 101</h2>\r\n<p>Y.E.S. Skincare penetrates to the<br />lower levels of the dermis<br />with\r\nCP24-Complex&reg;<br />\r\n<img style=\"padding-top: 5px;\" src=\"assets/images/dermis-diagram.jpg\" alt=\"dermis - the layers of your skin\" /></p>\r\n</div>\r\n</div>',1,6,2,1,0,1,1323199744,1,1323718114,0,0,0,1323199744,1,'',0,0,0,0,0,0,0),(50,'document','text/html','Legal Items','','','legal','',1,0,0,0,1,'','',1,6,12,1,0,1,1324159433,1,1324159433,0,0,0,1324159433,1,'',0,0,0,0,0,0,1),(51,'document','text/html','YES Skincare Privacy Policy','YES Skincare Privacy Policy','','privacy-policy','',1,0,0,50,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Young Essential Skincare - Privacy Policy</h2>\r\n<p><strong><br />\r\nProtection of Information</strong><br />\r\nYoung Essential Skincare, Inc. (Y.E.S., Inc.) values the trust its customers place in this website. Accordingly, Y.E.S., Inc. adheres to the highest ethical standards in gathering, using and safeguarding customer information that is entrusted to the company.\r\n</p>\r\n<p>\r\n<strong><br />\r\nUse and Collection of Customer Information</strong><br />\r\nY.E.S., Inc. does not rent, sell or exchange information about its customers. Access to information about our customers is restricted to the Y.E.S., 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., Inc. website must agree to safeguard customer information in strict compliance with our privacy policy.<br />\r\n<br />\r\nY.E.S., Inc. 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 />\r\n<br />\r\nY.E.S., Inc. limits access to customer information to those employees who need it to carry out their business functions. Y.E.S., Inc. 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.\r\n</p>\r\n<p>\r\n<strong><br />\r\nAccuracy and Security of Customer Information</strong><br />\r\nY.E.S., Inc. 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.<br />\r\n<br />\r\nY.E.S., Inc. will monitor and adopt, as appropriate, new technological developments that are designed to aid in ensuring the accuracy and security of customer information.<br />\r\n<br />\r\nY.E.S., Inc. enforces its policies in regard to gathering, access and use of personal customer information by its employees and authorized third parties.\r\n</p>\r\n<p>\r\n<strong><br />\r\nPersonally Identifiable Information</strong><br />\r\nY.E.S., Inc. 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. site visitors who do not want their personally identifiable information collected online are asked not to submit such information to Y.E.S., Inc..<br />\r\n<br />\r\nY.E.S., Inc. Web site visitors are informed that when they provide personally identifiable information online, that information is kept within the Y.E.S., Inc. 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. 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 />\r\n<br />\r\nIf Y.E.S., Inc. Web site visitors previously provided their e-mail addresses to Y.E.S., Inc. and would like to have their e-mail addresses removed from Y.E.S., Inc. e-mail mailing lists, please send an e-mail message to info@yesskincare.com or use the unsubscribe function contained at the bottom of any marketing email we may send. Y.E.S., Inc. informs such visitors that it will use reasonable efforts to delete their e-mail addresses from its existing files.\r\n</p>\r\n<p>\r\n<strong><br />\r\nPersonally Identifiable Information Collected Automatically</strong><br />\r\nY.E.S., Inc. 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.  Web site that are accessed or visited. Y.E.S., Inc. only collects this information in the aggregate, and only uses it to improve Y.E.S., Inc. Web sites.<br />\r\n<br />\r\nWe 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.\r\n</p>\r\n<p>\r\n&nbsp;\r\n</p>\r\n<h2><a name=\"return\" title=\"return\"></a>Y.E.S. - Return Policy</h2>\r\n<p>\r\nIf you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee (from ship date) on all products except discontinued items, no questions asked. We recommend that you send your return via UPS or insured Parcel Post for your protection and to insure prompt delivery. We\'re sorry, but shipping fees are not refundable.\r\n<br />\r\n<br />\r\nTo return your products please send the unused portion to:<br />\r\n<br />\r\n<strong>Y.E.S. Inc.<br />\r\nDirect Returns<br />\r\n269 South Beverly Drive, Suite 1171<br />\r\nBeverly Hills, CA 92012<br />\r\n</strong>\r\n<br />\r\nBe sure to enclose a copy of your receipt and the reason for your return. The estimated refund time is 10 to 15 business days from the receipt date. If you purchased Y.E.S. products at a store, salon or boutique, please contact them directly to inquire about their return policy.\r\n</p>\r\n</div>\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n{{authorize_seal}}\r\n</div>',1,6,0,1,0,1,1324159485,1,1324160094,0,0,0,1324159485,1,'',0,0,0,0,0,0,1),(38,'document','text/html','Skin Care FAQ\'s','Skin Care FAQ\'s','','skin-care-faqs','',1,0,0,1,0,'YES products are formulated to improve skin firmness, tone, and texture, and also to diminish the appearance of fine lines and wrinkles. Read our FAQ\'s to learn more about caring for your skin with YES!','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>YES Skincare FAQ\'s</h2>\r\n<p><strong>Q:  I don\'t like the way my skin looks yet I don\'t want to undergo cosmetic surgery, will your products make a big enough difference to put off the surgery?</strong><br />\r\n  A:  Our products will improve, prevent or counteract these unwanted changes.  These products are formulated to improve skin firmness, tone, and texture, and also to diminish the appearance of fine lines and wrinkles.  The CP24-Complex&reg; is clinically proven to increase cellular proliferation by 250% in 24 hours; with this rapid turnover of new cells you will see the benefits in a short period of time. It\'s never too late to start taking care of your skin and see the wonderful results!</p>\r\n<p><strong>Q:  Do I really need to use a toner?</strong><br />\r\nA: Our formulations are designed to balance the pH of your skin, therefore reducing the need for a toner.</p>\r\n<p><strong>Q:  Is your moisturizer good on different skin types?</strong><br />\r\nA:  These are products tailored for specific skin types, be it dry, oily or somewhere in between. Our formulations are a great match for dry skins, while remaining lightweight enough to work for oily to normal skin.   They are non-greasy and absorb rapidly, leaving a finish that is smooth and silky.</p>\r\n<p><strong>Q:  What is hyperpigmentation?</strong><br />\r\nA:  Hyperpigmentation refers to patchy areas of brown spots in the skin. Hyperpigmentation is a common problem for those who have had excessive sun exposure, are taking synthetic hormones or are under going hormonal changes such as pregnancy.  The CP24-Complex&reg; in combination with our botanicals can noticeably improve hyper-pigmentation giving your complexion a much more even appearance.</p>\r\n<p><strong>Q:  What are the ingredients in Y.E.S. Young Essential Skincare&reg; formulas? When can I expect to see results?</strong><br />\r\nA:  The Y.E.S. products are rich in botanicals, antioxidant vitamins and minerals, EFA\'s, multiple peptides, amino acids and our exclusive CP24-Complex&reg;. Our ingredients are particularly effective because CP-24 Complex is molecularly compatible with human tissue allowing our formulation to completely penetrate the skin.  This is extremely important as deficient skin will be dehydrated and show signs of premature aging. </p>\r\n<p>You will notice a softer, smoother complexion right away.  Clinical studies show that there is improvement to the cells deep beneath the surface of the skin within 24 hours. With continued use you will see a marked difference in approximately 2 - 6 weeks, depending upon the condition of your skin prior to use. </p>\r\n<p><strong>Q:  Do you test your products on animals?</strong><br />\r\nA:  We do not test on animals.</p>\r\n<p><strong>Q:  Where is Y.E.S. Young Essential Skincare&reg; made?</strong><br />\r\nA:  Y.E.S. Skincare products are produced at a FDA approved facility here in the U.S. </p>\r\n<p><strong>Q:  What can be done for those annoying occasional breakouts on the face?</strong><br />\r\nA:  The Y.E.S. Anti-Aging Serum is great to spot treat an occasional acne breakout.  It is highly effective without drying out your skin.  It quickly penetrates the skin, serving as an antibacterial and disinfecting agent. It will also help to accelerate the natural healing of skin irritations. </p>\r\n<p><strong>Q:  I\'ve started going through menopause and my skin has really changed. Does Y.E.S. Skincare have a product that will help with these skin changes such as very dry skin, dull, flaky, wrinkled, sagging, rough texture etc.? </strong><br />\r\nA:  Most definitely, skin changes start with pre-menopause and continue to change all the way through post-menopause, with stress and lifestyle playing an additional role. The Y.E.S. Young Essential Skincare&reg; products are designed to work together to give you the best results, addressing all of these problems</p>\r\n<p><strong>Q:  What about all of the miracles on the market?</strong><br />\r\nA:  There are many ingredients that are fantastic, but there is not a single product that you can apply and like magic will make you look like a teenager.  Great skin requires a daily routine that works in harmony with your skin\'s needs.  The key is to have products that are molecularly compatible and nourishing to your skin, these will have the biggest effect with regular use.  We have spent a great deal of time working with the best cosmetic chemists in the country to make sure that our ingredients will perform.  Nothing works in the bottle . . . get started. . . Just say, &quot;Y.E.S.&quot; to a good regular routine. </p>\r\n<p><strong>Q:  What about privacy, security, and confidentiality?</strong><br />\r\nA:  There is nothing more important to us than our relationships with our customers. The yesskincare.com  servers are secure, and are maintained in a state-of-the-art data hosting facility. We also invite you to review  our privacy policy.way through post-menopause, with stress and lifestyle playing an additional role. The Y.E.S. Young Essential Skincare&reg; products are designed to work together to give you the best results, addressing all of these problems. </p>\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n<div align=\"center\">\r\n\r\n<h2>Y.E.S. Skincare Products</h2>\r\n<p><img src=\"assets/images/sb-buy-both-img.jpg\" class=\"center-box\" alt=\"Serum & Cream Skincare\" /><br />\r\n<strong>Anti-Aging Serum</strong> - 1oz / 30ml<br />\r\n<strong>Rejuvenating Moisture Cream</strong><br />2oz / 60ml<br />\r\n<div class=\"special-offer\">Buy Both and Save $10.00!</span></div></p>\r\n[[product_buttons? &prodID=`4` &style=`sidebuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Special Price: $105.00 for both products<br />Flex pay: Two installments of $52.50 + S&H</p>\r\n\r\n<div class=\"separator-line\"></div>\r\n\r\n<h2>Rejuvenating Eye Patches</h2>\r\n<p><img src=\"assets/images/sb-eye-patch.jpg\" alt=\"Rejuvenating Eye Patches\" class=\"center-box\" /></p>\r\n[[product_buttons? &prodID=`3` &style=`sidebuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $15.00 + S&H</p>\r\n\r\n</div>\r\n<div class=\"separator-line\"></div>\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>\r\n<div class=\"clear\"></div>\r\n<div class=\"separator-line last\"></div>\r\n{{social_footer}}',1,6,11,1,0,1,1323302193,1,1324340818,0,0,0,1323302193,1,'',0,0,0,0,0,0,0),(40,'document','text/html','Camp Pendleton Ball Gown Giveaway 2002','Camp Pendleton Ball Gown Giveaway 2002','','camp-pendleton-ball-gown-giveaway-2002','',1,0,0,0,0,'','<h2>Camp Pendleton Ball Gown Giveaway 2002</h2>\r\n\r\n<div class=\"one-half\">\r\n\r\n\r\n<p>From: Marjorie Love<br />          \r\nTo: \"Linda Eastwood\"<br />	\r\nCc: \"Macfarlane\", Maj Scott N Ingersoll, Ms Rose O \"Ewers, LtCol John R\"<br />\r\nSent: Monday, October 28, 2002 I :58 PM	</p>\r\n\r\n<p>Fw: Ball Gown Giveaway Photos<br />\r\n<br />\r\nLinda:<br />\r\nOn behalf of the Camp Pendleton Armed Services YMCA, please accept our heartfelt THANK YOU for the tremendous amount of selfless volunteer work you did to execute the first-ever ball gown giveaway aboard base on Saturday!</p>\r\n\r\n<p>Our sign-in sheets indicate that 323 women actually tried on and received a lovely fitted ball gown-- W*O*W!  Your focus and determination on this project was exceptionally noteworthy and inspirational to many of us. All of the recipients seemed deeply thankful and delighted. The personal account of the woman who was no longer forced to choose between celebrating her child\'s birthday and attending the ball, due to lack of money, was very touching.</p>\r\n\r\n<p>Thanks again for your caring and hard work. It\'s via generous people like you that the Armed Services YMCA is able to accomplish its important mission of serving the military. (see photos below.) –Marjorie</p>\r\n\r\n<p>MARJORIE LOVE<br />\r\nExecutive Director<br />\r\nArmed Services YMCA/Camp Pendleton<br />\r\n\"SERVING THOSE WHO SERVE AMERICA</p>\r\n<p><img src=\"assets/images/camp-pendleton-letter.jpg\" /></p>\r\n</div>\r\n<div class=\"one-half last\">\r\n<p><img src=\"assets/images/camp-pendleton-dresses.jpg\" /></p>\r\n</div>',1,6,10,1,0,1,1323310202,1,1323310519,0,0,0,1323310202,1,'',0,0,0,0,0,0,1),(41,'document','text/html','Y.E.S. Skincare Product Catalog','Y.E.S. Skincare Product Catalog','','products','',1,0,0,1,0,'','<div class=\"two-third\">\r\n<h2>Y.E.S. Young Essential Skincare&reg; <span class=\"gray\">- Dermatologist Recommended Products!</span></h2>\r\n<br clear=\"all\" />\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3>Y.E.S. Anti-Aging Serum</h3>\r\n<p><img src=\"assets/images/sb-serum-img.jpg\" alt=\"younger skin toner\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum</strong> - $60.00<br />\r\n1 oz / 30 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`1` &style=`prodbuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $30.00 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3>Y.E.S. Rejuvenating Moisture Cream</h3>\r\n<p><img src=\"assets/images/sb-cream-img.jpg\" alt=\"botanical moisturizer\" class=\"center-box\" />\r\n<br /><strong>Rejuvenating Moisture Cream</strong> - $55.00<br />\r\n2 oz / 60 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`2` &style=`prodbuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $27.50 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3>Y.E.S. Rejuvenating Eye Patches</h3>\r\n<p><img src=\"assets/images/sb-eye-patch.jpg\" alt=\"younger looking eyes\" class=\"center-box\" />\r\n<br /><strong>Y.E.S. Rejuvenating Eye Patches</strong> - $30.00</p>\r\n[[product_buttons? &prodID=`3` &style=`prodbuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $15.00 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3>Y.E.S. Serum  &amp; Cream Special Offer</h3>\r\n<p><img src=\"assets/images/sb-buy-both-img.jpg\" alt=\"perfect skincare regimen\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream</strong><br />\r\n<span class=\"offer-red\">Buy Both and Save $10.00!</span></p>\r\n<br clear=\"all\" />\r\n[[product_buttons? &prodID=`4` &style=`prodbuybox` &sideCart=`off` &flexPay=`on`]]\r\n<p class=\"offer\">Special Price: $105.00 for both products<br />\r\nFlex pay: Two installments of $52.50 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3>VIP Bronzer Blush</h3>\r\n<p><img src=\"assets/images/sb-bronzer-img.jpg\" alt=\"VIP Bronzer Blush Makeup\" class=\"center-box\" />\r\n<br /><strong>VIP Bronzer Blush</strong> - $20.00<br />\r\nFor the sun kissed look without the sun!</p>\r\n[[product_buttons? &prodID=`5` &style=`prodbuybox` &sideCart=`off`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3>VIP Lipstick</h3>\r\n<p><img src=\"assets/images/sb-lipstick-img.jpg\" alt=\"VIP Lipstick\" class=\"center-box\" />\r\n<br /><strong>VIP Lipstick - Chilili</strong> - $20.00<br />&nbsp;</p>\r\n[[product_buttons? &prodID=`6` &style=`prodbuybox` &sideCart=`off`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div style=\"padding-left: 200px; padding-top: 20px; margin-top: 20px; text-align: center;\">\r\n<img src=\"assets/images/comodo_seal.gif\" alt=\"Comodo Security Seal\" style=\"padding: 15px 150px 0 0\" />\r\n <!-- (c) 2006. Authorize.Net is a registered trademark of Lightbridge, Inc. --> <div class=\"AuthorizeNetSeal\" style=\"float: left\"> <script type=\"text/javascript\" language=\"javascript\">var ANS_customer_id=\"740c5dec-9dce-4e24-9a0d-b494e409459e\";</script> <script type=\"text/javascript\" language=\"javascript\" src=\"//VERIFY.AUTHORIZE.NET/anetseal/seal.js\" ></script> <a href=\"https://www.authorize.net/\" id=\"AuthorizeNetText\" target=\"_blank\">Online Payments</a> </div> \r\n</div>\r\n</div>\r\n\r\n\r\n<div class=\"one-third last\">\r\n<div align=\"center\">\r\n<h2 class=\"gray\">Skincare 101</h2>\r\n<h3>Seaweed Benefits</h3>\r\n<p><img src=\"assets/images/seaweed-image.jpg\" /></p>\r\n</div>\r\n<p>\r\nSeaweed’s most active element is algin. Algin (Sodium Alginate) has numerous properties, vitamins, minerals, and amino acids that collectively assist in suspending the appearance of aging in skin. Amino acids reestablish protein metabolism and polysaccharides hold water for hydration.  Seaweed’s numerous vitamins (A, B1, B2, C, D, E, and more) form an essential complex for overcoming the smallest deficiency. Fresh cell-burst seaweed stimulates tissue metabolism by reducing toxins leaving skin revitalized and protected from the elements that attack it.\r\n<br /><br />\r\nPut simply it keeps skin clean and strong. Out with the bad and in with the good.  Having grown in such a nutrient rich environment one can in essence be exposed to such nutrients by applying directly to the skin and enjoy a natural phenomenon leaving skin protected and tight.  \r\n<div align=\"center\">\r\n<h3>Tea Tree Benefits</h3>\r\n<p><img src=\"assets/images/tea-tree-image.jpg\" /></p>\r\n</div>\r\n<p>Tea tree oil has anti-infectious and anti-fungal properties as well as building the strength of the immune system.  It even has anti-bacterial properties that help remedy conditions such as acne and rashes.  \r\n<br /><br />\r\nTo simplify the experience and keep as close to the natural ingredients as possible Tea Tree was included  along with a select few other  ingredients in the unique formula of Y.E.S. Anti-Aging Serum; it is very effective without  drying, it works on all skin types, even sensitive skin.  Like peanut butter and jelly it goes best with Y.E.S. Moisturizing Cream and Eye Patches.</p>\r\n<div style=\"padding-top: 20px; margin-top: 20px; border-top: 1px solid #e1e1e1\">\r\n{{return_policy}}\r\n</div>\r\n</div>\r\n<div class=\"clear\"></div>\r\n{{social_footer}}',1,6,1,1,0,1,1323361014,1,1324337370,0,0,0,1323361014,1,'Product Catalog',0,0,0,0,0,0,0),(42,'document','text/html','Friends & Family Discounts','Friends & Family Discounts','','ff','',1,0,0,0,1,'','',1,6,11,1,0,1,1323367193,1,1323367240,0,0,0,1323367193,1,'',0,0,0,0,0,0,1),(43,'document','text/html','Mark Thompson\'s Friends and Family Discounts','Mark Thompson\'s Friends and Family Discounts','','mt','',1,0,0,42,0,'Hi Friends! This is my personal page on YES Skincare where you can buy their products for 10% off. If you haven\'t heard of YES Skincare, find out! For some of you, the price might seem high, but it is by far the best anti-aging skin care product on the market.','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Welcome to [*ff_sales*]\'s Friends & Family Discount Page</h2>\r\n<h4 class=\"gray\">All pricing is 10% off regular cost.</h4>\r\n<br clear=\"all\" />\r\n<div class=\"two-third\">\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Anti-Aging Serum</h3>\r\n<p><img alt=\"younger skin toner\" class=\"center-box\" src=\"assets/images/sb-serum-img.jpg\" />\r\n<br /><strong>Anti-Aging Serum</strong> - $54.00<br />\r\n1 oz / 30 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`1` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $27.00 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Moisture Cream</h3>\r\n<p><img alt=\"botanical moisturizer\" class=\"center-box\" src=\"assets/images/sb-cream-img.jpg\" />\r\n<br /><strong>Rejuvenating Moisture Cream</strong> - $49.50<br />\r\n2 oz / 60 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`2` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $24.75 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Eye Patches</h3>\r\n<p><img alt=\"younger looking eyes\" class=\"center-box\" src=\"assets/images/sb-eye-patch.jpg\" />\r\n<br /><strong>Y.E.S. Rejuvenating Eye Patches</strong> - $27.00</p>\r\n[[product_buttons? &prodID=`3` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $13.50 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Serum  &amp; Cream Special Offer</h3>\r\n<p><img alt=\"perfect skincare regimen\" class=\"center-box\" src=\"assets/images/sb-buy-both-img.jpg\" />\r\n<br /><strong>Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream</strong><br />\r\n<span class=\"offer-red\">Buy Both and Save $10.00 + 10% off!</span></p>\r\n<br clear=\"all\" />\r\n[[product_buttons? &prodID=`4` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Special Price: $94.50 for both products<br />\r\nFlex pay: Two installments of $47.25 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">VIP Bronzer Blush</h3>\r\n<p><img alt=\"VIP Bronzer Blush Makeup\" class=\"center-box\" src=\"assets/images/sb-bronzer-img.jpg\" />\r\n<br /><strong>VIP Bronzer Blush</strong> - $20.00<br />\r\nFor the sun kissed look without the sun!</p>\r\n[[product_buttons? &prodID=`5` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">VIP Lipstick</h3>\r\n<p><img alt=\"VIP Lipstick\" class=\"center-box\" src=\"assets/images/sb-lipstick-img.jpg\" />\r\n<br /><strong>VIP Lipstick - Chilili</strong> - $20.00<br />&nbsp;</p>\r\n[[product_buttons? &prodID=`6` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on`]]\r\n</div>\r\n</div>\r\n\r\n</div>\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n[[DisplayCart? &display=`product_side`]]\r\n\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<div class=\"separator-line\"></div>\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>\r\n<div class=\"clear\"></div>\r\n{{social_footer}}',1,6,0,1,0,1,1323367232,1,1325786331,0,0,0,1323367232,1,'',0,0,0,0,0,0,0),(44,'document','text/html','Angel Faces Charity Page','Buy YES Products here to donate 10% of the purchase to Angel Faces','','angel-faces-charity','',1,0,0,42,0,'','<div class=\"two-third\">\r\n\r\n<h2>Say &ldquo;YES&rdquo; to an Angel Face!</h2>\r\n\r\n<p><img src=\"/assets/images/lesia-cartelli.jpg\" alt=\"Lesia Cartelli - Angel Faces Founder\" class=\"right\" />\r\n<strong>Angel Faces — healing retreats are designed to inspire adolescent girls with severe facial disfigurements to achieve their optimum potential.</strong></p>\r\n\r\n<p>Established in 2003, Angel Faces is an innovative healing retreat for adolescent girls with facial disfigurements. This unique retreat focuses on the healing process within a holistic framework of mind, heart and spirit.</p>\r\n\r\n<h3>You Can Help!</h3>\r\n\r\n<p><strong>Purchase Y.E.S. Young Essential Skincare from this page and 20% of the sale goes directly to Angel Faces!</strong> \r\n</p>\r\n<p>When a product can sooth and moisturize burned skin whether from chemical burns or the ravages of fire, helping to restore the surface; it doesn\'t get any better than that. Lesia Cartelli goes to the &ldquo;Nth&rdquo; degree to find items that will help those that she takes under her wing.</p>\r\n\r\n<br clear=\"all\" />\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Anti-Aging Serum</h3>\r\n<p><img src=\"assets/images/sb-serum-img.jpg\" alt=\"younger skin toner\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum</strong> - $60.00<br />\r\n1 oz / 30 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`1` &style=`prodbuybox` &sp=`Angel Faces` &sideCart=`on` &sales=`AngelFaces`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Moisture Cream</h3>\r\n<p><img src=\"assets/images/sb-cream-img.jpg\" alt=\"botanical moisturizer\" class=\"center-box\" />\r\n<br /><strong>Rejuvenating Moisture Cream</strong> - $55.00<br />\r\n2 oz / 60 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`2` &style=`prodbuybox` &sp=`Angel Faces` &sideCart=`on` &sales=`AngelFaces`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Eye Patches</h3>\r\n<p><img src=\"assets/images/sb-eye-patch.jpg\" alt=\"younger looking eyes\" class=\"center-box\" />\r\n<br /><strong>Y.E.S. Rejuvenating Eye Patches</strong> - $30.00</p>\r\n[[product_buttons? &prodID=`3` &style=`prodbuybox` &sp=`Angel Faces` &sideCart=`on` &sales=`AngelFaces`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Serum  &amp; Cream Special Offer</h3>\r\n<p><img src=\"assets/images/sb-buy-both-img.jpg\" alt=\"perfect skincare regimen\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream</strong><br />\r\n<span class=\"offer-red\">Buy Both and Save $10.00!</span></p>\r\n<br clear=\"all\" />\r\n[[product_buttons? &prodID=`4` &style=`prodbuybox` &sp=`Angel Faces` &sideCart=`on` &sales=`AngelFaces`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div style=\"padding-left: 200px; padding-top: 20px; margin-top: 20px; text-align: center;\">\r\n<img src=\"assets/images/comodo_seal.gif\" alt=\"Comodo Security Seal\" style=\"padding: 15px 150px 0 0\" />\r\n <!-- (c) 2006. Authorize.Net is a registered trademark of Lightbridge, Inc. --> <div class=\"AuthorizeNetSeal\" style=\"float: left\"> <script type=\"text/javascript\" language=\"javascript\">var ANS_customer_id=\"740c5dec-9dce-4e24-9a0d-b494e409459e\";</script> <script type=\"text/javascript\" language=\"javascript\" src=\"//VERIFY.AUTHORIZE.NET/anetseal/seal.js\" ></script> <a href=\"https://www.authorize.net/\" id=\"AuthorizeNetText\" target=\"_blank\">Online Payments</a> </div> \r\n</div>\r\n</div>\r\n\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n[[DisplayCart? &display=`product_side`]]\r\n<br clear=\"all\" />\r\n<div class=\"separator-line\" style=\"clear:both\"></div>\r\n\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>\r\n</div>\r\n',1,6,1,1,0,1,1323382842,1,1325786378,0,0,0,1323382842,1,'',0,0,0,0,0,0,0),(45,'document','text/html','Press Releases','Press Releases','','press-releases','',1,0,0,20,1,'','\r\n[[Ditto? &startID=`45` &total=`6` &tpl=`ditto_news` &paginate=`1` &extenders=`summary`  &paginateAlwaysShowLinks=`1` ]]\r\n',1,6,12,1,0,1,1323469330,1,1323473665,0,0,0,1323469330,1,'',0,0,0,0,0,0,0),(49,'document','text/html','YES Skincare in the News','YES Skincare in the News','','yes-skincare-in-the-news','',1,0,0,20,0,'','<div id=\"main-content\" class=\"mc-left\">\r\n<div style=\"border: 1px solid #c6c6c6; background-color: #FFF; padding: 15px 0 5px 15px; text-align: center\"><img src=\"assets/images/news1.jpg\" />\r\n<img src=\"assets/images/news2.jpg\" />\r\n<img src=\"assets/images/news3.jpg\" /></div>\r\n</div>\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n<h2>Appearances</h2>\r\n<p>Elevate Magazine<br />\r\n<br />Woman\'s Day Magazine<br />\r\n<br />Parenting Magazine<br />\r\n<br />I Do for Georgia Brides Magazine<br />\r\n<br />Soirée<br />\r\n<br />Daily Herald Chicago<br />\r\n<br />TheCelebrityCafe.com<br />\r\n<br />InStyle.com<br />\r\n<br />Skin &amp; Allergy News<br />\r\n<br />Aesthetic Trends &amp; Technologies<br />\r\n<br />Les Nouvelles Esthetiques &amp; Spa<br />\r\n<br />Cosmetic &amp; Beauty Review<br />\r\n<br />Renew<br />\r\n<br />Scarletsletter.net<br />\r\n<br />Beautyiswithin.net<br />\r\n<br />Beauty Launch Pad<br />\r\n<br />GCI<br />\r\n<br />KidzWorld.com<br />\r\n<br />EntreeNews.com<br />\r\n<br />WomansDay.com<br />\r\n<br />Rhode Island Roads<br />\r\n<br />National Examiner<br />\r\n<br />Georgia Family Magazine<br />\r\n<br />Women\'s Health<br />\r\n<br />Reinventing Beauty<br />\r\n<br />InLand Empire Magazine<br />\r\n<br />Redbook Magazine<br />\r\n<br />TravelGirl Magazine<br />\r\n<br />Second City Stlyle.com<br />\r\n<br />Luxury Specialist.com<br />\r\n<br />Health News Digest.com<br />\r\n<br />Edge.com<br />\r\n<br />Shiny Gloss.com<br />\r\n<br />PapierDoll.net<br />\r\n<br />Mom Bloggers Club.com<br />\r\n<br />One Chic Mama.com<br />\r\n<br />Lemon Drop.com<br />\r\n<br />InTouchWeekly.com<br />\r\n<br />ABeautifulSentiment.com<br />\r\n<br />What\'shaute.com<br />\r\n<br />Bridal Guide.com<br />\r\n<br />Shamansweres.com<br />\r\n<br />That\'s so courturable.com<br />\r\n<br />Modern Salon<br />\r\n<br />Patti\'s Prattles<br />\r\n<br />Womansday.com<br />\r\n<br />InTouchWeekly.com<br />\r\n<br />InStyle.com<br />\r\n<br />MomLogic.com<br />\r\n<br />StyleForFree.com<br />\r\n<br />Ma-petite-chou.com<br />\r\n<br />SheSheMe.com<br />\r\n<br />MakeupUniversity.com<br />\r\n<br />CBS &quot;Better Mornings&quot;<br />\r\n<br />Review! by Jud y Reppart<br />\r\n<br />EntreeNews.com<br />\r\n<br />TheCelebrityCafe.com<br />\r\n<br />ExclusivelyWeddings.com<br />\r\n<br />TheFashionableHousewife.com<br />\r\n<br />Fabulousoverforty.com<br />\r\n<br />TheDietPulpit.com<br />\r\n<br />MarieClaire.com<br />\r\n<br />Boomerful.com<br />\r\n<br />The Advise Sisters<br />\r\n<br />HelloDollface.com<br />\r\n<br />LASplash.com<br />\r\n<br />LivelyWomen<br />\r\n<br />Luxist.com<br />\r\n<br />KidzWorld.com<br />\r\n<br />DivainaCarryon.com<br />\r\n<br />Makeherup.com</p>\r\n</div>',1,6,1,1,0,1,1323472208,1,1323472208,0,0,0,1323472208,1,'',0,0,0,0,0,0,0),(46,'document','text/html','Beauty IS Skin Deep','Beauty IS Skin Deep with Y.E.S.Young Essential Skincare&reg;','','beauty-is-skin-deep','',1,0,0,45,0,'Beverly Hills, CA (Jan. 24, 2008)  -- Two new anti-aging skincare products have been launched by Young Essential Skincare (Y.E.S.). Their exclusive new CP24-Complex adds the finishing touch to the intensive skin care line. In two simple steps, the newly developed Y.E.S. Anti-Aging Serum and Y.E.S. Rejuvenating Moisture Cream prevents damage, protects against free radicals and rejuvenates all skin types from young women looking to ward off the signs of aging to more mature women who are seeking repair solutions.','<h4>Beauty IS Skin Deep with Y.E.S.Young Essential Skincare&reg;</h4>\r\n<p><br /><strong>BEVERLY HILLS, Calif., Jan. 24, 2008 (PRIME NEWSWIRE)</strong> -- Two new anti-aging skincare products have been launched by Young Essential Skincare (Y.E.S.). Their exclusive new CP24-Complex adds the finishing touch to the intensive skin care line. In two simple steps, the newly developed Y.E.S. Anti-Aging Serum and Y.E.S. Rejuvenating Moisture Cream prevents damage, protects against free radicals and rejuvenates all skin types from young women looking to ward off the signs of aging to more mature women who are seeking repair solutions. With an acclaimed 250% cellular proliferation in 24 hours, the product is revolutionary. </p>\r\n<p><br />CEO of Y.E.S. Linda Eastwood knows a thing or two about beauty as she\'s spent some 20 years in the industry as a TV fashion segment producer and on-air personality, model, teacher and author of the popular book, Simple Solutions for Women! (<a href=\"http://www.simplesolutionsforwomen.com\" title=\"Fashion, makeup and skin care advice for women\" target=\"_blank\" />www.simplesolutionsforwomen.com</a>). Working with the rich and famous as well as today\'s over worked women she is dedicated to helping them from coast to coast. Eastwood knows the new formulas for her products are real help for real women. Eastwood says, &quot;Our products work where others don\'t, leaving women with a drawer full of disappointments. My customers love the rapid absorption and the immediate difference in the surface of their skin.&quot; </p>\r\n<p><br />While many celebrities sing her praises including Ivana Trump, &quot;I have always appreciated your service and the quality of your products...&quot; and Kathy Lee Gifford, &quot;My hat\'s off to Linda Eastwood, a truly talented and dedicated woman. I admire her creativity and tenacity,&quot; it is the everyday woman who most impacts Ms. Eastwood and the products she creates. </p>\r\n<p><br />Janet O\'Connor, President, O\'Connor Creative Inc. said, &quot;As a skin care consultant I am very particular about my products. I really like the two easy steps which your products offer as they save me a lot of time. Most products on the market are so greasy. Y.E.S. is light and feels wonderful and the fragrance is mild. My skin feels great - soft, smooth, I think they\'re really terrific.&quot; </p>\r\n<p><br />Lesia Cartelli, Founder of Angel Faces (<a href=\"http://www.angelfacesretreat.org\" title=\"retreat for young women affected from disfigurement from burns or accidents\" target=\"_blank\" />www.angelfacesretreat.org</a>) an organization that provides help to young burn victims, discovered great results from Y.E.S. products. Lesia Cartelli said, &quot;When your skin has been challenged with a serious burn injury as mine, it\'s hard to find a skin care product that soothes and moisturizes. I\'m relieved to have been introduced to the Y.E.S. line of products. By day three, I caught myself noticing how refreshed and nourished myface looked and felt. YES! I found a winner!&quot; As a charitable follow-up, Ms. Eastwood has set up a special link that will benefit burn victims by donating 30% of all sales from the following web page to Angel Faces (<a href=\"http://www.yesskincare.com/angel-face-partnership.php\"  title=\"New skincare products also benefit Angel Faces Retreat\" />http://www.yesskincare.com/angel-face-partnership.php</a>)</p>\r\n\r\n<p><br />The Young Essential Skincare line of products are a result of Eastwood\'s many years of work as a fashion and marketing executive and then as CEO of a high-end wholesale specialty line of skincare products sold exclusively to Plastic Surgeons and Dermatologists. Along with her team of scientists and chemists they work to develop new formulas that will produce superior results but at affordable prices for the retail market. </p>\r\n<p><br />Just say Y.E.S. to great looking skin! This exclusive line of skincare products by Y.E.S. are also offered on line at&nbsp;<a href=\"http://www.yesskincare.com\" title=\"YES Skincare\'s online store\" />www.yesskincare.com</a>&nbsp;where you can order a Free Sample!&nbsp;</p>\r\n<p><br /><a href=\"/assets/files/Yes-Prime-Newswire.pdf\" title=\"Prime Newswire press release\" />Download in PDF format</a></p>',1,6,0,1,0,1,1323469370,1,1323474504,0,0,0,1323469370,1,'',0,0,0,0,0,0,0),(47,'document','text/html','A One-Two Punch for Your Skin','A One-Two Punch for Your Skin','','a-one-two-punch-for-your-skin','',1,0,0,45,0,'New York, NY (April 8, 2008) – Beauty icon Coco Chanel once said, “Nature gives you the face you have at twenty; it is up to you to merit the face you have at fifty.â€ Now, more than 85 years after Coco Chanel’s emergence on the fashion and beauty world, her philosophy has enlightened millions of women to the benefits of taking advantage of all science has to offer when it comes to their appearance.','<h4>A ONE-TWO PUNCH FOR YOUR SKIN</h4>\r\n<p><strong>Y.E.S. Young Essential Skincare Launches Dynamic Anti-Aging Duo:<br />\r\nA Breakthrough in the Age-Old Battle of Younger Looking Skin</strong></p>\r\n\r\n<p>\r\n<strong>New York, NY (April 8, 2008)</strong> – Beauty icon Coco Chanel once said, “Nature gives you the face you have at twenty; it is up to you to merit the face you have at fifty.â€ Now, more than 85 years after Coco Chanel’s emergence on the fashion and beauty world, her philosophy has enlightened millions of women to the benefits of taking advantage of all science has to offer when it comes to their appearance. While science has not yet discovered the fountain of youth, <strong>Y.E.S. Young Essential Skincare’s</strong> products are today’s most effective way to erase the signs of aging from the face showing results from the very first application.\r\n<br /><br />\r\nY.E.S. Young Essential Skincare’s newly developed Anti-Aging Serum and Rejuvenating Moisture Cream is a powerful anti-aging duo that prevents damage, protects against free radicals and rejuvenates all skin types.  The serum and cream are formulated to improve skin firmness, tone and texture, and also to diminish the appearance of fine lines and wrinkles.  Y.E.S.’s exclusive CP24-Complex™ is clinically proven to increase cellular proliferation by 250% in 24 hours. In recent years, the demand of anti-aging treatments and procedures has increased in record numbers.  Women and men are willing to undergo painful procedures to turn back the hands of time at any cost.  Y.E.S. is an alternative for those who don\'t want to endure the dangers of surgery or can\'t afford the cost of an operation. \r\n<br /><br />\r\n“The Aging Serum and Rejuvenating Moisture Cream is a two-punch approach to anti-aging,â€ says <strong>Linda Eastwood, CEO of Y.E.S. and an expert in the beauty industry for over 20 years</strong>. “From drug stores to high-end department stores, there are an infinite number of anti-aging skincare products available - it may all seem overwhelming – especially those products that come in four or even five-step systems. Today’s woman is just too busy with demanding schedules and responsibilities to spend most of the mornings on their beauty regiments. Y.E.S. products are affordable and simple with multi-functional purposes designed by highly-trained professional experts who have spent years combining state-of-the-art technology formula with innovative ingredients to achieve the best possible results for every skin type.â€</p>\r\n\r\n\r\n<br /><h3>The Dynamic Duo</h3>\r\n\r\n\r\n<p><strong>Y.E.S. Anti-Aging Serum</strong> (for all skin types). Serums have been recognized as the most efficient vehicles to deliver ingredients with therapeutic effects. Our CP24-Complex™ has the most complete method to penetrate layers of the skin, with a targeted mission of increasing cellular proliferation by 250% within 24 hours. You will notice the deep tissue cellular changes as the tone and texture improves within a few weeks. This delivery system addresses your immediate skin concerns from wrinkles, scars and dullness to age spots, acne and sensitivities. Cost: $60.00</p>\r\n<ul class=\"custom-list arrows-2\">\r\n<li>Reduces the appearance of fine lines & wrinkles</li>\r\n<li>Rejuvenates sun aged skin</li>\r\n<li>Stimulates cell renewal</li>\r\n<li>Boosts collagen</li>\r\n<li>Tones & Tightens</li>\r\n<li>Smoothes & Brightens</li>\r\n<li>Optimizes Hydration</li>\r\n<li>Antimicrobial</li>\r\n<li>Antibacterial</li>\r\n</ul>\r\n\r\n<p><br /><strong>Y.E.S. Rejuvenating Moisture Cream</strong> (for all skin types). Y.E.S. Skin Perfecting Moisturizer with CP24-Complex™ is the most advanced age-defying treatment that instantly goes to work stimulating new cell production, bringing new younger cells to the surface. Our proprietary formulation rich in seabuckthorn (instrumental in promoting cell tissue regeneration), all-natural organic botanicals, pentapeptides, powerful anti-oxidant vitamins, collagen builders and minerals along with amino acids allows the skin to renew, repair and protect itself as nature intended, reversing the signs of aging. The rapid absorption makes it perfect for all skin types, never greasy; the cream/gel like consistency makes it extremely hydrating, leaving the surface velvety smooth. Cost: $55.00</p>\r\n<ul class=\"custom-list arrows-2\">\r\n<li>Reduces the signs of aging</li>\r\n<li>Maximizes Hydration</li>\r\n<li>Tones & Tightens</li>\r\n<li>Instantly Softens</li>\r\n<li>Rejuvenates</li>\r\n<li>Brightens</li>\r\n</ul>\r\n\r\n<p><br />Through meticulous research and development, scientific advances, professional expertise and the understanding of a customer’s well-being, Y.E.S. is continuing to change the face of beauty.  “Our anti-aging products are truly a remarkably effective system that combines innovative ingredients that work in tandem to fight even the earliest signs of aging skin,\" said Linda.  \"We\'re eager to introduce the Dynamic Duo to the beauty market as it\'s the most revolutionary skincare system that industry has ever seen. At Y.E.S., we create a beauty experience that exceeds our customers\' expectations continuing to raise the bar for excellence.â€ </p>\r\n\r\n<p><br /><strong><u>Meet the Beauty Innovator</u></strong><br />\r\nWith more than 20 years in the beauty and fashion industry, Linda Eastwood is a published author and CEO of Y.E.S. Young Essential Skincare.  Under Linda’s leadership and guidance, Y.E.S. is positioned as a leading brand creating trends and driving markets with a simple and differentiated message: provide customers with results-driven products.  In addition to her role as CEO, Linda continues to have her finger on the pulse of today’s contemporary culture as the fashion editor of LA Style Magazine.  With the extensive knowledge of new advancements and technology in the beauty industry – from the business sector to product development - Linda is elevating the industry to a new level of excellence.  Linda is a visionary and industry leader as she continues making an impact as a model, a teacher, an author, jewelry designer, fashion expert and philanthropist.</p>\r\n<p><br />\r\n<strong><u>About Y.E.S. Young Essential Skincare</u></strong><br /> \r\nY.E.S. Young Essential Skincare is a premier skincare line with results-driven anti-aging solutions for women. Y.E.S. dramatically increases the moisture, elasticity and firmness with the exclusive CP24-Complex™.  Y.E.S. unique formulas will protect against free radical damage, the main cause of aging and sagging skin.  The combination of Y.E.S. Anti-Aging Serum together with the Y.E.S. Rejuvenating Moisture Cream (with its unique composition being a combination of a gel and cream all in one) stimulates collagen synthesis immediately improving the texture, reducing fine lines and wrinkles, leaving your skin feeling silky smooth. </p>\r\n\r\n<p><br /><strong><u>About Y.E.S. & Angel Faces</u></strong><br />\r\nAngel Faces, established in 2003, is a non profit organization, whose mission is to provide innovative healing retreats designed for adolescent girls with facial disfigurements to achieve their optimum potential and develop meaningful relationships for themselves, their families and their communities. Y.E.S. partnered with Angle faces to support and encourage young women that true beauty is obtained from within. Y.E.S. customers may show their support by purchasing products with 30% of the sale donated directly to Angel Faces.  For more information, go to <a href=\"[~44~]\" title=\"angel face partnership\" />www.yesskincare.com/angel-face-partnership</a>. </p>\r\n\r\n<div align=\"center\">\r\n<p><br /><strong>If you would like to speak with Linda Eastwood or to request Y.E.S. Young Essential Skincare products, please contact Lisa Taylor at <a href=\"mailto:lisa@yesskincare.com\" />lisa@yesskincare.com</a> or 949.496.9400</strong>\r\n<br /><br />\r\n**EDITORS, IF YOU WOULD LIKE Y.E.S. SAMPLES FOR EDITORIAL CONSIDERATION, READER GIVEAWAYS OR NEED HIGH-RES PRODUCT IMAGES, PLEASE LET US KNOW.**\r\n</p>',1,6,1,1,0,1,1323469478,1,1324327184,0,0,0,1323469478,1,'',0,0,0,0,0,0,0),(48,'document','text/html','For Your Eyes Only','For Your Eyes Only','','for-your-eyes-only','',1,0,0,45,0,'New York, NY (June 4, 2008) – Whether you just pulled an all-nighter in the office or maybe Mother Nature is finally taking its toll, women everywhere have been plagued with puffy eyes, dark circles and wrinkles. From drug store aisles to invasive and expensive cosmetic surgeries, it seems the choices to eliminate these beauty quandaries are limitless – and overwhelming. However, today’s woman is too busy with demanding schedules and responsibilities to spend mornings on their beauty regiment.','<h2>FOR YOUR EYES ONLY</h2>\r\n\r\n<p><strong>Y.E.S. Young Essential Skincare’s Rejuvenating Eye Patches<br />Keep Your Eyes Looking Healthy and Bright</strong></p>\r\n\r\n<p><strong>New York, NY (June 4, 2008)</strong> – Whether you just pulled an all-nighter in the office or maybe Mother Nature is finally taking its toll, women everywhere have been plagued with puffy eyes, dark circles and wrinkles.  From drug store aisles to invasive and expensive cosmetic surgeries, it seems the choices to eliminate these beauty quandaries are limitless – and overwhelming.  However, today’s woman is too busy with demanding schedules and responsibilities to spend mornings on their beauty regiment.  For the first time, <strong>Y.E.S. Young Essential Skincare</strong>, a premier skincare line with results-driven anti-aging solutions for women, is offering consumers a definitive solution to rejuvenate the eyes and alleviate puffiness, dark circles, fine lines and wrinkles in minutes.  Naturally formulated, <strong>Y.E.S. Rejuvenating Eye Patches®</strong> are a high performance multi-action treatment for today’s woman on-the-go.</p>\r\n\r\n<p><br />“For beauty connoisseurs, eyes are known to be the most noticed area of your face, “says <strong>Linda Eastwood, CEO of Y.E.S. and an expert in the beauty industry for over 20 years</strong>.  “Dark circles, puffiness and wrinkles make you look tired, stressed, and older than you are. The skin around the eyes is normally extremely thin, and as we age, it becomes even thinner. While swollen eyes and dark circles can be attributed to many different causes, the most likely culprits are too much sun, pollution and not getting enough sleep. If the eyes are the windows to the soul, then you want yours to be wide open and radiant.â€  </p>\r\n\r\n<p><br /><strong>Y.E.S. Rejuvenating Eye Patches: How Does It Work?</strong><br />\r\nY.E.S. Rejuvenating Eye Patches contain biologically active ingredients that alleviate puffiness, dark circles, fine lines and wrinkles in record time. They are specifically designed to treat the under eye area, actually vanishing wrinkles right before your eyes. The Rejuvenating Eye Patches consist of a patented delivery system with highly effective ingredient, Chitosan that is derived from a bio-marine origin and prized for its moisture retaining effects along with collagen and Vitamin C.</p>\r\n\r\n<p><br /><strong>What Is Chitosan?</strong></p>\r\n<ul class=\"custom-list arrows-2\">\r\n<li>Chitosan hydrates the skin over time due to a moisture retaining effect.</li>\r\n<li>Marine Chitosan helps stimulate cell renewal providing younger looking skin, soothing dermatological irritations and increasing the elasticity and softness of the skin.</li>\r\n<li>Chitosan is stabilized with Vitamin C neutralizes damaging free radicals to repair skin, leaving the skin perceptibly softer.</li>\r\n<li>Marine extracts and minerals nourish, restore and rejuvenate the skin to its natural balance while protecting it from environmental exposure to toxic pollutants.</li>\r\n</ul>\r\n\r\n<p><br />According to Linda, the first sign of deepening lines around the eye area indicates that it is time to begin using the Y.E.S. Rejuvenating Eye Patches.  Users can see visible improvements after one 20 minutes treatment however, continual use is recommended for long-term results.</p>\r\n\r\n<p><br /><strong>How To Use: Easy As One, Two, Three…</strong><br />\r\nIndividual pads transform the appearance of the eye area, removing signs of fatigue while hydrating and lifting.   First, wet the under eye area before applying the pad; then place a patch under each eye.  Using a damp cotton ball, cosmetic sponge or wash cloth, gently tap the pad into place (do not pull or stretch) until the pad’s color changes to brown.  Leave on for 18 to 20 minutes or until dry.  Remove the remaining thin film by gently peeling away from the outer corner revealing beautiful, smoother and rejuvenated skin.  Retail Cost: $20.00 2 Pair/Pack</p>\r\n\r\n<p><br />Due to the crescent shape of the patch they may be used for spot treatments on several locations on the face.  For example, inverted on the upper lip area to reduce and/or prevent “whistle marksâ€, on the nose to mouth lines and over the eyebrow area for expression marks.  All of these can be used in conjunction with the <strong>Y.E.S. Anti-Aging Serum and the Y.E.S. Rejuvenating Moisture Cream.</strong></p>\r\n\r\n<p><br /><strong>Y.E.S. Rejuvenating Eye Patches: Perfect For You & Me</strong><br />\r\nWhether you’re a bride-to-be recovering from a bachelorette party the night before, or a jet-setting road warrior suffering from tired eyes, or enduring sleepless nights, the Rejuvenating Eye Patches are simple and effective.  Easy and convenient to throw in your weekend bag or your evening clutch, the eye patches are the perfect beauty accessory for everyone.</p>\r\n\r\n<p><br /><strong><u>Meet the Beauty Innovator</u></strong><br />\r\nWith more than 20 years in the beauty and fashion industry, Linda Eastwood is a published author and CEO of Y.E.S. Young Essential Skincare.  Under Linda’s leadership and guidance, Y.E.S. is positioned as a leading brand creating trends and driving markets with a simple and differentiated message: provide customers with results-driven products.  In addition to her role as CEO, Linda continues to have her finger on the pulse of today’s contemporary culture as the fashion editor of LA Style Magazine.  With the extensive knowledge of new advancements and technology in the beauty industry – from the business sector to product development - Linda is elevating the industry to a new level of excellence.  Linda is a visionary and industry leader as she continues making an impact as a model, a teacher, an author, jewelry designer, fashion expert and philanthropist.</p>\r\n<p><br />\r\n<strong><u>About Y.E.S. Young Essential Skincare</u></strong><br /> \r\nY.E.S. Young Essential Skincare is a premier skincare line with results-driven anti-aging solutions for women. Y.E.S. dramatically increases the moisture, elasticity and firmness with the exclusive CP24-Complex™.  Y.E.S. unique formulas will protect against free radical damage, the main cause of aging and sagging skin.  The combination of Y.E.S. Anti-Aging Serum together with the Y.E.S. Rejuvenating Moisture Cream (with its unique composition being a combination of a gel and cream all in one) stimulates collagen synthesis immediately improving the texture, reducing fine lines and wrinkles, leaving your skin feeling silky smooth. </p>\r\n\r\n<p><br /><strong><u>About Y.E.S. & Angel Faces</u></strong><br />\r\nAngel Faces, established in 2003, is a non profit organization, whose mission is to provide innovative healing retreats designed for adolescent girls with facial disfigurements to achieve their optimum potential and develop meaningful relationships for themselves, their families and their communities. Y.E.S. partnered with Angle faces to support and encourage young women that true beauty is obtained from within. Y.E.S. customers may show their support by purchasing products with 30% of the sale donated directly to Angel Faces.  For more information, go to <a href=\"http://www.yesskincare.com/angel-face-partnership.php\" title=\"angel face partnership\" />http://www.yesskincare.com/angel-face-partnership.php</a>. </p>\r\n\r\n<div align=\"center\">\r\n<p><br /><strong>If you would like to speak with Linda Eastwood or to request Y.E.S. Young Essential Skincare products, please contact Lisa Taylor at <a href=\"mailto:lisa@yesskincare.com\" />lisa@yesskincare.com</a> or 949.496.9400</strong>\r\n<br /><br />\r\n**EDITORS, IF YOU WOULD LIKE Y.E.S. SAMPLES FOR EDITORIAL CONSIDERATION, READER GIVEAWAYS OR NEED HIGH-RES PRODUCT IMAGES, PLEASE LET US KNOW.**\r\n</p>',1,6,2,1,0,1,1323469568,1,1324326944,0,0,0,1323469568,1,'',0,0,0,0,0,0,0),(52,'document','text/html','Site Map','YES Skincare\'s Site Map','','site-map','',1,0,0,50,0,'','[[Wayfinder? &startID=`0`]]',1,6,1,1,0,1,1324159928,1,1324159928,0,0,0,1324159928,1,'',0,0,0,0,0,0,1),(53,'document','text/html','Danny Bellini\'s Friends and Family Discounts','Danny Bellini\'s Friends and Family Discounts','','danb','',1,0,0,42,0,'Hi Friends! This is my personal page on YES Skincare where you can buy their products for 10% off. If you haven\'t heard of YES Skincare, find out! For some of you, the price might seem high, but it is by far the best anti-aging skin care product on the market.','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Welcome to [*ff_sales*]\'s Friends & Family Discount Page</h2>\r\n<h4 class=\"gray\">All pricing is 10% off regular cost.</h4>\r\n<br clear=\"all\" />\r\n<div class=\"two-third\">\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Anti-Aging Serum</h3>\r\n<p><img src=\"assets/images/sb-serum-img.jpg\" alt=\"younger skin toner\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum</strong> - $54.00<br />\r\n1 oz / 30 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`1` &style=`prodbuybox` &sp=`Danny Bellini` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $27.00 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Moisture Cream</h3>\r\n<p><img src=\"assets/images/sb-cream-img.jpg\" alt=\"botanical moisturizer\" class=\"center-box\" />\r\n<br /><strong>Rejuvenating Moisture Cream</strong> - $49.50<br />\r\n2 oz / 60 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`2` &style=`prodbuybox` &sp=`Danny Bellini` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $24.75 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Eye Patches</h3>\r\n<p><img src=\"assets/images/sb-eye-patch.jpg\" alt=\"younger looking eyes\" class=\"center-box\" />\r\n<br /><strong>Y.E.S. Rejuvenating Eye Patches</strong> - $27.00</p>\r\n[[product_buttons? &prodID=`3` &style=`prodbuybox` &sp=`Danny Bellini` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Flex pay: Two installments of $13.50 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Serum  &amp; Cream Special Offer</h3>\r\n<p><img src=\"assets/images/sb-buy-both-img.jpg\" alt=\"perfect skincare regimen\" class=\"center-box\" />\r\n<br /><strong>Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream</strong><br />\r\n<span class=\"offer-red\">Buy Both and Save $10.00 + 10% off!</span></p>\r\n<br clear=\"all\" />\r\n[[product_buttons? &prodID=`4` &style=`prodbuybox` &sp=`Danny Bellini` &sideCart=`on` &flexPay=`on` &discountPrice=`on`]]\r\n<p class=\"offer\">Special Price: $94.50 for both products<br />\r\nFlex pay: Two installments of $47.25 + S&H</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">VIP Bronzer Blush</h3>\r\n<p><img src=\"assets/images/sb-bronzer-img.jpg\" alt=\"VIP Bronzer Blush Makeup\" class=\"center-box\" />\r\n<br /><strong>VIP Bronzer Blush</strong> - $20.00<br />\r\nFor the sun kissed look without the sun!</p>\r\n[[product_buttons? &prodID=`5` &style=`prodbuybox` &sp=`Danny Bellini` &sideCart=`on`]]\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">VIP Lipstick</h3>\r\n<p><img src=\"assets/images/sb-lipstick-img.jpg\" alt=\"VIP Lipstick\" class=\"center-box\" />\r\n<br /><strong>VIP Lipstick - Chilili</strong> - $20.00<br />&nbsp;</p>\r\n[[product_buttons? &prodID=`6` &style=`prodbuybox` &sp=`Danny Bellini` &sideCart=`on`]]\r\n</div>\r\n</div>\r\n\r\n</div>\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n[[DisplayCart? &display=`product_side`]]\r\n\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<div class=\"separator-line\"></div>\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>\r\n<div class=\"clear\"></div>\r\n{{social_footer}}',1,6,0,1,0,1,1324409573,1,1325786292,0,0,0,1324409685,1,'',0,0,0,0,0,0,0),(55,'document','text/html','Blog Pages','','','blog','',1,0,0,0,1,'','',1,8,101,1,0,1,1324584296,1,1324585838,0,0,0,1324584296,1,'',0,0,0,0,0,0,1),(56,'document','text/html','1st Blog post','1st Blog post','','blog-post-1','',1,0,0,55,0,'','<p>1st Blog post will go here. 1st Blog post will go here. 1st Blog post will go here. 1st Blog post will go here. 1st Blog post will go here. 1st Blog post will go here. 1st Blog post will go here. \r\n</p>\r\n<p>1st Blog post will go here. 1st Blog post will go here. 1st Blog post will go here. 1st Blog post will go here.</p>',1,8,0,1,0,1,1324584378,1,1324585803,0,0,0,1324584378,1,'',0,0,0,0,0,0,0),(57,'document','text/html','2nd Blog post','2nd Blog post','','blog-post-2','',1,0,0,55,0,'','<p>2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. 2nd Blog post goes here. \r\n</p>\r\n<p>2nd Blog post goes here. 2nd Blog post goes here.</p>',1,8,1,1,0,1,1324586740,1,1324586740,0,0,0,1324586740,1,'',0,0,0,0,0,0,0),(58,'document','text/html','MODA Member Discounts','MODA Member Discounts','','moda30','',1,0,0,0,0,'Hi Friends! This is discount page offers a 30% discount to MODA at the University of Chicago attendees. This is a great price for the world\'s BEST new skincare products. Enjoy!','<div id=\"main-content\" class=\"mc-left\">\r\n<h2>Welcome to the MODA Discount Page - <em><u>All pricing is 30% off regular cost</u>!!</em></h4>\r\n<br clear=\"all\" />\r\n<div class=\"two-third\">\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Anti-Aging Serum</h3>\r\n<p><img alt=\"younger skin toner\" class=\"center-box\" src=\"assets/images/sb-serum-img.jpg\" />\r\n<br /><strong>Anti-Aging Serum</strong> - $42.00<br />\r\n1 oz / 30 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`14` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on` &flexPay=`off` &discountPrice=`off`]]\r\n<p class=\"offer\">Flex pay: Not Available with this purchase</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Moisture Cream</h3>\r\n<p><img alt=\"botanical moisturizer\" class=\"center-box\" src=\"assets/images/sb-cream-img.jpg\" />\r\n<br /><strong>Rejuvenating Moisture Cream</strong> - $38.50<br />\r\n2 oz / 60 ml - a 60 day supply </p>\r\n[[product_buttons? &prodID=`15` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on` &flexPay=`off` &discountPrice=`off`]]\r\n<p class=\"offer\">Flex pay: Not Available with this purchase</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"separator-line\" style=\"clear: both;\"></div>\r\n\r\n<div class=\"one-third\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Rejuvenating Eye Patches</h3>\r\n<p><img alt=\"younger looking eyes\" class=\"center-box\" src=\"assets/images/sb-eye-patch.jpg\" />\r\n<br /><strong>Y.E.S. Rejuvenating Eye Patches</strong> - $21.00</p>\r\n[[product_buttons? &prodID=`17` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on` &flexPay=`off` &discountPrice=`off`]]\r\n<p class=\"offer\">Flex pay: Not Available with this purchase</p>\r\n</div>\r\n</div>\r\n\r\n<div class=\"one-third last\">\r\n<div id=\"productbox\">\r\n<h3 class=\"gray-title\">Y.E.S. Serum  &amp; Cream Special Offer</h3>\r\n<p><img alt=\"perfect skincare regimen\" class=\"center-box\" src=\"assets/images/sb-buy-both-img.jpg\" />\r\n<br /><strong>Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream</strong></p>\r\n<br clear=\"all\" />\r\n[[product_buttons? &prodID=`16` &style=`prodbuybox` &sp=`Mark Thompson` &sideCart=`on` &flexPay=`off` &discountPrice=`off`]]\r\n<p class=\"offer\">Flex pay: Not Available with this purchase</p>\r\n</div>\r\n</div>\r\n\r\n</div>\r\n</div>\r\n\r\n<div id=\"sidebar\" class=\"sb-right\">\r\n[[DisplayCart? &display=`product_side`]]\r\n\r\n<br clear=\"all\" />\r\n<br clear=\"all\" />\r\n<div class=\"separator-line\"></div>\r\n{{return_policy}}\r\n<br clear=\"all\" />\r\n{{authorize_seal}}\r\n</div>\r\n<div class=\"clear\"></div>\r\n{{social_footer}}',1,6,0,1,0,1,1329244530,1,1329246717,0,0,0,1329245980,1,'',0,0,0,0,0,0,1);

--
-- 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=19 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,'cssplay_parentRow','',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,'cssplay_row','',0,5,0,'<li[+wf.classes+]><a href=\"[+wf.link+]\" title=\"[+wf.title+]\">[+wf.linktext+]</a>[+wf.wrapper+]</li>',0),(5,'wide-foot','',0,5,0,'<div style=\"float: left; width: 48%\">&copy; 2011 Y.E.S. Young Essential Skincare</div> \r\n<div style=\"float: right; width: 48%; text-align: right: padding-right: 35px\">\r\n<a href=\"[~#~]\"><font color=\"#FFFFFF\">Site Map</font></a><span style=\"color: #FFFFFF; font-weight: bold\">&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;</span>\r\n<a href=\"[~#~]\"><font color=\"#FFFFFF\">Privacy Policy</font></a></div>',0),(6,'top_nav','',0,5,0,'<ul id=\"navigation\">\r\n[+wf.wrapper+]\r\n</ul>',0),(7,'nav_row','Top Nav LI structure',0,5,0,'<li[+wf.classes+]><a href=\"[+wf.link+]\" title=\"[+wf.title+]\" >[+wf.linktext+]</a></li>',0),(8,'authorize_seal','Show Authorize.net',0,6,0,' <!-- (c) 2006. Authorize.Net is a registered trademark of Lightbridge, Inc. --> <div class=\"AuthorizeNetSeal\"> <script type=\"text/javascript\" language=\"javascript\">var ANS_customer_id=\"740c5dec-9dce-4e24-9a0d-b494e409459e\";</script> <script type=\"text/javascript\" language=\"javascript\" src=\"//VERIFY.AUTHORIZE.NET/anetseal/seal.js\" ></script> <a href=\"https://www.authorize.net/\" id=\"AuthorizeNetText\" target=\"_blank\">Online Payments</a> </div> \r\n<br />\r\n<a href=\"http://www.instantssl.com\" id=\"comodoTL\">Server SSL Certificate</a>\r\n<script language=\"JavaScript\" type=\"text/javascript\">\r\nTrustLogo(\"http://www.yesskincare.com/assets/images/cot_trans.gif\", \"SC4\", \"none\");\r\n</script>',0),(9,'return_policy','',0,6,0,'<p><img src=\"assets/images/cart/return-policy.png\" alt=\"YES Return Policy\" /></p>\r\n\r\n<p><img src=\"assets/images/guarantee.gif\" class=\"right\" alt=\"YES products are guaranteed\">Y.E.S., Inc. Guarantee\'s all products. If you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee (from ship date) on all Y.E.S. products except discontinued items and free samples, no questions asked. VIP makeup products are not included.</p>\r\n<div class=\"clear\"></div>',0),(10,'ditto_news','',0,0,0,'<div class=\"two-third\">\r\n<h3><a href=\"[~[+id+]~]\" title=\"[+title+]\">[+title+]</a></h3>\r\n[+summary+]&nbsp;&nbsp;...[+link+]\r\n</div>\r\n<div class=\"one-third center last\">\r\n[+press_image+]\r\n</div>\r\n<br clear=\"all\" />\r\n<div class=\"separator-line\"></div>\r\n',0),(11,'formSubmitStatus','',0,0,0,'<div id=\"error\"  class=\"error\" style=\"display:none\">\r\n<span>Error!</span>\r\n<div id=\"textError\"></div>\r\n</div>\r\n<div id=\"success\"  class=\"success\" style=\"display:none\">\r\n<span>Congratulations!</span>\r\n<div id=\"textSuccess\"></div>\r\n</div>',0),(12,'facebook_script','needed to make FB Like button work',0,7,0,'<div id=\"fb-root\"></div>\r\n<script>(function(d, s, id) {\r\n  var js, fjs = d.getElementsByTagName(s)[0];\r\n  if (d.getElementById(id)) return;\r\n  js = d.createElement(s); js.id = id;\r\n  js.src = \"//connect.facebook.net/en_US/all.js#xfbml=1&appId=225979410750389\";\r\n  fjs.parentNode.insertBefore(js, fjs);\r\n}(document, \'script\', \'facebook-jssdk\'));</script>',0),(13,'social_footer','Facebook Like and Sign up form',0,7,0,'<div class=\"one-half\">\r\n<h3 class=\"red_head\">Join us on Facebook</h3>\r\n<div class=\"fb-like\" data-href=\"http://www.yesskincare.com\" data-send=\"true\" data-width=\"450\" data-show-faces=\"true\" data-font=\"lucida grande\"></div>\r\n</div>\r\n<div class=\"one-half last\">\r\n<h3 class=\"red_head\">Become a YES Skincare VIP</h3>\r\n<form action=\"http://campaign.digitalmailmaker.com/index.php\" method=\"post\" name=\"campaignform\" class=\"footer_form\">\r\n<ul class=\"signup_form_foot\">\r\n<input type=\"hidden\" name=\"camp\" value=\"lgix7zwyfa\">\r\n<input type=\"hidden\" name=\"perso\" value=\"WTI4OU1XbGtlbUZvY0hVNGFnPT0rRA==\">\r\n<li><label>First Name:</label><br />\r\n<input class=\"signup_box\" type=\"text\" name=\"first_name\"></li>\r\n<li><label>Last Name:</label><br />\r\n<input class=\"signup_box\" type=\"text\" name=\"last_name\"></li>\r\n<div class=\"clear\"></div>\r\n<li><label>Email:</label><br />\r\n<input class=\"signup_box\" type=\"text\" name=\"email\"></li>\r\n<li><label></label><br />\r\n<input id=\"submit\" type=\"submit\" name=\"submit_form\" value=\"Sign Me Up!\">\r\n</ul>\r\n</form>\r\n</div>\r\n<div class=\"clear\"></div>',0),(14,'yes_blog','Blog page format',0,6,0,'<h2 style=\"margin-bottom: 5px\"><a href=\"[~[+id+]~]\" title=\"[+title+]\">[+title+]</a></h2>\r\n<div style=\"margin-bottom: 15px; font-size: 12px; line-height: 14px; color: #525252;\">By [+author+] on [+date+].  Comments ([[Jot? &docid=`[+id+]` &action=`count-comments` &notifyAuthor=`1` &sortby=`createdon:a`]])</div>\r\n[+summary+]\r\n<div class=\"separator-line\"></div>',0),(15,'yes_blog_sidebar','Blog sidebar format',0,6,0,'<h4 style=\"margin-bottom: 5px\"><a href=\"[~[+id+]~]\" title=\"[+title+]\">[+title+]</a></h3>\r\n<div style=\"margin-bottom: 15px; font-size: 12px; line-height: 14px; color: #525252;\">By [+author+] on [+date+].  Comments ([[Jot? &docid=`[+id+]` &action=`count-comments` &notifyAuthor=`1` &sortby=`createdon:a`]])</div>\r\n<div class=\"separator-line\"></div>',0),(16,'comments','jot comment formats',0,6,0,'<br clear=\"all\" />\r\n[!Jot? &customfields=`name,email` &subscribe=`1` &pagination=`10` &sortby=`createdon:a` &badwords=`dotNet,shit,fuck,fucking,asshole,shithead,sodomize` &bw=`2` &canmoderate=`Site Admins` !]',0),(17,'comodo_script','',0,0,0,'<script language=\"javascript\" type=\"text/javascript\">\r\n//<![CDATA[\r\nvar tl_loc0=(window.location.protocol == \"https:\")? \"https://secure.comodo.net/trustlogo/javascript/trustlogo.js\" :\r\n\"http://www.trustlogo.com/trustlogo/javascript/trustlogo.js\";\r\ndocument.writeln(\'<scr\' + \'ipt language=\"JavaScript\" src=\"\'+tl_loc0+\'\" type=\"text\\/javascript\">\' + \'<\\/scr\' + \'ipt>\');\r\n//]]>\r\n</script>',0),(18,'facebook_img_script','for adding an image to FB share URLs',0,10,0,'{\r\n   \"url\": \"http://www.yesskincare.com/ff/markt\",\r\n   \"type\": \"website\",\r\n   \"title\": \"Mark Thompson\'s Friends and Family Discounts | YES Skin Care\",\r\n   \"image\": [\r\n      {\r\n         \"url\": \"http://www.yesskincare.com/assets/images/sb-buy-both-img.jpg\"\r\n      }\r\n   ],\r\n   \"updated_time\": \"2011-12-29T23:52:55+0000\",\r\n   \"id\": \"10150550580823582\"\r\n}',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=33 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;',''),(16,'adminLoginCheck','',0,8,0,'\r\nif(!isset($_SESSION[\'mgrInternalKey\']) ){\r\n$modx->sendRedirect(\'http://www.yesskincare.com/anew/manager/\');\r\n}\r\n',0,'',' '),(17,'admin_orders','',0,8,0,'\r\ninclude_once(\"assets/snippets/custom/admin_orders.inc.php\");\r\n',0,'',' '),(18,'admin_orders_edit','',0,8,0,'\r\ninclude_once(\"assets/snippets/custom/admin_orders_edit.inc.php\");\r\n',0,'',' '),(19,'admin_products','',0,8,0,'\r\ninclude_once(\"assets/snippets/custom/admin_products.inc.php\");\r\n',0,'',' '),(20,'admin_products_edit','',0,8,0,'\r\ninclude_once(\"assets/snippets/custom/admin_products_edit.inc.php\");\r\n',0,'',' '),(21,'cart_payment','',0,9,0,'\r\ninclude_once(\"assets/snippets/custom/cart_payment.inc.php\");\r\n',0,'',' '),(22,'DisplayCart','',0,9,0,'\r\ninclude_once(\"assets/snippets/shoppingCart/kiwee.class.php\");\r\ninclude_once(\"assets/snippets/shoppingCart/dbconfig.inc.php\");\r\ninclude_once (\"manager/includes/controls/datagrid.class.php\");\r\n\r\n\r\n$display = (isset($display)) ? $display : \"default\";\r\n\r\n$kiwee = new Kiwee();\r\n\r\n$sessionid = session_id();\r\n\r\n$kiwee->createCart($sessionid);\r\n\r\ninclude_once(\"assets/snippets/shoppingCart/includes/DisplayCart.php\");\r\n',0,'',' '),(23,'displayItem','',0,9,0,'\r\ninclude_once(\"assets/snippets/shoppingCart/kiwee.class.php\");\r\ninclude_once(\"assets/snippets/shoppingCart/dbconfig.inc.php\");\r\ninclude_once (\"manager/includes/controls/datagrid.class.php\");\r\n\r\n\r\n$display = (isset($display)) ? $display : \"default\";\r\n\r\n$kiwee = new Kiwee();\r\n\r\n$sessionid = session_id();\r\n\r\n$kiwee->createCart($sessionid);\r\n\r\ninclude_once(\"assets/snippets/custom/displayItem.inc.php\");\r\n',0,'',' '),(24,'Ecommerce','',0,9,0,'\r\ninclude_once(\"assets/snippets/shoppingCart/kiwee.class.php\");\r\n\r\n$kiwee = new Kiwee();\r\n\r\n//[ This array stores all the possible configuration options you can pass to me.  ]\r\n//[ Depending on the function you want to call, just pass me the specified parameters]\r\n\r\n$modxtv = $modx->documentObject[\'ProductNumber\'];\r\n$kiweecfg[\'itemid\'] = (isset($itemid)) ? $itemid : $modxtv[1];\r\n\r\n\r\n$kiweecfg[\'formid\'] = (isset($formid)) ? $formid : \'additemtocart\'; // [ Used to tell me what you want the form id to be ]\r\n$kiweecfg[\'elem\'] = (isset($elem)) ? $elem : \'PRICE\'; // [Used to tell me what element you want rendered]\r\n$kiweecfg[\'optname\'] = (isset($optname)) ? $optname : \'OPTION\'; // [Please send this to me, otherwise generic Option renders (1 - 3) will just display \"Option\" for a title]\r\n$kiweecfg[\'multisize\'] = (isset($multisize)) ? $multisize : 4;  // [Defaults to 4...feel free to pass me a smaller or larger value depending on what you need]\r\n$kiweecfg[\'renderas\'] = (isset($renderas)) ? $renderas : \'DROP\'; // [How you want me to render the option returned DROP | SELECT | MULTI | CHECK ]\r\n$kiweecfg[\'act\'] = (isset($act)) ? $act : \'#\'; // [Script to process which is sent when you open a form]  Could be another snippet name / call I believe or a backend file]\r\n$kiweecfg[\'curr\'] = (isset($curr)) ? $curr : \'USD\'; //[currency support - USD by default and only USD right now...the next version should allow you to define]\r\n$kiweecfg[\'optionname\'] = (isset($optionname)) ? $optionname : $optionname;\r\n$kiweecfg[\'formname\'] = (isset($formname)) ? $formname : \'form1\';\r\n$kiweecfg[\'layout\'] = (isset($layout)) ? $layout : \'vertical\';\r\n\r\n     if ($kiweecfg[\'elem\']==\'OPTIONS\'){\r\n         echo $kiwee->renderOption($kiweecfg[\'itemid\'], $kiweecfg[\'optionname\']);\r\n     }\r\n      if ($kiweecfg[\'elem\']==\'PRICE\') {\r\n         echo $kiwee->getPrice($kiweecfg[\'itemid\'], $kiweecfg[\'curr\']);\r\n      }\r\n     if ($kiweecfg[\'elem\']==\'QTY\'){\r\n            echo $kiwee->displayQuantity($kiweecfg[\'itemid\']) ;\r\n     }\r\n     if ($kiweecfg[\'elem\']==\'OPEN\'){\r\n          echo $kiwee->openFormPHP($kiweecfg[\'itemid\'], $kiweecfg[\'act\']);\r\n     }\r\n     if ($kiweecfg[\'elem\']==\'CLOSE\'){\r\n         echo $kiwee->closeFormPHP();\r\n    }\r\n    if ($kiweecfg[\'elem\']==\'CHKOUTBUTTON\'){\r\n         echo \'<input type=\"hidden\" name=\"webShortname\" id=\"webShortname\" value=\"\' . $_SESSION[\'webShortname\'] . \'\">\' . \"\\n\\n\";\r\n         echo \'<input type=\"hidden\" name=\"webInternalKey\" id=\"webInternalKey\" value=\"\' . $_SESSION[\'webInternalKey\'] . \'\">\' . \"\\n\\n\";\r\n         echo \'<input type=\"hidden\" name=\"webFullName\" id=\"webFullName\" value=\"\' . $_SESSION[\'webFullName\'] . \'\">\' . \"\\n\\n\"; \r\n         echo \'<input type=\"hidden\" name=\"webEmail\" id=\"webEmail\" value=\"\' . $_SESSION[\'webEmail\'] . \'\">\' . \"\\n\\n\";\r\n         echo \'<input type=\"hidden\" name=\"webValid\" id=\"webValid\" value=\"\' . $_SESSION[\'webValid\'] . \'\">\' . \"\\n\\n\";\r\n         echo \'<input type=\"hidden\" name=\"webUser\" id=\"webUser\" value=\"\' . $_SESSION[\'webUser\'] . \'\">\' . \"\\n\\n\";\r\n         echo $kiwee->closeFormCheckout();\r\n    }\r\n    if($kiweecfg[\'elem\']==\'FINALCHKOUTBUTTON\'){\r\n         echo $kiwee->closeFormProcessCheckout();\r\n    }\r\n    if ($kiweecfg[\'elem\']==\'VERIFYCHECKOUT\'){\r\n        echo \'<input type=\"hidden\" id=\"sessionid\" value=\"\' . session_id() . \'\" />\';\r\n        echo $kiwee->closeFormVerifyCheckout();\r\n   }\r\n    if ($kiweecfg[\'elem\']==\'SIGNUPBUTTON\'){\r\n        echo \'<input type=\"hidden\" id=\"sessionid\" value=\"\' . session_id() . \'\" />\';\r\n        echo $kiwee->closeFormSignupForm();\r\n   }\r\n    if ($kiweecfg[\'elem\']==\'RETURNBUTTON\'){\r\n         echo $kiwee->closeFormReturnButton();\r\n   }\r\n   if($kiweecfg[\'elem\']==\'SHOWTAX\'){\r\n          echo $kiwee->getTax(session_id());\r\n   }\r\n    if($kiweecfg[\'elem\']==\'SHOWSHIP\'){\r\n          echo $kiwee->getShip(session_id());\r\n   }\r\n    if($kiweecfg[\'elem\']==\'SHOWSUBTOTAL\'){\r\n          echo $kiwee->getSubtotal(session_id());\r\n    }\r\n    if($kiweecfg[\'elem\']==\'SHOWHANDLE\'){\r\n          echo $kiwee->getHandle(session_id());\r\n    }\r\n    if($kiweecfg[\'elem\']==\'SHOWTOTAL\'){\r\n          echo $kiwee->getTotal(session_id());\r\n    }\r\n    if($kiweecfg[\'elem\']==\'FULLNAME\'){\r\n         echo $kiwee->getFullname($kiweecfg[\'itemid\']);\r\n    }\r\n    if($kiweecfg[\'elem\']==\'DESCRIPTION\'){\r\n         echo $kiwee->getDescription($kiweecfg[\'itemid\']);\r\n    }\r\n    if($kiweecfg[\'elem\']==\'THUMB\'){\r\n         echo $kiwee->getImageThumb($kiweecfg[\'itemid\']);\r\n    }\r\n    if($kiweecfg[\'elem\']==\'IMAGE\'){\r\n         echo $kiwee->getImage($kiweecfg[\'itemid\']);\r\n    }\r\n    if($kiweecfg[\'elem\']==\'NAME\'){\r\n        echo $kiwee->getName($kiweecfg[\'itemid\']);\r\n    }\r\n    if($kiweecfg[\'elem\']==\'UPDATEQUANTITY\'){\r\n        echo $kiwee->updateQuantityForm();\r\n    }\r\n    if($kiweecfg[\'elem\']==\'JSADDTOCART\'){\r\n       echo $kiwee->closeFormJS();\r\n    }\r\n    if($kiweecfg[\'elem\']==\'JSOPENFORM\'){\r\n       echo $kiwee->openAddItemFormPHP($kiweecfg[\'formid\']);\r\n    }\r\n	if($kiweecfg[\'elem\']==\'OPTIONSAREA\'){\r\n	   echo $kiwee->populateOptionsArea($kiweecfg[\'itemid\'], $kiweecfg[\'layout\']);\r\n	}\r\n',0,'',' '),(25,'merchandise_list','',0,9,0,'\r\n$sql = \"SELECT * FROM product_categories ORDER BY cat_order\";\r\n$resultCats  = $modx->db->query($sql);\r\n\r\n	while ($valueCats  = $modx->db->getRow($resultCats)){\r\n\r\necho\'<h3>\'.$valueCats[\'cat_name\'].\'</h3>\';\r\n\r\n\r\n$sql = \"SELECT * FROM phils_cart_items WHERE catID =\'\".$valueCats[\'catID\'] .\"\'  AND shoppingenabled =\'1\' ORDER BY name\";\r\n$resultProds  = $modx->db->query($sql);\r\n\r\n	while ($valueProds  = $modx->db->getRow($resultProds)){\r\n	\r\n	echo\'<div class=\"product\">\r\n<a href=\"[~\'.$valueProds[\'content_id\'].\'~]\"><img src=\"\'.$valueProds[\'thumb\'].\'\" border=\"0\" alt=\"\'.$valueProds[\'name\'].\'\" align=\"left\" /></a>\r\n<h5><a href=\"[~\'.$valueProds[\'content_id\'].\'~]\">\'.$valueProds[\'name\'].\'</a></h5>\r\n<p>\'.$valueProds[\'introtext\'].\' <a href=\"[~\'.$valueProds[\'content_id\'].\'~]\">more info</a></p>\r\n</div>\';\r\n	\r\n	}\r\n	\r\n	\r\n	}\r\n',0,'',' '),(26,'admin_categories','',0,8,0,'\r\ninclude_once(\"assets/snippets/custom/admin_categories.inc.php\");\r\n',0,'',' '),(27,'admin_category_edit','',0,8,0,'\r\ninclude_once(\"assets/snippets/custom/admin_categories_edit.inc.php\");\r\n',0,'',' '),(28,'admin_product_Categories','',0,8,0,'<?php\r\n############# DISPLAY COUNTRIES IF IN REGION ADMINISTER\r\n$docID = $modx->documentObject[\'id\'];\r\n\r\n\r\nif($docID == \"69\" || $docID == \"70\" || $docID == \"71\"){\r\n$sql = \"SELECT * FROM product_categories ORDER BY cat_order\";\r\n$resultCats  = $modx->db->query($sql);\r\n\r\n	while ($valueCats  = $modx->db->getRow($resultCats)){\r\n\r\n\r\n	if($_GET[\'catID\'] == $valueCats[\'catID\'] ){\r\n	echo\'<h3 class=\"on\">\'.$valueCats[\'cat_name\'].\'</h3>\';\r\n	}\r\n	else\r\n	{\r\n	echo\'<h3><a href=\"[~69~]?catID=\'.$valueCats[\'catID\'].\'\">\'.$valueCats[\'cat_name\'].\'</a><br /></h3>\';\r\n	}\r\n	\r\n	}\r\n\r\n}\r\n?>',0,'',' '),(29,'category_products','',0,9,0,'\r\ninclude_once(\"assets/snippets/custom/category_products.inc.php\");\r\n',0,'',' '),(30,'product_buttons','',0,9,0,'\r\ninclude(\"assets/snippets/custom/product_buttons.inc.php\");\r\n',0,'',' '),(31,'cart_verify','',0,9,0,'\r\ninclude_once(\"assets/snippets/custom/cart_verify.inc.php\");\r\n',0,'',' '),(32,'top_nav_dynamic','',0,9,0,'\r\ninclude(\"assets/snippets/custom/top_nav_dynamic.inc.php\");\r\n',0,'',' ');

--
-- 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=9 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,'Products Main','',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<link rel=\"stylesheet\" href=\"assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" href=\"assets/templates/yes_cart.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>MODx CMS Install Success | YES Skin Care</title>\r\n<meta name=\"description\" content=\"\" />\r\n<meta name=\"keywords\" content=\"\" />\r\n<meta name=\"keywords\" content=\"skin care, anti-aging serum, anti aging products, moisture cream, essential skincare, women\'s health, beauty products, anti-wrinkle cream\" />\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\r\n\r\n<table width=\"100%\" height=\"40px\">\r\n<tr><td valign=\"top\" align=\"right\">\r\n<span style=\"float: right; margin-right: 65px; margin-top: 5px; font-size: 11px; vertical-align: top\"><a href=\"[~5~]\" title=\"secure shopping cart\"><img src=\"assets/templates/images2/cart-icon.gif\" class=\"scgap\" border=\"0\">Shopping Cart</a></span>\r\n</td></tr>\r\n</table>\r\n</div>\r\n<div id=\"menu\">\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row`]] \r\n</div>\r\n\r\n\r\n<div id=\"content\">\r\n[[sessionSubNav]]\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"footer\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n</div>\r\n</body>\r\n</html>',0),(5,'Control Panel','',0,8,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />\r\n\r\n<title>Admin | [*pagetitle*]</title>\r\n[[adminLoginCheck]]\r\n <base href=\"[(site_url)]\" />\r\n<link href=\"assets/templates/proadmin/css/menu.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n<link href=\"assets/templates/proadmin/css/common.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n<link href=\"assets/templates/proadmin/css/form.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n<link href=\"assets/templates/proadmin/css/tables.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n<link href=\"assets/templates/proadmin/css/tabcontent.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n<script src=\"manager/media/script/mootools/mootools.js\" type=\"text/javascript\"></script>\r\n<!--[if gte IE 5.5]>\r\n<script language=\"JavaScript\" src=\"assets/templates/proadmin/js/ie.js\" type=\"text/JavaScript\"></script>\r\n<![endif]-->\r\n<script type=\"text/javascript\" src=\"assets/templates/proadmin/js/tabcontent.js\">\r\n\r\n/***********************************************\r\n* Tab Content script v2.2- Ã‚Â© Dynamic Drive DHTML code library (www.dynamicdrive.com)\r\n* This notice MUST stay intact for legal use\r\n* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code\r\n***********************************************/\r\n\r\n</script>\r\n</head>\r\n<body>\r\n\r\n<div id=\"wrapper\">\r\n\r\n<!-- Header -->\r\n	<div id=\"header\">\r\n		<div style=\"width: 300px; text-align: center; float: left; padding-top: 30px;\"><img src=\"assets/templates/proadmin/images/yes-cart-admin.png\" alt=\"Yesskincare Cart Admin\" /></div><div style=\"width: 300px; text-align: center; float: right; padding-top: 30px;\"<span>Welcome Admin / <a href=\"[(site_url)]manager/index.php?a=8\">Logout</a> / <a href=\"[~2~]\" target=\"_blank\">visit site</a></span></div>\r\n			 </div>\r\n	</div>\r\n<!-- Header -->\r\n\r\n{{TopNav}}\r\n\r\n<div style=\"clear:both\"></div>\r\n\r\n<!-- Content Area -->\r\n\r\n<div id=\"middlepart\">\r\n\r\n\r\n<!-- Left column -->\r\n	<div id=\"leftcolumn\">\r\n<div id=\"spfmnav\">\r\n<ul>\r\n<li><a href=\"[~10~]\">Pending Sales</a></li>\r\n<li><a href=\"[~11~]\">Sales History</a></li>\r\n<li><a href=\"[~16~]\">Product Categories</a></li>\r\n<li><a href=\"[~12~]\">Products</a></li>\r\n<li><a href=\"[~14~]\">Add Products</a></li>\r\n<!--<li><a href=\"[~91~]\">Shipping Zone</a></li>-->\r\n</ul>\r\n</div>\r\n<br clear=\"all\" />\r\n	{{formSubmitStatus}}\r\n	[*content*]\r\n	</div>\r\n<!-- end Left Column -->\r\n	\r\n<!-- end Content -->\r\n\r\n</div>\r\n<!-- end Wrapper -->\r\n\r\n\r\n{{footerAdmin}}\r\n\r\n</div>\r\n</body>\r\n</html>\r\n',0),(6,'Yes Main','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n<title>[*longtitle*] | [(site_name)]</title>\r\n<base href=\"[(site_url)]\" />	\r\n<meta name=\"description\" content=\"[*introtext*]\">\r\n<meta name=\"keywords\" content=\"[*description*]\" />\r\n<meta property=\"og:title\" content=\"YES Skincare\" />\r\n<meta property=\"og:type\" content=\"website\" />\r\n<meta property=\"og:image\" content=\"http://www.yesskincare.com/assets/images/sb-buy-both-img.jpg\" />\r\n<meta property=\"og:description\" content=\"[*introtext*]\" />\r\n<!--imports the main css file-->\r\n<link rel=\"stylesheet\" href=\"assets/templates/style.css\" type=\"text/css\" media=\"screen\" />\r\n<!--imports prettyPhoto css file-->\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/templates/prettyPhoto.css\" media=\"screen\" />\r\n\r\n<script type=\"text/javascript\" src=\"assets/js/jquery-1.5.2.js\"></script>\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.form.js\"></script>\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.tweet.js\"></script>\r\n<script type=\"text/javascript\" src=\"assets/js/easing.js\"></script>\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.cycle.all.js\"></script>\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.prettyPhoto.js\"></script>\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.tools.min.js\"></script>\r\n<script type=\"text/javascript\" src=\"assets/js/custom.js\"></script>\r\n\r\n<script type=\"text/javascript\">\r\nvar $j = jQuery.noConflict();\r\n	$j(document).ready(function(){	\r\n		$j(\'#images-slider\').cycle({ \r\n			fx:      \'growY\', // transition type\r\n			speed:    600, \r\n			timeout:  5000,\r\n			cleartype: false,   //  Fixes the issue with IE6+\r\n			startingSlide: 0,\r\n			next: \'#cycle-next\',\r\n			prev: \'#cycle-prev\'\r\n		});	\r\n	});			\r\n</script>\r\n\r\n<!--[if IE 7]><link href=\"assets/templates/ie7.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" /><![endif]-->\r\n{{comodo_script}}\r\n</head>\r\n\r\n<body class=\"mosaic\">\r\n{{facebook_script}}	\r\n	<div id=\"wrapper\">	\r\n		<div id=\"header\">\r\n[[top_nav_dynamic]]			\r\n\r\n			\r\n			<div class=\"clear\"></div>\r\n		</div><!-- end header -->\r\n          [*#content*]\r\n\r\n	    <div class=\"clear\"></div> \r\n	</div><!-- end wrapper -->\r\n	\r\n	<div id=\"footer-bottom\">\r\n\r\n		<div id=\"footer-bottom-content\">\r\n\r\n			<div id=\"copyright\">\r\n				<a href=\"index.html\">www.yesskincare.com</a>\r\n				<p>&copy; Y.E.S. Young Essential Skincare. All rights reserved</p>\r\n			</div><!-- end copyright -->	\r\n			\r\n  <ul id=\"footer-nav\">\r\n    <li><a href=\"[~51~]\" title=\"YES Skincare Privacy Policy\" />Privacy Policy</a></li>\r\n    <li><a href=\"[~52~]\" title=\"YES Website\" />Site Map</a></li> \r\n  </ul>	\r\n			\r\n	<div class=\"clear\"></div>\r\n</div><!-- end footer-bottom-content -->\r\n</div><!-- end footer-bottom -->\r\n	\r\n</body>\r\n</html>',0),(7,'Yes Cart','shopping cart pages',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n<title>[*longtitle*] | YES, Inc.</title>\r\n<base href=\"[(site_url)]\" />\r\n\r\n<!--imports the main css file-->\r\n<link rel=\"stylesheet\" href=\"assets/templates/cart-style.css\" type=\"text/css\" media=\"screen, print\" />\r\n\r\n<!--imports jquery-->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery-1.5.2.js\"></script>\r\n<!--imports jquery form plugin-->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.form.js\"></script>\r\n<!--imports jQuery Tools plugin-->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.tools.min.js\"></script>\r\n\r\n<!--imports custom javascript code-->\r\n<script type=\"text/javascript\" src=\"assets/js/custom.js\"></script>\r\n\r\n<!--[if IE 7]><link href=\"assets/templates/ie7.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" /><![endif]-->\r\n{{comodo_script}}\r\n</head>\r\n\r\n<body class=\"mosaic\">\r\n	\r\n	<div id=\"wrapper\">	\r\n\r\n<div id=\"header\">\r\n[[top_nav_dynamic]]\r\n	\r\n\r\n	<div class=\"clear\"></div>\r\n</div><!-- end navi -->\r\n\r\n          [*#content*]\r\n	    <div class=\"clear\"></div>\r\n        \r\n	</div><!-- end wrapper -->\r\n	\r\n	<div id=\"footer-bottom\">\r\n		<div id=\"footer-bottom-content\">\r\n			<div id=\"copyright\">\r\n				<a href=\"index.html\">www.yesskincare.com</a>\r\n				<p>&copy; Y.E.S. Young Essential Skincare. All rights reserved</p>\r\n			</div><!-- end copyright -->	\r\n			<ul id=\"footer-nav\">\r\n			<li><a href=\"[~~]\" title=\"YES Skincare Privacy Policy\" />Privacy Policy</a></li>\r\n			<li><a href=\"[~~]\" title=\"YES Website\" />Site Map</a></li>\r\n			</ul>\r\n			\r\n		\r\n			\r\n			<div class=\"clear\"></div>\r\n		</div><!-- end footer-bottom-content -->\r\n	</div><!-- end footer-bottom -->\r\n	\r\n</body>\r\n\r\n</html>',0),(8,'Yes Blog','Use ONLY for Blog posts',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n<title>[*longtitle*] | [(site_name)]</title>\r\n<base href=\"[(site_url)]\" />	\r\n<meta name=\"description\" content=\"[*introtext*]\">\r\n<meta name=\"keywords\" content=\"[*description*]\" />\r\n<link rel=\"stylesheet\" href=\"assets/templates/style.css\" type=\"text/css\" media=\"screen\" />\r\n\r\n<!--[if IE 7]><link href=\"assets/templates/ie7.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" /><![endif]-->\r\n{{comodo_script}}\r\n</head>\r\n\r\n<body class=\"mosaic\">\r\n{{facebook_script}}	\r\n	<div id=\"wrapper\">	\r\n		<div id=\"header\">\r\n[[top_nav_dynamic]]			\r\n\r\n			\r\n			<div class=\"clear\"></div>\r\n		</div><!-- end header -->\r\n          <div id=\"main-content\" class=\"mc-left\">\r\n           <h2>[*longtitle*]</h2>\r\n           [*#content*]\r\n           {{comments}}\r\n          </div>\r\n          <div id=\"sidebar\" class=\"sb-right\">\r\n           [[Ditto? &startID=`55` &total=`5`  &tpl=`yes_blog_sidebar`]]\r\n          </div>\r\n\r\n	    <div class=\"clear\"></div> \r\n	</div><!-- end wrapper -->\r\n	\r\n	<div id=\"footer-bottom\">\r\n\r\n		<div id=\"footer-bottom-content\">\r\n\r\n			<div id=\"copyright\">\r\n				<a href=\"index.html\">www.yesskincare.com</a>\r\n				<p>&copy; Y.E.S. Young Essential Skincare. All rights reserved</p>\r\n			</div><!-- end copyright -->	\r\n			\r\n  <ul id=\"footer-nav\">\r\n    <li><a href=\"[~51~]\" title=\"YES Skincare Privacy Policy\" />Privacy Policy</a></li>\r\n    <li><a href=\"[~52~]\" title=\"YES Website\" />Site Map</a></li> \r\n  </ul>	\r\n			\r\n	<div class=\"clear\"></div>\r\n</div><!-- end footer-bottom-content -->\r\n</div><!-- end footer-bottom -->\r\n	\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 AUTO_INCREMENT=11 DEFAULT CHARSET=latin1 COMMENT='Site Template Variables Content Values Link Table';

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

INSERT INTO `modx_site_tmplvar_contentvalues` VALUES (1,4,43,'Mark Thompson'),(2,5,46,'<img src=\"assets/images/press-image-1.jpg\" />'),(3,5,47,'<img src=\"assets/images/press-image-3.jpg\" />'),(4,5,48,'<img src=\"assets/images/press-image-2.jpg\" />'),(7,4,44,'Angel Faces'),(8,4,53,'Danny Bellini'),(9,4,54,'VIP Member Discount'),(10,4,58,'Mark Thompson');

--
-- 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`
--

INSERT INTO `modx_site_tmplvar_templates` VALUES (4,6,0),(4,4,0),(5,6,0),(4,8,0),(5,8,0);

--
-- 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=6 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\';'),(4,'text','ff_sales','Add Names to Friends and Family pages','',0,0,0,'',0,'','',''),(5,'text','press_image','press release ditto image','',0,0,0,'',0,'','','');

--
-- 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','-10800'),('server_protocol','https'),('manager_language','english'),('modx_charset','UTF-8'),('site_name','YES Skin Care'),('site_start','18'),('error_page','18'),('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','6'),('old_template','6'),('publish_default','1'),('cache_default','0'),('search_default','1'),('friendly_urls','1'),('friendly_url_prefix',''),('friendly_url_suffix',''),('friendly_alias_urls','1'),('use_alias_path','1'),('use_udperms','1'),('udperms_allowroot','0'),('failed_login_attempts','3'),('blocked_minutes','1'),('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','info@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','/home/yesskinc/public_html/anew/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','/home/yesskinc/public_html/anew/'),('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','4e3234028a516'),('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',''),('reset_template','2');

--
-- 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=3 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,'Lisa Taylor',1,'mtbinary@gmail.com','','',0,0,0,138,1359408843,1359655493,0,'dd5b57f3532cea43e66ac5ef5b679548',0,0,'','','','','',''),(2,2,'Linda Eastwood',1,'le@yesskincare.com','','',0,0,0,16,1331413766,1357152043,0,'aca96c948d6d27df45b53d422f4c004c',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 (2,'manager_language','english'),(1,'allow_manager_access','1'),(1,'manager_language','english'),(2,'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 DEFAULT CHARSET=latin1 COMMENT='Contains information for web users.';

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


--
-- 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`
--


--
-- 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`
--


--
-- Table structure for table `phils_cart_colors`
--

CREATE TABLE `phils_cart_colors` (
  `CID` int(5) NOT NULL AUTO_INCREMENT,
  `color` varchar(150) NOT NULL DEFAULT '',
  `colorDiv` varchar(150) NOT NULL DEFAULT '',
  `colorImage` varchar(150) NOT NULL DEFAULT '',
  `show_hide` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`CID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `phils_cart_colors`
--


--
-- Table structure for table `phils_cart_item_details`
--

CREATE TABLE `phils_cart_item_details` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `item_id` int(5) NOT NULL DEFAULT '0',
  `size_id` int(3) NOT NULL DEFAULT '0',
  `color_id` int(3) NOT NULL DEFAULT '0',
  `details_price` varchar(15) NOT NULL DEFAULT '',
  KEY `id` (`id`),
  KEY `item_id` (`item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `phils_cart_item_details`
--


--
-- Table structure for table `phils_cart_options`
--

CREATE TABLE `phils_cart_options` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `item_id` int(10) NOT NULL DEFAULT '0',
  `lists_id` int(10) NOT NULL DEFAULT '0',
  `name` varchar(50) NOT NULL DEFAULT '',
  `renderas` varchar(20) NOT NULL DEFAULT '',
  `htmlclass` varchar(20) DEFAULT NULL,
  `size` int(12) DEFAULT NULL,
  `maxlen` int(12) DEFAULT NULL,
  `rows` int(12) DEFAULT NULL,
  `cols` int(12) DEFAULT NULL,
  `default` varchar(12) DEFAULT NULL,
  `deflt` varchar(12) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `phils_cart_options`
--


--
-- Table structure for table `phils_cart_sizes`
--

CREATE TABLE `phils_cart_sizes` (
  `sizeID` int(3) NOT NULL AUTO_INCREMENT,
  `size_name` varchar(25) NOT NULL DEFAULT '',
  `show_hide` int(1) NOT NULL DEFAULT '0',
  KEY `size_id` (`sizeID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `phils_cart_sizes`
--


--
-- Table structure for table `vip`
--

CREATE TABLE `vip` (
  `vip_id` int(11) NOT NULL AUTO_INCREMENT,
  `ref_id` int(10) NOT NULL DEFAULT '0',
  `firstname` varchar(25) NOT NULL DEFAULT '',
  `lastname` varchar(25) NOT NULL DEFAULT '',
  `company` varchar(25) NOT NULL DEFAULT '',
  `address1` varchar(50) NOT NULL DEFAULT '',
  `address2` varchar(50) NOT NULL DEFAULT '',
  `city` varchar(50) NOT NULL DEFAULT '',
  `state` varchar(25) NOT NULL DEFAULT '',
  `zip` varchar(25) NOT NULL DEFAULT '',
  `country` varchar(50) NOT NULL DEFAULT '',
  `phone` varchar(25) NOT NULL DEFAULT '',
  `email` varchar(50) NOT NULL DEFAULT '',
  `cc_type` varchar(25) NOT NULL DEFAULT '',
  `cc_number` varchar(50) NOT NULL DEFAULT '',
  `cc_cid` varchar(5) NOT NULL DEFAULT '',
  `cc_expdate` varchar(25) NOT NULL DEFAULT '',
  `firstname_s` varchar(25) NOT NULL DEFAULT '',
  `lastname_s` varchar(25) NOT NULL DEFAULT '',
  `company_s` varchar(25) NOT NULL DEFAULT '',
  `address1_s` varchar(50) NOT NULL DEFAULT '',
  `address2_s` varchar(50) NOT NULL DEFAULT '',
  `city_s` varchar(50) NOT NULL DEFAULT '',
  `state_s` varchar(25) NOT NULL DEFAULT '',
  `zip_s` varchar(25) NOT NULL DEFAULT '',
  `country_s` varchar(50) NOT NULL DEFAULT '',
  `vip` int(2) NOT NULL DEFAULT '0',
  `vip_username` varchar(100) NOT NULL DEFAULT '',
  `vip_password` varchar(10) NOT NULL DEFAULT '',
  PRIMARY KEY (`vip_id`),
  KEY `ref_id` (`ref_id`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `vip`
--

INSERT INTO `vip` VALUES (13,0,'Mark','Thompson','','255 Capella Dr. NW','','Issaquah','WA','98027','USA','858-435-4864','mark@digitalmailmaker.com','Visa','8126680131964919','005','08/2010','Mark','Thompson','','255 Capella Dr. NW','','Issaquah','WA','98027','USA',3,'mark@digitalmailmaker.com','hr9om1'),(12,0,'mark','testson','','255 capella Dr. Nw','','issaquah','WA','98027','USA','858.435.4864','mark@digitalmailmaker.com','','','','','mark3','testson','','255 capella Dr. Nw','','issaquah','WA','98027','USA',3,'mark@digitalmailmaker.com','bv7sw9'),(11,0,'Lori','Deuel','','35435 Tohl Rd. #2','','Nehalem','OR','97131','USA','503-386-4125','lldeuel@google.com','Visa','1142838404854366','423','12/2010','Lori','Deuel','','35435 Tohl Rd. #2','','Nehalem','OR','97131','USA',3,'lldeuel@google.com','39x8tm'),(5,0,'alain','gabelle','','4477 La Crosse Ave.','encinitas','encinitas','CA','92024','USA','760-234-23453','dev@binaryjungle.com','','','','','al4ee','gab','','448 2th','suite b','city','CA','92024','',3,'dev@binaryjungle.com','test'),(6,0,'LInda','Stern','','222 CBS Street','','Monarch Beach','CA','92629','USA','949.496.9400','le@yesskincare.com','Visa','1111111111114111','707','11/2008','','','','','','','','','',3,'le@yesskincare.com','x9u771'),(7,0,'alain','gabelle','','448 1/2','','encinitas','CA','92024','USA','1234123','alain.g@att.net','Visa','1111111111114111','123','04/2009','','','','','','','','','',3,'alain.g@att.net','sxhkx7'),(8,0,'Susan','Smith','','222 ABC Drive','','Monarch Beach','CA','92629','USA','949.222.1212','le@yesskincare.com','Visa','1111111111114111','444','10/2008','Susan','Smith','','222 ABC Drive','','Monarch Beach','CA','92629','USA',3,'le@yesskincare.com','9g7nwc'),(9,0,'Susan','Smith','','222 ABC Drive','','Monarch Beach','CA','92629','USA','949.222.1212','le@yesskincare.com','Visa','1111111111114111','444','10/2008','Susan','Smith','','222 ABC Drive','','Monarch Beach','CA','92629','USA',3,'le@yesskincare.com','8cg7nt'),(10,0,'Amark','Aatest','','1234 Billme Street','','Newcityname','CA','92008','USA','858.435.4864','mark@binaryjungle.com','Mastercard','5150411990005147','123','06/2009','Amark','Aatest','','1234 Testit Allday Street.','',' Suite 1401','Biglongcityname','CA','USA',3,'mtbinary@gmail.com','mtbinary');


