-- 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=46 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.5</strong> Ajax enabled search form with results highlighting.',0,10,0,'/* -------------------------------------------------------------\n:: Snippet: Ajax Search\n----------------------------------------------------------------\n    Short Description: \n        Ajax-driven search form\n\n    Version:\n        1.6\n\n    Created by:\n	    Jason Coward (opengeek - jason@opengeek.com)\n	    Kyle Jaebker (kylej - kjaebker@muddydogpaws.com)\n	    Ryan Thrash (rthrash - ryan@vertexworks.com)\n	    \n	    Live Search by Thomas (Shadock)\n	    Fixes & Additions by identity/Perrine/mikkelwe\n\n    Date:\n        02/18/2007\n\n    Required Usage:\n        [!AjaxSearch!]\n\n    Changelog:\n	22-Jan-07 \n		-- Added templating support (includes/templates.inc.php)\n		-- Added language support\n		-- Switched from prototype/scriptaculous to Mootools\n	03-Jan-07 -- Added many bugfixes/additions from AjaxSearch forum\n	18-Sep-06 -- Added code to only show results for allowed pages\n	05-May-06 -- Added liveSearch functionality and new parameter\n	21-Apr-06 -- Added code to make it compatible with tagcloud snippet\n	20-Apr-06 -- Added code from eastbind & japanese community for other language searching\n	4-Apr-06 -- Added search term highlighting\n	1-Apr-06 -- initial commit into SVN\n	30-Mar-06 -- initial work based on FSF_ajax from KyleJ\n\n----------------------------------------------------------------\n:: Description\n----------------------------------------------------------------\n    Ajax search form that degrades (works without JS enabled), and that provides for either live search or click-to-submit. Results returned to the current page without reloading.\n\n----------------------------------------------------------------\n:: Parameters\n----------------------------------------------------------------\n\n    &AS_showForm [1 | 0] (optional)\n        Show the search form with the results. Default is 1 (true)\n        \n    &AS_landing [int] (optional)\n        Document id you would like the search to show on. (For non-ajax search)\n        \n    &AS_showResults [1 | 0] (optional)\n        Show the results with the snippet. (For non-ajax search)\n        \n    &extract [1 | 0] (optional)\n        Show the search words highlighting.\n        \n    &ajaxSearch [1 | 0] (optional)\n        Use the ajaxSearch. Default is 1 (true)\n\n    &ajaxSearchType [1 | 0] (optional)\n        There are two forms of the ajaxSearch.\n        0 - The form button is displayed and searching does not start until the button is pressed by the user.\n        1 - There is no form button, the search is started automatically as the user types\n\n    &ajaxMax [int] (optional)\n        The number of results you would like returned from the ajax search.\n        \n    &grabMax [int] (optional)\n        The number of results per page returned for non-ajax search and for the more results page.\n        \n    &showMoreResults [1 | 0] (optional)\n        If you want a link to show all of the results from the ajax search.\n        \n    &moreResultsPage [int] (optional)\n        Page you want the more results link to point to. This page should contain another call to this snippet for displaying results.\n        \n    &addJscript [1 | 0] (Default: 1)\n        If you want the prototype and the scriptaculous libraries added to the header of your pages automatically set this to 1.  Set to\n        0 if you do not want them inculded automatically.\n\n\n----------------------------------------------------------------\n:: CSS                         \n----------------------------------------------------------------\n    The following items are used to style the starting form and\n    ajax result container.\n\n    #ajaxSearch_form - id of the search form\n    #ajaxSearch_input - id of the input box on the form\n    #ajaxSearch_submit - id of the submit button\n    #ajaxSearch_output - id of the div that the ajax results are returned in\n    \n    The following items are used to style the reults when the user does not have javascript or they have clicked the more results link\n    \n    #ajaxSearch_resultListContainer - id of the results container\n    .ajaxSearch_paging - class for span of result pages listing\n    .ajaxSearch_pagination - class for pagination paragraph\n    .ajaxSearch_result - class for result container div\n    .ajaxSearch_resultLink - class for result link\n    .ajaxSearch_resultDescription - class for result description span\n    .ajaxSearch_extract - class for content extract div (for highlighting)\n    .ajaxSearch_highlight1,2,3 - classes for result highlighting.  You need to\n        create as many classes as terms you think a user will search for.\n    .ajaxSearch_resultsIntroFailure - class for no results paragraph\n    .ajaxSearch_intro - class for intro paragraph\n\n    The following items are used to style the results returned by the ajax request.\n\n    .AS_ajax_result - class for the result container div\n    .AS_ajax_resultLink - class for the result link\n    .AS_ajax_resultDescription - class for the result description span\n    .AS_ajax_extract - class for the content extract div (for highlighting)\n    .AS_ajax_hightlight1,2,3 - classes for result highlighting.  You need to create as many classes as terms you think a user will search for.\n    .AS_ajax_more - class for more search results div\n    .AS_ajax_resultsIntroFailure - class for no results paragraph\n\n\n----------------------------------------------------------------\n:: Example Calls              \n----------------------------------------------------------------\n[!AjaxSearch!]\n    A basic default call that renders a search form with the default images and parametes\n\n[!AjaxSearch? &showMoreResults=`1` &moreResultsPage=`25`!]\n    Allows a link to a full-page search to go to another page.\n    \n[!AjaxSearch? &ajaxMax=`10` &extract=`0`!]\n    Overrides the number of maximum results returned and removes search term highlighting.\n    \n\n----------------------------------------------------------------\n:: Credits\n----------------------------------------------------------------\n   Based on Flex Search Form (FSF) by jardc@honeydewdsign.com \n   as modified by KyleJ (kjaebker@muddydogpaws.com).\n   \n   Also based on degradible live search demos at:\n     http://orderedlist.com/articles/howto-animated-live-search/\n     http://www.gizax.it/experiments/AHAH/degradabile/test/liveSearch.html\n     \n   The search highlighting was based off of the original FSF\n     modification by Marc (MadeMyDay).\n------------------------------------------------------------- */\n\n// CONFIGURE\n\n  // MAIN SNIPPET SETUP OPTIONS\n  // --------------------------\n\n   // $searchStyle [ \'relevance\' | \'partial\' ]\n   // This option allows you to decide to use a faster, relevance sorted search (\'relevance\') which WILL NOT inlclude partial matches. Or use a slower, but more inclusive search (\'partial\') that will include partial matches. Results will NOT be sorted based on relevance.\n   // This option contributed by Rich from Snappy Graffix Media to allow partial matching and LIKE matching of the search term. sam@snappygraffix.com\n   $searchStyle = \'partial\';\n\n   // $useAllWords [ true | false ]\n   // If you want only documents which contain ALL words in the search string, set to true. Otherwise, the search will return all pages with ONE or more of the search words (which can be a LOT more pages).\n   $useAllWords = false;\n\n   // $showSearchWithResults [1 | 0]\n   // If you would like to turn off the search form when showing results you can set this to false. Can also be set in template by using the snippet variable: AS_showForm like this (1=true, 0=false):\n   // [[AjaxSearch? AS_showForm=0]]\n   $showSearchWithResults = 1;\n\n   // $resultsPage [int]\n   // The default behavior is to show the results on the current page, but you may define the results page any way you like. The priority is:\n   // 1- snippet variable - set in page template like this:\n   //    [[AjaxSearch? AS_landing=int]]\n   //    where int is the page id number of the page you want your results on\n   // 2- querystring variable AS_form\n   // 3- variable set here\n   // 4- use current page\n   // This is VERY handy when you want to put the search form in a discrete and/or small place on your page- like a side column, but don\'t want all your results to show up there!\n   // Set to results page or leave 0 as default\n   $resultsPage = 0;\n\n   // $grabMax [ int ]\n   // Set to the max number of records you would like on each page. Set to 0 if unlimited.\n   $grabMax = (isset($grabMax))? $grabMax : 10;\n\n   // $pageLinkSeparator [ string ]\n   // What you want, if anything, between your page link numbers\n   $pageLinkSeparator = \" | \";\n\n   // $stripHTML [ true | false ]\n   // Allow HTML characters in the search? Probably not.\n   $stripHTML = true;\n\n   // $stripSnip [ true | false ]\n   // Strip out snippet calls etc from the search string?\n   $stripSnip = true;\n\n   // $stripSnippets [ true | false ]\n   // Strip out snippet names so users will not be able to \"search\" to see what snippets are used in your content. This is a security benefit, as users will not be able to search for what pages use specific snippets.\n   $stripSnippets = true;\n\n   // $minChars [ int ]\n   // Minimum number of characters to require for a word to be valid for searching. MySQL will typically NOT search for words with less than 4 characters (relevance mode). If you have $useAllWords = true and a three or fewer word appears in the search string, the results will always be 0. Setting this drops those words from the search in THAT CIRCUMSTANCE ONLY (relevance mode, useAllWords=true).\n   $minChars = 4;\n\n   // $extract [1 | 0]\n   // show the search terms highlighted in a little extract (like Google)\n   $extract = (isset($extract))? $extract : 1;\n   \n   // $highlightResult [1 | 0]\n   // create links so that search terms will be highlighted when linked page clicked\n   $highlightResult = (isset($highlightResult)) ? $highlightResult : 1;\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   $ajaxSearch = (isset($ajaxSearch))? $ajaxSearch : 1;\n\n   // $ajaxSearchType [1 | 0] (as passed in snippet variable ONLY)\n   // Use this to display the search results using ajax\n   $ajaxSearchType = (isset($ajaxSearchType))? $ajaxSearchType : 0;\n\n   // $ajaxMax [int] - The maximum number of results to show for the ajaxsearch\n   $ajaxMax = (isset($ajaxMax))? $ajaxMax : 6;\n\n   // $showMoreResults [1 | 0]\n   // Set this to 1 if you would like a link to show all of the search results\n   $showMoreResults = (isset($showMoreResults))? $showMoreResults : 0;\n   \n   // $moreResultsPage [int]\n   // The document id of the page you want the more results link to point to\n   $moreResultsPage = (isset($moreResultsPage ))? $moreResultsPage : 0;\n\n   // $addJscript [1 | 0]\n   // Set this to 1 if you would like to include the javascript libraries in the\n   // header of your pages automatically.\n   $addJscript = (isset($addJscript ))? $addJscript : 1;\n   \n   //Location of the ajaxsearch, prototype, and scriptaculous libraries\n   //These will be set in the page head if they are not included in the template\n   $jsInclude = \'assets/snippets/AjaxSearch/AjaxSearch.js\';\n   $jsMooTools = \'manager/media/script/mootools/mootools.js\';\n\n   // establish whether to show the form or not\n   $showSearchWithResults = (isset($AS_showForm))? $AS_showForm : $showSearchWithResults;\n\n   // establish whether to show the results or not\n   $showResults = (isset($AS_showResults))? $AS_showResults : true;\n\n/* -------------\n  End configure\n -------------- */\n\n// Set Snippet Paths\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\n\ninclude_once $snipPath.\"AjaxSearch/includes/AjaxSearch.inc.php\";\ninclude $snipPath.\"AjaxSearch/includes/templates.inc.php\";\n\n#include default language file\ninclude($snipPath.\"AjaxSearch/lang/english.inc.php\");\n\n#include other language file if set.\n$as_language = isset($language) ? $language : $modx->config[\'manager_language\'];\nif($as_language!=\"english\" && $as_language != \'\') {\n	if(file_exists($snipPath .\"AjaxSearch/lang/\".$as_language.\".inc.php\"))\n		include $snipPath .\"AjaxSearch/lang/\".$as_language.\".inc.php\";\n}\n\n$liveSearch = $ajaxSearchType;\n\n// establish results page\nif (isset($AS_landing)) { // set in snippet\n	$searchAction = \"[~\".$AS_landing.\"~]\";\n} elseif ($resultsPage > 0) { // locally set\n	$searchAction = \"[~\".$resultsPage.\"~]\";\n} else { //otherwise\n	$searchAction = \"[~\".$modx->documentIdentifier.\"~]\";\n}\n\n// Set newline variable\n$newline = \"\\n\";\n\n// Initialize search string\n$searchString = \'\';\n\n// CLEAN SEARCH STRING\nif ( isset($_POST[\'search\']) || isset($_GET[\'AS_search\']) || isset($_GET[\'FSF_search\'])) {\n	// Prefer post to get\n	if (isset($_POST[\'search\'])) {\n		$searchString = $_POST[\'search\'];\n	} elseif (isset($_GET[\'AS_search\'])) {\n		$searchString = urldecode($_GET[\'AS_search\']);\n	} else {\n		// Code to make tag cloud snippet work with this search\n		$searchString = urldecode($_GET[\'FSF_search\']);\n	}\n\n	//**********************************************************************************************************************\n	$searchString = initSearchString($searchString,$stripHTML,$stripSnip,$stripSnippets,$useAllWords,$searchStyle,$minChars,$ajaxSearch);\n	//**********************************************************************************************************************\n} // End cleansing search string\n\n// check querystring\n$validSearch = ($searchString != \'\')? true : false ;\n\n//check for offset\n$offset = (isset($_GET[\'AS_offset\']))? $_GET[\'AS_offset\'] : 0;\n\n// initialize output\n$SearchForm = \'\';\n$introMessage = \'\';\n$useAllWords = ($useAllWords) ? 1 : 0;\n\nif ($docgrp = $modx->getUserDocGroups()) {\n	$docgrp = implode(\",\", $docgrp);\n}\n\nif ($ajaxSearch) {\n	$searchFormId = \'id=\"ajaxSearch_form\" \';\n	//Adding the javascript libraries to the header\n	if ($addJscript) {\n		$modx->regClientStartupScript($jsMooTools);\n	}\n  \n	$modx->regClientStartupScript($jsInclude);\n	\n	$jsVars = <<<EOD\n	<script type=\"text/javascript\">\n		<!--\n		stripHtml = $stripHTML;\n		stripSnip = $stripSnip;\n		stripSnippets = $stripSnippets;\n		useAllWords = $useAllWords;\n		searchStyle = \'$searchStyle\';\n		minChars = $minChars;\n		maxResults = $ajaxMax;\n		showMoreResults = $showMoreResults;\n		moreResultsPage = $moreResultsPage;\n		as_language = \'$as_language\'\n		extract = $extract;\n		liveSearch = $liveSearch;\n		docgrp = \'$docgrp\';\n		highlightResult = $highlightResult;\n		-->\n	</script>\nEOD;\n\n	$modx->regClientStartupScript($jsVars);\n} else {\n	$searchFormId = \'\';\n}\n\n// establish form\nif (($validSearch && ($showSearchWithResults)) || $showSearchWithResults){\n	$formPlaceholders = array(\n		\'[+as.formId+]\' => $searchFormId,\n		\'[+as.formAction+]\' => $searchAction,\n		\'[+as.inputValue+]\' => ($searchString == \'\' && $_lang[\'as_boxText\'] != \'\') ? $_lang[\'as_boxText\'] : $searchString,\n		\'[+as.inputOptions+]\' => ($_lang[\'as_boxText\']) ? \' onfocus=\"this.value=(this.value==\\\'\'.$_lang[\'as_boxText\'].\'\\\')? \\\'\\\' : this.value ;\"\' : \'\',\n		\'[+as.submitText+]\' => $_lang[\'as_searchButtonText\'],\n	);\n	\n	$finalSearchForm = str_replace( array_keys( $formPlaceholders ), array_values( $formPlaceholders ), $asTemplates[\'form\'] );\n} else {\n	$finalSearchForm = \'\';\n}\n\n$finalResults = \'\';\nif ($showResults) {\n	if($validSearch) {\n	//**********************************************************************************************************************\n	$rs = doSearch($searchString,$searchStyle,$useAllWords,$ajaxSearch,$docgrp);\n	//**********************************************************************************************************************\n	$limit = $modx->recordCount($rs);\n	$search = explode(\" \", $searchString);\n		if($limit>0) {\n			// pagination\n			if ($grabMax > 0){\n				$numResultPages = ceil($limit/$grabMax);\n				$resultPagingText = ($limit>$grabMax) ? $_lang[\'as_paginationTextMultiplePages\'] : $_lang[\'as_paginationTextSinglePage\'] ;\n				$resultPageLinkNumber = 1;\n				$resultPageLinks = \'\';\n				for ( $nrp = 0; $nrp < $limit && $limit > $grabMax; $nrp += $grabMax ){\n					if($offset == ($resultPageLinkNumber-1)*$grabMax){\n						$resultPageUrl = $resultPageLinkNumber;\n						$usePageTemplate = \'pagingLinksCurrent\';\n					} else {\n						$resultPageUrl = $modx->makeUrl($modx->documentIdentifier, \'\', \'AS_offset=\' . $nrp . \'&AS_search=\' . urlencode($searchString));\n						$usePageTemplate = \'pagingLinks\';\n					}\n					\n					$useSeperator = ($nrp + $grabMax < $limit) ? $pageLinkSeparator : \'\' ;\n					\n					$pageLinkPlaceholders = array(\n						\'[+as.pagingLink+]\' => $resultPageUrl,\n						\'[+as.pagingText+]\' => $resultPageLinkNumber,\n						\'[+as.pagingSeperator+]\' => $useSeperator,\n					);\n					\n					$resultPageLinks .= str_replace(array_keys($pageLinkPlaceholders),array_values($pageLinkPlaceholders),$asTemplates[$usePageTemplate]);\n					$resultPageLinkNumber++;\n				}\n				\n				$pageLinkPlaceholders = array(\n					\'[+as.pagingText+]\' => $resultPagingText,\n					\'[+as.pagingLinks+]\' => $resultPageLinks,\n				);\n				\n				$resultPageLinksFinal = str_replace(array_keys($pageLinkPlaceholders),array_values($pageLinkPlaceholders),$asTemplates[\'pagingLinksOuter\']);\n				\n				$resultsFoundText = ($limit > 1)? $_lang[\'as_resultsFoundTextMultiple\'] : $_lang[\'as_resultsFoundTextSingle\'] ;\n				if ($extract) {\n					$hits=1;\n					$searchwords=\'\';\n					foreach ($search as $words) {\n						$searchwords .= \'<span class=\"ajaxSearch_highlight ajaxSearch_highlight\'.$hits.\'\">\'.$words.\'</span>&nbsp;\';\n						$hits++;\n					}\n					// Remove trailing \'&nbsp;\'\n					$searchwords = substr($searchwords, 0, strlen($searchwords) -6);\n					$resultsFoundText = sprintf($resultsFoundText,$limit,$searchwords);\n				} else {\n					$resultsFoundText = sprintf($resultsFoundText,$limit,$searchString);\n				}\n				\n				$resultInfoPlaceholders = array(\n					\'[+as.resultInfoText+]\' => $resultsFoundText,\n				);\n				\n				$resultInfo = str_replace(array_keys($resultInfoPlaceholders),array_values($resultInfoPlaceholders),$asTemplates[\'resultsInfo\']);		\n			} // end if grabMax\n\n			// search results\n			$useLimit = ($grabMax > 0)? $offset+$grabMax : $limit;\n			$allResults = \'\';\n			for ($y = $offset; ($y < $useLimit) && ($y<$limit); $y++) {\n				$moveToRow = mysql_data_seek($rs,$y);\n				$SearchFormsrc=$modx->fetchRow($rs);\n				if ($extract) {\n					$highlightClass = \'ajaxSearch_highlight\';\n					$text=$SearchFormsrc[\'content\'];\n					$count=1;\n					$summary=\'\';\n					$toAdd = PrepareSearchContent( $text, $length=200, $search[0] );\n					strip_tags( $text );\n					foreach ($search as $searchTerm) {\n						if (preg_match(\'/\' . preg_quote($searchTerm) . \'/i\', $text)) {\n							if ($count > 1) { // The first summary was already extracted above\n								$toAdd = SmartSubstr( $text , $length=200, $searchTerm );\n							}\n							$summary .= preg_replace( \'/\' . preg_quote( $searchTerm, \'/\' ) . \'/i\', \'<span class=\"ajaxSearch_highlight ajaxSearch_highlight\'.$count.\'\">\\0</span>\', $toAdd ) . \' \';\n						}\n						$highlightClass .= \' ajaxSearch_highlight\'.$count;\n						$count++;\n					}\n					$text=$summary;\n				}\n				\n				if ($highlightResult) {\n					if (!$extract) {\n						$highlightClass = \'ajaxSearch_highlight\';\n						$count=1;\n						foreach ($search as $searchTerm) {\n							$highlightClass .= \' ajaxSearch_highlight\'.$count;\n							$count++;\n						}\n					}\n				\n					$searchFormLink = $modx->makeUrl($SearchFormsrc[\'id\'],\'\',\'searched=\'.urlencode($searchString).\'&amp;highlight=\'.urlencode($highlightClass));\n				} else {\n					$searchFormLink = $modx->makeUrl($SearchFormsrc[\'id\']);\n				}\n			\n				if ($extract) {\n					$extractPlaceholders = array(\n						\'[+as.extractClass+]\' => \'ajaxSearch_extract\',\n						\'[+as.extract+]\' => $text,\n					);\n					$resultExtract = str_replace(array_keys($extractPlaceholders),array_values($extractPlaceholders),$asTemplates[\'extractWrapper\']);\n				} else {\n					$resultExtract = \'\';\n				}\n				\n				if ($SearchFormsrc[\'description\'] != \'\') {\n					$descPlaceholders = array(\n						\'[+as.descriptionClass+]\' => \'ajaxSearch_resultDescription\',\n						\'[+as.description+]\' => $SearchFormsrc[\'description\'],\n					);\n					$resultDesc = str_replace(array_keys($descPlaceholders),array_values($descPlaceholders),$asTemplates[\'descriptionWrapper\']);\n				} else {\n					$resultDesc = \'\';\n				}\n				\n				$resultPlaceholders = array(\n					\'[+as.resultClass+]\' => \'ajaxSearch_result\',\n					\'[+as.resultLinkClass+]\' => \'ajaxSearch_resultLink\',\n					\'[+as.resultLink+]\' => $searchFormLink,\n					\'[+as.longtitle+]\' => $SearchFormsrc[\'longtitle\'],\n					\'[+as.pagetitle+]\' => $SearchFormsrc[\'pagetitle\'],\n					\'[+as.description+]\' => $resultDesc,\n					\'[+as.extract+]\' => $resultExtract,\n				);\n				\n				$allResults .= str_replace(array_keys($resultPlaceholders),array_values($resultPlaceholders),$asTemplates[\'result\']);\n			}\n			\n			$finalPlaceholders = array(\n				\'[+as.results+]\' => $allResults,\n				\'[+as.paging+]\' => $resultPageLinksFinal,\n				\'[+as.resultInfo+]\' => $resultInfo,\n			);\n			\n			$finalResults .= str_replace(array_keys($finalPlaceholders),array_values($finalPlaceholders),$asTemplates[\'no_ajax_outer\']);\n		} else {\n			$noResultsPlaceholder = array(\n				\'[+as.noResultClass+]\' => \'ajaxSearch_resultsIntroFailure\',\n				\'[+as.noResultText+]\' => $_lang[\'as_resultsIntroFailure\'],\n			);\n			$finalResults .= str_replace(array_keys($noResultsPlaceholder),array_values($noResultsPlaceholder),$asTemplates[\'noResults\']);\n		} // end if records found\n	} else if (!$validSearch && isset($_POST[\'sub\'])) {\n		// message to show if search was performed but for something invalid\n		$noResultsPlaceholder = array(\n			\'[+as.noResultClass+]\' => \'ajaxSearch_resultsIntroFailure\',\n			\'[+as.noResultText+]\' => $_lang[\'as_resultsIntroFailure\'],\n		);\n		$finalResults .= str_replace(array_keys($noResultsPlaceholder),array_values($noResultsPlaceholder),$asTemplates[\'noResults\']);\n	} else { // end if validSearch\n		$introMessage = str_replace(\'[+as.introMessage+]\',$_lang[\'as_introMessage\'],$asTemplates[\'introMessage\']);\n	} // end if not validSearch\n} // end if showResults\n\nif ($ajaxSearch) {\n    $finalResults = \'<div id=\"ajaxSearch_output\" style=\"opacity:0;\"> </div>\';\n	$introMessage = \'\';\n}\n\n$finalPlaceholders = array(\n	\'[+as.form+]\' => $finalSearchForm,\n	\'[+as.intro+]\' => $introMessage,\n	\'[+as.results+]\' => $finalResults,\n);\n\n$SearchForm .= str_replace(array_keys($finalPlaceholders),array_values($finalPlaceholders),$asTemplates[\'layout\']);\n\nreturn $SearchForm;',0,'',''),(2,'Breadcrumbs','<strong>0.9d</strong> Configurable breadcrumb page trail navigation.',0,4,0,'// --------------------\n// Snippet: Breadcrumbs\n// --------------------\n// Version: 0.9d\n// Date: 2006.06.12\n// jaredc@honeydewdesign.com\n// Honorable mentions:\n// - Bill Wilson\n// - wendy@djamoer.net\n// - grad\n//\n// This snippet was designed to show the path through the various\n// levels of site structure back to the root. It is NOT necessarily\n// the path the user took to arrive at a given page.\n\n// Configuration Settings\n\n    // $maxCrumbs [number]\n    // Max number of elements to have in a path.\n    // 100 is an arbitrary high number.\n    // If you make it smaller, like say 2, but you\n    // you are 5 levels deep, it will appear as:\n    // Home > ... > Level 4 > Level 5\n    // It should be noted that \"Home\" and the current\n    // page do not count. Each of these are configured\n    // separately.\n    (isset($maxCrumbs)) ? $maxCrumbs : $maxCrumbs = 100;\n\n    // $pathThruUnPub [ 1 | 0 ]\n    // When your path includes an unpublished folder, setting this to \n    // 1 will show all documents in path EXCEPT the unpublished.\n    // Example path (unpublished in caps)\n    // home > news > CURRENT > SPORTS > skiiing > article\n    // $pathThruUnPub = true would give you this:\n    // home > news > skiiing > article\n    // $pathThruUnPub = false  would give you this:\n    // home > skiiing > article (assuming you have home crumb turned on)\n    (isset($pathThruUnPub)) ? $pathThruUnPub : $pathThruUnPub = 1;\n   \n    // $respectHidemenu [ 1 | 0 ]\n    // Setting this to 1 will hide items in the breadcrumb list that\n    // are set to be hidden in menus.\n    (isset($respectHidemenu)) ? $respectHidemenu : $respectHidemenu = 1;\n\n    // $showHomeCrumb [ 1 | 0 ]\n    // Would you like your crumb string to start\n    // with a link to home? Some would not because\n    // a home link is usually found in the site logo\n    // or elsewhere in the navigation scheme.\n    (isset($showHomeCrumb)) ? $showHomeCrumb : $showHomeCrumb = 1;\n\n    // $showCrumbsAtHome [ 1 | 0 ]\n    // You can use this to turn off the breadcrumbs on the\n    // home page with 1.\n    // grad: actually \'1\' shows and \'0\' hides crumbs at homepage\n    (isset($showCrumbsAtHome)) ? $showCrumbsAtHome : $showCrumbsAtHome = 0;\n\n    // $showCurrentCrumb [ 1 | 0 ]\n    // Show the current page in path with 1 or not with 0.\n    (isset($showCurrentCrumb)) ? $showCurrentCrumb : $showCurrentCrumb = 1;\n\n    // $currentAsLink [ 1 | 0]\n    // If you want the current page crumb to be a\n    // link (to itself) then set to 1.\n    (isset($currentAsLink)) ? $currentAsLink : $currentAsLink = 0;\n\n    // $crumbSeparator [string]\n    // Define what you want between the crumbs\n    (isset($crumbSeparator)) ? $crumbSeparator : $crumbSeparator = \"&raquo;\";\n\n    // $homeCrumbTitle [string]\n    // Just in case you want to have a home link,\n    // but want to call it something else\n    (isset($homeCrumbTitle)) ? $homeCrumbTitle : $homeCrumbTitle = \'Home\';\n\n    // $homeCrumbDescription [string]\n    // In case you want to have a custom description of the home link\n    // Defaults to title of home link\n    (isset($homeCrumbDescription)) ? $homeCrumbDescription : $homeCrumbDescription = $homeCrumbTitle; \n\n    // $titleField [string]\n    // To change default page field to be used as\n    // a breadcrumb title, default is pagetitle\n    (isset($titleField)) ? $titleField : $titleField = \'pagetitle\';\n\n    // $descField [string]\n    // To change default page field to be used as\n    // a breadcrumb description, default is description (GA: falls back to pagetitle if description is empty)\n    (isset($descField)) ? $descField : $descField = \'description\';\n\n    // Included classes\n    // .B_crumbBox        Span that surrounds all crumb output\n    // .B_hideCrumb       Span surrounding the \"...\" if there are more crumbs than will be shown\n    // .B_currentCrumb    Span or A tag surrounding the current crumb\n    // .B_firstCrumb      Span that always surrounds the first crumb, whether it is \"home\" or not\n    // .B_lastCrumb       Span surrounding last crumb, whether it is the current page or not\n    // .B_crumb           Class given to each A tag surrounding the intermediate crumbs (not home, or hide)\n    // .B_homeCrumb       Class given to the home crumb\n    \n\n// ***********************************\n// END CONFIG SETTINGS\n// THE REST SHOULD TAKE CARE OF ITSELF\n// ***********************************\n\n// Check for home page\nif ($showCrumbsAtHome || (!$showCrumbsAtHome && ($modx->documentIdentifier != $modx->config[\'site_start\'])) ){\n\n    //initialize crumb array\n    $ptarr = array();\n    // get current page parent info\n    $docInfo = $modx->getDocument($modx->documentIdentifier,\'id,pagetitle,menutitle,published,deleted,parent,hidemenu,description,longtitle,introtext\');\n    $pid = $docInfo[\'parent\'];\n    // show current page, as link or not\n    if ($showCurrentCrumb){\n        $titleToShow = ($docInfo[$titleField])? $docInfo[$titleField] : $docInfo[\'pagetitle\'] ;\n        if ($currentAsLink && (!$respectHidemenu || ($respectHidemenu && $docInfo[\'hidemenu\'] != 1 ))){\n            $descriptionToUse = ($docInfo[$descField]) ? $docInfo[$descField] : $docInfo[\'pagetitle\'] ;\n            $ptarr[] = \'<a class=\"B_currentCrumb\" href=\"[~\'.$modx->documentIdentifier.\'~]\" title=\"\'.$descriptionToUse.\'\">\'.$titleToShow.\'</a>\';\n        } else {\n            $ptarr[] = \'<span class=\"B_currentCrumb\">\'.$docInfo[\'pagetitle\'].\'</span>\';\n        }\n    }\n    // assemble intermediate crumbs\n    $crumbCount = 0;\n    //$activeOnly = ($pathThruUnPub)? 0 : 1;\n    //while (($parent=$modx->getPageInfo($pid,$activeOnly,\"id,pagetitle,menutitle,published,deleted,parent,hidemenu,description,longtitle,introtext\")) && ($crumbCount < $maxCrumbs)) {\n    while (($parent=$modx->getPageInfo($pid,!$pathThruUnPub,\"id,pagetitle,menutitle,published,deleted,parent,hidemenu,description,longtitle,introtext\")) && ($crumbCount < $maxCrumbs)) {\n        if ($parent[\'published\'] && !$parent[\'deleted\'] && $parent[\'id\'] != $modx->config[\'site_start\']){\n            if (!$respectHidemenu || ($respectHidemenu && $parent[\'hidemenu\'] != 1 )){\n                $titleToShow = ($parent[$titleField])? $parent[$titleField] : $parent[\'pagetitle\'] ;\n                $descriptionToUse = ($parent[$descField]) ? $parent[$descField] : $parent[\'pagetitle\'] ;\n                $ptarr[] = \'<a class=\"B_crumb\" href=\"[~\'.$parent[\'id\'].\'~]\" title=\"\'.$descriptionToUse.\'\">\'.$titleToShow.\'</a>\';\n            }\n        } // end if   \n        $pid = $parent[\'parent\'];\n        $crumbCount++;\n    } // end while\n\n    // insert \'...\' if maximum number of crumbs exceded\n    if ($parent != 0){\n        $ptarr[] = \'<span class=\"B_hideCrumb\">...</span>\';\n    }\n\n    // add home link if desired\n    if ($showHomeCrumb && ($modx->documentIdentifier != $modx->config[\'site_start\'])){\n        $ptarr[] = \'<a class=\"B_homeCrumb\" href=\"[~\'.$modx->config[\'site_start\'].\'~]\" title=\"\'.$homeCrumbDescription.\'\">\'.$homeCrumbTitle.\'</a>\';\n    }\n\n    $ptarr = array_reverse($ptarr);\n    $ptarr[0] = \'<span class=\"B_firstCrumb\">\'.$ptarr[0].\'</span>\';\n    $ptarr[count($ptarr)-1] = \'<span class=\"B_lastCrumb\">\'.$ptarr[count($ptarr)-1].\'</span>\';\n    return \'<span class=\"B_crumbBox\">\'. join($ptarr, \" $crumbSeparator \").\'</span>\';\n\n}',0,'',''),(3,'Ditto','<strong>2.0.2</strong> Summarizes and lists pages to create blogs, catalogs, PR archives, bio listings and more.',0,3,0,'/*\n * Title: Ditto Snippet\n * \n * 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 * Version: \n * 		2.0.2\n*/\n\n//---Core Settings---------------------------------------------------- //\n\n$ditto_version = \"2.0.2\";\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 : \"english\";\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//---Includes-------------------------------------------------------- //\n\n$files = array (\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\" => (substr($config, 0, 5) != \"@FILE\") ? $ditto_base.\"configs/$config.config.php\" : $modx->config[\'base_path\'].trim(substr($config, 5))\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\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------------------------------------------------------- /*\n\nif (isset($startID)) {$parents = $startID;}\nif (isset($summarize)) {$display = $summarize;}\nif (isset($limit)) {$queryLimit = $limit;}\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\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 &show lenght\n\n	Options:\n	0 - off\n	1 - on\n	\n	Default:\n	0 - off\n	\n	Related:\n	- <paginateAlwaysShowLinks>\n	- <paginateSplitterCharacter>\n	- <show>\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 : 3;\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	3\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	- <show>\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 only published documents\n	\n	Default:\n	1 - show only published documents\n	\n	Related:\n	- <seeThruUnpub>\n	- <hideFolders>\n	- <showPublishedOnly>\n	- <where>\n	\n	Todo:\n	- Allow when set to 0 show both published and unpublished documents\n*/\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\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$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$sortDir = isset($sortDir) ? strtoupper($sortDir) : \'DESC\';\n/*\n	Param: sortDir\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	- <sortBy>\n*/\n$sortBy = isset($sortBy) ? $ditto->parseSort($sortBy, $randomize) : \"createdon\";\n/*\n	Param: sortBy\n\n	Purpose:\n 	Field to sort documents by\n\n	Options:\n	Any document object field or TV\n\n	Default:\n	\"createdon\"\n	\n	Related:\n	- <sortDir>\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	Only show items meeting a criteria\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	\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\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\"], $sortBy, $sortDir, $depth, $showPublishedOnly, $seeThruUnpub, $hideFolders, $showInMenuOnly, $where, $keywords, $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\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) : $_lang[\'prev\'];\n		/*\n			Param: tplPaginatePrevious\n\n			Purpose:\n			Template for the inside of the previous link\n\n			Options:\n			- Any valid chunk name\n			- Code via @CODE\n			- File via @FILE\n\n			Default:\n			[LANG]\n		\n			Related:\n			- <tplPaginateNext>\n			- <paginateSplitterCharacter>\n		*/\n		$tplPaginateNext = isset($tplPaginateNext)? $ditto->template->fetch($tplPaginateNext) : $_lang[\'next\'];\n		/*\n			Param: tplPaginateNext\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			Default:\n			[LANG]\n		\n			Related:\n			- <tplPaginatePrevious>\n			- <paginateSplitterCharacter>\n		*/\n		$ditto->paginate($start, $stop, $total, $display, $tplPaginateNext, $tplPaginatePrevious, $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($sortDir) {\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,count($documentIDs));\n	} else {\n		$queryLimit = ($queryLimit == 0) ? \"\" : $queryLimit;\n	}\n\n	$resource = $ditto->getDocuments($documentIDs, $dbFields, $TVs, $keywords, $showPublishedOnly, 0, $where, $queryLimit, $sortBy, $sortDir,$randomize);\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);\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 .= $noResults;\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.$noResults.$footer;\n}\n// ---------------------------------------------------\n// Handle Debugging\n// ---------------------------------------------------\n\nif ($debug == 1) {\n	$ditto_params = func_get_args();\n	if (!isset($_GET[\"ditto_\".$dittoID.\"debug\"])) {\n	$_SESSION[\"ditto_debug_$dittoID\"] = $ditto->debug->render_popup($ditto, $ditto_base, $ditto_version, $ditto_params[1], $documentIDs, array(\"db\"=>$dbFields,\"tv\"=>$TVs), $display, $templates, $sortBy, $sortDir, $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 : \"\";\n',0,'',''),(4,'eForm','<strong>1.4.4</strong> Robust form parser/processor with validation, multiple sending options, chunk/page support for forms and reports, and file uploads.',0,5,0,'# eForm 1.4.4 - 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# local version: $Id: eform.snippet.tpl,v 1.2 2006/11/22 14:53:38 jelle Exp $\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#new in 1.4.4 - sub-folder set by parameter\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)? 1:0,\n   \'sendirect\' => isset($sendirect)? 1: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)? 1: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# 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 folder document.',0,4,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.2</strong> User comments with moderation and email subscription.',0,3,0,'/*####\n#\n#	Name: Jot\n#	Version: 1.1.2\n#	Author: Armand \"bS\" Pondman (apondman@zerobarrier.nl)\n#	Date: Feb 19, 2006 15:26 CET\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.2\");\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(\"notify\", $notify);\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(\"tplSubscribe\", $tplSubscribe);\n$Jot->Set(\"debug\", $debug);\n$Jot->Set(\"output\", $output);\nreturn $Jot->Run();',0,'',''),(7,'ListIndexer','<strong>1.0</strong> Shows the most recent documents, highly flexible.',0,3,0,'// --------------------\n// Snippet: ListIndexer\n// --------------------\n// Version: 1.0\n// Date: 10 Oct 2005\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\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   // $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$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\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 $tbl WHERE \";\n      $validParentSql .= \"isfolder = 1 AND parent = $p \";\n      $validParentSql .= \"AND $tbl.deleted=0 \";\n      $validParentSql .= ($seeThruUnpub)? \";\" : \"AND $tbl.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// Initialize\n$recentSql = \"\";\n$recentSql .= \"SELECT 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 $tbl \";\n$recentSql .= \"WHERE \";\n// Look everywhere, or just under valid parents\n$recentSql .= (($rootFolder == 0) && $seeThruUnpub && ($descendentDepth == 0))? \"\" : \"parent IN ($validParents) AND \" ;\n// Published\n$recentSql .= \"$tbl.published = 1 \";\n// Show In Menu\n$recentSql .= ($seeShowInMenu)? \" \" : \" AND $tbl.hidemenu=0 \" ;\n// Not deleted\n$recentSql .= \"AND $tbl.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.0</strong> Selectively show chunks based on logged in Web User\' group memberships.',0,2,0,'#::::::::::::::::::::::::::::::::::::::::\n# Snippet name: MemberCheck \n# Short Desc: checks logged in groups and displays a chunk\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,'NewsPublisher','<strong>1.4</strong> Publish news articles directly from the web.',0,3,0,'#::::::::::::::::::::::::::::::::::::::::\n#\n#  Snippet Name: NewsPublisher \n#  Short Desc: Create articles directly from front end (news, blogs, PR, etc.)\n#  Created By: Raymond Irving (xwisdom@yahoo.com), August 2005\n#\n#  Version: 1.4\n#  Modified: December 13, 2005\n#\n#  Changelog: \n#	 Mar 05, 06 -- modx_ prefix removed [Mark]\n#    Dec 13, 05 -- Now inherrits web/manager docgroups thanks to Jared Carlow\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#    Only meant to be used once per page.\n#::::::::::::::::::::::::::::::::::::::::\n#  \n#  Parameters:\n#    &folder      - folder id where comments are stored\n#    &makefolder  - set to 1 to automatically convert the parent document to a folder. Defaults to 0\n#    &postid      - document id to load after posting news item. Defaults to the page created\n#    &canpost     - comma delimitted web groups that can post comments. leave blank for public posting\n#    &badwords    - comma delimited list of words not allowed in post\n#    &template    - name of template to use for news post\n#    &headertpl   - header template (chunk name) to be inserted at the begining of the news content\n#    &footertpl   - footer template (chunk name) to be inserted at the end of the news content\n#    &formtpl     - form template (chunk name)\n#    &rtcontent   - name of a richtext content form field \n#    &rtsummary   - name of a richtext summary form field \n#    &showinmenu  - sets the flag to true or false (1|0) as to whether or not it shows in the menu. defaults to false (0)\n#    &aliastitle  - set to 1 to use page title as alias suffix. Defaults to 0 - date created.\n#    &clearcache  - when set to 1 the system will automatically clear the site cache after publishing an article.\n#  \n#::::::::::::::::::::::::::::::::::::::::\n\n// get user groups that can post articles\n$postgrp = isset($canpost) ? explode(\",\",$canpost):array();\n$allowAnyPost = count($postgrp)==0 ? true : false;\n\n// get clear cache\n$clearcache	 = isset($clearcache) ? 1:0;\n\n// get alias title\n$aliastitle	 = isset($aliastitle) ? 1:0;\n\n// get folder id where we should store articles\n// else store in current document\n$folder = isset($folder) ? intval($folder):$modx->documentIdentifier;\n\n// set rich text content field\n$rtcontent = isset($rtcontent) ? $rtcontent:\'content\';\n\n// set rich text summary field\n$rtsummary = isset($rtsummary) ? $rtsummary:\'introtext\';\n\n// get header\n$header = isset($headertpl) ? \"{{\".$headertpl.\"}}\":\'\';\n\n// get footer\n$footer = isset($footertpl) ? \"{{\".$footertpl.\"}}\":\'\';\n\n// get postback status\n$isPostBack = isset($_POST[\'NewsPublisherForm\']) ? true:false;\n\n// get badwords\nif(isset($badwords)) {\n    $badwords = str_replace(\' \',\'\', $badwords);\n    $badwords = \"/\".str_replace(\',\',\'|\', $badwords).\"/i\";\n}\n\n// get menu status\n$hidemenu = isset($showinmenu) && $showinmenu==1 ? 0 : 1;\n\n// get template\n$template = isset($template) ? $modx->db->getValue(\'SELECT id FROM \'.$modx->getFullTableName(\'site_templates\').\' WHERE templatename=\\\'\'.mysql_escape_string($template).\'\\\'\'):$modx->config[\'default_template\'];\n\n$message = \'\';\n\n// get form template\nif(isset($formtpl)) $formTpl = $modx->getChunk($formtpl);\nif(empty($formTpl)) $formTpl = \'\n    <form name=\"NewsPublisher\" method=\"post\">\n        <input name=\"NewsPublisherForm\" type=\"hidden\" value=\"on\" />\n        Page title:<br /><input name=\"pagetitle\" type=\"text\" size=\"40\" value=\"[+pagetitle+]\" /><br />\n        Long title:<br /><input name=\"longtitle\" type=\"text\" size=\"40\" value=\"[+longtitle+]\" /><br />\n        Description:<br /><input name=\"description\" type=\"text\" size=\"40\" value=\"[+description+]\" /><br />\n        Published date:<br /><input name=\"pub_date\" type=\"text\" value=\"[+pub_date+]\" size=\"40\" readonly=\"readonly\" />\n        <a onClick=\"nwpub_cal1.popup();\" onMouseover=\"window.status=\\\'Select date\\\'; return true;\" onMouseout=\"window.status=\\\'\\\'; return true;\" style=\"cursor:pointer; cursor:hand\"><img align=\"absmiddle\" src=\"manager/media/images/icons/cal.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Select date\" /></a>\n        <a onClick=\"document.NewsPublisher.pub_date.value=\\\'\\\'; return true;\" onMouseover=\"window.status=\\\'Remove date\\\'; return true;\" onMouseout=\"window.status=\\\'\\\'; return true;\" style=\"cursor:pointer; cursor:hand\"><img align=\"absmiddle\" src=\"manager/media/images/icons/cal_nodate.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Remove date\"></a><br />\n        Unpublished date:<br /><input name=\"unpub_date\" type=\"text\" value=\"[+unpub_date+]\" size=\"40\" readonly=\"readonly\" />\n        <a onClick=\"nwpub_cal2.popup();\" onMouseover=\"window.status=\\\'Select date\\\'; return true;\" onMouseout=\"window.status=\\\'\\\'; return true;\" style=\"cursor:pointer; cursor:hand\"><img align=\"absmiddle\" src=\"manager/media/images/icons/cal.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Select date\" /></a>\n        <a onClick=\"document.NewsPublisher.unpub_date.value=\\\'\\\'; return true;\" onMouseover=\"window.status=\\\'Remove date\\\'; return true;\" onMouseout=\"window.status=\\\'\\\'; return true;\" style=\"cursor:pointer; cursor:hand\"><img align=\"absmiddle\" src=\"manager/media/images/icons/cal_nodate.gif\" width=\"16\" height=\"16\" border=\"0\" alt=\"Remove date\"></a><br />\n        Summary:<br /><textarea name=\"introtext\" cols=\"50\" rows=\"5\">[+introtext+]</textarea><br />\n        Content:<br /><textarea name=\"content\" cols=\"50\" rows=\"8\">[+content+]</textarea><br />\n        <input name=\"send\" type=\"submit\" value=\"Submit\" />\n    </form>\n    <script language=\"JavaScript\" src=\"manager/media/script/datefunctions.js\"></script>\n    <script type=\"text/javascript\">\n        var elm_txt = {}; // dummy\n        var pub = document.forms[\"NewsPublisher\"].elements[\"pub_date\"];\n        var nwpub_cal1 = new calendar1(pub,elm_txt);\n        nwpub_cal1.path=\"[(base_url)]manager/media/\";\n        nwpub_cal1.year_scroll = true;\n        nwpub_cal1.time_comp = true;	\n\n        var unpub = document.forms[\"NewsPublisher\"].elements[\"unpub_date\"];\n        var nwpub_cal2 = new calendar1(unpub,elm_txt);\n        nwpub_cal2.path=\"[(base_url)]manager/media/\";\n        nwpub_cal2.year_scroll = true;\n        nwpub_cal2.time_comp = true;	\n    </script>\';\n\n\n// switch block\nswitch ($isPostBack) {\n    case true:\n        // process post back\n        // remove magic quotes from POST\n        if(get_magic_quotes_gpc()){\n            $_POST = array_map(\"stripslashes\", $_POST);\n        }	\n        if(trim($_POST[\'pagetitle\'])==\'\') $modx->webAlert(\'Missing page title.\');\n        elseif($_POST[$rtcontent]==\'\') $modx->webAlert(\'Missing news content.\');\n        else {\n            // get created date\n            $createdon = time();\n\n            // set alias name of document used to store articles\n            if(!$aliastitle) $alias = \'article-\'.$createdon;\n            else {\n                $alias = $modx->stripTags($_POST[\'pagetitle\']);\n                $alias = strtolower($alias);\n                $alias = preg_replace(\'/&.+?;/\', \'\', $alias); // kill entities\n                $alias = preg_replace(\'/[^\\.%a-z0-9 _-]/\', \'\', $alias);\n                $alias = preg_replace(\'/\\s+/\', \'-\', $alias);\n                $alias = preg_replace(\'|-+|\', \'-\', $alias);\n                $alias = trim($alias, \'-\');			\n                $alias = \'article-\'.$modx->db->escape($alias);\n            }\n\n            $user = $modx->getLoginUserName();\n            $userid = $modx->getLoginUserID();\n            if(!$user && $allowAnyPost) $user = \'anonymous\';\n\n            // check if user has rights\n            if(!$allowAnyPost && !$modx->isMemberOfWebGroup($postgrp)) {\n                return \'You are not allowed to publish articles\';\n            }\n\n            $allowedTags = \'<p><br><a><i><em><b><strong><pre><table><th><td><tr><img><span><div><h1><h2><h3><h4><h5><font><ul><ol><li><dl><dt><dd>\';\n\n            // format content\n            $content = $modx->stripTags($_POST[$rtcontent],$allowedTags);\n            $content = str_replace(\'[+user+]\',$user,$content);\n            $content = str_replace(\'[+createdon+]\',strftime(\'%d-%b-%Y %H:%M\',$createdon),$content);\n            foreach($_POST as $n=>$v) {\n                if(!empty($badwords)) $v = preg_replace($badwords,\'[Filtered]\',$v); // remove badwords\n                $v = $modx->stripTags(htmlspecialchars($v));\n                $v = str_replace(\"\\n\",\'<br />\',$v);\n                $content = str_replace(\'[+\'.$n.\'+]\',$v,$content);\n            }\n\n            $title = mysql_escape_string($modx->stripTags($_POST[\'pagetitle\']));\n            $longtitle = mysql_escape_string($modx->stripTags($_POST[\'longtitle\']));\n            $description = mysql_escape_string($modx->stripTags($_POST[\'description\']));\n            $introtext = mysql_escape_string($modx->stripTags($_POST[$rtsummary],$allowedTags));\n            $pub_date = $_POST[\'pub_date\'];\n            $unpub_date = $_POST[\'unpub_date\'];\n            $published = 1;\n\n            // check published date\n            if($pub_date==\"\") {\n                $pub_date=\"0\";\n            } else {\n                list($d, $m, $Y, $H, $M, $S) = sscanf($pub_date, \"%2d-%2d-%4d %2d:%2d:%2d\");\n                $pub_date = strtotime(\"$m/$d/$Y $H:$M:$S\");\n\n                if($pub_date < $createdon) {\n                    $published = 1;\n                }    elseif($pub_date > $createdon) {\n                    $published = 0;	\n                }\n            }\n\n            // check unpublished date\n            if($unpub_date==\"\") {\n                $unpub_date=\"0\";\n            } else {\n                list($d, $m, $Y, $H, $M, $S) = sscanf($unpub_date, \"%2d-%2d-%4d %2d:%2d:%2d\");\n                $unpub_date = strtotime(\"$m/$d/$Y $H:$M:$S\");\n                if($unpub_date < $createdon) {\n                    $published = 0;\n                }\n            }\n\n            // set menu index\n            $mnuidx = $modx->db->getValue(\'SELECT MAX(menuindex)+1 as \\\'mnuidx\\\' FROM \'.$modx->getFullTableName(\'site_content\').\' WHERE parent=\\\'\'.$folder.\'\\\'\');\n            if($mnuidx<1) $mnuidx = 0;\n\n            // post news content\n            $flds = array(\n                \'pagetitle\'     => $title,\n                \'longtitle\'     => $longtitle,\n                \'description\' => $description,\n                \'introtext\'     => $introtext,\n                \'alias\'             => $alias,\n                \'parent\'            => $folder, \n                \'createdon\'     => $createdon,\n                \'createdby\'     => ($userid>0 ? $userid * -1:0),\n                \'editedon\'        => \'0\',\n                \'editedby\'        => \'0\',\n                \'published\'     => $published,\n                \'pub_date\'        => $pub_date,\n                \'unpub_date\'    => $unpub_date,\n                \'deleted\'         => \'0\',\n                \'hidemenu\'        => $hidemenu,\n                \'menuindex\'     => $mnuidx,\n                \'template\'        => $template,\n                \'content\'         => mysql_escape_string($header.$content.$footer)\n            );\n            $redirectid = $modx->db->insert($flds,$modx->getFullTableName(\'site_content\'));\n\n            // Doc group thing\n            // look in save_content.processor.php for tips (or below)\n            $lastInsertId = $modx->db->getInsertId();\n\n            // Get doc groups based on $folder (parent id)\n            $parentDocGroupsSql = \"SELECT * FROM \" . $modx->getFullTableName(\'document_groups\'). \" where document=\".$folder;\n            $parentDocGroupsRs = $modx->db->query($parentDocGroupsSql);\n            $parentDocGroupsLimit = $modx->db->getRecordCount($parentDocGroupsRs);\n            for ($pdgi = 0; $pdgi < $parentDocGroupsLimit; $pdgi++) { \n                $currentDocGroup = $modx->db->getRow($parentDocGroupsRs);\n                $parentDocGroupsArray[$pdgi] = $currentDocGroup[\'document_group\'];\n            }\n\n            // put the document in the document_groups it should be in\n            // check that up_perms are switched on!\n            if($modx->config[\'use_udperms\']==1) {\n                if(is_array($parentDocGroupsArray)) {\n                    foreach ($parentDocGroupsArray as $dgKey=>$dgValue) {\n                        $insertDocSql = \"INSERT INTO \".$modx->getFullTableName(\'document_groups\').\"(document_group, document) values(\".stripslashes($dgValue).\", $lastInsertId)\";\n                        $insertDocRs = $modx->db->query($insertDocSql);\n                        if(!$insertDocRs){\n                            exit;\n                        }\n                    } // end foreach\n                } // end if doc group array exists\n            } // end if perms are used\n\n            // Handle privateweb\n            $modx->db->query(\"UPDATE \".$modx->getFullTableName(\"site_content\").\" SET privateweb = 0 WHERE id=\'$lastInsertId\';\");\n            $privatewebSql =    \"\n                SELECT DISTINCT \".$modx->getFullTableName(\'document_groups\').\".document_group \n                FROM \".$modx->getFullTableName(\'document_groups\').\", \".$modx->getFullTableName(\'webgroup_access\').\" \n                WHERE \n                \".$modx->getFullTableName(\'document_groups\').\".document_group = \".$modx->getFullTableName(\'webgroup_access\').\".documentgroup \n                AND \n                \".$modx->getFullTableName(\'document_groups\').\".document = $lastInsertId;\";\n                $privatewebIds = $modx->db->getColumn(\"document_group\",$privatewebSql);\n                if(count($privatewebIds)>0) {\n                    $modx->db->query(\"UPDATE \".$modx->getFullTableName(\"site_content\").\" SET privateweb = 1 WHERE id = $lastInsertId;\");	\n                }\n\n                // And privatemgr\n                $modx->db->query(\"UPDATE \".$modx->getFullTableName(\"site_content\").\" SET privatemgr = 0 WHERE id=\'$lastInsertId\';\");\n                $privatemgrSql =    \"\n                    SELECT DISTINCT \".$modx->getFullTableName(\'document_groups\').\".document_group \n                    FROM \".$modx->getFullTableName(\'document_groups\').\", \".$modx->getFullTableName(\'membergroup_access\').\" \n                    WHERE \n                    \".$modx->getFullTableName(\'document_groups\').\".document_group = \".$modx->getFullTableName(\'membergroup_access\').\" .documentgroup \n                    AND \n                    \".$modx->getFullTableName(\'document_groups\').\".document = $lastInsertId;\";\n                    $privatemgrIds = $modx->db->getColumn(\"document_group\",$privatemgrSql);\n                    if(count($privatemgrIds)>0) {\n                        $modx->db->query(\"UPDATE \".$modx->getFullTableName(\"site_content\").\" SET privatemgr = 1 WHERE id = $lastInsertId;\");	\n                    }\n            // end of document_groups stuff!\n\n            if(!empty($makefolder)) {\n                // convert parent into folder\n                $modx->db->update(array(\'isfolder\'=>\'1\'),$modx->getFullTableName(\'site_content\'),\'id=\\\'\'.$folder.\'\\\'\');\n            }\n\n            // empty cache\n            if($clearcache==1){\n                include_once $modx->config[\'base_path\'].\"manager/processors/cache_sync.class.processor.php\";\n                $sync = new synccache();\n                $sync->setCachepath(\"assets/cache/\");\n                $sync->setReport(false);\n                $sync->emptyCache(); // first empty the cache		\n            }\n\n            // get redirect/post id\n            $redirectid = $modx->db->getValue(\'SELECT id as \\\'redirectid\\\' FROM \'.$modx->getFullTableName(\'site_content\').\' WHERE createdon=\\\'\'.$createdon.\'\\\'\');\n            $postid = isset($postid) ? $postid:$redirectid;\n\n            // redirect to post id\n            $modx->sendRedirect($modx->makeUrl($postid));\n        }\n\n    default: \n        // display news form\n        // check if user has rights to post comments\n        if(!$allowAnyPost && !$modx->isMemberOfWebGroup($postgrp)) {\n            $formTpl = \'\';\n        } else {\n            foreach($_POST as $n=>$v) {\n                $formTpl = str_replace(\'[+\'.$n.\'+]\',$v,$formTpl);\n            }\n        }\n        // return form\n        return $message.$formTpl;\n        break;\n}',0,'',''),(10,'Personalize','<strong>2.0</strong> Basic personalization for web users.',0,2,0,'#::::::::::::::::::::::::::::::::::::::::\n# Snippet Name: Personalize \n# Short Desc: calls a chunk if the user is logged in, otherwise calls another\n# Version: 2.0\n# Created By: 	Ryan Thrash (modx@vertexworks.com), and then\n#		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#\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] [REQUIRED]\n#		Output for LOGGED users\n#\n#	&noChunk [string] [REQUIRED] \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#\n# Example Usage:\n#\n#	[[LoggedOrNot? &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$o = \'\';\n$yesChunk = (isset($yesChunk))? $yesChunk : \'\';\n$noChunk = (isset($noChunk))? $noChunk : \'\';\n\n# do the work\n$test = $modx->getLoginUserName();\nif ($test) {\n    $o = $modx->getChunk($yesChunk);\n  } else {\n    $o = $modx->getChunk($noChunk);\n}\n\nif (isset($ph)) {\n	$modx->setPlaceholder($ph,$test);\n	return $o;\n} else {\n	return $o;\n}\n',0,'',''),(11,'Reflect','<strong>1.0.2</strong> Used with Ditto, creates archives of articles, blog entries, image galleries and more.',0,3,0,'/*\n * Title: Reflect Snippet\n * \n * Description: \n * 		Generates date based archives using Ditto\n * \n * Author: \n * 		Mark Kaplan for MODx CMF\n * \n * Version: \n * 		1.0.2\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//  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((substr($config, 0, 5) != \"@FILE\") ? $reflect_base.\"configs/$config.config.php\" : $modx->config[\'base_path\'].trim(substr($config, 5)));\n\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//  Default Templates\n// ---------------------------------------------------\n\n$defaultTemplates[\'tpl\'] = <<<TPL\n<h3>Archives</h3>\n<div class=\"reflect_archive_list\">\n	[+archive_items+]\n</div>\nTPL;\n\n$defaultTemplates[\'year\'] = <<<TPL\n<a href=\"[+url+]\" title=\"[+year+]\" class=\"reflect_year_link\">[+year+]</a>\nTPL;\n\n$defaultTemplates[\'month\'] = <<<TPL\n<a href=\"[+url+]\" title=\"[+month+] [+year+]\" class=\"reflect_month_link\">[+month+]</a>\nTPL;\n\n$defaultTemplates[\'item\'] = <<<TPL\n<a href=\"[~[+id+]~]\" title=\"[+pagetitle+]\" class=\"reflect_item_link\">[+pagetitle+]</a> (<span class=\"reflect_date\">[+date+]</span>)\nTPL;\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		\"dateFormat\" => $dateFormat,\n		\"dateSource\" => $dateSource,\n		\"tpl\" => $itemTemplate,\n	);\n\n	if (isset($dittoSnippetParameters)) {\n		$givenParams = explode(\"|\",$dittoSnippetParameters);\n\n		foreach ($givenParams as $parameter) {\n			$p = explode(\":\",$parameter);\n			$dParams[$p[0]] = $p[1];\n		}\n	}\n	/*\n		Param: dittoSnippetParameters\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		Default:\n		[NULL]\n	*/\n	$dittoSnippetName = isset($dittoSnippetName) ? $dittoSnippetName : \"Ditto\";\n	/*\n		Param: dittoSnippetName\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	$modx->runSnippet($dittoSnippetName,$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}\n\nif (!is_object($ditto) || !isset($ditto) || !isset($resource)) {\n	return \"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	(code)\n	<h3>Archives</h3>\n	<div class=\"reflect_archive_list\">\n		[+archive_items+]\n	</div>\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 (inside of li)\n\n	Options:\n	- Any valid chunk name\n	- Code via @CODE:\n	- File via @FILE:\n\n	Default:\n	(code)\n	<a href=\"[+url+]\" title=\"[+year+]\" class=\"reflect_year_link\">[+year+]</a>\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 (inside of li)\n\n	Options:\n	- Any valid chunk name\n	- Code via @CODE:\n	- File via @FILE:\n\n	Default:\n	(code)\n	<a href=\"[+url+]\" title=\"[+month+] [+year+]\" class=\"reflect_month_link\">[+month+]</a>\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 (inside of li)\n\n	Options:\n	- Any valid chunk name\n	- Code via @CODE:\n	- File via @FILE:\n\n	Default:\n	(code)\n	<a href=\"[~[+id+]~]\" title=\"[+pagetitle+]\" class=\"reflect_item_link\">[+pagetitle+]</a> (<span class=\"reflect_date\">[+date+]</span>)\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// ---------------------------------------------------\nif (function_exists(\"reflect\") === FALSE) {\nfunction reflect($archiveDocumentID, $showItems, $groupByYears, $resource, $archiveDateSource, $dateFormat, $ditto, $archive,$id,$start,$yearSortDir,$monthSortDir) {\n	global $modx;\n	$cal = array();\n	$output = \'\';\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][$archiveDateSource]);\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	$output .= \'<ul class=\"reflect_archive\">\';\n	foreach ($build as $year=>$months) {\n		$year_url = $ditto->buildURL(\"year=\".$year.\"&month=false&day=false&start=0\",$archiveDocumentID,$id);\n		if ($groupByYears) $output .=  \'<li class=\"reflect_year\">\'.str_replace(array(\"[+year+]\",\"[+url+]\"),array($year,$year_url),$archive[\'year\']).\"\\n\\n\";	\n		foreach ($months as $mon=>$month) {\n			$month_text = $ditto->formatDate(mktime(10, 10, 10, $mon, 10, $year),\"%B\");\n			$month_url = $ditto->buildURL(\"month=\".$mon.\"&year=\".$year.\"&day=false&start=0\",$archiveDocumentID,$id);\n			if ($groupByYears) $output .=  \'<ul>\';\n			$output .= \'<li class=\"reflect_month\">\'.str_replace(array(\"[+year+]\",\"[+month+]\",\"[+url+]\"),array($year,$month_text,$month_url),$archive[\'month\']).\"\\n\";\n			if ($showItems) {\n				$output .=  \'<ul class=\"reflect_items\">\'.\"\\n\";\n				foreach ($month as $resource) {\n					$output .=  \'<li class=\"reflect_item\">\'.$ditto->render($resource, $archive[\'item\'], false, $archiveDateSource, $dateFormat, array(),$phx).\'</li>\';\n				}\n				$output .= \'</ul>\';\n			}\n			$output .= \'</li>\';\n			if ($groupByYears) $output .= \'</ul>\';\n		}\n		if ($groupByYears) $output .= \'</li>\';\n	}\n	$output .= \'</ul>\';\nreturn str_replace(\"[+archive_items+]\",$output, $archive[\'tpl\']);\n	\n}\n}\n\nreturn reflect($targetID, $showItems, $groupByYears, $resource, $dateSource, $dateFormat, $ditto, $templates,$id,$start,$yearSortDir,$monthSortDir);',0,'',''),(12,'UltimateParent','<strong>2.0 beta</strong> - Travels up the document tree from a specified document and returns the \"ultimate\" parent.',0,4,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,'',''),(13,'Wayfinder','<strong>2.0</strong> Completely template-driven menu builder that\'s simple and fast to configure.',0,4,0,'\r\n/*\r\n::::::::::::::::::::::::::::::::::::::::\r\n Snippet name: Wayfinder\r\n Short Desc: builds site navigation\r\n Version: 2.0\r\n Authors: \r\n	Kyle Jaebker (muddydogpaws.com)\r\n	Ryan Thrash (vertexworks.com)\r\n Date: February 27, 2006\r\n::::::::::::::::::::::::::::::::::::::::\r\nDescription:\r\n    Totally refactored from original DropMenu nav builder to make it easier to\r\n    create custom navigation by using chunks as output templates. By using templates,\r\n    many of the paramaters are no longer needed for flexible output including tables,\r\n    unordered- or ordered-lists (ULs or OLs), definition lists (DLs) or in any other\r\n    format you desire.\r\n::::::::::::::::::::::::::::::::::::::::\r\nExample Usage:\r\n    [[Wayfinder? &startId=`0`]]\r\n::::::::::::::::::::::::::::::::::::::::\r\n*/\r\n\r\n$wayfinder_base = $modx->config[\'base_path\'].\"assets/snippets/wayfinder/\";\r\n\r\n//Include a custom config file if specified\r\n$config = (isset($config)) ? \"{$wayfinder_base}configs/{$config}.config.php\" : \"{$wayfinder_base}configs/default.config.php\";\r\nif (file_exists($config)) {\r\n	include_once(\"$config\");\r\n}\r\n\r\ninclude_once(\"{$wayfinder_base}wayfinder.inc.php\");\r\n\r\nif (class_exists(\'Wayfinder\')) {\r\n   $wf = new Wayfinder();\r\n} else {\r\n    return \'error: Wayfinder class not found\';\r\n}\r\n\r\n$wf->_config = array(\r\n	\'id\' => isset($startId) ? $startId : $modx->documentIdentifier,\r\n	\'level\' => isset($level) ? $level : 0,\r\n	\'includeDocs\' => isset($includeDocs) ? $includeDocs : 0,\r\n	\'excludeDocs\' => isset($excludeDocs) ? $excludeDocs : 0,\r\n	\'ph\' => isset($ph) ? $ph : FALSE,\r\n	\'debug\' => isset($debug) ? TRUE : FALSE,\r\n	\'ignoreHidden\' => isset($ignoreHidden) ? $ignoreHidden : FALSE,\r\n	\'hideSubMenus\' => isset($hideSubMenus) ? $hideSubMenus : FALSE,\r\n	\'useWeblinkUrl\' => isset($useWeblinkUrl) ? $useWeblinkUrl : TRUE,\r\n	\'fullLink\' => isset($fullLink) ? $fullLink : FALSE,\r\n	\'nl\' => isset($removeNewLines) ? \'\' : \"\\n\",\r\n	\'sortOrder\' => isset($sortOrder) ? strtoupper($sortOrder) : \'ASC\',\r\n	\'sortBy\' => isset($sortBy) ? $sortBy : \'menuindex\',\r\n	\'limit\' => isset($limit) ? $limit : 0,\r\n	\'cssTpl\' => isset($cssTpl) ? $cssTpl : FALSE,\r\n	\'jsTpl\' => isset($jsTpl) ? $jsTpl : FALSE,\r\n	\'rowIdPrefix\' => isset($rowIdPrefix) ? $rowIdPrefix : FALSE,\r\n	\'textOfLinks\' => isset($textOfLinks) ? $textOfLinks : \'menutitle\',\r\n	\'titleOfLinks\' => isset($titleOfLinks) ? $titleOfLinks : \'pagetitle\',\r\n	\'displayStart\' => isset($displayStart) ? $displayStart : FALSE,\r\n);\r\n\r\n//get user class definitions\r\n$wf->_css = array(\r\n	\'first\' => isset($firstClass) ? $firstClass : \'\',\r\n	\'last\' => isset($lastClass) ? $lastClass : \'last\',\r\n	\'here\' => isset($hereClass) ? $hereClass : \'active\',\r\n	\'parent\' => isset($parentClass) ? $parentClass : \'\',\r\n	\'row\' => isset($rowClass) ? $rowClass : \'\',\r\n	\'outer\' => isset($outerClass) ? $outerClass : \'\',\r\n	\'inner\' => isset($innerClass) ? $innerClass : \'\',\r\n	\'level\' => isset($levelClass) ? $levelClass: \'\',\r\n	\'self\' => isset($selfClass) ? $selfClass : \'\',\r\n	\'weblink\' => isset($webLinkClass) ? $webLinkClass : \'\',\r\n);\r\n\r\n//get user templates\r\n$wf->_templates = array(\r\n	\'outerTpl\' => isset($outerTpl) ? $outerTpl : \'\',\r\n	\'rowTpl\' => isset($rowTpl) ? $rowTpl : \'\',\r\n	\'parentRowTpl\' => isset($parentRowTpl) ? $parentRowTpl : \'\',\r\n	\'parentRowHereTpl\' => isset($parentRowHereTpl) ? $parentRowHereTpl : \'\',\r\n	\'hereTpl\' => isset($hereTpl) ? $hereTpl : \'\',\r\n	\'innerTpl\' => isset($innerTpl) ? $innerTpl : \'\',\r\n	\'innerRowTpl\' => isset($innerRowTpl) ? $innerRowTpl : \'\',\r\n	\'innerHereTpl\' => isset($innerHereTpl) ? $innerHereTpl : \'\',\r\n	\'activeParentRowTpl\' => isset($activeParentRowTpl) ? $activeParentRowTpl : \'\',\r\n	\'categoryFoldersTpl\' => isset($categoryFoldersTpl) ? $categoryFoldersTpl : \'\',\r\n	\'startItemTpl\' => isset($startItemTpl) ? $startItemTpl : \'\',\r\n);\r\n\r\n//Process Wayfinder\r\n$output = $wf->run();\r\n\r\nif ($wf->_config[\'debug\']) {\r\n	$output .= $wf->renderDebugOutput();\r\n}\r\n\r\n//Ouput Results\r\nif ($wf->_config[\'ph\']) {\r\n    $modx->setPlaceholder($wf->_config[\'ph\'],$output);\r\n} else {\r\n    return $output;\r\n}\r\n',0,'',' '),(14,'WebChangePwd','<strong>1.0</strong> Web User Change Password Snippet.',0,2,0,'# WebChangePwd 1.0\n# Created By Raymond Irving April, 2005\n#::::::::::::::::::::::::::::::::::::::::\n# Usage: 	\n#	Allows a web user to change his/her password from the website\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,'&tpl=Template;string;',''),(15,'WebLogin','<strong>1.0</strong> Web User Login Snippet.',0,2,0,'# WebLogin 1.0\n# Created By Raymond Irving 2004\n#::::::::::::::::::::::::::::::::::::::::\n# Usage: 	\n#	Allows a web user to login to the website\n#\n# Params:	\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;',''),(16,'WebSignup','<strong>1.1</strong> Web User Signup Snippet.',0,2,0,'# WebSignup 1.1\n# 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;',''),(17,'cart','Yes shopping cart - start page',0,11,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"cart/cart.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(18,'checkout','get name and billing info for cart',0,11,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"cart/checkout.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(19,'checkout_conf','Payment confirmation code',0,11,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"cart/checkout_conf.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(20,'checkoutfinal','',0,11,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"cart/checkout_final.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(21,'vip_program','',0,12,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"vip/vip_program.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(22,'vip_cart','',0,12,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"vip/vip_cart.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(23,'vip_conf','',0,12,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"vip/vip_conf.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(24,'vip_final','',0,12,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $modx->config[\'base_path\'].\"/include/email_template_vip.php\";\r\ninclude_once $snipPath.\"vip/vip_final.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(25,'member','',0,12,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"vip/member.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(26,'vip_login','',0,12,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common.php\";\r\ninclude_once $snipPath.\"vip/vip_login.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n?>\r\n',0,'',' '),(27,'checkout_conf_dev','',0,11,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common_dev.php\";\r\ninclude_once $snipPath.\"cart/checkout_conf_dev.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(28,'checkoutfinal_dev','',0,11,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/common_dev.php\";\r\ninclude_once $snipPath.\"cart/checkout_final_dev.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(29,'text_captcha','keep the buggers out',0,5,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/\";\r\n\r\ninclude_once $snipPath.\"snippets/captcha/captcha.inc.php\";\r\n',0,'',' '),(30,'sessionSubNav','',0,11,0,'\r\nif($_SESSION[\'externalOffer\']){\r\necho\'<div id=\"session_id\">\';\r\n\r\n\r\n$tvText = $modx->getTemplateVar(\'sessionSubNavText\', \"\",$_SESSION[\'externalOffer\']);\r\n\r\necho $tvText[\'value\'];\r\n\r\n$docID = $modx->documentObject[\'id\'];\r\n\r\nif($_SESSION[\'externalOffer\'] == $docID){\r\necho\'<br />For this special offering, please make your purchase from the items on this page.\';\r\n}\r\nelse\r\n{\r\necho\' <br />For this special offering, please <a href=\"[~\'.$_SESSION[\'externalOffer\'].\'~]\" />click here to make your purchase</a>.\';\r\n}\r\n\r\n\r\necho\'<br />\r\n \r\n</div>\';\r\n\r\n\r\n}\r\n',0,'',' '),(31,'setOfferSession','',0,11,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\n;\r\ninclude_once $snipPath.\"cart/setOfferSession.inc.php\";\r\n\r\n\r\n',0,'',' '),(32,'w-cart','Yes shopping cart - start page',0,14,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/w-common.php\";\r\ninclude_once $snipPath.\"cart/w-cart.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(33,'w-checkout','Wide Layout Confirmation',0,14,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/w-common.php\";\r\ninclude_once $snipPath.\"cart/w-checkout.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(34,'w-checkout_conf','Payment confirmation code',0,14,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/w-common.php\";\r\ninclude_once $snipPath.\"cart/w-checkout_conf.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(35,'distrib_final','',0,15,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/distrib-common.php\";\r\ninclude_once $snipPath.\"cart/distrib-final.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(36,'distrib-order','Ordering page for Distributors',0,15,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/distrib-common.php\";\r\ninclude_once $snipPath.\"cart/distrib-order.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(37,'distrib_conf','Payment confirmation code',0,15,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/distrib-common.php\";\r\ninclude_once $snipPath.\"cart/distrib-conf.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(38,'distrib-order2','Ordering page for Distributors',0,0,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/distrib-common2.php\";\r\ninclude_once $snipPath.\"cart/distrib-order2.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(39,'w-checkoutfinal','',0,14,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/w-common.php\";\r\ninclude_once $snipPath.\"cart/w-checkout_final.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(40,'WebLoginPE','<strong>1.3.2</strong> A progressively enhanced, complete Web User management snippet.',0,2,0,'\r\n/**\r\n	 * WebLoginPE Snippet 1.3.1\r\n	 * v1.3.1 Bugfix by Soshite @ MODx CMS Forums & Various Other Forum Members\r\n	 *\r\n	 * @package WebLoginPE\r\n	 * @author Scotty Delicious\r\n	 * @version 1.3.1\r\n	 *\r\n	 * See the \"docs\" folder for detailed usage and parameter instructions.\r\n	 */\r\n\r\n	$type = isset($type) ? $type : \'simple\';\r\n	$regType = isset($regType) ? $regType : \'instant\';\r\n	$notify = isset($notify) ? $notify : \'\';\r\n	$groups = isset($groups) ? $groups : \'\';\r\n	$regRequired = isset($regRequired) ? $regRequired : \'\';\r\n	$customTable = isset($customTable) ? $customTable : \'web_user_attributes_extended\';\r\n	$customFields = isset($customFields) ? $customFields : \'\';\r\n	$prefixTable = isset($prefixTable) ? $prefixTable : 1;\r\n	$lang = isset($lang) ? $lang : \'en\';\r\n	$userImageSettings = isset($userImage) ? $userImage : \'105000,100,100\';\r\n	$dateFormat = isset($dateFormat) ? $dateFormat : \'%A %B %d, %Y at %I:%M %p\';\r\n	$disableServices = isset($disableServices) ? explode(\',\', str_replace(\', \',\',\',$disableServices)) : array();\r\n	$tableCheck = isset($tableCheck) ? $tableCheck : 1;\r\n	\r\n	include_once MODX_BASE_PATH.\'assets/snippets/webloginpe/webloginpe.class.php\';\r\n	include MODX_BASE_PATH.\'assets/snippets/webloginpe/webloginpe.templates.php\';\r\n	if (file_exists(MODX_BASE_PATH.\'assets/snippets/webloginpe/lang/\'.$lang.\'.php\'))\r\n	{\r\n		include_once MODX_BASE_PATH.\'assets/snippets/webloginpe/lang/\'.$lang.\'.php\';\r\n	}\r\n	else\r\n	{\r\n		include_once MODX_BASE_PATH.\'assets/snippets/webloginpe/lang/en.php\';\r\n		$modx->setPlaceholder(\'wlpe.message\', $wlpe_lang[105]);\r\n		print \'[+wlpe.message+]\';\r\n	}\r\n	\r\n	$wlpe = new WebLoginPE($wlpe_lang, $dateFormat, $userImageSettings, $type);\r\n	$wlpe->CustomTable($customTable, $customFields, $prefixTable, $tableCheck);\r\n\r\n	$liHomeId = isset($liHomeId) ? explode(\',\', $liHomeId) : \'\';\r\n	$loHomeId = isset($loHomeId) ? $loHomeId : \'\';\r\n	$regHomeId = isset($regHomeId) ? $regHomeId : \'\';\r\n	$regSuccessId = isset($regSuccessId) ? $regSuccessId : \'\';\r\n	$regSuccessPause = isset($regSuccessPause) ? $regSuccessPause : 5;\r\n	$profileHomeId = isset($profileHomeId) ? $profileHomeId : \'\';\r\n	$inputHandler = isset($inputHandler) ? explode(\'||\', $inputHandler) : array();\r\n	$usersList = isset($usersList) ? $usersList : \'\';\r\n	\r\n	if ($regType == \'verify\'){$wlpeRegisterTpl = $wlpeRegisterVerifyTpl;}else{$wlpeRegisterTpl = $wlpeRegisterInstantTpl;}\r\n	\r\n	$displayLoginFormTpl = isset($loginFormTpl) ? $wlpe->Template($loginFormTpl) : $wlpeDefaultFormTpl;\r\n	$displaySuccessTpl = isset($successTpl) ? $wlpe->Template($successTpl) : $wlpeDefaultSuccessTpl;\r\n	$displayRegisterTpl = isset($registerTpl) ? $wlpe->Template($registerTpl) : $wlpeRegisterTpl;\r\n	$displayRegSuccessTpl = isset($registerSuccessTpl) ? $wlpe->Template($registerSuccessTpl) : $wlpeDefaultFormTpl;\r\n	$displayProfileTpl = isset($profileTpl) ? $wlpe->Template($profileTpl) : $wlpeProfileTpl;\r\n	$displayViewProfileTpl = isset($viewProfileTpl) ? $wlpe->Template($viewProfileTpl) : $wlpeViewProfileTpl;\r\n	$displayUsersOuterTpl = isset($usersOuterTpl) ? $wlpe->Template($usersOuterTpl) : $wlpeUsersOuterTpl;\r\n	$displayUsersTpl = isset($usersTpl) ? $wlpe->Template($usersTpl) : $wlpeUsersTpl;\r\n	$displayManageOuterTpl = isset($manageOuterTpl) ? $wlpe->Template($manageOuterTpl) : $wlpeUsersOuterTpl;\r\n	$displayManageTpl = isset($manageTpl) ? $wlpe->Template($manageTpl) : $wlpeManageTpl;\r\n	$displayManageProfileTpl = isset($manageProfileTpl) ? $wlpe->Template($manageProfileTpl) : $wlpeManageProfileTpl;\r\n	$displayManageDeleteTpl = isset($manageDeleteTpl) ? $wlpe->Template($manageDeleteTpl) : $wlpeManageDeleteTpl;\r\n	$displayProfileDeleteTpl = isset($profileDeleteTpl) ? $wlpe->Template($profileDeleteTpl) : $wlpeProfileDeleteTpl;\r\n	$displayActivateTpl = isset($activateTpl) ? $wlpe->Template($activateTpl) : $wlpeActivateTpl;\r\n	$displayResetTpl = isset($resetTpl) ? $wlpe->Template($resetTpl) : $wlpeResetTpl;\r\n	$notifyTpl = isset($notifyTpl) ? $wlpe->Template($notifyTpl) : $wlpeNotifyTpl;\r\n	$notifySubject = isset($notifySubject) ? $notifySubject : \'New Web User for \'.$modx->config[\'site_name\'].\'.\';\r\n	$messageTpl = isset($messageTpl) ? $wlpe->Template($messageTpl) : $wlpeMessageTpl;\r\n	$tosChunk = isset($tosChunk) ? $wlpe->Template($tosChunk) : $wlpeTos;\r\n	$modx->setPlaceholder(\'tos\', $tosChunk);\r\n	\r\n	$loadJquery = isset($loadJquery) ? $loadJquery : false;\r\n	$customJs = isset($customJs) ? $customJs : \'\';\r\n	\r\n	if (isset($pruneDays))\r\n	{\r\n		$wlpe->PruneUsers($pruneDays);\r\n	}\r\n		\r\n	if ($loadJquery == \'true\' || $loadJquery == true || $loadJquery == 1 || $loadJquery == \'1\') \r\n	{\r\n		$wlpe->RegisterScripts($customJs);\r\n	}\r\n	else if (!empty($customJs))\r\n	{\r\n		$modx->regClientStartupScript($customJs);\r\n	}\r\n	\r\n	$wlpe->ActiveUsers();\r\n	$wlpe->PlaceHolders($inputHandler, $messageTpl);\r\n	\r\n	$modx->regClientStartupScript(\'assets/snippets/webloginpe/js/ieButtonFix.js\');\r\n\r\n	$service = $_REQUEST[\'service\'];\r\n	if (empty($service) || $service == \'\')\r\n	{\r\n		$service = $_REQUEST[\'serviceButtonValue\'];\r\n	}\r\n	\r\n	if ($type == \'register\')\r\n	{\r\n		if (in_array(\'register\', $disableServices)){return;}\r\n		switch ($service) \r\n		{\r\n			case \'register\' :\r\n				if (in_array(\'register\', $disableServices)){return;}\r\n				$registration = $wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\r\n				\r\n				if (isset($regSuccessId) && $regSuccessId !== \'\')\r\n				{\r\n					if ($registration == \'success\')\r\n					{\r\n						$url = rtrim($modx->config[\'site_url\'], \'/\').$modx->makeURL($regSuccessId);\r\n\r\n						header(\'Refresh: \'.$regSuccessPause.\';URL=\'.$url);\r\n						return $displayRegSuccessTpl;\r\n					}\r\n					return $displayRegisterTpl;\r\n					\r\n				}\r\n				if ($registration == \'success\')\r\n				{\r\n					return $displayRegSuccessTpl;\r\n				}\r\n				return $displayRegisterTpl;\r\n				break;\r\n				\r\n			case \'cancel\':\r\n				if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\r\n				$url = $modx->makeURL($loHomeId);\r\n		        $modx->sendRedirect($url,0,\'REDIRECT_REFRESH\');\r\n				break;\r\n			\r\n			case \'login\' :\r\n				$wlpe->Login($type, $liHomeId);\r\n\r\n				if ($modx->getLoginUserID())\r\n				{\r\n					return $displaySuccessTpl;\r\n				}\r\n				return $displayLoginFormTpl;\r\n				break;\r\n\r\n			case \'logout\' :\r\n				$wlpe->Logout($type, $loHomeId);\r\n				return $displayLoginFormTpl;\r\n				break;\r\n			\r\n			default :\r\n				return $displayRegisterTpl;\r\n		}\r\n		return;\r\n	}\r\n	\r\n	else if ($type == \'profile\')\r\n	{\r\n		if (in_array(\'profile\', $disableServices)){return;}\r\n		switch ($service) \r\n		{\r\n			case \'saveprofile\' :\r\n				if (in_array(\'saveprofile\', $disableServices)){return;}\r\n				$wlpe->SaveUserProfile();\r\n				$wlpe->PlaceHolders($inputHandler, $messageTpl);\r\n				return $displayProfileTpl;\r\n				break;\r\n				\r\n			case \'cancel\':\r\n				if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\r\n				$url = $modx->makeURL($loHomeId);\r\n		        $modx->sendRedirect($url,0,\'REDIRECT_REFRESH\');\r\n				break;\r\n				\r\n			case \'logout\':\r\n				if ($loHomeId == \'\') $loHomeId = $modx->config[\'site_start\'];\r\n				$wlpe->Logout($type, $loHomeId);\r\n				break;\r\n				\r\n			case \'deleteprofile\':\r\n				if (in_array(\'deleteprofile\', $disableServices)){return;}\r\n				return $displayProfileDeleteTpl;\r\n				break;\r\n			\r\n			case \'confirmdeleteprofile\':\r\n				if (in_array(\'confirmdeleteprofile\', $disableServices)){return;}\r\n				$wlpe->RemoveUserProfile();\r\n				return \'[+wlpe.message+]\';\r\n				break;\r\n				\r\n			default :\r\n				return $displayProfileTpl;\r\n				break;\r\n		}\r\n		return;\r\n	}\r\n	\r\n	else if ($type == \'users\')\r\n	{\r\n		if (in_array(\'users\', $disableServices)){return;}\r\n		switch ($service)\r\n		{\r\n			case \'viewprofile\':\r\n				if (in_array(\'viewprofile\', $disableServices)){return;}\r\n				$wlpe->ViewUserProfile($_REQUEST[\'username\'],$inputHandler);\r\n				return $displayViewProfileTpl;\r\n				break;\r\n				\r\n			case \'messageuser\':\r\n				if (in_array(\'messageuser\', $disableServices)){return;}\r\n				$wlpe->SendMessageToUser();\r\n				return $displayViewProfileTpl;\r\n				break;\r\n			\r\n			default :\r\n				$userpage = $wlpe->ViewAllUsers($displayUsersTpl, $displayUsersOuterTpl, $usersList);\r\n				return $userpage;\r\n		}\r\n		return;\r\n	}\r\n	\r\n	else if ($type == \'manager\')\r\n	{\r\n		if (in_array(\'manager\', $disableServices)){return;}\r\n		switch ($service)\r\n		{\r\n			case \'editprofile\':\r\n				if (in_array(\'editprofile\', $disableServices)){return;}\r\n				$wlpe->ViewUserProfile($_REQUEST[\'username\'],$inputHandler);\r\n				return $displayManageProfileTpl;\r\n				break;\r\n				\r\n			case \'saveuserprofile\' :\r\n				if (in_array(\'saveuserprofile\', $disableServices)){return;}\r\n				$wlpe->SaveUserProfile($_POST[\'internalKey\']);\r\n				$manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\r\n				return $manageUsersPage;\r\n				break;\r\n				\r\n			case \'messageuser\':\r\n				if (in_array(\'messageuser\', $disableServices)){return;}\r\n				$wlpe->SendMessageToUser();\r\n				return $displayViewProfileTpl;\r\n				break;\r\n				\r\n			case \'deleteuser\':\r\n				if (in_array(\'deleteuser\', $disableServices)){return;}\r\n				$_SESSION[\'editInternalKey\'] = $_POST[\'internalKey\'];\r\n				return $displayManageDeleteTpl;\r\n				break;\r\n\r\n			case \'confirmdeleteuser\':\r\n				if (in_array(\'confirmdeleteuser\', $disableServices)){return;}\r\n				$wlpe->RemoveUserProfileManager($_SESSION[\'editInternalKey\']);\r\n				$manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\r\n				unset($_SESSION[\'editInternalKey\']);\r\n				return $manageUsersPage;\r\n				break;\r\n			\r\n			default :\r\n				$manageUsersPage = $wlpe->ViewAllUsers($displayManageTpl, $displayManageOuterTpl, $usersList);\r\n				return $manageUsersPage;\r\n		}\r\n		return;\r\n	}\r\n	\r\n	else if ($type == \'simple\')\r\n	{\r\n		switch ($service) \r\n		{\r\n\r\n			case \'login\' :\r\n				$wlpe->Login($type, $liHomeId);\r\n\r\n				if ($modx->getLoginUserID())\r\n				{\r\n					return $displaySuccessTpl;\r\n				}\r\n				return $displayLoginFormTpl;\r\n				break;\r\n\r\n			case \'logout\' :\r\n				$wlpe->Logout($type, $loHomeId);\r\n				return $displayLoginFormTpl;\r\n				break;\r\n\r\n			case \'profile\' :\r\n				if (in_array(\'profile\', $disableServices)){return;}\r\n				if (empty($profileHomeId))\r\n				{\r\n					return $displayProfileTpl;\r\n				}\r\n				$url = $modx->makeURL($profileHomeId);\r\n		        $modx->sendRedirect($url,0,\'REDIRECT_REFRESH\');\r\n		        return;\r\n				break;\r\n				\r\n			case \'saveprofilesimple\' :\r\n				if (in_array(\'saveprofile\', $disableServices)){return;}\r\n				$wlpe->SaveUserProfile();\r\n				$wlpe->PlaceHolders($inputHandler, $messageTpl);\r\n				return $displayProfileTpl;\r\n				break;\r\n			\r\n			case \'deleteprofilesimple\':\r\n				if (in_array(\'deleteprofile\', $disableServices)){return;}\r\n				return $displayProfileDeleteTpl;\r\n				break;\r\n\r\n			case \'confirmdeleteprofilesimple\':\r\n				if (in_array(\'confirmdeleteprofile\', $disableServices)){return;}\r\n				$wlpe->RemoveUserProfile();\r\n				return \'[+wlpe.message+]\';\r\n				break;\r\n\r\n			case \'registernew\' :\r\n				if (in_array(\'register\', $disableServices)){return;}\r\n				if (empty($regHomeId))\r\n				{\r\n					return $displayRegisterTpl;\r\n				}\r\n				$url = $modx->makeURL($regHomeId);\r\n		        $modx->sendRedirect($url,0,\'REDIRECT_REFRESH\');\r\n		        return;\r\n				break;\r\n				\r\n			case \'register\':\r\n				if (in_array(\'register\', $disableServices)){return;}\r\n				$registration = $wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\r\n				\r\n				if (isset($regSuccessId) && $regSuccessId !== \'\')\r\n				{\r\n					if ($registration == \'success\')\r\n					{\r\n						$url = rtrim($modx->config[\'site_url\'], \'/\').$modx->makeURL($regSuccessId);\r\n\r\n						header(\'Refresh: \'.$regSuccessPause.\';URL=\'.$url);\r\n						return $displayRegSuccessTpl;\r\n					}\r\n					return $displayRegisterTpl;\r\n					\r\n				}\r\n				if ($registration == \'success\')\r\n				{\r\n					return $displayRegSuccessTpl;\r\n				}\r\n				return $displayRegisterTpl;\r\n				break;\r\n\r\n			case \'forgot\' :\r\n				if (in_array(\'forgot\', $disableServices)){return;}\r\n				return $displayResetTpl;\r\n				break;\r\n			\r\n			case \'resetpassword\' :\r\n				if (in_array(\'resetpassword\', $disableServices)){return;}\r\n				$wlpe->ResetPassword();\r\n				if (isset($wlpe->Report)) \r\n				{\r\n					if (isset($_POST[\'email\']))\r\n					{\r\n						return $displayResetTpl;\r\n					}\r\n					else\r\n					{\r\n						return $displayActivateTpl;\r\n					}\r\n				}\r\n				return;\r\n				break;\r\n			\r\n			case \'activate\' :\r\n				if (in_array(\'activate\', $disableServices)){return;}\r\n				return $displayActivateTpl;\r\n				break;\r\n			\r\n			case \'activated\':\r\n\r\n                if (in_array(\'activated\', $disableServices)){return;}\r\n\r\n                $wlpe->ActivateUser();\r\n\r\n                // pixelchutes 1:57 AM 9/19/2007\r\n\r\n                // Here we check for an error, then reload the activation template if necessary\r\n\r\n                // Do NOT reload if wlpe->Report indicates success\r\n\r\n                 // Added strip_tags() around string which means an error is not thrown regarding a modifier from closing\r\n\r\n                // html tag e.g. if $wlpe_lang[104] contains \"</div>\" this will fail as \"/d\" treated as modifier\r\n\r\n                if ( isset( $wlpe->Report ) && !preg_match( \"/\".strip_tags($wlpe_lang[104]).\"/i\", $wlpe->Report ) )\r\n\r\n                {\r\n\r\n                    return $displayActivateTpl;\r\n\r\n                }                \r\n\r\n                return $displayLoginFormTpl;\r\n\r\n                break;\r\n			\r\n			default :\r\n				\r\n				if ($modx->getLoginUserID())\r\n				{\r\n					return $displaySuccessTpl;\r\n				}\r\n				else\r\n				{\r\n					$wlpe->AutoLogin();\r\n					return $displayLoginFormTpl;\r\n				}\r\n\r\n		}// [END] Switch : $service for simple.\r\n	}\r\n	\r\n	else if ($type == \'taconite\')\r\n	{\r\n		switch ($service) \r\n		{\r\n\r\n			case \'login\' :\r\n				$wlpe->Login($type, $liHomeId);\r\n\r\n				if (isset($wlpe->Report)) \r\n				{\r\n					return $wlpe->Report;\r\n				}\r\n				return;\r\n				break;\r\n\r\n			case \'logout\' :\r\n				$wlpe->Logout($type, $loHomeId);				\r\n				return;\r\n				break;\r\n\r\n			case \'register\' :\r\n				if (in_array(\'register\', $disableServices)){return;}\r\n				$wlpe->Register($regType, $groups, $regRequired, $notify, $notifyTpl, $notifySubject);\r\n				return $wlpe->Report;\r\n				break;\r\n			\r\n			case \'resetpassword\' :\r\n				if (in_array(\'resetpassword\', $disableServices)){return;}\r\n				$wlpe->ResetPassword();\r\n				return $wlpe->Report;\r\n				break;\r\n				\r\n			case \'activated\':\r\n				if (in_array(\'activated\', $disableServices)){return;}\r\n				$wlpe->ActivateUser();\r\n				return $wlpe->Report;\r\n				break;\r\n					\r\n			default :\r\n				if ($modx->getLoginUserID())\r\n				{\r\n					return;\r\n				}\r\n				else\r\n				{\r\n					$wlpe->AutoLogin();\r\n				}\r\n		}// [END] Switch : $service for taconite.\r\n	}\r\n	\r\n	else\r\n	{\r\n		return;\r\n	}\r\n',0,'',' '),(41,'qa-cart','Qwickad 4 Animals shopping cart - start page',0,16,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/qa-common.php\";\r\ninclude_once $snipPath.\"cart/qa-cart.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(42,'qa-checkout','Qwick-AID Confirmation',0,16,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/qa-common.php\";\r\ninclude_once $snipPath.\"cart/qa-checkout.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(43,'qa-checkoutfinal','',0,16,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/qa-common.php\";\r\ninclude_once $snipPath.\"cart/qa-checkout_final.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(44,'qa-checkout_conf','Payment confirmation code',0,16,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/qa-common.php\";\r\ninclude_once $snipPath.\"cart/qa-checkout_conf.inc.php\";\r\n\r\n# Return\r\nreturn $output;\r\n',0,'',' '),(45,'qa-cart-main','QA shopping cart - start page',0,16,0,'\r\n# Set Snippet Paths \r\n$snipPath = $modx->config[\'base_path\'] . \"assets/snippets/\";\r\n\r\n\r\n$output = \'\';\r\n\r\n# Start processing\r\ninclude_once $modx->config[\'base_path\'].\"/include/w-common.php\";\r\ninclude_once $snipPath.\"cart/qa-cart-main.inc.php\";\r\n\r\n# Return\r\nreturn $output;\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=40 DEFAULT CHARSET=latin1 COMMENT='Contains the site templates.';

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

INSERT INTO `modx_site_templates` VALUES (3,'MODxCSS Wide','Wide Template',0,1,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link title=\"Trend\" rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/fashion-modx-clear.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/modx.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<link title=\"ZiX\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/zi-modx-1.css\" />\r\n<link title=\"ZiX Background\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/zi-modx-2.css\" />\r\n<link title=\"Trend (Alternate)\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/default.css\" />\r\n<link title=\"Light\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/light_green.css\" />\r\n<link title=\"Light Green\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/light.css\" />\r\n<link title=\"Dark\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/dark.css\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\nfunction highlight(el,endcolor,duration) {\r\n$(el).style.background = \'#ffd700\';\r\nvar fx = $(el).effects({duration: 1000, transition: Fx.Transitions.linear});\r\nfx.start.delay(duration/2,fx,{\r\n\'background-color\': endcolor\r\n});\r\nreturn false;\r\n}\r\n</script>\r\n</head>\r\n<body>\r\n<div id=\"wrap\">\r\n  <div id=\"header\">\r\n    <div id=\"title\">\r\n      <h1><a href=\"[~[(site_start)]~]\">[(site_name)]</a></h1>\r\n      <p id=\"slogan\">{{slogan}}</p>\r\n    </div>\r\n    <h2 class=\"hide\">Main menu</h2>\r\n    <div id=\"mainmenu\">[!Wayfinder?startId=`0` &hereClass=`current` &level=`1` &outerClass=`topnav`!]</div>\r\n    <div class=\"clear\"></div>\r\n  </div>\r\n  <div id=\"contentfull\">\r\n    <h2>[*longtitle*]</h2>\r\n    [*#content*] </div>\r\n  <div id=\"footer\">\r\n    <p> {{footer}}</p>\r\n    <p>MySQL: [^qt^], [^q^] request(s), PHP: [^p^], total: [^t^], document retrieved\r\n      from [^s^].</p>\r\n  </div>\r\n</div>\r\n</body>\r\n</html>\r\n',0),(1,'MODxCSS','MODx CSS template',0,1,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link title=\"Trend\" rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/fashion-modx-clear.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/modx.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<link title=\"ZiX\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/zi-modx-1.css\" />\r\n<link title=\"ZiX Background\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/zi-modx-2.css\" />\r\n<link title=\"Trend (Alternate)\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/default.css\" />\r\n<link title=\"Light\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/light_green.css\" />\r\n<link title=\"Light Green\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/light.css\" />\r\n<link title=\"Dark\" rel=\"alternate stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/dark.css\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\nfunction highlight(el,endcolor,duration) {\r\n$(el).style.background = \'#ffd700\';\r\nvar fx = $(el).effects({duration: 1000, transition: Fx.Transitions.linear});\r\nfx.start.delay(duration/2,fx,{\r\n\'background-color\': endcolor\r\n});\r\nreturn false;\r\n}\r\n</script>\r\n</head>\r\n<body>\r\n<div id=\"wrap\">\r\n  <div id=\"header\">\r\n    <div id=\"title\">\r\n      <h1><a href=\"[~[(site_start)]~]\">[(site_name)]</a></h1>\r\n      <p id=\"slogan\">{{slogan}}</p>\r\n    </div>\r\n    <h2 class=\"hide\">Main menu</h2>\r\n    <div id=\"mainmenu\">[!Wayfinder?startId=`0` &hereClass=`current` &level=`1` &outerClass=`topnav`!]</div>\r\n    <div class=\"clear\"></div>\r\n  </div>\r\n  <div id=\"leftside\">\r\n    <div id=\"lmenu\" style=\"display: none;\">\r\n      <h2>Menu</h2>\r\n      [!Wayfinder?startId=`0` &hereClass=`` &selfClass=`current` &outerClass=`sidemenu`!]\r\n    </div>\r\n    <h2>Search</h2>\r\n    [[AjaxSearch? &AS_landing=`8` &moreResultsPage=`8` &showMoreResults=`1` &addJscript=`0` &extract=`0` &AS_showResults=`0`]]\r\n    <h2>News</h2>\r\n    [[Ditto? &startID=`2` &summarize=`1` &total=`1` &commentschunk=`Comments` &tpl=`nl_sidebar` &showarch=`0` &truncLen=`100` &truncSplit=`0`]]\r\n    <h2>Login</h2>\r\n    <div id=\"sidebarlogin\">[!WebLogin? &tpl=`FormLogin` &loginhomeid=`[(site_start)]`!]</div>\r\n    <h2>Styles</h2>\r\n    {{styles}} </div>\r\n  <div id=\"contentwide\">\r\n    <h2>[*longtitle*]</h2>\r\n    [*#content*] </div>\r\n  <div id=\"footer\">\r\n    <p> {{footer}}</p>\r\n    <p>MySQL: [^qt^], [^q^] request(s), PHP: [^p^], total: [^t^], document retrieved\r\n      from [^s^].</p>\r\n  </div>\r\n</div>\r\n</body>\r\n</html>\r\n',0),(4,'MODxHost','MODxHost Template',0,1,'',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\r\n<head>\r\n  <title>[(site_name)] | [*pagetitle*]</title>\r\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=[(modx_charset)]\" />\r\n  <base href=\"[(site_url)]\"></base>\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/layout.css\" type=\"text/css\" media=\"screen\" />\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/modxmenu.css\" type=\"text/css\" media=\"screen\" />\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/form.css\" type=\"text/css\" media=\"screen\" />\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/modx.css\" type=\"text/css\" media=\"screen\" />\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/print.css\" type=\"text/css\" media=\"print\" />\r\n  <link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n  <script src=\"manager/media/script/mootools/mootools.js\" type=\"text/javascript\"></script>\r\n  <script src=\"assets/templates/modxhost/drop_down_menu.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\nfunction setActiveStyleSheet() {\r\nvar el= $(\'modxhost\');\r\nel.style.background = \'#ffd700\';\r\nel.style.padding = \'10px\';\r\nel.style.display=\'block\';\r\nvar bgEffect = new Fx.Styles(\'modxhost\', {duration: 1000,transition: Fx.Transitions.linear});\r\nbgEffect.start( {\'background-color\': \'#f9f9f9\'});\r\nreturn false;\r\n}\r\n\r\nfunction highlight(el,endcolor,duration) {\r\n$(el).style.background = \'#ffd700\';\r\nvar fx = $(el).effects({duration: 1000, transition: Fx.Transitions.linear});\r\nfx.start.delay(duration/2,fx,{\r\n\'background-color\': endcolor\r\n});\r\nreturn false;\r\n}\r\n</script>\r\n</head>\r\n<body>\r\n<div id=\"wrapper\">\r\n  <div id=\"minHeight\"></div>\r\n  <div id=\"outer\">\r\n    <div id=\"inner\">\r\n      <div id=\"right\">\r\n        <div id=\"right-inner\">\r\n          <h1 style=\"text-indent: -5000px;padding: 0px; margin:0px; font-size: 1px;\">[(site_name)]</h1>\r\n          <div id=\"sidebar\">\r\n            <h2>News:</h2>\r\n            [[Ditto? &startID=`2` &summarize=`2` &total=`20` &commentschunk=`Comments` &tpl=`nl_sidebar` &showarch=`0` &truncLen=`100` &truncSplit=`0`]]\r\n            <div id=\"recentdocsctnr\">\r\n              <h2>Most Recent:</h2>\r\n              <a name=\"recentdocs\"></a>[[ListIndexer?LIn_root=0]] </div>\r\n            <h2>Login:</h2>\r\n            <div id=\"sidebarlogin\">[!WebLogin? &tpl=`FormLogin` &loginhomeid=`[(site_start)]`!]</div>\r\n            <h2>Meta:</h2>\r\n            <p><a href=\"http://validator.w3.org/check/referer\" title=\"This page validates as XHTML 1.0 Transitional\">Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr></a></p>\r\n            <p><a href=\"http://jigsaw.w3.org/css-validator/check/referer\" title=\"This page uses valid Cascading Stylesheets\" rel=\"external\">Valid <abbr title=\"W3C Cascading Stylesheets\">css</abbr></a></p>\r\n            <p><a href=\"http://modxcms.com\" title=\"Ajax CMS and PHP Application Framework\">MODx</a></p>\r\n          </div>\r\n          <!-- close #sidebar -->\r\n        </div>\r\n        <!-- end right inner-->\r\n      </div>\r\n      <!-- end right -->\r\n      <div id=\"left\">\r\n        <div id=\"left-inner\">\r\n          <div id=\"content\">\r\n            <div class=\"post\">\r\n              <h2>[*longtitle*]</h2>\r\n              [*#content*] </div>\r\n            <!-- close .post (main column content) -->\r\n          </div>\r\n          <!-- close #content -->\r\n        </div>\r\n        <!-- end left-inner -->\r\n      </div>\r\n      <!-- end left -->\r\n    </div>\r\n    <!-- end inner -->\r\n    <div id=\"clearfooter\"></div>\r\n    <div id=\"header\">\r\n      <h1><a id=\"logo\" href=\"[~[(site_start)]~]\" title=\"[(site_name)]\">[(site_name)]</a></h1>\r\n      <div id=\"search\"><!--search_terms--><span id=\"search-txt\">SEARCH</span><a name=\"search\"></a>[!AjaxSearch? ajaxSearch=`1` &AS_landing=`8` &moreResultsPage=`8` &showMoreResults=`1` &addJscript=`0` &extract=`0` &AS_showResults=`0`!]</div>\r\n      <div id=\"ajaxmenu\"> [[Wayfinder?startId=`0` &outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &rowTpl=`mh.RowTpl` &innerRowTpl=`mh.InnerRowTpl` &firstClass=`first` &hereClass=``]] </div>\r\n      <!-- end topmenu -->\r\n    </div>\r\n    <!-- end header -->\r\n    <br style=\"clear:both;height:0;font-size: 1px\" />\r\n    <div id=\"footer\">\r\n      <p> <a href=\"http://modxcms.com\" title=\"Ajax CMS and PHP Application Framework\">Powered\r\n          by MODx</a> &nbsp;<a href=\"http://www.modxhost.com/\" title=\"Template Designed by modXhost.com\">Template &copy; 2006\r\n          modXhost.com</a><br />\r\n        MySQL: [^qt^], [^q^] request(s), PHP: [^p^], total: [^t^], document retrieved\r\n        from [^s^]. </p>\r\n    </div>\r\n    <!-- end footer -->\r\n  </div>\r\n  <!-- end outer div -->\r\n</div>\r\n<!-- end wrapper -->\r\n</body>\r\n</html>',0),(5,'MODxHostWithComments','MODxHost Template with comments',0,3,'',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\r\n<head>\r\n  <title>[(site_name)] | [*pagetitle*]</title>\r\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=[(modx_charset)]\" />\r\n  <base href=\"[(site_url)]\"></base>\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/layout.css\" type=\"text/css\" media=\"screen\" />\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/modxmenu.css\" type=\"text/css\" media=\"screen\" />\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/form.css\" type=\"text/css\" media=\"screen\" />\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/modx.css\" type=\"text/css\" media=\"screen\" />\r\n  <link rel=\"stylesheet\" href=\"assets/templates/modxhost/print.css\" type=\"text/css\" media=\"print\" />\r\n  <link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n  <script src=\"manager/media/script/mootools/mootools.js\" type=\"text/javascript\"></script>\r\n  <script src=\"assets/templates/modxhost/drop_down_menu.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\nfunction highlight(el,endcolor,duration) {\r\n$(el).style.background = \'#ffd700\';\r\nvar fx = $(el).effects({duration: 1000, transition: Fx.Transitions.linear});\r\nfx.start.delay(duration/2,fx,{\r\n\'background-color\': endcolor\r\n});\r\nreturn false;\r\n}\r\n</script>\r\n</head>\r\n\r\n<body>\r\n<div id=\"wrapper\">\r\n  <div id=\"minHeight\"></div>\r\n  <div id=\"outer\">\r\n    <div id=\"inner\">\r\n      <div id=\"right\">\r\n        <div id=\"right-inner\">\r\n          <h1 style=\"text-indent: -5000px;padding: 0px; margin:0px; font-size: 1px;\">[(site_name)]</h1>\r\n          <div id=\"sidebar\">\r\n            <h2>News:</h2>\r\n            [[Ditto? &startID=`2` &summarize=`2` &total=`20` &commentschunk=`Comments` &tpl=`nl_sidebar` &showarch=`0` &truncLen=`100` &truncSplit=`0`]]\r\n            <div id=\"recentdocsctnr\">\r\n              <h2>Most Recent:</h2>\r\n              <a name=\"recentdocs\"></a>[[ListIndexer?LIn_root=0]] </div>\r\n            <h2>Login:</h2>\r\n            <div id=\"sidebarlogin\">[!WebLogin? &tpl=`FormLogin` &loginhomeid=`[(site_start)]`!]</div>\r\n            <h2>Meta:</h2>\r\n            <p><a href=\"http://validator.w3.org/check/referer\" title=\"This page validates as XHTML 1.0 Transitional\">Valid <abbr title=\"eXtensible HyperText Markup Language\">XHTML</abbr></a></p>\r\n            <p><a href=\"http://jigsaw.w3.org/css-validator/check/referer\" title=\"This page uses valid Cascading Stylesheets\" rel=\"external\">Valid <abbr title=\"W3C Cascading Stylesheets\">css</abbr></a></p>\r\n            <p><a href=\"http://modxcms.com\" title=\"Ajax CMS and PHP Application Framework\">MODx</a></p>\r\n          </div>\r\n          <!-- close #sidebar -->\r\n        </div>\r\n        <!-- end right inner-->\r\n      </div>\r\n      <!-- end right -->\r\n      <div id=\"left\">\r\n        <div id=\"left-inner\">\r\n          <div id=\"content\">\r\n            <div class=\"post\">\r\n              <h2>[*longtitle*]</h2>\r\n              [*#content*]\r\n            </div>\r\n            <!-- close .post (main column content) -->\r\n[!Jot? &customfields=`name,email` &subscribe=`1` &pagination=`10`!]\r\n          </div>\r\n          <!-- close #content -->\r\n        </div>\r\n        <!-- end left-inner -->\r\n      </div>\r\n      <!-- end left -->\r\n    </div>\r\n    <!-- end inner -->\r\n    <div id=\"clearfooter\"></div>\r\n    <div id=\"header\">\r\n      <h1><a id=\"logo\" href=\"[~[(site_start)]~]\" title=\"[(site_name)]\">[(site_name)]</a></h1>\r\n      <div id=\"search\"><!--search_terms--><span id=\"search-txt\">SEARCH</span><a name=\"search\"></a>[!AjaxSearch? ajaxSearch=`1` &AS_landing=`8` &moreResultsPage=`8` &showMoreResults=`1` &addJscript=`0` &extract=`0` &AS_showResults=`0`!]</div>\r\n      <div id=\"ajaxmenu\"> [[Wayfinder?startId=`0` &outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &rowTpl=`mh.RowTpl` &innerRowTpl=`mh.InnerRowTpl` &firstClass=`first` &hereClass=``]] </div>\r\n      <!-- end topmenu -->\r\n    </div>\r\n    <!-- end header -->\r\n    <br style=\"clear:both;height:0;font-size: 1px\" />\r\n    <div id=\"footer\">\r\n      <p> <a href=\"http://modxcms.com\" title=\"Ajax CMS and PHP Application Framework\">Powered\r\n          by MODx</a> &nbsp;<a href=\"http://www.modxhost.com/\" title=\"Template Designed by modXhost.com\">Template &copy; 2006\r\n          modXhost.com</a><br />\r\n        MySQL: [^qt^], [^q^] request(s), PHP: [^p^], total: [^t^], document retrieved\r\n        from [^s^]. </p>\r\n    </div>\r\n    <!-- end footer -->\r\n  </div>\r\n  <!-- end outer div -->\r\n</div>\r\n<!-- end wrapper -->\r\n</body>\r\n</html>',0),(6,'Yes_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<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_main_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n\r\n<meta name=\"verify-v1\" content=\"iHuXU3Ki7F4nMHPiyZpSyZquBrdeeW1xQAYiWMdRP/I=\" />\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n[[sessionSubNav]]\r\n<div id=\"fullcontent\">\r\n [*#content*] \r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(7,'Yes_Contact','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n<div id=\"fullcontact\">\r\n [*#content*] \r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(8,'Yes_blog','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n\r\n</div>\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n<div id=\"content\">\r\n<h4>[*longtitle*]</h4>\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n\r\n<h2>Latest Entries:</h2>\r\n [[Ditto? &startID=`2` &summarize=`2` &total=`20` &commentschunk=`Comments` &tpl=`nl_sidebar` &showarch=`0` &truncLen=`100` &truncSplit=`0`]]\r\n<!--\r\n<h2>Login:</h2>\r\n[!WebLogin? &tpl=`FormLogin` &loginhomeid=`[(site_start)]`!] -->\r\n<p>&nbsp;</p>\r\n <h2>Health &amp; Beauty Websites</h2>\r\n            <p><a href=\"http://www.simplesolutionsforwomen.com\" title=\"Simple Solutions for Women\" rel=\"external\" >Simple Solutions for Women</a>\r\n<br /><a href=\"http://www.pantene.com/jsp/homepage/locales/en_US/index.html\" title=\"Pantene Beauty Products\" rel=\"external\" >Pantene</a>\r\n<br /><a href=\"http://www.vipcosmetics.com/\" title=\"VIP Cosmetics - great beauty products\" rel=\"external\">VIP Cosmetics </a>\r\n<br /><a href=\"http://www.bareminerals.com/on/demandware.store/Sites-BareMinerals-Site/default/\" title=\"the Foundation that Started the Mineral Makeup Revolution\" rel=\"external\">BareMinerals </a>\r\n<br /><a href=\"http://www.barenecessities.com/\" title=\"great clothes, good prices - find the perfect bra!\" rel=\"external\">Bare Necessities </a>\r\n</p>\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(13,'Eye Patch','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n\r\n<div id=\"product_cont_eye\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<a align=\"left\" href=\"free-face-cream-and-anti-aging-serum.php\" title=\"Try Y.e.s. for Free\"><img src=\"assets/images/trial-box-sm.jpg\" alt=\"FREE trial sample\" border=\"0\"></a><br />\r\n<div align=\"center\">\r\n<a href=\"free-face-cream-and-anti-aging-serum.php\" title=\"Try Y.e.s. for Free\">TRY IT FREE!</a><br />\r\n<span class=\"small\">Limit 1 per household.<br />Shipping not included.</span>\r\n<p>&nbsp;</p>\r\n\r\n<p>&nbsp;</p>\r\n<img alt=\"100% Satisfaction Guaranteed\" src=\"assets/images/guarantee.gif\"></div>\r\n</div>\r\n\r\n\r\n\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(9,'Yes_cart','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_main_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script language=\"javascript\" type=\"text/javascript\">\r\nvar cot_loc0=(window.location.protocol == \"https:\")? \"https://secure.comodo.net/trustlogo/javascript/cot.js\" :\r\n\"http://www.trustlogo.com/trustlogo/javascript/cot.js\";\r\ndocument.writeln(\'<script language=\"JavaScript\" src=\"\'+cot_loc0+\'\" type=\"text\\/javascript\"><\\/script>\');\r\n</script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n\r\n</div>\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n<div id=\"cart_cont\">\r\n<h4>[*longtitle*]</h4>\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<p>&nbsp;</p>\r\n<p>If 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 and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.\r\n<div align=\"center\">\r\n<img src=\"assets/images/guarantee.gif\" alt=\"Y.E.S. Guarantee\'s all Products\">\r\n<br /><br />\r\n <!-- (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 /><br />\r\n<img src=\"assets/images/comodo_seal.gif\" alt=\"Comodo Security Seal\">\r\n\r\n</div>\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n<script language=\"JavaScript\">COT(\"https://support.comodo.com/uploaded/cornertrust.gif\", \"SC2\", \"none\");</script>\r\n</body>\r\n</html>',0),(10,'Product','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/product_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_main_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n[[sessionSubNav]]\r\n\r\n<div id=\"product_cont\">\r\n [*#content*] \r\n<div align=\"center\">\r\n<div class=\"quotebox2\"><b>Y.E.S. Skincare Side Effects:</b> Younger looking skin, smoother texture, more confidence and less time required to get ready for the day!</div></div>\r\n<br />\r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<p>\"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.\"  <strong>Patti Covello, Beauty Expert featured on Rick Dees in the Morning 93.9 FM</strong>\r\n</p>\r\n<p><br />\"Y.E.S. makes great skin easy and affordable!\"  <strong>Joanna Cosgrove, online Editor Happi Magazine</strong>\r\n</p>\r\n<!--<p>\r\n<a align=\"left\" href=\"free-face-cream-and-anti-aging-serum.php\" title=\"Try Y.E.S. for Free\"><img src=\"assets/images/trial-box-sm.jpg\" alt=\"FREE trial sample\" border=\"0\"></a><br />\r\n<div align=\"center\">\r\n<a href=\"free-face-cream-and-anti-aging-serum.php\" title=\"Try Y.E.S. for Free\">TRY IT FREE!</a>\r\n</div>\r\n</p>  -->\r\n<p><br />These days, “Primersâ€ are a big deal; they attempt to create a porcelain finish to your skin which allows makeup to go on flawlessly.\r\n<br /><br />\r\n...our Y.E.S. Skincare line eliminates the need for a primer. You will love the finished look of your skin with or without makeup. In this busy life that we lead, this is a step that you can skip! </p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p><strong>Return policy:</strong><br />\r\nIf you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee on all products except discontinued items and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.</p>\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(11,'Full_Red','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<meta name=\"verify-v1\" content=\"iHuXU3Ki7F4nMHPiyZpSyZquBrdeeW1xQAYiWMdRP/I=\" />\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n<div id=\"fullred\">\r\n [*#content*] \r\n</div>\r\n\r\n{{red_text_footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(12,'Trial','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n\r\n<div id=\"product_cont\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<p><br /><b class=\"red\">Y.E.S. Skincare Side Effects:</b><br />\r\nYounger looking skin, smoother texture, more confidence and less time required to get ready for the day!\r\n</p>\r\n<p><br />These days, “Primersâ€ are a big deal; they attempt to create a porcelain finish to your skin which allows makeup to go on flawlessly. <strong>...our Y.E.S. Skincare line eliminates the need for a primer.</strong>  You will love the finished look of your skin with or without makeup.  In this busy life that we lead, this is a step that you can skip!\r\n</p>\r\n<p>&nbsp;</p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p>&nbsp;</p>\r\n<p>If 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 and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(14,'Page Not Found','',0,0,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n\r\n<div id=\"fourohfour\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<p>&nbsp;</p>\r\n<p>These days, “Primersâ€ are a big deal; they attempt to create a porcelain finish to your skin which allows makeup to go on flawlessly. <strong>...our Y.E.S. Skincare line eliminates the need for a primer.</strong>  You will love the finished look of your skin with or without makeup.  In this busy life that we lead, this is a step that you can skip!\r\n</p>\r\n<p>&nbsp;</p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p>&nbsp;</p>\r\n<p>If 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 and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(21,'Full_Red2','Wider version',0,0,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_css2.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<meta name=\"verify-v1\" content=\"iHuXU3Ki7F4nMHPiyZpSyZquBrdeeW1xQAYiWMdRP/I=\" />\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown3`]] \r\n\r\n<div id=\"fullred\">\r\n [*#content*] \r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(25,'Yes-Wide','',0,13,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_wide.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n\r\n<meta name=\"verify-v1\" content=\"iHuXU3Ki7F4nMHPiyZpSyZquBrdeeW1xQAYiWMdRP/I=\" />\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yes-wide-head.swf\" \r\nwidth=\"768\" height=\"100\">\r\n<param name=\"movie\" value=\"assets/images/yes-wide-head.swf\" />\r\n</object>\r\n</div>\r\n\r\n<div id=\"nav\">\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown3`]] \r\n</div>\r\n[[sessionSubNav]]\r\n\r\n\r\n<div id=\"body_bgnd\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"footer\">\r\n<table width=\"95%\"\">\r\n<tr><td width=\"50%\" align=\"left\" valign=\"top\">\r\n<strong>&copy; 2007 Y.E.S. Inc.</strong></td>\r\n<td width=\"50%\" align=\"right\" valign=\"top\"><a href=\"privacy-policy.php\"><font color=\"FFFFFF\">Privacy Policy</font></a>&nbsp;&nbsp;&nbsp;\r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n</div>\r\n</body>\r\n</html>',0),(15,'Santa Holiday','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yesbeauty_santa.css\" type=\"text/css\" media=\"screen,projection\" />\r\n\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`holiday_cssplay`]] \r\n\r\n\r\n [*#content*] \r\n\r\n<!--\r\n<div id=\"subcontent\">\r\n<div align=\"center\">\r\n<img src=\"assets/images/trial-box-sm.jpg\" alt=\"FREE trial sample\" border=\"0\"><br />\r\n<a align=\"left\" href=\"free-face-cream-and-anti-aging-serum.php\" title=\"Try Y.e.s. for Free\">Try it Free!</a></div>\r\n<p><br /><b class=\"red\">Y.E.S. Skincare Side Effects:</b><br />\r\nYounger looking skin, smoother texture, more confidence and less time required to get ready for the day!\r\n</p>\r\n<p><br />These days, “Primersâ€ are a big deal; they attempt to create a porcelain finish to your skin which allows makeup to go on flawlessly. \r\n</p>\r\n<p><strong>...our Y.E.S. Skincare line eliminates the need for a primer.</strong>  You will love the finished look of your skin with or without makeup.  In this busy life that we lead, this is a step that you can skip!\r\n</p>\r\n<p>&nbsp;</p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p>&nbsp;</p>\r\n<p><strong>Return policy:</strong><br />\r\nIf you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee on all products except discontinued items and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.\r\n</div>\r\n-->\r\n{{footer}}\r\n\r\n\r\n</body>\r\n</html>',0),(16,'Product Scripps','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/product_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_main_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n\r\n<div id=\"product_cont\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<p><strong>The 17th Annual Spinoff: Auction for Life benefits Scripps Cancer Center, Stevens Division.</strong> All proceeds will benefit programs and services, such as cancer prevention, early detection, education, patient support services and clinical research programs. <a href=\"scripps.php#scripps\" title=\"read more about helping the Scripps Cancer Center\">...read more.</a>\r\n<br /><br />\r\n<b class=\"red\">For more information about the event or to donate an auction item, please contact Lindsay Rhine, special events coordinator, at 858-678-6349.</b>\r\n</p>\r\n<br />\r\n<p><br /><b class=\"red\">Y.E.S. Skincare Side Effects:</b><br />\r\nYounger looking skin, smoother texture, more confidence and less time required to get ready for the day!\r\n</p>\r\n<p><br />These days, “Primersâ€ are a big deal; they attempt to create a porcelain finish to your skin which allows makeup to go on flawlessly. \r\n</p>\r\n<p><strong>...our Y.E.S. Skincare line eliminates the need for a primer.</strong>  You will love the finished look of your skin with or without makeup.  In this busy life that we lead, this is a step that you can skip!\r\n</p>\r\n<p>&nbsp;</p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p>&nbsp;</p>\r\n<p><strong>Return policy:</strong><br />\r\nIf you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee on all products except discontinued items and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(17,'Angel Faces','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/product_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_main_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n\r\n<div id=\"product_cont\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<p class=\"quote\"><b class=\"red\">Angel Faces — healing retreats designed to inspire adolescent girls with severe facial disfigurements to achieve their optimum potential.</b>\r\n<br /><br />\r\n<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â€. <strong>YES! I found a winner!â€</strong></em>\r\n<br />\r\n<strong>Lesia Cartelli - Founder and Director Angel Faces</strong>\r\n</p>\r\n<div align=\"center\">\r\n<br />\r\n<a href=\"http://www.angelfacesretreat.org/af/media.asp\" title=\"See who\'s featured Angel Faces\" target=\"_blank\"  />Angel Faces Featured by:<br /><br />\r\n<img src=\"/assets/images/angel-features.jpg\" alt=\"Angel Faces was Featured on Dr. Phil\'s television show\" /></a>\r\n</div>\r\n<br />\r\n<p><br /><b class=\"red\">Y.E.S. Skincare Side Effects:</b><br />\r\nYounger looking skin, smoother texture, more confidence and less time required to get ready for the day!\r\n</p>\r\n<p><br />These days, “Primersâ€ are a big deal; they attempt to create a porcelain finish to your skin which allows makeup to go on flawlessly. \r\n</p>\r\n<p><strong>...our Y.E.S. Skincare line eliminates the need for a primer.</strong>  You will love the finished look of your skin with or without makeup.  In this busy life that we lead, this is a step that you can skip!\r\n</p>\r\n<p>&nbsp;</p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p>&nbsp;</p>\r\n<p><strong>Return policy:</strong><br />\r\nIf you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee on all products except discontinued items and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(19,'Free','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/product_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_main_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n\r\n<div id=\"product_cont\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<p><br />\"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.\"  <strong>Patti Covello, Beauty Expert featured on Rick Dees in the Morning 93.9 FM</strong>\r\n</p>\r\n<p><br />\"Y.E.S. makes great skin easy and affordable!\"  <strong>Joanna Cosgrove, online Editor Happi Magazine</strong>\r\n</p>\r\n<p>&nbsp;<br /><br /></p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p>&nbsp;</p>\r\n<p><strong>Return policy:</strong><br />\r\nIf you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee on all products except discontinued items and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(20,'Content_Red','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/red-yes.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<meta name=\"verify-v1\" content=\"iHuXU3Ki7F4nMHPiyZpSyZquBrdeeW1xQAYiWMdRP/I=\" />\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n<div id=\"contentred\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<div align=\"center\">\r\n<img src=\"assets/images/trial-box-sm.jpg\" alt=\"FREE trial sample\" border=\"0\"><br />\r\n<a align=\"left\" href=\"free-face-cream-and-anti-aging-serum.php\" title=\"Try Y.e.s. for Free\">Try it Free!</a></div>\r\n<p><br /><b class=\"red\">Y.E.S. Skincare Side Effects:</b><br />\r\nYounger looking skin, smoother texture, more confidence and less time required to get ready for the day!\r\n</p>\r\n<p><br />These days, “Primersâ€ are a big deal; they attempt to create a porcelain finish to your skin which allows makeup to go on flawlessly. \r\n</p>\r\n<p><strong>...our Y.E.S. Skincare line eliminates the need for a primer.</strong>  You will love the finished look of your skin with or without makeup.  In this busy life that we lead, this is a step that you can skip!\r\n</p>\r\n<p>&nbsp;</p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p>&nbsp;</p>\r\n<p><strong>Return policy:</strong><br />\r\nIf you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee on all products except discontinued items and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(22,'Product Testimonial2','',0,6,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/product_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_main_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS 2.0\" href=\"[(site_url)][~11~]\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"blog-container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n\r\n\r\n<div id=\"product_cont\">\r\n [*#content*] \r\n<div align=\"center\">\r\n<div class=\"quotebox2\"><b>Y.E.S. Skincare Side Effects:</b> Younger looking skin, smoother texture, more confidence and less time required to get ready for the day!</div></div>\r\n<br />\r\n</div>\r\n\r\n<div id=\"subcontent\">\r\n<p><span class=\"rev_quote\"><strong>Joan Rogers, Cosmetic & Beauty Reviews</strong> - \"This is a wonderful anti-aging treatment serum!  My skin looks smoother as I have fewer lines and my adult acne is under control.\"</span></p>\r\n<p><br /><span class=\"rev_quote\"><strong>Maria Palma, Beauty Within Writer</strong> - \"The Y.E.S. Rejuvenating Moisture Cream absorbs quickly and is now my product of choice!\"</span></p>\r\n<p><br /><span class=\"rev_quote\"><strong>Andrea Toochin, Beauty Writer</strong> - \"With the serum, a little goes a long way.  Combined with the Rejuvenating Moisture Cream gives you a perfect base for makeup.\"</span></p>\r\n<p>&nbsp;</p>\r\n<div align=\"center\">\r\n<img alt=\"100% Satisfaction Guaranteed\"  src=\"assets/images/100-guarantee.gif\">\r\n</div>\r\n<p><strong>Return policy:</strong><br />\r\nIf you purchased products from Y.E.S. Skincare directly, we offer a 30-day money back guarantee on all products except discontinued items and free samples, no questions asked. <a href=\"privacy-policy.php#return\" title=\"Full return policy\" />More details</a>.</p>\r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(23,'extra-session-template','',0,4,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/promo_pages.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_main_css.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"[(base_url)]assets/templates/default/print.css\" media=\"print\" />\r\n<script src=\"[(base_url)]assets/templates/default/styleswitcher.js\" type=\"text/javascript\"></script>\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/images/yesbanner.swf\" \r\nwidth=\"820\" height=\"110\">\r\n<param name=\"movie\" value=\"assets/images/yesbanner.swf\" />\r\n</object>\r\n</div>\r\n\r\n[[setOfferSession]]\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown2`]] \r\n[[sessionSubNav]]\r\n\r\n\r\n<div id=\"fullcontentt\">\r\n [*#content*] \r\n</div>\r\n\r\n{{footer}}\r\n\r\n\r\n</div>\r\n</body>\r\n</html>',0),(30,'YW-Full Content','',0,13,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\r\n\r\n[[Wayfinder? &startId=`137` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu2`]] \r\n\r\n</div>\r\n\r\n\r\n [*#content*] \r\n\r\n\r\n<div id=\"footer\">\r\n{{home-wide-foot}}\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(26,'Yes-Wide-full','',0,13,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yes_wide.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[(site_name)] | [*pagetitle*]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<script src=\"https://ssl.google-analytics.com/urchin.js\" type=\"text/javascript\"></script>\r\n<script type=\"text/javascript\">\r\n_uacct = \"UA-309120-3\";\r\nurchinTracker();</script>\r\n\r\n<meta name=\"verify-v1\" content=\"iHuXU3Ki7F4nMHPiyZpSyZquBrdeeW1xQAYiWMdRP/I=\" />\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\r\n<object\r\ntype=\"application/x-shockwave-flash\" data=\"assets/templates/images/yes-wide-head.swf\" \r\nwidth=\"768\" height=\"100\">\r\n<param name=\"movie\" value=\"assets/templates/images/yes-wide-head.swf\" />\r\n</object>\r\n</div>\r\n\r\n<div id=\"nav\">\r\n[[Wayfinder? &startId=`0` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`cssplay_dropdown3`]] \r\n</div>\r\n[[sessionSubNav]]\r\n\r\n\r\n<div id=\"body_bgnd2\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"footer\">\r\n<table width=\"95%\"\">\r\n<tr><td width=\"50%\" align=\"left\" valign=\"top\">\r\n<strong>&nbsp;&nbsp;&nbsp;&copy; 2007 Y.E.S. Inc.</strong></td>\r\n<td width=\"50%\" align=\"right\" valign=\"top\"><a href=\"privacy-policy.php\"><font color=\"FFFFFF\">Privacy Policy</font></a>&nbsp;&nbsp;&nbsp;\r\n</td></tr>\r\n</table>\r\n</div> \r\n\r\n</div>\r\n</body>\r\n</html>',0),(28,'YW','',0,13,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\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=\"[~151~]\" 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<tr><td>\r\n[[Wayfinder? &startId=`137` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu`]] \r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div id=\"body-top\">\r\n&nbsp;\r\n</div>\r\n\r\n<div id=\"body-mid\">\r\n[[sessionSubNav]]\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"body-btm\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n<div id=\"footer\">\r\n&nbsp;\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(31,'YW-news','',0,13,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\r\n<!--<object\r\ntype=\"application/x-shockwave-flash\" data=\"/assets/templates/images/yes-wide-head.swf\" \r\nwidth=\"768\" height=\"100\">\r\n<param name=\"movie\" value=\"/assets/templates/images/yes-wide-head.swf\" />\r\n</object> -->\r\n\r\n[[Wayfinder? &startId=`137` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu`]] \r\n\r\n</div>\r\n\r\n<div id=\"content-news-top\">\r\n&nbsp;\r\n</div>\r\n\r\n<div id=\"content-news-body\">\r\n[[sessionSubNav]]\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"body-btm\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n<div id=\"footer\">\r\n&nbsp;\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(29,'YW-home','',0,13,'',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   <link rel=\"shortcut icon\" href=\"favicon.ico\" >\r\n   <link rel=\"icon\" type=\"image/gif\" href=\"animated_favicon1.gif\" >\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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<meta name=\"verify-v1\" content=\"iHuXU3Ki7F4nMHPiyZpSyZquBrdeeW1xQAYiWMdRP/I=\" />\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\r\n<table width=\"100%\" height=\"40\">\r\n<tr><td valign=\"top\">\r\n<span style=\"float: right; margin-right: 65px; margin-top: 5px; font-size: 11px; vertical-align: top\"><a href=\"[~151~]\" title=\"secure shopping cart\"><img alt=\"Shopping Cart\" src=\"assets/templates/images2/cart-icon.gif\" class=\"scgap\" border=\"0\" />Shopping Cart</a></span>\r\n</td></tr>\r\n<tr><td>\r\n[[Wayfinder? &startId=`137` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu2`]] \r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div id=\"body-home\">\r\n [*#content*] \r\n</div>\r\n\r\n\r\n<div id=\"footer\">\r\n{{home-wide-foot}}\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(33,'YW - Distributor','',0,13,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\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=\"[~151~]\" 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<tr><td>\r\n[[Wayfinder? &startId=`137` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu`]] \r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div id=\"body-top\">\r\n&nbsp;\r\n</div>\r\n\r\n<div id=\"body-mid\">\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"body-btm\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n<div id=\"footer\">\r\n&nbsp;\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(32,'YW extra-session-template','',0,13,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n[[setOfferSession]]\r\n<div id=\"header\">\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=\"[~151~]\" 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<tr><td>\r\n[[Wayfinder? &startId=`137` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu`]] \r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div id=\"body-top\">\r\n&nbsp;\r\n</div>\r\n\r\n<div id=\"body-mid\">\r\n[[sessionSubNav]]\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"body-btm\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n<div id=\"footer\">\r\n&nbsp;\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(34,'YW - Cart','',0,0,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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<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=\"[~151~]\" 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<tr><td>\r\n[[Wayfinder? &startId=`137` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu`]] \r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div id=\"body-top\">\r\n&nbsp;\r\n</div>\r\n\r\n<div id=\"body-mid\">\r\n[[sessionSubNav]]\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"body-btm\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n<div id=\"footer\">\r\n&nbsp;\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(35,'YW  - CAD','',0,0,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\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=\"[~151~]\" 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<tr><td>\r\n[[Wayfinder? &startId=`186` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu`]] \r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div id=\"body-top\">\r\n&nbsp;\r\n</div>\r\n\r\n<div id=\"body-mid\">\r\n[[sessionSubNav]]\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"body-btm\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n<div id=\"footer\">\r\n&nbsp;\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(36,'YW-home-CA','',0,0,'',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   <link rel=\"shortcut icon\" href=\"favicon.ico\" >\r\n   <link rel=\"icon\" type=\"image/gif\" href=\"animated_favicon1.gif\" >\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\r\n<table width=\"100%\" height=\"40\">\r\n<tr><td valign=\"top\">\r\n<span style=\"float: right; margin-right: 65px; margin-top: 5px; font-size: 11px; vertical-align: top\"><a href=\"[~151~]\" title=\"secure shopping cart\"><img alt=\"Shopping Cart\" src=\"assets/templates/images2/cart-icon.gif\" class=\"scgap\" border=\"0\" />Shopping Cart</a></span>\r\n</td></tr>\r\n<tr><td>\r\n[[Wayfinder? &startId=`186` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu2`]] \r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div id=\"body-home\">\r\n [*#content*] \r\n</div>\r\n\r\n\r\n<div id=\"footer\">\r\n{{home-wide-foot}}\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(37,'YW-news-CA','',0,0,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\r\n<!--<object\r\ntype=\"application/x-shockwave-flash\" data=\"/assets/templates/images/yes-wide-head.swf\" \r\nwidth=\"768\" height=\"100\">\r\n<param name=\"movie\" value=\"/assets/templates/images/yes-wide-head.swf\" />\r\n</object> -->\r\n\r\n[[Wayfinder? &startId=`186` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu`]] \r\n\r\n</div>\r\n\r\n<div id=\"content-news-top\">\r\n&nbsp;\r\n</div>\r\n\r\n<div id=\"content-news-body\">\r\n[[sessionSubNav]]\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"body-btm\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n<div id=\"footer\">\r\n&nbsp;\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(38,'YW_locked','',0,0,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\" />\r\n<base href=\"[(site_url)]\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/yw.css\" type=\"text/css\" media=\"screen,projection\" />\r\n<link rel=\"stylesheet\" href=\"[(base_url)]assets/templates/weblogin.css\" type=\"text/css\" media=\"screen,projection\" />\r\n\r\n<title>[*pagetitle*] | [(site_name)]</title>\r\n<script src=\"manager/media/script/scriptaculous/prototype.js\" type=\"text/javascript\"></script>\r\n<script src=\"manager/media/script/scriptaculous/scriptaculous.js\" type=\"text/javascript\"></script>\r\n<meta name=\"description\" content=\"[*description*]\" />\r\n<meta name=\"keywords\" content=\"[*introtext*]\" />\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<script src=\"../mint/?js\" type=\"text/javascript\"></script>\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\" >\r\n\r\n<div id=\"header\">\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=\"[~151~]\" 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<tr><td>\r\n[[Wayfinder? &startId=`137` &level=`3` &parentClass=`hide` &parentRowTpl=`cssplay_parentRow` &outerTpl=`cssplay_outer` &innerTpl=`cssplay_inner` &rowTpl=`cssplay_row` &outerClass=`menu` &cssTpl=`ymenu`]] \r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div id=\"body-top\">\r\n&nbsp;\r\n</div>\r\n\r\n<div id=\"body-mid\">\r\n[[sessionSubNav]]\r\n [*#content*] \r\n</div>\r\n\r\n<div id=\"body-btm\">\r\n{{wide-foot}}\r\n</div>\r\n\r\n<div id=\"footer\">\r\n&nbsp;\r\n</div>\r\n\r\n</div>\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\r\n</body>\r\n</html>',0),(39,'qwick-aid-cart','',0,16,'',0,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\">\r\n<base href=\"https://www.yesskincare.com\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/templates/css/cart.css\">\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/templates/css/qwik_css2.css\">\r\n<title>[*longtitle*]</title>\r\n<meta name=\"description\" content=\"Introduction to QwickAid 4 Animals\">\r\n\r\n<!-- jQuery library -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.js\"></script>\r\n<!-- end of jQuery library -->\r\n\r\n<!-- jCarousel script (clients slider) -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.jcarousel.pack.js\"></script>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/js/jquery.jcarousel.css\">\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/templages/css/clients_slider.css\">\r\n<script type=\"text/javascript\">\r\njQuery(document).ready(function() {\r\n    jQuery(\'#mycarousel\').jcarousel();\r\n});\r\n</script>\r\n<!-- ends of jCarousel scripts -->\r\n\r\n<!-- Cycle jquery plugin (Featured fader) -->\r\n<script type=\"text/javascript\" src=\"assets/js/jquery.cycle.all.js\"></script>\r\n<script type=\"text/javascript\">\r\n$(document).ready(function() {\r\n    $(\'.slideshow\').cycle({\r\n		fx: \'fade\' // choose your transition type, ex: fade, scrollUp, shuffle, etc...\r\n	});\r\n});\r\n</script>\r\n<!-- end of Cycle plugin -->\r\n</head>\r\n\r\n<body>\r\n<div id=\"container\">\r\n<div id=\"header\"> \r\n<table width=\"100%\" height=\"90px\">\r\n<tr><td valign=\"bottom\" align=\"right\">\r\n<div style=\"float: right; margin-right: 45px; margin-bottom: 15px; font-size: 11px; vertical-align: top\"><a href=\"index.php?id=151\" title=\"secure shopping cart\"><img src=\"assets/images/cart-icon.gif\" border=\"0\">Shopping Cart</a></div>\r\n</td></tr>\r\n</table>\r\n</div>\r\n\r\n<div class=\"menu\">\r\n<ul>\r\n<li class=\"active\"><a href=\"http://www.qwickaid4animals.com/home.html\" title=\"Qwick-AID 4 Animals\">Home</a></li>\r\n<li><a href=\"http://www.qwickaid4animals.com/products.html\" title=\"Products\">Products</a></li>\r\n<li><a href=\"http://www.qwickaid4animals.com/veterinary.html\" title=\"Veterinary\">Veterinary</a></li>\r\n\r\n<li><a href=http://www.qwickaid4animals.com\"/sporting-dogs.html\" title=\"Sporting Dogs\">Sporting Dogs</a></li>\r\n<li><a href=\"http://www.qwickaid4animals.com/equine.html\" title=\"Equine\">Equine</a></li>\r\n<li><a href=\"http://www.qwickaid4animals.com/qwick-aid-blog.html\" title=\"Qwick-AID Blog\">Blog</a></li>\r\n<li class=\"last\"><a href=\"http://www.qwickaid4animals.com/contact-us.html\" title=\"Contact\">Contact</a></li>\r\n\r\n</ul></div> \r\n\r\n[[sessionSubNav]]\r\n [*#content*] \r\n\r\n\r\n<div id=\"footer\">\r\n<div style=\"float: left; width:15%\">&copy; Qwick-AID<sup>&reg;</sup></div>\r\n<div stlye=\"float: left; width: 40%\">\r\n<ul class=\"topnav\">\r\n<li><a href=\"http://www.qwickaid4animals.com/home.html\" title=\"Hemostatic Bandages for Animals\" >Home</a></li>\r\n<li><a href=\"http://www.qwickaid4animals.com/contact-us.html\" title=\"Contact us\" >Contact Us</a></li>\r\n<li><a href=\"http://www.qwickaid4animals.com/privacy-policy.html\" title=\"Qwick-AID respects your privacy\">Privacy Policy</a></li>\r\n<li class=\"last\"><a href=\"http://www.qwickaid.com\" title=\"Hemostatic Bandages\" >Qwick-AID Home Page</a></li>\r\n</ul>\r\n</div>\r\n</div><!-- end footer -->\r\n\r\n</div> <!-- end container -->\r\n<script type=\"text/javascript\">\r\nvar gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\r\ndocument.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\r\n</script>\r\n<script type=\"text/javascript\">\r\ntry {\r\nvar pageTracker = _gat._getTracker(\"UA-309120-3\");\r\npageTracker._trackPageview();\r\n} catch(err) {}</script>\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 AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='Contains data used for template variable access permissions.';

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

INSERT INTO `modx_site_tmplvar_access` VALUES (1,1,1);

--
-- 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=38 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,3,9,'skincare beauty'),(2,3,18,'yes skincare discounts'),(3,4,2,'Skincare||Women\'s Products'),(4,5,124,'Facebook friends receive 10% off regular pricing and free shipping!!'),(5,6,124,'facebook'),(6,5,125,'Mark Thompson\'s friends receive 10% off regular pricing!'),(7,6,125,'markt'),(8,5,126,'Gabrielle\'s friends receive 10% discount!'),(9,6,126,'Gabrielle'),(10,5,127,'Dan Bellini\'s friends receive a 10% discount!'),(11,6,127,'Bellini'),(12,5,128,'Jean Yerman-Roth\'s friends receive 10% off discount!'),(13,6,128,'Yerman Roth'),(14,5,132,'Angel Faces Retreat receives 30% of all sales made from this page.'),(15,6,132,'angel'),(16,5,134,'Lilly of the Valley receives 20% of all sales made from this page until December 31, 2008'),(17,6,134,'lilly'),(18,6,163,'BeautyInsider'),(19,5,163,'Beauty Insiders get <u>free shipping</u> on orders for Anti-Aging Serum & Moisturizing Cream!!'),(20,6,166,'1/2-price-offer'),(21,5,166,'Special offer for customers who ordered a free sample kit. 50% off regular pricing!'),(22,6,168,'KimTanner'),(23,5,168,'Kim Tanner ordering page'),(24,6,172,'K2Tannr'),(25,5,172,'Kim Tanner ordering page'),(26,6,173,'BKwholesale'),(27,5,173,'Kim Tanner ordering page'),(28,6,211,'BeautyInsider'),(29,5,211,'Beauty Insiders get <u>free shipping</u> on orders for Anti-Aging Serum & Moisturizing Cream!!'),(30,6,212,'1/2-price-offer'),(31,5,212,'Special offer for customers who ordered a free sample kit. 50% off regular pricing!');

--
-- 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 (1,4,0),(1,1,0),(1,3,0),(2,1,1),(2,3,2),(2,4,3),(3,4,0),(3,1,0),(3,5,0),(3,3,0),(1,6,0),(1,7,0),(1,8,0),(3,6,0),(3,7,0),(3,8,0),(4,8,0),(5,23,0),(6,33,0),(5,32,0),(6,23,0),(6,32,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=7 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,9,0,'',0,'richtext','&w=383px&h=450px&edt=TinyMCE',''),(2,'text','loginName','loginName','Conditional name for the Login menu item',0,9,0,'',0,'','','@EVAL if ($modx->getLoginUserID()) return \'Logout\'; else return \'Login\';'),(3,'text','documentTags','Tags','Space delimited tags for the current document',0,3,0,'',0,'','',''),(4,'checkbox','categoryOptions','Blog Categories','delimiters',0,3,0,'Skincare||Fashion||Beauty||Health||Women\'s Products||Mens\' Products',0,'','','Skincare'),(5,'text','sessionSubNavText','sessionSubNavText','',0,0,0,'',0,'','',''),(6,'text','promoType','promoType','',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=1004 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,''),(200,'OnCreateDocGroup',1,'Documents'),(999,'OnPageUnauthorized',1,''),(1000,'OnPageNotFound',1,''),(1001,'OnBeforeWebSaveUser',3,''),(1002,'OnBeforeAddToGroup',3,''),(1003,'OnViewUserProfile',3,'');

--
-- 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','MODxLight'),('settings_version','0.9.6'),('server_offset_time','-10800'),('server_protocol','http'),('manager_language','english'),('modx_charset','UTF-8'),('site_name','Y.E.S. Young Essential Skincare'),('site_start','136'),('error_page','136'),('unauthorized_page','4'),('site_status','1'),('site_unavailable_message','The site is currently unavailable'),('track_visitors','0'),('resolve_hostnames','0'),('top_howmany','10'),('default_template','28'),('old_template','28'),('publish_default','0'),('cache_default','0'),('search_default','1'),('friendly_urls','1'),('friendly_url_prefix',''),('friendly_url_suffix','.html'),('friendly_alias_urls','1'),('use_alias_path','0'),('use_udperms','1'),('udperms_allowroot','0'),('failed_login_attempts','3'),('blocked_minutes','60'),('use_captcha','0'),('captcha_words','yes2skin,cream4me,serum24,complex24,sayyes2me,beauty4me'),('emailsender','mark@yesskincare.com'),('emailsubject','Your Y.e.s Skincare.com login details'),('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 at [+surl+], you can change your password.\r\n\r\nRegards,\r\nSite Administrator'),('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+] at [+surl+], you can change your password.\r\n\r\nRegards,\r\nSite Administrator'),('webpwdreminder_message','Hello [+uid+]\r\n\r\nTo active you 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'),('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/assets/'),('rb_base_url','assets/'),('which_editor','none'),('fe_editor_lang','english'),('fck_editor_toolbar','standard'),('fck_editor_autolang','0'),('editor_css_path','assets/templates/yw.css'),('editor_css_selectors',''),('strip_image_paths','1'),('upload_images','jpg,jpeg,png,gif,psd,ico,bmp'),('upload_media','mp3,wav,au,wmv,avi,mpg,mpeg'),('upload_flash','swf,fla'),('upload_files','txt,php,html,htm,xml,js,css,cache,zip,gz,rar,z,tgz,tar,htaccess,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,xls,txt'),('upload_maxsize','1048576'),('new_file_permissions','0644'),('new_folder_permissions','0755'),('show_preview','0'),('filemanager_path','/home/yesskinc/public_html/'),('theme_refresher',''),('manager_layout','4'),('custom_contenttype','text/css,text/html,text/javascript,text/plain,text/xml'),('auto_menuindex','1'),('session.cookie.lifetime','604800'),('mail_check_timeperiod','60'),('manager_lang_attribute','en'),('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'),('site_id','465a5fe8537ba'),('xhtml_urls','1'),('site_unavailable_page',''),('txt_custom_contenttype',''),('allow_duplicate_alias','0'),('automatic_alias','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` varchar(255) NOT NULL DEFAULT '' COMMENT 'short comment',
  PRIMARY KEY (`id`),
  KEY `userid` (`internalKey`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='Contains information about the backend users.';

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

INSERT INTO `modx_user_attributes` VALUES (1,1,'Default admin account',1,'mark@digitalmailmaker.com','','',0,0,0,437,1321827891,1323469043,0,'8a73a23f52e29541532b93d681f9cca0',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',
  `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',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='Contains information describing the user roles.';

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

INSERT INTO `modx_user_roles` VALUES (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);

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

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

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

INSERT INTO `modx_user_settings` VALUES (1,'newpasswordcheck','on'),(1,'manager_language','english'),(1,'manager_direction','ltr'),(1,'manager_lang_attribute','en'),(1,'allow_manager_access','1'),(1,'tinymce_editor_theme','editor'),(1,'tinymce_custom_plugins','style,advimage,advlink,searchreplace,print,contextmenu,paste,fullscreen,nonbreaking,xhtmlxtras,visualchars,media'),(1,'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'),(1,'tinymce_custom_buttons2','bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,separator,styleprops');

--
-- 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`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1 COMMENT='Contains data used for web access permissions.';

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

INSERT INTO `modx_web_groups` VALUES (9,1,1),(11,1,2),(10,2,2),(8,2,1),(12,2,3),(13,1,3);

--
-- 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` varchar(255) NOT NULL DEFAULT '' COMMENT 'short comment',
  PRIMARY KEY (`id`),
  KEY `userid` (`internalKey`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COMMENT='Contains information for web users.';

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

INSERT INTO `modx_web_user_attributes` VALUES (1,1,'Site Admin',0,'you@yourdomain.com','','',0,0,0,25,1129049624,1129063123,0,'f426f3209310abfddf2ee00e929774b4',0,0,'','','','','',''),(2,2,'Linda Eastwood',0,'le707@cox.net','','',0,0,0,2,1183750814,1184193833,0,'9c6d88a5ef9b6bdae0319e8a0f678470',0,2,'','','','','',''),(3,3,'Mark Thompson',0,'mark@digitalmailmaker.com','','',0,0,0,5,1187385424,1193967952,0,'9e487b6c07702bf7fd253322f8632683',0,1,'','','','','','');

--
-- Table structure for table `modx_web_user_attributes_extended`
--

CREATE TABLE `modx_web_user_attributes_extended` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `internalKey` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `userid` (`internalKey`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modx_web_user_attributes_extended`
--


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

INSERT INTO `modx_web_user_settings` VALUES (2,'allowed_days','1,2,3,4,5,6,7'),(1,'login_home','2'),(1,'allowed_days','1,2,3,4,5,6,7');

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



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

INSERT INTO `modx_web_users` VALUES (1,'siteadmin','5f4dcc3b5aa765d61d8327deb882cf99',''),(2,'LE707','8ed482b01bb4bb3cd20d2cb94940e205',''),(3,'mtbinary','ae81ce941a39ad531b2dee020ea924ee','');

--
-- 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 AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COMMENT='Contains data used for web access permissions.';

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

INSERT INTO `modx_webgroup_access` VALUES (1,1,1),(2,2,2);

--
-- 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 AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COMMENT='Contains data used for web access permissions.';

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

INSERT INTO `modx_webgroup_names` VALUES (1,'Site Admins'),(2,'Registered Users');

--
-- Table structure for table `order_customer`
--

CREATE TABLE `order_customer` (
  `order_customer_ID` int(9) NOT NULL AUTO_INCREMENT,
  `rewards_promo` int(10) NOT NULL DEFAULT '0',
  `rewards_credit` int(1) NOT NULL DEFAULT '0',
  `customer_ID` int(9) NOT NULL DEFAULT '0',
  `transaction_ID` varchar(25) NOT NULL DEFAULT '',
  `orders_ID` varchar(6) NOT NULL DEFAULT '0',
  `order_date` date DEFAULT NULL,
  `order_time` int(14) DEFAULT NULL,
  `promo_dist_id` int(5) NOT NULL DEFAULT '0',
  `promo_client_id` int(5) NOT NULL DEFAULT '0',
  `shipped` int(1) NOT NULL DEFAULT '0',
  `gift` varchar(4) DEFAULT NULL,
  `shippinginfo` varchar(5) DEFAULT NULL,
  `comment` text,
  `promo` varchar(10) DEFAULT NULL,
  `promoType` varchar(10) NOT NULL DEFAULT '',
  `vip` char(2) NOT NULL DEFAULT '',
  `flexpay` int(1) NOT NULL DEFAULT '0',
  `flexpayAmountPaid` varchar(20) NOT NULL DEFAULT '',
  `resaleNum` varchar(70) NOT NULL DEFAULT '',
  `purchaseNum` varchar(70) NOT NULL DEFAULT '',
  `orderType` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`order_customer_ID`),
  KEY `customer_ID` (`customer_ID`),
  KEY `promoType` (`promoType`)
) ENGINE=MyISAM AUTO_INCREMENT=227 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `order_customer`
--

INSERT INTO `order_customer` VALUES (1,0,0,2,'','mcyajx','2007-01-31',1170250245,0,0,1,'','on','',NULL,'','',0,'','','',''),(2,0,0,3,'','mhy01','2007-02-06',1170749101,0,0,1,'','on','',NULL,'','',0,'','','',''),(56,0,0,19,'1660190104','0xbdss','2007-12-15',1197678375,0,0,1,'','on','',NULL,'','',0,'','','',''),(55,0,0,18,'1644990419','bwyihe','2007-12-04',1196784403,0,0,1,'','on','',NULL,'','',0,'','','',''),(57,0,0,19,'1665024438','87kyrw','2007-12-18',1198007887,0,0,1,'','on','',NULL,'','',0,'','','',''),(58,0,0,20,'1669258563','8v1na5','2007-12-21',1198271740,0,0,1,'','on','',NULL,'','',0,'','','',''),(59,0,0,11,'','39x8tm','2008-01-18',1200655100,0,0,0,'','on','',NULL,'','3',0,'','','',''),(60,0,0,21,'1708316818','t41g8f','2008-01-27',1201421678,0,0,1,'','on','',NULL,'','',0,'','','',''),(61,0,0,11,'','4e2ys7','2008-02-03',1202050802,0,0,0,'','','',NULL,'','4',0,'','','',''),(62,0,0,22,'1719306272','vdlj6d','2008-02-05',1202215881,0,0,1,'','on','',NULL,'','',0,'','','',''),(63,0,0,23,'1743350981','so9muz','2008-02-26',1203989652,0,0,1,'','on','',NULL,'','',0,'','','',''),(64,0,0,24,'1746855771','rghtgf','2008-02-28',1204224214,0,0,1,'','on','',NULL,'','',0,'','','',''),(65,0,0,12,'','bv7sw9','2008-03-05',1204755459,0,0,0,'','on','',NULL,'','3',0,'','','',''),(66,0,0,25,'1761070114','3q26ew','2008-03-11',1205205509,0,0,1,'','on','',NULL,'','',0,'','','',''),(67,0,0,26,'1761674467','dizdz9','2008-03-11',1205253404,0,0,1,'','','',NULL,'','',0,'','','',''),(68,0,0,27,'1763497559','fuyqy6','2008-03-12',1205360751,0,0,1,'','on','',NULL,'','',0,'','','',''),(69,0,0,24,'1772891409','d8bw6z','2008-03-20',1206041748,0,0,1,'','on','',NULL,'','',0,'','','',''),(70,0,0,28,'1773283131','kpd2xv','2008-03-21',1206066593,0,0,1,'','on','',NULL,'','',0,'','','',''),(71,0,0,12,'','jj98oo','2008-03-21',1206108002,0,0,0,'','','',NULL,'','4',0,'','','',''),(72,0,0,24,'1781025161','l1h18w','2008-03-27',1206658325,0,0,0,'','','',NULL,'','',0,'','','',''),(73,0,0,29,'1783220315','e33h82','2008-03-30',1206836845,0,0,0,'','on','',NULL,'','',0,'','','',''),(74,0,0,30,'1783802123','zjswak','2008-03-30',1206913765,0,0,0,'','on','',NULL,'','',0,'','','',''),(75,0,0,11,'','vo7drp','2008-04-03',1207231202,0,0,0,'','','',NULL,'','4',0,'','','',''),(76,0,0,13,'1798070099','hr9om1','2008-04-10',1207856744,0,0,0,'','on','',NULL,'','3',0,'','','',''),(77,0,0,21,'1807670686','z4uh89','2008-04-18',1208538670,0,0,0,'','on','',NULL,'','',0,'','','',''),(78,0,0,31,'1811410520','7ozyjx','2008-04-22',1208859005,0,0,0,'','on','',NULL,'','',0,'','','',''),(79,0,0,32,'1815053117','2d5qku','2008-04-25',1209084416,0,0,0,'','on','',NULL,'','',0,'','','',''),(80,0,0,13,'','c4vvc8','2008-04-26',1209218402,0,0,0,'','','',NULL,'','4',0,'','','',''),(81,0,0,33,'1844632046','vw8au','2008-05-19',1211221099,0,0,0,'','on','',NULL,'','',0,'','','',''),(82,0,0,12,'','cqylk5','2008-05-20',1211292002,0,0,0,'','','',NULL,'','4',0,'','','',''),(83,0,0,34,'1867555246','soqh5','2008-06-07',1212851578,0,0,0,'','on','',NULL,'','',0,'','','',''),(84,0,0,35,'1867953509','mz1d62','2008-06-08',1212893415,0,0,0,'','','',NULL,'','',0,'','','',''),(85,0,0,36,'1876733425','jhw0d0','2008-06-15',1213563446,0,0,0,'','on','',NULL,'','',0,'','','',''),(86,0,0,23,'1878234377','c9q5jl','2008-06-16',1213652699,0,0,0,'','','',NULL,'','',0,'','','',''),(87,0,0,37,'1884347703','uafmll','2008-06-21',1214083179,0,0,0,'','on','',NULL,'','',0,'','','',''),(88,0,0,38,'1893995731','bn2nk','2008-06-30',1214845618,0,0,0,'','on','',NULL,'','',0,'','','',''),(89,0,0,39,'1929776951','tqen','2008-07-30',1217433163,0,0,0,'yes','','',NULL,'','',0,'','','',''),(90,0,0,40,'1929900931','3asfvn','2008-07-30',1217438070,0,0,0,'','','',NULL,'','',0,'','','',''),(91,0,0,41,'1938235964','0zuhrj','2008-08-05',1217977826,0,0,0,'','on','',NULL,'','',0,'','','',''),(92,0,0,42,'1943731795','2kzmdc','2008-08-11',1218416399,0,0,0,'','on','',NULL,'','',0,'','','',''),(93,0,0,23,'1957282162','8oxjc','2008-08-21',1219343141,0,0,0,'','on','',NULL,'','',0,'','','',''),(94,0,0,44,'1958248123','g83x1','2008-08-22',1219417131,0,0,0,'','on','',NULL,'','',0,'','','',''),(95,0,0,45,'1958569851','59508b','2008-08-22',1219429174,0,0,0,'','on','',NULL,'','',0,'','','',''),(96,0,0,46,'1967148385','m3c4ev','2008-08-29',1220034755,0,0,0,'','on','',NULL,'','',0,'','','',''),(97,0,0,47,'2004184880','0f520t','2008-09-29',1222659875,0,0,0,'','on','',NULL,'','',0,'','','',''),(98,0,0,48,'2017563872','cr1mog','2008-10-08',1223486751,0,0,0,'','on','',NULL,'','',0,'','','',''),(99,0,0,49,'2030664267','48r6nq','2008-10-19',1224389936,0,0,0,'','on','',NULL,'','',0,'','','',''),(100,0,0,50,'2168712645','6disgw','2008-11-08',1226122076,0,0,0,'','on','',NULL,'','',0,'','','',''),(101,0,0,51,'2171899878','w5kzsw','2008-11-11',1226366130,0,0,0,'','on','',NULL,'','',0,'','','',''),(102,0,0,52,'2181302328','whhw5s','2008-11-18',1226973858,0,0,0,'','','',NULL,'','',0,'','','',''),(103,0,0,53,'2181410995','sxbtnh','2008-11-18',1226982470,0,0,0,'','on','',NULL,'','',0,'','','',''),(104,0,0,54,'2182577961','ifcxw','2008-11-18',1227046953,0,0,0,'','on','',NULL,'','',0,'','','',''),(105,0,0,55,'2183858476','9cnx75','2008-11-19',1227125656,0,0,0,'','on','',NULL,'','',0,'','','',''),(106,0,0,23,'2184365716','a7id28','2008-11-20',1227151335,0,0,0,'','on','',NULL,'','',0,'','','',''),(107,0,0,56,'2195644037','hmwspn','2008-11-29',1227972556,0,0,0,'','on','',NULL,'','',0,'','','',''),(108,0,0,57,'2215041188','cllslj','2008-12-11',1229015975,0,0,0,'','on','',NULL,'','',0,'','','',''),(109,0,0,58,'2216604203','sioeje','2008-12-12',1229097744,0,0,0,'','','',NULL,'','',0,'','','',''),(110,0,0,59,'2217390346','hewfo','2008-12-12',1229121572,0,0,0,'','on','',NULL,'','',0,'','','',''),(111,0,0,60,'2223704723','tk8bju','2008-12-17',1229476596,0,0,0,'','on','',NULL,'','',0,'','','',''),(112,0,0,61,'2226507807','ii79do','2008-12-18',1229627730,0,0,0,'','on','',NULL,'','',0,'','','',''),(113,0,0,62,'2227719538','0yh554','2008-12-19',1229701729,0,0,0,'','on','',NULL,'angel','',0,'','','',''),(114,0,0,63,'2229210879','dtxke7','2008-12-20',1229795647,0,0,0,'','on','',NULL,'lilly','',0,'','','',''),(115,0,0,64,'2236726751','mmhws','2008-12-27',1230406626,0,0,0,'','on','',NULL,'','',0,'','','',''),(116,0,0,65,'2243084720','e9u6cx','2009-01-01',1230851725,0,0,0,'','','',NULL,'','',0,'','','',''),(117,0,0,66,'2245520653','hn2red','2009-01-03',1231023455,0,0,0,'','on','',NULL,'','',0,'','','',''),(118,0,0,67,'2248214449','h3x02r','2009-01-06',1231201829,0,0,0,'','on','',NULL,'','',0,'','','',''),(119,0,0,68,'2248787011','j5zc','2009-01-06',1231251992,0,0,0,'','on','',NULL,'','',0,'','','',''),(120,0,0,42,'2257917180','298i5r','2009-01-13',1231819630,0,0,0,'','on','',NULL,'','',0,'','','',''),(121,0,0,21,'2258876971','ozljk5','2009-01-13',1231877635,0,0,0,'','','',NULL,'','',0,'','','',''),(122,0,0,70,'0','0j1v0','2009-01-30',1233339284,0,0,1,'','on','',NULL,'','',1,'','','',''),(123,0,0,71,'2282213003','urxksc','2009-01-30',1233341970,0,0,1,'','','',NULL,'','',1,'','','',''),(124,0,0,72,'2282249022','vx441','2009-01-30',1233342925,0,0,1,'','on','',NULL,'','',1,'','','',''),(125,0,0,63,'2285932753','zurtun','2009-02-02',1233596460,0,0,1,'','on','',NULL,'','',1,'','','',''),(126,0,0,63,'2285975549','4lhhu','2009-02-02',1233597305,0,0,1,'','','',NULL,'','',0,'','','',''),(127,0,0,73,'2310994266','wxzolx','2009-02-19',1235056993,0,0,0,'','on','',NULL,'','',1,'','','',''),(128,0,0,74,'2315051588','dyk50q','2009-02-22',1235331766,0,0,0,'','on','',NULL,'','',1,'','','',''),(129,0,0,75,'2316661502','91rs5e','2009-02-23',1235423624,0,0,0,'','on','',NULL,'','',0,'','','',''),(130,0,0,76,'2321990294','hh9qu7','2009-02-27',1235717652,0,0,0,'','on','',NULL,'','',0,'','','',''),(131,0,0,23,'2325929064','wcv54g','2009-03-02',1235968476,0,0,0,'','','',NULL,'','',0,'','','',''),(132,0,0,78,'2333557045','d1ipgg','2009-03-06',1236357845,0,0,1,'','','',NULL,'','',0,'','','',''),(133,0,0,78,'2333722370','3sgioa','2009-03-06',1236362109,0,0,1,'','','',NULL,'','',0,'','','',''),(134,0,0,79,'2355416790','gx62e2','2009-03-22',1237740150,0,0,0,'','on','',NULL,'angel','',0,'','','',''),(135,0,0,45,'2373735029','ea1nk2','2009-04-03',1238773465,0,0,0,'','on','',NULL,'','',0,'','','',''),(136,0,0,75,'2376124395','wvvmu9','2009-04-05',1238959201,0,0,0,'','','',NULL,'','',0,'','','',''),(142,0,0,78,'2380686988','x1psji','2009-04-08',1239209253,0,0,1,'','','',NULL,'','',0,'','CAL2456-2121142-23','Bapr12312','Wholesale'),(143,0,0,78,'2380740289','j4xue4','2009-04-08',1239211016,0,0,1,'','on','',NULL,'','',0,'','3423232232','23232365456','Wholesale'),(144,0,0,78,'2380770438','bmgaah','2009-04-08',1239212010,0,0,1,'','on','',NULL,'','',0,'','','','Retail'),(145,0,0,82,'0','1qh7ec','2009-04-08',1239214938,0,0,1,'','on','',NULL,'KimTanner','',0,'','','','Retail'),(146,0,0,78,'2380901159','dqczss','2009-04-08',1239216369,0,0,1,'','on','',NULL,'KimTanner','',0,'','76867867','B564535','Wholesale'),(147,0,0,82,'0','75vl1y','2009-04-08',1239216379,0,0,1,'','on','',NULL,'KimTanner','',0,'','2222','333333','Wholesale'),(148,0,0,82,'0','edxiuk','2009-04-08',1239216929,0,0,1,'','on','',NULL,'KimTanner','',0,'','22222','333333333','Wholesale'),(149,0,0,82,'0','nqz5e','2009-04-08',1239217311,0,0,1,'','','',NULL,'KimTanner','',0,'','222222','333333333','Wholesale'),(150,0,0,63,'0','t5elxv','2009-04-08',1239219990,0,0,1,'','on','',NULL,'KimTanner','',0,'','','','Retail'),(151,0,0,78,'0','px3sus','2009-04-08',1239222452,0,0,1,'','','',NULL,'KimTanner','',0,'','','','Retail'),(152,0,0,78,'0','mgr3w8','2009-04-08',1239222766,0,0,1,'','on','',NULL,'KimTanner','',0,'','','','Retail'),(153,0,0,82,'0','hbnhi0','2009-04-09',1239238831,0,0,1,'','','',NULL,'KimTanner','',0,'','','','Retail'),(154,0,0,82,'0','u47ub1','2009-04-09',1239239019,0,0,1,'','on','',NULL,'KimTanner','',0,'','','','Retail'),(155,0,0,78,'','mcu6ye','2009-04-09',1239240583,0,0,1,'','on','',NULL,'KimTanner','',0,'','','','Retail'),(156,0,0,84,'2392451113','8kgq95','2009-04-16',1239911515,0,0,0,'','on','',NULL,'','',0,'','','',''),(157,0,0,86,'2398756747','9hfovu','2009-04-21',1240324738,0,0,0,'','','',NULL,'K2Tannr','',0,'','885916494RT0001','0001','Wholesale'),(158,0,0,87,'2416591992','6768pt','2009-05-03',1241310466,0,0,0,'','on','',NULL,'','',0,'','','',''),(159,0,0,23,'2439109298','8bxrlt','2009-05-19',1242691212,0,0,0,'','on','',NULL,'','',0,'','','',''),(160,0,0,23,'2471534171','828dsn','2009-06-10',1244657277,0,0,0,'','on','',NULL,'','',0,'','','',''),(161,0,0,88,'2506205096','01y48','2009-07-06',1246891664,0,0,0,'','','',NULL,'','',0,'','','',''),(162,0,0,89,'2539553923','hjvjkz','2009-07-30',1248914721,0,0,0,'','on','',NULL,'','',0,'','','',''),(163,0,0,90,'2564529493','1e8odh','2009-08-16',1250447448,0,0,0,'','','',NULL,'','',0,'','','',''),(164,0,0,23,'2600909600','kae3m','2009-09-10',1252593681,0,0,0,'','on','',NULL,'','',0,'','','',''),(165,0,0,91,'2656876622','hcmu67','2009-10-15',1255622138,0,0,0,'','on','',NULL,'','',0,'','','',''),(166,0,0,23,'2661492000','696nlv','2009-10-19',1255930918,0,0,0,'','on','',NULL,'','',0,'','','',''),(167,0,0,90,'2693668154','im9hu2','2009-11-08',1257703668,0,0,0,'','','',NULL,'','',0,'','','',''),(168,0,0,23,'2723301334','t2y9o','2009-11-29',1259483801,0,0,0,'','on','',NULL,'','',0,'','','',''),(169,0,0,91,'2735790949','hp5tv1','2009-12-05',1260039736,0,0,0,'','on','',NULL,'','',1,'','','',''),(170,0,0,90,'2744065159','s682p','2009-12-10',1260461918,0,0,0,'','','',NULL,'','',0,'','','',''),(171,0,0,23,'2744549828','d8b7nz','2009-12-10',1260473472,0,0,0,'','on','',NULL,'','',0,'','','',''),(172,0,0,23,'2744552178','x9fsvj','2009-12-10',1260473533,0,0,0,'','on','',NULL,'','',0,'','','',''),(173,0,0,92,'2800596936','at32km','2010-01-16',1263601505,0,0,0,'','on','',NULL,'','',0,'','','',''),(174,0,0,93,'2848086099','8hqfj9','2010-02-16',1266291939,0,0,0,'','on','',NULL,'','',0,'','','',''),(175,0,0,94,'2925522023','v48got','2010-04-05',1270493208,0,0,0,'','on','',NULL,'','',0,'','','',''),(176,0,0,95,'2972264969','h66qno','2010-05-04',1272983314,0,0,0,'','on','',NULL,'','',0,'','','',''),(177,0,0,94,'3010736663','x1hu','2010-05-28',1275062065,0,0,0,'','on','',NULL,'','',0,'','','',''),(178,0,0,97,'3021890934','jzp103','2010-06-04',1275675611,0,0,0,'','on','',NULL,'','',0,'','','',''),(179,0,0,97,'3128034075','98b1j3','2010-08-11',1281537587,0,0,0,'','','',NULL,'','',0,'','','',''),(180,0,0,98,'3145707596','h874co','2010-08-22',1282503557,0,0,0,'','on','',NULL,'','',1,'','','',''),(181,0,0,99,'3145775973','msr1nl','2010-08-22',1282508054,0,0,0,'','on','',NULL,'','',0,'','','',''),(182,0,0,94,'3198841645','85bn4o','2010-09-23',1285201523,0,0,0,'','on','',NULL,'','',0,'','','',''),(183,0,0,101,'3226518093','su577g','2010-10-08',1286565511,0,0,0,'','','',NULL,'','',0,'','','',''),(184,0,0,94,'3281031793','t42u1','2010-11-09',1289333397,0,0,0,'','on','',NULL,'','',0,'','','',''),(185,0,0,98,'3281229641','7ohw0x','2010-11-09',1289338681,0,0,0,'','','',NULL,'','',1,'','','',''),(186,0,0,103,'3281628230','ugz4v','2010-11-10',1289353680,0,0,0,'','','',NULL,'','',0,'','','',''),(187,0,0,99,'3292266921','oimewa','2010-11-16',1289880786,0,0,0,'','','',NULL,'','',0,'','','',''),(188,0,0,58,'3296144341','2pwg68','2010-11-18',1290041448,0,0,0,'','on','',NULL,'','',0,'','','',''),(189,0,0,105,'3308736031','31drz2','2010-11-25',1290700609,0,0,0,'','on','',NULL,'','',0,'','','',''),(190,0,0,94,'3348023713','nd26yx','2010-12-15',1292385016,0,0,0,'','on','',NULL,'','',0,'','','',''),(191,0,0,97,'3398785480','myy0j9','2011-01-13',1294928210,0,0,0,'','on','',NULL,'','',0,'','','',''),(192,0,0,108,'3414064755','mcvbpb','2011-01-21',1295639013,0,0,0,'','on','',NULL,'','',0,'','','',''),(193,0,0,109,'3418547987','yu298d','2011-01-24',1295903103,0,0,0,'','on','',NULL,'markt','',0,'','','',''),(194,0,0,110,'3429286329','557vxm','2011-01-31',1296440963,0,0,0,'','on','',NULL,'','',0,'','','',''),(195,0,0,94,'3430501195','czltdk','2011-01-31',1296499530,0,0,0,'','on','',NULL,'','',0,'','','',''),(196,0,0,98,'3434964716','lwna0l','2011-02-02',1296660999,0,0,0,'','','',NULL,'','',0,'','','',''),(197,0,0,112,'3434998409','0glbew','2011-02-02',1296661963,0,0,0,'','on','',NULL,'','',0,'','','',''),(198,0,0,113,'3440063688','bamcrn','2011-02-04',1296857190,0,0,0,'','on','',NULL,'','',0,'','','',''),(199,0,0,114,'3478004763','asovg2','2011-02-25',1298655944,0,0,0,'','on','',NULL,'','',0,'','','',''),(200,0,0,109,'3523789433','pxnl4u','2011-03-21',1300722861,0,0,0,'','','',NULL,'markt','',0,'','','',''),(201,0,0,97,'3532272716','mifdu','2011-03-25',1301071867,0,0,0,'','on','',NULL,'','',0,'','','',''),(202,0,0,115,'3539230589','bf0rlm','2011-03-29',1301421586,0,0,0,'','','',NULL,'','',0,'','','',''),(203,0,0,114,'3543427456','ua94b','2011-03-31',1301597270,0,0,0,'','on','',NULL,'','',0,'','','',''),(204,0,0,117,'3594544542','9cuw53','2011-04-27',1303937835,0,0,0,'','','',NULL,'','',0,'','','',''),(205,0,0,108,'3596764697','ax0u37','2011-04-28',1304029234,0,0,0,'','on','',NULL,'','',0,'','','',''),(206,0,0,94,'3604121312','db6p4w','2011-05-02',1304368809,0,0,0,'','on','',NULL,'','',0,'','','',''),(207,0,0,110,'3604962362','txeqcd','2011-05-03',1304404911,0,0,0,'','','',NULL,'','',0,'','','',''),(208,0,0,120,'3628432161','rmsotj','2011-05-15',1305489747,0,0,0,'','on','',NULL,'','',1,'','','',''),(209,0,0,97,'3643934759','21tbg1','2011-05-24',1306201070,0,0,0,'','on','',NULL,'','',0,'','','',''),(210,0,0,108,'3724823208','cvpjz1','2011-07-06',1309981266,0,0,0,'','on','',NULL,'','',0,'','','',''),(211,0,0,94,'3741883351','8i5m7p','2011-07-15',1310758226,0,0,0,'','on','',NULL,'','',0,'','','',''),(212,0,0,122,'3746526806','ajg68','2011-07-18',1311022053,0,0,0,'','on','',NULL,'','',0,'','','',''),(213,0,0,58,'3751901301','02v72','2011-07-21',1311258405,0,0,0,'','on','',NULL,'','',0,'','','',''),(214,0,0,103,'3752957182','wz171g','2011-07-21',1311286594,0,0,0,'','on','',NULL,'','',0,'','','',''),(215,0,0,113,'3752996777','dl3108','2011-07-21',1311288065,0,0,0,'','on','',NULL,'','',0,'','','',''),(216,0,0,124,'3765675745','zcojud','2011-07-28',1311891347,0,0,0,'','on','',NULL,'','',0,'','','',''),(217,0,0,63,'3805947121','r2ay1q','2011-08-18',1313701159,0,0,0,'','','',NULL,'','',0,'','','',''),(218,0,0,126,'3819402914','lwguxo','2011-08-25',1314312362,0,0,0,'','on','',NULL,'','',0,'','','',''),(219,0,0,127,'3851096577','dlsd7k','2011-09-11',1315777021,0,0,0,'','on','',NULL,'','',0,'','','',''),(220,0,0,97,'3852478808','inturq','2011-09-12',1315846035,0,0,0,'','on','',NULL,'','',0,'','','',''),(221,0,0,94,'3860397861','e719c','2011-09-15',1316128692,0,0,0,'','on','',NULL,'','',0,'','','',''),(222,0,0,108,'3880352344','fzu54u','2011-09-26',1317064167,0,0,0,'','on','',NULL,'','',0,'','','',''),(223,0,0,129,'3907362716','q71og1','2011-10-09',1318200685,0,0,0,'','on','',NULL,'Bellini','',0,'','','',''),(224,0,0,94,'3918386489','qmiz5c','2011-10-14',1318635904,0,0,0,'','on','',NULL,'','',0,'','','',''),(225,0,0,130,'3952767910','sd7059','2011-11-01',1320170305,0,0,0,'','on','',NULL,'','',0,'','','',''),(226,0,0,131,'3975827135','r1sp1i','2011-11-12',1321122214,0,0,0,'','on','',NULL,'','',0,'','','','');

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `ID` int(10) NOT NULL AUTO_INCREMENT,
  `orders_ID` varchar(6) NOT NULL DEFAULT '0',
  `items_ID` int(10) NOT NULL DEFAULT '0',
  `prodName` varchar(70) NOT NULL DEFAULT '',
  `unit_price` varchar(10) NOT NULL DEFAULT '',
  `qty` smallint(6) NOT NULL DEFAULT '0',
  `color` varchar(30) NOT NULL DEFAULT '',
  `size` varchar(20) NOT NULL DEFAULT '',
  `express_del` varchar(6) NOT NULL DEFAULT '',
  PRIMARY KEY (`ID`),
  KEY `orders_ID` (`orders_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=270 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `orders`
--

INSERT INTO `orders` VALUES (1,'mcyajx',2,'','100.00',1,'','',''),(2,'mhy01',1,'','22.00',1,'','',''),(86,'c9q5jl',4,'','98.00',1,'','',''),(85,'jhw0d0',1,'','20.00',1,'','',''),(49,'0xbdss',3,'','0.00',12,'','',''),(84,'jhw0d0',4,'','98.00',1,'','',''),(83,'jhw0d0',3,'','0.00',1,'','',''),(82,'mz1d62',3,'','0.00',2,'','',''),(81,'soqh5',3,'','0.00',2,'','',''),(80,'cqylk5',4,'','98.00',1,'','',''),(76,'2d5qku',1,'','15.00',1,'','',''),(79,'vw8au',1,'','15.00',1,'','',''),(78,'c4vvc8',4,'','98.00',1,'','',''),(77,'2d5qku',4,'','98.00',2,'','',''),(75,'7ozyjx',3,'','0.00',1,'','',''),(74,'z4uh89',6,'','55.00',1,'','',''),(73,'z4uh89',5,'','60.00',2,'','',''),(72,'hr9om1',3,'','0.00',1,'','',''),(71,'vo7drp',4,'','98.00',1,'','',''),(70,'zjswak',3,'','0.00',1,'','',''),(69,'e33h82',3,'','0.00',1,'','',''),(68,'l1h18w',3,'','0.00',1,'','',''),(67,'l1h18w',1,'','15.00',1,'','',''),(66,'jj98oo',4,'','98.00',1,'','',''),(65,'kpd2xv',1,'','15.00',1,'','',''),(64,'d8bw6z',1,'','15.00',1,'','',''),(63,'d8bw6z',3,'','0.00',1,'','',''),(62,'fuyqy6',3,'','0.00',1,'','',''),(61,'dizdz9',4,'','98.00',1,'','',''),(60,'3q26ew',5,'','60.00',1,'','',''),(59,'bv7sw9',3,'','0.00',1,'','',''),(58,'rghtgf',1,'','15.00',1,'','',''),(57,'rghtgf',3,'','0.00',1,'','',''),(56,'so9muz',6,'','55.00',1,'','',''),(55,'vdlj6d',3,'','0.00',1,'','',''),(54,'4e2ys7',4,'','98.00',1,'','',''),(53,'t41g8f',5,'','60.00',1,'','',''),(52,'39x8tm',3,'','0.00',1,'','',''),(51,'8v1na5',12,'','98.00',1,'','',''),(50,'87kyrw',4,'','98.00',1,'','',''),(48,'bwyihe',1,'','15.00',3,'','',''),(87,'uafmll',20,'','98.00',1,'','',''),(88,'uafmll',3,'','0.00',1,'','',''),(89,'bn2nk',3,'','0.00',1,'','',''),(90,'bn2nk',1,'','20.00',1,'','',''),(91,'tqen',3,'','0.00',1,'','',''),(92,'3asfvn',3,'','0.00',1,'','',''),(93,'0zuhrj',3,'','0.00',1,'','',''),(94,'2kzmdc',1,'','20.00',3,'','',''),(95,'8oxjc',4,'','98.00',1,'','',''),(96,'g83x1',1,'','20.00',1,'','',''),(97,'59508b',4,'','98.00',1,'','',''),(98,'m3c4ev',3,'','0.00',1,'','',''),(99,'0f520t',3,'','0.00',1,'','',''),(100,'cr1mog',3,'','0.00',1,'','',''),(101,'cr1mog',4,'','98.00',1,'','',''),(102,'48r6nq',3,'','0.00',1,'','',''),(103,'6disgw',3,'','0.00',1,'','',''),(104,'w5kzsw',3,'','0.00',1,'','',''),(105,'whhw5s',3,'','0.00',1,'','',''),(106,'sxbtnh',3,'','0.00',1,'','',''),(107,'ifcxw',4,'','105.00',1,'','',''),(108,'9cnx75',3,'','0.00',1,'','',''),(109,'a7id28',4,'','105.00',1,'','',''),(110,'hmwspn',3,'','0.00',1,'','',''),(111,'cllslj',3,'','0.00',2,'','',''),(112,'sioeje',1,'','20.00',8,'','',''),(113,'sioeje',5,'','60.00',2,'','',''),(114,'sioeje',6,'','55.00',2,'','',''),(115,'hewfo',4,'','105.00',1,'','',''),(116,'tk8bju',3,'','0.00',1,'','',''),(117,'ii79do',3,'','0.00',1,'','',''),(118,'0yh554',4,'','105.00',1,'','',''),(119,'dtxke7',6,'','55.00',2,'','',''),(120,'mmhws',3,'','0.00',1,'','',''),(121,'e9u6cx',3,'','0.00',1,'','',''),(122,'hn2red',3,'','0.00',1,'','',''),(123,'h3x02r',3,'','0.00',1,'','',''),(124,'j5zc',3,'','0.00',1,'','',''),(125,'298i5r',6,'','55.00',1,'','',''),(126,'ozljk5',5,'','60.00',1,'','',''),(127,'ozljk5',4,'','105.00',1,'','',''),(128,'0j1v0',5,'','60.00',1,'','',''),(129,'urxksc',6,'','55.00',1,'','',''),(130,'urxksc',5,'','60.00',1,'','',''),(131,'urxksc',4,'','105.00',1,'','',''),(132,'vx441',4,'','105.00',1,'','',''),(133,'zurtun',6,'','55.00',1,'','',''),(134,'4lhhu',5,'','60.00',1,'','',''),(135,'wxzolx',1,'','20.00',1,'','',''),(136,'dyk50q',4,'','105.00',1,'','',''),(137,'91rs5e',1,'','20.00',1,'','',''),(138,'hh9qu7',1,'','20.00',1,'','',''),(139,'wcv54g',4,'','105.00',1,'','',''),(140,'d1ipgg',36,'','1.00',1,'','',''),(141,'3sgioa',36,'','1.00',1,'','',''),(142,'gx62e2',4,'','105.00',1,'','',''),(143,'ea1nk2',4,'','105.00',1,'','',''),(144,'wvvmu9',6,'','55.00',1,'','',''),(145,'wvvmu9',1,'','20.00',8,'','',''),(159,'j4xue4',0,'Anti-aging Serum','30.00',40,'','',''),(158,'x1psji',0,'Rejuvenating Eye Patches','10.00',10,'','',''),(157,'x1psji',0,'Rejuvenating Moisture Cream','27.50',5,'','',''),(156,'x1psji',0,'Anti-aging Serum','30.00',3,'','',''),(160,'j4xue4',0,'Rejuvenating Moisture Cream','27.50',60,'','',''),(161,'j4xue4',0,'Rejuvenating Eye Patches','10.00',100,'','',''),(162,'bmgaah',0,'Anti-aging Serum','60.00',1,'','',''),(163,'bmgaah',0,'Rejuvenating Moisture Cream','55.00',1,'','',''),(164,'bmgaah',0,'Rejuvenating Eye Patches','20.00',1,'','',''),(165,'1qh7ec',0,'Anti-aging Serum','60.00',1,'','',''),(166,'1qh7ec',0,'Rejuvenating Moisture Cream','55.00',2,'','',''),(167,'dqczss',0,'Anti-aging Serum','30.00',6,'','',''),(168,'dqczss',0,'Rejuvenating Moisture Cream','27.50',8,'','',''),(169,'dqczss',0,'Rejuvenating Eye Patches','10.00',50,'','',''),(170,'75vl1y',0,'Anti-aging Serum','30.00',2,'','',''),(171,'edxiuk',0,'Anti-aging Serum','30.00',1,'','',''),(172,'edxiuk',0,'Rejuvenating Moisture Cream','27.50',2,'','',''),(173,'nqz5e',0,'Anti-aging Serum','30.00',1,'','',''),(174,'nqz5e',0,'Rejuvenating Moisture Cream','27.50',2,'','',''),(175,'t5elxv',0,'Anti-aging Serum','60.00',1,'','',''),(176,'px3sus',0,'Anti-aging Serum','60.00',2,'','',''),(177,'px3sus',0,'Rejuvenating Moisture Cream','55.00',5,'','',''),(178,'px3sus',0,'Rejuvenating Eye Patches','20.00',8,'','',''),(179,'mgr3w8',0,'Anti-aging Serum','60.00',1,'','',''),(180,'mgr3w8',0,'Rejuvenating Moisture Cream','55.00',1,'','',''),(181,'mgr3w8',0,'Rejuvenating Eye Patches','20.00',1,'','',''),(182,'hbnhi0',0,'Anti-aging Serum','60.00',1,'','',''),(183,'u47ub1',0,'Anti-aging Serum','60.00',1,'','',''),(184,'mcu6ye',0,'Anti-aging Serum','60.00',1,'','',''),(185,'mcu6ye',0,'Rejuvenating Moisture Cream','55.00',1,'','',''),(186,'mcu6ye',0,'Rejuvenating Eye Patches','20.00',1,'','',''),(187,'8kgq95',36,'','1.00',1,'','',''),(188,'9hfovu',0,'Anti-aging Serum','30.00',24,'','',''),(189,'9hfovu',0,'Rejuvenating Moisture Cream','27.50',24,'','',''),(190,'6768pt',1,'','20.00',2,'','',''),(191,'8bxrlt',38,'','105.00',1,'','',''),(192,'828dsn',13,'','33.00',1,'','',''),(193,'01y48',6,'','55.00',1,'','',''),(194,'01y48',2,'','20.00',3,'','',''),(195,'01y48',1,'','20.00',2,'','',''),(196,'hjvjkz',4,'','105.00',1,'','',''),(197,'1e8odh',5,'','60.00',1,'','',''),(198,'kae3m',5,'','60.00',1,'','',''),(199,'kae3m',6,'','55.00',1,'','',''),(200,'hcmu67',5,'','60.00',1,'','',''),(201,'696nlv',5,'','60.00',1,'','',''),(202,'im9hu2',4,'','105.00',1,'','',''),(203,'t2y9o',5,'','60.00',1,'','',''),(204,'t2y9o',6,'','55.00',1,'','',''),(205,'hp5tv1',5,'','60.00',1,'','',''),(206,'s682p',44,'','60.00',1,'','',''),(207,'s682p',45,'','55.00',1,'','',''),(208,'d8b7nz',44,'','60.00',1,'','',''),(209,'x9fsvj',45,'','55.00',1,'','',''),(210,'at32km',2,'','30.00',1,'','',''),(211,'8hqfj9',4,'','105.00',1,'','',''),(212,'v48got',4,'','105.00',1,'','',''),(213,'h66qno',6,'','55.00',1,'','',''),(214,'x1hu',4,'','105.00',1,'','',''),(215,'jzp103',4,'','105.00',1,'','',''),(216,'98b1j3',4,'','105.00',1,'','',''),(217,'h874co',4,'','105.00',1,'','',''),(218,'msr1nl',5,'','60.00',1,'','',''),(219,'msr1nl',6,'','55.00',1,'','',''),(220,'85bn4o',4,'','105.00',1,'','',''),(221,'su577g',4,'','105.00',1,'','',''),(222,'t42u1',47,'','69.00',2,'','',''),(223,'7ohw0x',47,'','69.00',2,'','',''),(224,'ugz4v',47,'','69.00',1,'','',''),(225,'oimewa',5,'','60.00',1,'','',''),(226,'oimewa',6,'','55.00',1,'','',''),(227,'2pwg68',2,'','30.00',4,'','',''),(228,'31drz2',48,'','85.00',2,'','',''),(229,'nd26yx',4,'','105.00',1,'','',''),(230,'myy0j9',6,'','55.00',1,'','',''),(231,'mcvbpb',4,'','105.00',1,'','',''),(232,'yu298d',30,'','85.00',1,'','',''),(233,'557vxm',49,'','90.00',1,'','',''),(234,'czltdk',49,'','90.00',1,'','',''),(235,'lwna0l',49,'','90.00',1,'','',''),(236,'0glbew',49,'','90.00',1,'','',''),(237,'bamcrn',49,'','90.00',1,'','',''),(238,'asovg2',2,'','30.00',1,'','',''),(239,'asovg2',5,'','60.00',1,'','',''),(240,'pxnl4u',30,'','103.50',2,'','',''),(241,'mifdu',6,'','55.00',1,'','',''),(242,'bf0rlm',2,'','30.00',3,'','',''),(243,'ua94b',41,'','92.00',3,'','',''),(244,'9cuw53',5,'','60.00',1,'','',''),(245,'ax0u37',4,'','110.00',1,'','',''),(246,'db6p4w',41,'','92.00',2,'','',''),(247,'txeqcd',41,'','92.00',1,'','',''),(248,'rmsotj',5,'','60.00',1,'','',''),(249,'21tbg1',4,'','110.00',1,'','',''),(250,'cvpjz1',4,'','110.00',1,'','',''),(251,'8i5m7p',50,'','92.00',2,'','',''),(252,'ajg68',50,'','92.00',1,'','',''),(253,'02v72',50,'','92.00',2,'','',''),(254,'02v72',2,'','30.00',5,'','',''),(255,'wz171g',50,'','92.00',1,'','',''),(256,'dl3108',50,'','92.00',1,'','',''),(257,'zcojud',4,'','110.00',1,'','',''),(258,'r2ay1q',54,'','19.00',1,'','',''),(259,'lwguxo',55,'','228.00',1,'','',''),(260,'dlsd7k',5,'','60.00',1,'','',''),(261,'dlsd7k',6,'','55.00',1,'','',''),(262,'dlsd7k',4,'','110.00',1,'','',''),(263,'inturq',6,'','55.00',1,'','',''),(264,'e719c',4,'','110.00',1,'','',''),(265,'fzu54u',6,'','55.00',1,'','',''),(266,'q71og1',30,'','103.50',1,'','',''),(267,'qmiz5c',4,'','110.00',1,'','',''),(268,'sd7059',55,'','228.00',1,'','',''),(269,'r1sp1i',54,'','19.00',3,'','','');

--
-- Table structure for table `pages_2`
--

CREATE TABLE `pages_2` (
  `page_id` int(8) NOT NULL AUTO_INCREMENT,
  `cat_id` int(8) NOT NULL DEFAULT '0',
  `type` varchar(6) NOT NULL DEFAULT '',
  `subcategory_id` int(8) NOT NULL DEFAULT '0',
  `page_title` varchar(200) NOT NULL DEFAULT '',
  `nav_name` varchar(100) NOT NULL DEFAULT '',
  `leftnav` varchar(50) NOT NULL DEFAULT '',
  `page_description` text NOT NULL,
  `page_content` text NOT NULL,
  `text_type` varchar(5) NOT NULL DEFAULT '',
  `header_include` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`page_id`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `pages_2`
--

INSERT INTO `pages_2` VALUES (1,1,'',0,'Young Essential Skincare - Just say YES! | Beverly Hills, CA 90210','index','','Y.E.S. Young Essential Skincare Products. Reduce wrinkles from around the eyes. Reduce puffiness around the eyes. Get rid of crows feet. Anti-Aging Eye Care. Chitosan Skin Care products. Beverly Hills Skin Care Secrets.','<div id=\"fullcontent\">\r\n\r\n<div align=\"center\"><br />\r\n<span class=\"emksp_sm\">Coming soon!</span><br />\r\n<p><img src=\"/images/redboababe.jpg\" />\r\n<br />\r\n<span class=\"emksp_biggest\">Just say . . . . . </span><span class=\"emky_biggest\">y</span><span class=\"emkr_biggest\">.e.s!</span>\r\n<br /><br />\r\n</div>\r\n</div>','html',''),(3,3,'',0,'Young Essential Skincare - Just say YES! | Beverly Hills, CA 90210','news','','Information about Chitosan skin care products. Information about Y.E.S. Young Essential Skincare products and the Beverly Hills stars who use it!','<div id=\"fullcontent\">\r\n<div class=\"splitcontentleft\">\r\n<div align=\"center\">\r\n<h2><br />\r\nDon\'t hide those eyes!</h2>\r\n<img alt=\"Les Nouvelles Esthetiques - Eye Patch product placement\" src=\"../images/news-imgs/yes-les-nouvelles.jpg\" /><br />\r\n<br />\r\n<img alt=\"Pharmacy Post - Eye Patch mention\" src=\"../images/news-imgs/PharmPost-jan07.jpg\" /><br />\r\n</div>\r\n</div>\r\n<div class=\"splitcontentright\">\r\n<p>\r\n<br />\r\n<br />\r\n<br />\r\n<strong>Press Inquiries</strong><br />\r\nPlease contact:<br />\r\n<br />\r\nLinda Eastwood<br />\r\nYoung Essential Skincare, Inc.<br />\r\n269 South Beverly Drive, Suite 1171<br />\r\nBeverly Hills, CA 90212<br />\r\n<br />\r\nPhone: 949.496.9600<br />\r\nFax: 949.240.9208<br />\r\nEmail: linda@yesskincare.com\r\n</p>\r\n<p>\r\n \r\n</p>\r\n<p>\r\n \r\n</p>\r\n<img alt=\"Prom Magazine - Eye Patch Ideas\" src=\"../images/news-imgs/Teen-Prom-Cover07.jpg\" />\r\n</div>\r\n<div id=\"fullcontent\">\r\n<p>\r\n \r\n</p>\r\n</div>\r\n</div>\r\n','html',''),(2,2,'',0,'Young Essential Skincare - Products featuring Chitosan','products','','Young Essential Skincare. Chitosan skincare products. Reduce wrinkles around eyes, rejuvenate eyes, reduce puffiness under eyes.','<div id=\"fullcontent\">\r\n\r\n<div class=\"splitcontentleft\">\r\n<p><center><span class=\"emksp_big\">Just say . . . . . </span><span class=\"emky_biggest\">y</span><span class=\"emkr_biggest\">.e.s!</span>\r\n<br/><br /><span class=\"emksp_sm\">...to our revolutionary new<br />          anti-aging eye patches!</span></center></p>\r\n\r\n<p><center>\r\n<img src=\"/images/YesIndividualBox_sm.jpg\" alt=\"YES, revolutionary antiaging eye treatment\" /><h3>\r\nA quick fix to look great for business meetings, special occasions, post air travel, fatigue, etc. </h3>\r\n\r\n<br /><span class=\"emksp_big\">y</span><b>.e.s! Eye Patches</b> dramatically increase the moisture, elasticity and firmness by preventing dehydration. Our unique eye treatment patches dissolve into your skin and so will the wrinkles around the eyes!  In addition, its natural lightening agent will reduce the appearance of dark circles and puffiness under the eye.<br /><a href=\"/products/antiaging-eye-treatment.php\" class=\"buy\" title=\"Learn more about anti-aging Eye Patch treaments\" />Click here for more information about our Eye Patch treatments.</a>\r\n</center></p>\r\n\r\n</div>\r\n\r\n<div class=\"splitcontentright\">\r\n\r\n<p>\r\n<h3>Transform the appearance around your eyes and remove signs of aging and fatigue!</h3><center>\r\nCrow’s feet, wrinkles and puffiness diminish for an illuminated, bright appearance as they firm and<br />restore the delicate eye area.  Achieve tighter, softer,<br />visibly younger skin with this natural secret.<br />\r\n<b>You will see the difference right away!</b>\r\n<br/><br/><img src=\"/images/relaxed2.jpg\" /><br /></center>\r\n</p>\r\n\r\n\r\n\r\n<div class=\"buybox\"><a href=\"http://www.yesskincare.com/cart/cart.php?prod=1\" title=\"Buy Y.E.S. anti-aging eye patches here\" /><img src=\"/images/yes_button.jpg\" alt=\"younger looking eyes\" align=\"left\" border=\"0\" /></a><b>Single Pack</b> - $22.00 each (2 pair/pk)<br /><a href=\"http://www.yesskincare.com/cart/cart.php?prod=1\" class=\"buy\" title=\"buy Y.E.S. anti-aging eye patches here\" />Buy Now</a><br /></div>\r\n\r\n<div class=\"buybox\"><a href=\"http://www.yesskincare.com/cart/cart.php?prod=2\" class=\"buy\" title=\"Save money and buy the Y.E.S. anti-aging eye patches 5-pack\"/><img src=\"/images/yes_saver.jpg\" align=\"left\" border=\"0\" /></a>\r\n<b><br />5 Pack Saver Kit</b> - $100.00<br /><a href=\"http://www.yesskincare.com/cart/cart.php?prod=2\" class=\"buy\" title=\"Save money and buy the Y.E.S. anti-aging eye patches 5-pack\" />Buy Now</a>\r\n<br /></div>\r\n\r\n<p><center>\r\nFor treating wrinkles, use 2 to 3 times a week<br />after cleansing. 2 pair per package.</center></p>\r\n</div>\r\n\r\n</div>\r\n\r\n<div id=\"fullcontent\">\r\n<center>\r\n</center>\r\n</div>','html',''),(4,4,'',0,'Y.E.S. Young Essential Skincare - Testimonials about Chitosan Skincare products','testimonials','','Hear what people are saying about Y.E.S. Young Essential Skincare and Chitosan Skin Care Products.','<div id=\"fullcontent\">\r\n\r\n<div class=\"splitcontentleft\">\r\n<center><h2><br />Don\'t hide those eyes!</h2>\r\n<img src=\"/images/red_feathers.jpg\" /></center>\r\n</div>\r\n\r\n<div class=\"splitcontentright\">\r\n\r\n<p><br /><br /><br /><br />\r\n\r\n<span class=\"emksp_big\">Just say . . . . . </span><span class=\"emky_big\">y</span><span class=\"emkr_big\">.e.s!</span></p>\r\n<img src=\"/images/relaxed.jpg\" /><br />Testimonials are on their way!\r\n</div>\r\n</div>\r\n\r\n<div id=\"fullcontent\">\r\n<p><center><span class=\"emksp_sm\"><br />Get glowing with our \"new\"  </span><span class=\"emky_sm\">y</span><span class=\"emkr_sm\">.e.s.</span><span class=\"emksp_sm\"> Young Essential Skincare<sup>®</sup> Eye Patches!<br />Coming soon to a store near you.</span>\r\n</center></p>\r\n</div>','html',''),(5,5,'',0,'Y.E.S. Young Essential Skincare','contact','','Contact the manufacturing company for Young Essential Skincare products - Mila Products, LLC. Beverly Hills Skincare. Improving the health of your skin and reducing the signs of aging skin!','<div id=\"fullcontact\">\r\n\r\n\r\n<center><h2><br />CONTACT US</h2>\r\n<br />\r\n\r\n<span class=\"emky_sm\">y</span><span class=\"emkr_sm\">.e.s.</span><span class=\"emksp_sm\"> Young Essential Skincare<sup>®</sup></span>\r\n<br /><br /><br /></center>\r\n\r\n\r\n<p><center>\r\n<b>Corporate Contact: Y.e.s Inc.</b><br />\r\nLinda Eastwood<br />\r\nPhone: 949.240.1231<br />\r\nEmail: <a href=\"mailto:info@yesskincare.com\" />\r\ninfo@yesskincare.com</a><br />\r\n</p>\r\n</div>\r\n\r\n<!-- hide\r\n<div class=\"splitcontentright\">\r\n<p><b>Press Inquiries:</b><br /><br />\r\nRonit Menashe, Executive VP<br />\r\nGuttman Associates<br />\r\n118 South Beverly Drive, Suite 201<br />\r\nBeverly Hills, CA 90212<br />\r\n<br />\r\nPhone: 310.246.4601<br />\r\nFax: 310. 246.4601<br />\r\nEmail: <a href=\"mailto:RoMenashe@aol.com\" />RoMenashe@aol.com</a>\r\n<br />\r\n</center></p>\r\n</div>\r\n-->\r\n<div id=\"fullcontent\">\r\n<p><center>\r\nDistributor opportunities may exist in your area.<br /> \r\nIf you have an interest in selling Y.E.S. products at your location, please use the form below. <br /><br /></center>\r\nA representative will contact you at our earliest opportunity.</center></p>\r\n<br /><br />\r\n<!-- begin Digital Mail Maker form code-->\r\n\r\n<form action=\"http://campaign.digitalmailmaker.com/index.php\" method=\"post\" name=\"campaignform\">\r\n<input type=\"hidden\" name=\"camp\" value=\"websignup\">\r\n<input type=\"hidden\" name=\"perso\" value=\"V1RJNE9VMVhiR3RsYlVadlkwaFZOR0ZuUFQwPStV\">\r\n<table width=\"100%\" border=\"0\" cellspacing=\"2\" cellpadding=\"3\">\r\n<tr>\r\n<td align=\"left\" valign=\"top\" width=\"20%\">Company:</td>\r\n<td align=\"left\" valign=\"top\"><input type=\"text\" name=\"company_name\" size=\"24\"></td>\r\n</tr>\r\n<tr>\r\n<tr>\r\n<td align=\"left\" valign=\"top\" width=\"20%\">First Name:<font size=\"1\" color=\"red\"> required</font></td>\r\n<td align=\"left\" valign=\"top\"><input type=\"text\" name=\"first_name\" size=\"24\"></td>\r\n</tr>\r\n<tr>\r\n<td align=\"left\" valign=\"top\" width=\"20%\">Last Name:<font size=\"1\" color=\"red\"> required</font></td>\r\n<td align=\"left\" valign=\"top\"><input type=\"text\" name=\"last_name\" size=\"24\"></td>\r\n</tr>\r\n<tr>\r\n<td align=\"left\" valign=\"top\" width=\"20%\">Email:<font size=\"1\" color=\"red\"> required</font></td>\r\n<td align=\"left\" valign=\"top\"><input type=\"text\" name=\"email\" size=\"24\"></td>\r\n</tr>\r\n<td align=\"left\" valign=\"top\" width=\"20%\">City:</td>\r\n<td align=\"left\" valign=\"top\"><input type=\"text\" name=\"city\" size=\"24\"></td>\r\n</tr>\r\n<tr>\r\n<td align=\"left\" valign=\"top\" width=\"20%\">State:</td>\r\n<td align=\"left\" valign=\"top\"><input type=\"text\" name=\"state\" size=\"24\"></td>\r\n</tr>\r\n<tr>\r\n<td>Phone:<font size=\"1\" color=\"red\"> required</font></td>\r\n<td><input type=\"text\" name=\"phone_1\" size=\"4\" maxlength=\"3\" border=\"0\" >\r\n<input type=\"text\" name=\"phone_2\" size=\"4\" maxlength=\"3\" border=\"0\" >\r\n- <input type=\"text\" name=\"phone_3\" size=\"5\" maxlength=\"4\" border=\"0\" >\r\nEXT <input type=\"text\" name=\"phone_4\" size=\"5\" maxlength=\"4\" border=\"0\" >\r\n</td>\r\n</tr>\r\n<tr>\r\n<td align=\"left\" valign=\"top\" width=\"20%\">Comments:</td>\r\n<td align=\"left\" valign=\"top\"><textarea name=\"comments\" rows=\"4\" cols=\"51\"></textarea></td>\r\n</tr>\r\n</tr>\r\n<tr height=\"25\">\r\n<td colspan=\"2\" align=\"left\" valign=\"top\" height=\"25\">\r\n<div align=\"center\">\r\n<input type=\"submit\" name=\"submit_form\" value=\"Submit\"></div>\r\n</td>\r\n</tr>\r\n<tr height=\"25\">\r\n<td colspan=\"2\" align=\"left\" valign=\"top\" height=\"25\">\r\n<div align=\"center\">\r\n<a href=\"http://www.digitalmailmaker.com\"><font size=\"1\">Powered by DMM</font></a></div>\r\n</td>\r\n</tr> </table>\r\n</form>\r\n\r\n<!-- end Digital Mail Maker form code-->\r\n\r\n</center>\r\n</div>\r\n\r\n\r\n</div>','html',''),(6,2,'',0,'Young Essential Skincare - Products featuring Chitosan','products_dev','','Young Essential Skincare. Chitosan skincare products. Reduce wrinkles around eyes, rejuvenate eyes, reduce puffiness under eyes.','<div id=\"fullcontent\">\r\n\r\n<div class=\"splitcontentleft\">\r\n<p><center><span class=\"emksp_big\">Just say . . . . . </span><span class=\"emky_biggest\">y</span><span class=\"emkr_biggest\">.e.s!</span>\r\n<br/><br /><span class=\"emksp_sm\">...to our revolutionary new<br />          anti-aging eye patches!</span></center></p>\r\n\r\n<p><center>\r\n<img src=\"/images/YesIndividualBox_sm.jpg\" alt=\"YES, revolutionary antiaging eye treatment\" /><h3>\r\nA quick fix to look great for business meetings, special occasions, post air travel, fatigue, etc. </h3>\r\n\r\n<br /><span class=\"emksp_big\">y</span><b>.e.s! Eye Patches</b> dramatically increase the moisture, elasticity and firmness by preventing dehydration. Our unique eye treatment patches dissolve into your skin and so will the wrinkles around the eyes!  In addition, its natural lightening agent will reduce the appearance of dark circles and puffiness under the eye.<br /><a href=\"/products/antiaging-eye-treatment.php\" title=\"Learn more about anti-aging Eye Patch treaments\" />Click here for more information about our Eye Patch treatments.</a>\r\n</center></p>\r\n\r\n</div>\r\n\r\n<div class=\"splitcontentright\">\r\n\r\n<p>\r\n<h3>Transform the appearance around your eyes and remove signs of aging and fatigue!</h3><center>\r\nCrow’s feet, wrinkles and puffiness diminish for an illuminated, bright appearance as they firm and<br />restore the delicate eye area.  Achieve tighter, softer,<br />visibly younger skin with this natural secret.<br />\r\n<b>You will see the difference right away!</b>\r\n<br/><br/><img src=\"/images/relaxed2.jpg\" /><br /></center>\r\n</p>\r\n\r\n\r\n\r\n<div class=\"buybox\"><a href=\"https://www.yesskincare.com/cart/cart.php?prod=1\" title=\"Buy Y.E.S. anti-aging eye patches here\" /><img src=\"/images/yes_button.jpg\" alt=\"younger looking eyes\" align=\"left\" border=\"0\" /></a><b>Single Pack</b> - $22.00 each (2 pair/pk)<br /><a href=\"https://www.yesskincare.com/cart/cart.php?prod=1\" title=\"buy Y.E.S. anti-aging eye patches here\" />Buy Now</a><br /></div>\r\n\r\n<div class=\"buybox\"><a href=\"http://www.yesskincare.com/cart/cart.php?prod=2\" title=\"Save money and buy the Y.E.S. anti-aging eye patches 5-pack\"/><img src=\"/images/yes_saver.jpg\" align=\"left\" border=\"0\" /></a>\r\n<b><br />5 Pack Saver Kit</b> - $100.00<br /><a href=\"http://www.yesskincare.com/cart/cart.php?prod=2\" title=\"Save money and buy the Y.E.S. anti-aging eye patches 5-pack\" />Buy Now</a>\r\n<br /></div>\r\n\r\n<p><center>\r\nFor treating wrinkles, use 2 to 3 times a week<br />after cleansing. 2 pair per package.</center></p>\r\n</div>\r\n\r\n</div>\r\n\r\n<div id=\"fullcontent\">\r\n<center>\r\n</center>\r\n</div>','html',''),(10,2,'',0,'Instant Age-Defying Eye Mask Treatment!','antiaging-eye-treatment','','this page contains information about the YES Young Essential Skincare Eye Patches. A great anti-aging skin care product for the eyes.','<div id=\"fullcontent\">\r\n\r\n<div class=\"splitcontentleft\">\r\n<p><center><span class=\"emksp_sm\">Finally! An effective multi-action formula for smoother, firmer and radiant skin around your eyes!</span>\r\n<p><br />\r\n<img src=\"/images/singlepatch.gif\" class=\"center\" />\r\n<h3>An amazing boost to the eye area that will leave your skin feeling silky smooth! </h3></center></p>\r\n\r\n<p>Young Essential Skincare 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 \r\nVitamin C.</p>\r\n\r\n<div class=\"buybox\"><img src=\"/images/yes_button.jpg\" align=\"left\" /><b>Single Pack</b> - $22.00 each (2 pair/pk)</b><br /><a href=\"https://www.yesskincare.com/cart/cart.php?prod=1\" />Buy Now</a><br /></div>\r\n\r\n<div class=\"buybox\"><img src=\"/images/yes_saver.jpg\" align=\"left\" />\r\n<b><br />5 Pack Saver Kit</b> - $100.00<br /><a href=\"https://www.yesskincare.com/cart/cart.php?prod=2\" />Buy Now</a>\r\n<br /></div>\r\n\r\n</div>\r\n\r\n<div class=\"splitcontentright\">\r\n\r\n<br /><br />\r\n<span class=\"emksp_big\">y</span><span class=\"emksp_sm\">.e.s!</span><b> Eye Patches</b> - stick on and plump up your skin while the combination of ingredients:\r\n<ul>\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.<l/i>\r\n<li>Also protects from environmental exposure to toxic pollutants.</li>\r\n</ul>\r\n<br />\r\n<img src=\"/images/productgroup.gif\" alt=\"Y.E.S. Eye Patches Countertop Display Unit\" />\r\n\r\n<center><b>All Natural Formulation!</b></center><br />\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<br />\r\n</p>\r\n\r\n\r\n\r\n</div>\r\n\r\n</div>','html',''),(11,3,'',0,'Young Essential Skincare - Just say YES! | Beverly Hills, CA 90210','home_dev','','Y.E.S. Young Essential Skincare Products. Reduce wrinkles from around the eyes. Reduce puffiness around the eyes. Get rid of crows feet. Anti-Aging Eye Care. Chitosan Skin Care products. Beverly Hills Skin Care Secrets.','<div id=\"fullcontent\">\r\n\r\n<div class=\"splitcontentleft\">\r\n<p><center><span class=\"emksp_big\">Don\'t hide those eyes!<br /><br /></span></p>\r\n<p><img src=\"/images/red_feathers2.jpg\" /></center></p>\r\n</div>\r\n\r\n<div class=\"splitcontentright\">\r\n\r\n<p><br /><br /><br /><br /><br />\r\n\r\n<center><span class=\"emksp_biggest\">Just say . . . . . </span><span class=\"emky_biggest\">y</span><span class=\"emkr_biggest\">.e.s!</span>\r\n<br /><br /><img src=\"/images/relaxed2.jpg\" /></center>\r\n</div>\r\n</div>\r\n\r\n<div id=\"fullcontent\">\r\n<center><span class=\"emksp_sm\">Get glowing with our \"new\"  </span><span class=\"emky_sm\">y</span><span class=\"emkr_sm\">.e.s.</span><span class=\"emksp_sm\"> Young Essential Skincare Eye Patches!</span><br />\r\n\r\n<div class=\"splitcontentleft\">\r\n<br/><br/><a href=\"/products/products.php\" alt=\"Instant Eye Mask Treatment\" title=\"Instant Eye Mask Treatment\" /><img src=\"/images/productgroup.gif\" class=\"center\" title=\"Instant Eye Mask Treatment\" /></a>\r\n<br />\r\nComing soon to a store near you.<br/>\r\n<a href=\"/products/products.php\" title=\"Buy Y.E.S. Eye Patches Online Here\" class=\"buy\" />Click here to buy now!</a>\r\n</center>\r\n</div>\r\n\r\n<div class=\"splitcontentright\">\r\n<div class=\"rightsidebox\">\r\n<div class=\"rightboxheader\">\r\nY.E.S. SKINCARE - IN THE NEWS</div>\r\n<br />\r\n<p><b>Beverly Hills, CA July 12, 2006</b> -- Y.E.S., the leader in skin care revolution for ladies who are looking a bit tired. Just a couple minutes with these eye patches an you\'ll look like you got a good night of sleep instead of closing Club O for two nights in a row. <a href=\"/news/newsr1.php\" class=\"news\" />Read more...</a></p>\r\n\r\n<p><b>Beverly Hills, CA July 12, 2006</b> -- Y.E.S., the leader in skin care revolution for ladies who are looking a bit tired. Just a couple minutes with these eye patches an you\'ll look like you got a good night of sleep instead of closing Club O for two nights in a row. <a href=\"/news/newsr1.php\" class=\"news\" />Read more...</a></p>\r\n\r\n<p><a href=\"/news/news.php\" title=\"Find out what people are saying about Y.e.s Skincare products\" class=\"news\" />View all <font color=\"#CC0000\">Y.E.S. SKINCARE</font> news here.</a>\r\n\r\n</div>\r\n</div>','html',''),(12,5,'',0,'Y.E.S. Young Essential Skincare','contact-ty','','','<div id=\"fullcontact\">\r\n\r\n\r\n<center><h2><br />CONTACT US</h2>\r\n<br /><br />\r\n<font color=\"#CC0000\">Thank you! A representative will contact you at our earliest opportunity.</font>\r\n<br /><br />\r\n\r\n<span class=\"emky_sm\">y</span><span class=\"emkr_sm\">.e.s.</span><span class=\"emksp_sm\"> Young Essential Skincare</span>\r\n<br /></center>\r\n<p><center>468 N. Camden Drive Suite 245<br />\r\nBeverly Hills, CA 90210<br />\r\nP: 310.860.4797 | Fax: 310.860.4796<br />\r\ninfo@yesskincare.com<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></p>\r\n</center>\r\n\r\n\r\n</div>','html',''),(13,2,'',0,'new_index','new_index','','','<div id=\"fullcontent\">\r\n\r\n<p><br /><center><img src=\"/images/redboa_babe.jpg\" /></center></p>\r\n\r\n<p><center><span class=\"emksp_biggest\">Just say . . . . . </span><span class=\"emky_biggest\">y</span><span class=\"emkr_biggest\">.e.s!</span>\r\n</center></p>\r\n\r\n<p><center>\r\nComing soon to a store near you.</span><br/>\r\n<a href=\"/products/products.php\" title=\"Buy Y.E.S. Eye Patches Online Here\" />Click here to buy now!</a>\r\n</center>\r\n</div>','html','');

--
-- Table structure for table `product_details`
--

CREATE TABLE `product_details` (
  `detail_id` int(6) NOT NULL AUTO_INCREMENT,
  `product_id` int(6) NOT NULL DEFAULT '0',
  `size_id` int(6) NOT NULL DEFAULT '0',
  `color_id` int(6) NOT NULL DEFAULT '0',
  `detail_price` varchar(15) NOT NULL DEFAULT '',
  KEY `detail_id` (`detail_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `product_details`
--


--
-- Table structure for table `product_name`
--

CREATE TABLE `product_name` (
  `product_id` int(6) NOT NULL AUTO_INCREMENT,
  `product_name` varchar(50) NOT NULL DEFAULT '',
  `product_description` text NOT NULL,
  `product_price` varchar(15) NOT NULL DEFAULT '',
  `promo_price` varchar(15) NOT NULL DEFAULT '',
  `item_page_id` int(4) NOT NULL DEFAULT '0',
  `item_image` varchar(50) NOT NULL DEFAULT '',
  `discount_percent` int(2) NOT NULL DEFAULT '0',
  `item_picture_path` varchar(200) NOT NULL DEFAULT '',
  `item_type` varchar(7) NOT NULL DEFAULT '',
  PRIMARY KEY (`product_id`)
) ENGINE=MyISAM AUTO_INCREMENT=67 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `product_name`
--

INSERT INTO `product_name` VALUES (1,'Eye Patches Pack','1 Application','30.00','',0,'',0,'',''),(2,'YES Rejuvenating Eye Patch','1 Pair per pack','30.00','',0,'',0,'',''),(3,'Y.E.S. Cream & Serum - Free Sample','Limit, one per customer','0.00','',0,'',0,'',''),(4,'YES - Serum & Cream Saver Package','Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream','110.00','',0,'',0,'',''),(5,'Anti-aging Serum','1 oz/30 ml','60.00','',0,'',0,'',''),(6,'Rejuvenating Moisture Cream','2 oz/ 60 ml','55.00','',0,'',0,'',''),(7,'Just say Y.E.S. T-shirt &amp; Thong Set','','30.00','',0,'',0,'',''),(8,'Just say Y.E.S. T-Shirt','','20.00','',0,'',0,'',''),(9,'Just say Y.E.S. Thong','','15.00','',0,'',0,'',''),(10,'Duo Package & 1 Extra Serum','2 - 1.6 oz/30 ml Anti-Aging Serum<br />\r\n1 3.2 oz/60 ml Rejuvenating Moisture Cream ','153.00','',0,'',0,'',''),(11,'Duo Package & 1 Extra Cream','1 - 1.6 oz/ 30 ml Anti-Aging Serum<br />\r\n2 - 3.2 oz/ 60 ml Rejuvenating Moisture Cream','148.00','',0,'',0,'',''),(12,'<b>Y.E.S. Skincare Gift Set + Plus One Free Tee','','98.00','',0,'',0,'',''),(13,'YES Rejuvenating Moisture Cream','40% OFF!! Save $22.00 (1 Jar Limit)','33.00','',0,'',0,'',''),(14,'Y.E.S. Skincare Gift Set + 1 White Visor','','98.00','',0,'',0,'',''),(15,'Rejuvenating Moisture Cream Special','Buy one, get a second jar at half price.','82.50','',0,'',0,'',''),(16,'March Serum Special','Buy 1 Anti-Aging Serum and receive a white Y.E.S. visor','60','',0,'',0,'',''),(17,'April Special Offer','One Rejuvenating Moisture Cream and with a Red Y.E.S. visor','55','',0,'',0,'',''),(18,'May Special','1- Y.E.S. Anti Aging Serum<br />\r\n1 - Y.E.S. Rejuvenating Moisture Cream<br />\r\n50% off a second jar of Moisture Cream','142.50','',0,'',0,'',''),(19,'May Special - Y.E.S. Moisturizing Cream & Hat Pin','1 - Y.E.S. Rejuvenating Moisture Cream<br />1 - Golf Hat Pin','55.00','',0,'',0,'',''),(20,'YES Skincare Special','1 Anti Aging Serum & \r\n1 Rejuvenating Moisture Cream -\r\nBuy together and Save!','105.00','',0,'',0,'',''),(21,'Y.e.s. Skincare Anti-Aging Serum','Regular Price: $60.00<br />\r\nLokah Music Price: $48.00','48.00','',0,'',0,'',''),(22,'Y.e.s. Skincare Rejuvenating Moisture Cream','Regular Price: $55.00<br />\r\nLokah Music Price: $44.00','44.00','',0,'',0,'',''),(23,'Y.e.s. Skincare Dynamic Duo','Anti-Aging Serum and Moisture Cream<br />\r\nRegular Price: $98.00<br />\r\nLokah Music Price: $78.40','78.40','',0,'',0,'',''),(24,'August Special Offer','Y.E.S. Eye Patches - 6 Packs\r\nSave $12.00 off regular pricing','108.00','',0,'',0,'',''),(25,'September Website Special','Anti-Aging Serum & Eye Patch Pack<br />$10 off regular price','70.00','',0,'',0,'',''),(26,'September Website Special','Rejuvenating Moisture Cream<br>with Free Eye Patches','55.00','',0,'',0,'',''),(27,'October Serum Special - Save $30','Includes 2 Anti-Aging Serum - $60.00 each<br />Get the second at 50% off.','90.00','',0,'',0,'',''),(28,'Anti-Aging Serum','1 oz/30 ml - Reg. Price $60.00\r\n<br />10% Off - Friends & Family Discount','54.00','',0,'',0,'',''),(29,'Rejuvenating Moisture Cream','2 oz/60 ml - Reg. Price $55.00\r\n<br />10% Off - Friends & Family Discount','49.50','',0,'',0,'',''),(30,'Serum & Cream Combo','Serum 1 oz/30 ml - Reg. Price $60.00\r\n<br />\r\nCream 2 oz/60 ml - Reg. Price $55.00\r\n<br />10% Off - Friends & Family Discount','103.50','',0,'',0,'',''),(31,'Eye Patches Pack','1 application - Reg. Price $30.00\r\n<br />10% Off - Friends & Family Discount','27.00','',0,'',0,'',''),(32,'Special Thanksgiving Offer','Buy 1 get 1 FREE<br />\r\n2 Jars of Rejuvenating Moisture Cream','55.00','',0,'',0,'',''),(33,'Y.E.S. Rejuvenating Moisture Cream','Includes Free Bracelet Gift','55.00','',0,'',0,'',''),(34,'Anti-Aging Serum','1oz - 30ml - 1/2 price special offer','30.00','',0,'',0,'',''),(35,'Rejuvenating Moisture Cream','2oz - 60ml - 1/2 price special offer','27.50','',0,'',0,'',''),(36,'shipping test','free charge','1.00','',0,'',0,'',''),(37,'April Special Offer','1 - Anti-aging Serum<br />\r\n2 - Rejuvenating Moisture Cream','115','',0,'',0,'',''),(38,'Mothers Day Special','One each: Anti-Aging Serum & Rejuvenating Moisture Cream<br />\r\nw/ Free Heart Pendant Necklace','105.00','',0,'',0,'',''),(39,'YES Rejuvenating Moisture Cream','60 ml / 2oz Jar&nbsp;&nbsp;&nbsp;($62.00 CAD converted to US Dollars)','55.00','',0,'',0,'',''),(40,'YES Anti-Aging Serum','30 ml / 1oz Bottle &nbsp;&nbsp;&nbsp;($67.20 CAD converted to US Dollars)','60.00','',0,'',0,'',''),(41,'Mother\'s Day Special','One each of the Anti-Aging Serum and Rejuvenating Moisture Cream','92.00','',0,'',0,'',''),(50,'Summer Special','One each of the Anti-Aging Serum and Rejuvenating Moisture Cream','92.00','',0,'',0,'',''),(42,'YES Rejuvenating Eye Patch','2 Pair per pack&nbsp;&nbsp;&nbsp;($22.40 CAD converted to US Dollars)','20.00','',0,'',0,'',''),(43,'YES Rejuvenating Moisture Cream','40% OFF!! Save $22.00 (1 Jar Limit)','33.00','',0,'',0,'',''),(44,'Anti-Aging Serum','Buy one, get one FREE.<br>\r\n2 - 1 oz/30 ml bottles','60.00','',0,'',0,'',''),(45,'Rejuvenating Moisture Cream','Buy one, get one FREE<br>\r\n2 - 2 oz/60 ml jars','55.00','',0,'',0,'',''),(46,'Fashion Chicago Special','YES Serum &amp; Moisture Cream<br />$35.00 off regular price.','80.00','80.00',0,'',0,'',''),(47,'Thanksgiving Discount Offer','Serum 1 oz/30 ml - Reg. Price $60.00\r\n<br />\r\nCream 2 oz/60 ml - Reg. Price $55.00\r\n<br />40% off! Save $46!','69.00','',0,'',0,'',''),(48,'Thanksgiving Discount Offer','Serum 1 oz/30 ml - Reg. Price $60.00\r\n<br />\r\nCream 2 oz/60 ml - Reg. Price $55.00\r\n<br />$30 off!','85.00','',0,'',0,'',''),(49,'Love your Skin Special','Anti-Aging Serum<br />\r\nRejuvenating Moisture Cream','90.00','',0,'',0,'',''),(51,'#7070910 QA - Bandage Sheet','Qwick-AID Bandage Sheets 7\" x 9\"','43.00','',0,'',0,'',''),(52,'#7070909 QA Bandage Sheets','6 7\" x 9\" Bandage Sheets/box','258.00','',0,'',0,'',''),(53,'#7070908 QA Bandage Sheets','4 Boxes/case (24 Sheets)','1032.00','',0,'',0,'',''),(54,'#7070929 QA Bandage','Individual Bandage 2\" x 4\"','19.00','',0,'',0,'',''),(55,'#7070930 QA Bandages','12 - 2\" x 4\" Bandages/box','228.00','',0,'',0,'',''),(56,'#7070931 QA Bandages','6 Boxes/case (72 Bandages)','1368.00','',0,'',0,'',''),(57,'#7070910-A QA Bandage Sheet','Qwick-AID Bandage Sheets 7\" x 9\"','43.00','',0,'',0,'',''),(58,'#7070909-A QA Bandage Sheets','Qwick-AID Bandage Sheets 7\" x 9\"','258.00','',0,'',0,'',''),(59,'#7070908-A QA Bandage Sheets','4 Boxes/case (24 Sheets)','1032.00','',0,'',0,'',''),(60,'#7070929-A QA Bandage','Individual Bandage 2\" x 4\"','19.00','',0,'',0,'',''),(61,'#7070930-A QA Bandages','12 - 2\" x 4\" Bandages/box','228.00','',0,'',0,'',''),(62,'#7070931-A QA Bandages','6 Boxes/case (72 Bandages)','1368.00','',0,'',0,'',''),(63,'#7070929-A QA Bandage','Individual Bandage 2\" x 4\" - 20% ESSFTA Discount','14.40','',0,'',0,'',''),(64,'#7070930-A QA Bandage Sheets','12 - 2\" x 4\" Bandages/box - 20% ESSFTA Discount','182.40','',0,'',0,'',''),(65,'#7070910-A QA Bandage Sheet','Qwick-AID Bandage Sheets 7\" x 9\" - 20% ESSFTA Discount','34.40','',0,'',0,'',''),(66,'#7070909-A QA Bandage Sheets','Qwick-AID Bandage Sheets 7\" x 9\" - 20% ESSFTA Discount','206.40','',0,'',0,'','');

--
-- Table structure for table `specials`
--

CREATE TABLE `specials` (
  `special_id` int(1) NOT NULL AUTO_INCREMENT,
  `item_1_id` int(4) NOT NULL DEFAULT '0',
  `item_2_id` int(4) NOT NULL DEFAULT '0',
  `item_3_id` int(4) NOT NULL DEFAULT '0',
  `item_4_id` int(4) NOT NULL DEFAULT '0',
  `item_special_percent` int(2) NOT NULL DEFAULT '0',
  `special_type` int(1) NOT NULL DEFAULT '0',
  `special_title` varchar(200) NOT NULL DEFAULT '',
  `special_desc` text NOT NULL,
  `cart_item_id` int(4) NOT NULL DEFAULT '0',
  `special_until` varchar(16) NOT NULL DEFAULT '',
  KEY `special_id` (`special_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `specials`
--


--
-- 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');


