--
-- Host: localhost    Database: pureti_com_cms
-- ------------------------------------------------------


--
-- Table structure for table `CollectionFieldTypes`
--

CREATE TABLE `CollectionFieldTypes` (
  `CollectionFieldTypeID` int(11) NOT NULL AUTO_INCREMENT,
  `CollectionFieldTypeDesc` varchar(254) DEFAULT NULL,
  `CollectionFieldTypeSQL` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`CollectionFieldTypeID`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionFieldTypes`
--

INSERT INTO `CollectionFieldTypes` VALUES (1,'Text','VARCHAR(254)'),(2,'Money','NUMERIC(7,2)'),(3,'Decimal','DOUBLE'),(4,'Date','bigint(20)'),(5,'Lookup','INT(11)'),(6,'Long Text','TEXT'),(7,'Number','bigint(20)');

--
-- Table structure for table `CollectionFilters`
--

CREATE TABLE `CollectionFilters` (
  `CollectionFilterID` bigint(20) NOT NULL AUTO_INCREMENT,
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `CollectionFilterName` varchar(255) NOT NULL DEFAULT '',
  `CollectionFilterSearchType` varchar(255) NOT NULL,
  `CollectionFilterSearchGlobal` varchar(255) NOT NULL,
  PRIMARY KEY (`CollectionFilterID`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionFilters`
--

INSERT INTO `CollectionFilters` VALUES (3,81,'Gallery 3','',''),(4,81,'SIte Gallery','',''),(8,50,'Active Videos','',''),(11,304,'Active Slides','',''),(12,324,'Twitter','',''),(13,324,'Blog','',''),(16,129,'test','','');

--
-- Table structure for table `CollectionFiltersDetails`
--

CREATE TABLE `CollectionFiltersDetails` (
  `CollectionFilterID` bigint(20) NOT NULL DEFAULT '0',
  `CollectionColumnID` varchar(255) NOT NULL DEFAULT '0',
  `CollectionOperatorID` bigint(20) NOT NULL DEFAULT '0',
  `CollectionFilterTxtValue` varchar(255) NOT NULL DEFAULT '',
  `CollectionFilterLookupValue` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionFiltersDetails`
--

INSERT INTO `CollectionFiltersDetails` VALUES (16,'131-2',2,'enti',0),(3,'81-5',1,'',4),(4,'81-5',1,'',1),(8,'50-7',1,'on',0),(11,'304-4',1,'on',0),(12,'324-1',1,'Twitter',0),(13,'324-1',1,'Blog',0),(16,'341-1',2,'24',0);

--
-- Table structure for table `CollectionFiltersOrderDetails`
--

CREATE TABLE `CollectionFiltersOrderDetails` (
  `CollectionFilterID` bigint(20) NOT NULL DEFAULT '0',
  `CollectionColumnID` bigint(20) NOT NULL DEFAULT '0',
  `CollectionOrderWay` int(11) NOT NULL DEFAULT '0',
  `CollectionOrderSort` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionFiltersOrderDetails`
--

INSERT INTO `CollectionFiltersOrderDetails` VALUES (8,1,0,0);

--
-- Table structure for table `CollectionInputTypes`
--

CREATE TABLE `CollectionInputTypes` (
  `CollectionInputTypeID` bigint(20) NOT NULL AUTO_INCREMENT,
  `CollectionInputTypeDecription` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`CollectionInputTypeID`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionInputTypes`
--

INSERT INTO `CollectionInputTypes` VALUES (1,'Text'),(2,'Text Area'),(3,'Password'),(4,'Select'),(5,'Radio'),(6,'Checkbox'),(7,'File');

--
-- Table structure for table `CollectionLookupOptionRelations`
--

CREATE TABLE `CollectionLookupOptionRelations` (
  `LookupOptionRelationID` bigint(20) NOT NULL AUTO_INCREMENT,
  `LookupOptionRelation` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`LookupOptionRelationID`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionLookupOptionRelations`
--

INSERT INTO `CollectionLookupOptionRelations` VALUES (1,'Equal'),(2,'Not Equal'),(3,'Greater Than'),(4,'Less Than'),(5,'LIKE');

--
-- Table structure for table `CollectionLookupOptions`
--

CREATE TABLE `CollectionLookupOptions` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `CollectionFieldID` bigint(20) NOT NULL DEFAULT '0',
  `LookupOptionFieldID` bigint(20) NOT NULL DEFAULT '0',
  `LookupOptionRelation` bigint(20) NOT NULL DEFAULT '0',
  `LookupOptionValue` varchar(255) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionLookupOptions`
--

INSERT INTO `CollectionLookupOptions` VALUES (17,5,3,1,'3'),(17,6,3,2,'3'),(27,6,4,1,'2'),(291,2,3,1,'6'),(403,2,3,1,'3');

--
-- Table structure for table `CollectionMaster`
--

CREATE TABLE `CollectionMaster` (
  `CollectionID` int(11) NOT NULL AUTO_INCREMENT,
  `CollectionName` varchar(244) DEFAULT NULL,
  `LookupColumn` int(11) DEFAULT NULL,
  `LookupColumnComplex` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`CollectionID`)
) ENGINE=MyISAM AUTO_INCREMENT=418 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionMaster`
--

INSERT INTO `CollectionMaster` VALUES (1,'Users',1,NULL),(2,'Allowed to View',1,NULL),(3,'UserGroupsXref',NULL,NULL),(4,'Collection Access',1,NULL),(5,'UserCollectionsXRef',NULL,NULL),(6,'SystemModules',1,NULL),(7,'UserSystemModulesXref',NULL,NULL),(8,'Admin Menu',1,NULL),(9,'CMS Collections Tabs',1,NULL),(10,'States',1,NULL),(11,'Countries',1,NULL),(12,'Company Information',NULL,NULL),(13,'Content Profile',1,NULL),(14,'Content Types',1,NULL),(15,'Content Formats',1,NULL),(16,'Content Language Types',1,NULL),(17,'Page Profile',1,NULL),(18,'Page Types',1,NULL),(19,'ContentGroupsXref',NULL,NULL),(20,'Images Profile',NULL,NULL),(21,'Image Types',1,NULL),(22,'Yes No',1,NULL),(23,'Documents',1,NULL),(24,'Document Type',1,NULL),(25,'CMS Functions',1,NULL),(26,'Collection List',1,NULL),(30,'Collection Rules',NULL,NULL),(31,'Collection Behaviours',NULL,NULL),(32,'Contact Us',NULL,NULL),(236,'Events',1,NULL),(237,'Event Venues',1,NULL),(238,'Event Types',1,NULL),(239,'Event Types XRef',NULL,NULL),(240,'Event Repeat',1,NULL),(241,'Event Repeat By',4,NULL),(273,'News Categories',1,NULL),(274,'News Articles',3,NULL),(275,'News Categories XRef',NULL,NULL),(38,'Front End Admin Menu',1,NULL),(39,'Front End Admin Menu XRef',NULL,NULL),(276,'Site Menu',1,NULL),(80,'Galleries',1,NULL),(81,'Gallery Pictures',NULL,NULL),(90,'CMS Scripts',NULL,NULL),(91,'CMS Display Templates',NULL,NULL),(129,'Products',1,NULL),(303,'Google Sitemap Extra URLs',NULL,NULL),(50,'Videos',NULL,NULL),(61,'Blog Discussions',1,NULL),(60,'Blog Topics',1,NULL),(62,'Blog Comments',1,NULL),(92,'CMS Display Form Fields',NULL,NULL),(93,'CMS Behaviours Form Fields',NULL,NULL),(89,'CMS Resize Options',NULL,NULL),(130,'Product Categories',1,NULL),(131,'Product Prices',2,NULL),(132,'Product Categories Xref',NULL,NULL),(133,'Shopping Cart',1,NULL),(134,'Shopping Cart Details',2,NULL),(135,'Coupon Codes',1,NULL),(136,'Delivery Methods',1,NULL),(137,'Product Delivery XRef',NULL,NULL),(138,'Personal Billing Information',NULL,NULL),(139,'Personal Shipping Information',NULL,NULL),(140,'Credit Card Types',1,NULL),(141,'Credit Card Form',NULL,NULL),(142,'Credit Card Months',1,NULL),(143,'Credit Card Years',1,NULL),(144,'Credit Card Error Messages',NULL,NULL),(146,'Product Upsell XRef',NULL,NULL),(147,'Payment Methods',1,NULL),(148,'Bank Account Types',1,NULL),(149,'eCheck Form',NULL,NULL),(150,'Check By Mail Form',NULL,NULL),(151,'Tax Rates',1,NULL),(152,'Product Relationship',NULL,NULL),(153,'Total Price Ranges',1,NULL),(154,'Price Ranges Delivery XRef',NULL,NULL),(159,'Shopping Cart Settings',NULL,NULL),(160,'Product Options XRef',NULL,NULL),(162,'Product Option Rules',1,NULL),(163,'Product Options',NULL,NULL),(304,'Homepage Rotator',1,NULL),(94,'CMS Formulas',NULL,NULL),(324,'RSS Feeds',1,NULL),(95,'CMS Workflows',1,NULL),(96,'WFLOW - Write to Database',NULL,NULL),(97,'WFLOW - Email on Submit',NULL,NULL),(98,'WFLOW - Redirect',NULL,NULL),(99,'WFLOW - Approval',NULL,NULL),(100,'WFLOW - Approval - Collection Rows',6,NULL),(101,'WFLOW - Execute Rules',NULL,NULL),(102,'WFLOW - Execute Simple Behaviours',NULL,NULL),(103,'CMS Workflows Occurance',1,NULL),(104,'WFLOW - Audit',NULL,NULL),(105,'WFLOW - Audit - Records',NULL,NULL),(327,'Toll Free Numbers',NULL,NULL),(339,'RSS Feeds from Collections',NULL,NULL),(341,'Shopping Cart - Product Discounts',1,NULL),(342,'Shopping Cart - Product Discounts XREF',NULL,NULL),(390,'Storage Parameters - DropBox',2,NULL),(392,'Storage Types',1,NULL),(389,'Storage Parameters - S3',6,NULL),(381,'Files',NULL,NULL),(383,'File Types',1,NULL),(393,'AI - Favourite Links',1,NULL),(394,'AI - Gather Info Code',NULL,NULL),(395,'AI - Use Gathered Info Code',NULL,NULL),(396,'AI - Link Destinations',NULL,NULL),(397,'Storage Parameters - Local Folders',NULL,NULL),(398,'Mime Types',NULL,NULL),(399,'QR Codes',NULL,NULL),(400,'Content Migration',1,NULL),(401,'301 Redirects',NULL,NULL),(403,'Content Migration - Page Types',1,NULL),(404,'Content Migration - Template Fields to Show',NULL,NULL),(405,'Content Migration - Relations',1,NULL),(408,'Content Adlets',1,NULL),(409,'Adlets Shown On Content',1,NULL),(410,'Quotes',1,NULL),(411,'XREF - Content Quotes',NULL,NULL),(412,'Benefits',1,NULL),(413,'Content Benefits',1,NULL),(414,'Notables',NULL,NULL),(415,'Rotator Quotes',NULL,NULL),(416,'Homepage Tabs',NULL,NULL),(417,'Request Quote',NULL,NULL);

--
-- Table structure for table `CollectionOperators`
--

CREATE TABLE `CollectionOperators` (
  `OperatorID` bigint(20) NOT NULL AUTO_INCREMENT,
  `OperatorDesc` varchar(255) NOT NULL DEFAULT '',
  `OperatorImportance` int(11) NOT NULL,
  PRIMARY KEY (`OperatorID`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionOperators`
--

INSERT INTO `CollectionOperators` VALUES (1,'Equal',2),(2,'Contains',1),(3,'Greater Than',3),(4,'Less Than',4),(5,'Not Equal To',5);

--
-- Table structure for table `CollectionOperatorsTypeXref`
--

CREATE TABLE `CollectionOperatorsTypeXref` (
  `OperatorID` bigint(20) NOT NULL DEFAULT '0',
  `CollectionFieldTypeID` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionOperatorsTypeXref`
--

INSERT INTO `CollectionOperatorsTypeXref` VALUES (5,5),(1,5),(5,4),(1,4),(4,3),(3,3),(5,3),(1,3),(3,2),(4,2),(5,2),(1,2),(5,1),(2,1),(1,1),(4,7),(3,7),(1,6),(2,6),(1,7),(5,7),(1,8),(2,8),(5,8),(3,4),(4,4);

--
-- Table structure for table `CollectionSettings`
--

CREATE TABLE `CollectionSettings` (
  `CollectionSettingID` bigint(20) NOT NULL AUTO_INCREMENT,
  `CollectionSettingDescription` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`CollectionSettingID`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings`
--

INSERT INTO `CollectionSettings` VALUES (1,'Columns Shown in Preview Page'),(6,'Xref Complex Between 2 Collections'),(2,'Upload Settings'),(4,'Preview Tools'),(5,'Xref Between 2 Collections'),(3,'Collection Preview Template'),(7,'Display Code'),(8,'Field Behaviour'),(9,'Tree Menu Settings'),(10,'Revisions');

--
-- Table structure for table `CollectionSettings_1`
--

CREATE TABLE `CollectionSettings_1` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `ColumnDisplaiedIntoSelectArea` bigint(20) NOT NULL DEFAULT '0',
  `ColumnToOrderResults` bigint(20) NOT NULL DEFAULT '0',
  `OrderWay` int(11) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_1`
--

INSERT INTO `CollectionSettings_1` VALUES (23,1,1,0),(1,1,1,0),(13,1,1,0),(20,1,1,0),(12,1,0,0),(17,1,1,0),(32,1,1,0),(236,1,1,0),(273,1,0,0),(274,3,1,0),(237,1,0,0),(278,1,0,0),(280,1,0,0),(81,1,1,0),(91,1,0,0),(286,3,0,0),(50,1,1,0),(62,1,0,0),(61,1,0,0),(241,4,0,0),(303,1,1,0),(129,1,1,0),(130,1,1,0),(133,3,3,1),(135,1,1,0),(139,1,0,0),(141,1,0,0),(149,1,0,0),(150,1,0,0),(138,1,0,0),(159,1,0,0),(163,1,0,0),(238,1,1,0),(304,1,1,0),(276,1,1,0),(8,1,1,0),(38,1,1,0),(96,1,1,0),(100,1,1,0),(105,1,1,0),(324,1,1,0),(3,1,1,0),(339,1,1,0),(147,1,1,0),(80,1,1,0),(389,6,6,0),(393,1,1,0),(390,2,2,0),(392,1,1,0),(383,1,1,0),(397,2,2,0),(381,1,1,0),(396,1,1,0),(399,1,1,0),(400,1,1,0),(403,1,1,0),(408,1,1,0),(412,1,1,0),(416,1,1,0),(417,1,1,0);

--
-- Table structure for table `CollectionSettings_10`
--

CREATE TABLE `CollectionSettings_10` (
  `CollectionID` bigint(20) NOT NULL,
  `RevisionActive` tinyint(4) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_10`
--

INSERT INTO `CollectionSettings_10` VALUES (129,0),(13,1),(80,0),(236,0),(23,0),(8,0),(389,0),(274,0),(393,0),(390,0),(392,0),(383,0),(397,0),(381,0),(396,0),(81,0),(20,0),(1,0),(399,0),(32,0),(400,0),(50,0),(403,0),(133,0),(276,0),(408,0),(412,0),(304,0),(416,0),(417,0);

--
-- Table structure for table `CollectionSettings_2`
--

CREATE TABLE `CollectionSettings_2` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `UploadDir` varchar(255) NOT NULL DEFAULT '',
  `RemoteStorageType` bigint(20) NOT NULL,
  `RemoteStorageFolder` bigint(20) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_2`
--

INSERT INTO `CollectionSettings_2` VALUES (23,'/documents/',3,4),(13,'',0,0),(20,'/images/',0,0),(12,'',0,0),(17,'',0,0),(32,'',0,0),(286,'',0,0),(91,'',0,0),(81,'/galleryphotos/',0,0),(50,'/videos/',3,1),(62,'',0,0),(61,'',0,0),(241,'',0,0),(303,'',0,0),(130,'',0,0),(133,'',0,0),(135,'',0,0),(139,'',0,0),(141,'',0,0),(149,'',0,0),(150,'',0,0),(138,'',0,0),(159,'',0,0),(163,'',0,0),(304,'',0,0),(274,'',0,0),(276,'',0,0),(8,'',0,0),(38,'',0,0),(96,'',0,0),(100,'',0,0),(105,'',0,0),(324,'',0,0),(3,'',0,0),(339,'',0,0),(129,'',0,0),(147,'',0,0),(80,'',0,0),(236,'',0,0),(389,'',0,0),(393,'',0,0),(390,'',0,0),(392,'',0,0),(383,'',0,0),(397,'',0,0),(381,'',0,0),(396,'',0,0),(1,'',2,1),(399,'',0,0),(400,'',0,0),(403,'',0,0),(408,'',0,0),(412,'',0,0),(416,'',0,0),(417,'',0,0);

--
-- Table structure for table `CollectionSettings_3`
--

CREATE TABLE `CollectionSettings_3` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `Template` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_3`
--

INSERT INTO `CollectionSettings_3` VALUES (1,0),(13,2),(20,0),(12,0),(17,0),(23,0),(32,0),(241,0),(50,0),(130,0),(286,0),(91,0),(81,0),(303,0),(133,17),(135,0),(139,0),(141,0),(149,0),(150,0),(138,0),(159,0),(163,0),(304,0),(274,0),(276,0),(8,0),(38,0),(96,0),(100,0),(105,0),(324,0),(3,0),(339,0),(129,0),(147,0),(80,0),(236,16),(389,0),(393,0),(390,0),(392,0),(383,0),(397,0),(381,0),(396,0),(399,0),(400,0),(403,0),(408,0),(412,0),(416,0),(417,0);

--
-- Table structure for table `CollectionSettings_4`
--

CREATE TABLE `CollectionSettings_4` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `FieldID` bigint(20) NOT NULL DEFAULT '0',
  `ToolID` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_4`
--

INSERT INTO `CollectionSettings_4` VALUES (13,16,10),(12,13,2),(13,16,7),(1,8,1),(1,7,1),(23,4,2),(23,3,4),(303,2,1),(32,5,1),(236,6,2),(236,5,10),(236,5,7),(236,5,2),(236,4,5),(236,3,1),(273,2,2),(274,8,2),(274,7,10),(274,7,7),(274,7,2),(274,6,5),(237,9,2),(20,4,7),(81,3,2),(81,2,7),(50,6,1),(50,5,7),(50,4,7),(62,2,5),(62,5,1),(61,3,6),(61,5,1),(236,2,1),(17,9,1),(129,5,2),(129,4,2),(130,3,2),(130,2,2),(133,3,1),(135,4,1),(163,3,1),(163,4,1),(20,4,2),(304,12,10),(274,2,1),(274,1,1),(100,6,1),(105,5,1),(324,5,1),(50,3,9),(147,3,5),(135,7,5),(80,4,2),(381,4,1),(81,2,2),(20,4,8),(81,3,7),(399,4,7),(274,8,7),(274,8,10),(236,6,7),(236,6,10),(236,7,4),(236,10,1),(276,10,2),(276,10,7),(276,10,10),(408,4,7),(408,4,2),(408,3,5),(13,16,2),(13,13,10),(13,13,7),(13,13,2),(13,12,10),(13,12,7),(13,12,2),(13,11,10),(13,11,7),(408,4,10),(13,11,2),(13,7,1),(13,6,6),(412,3,2),(412,3,7),(412,3,10),(13,18,2),(13,18,7),(13,18,10),(304,12,7),(304,12,2),(304,11,10),(304,11,7),(304,11,2),(304,10,10),(304,10,7),(304,10,2),(416,4,2),(416,4,7),(416,4,10),(417,4,1);

--
-- Table structure for table `CollectionSettings_5`
--

CREATE TABLE `CollectionSettings_5` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `collectionXrefs` bigint(20) NOT NULL DEFAULT '0',
  `collectionXrefsSave` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_5`
--

INSERT INTO `CollectionSettings_5` VALUES (129,341,342),(129,129,146),(13,410,411),(274,273,275),(129,130,132),(129,136,137),(1,2,3),(13,2,19);

--
-- Table structure for table `CollectionSettings_6`
--

CREATE TABLE `CollectionSettings_6` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `collectionComplexXref` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_6`
--

INSERT INTO `CollectionSettings_6` VALUES (129,131),(393,396),(383,398),(403,404),(13,413),(13,409),(304,415);

--
-- Table structure for table `CollectionSettings_7`
--

CREATE TABLE `CollectionSettings_7` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `FieldID` bigint(20) NOT NULL DEFAULT '0',
  `DisplayCode` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_7`
--

INSERT INTO `CollectionSettings_7` VALUES (13,6,2),(17,6,1),(236,21,5),(238,3,4),(236,20,4),(236,9,3);

--
-- Table structure for table `CollectionSettings_8`
--

CREATE TABLE `CollectionSettings_8` (
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `FieldID` bigint(20) NOT NULL DEFAULT '0',
  `DisplayCode` bigint(20) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionSettings_8`
--

INSERT INTO `CollectionSettings_8` VALUES (236,21,6),(236,20,5),(238,3,5),(236,3,4),(236,2,3),(276,7,9),(276,2,8),(38,10,9),(8,6,9),(339,2,10),(400,1,13),(400,2,9);

--
-- Table structure for table `CollectionSettings_9`
--

CREATE TABLE `CollectionSettings_9` (
  `CollectionID` bigint(20) NOT NULL,
  `ParentMenuColumn` bigint(20) NOT NULL,
  `SortOrderColumn` bigint(20) NOT NULL,
  `OrderWay` varchar(5) NOT NULL,
  `DisplayColumn` bigint(20) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `CollectionSettings_9`
--

INSERT INTO `CollectionSettings_9` VALUES (8,6,7,'0',1),(38,10,9,'0',1),(276,7,3,'0',1),(96,0,0,'0',0),(100,0,0,'0',0),(105,0,0,'0',0),(324,0,0,'0',0),(3,0,0,'0',0),(339,0,0,'0',0),(133,0,0,'0',0),(129,0,0,'0',0),(130,7,1,'0',1),(135,0,0,'0',0),(147,0,0,'0',0),(50,0,0,'0',0),(23,0,0,'0',0),(13,0,0,'0',0),(80,0,0,'0',0),(236,0,0,'0',0),(389,0,0,'0',0),(274,0,0,'0',0),(393,0,0,'0',0),(390,0,0,'0',0),(392,0,0,'0',0),(383,0,0,'0',0),(397,0,0,'0',0),(381,0,0,'0',0),(396,0,0,'0',0),(81,0,0,'0',0),(20,0,0,'0',0),(1,0,0,'0',0),(399,0,0,'0',0),(32,0,0,'0',0),(400,2,1,'0',1),(403,0,0,'0',0),(408,0,0,'0',0),(412,0,0,'0',0),(304,0,0,'0',0),(416,0,0,'0',0),(417,0,0,'0',0);

--
-- Table structure for table `CollectionTaxonomy`
--

CREATE TABLE `CollectionTaxonomy` (
  `CollectionID` int(11) NOT NULL DEFAULT '0',
  `CollectionFieldID` int(11) NOT NULL AUTO_INCREMENT,
  `CollectionFieldName` varchar(244) DEFAULT NULL,
  `CollectionFieldType` int(11) DEFAULT NULL,
  `CollectionInputType` bigint(20) NOT NULL DEFAULT '0',
  `CollectionKeyDesc` varchar(254) DEFAULT NULL,
  `CollectionFieldRequired` tinyint(4) DEFAULT NULL,
  `CollectionFieldLookupCollectionID` int(11) DEFAULT NULL,
  `CollectionFieldLookupSortOrderFieldID` bigint(20) DEFAULT NULL,
  `CollectionSortOrder` bigint(20) NOT NULL DEFAULT '0',
  `CollectionHidden` tinyint(4) NOT NULL DEFAULT '0',
  `CollectionDefaultValue` varchar(255) NOT NULL DEFAULT '',
  `CollectionFormula` bigint(20) NOT NULL DEFAULT '1',
  PRIMARY KEY (`CollectionID`,`CollectionFieldID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionTaxonomy`
--

INSERT INTO `CollectionTaxonomy` VALUES (8,1,'Menu Name',1,1,'',1,NULL,NULL,1,0,'',1),(8,2,'System Module',5,4,'',0,6,NULL,2,0,'',1),(8,3,'Menu Args',1,1,'',0,NULL,NULL,3,0,'',1),(8,4,'Menu Image',1,1,'',0,NULL,NULL,4,0,'',1),(9,2,'Sort Order',7,1,'',0,NULL,0,2,0,'',1),(9,1,'Tab Name',1,1,'',0,NULL,0,1,0,'',1),(10,1,'State Abbrev',1,1,'',0,NULL,NULL,1,0,'',1),(10,2,'State Name',1,1,'',0,NULL,NULL,2,0,'',1),(11,1,'Country Name',1,1,'',0,NULL,NULL,1,0,'',1),(12,1,'Company Name',1,1,'',0,NULL,NULL,1,0,'',1),(12,2,'Contact Name',1,1,'',0,NULL,NULL,2,0,'',1),(12,3,'Email Address',1,1,'',0,NULL,NULL,3,0,'',1),(12,4,'Phone',1,1,'',0,NULL,NULL,4,0,'',1),(12,5,'Fax',1,1,'',0,NULL,NULL,5,0,'',1),(12,6,'Main Web Page URL',1,1,'',0,NULL,NULL,6,0,'',1),(12,7,'Address',1,1,'',0,NULL,NULL,7,0,'',1),(12,8,'Address 2',1,1,'',0,NULL,NULL,8,0,'',1),(12,9,'City',1,1,'',0,NULL,NULL,9,0,'',1),(12,10,'State',5,4,'',0,10,NULL,10,0,'',1),(12,11,'Zip',1,1,'',0,NULL,NULL,11,0,'',1),(12,12,'Country',5,4,'',0,11,NULL,12,0,'',1),(14,1,'Content Type',1,1,'',0,NULL,NULL,1,0,'',1),(15,1,'Format',1,1,'',0,NULL,NULL,1,0,'',1),(16,1,'Language Type',1,1,'',0,NULL,NULL,1,0,'',1),(13,1,'Content Name',1,1,'',1,NULL,NULL,1,0,'',1),(13,2,'Content Notes',6,2,'',0,NULL,NULL,2,0,'',1),(13,3,'Content Type',5,4,'',1,14,NULL,3,0,'',1),(13,4,'Content Format',5,4,'',1,15,NULL,4,0,'',1),(13,6,'Content',6,2,'',0,NULL,NULL,6,0,'',1),(13,7,'Content Create Date',7,1,'',0,NULL,NULL,7,1,'',2),(19,1,'Content',5,4,'',0,13,NULL,1,0,'',1),(18,1,'Page Type',1,1,'',0,NULL,NULL,1,0,'',1),(17,1,'Page Name',1,1,'',1,NULL,NULL,1,0,'',1),(17,2,'Page Title',1,1,'',0,NULL,NULL,2,0,'',1),(17,3,'Page File Name',1,1,'',1,NULL,NULL,3,0,'',1),(17,4,'Page Type',5,4,'',1,18,NULL,4,0,'',1),(17,5,'Page Template',5,4,'',1,13,NULL,5,0,'',1),(17,6,'Content',5,4,'',1,13,NULL,6,0,'',1),(1,4,'Last Name',1,1,'',0,NULL,NULL,4,0,'',1),(1,5,'Email',1,1,'',1,NULL,NULL,5,0,'',1),(1,6,'Active',1,6,'',0,NULL,0,6,1,'',4),(2,1,'Group Name',1,1,'',1,NULL,NULL,1,0,'',1),(3,1,'User',5,4,'',0,1,NULL,1,0,'',1),(1,1,'User Name',1,1,'',1,NULL,NULL,1,0,'',1),(1,2,'Password',1,3,'',1,NULL,NULL,2,0,'',3),(1,3,'First Name',1,1,'',0,NULL,NULL,3,0,'',1),(3,2,'Group',5,4,'',0,2,NULL,2,0,'',1),(2,2,'Group Is Admin',1,6,'',0,NULL,NULL,2,0,'',1),(2,3,'Group Can Add',1,6,'',0,NULL,NULL,3,0,'',1),(2,4,'Group Can Edit',1,6,'',0,NULL,NULL,4,0,'',1),(2,5,'Group Can Delete',1,6,'',0,NULL,NULL,5,0,'',1),(1,7,'User Create Date',7,1,'',0,NULL,NULL,7,1,'',2),(1,8,'User Last Login Date',7,1,'',0,NULL,NULL,8,1,'',1),(4,1,'Collection Name',1,1,'',1,NULL,NULL,1,0,'',1),(30,1,'Rule Name',1,1,'',1,NULL,NULL,1,0,'',1),(5,1,'User Name',5,4,'',0,1,NULL,1,0,'',1),(5,2,'Collection ID',5,4,'',0,4,NULL,2,0,'',1),(6,1,'System Module Name',1,1,'',1,NULL,NULL,1,0,'',1),(6,2,'System Module File Name',1,1,'',1,NULL,NULL,2,0,'',1),(7,1,'User Name',5,4,'',0,1,NULL,1,0,'',1),(7,2,'System Module',5,4,'',0,6,NULL,2,0,'',1),(80,1,'Gallery Name',1,1,'',0,NULL,NULL,1,0,'',1),(21,1,'Image Type',1,1,'',0,NULL,NULL,1,0,'',1),(19,2,'Group',5,4,'',0,2,NULL,2,0,'',1),(17,7,'Keywords',6,2,'',0,NULL,NULL,7,0,'',1),(17,8,'Description',6,2,'',0,NULL,NULL,8,0,'',1),(17,9,'Page Create Date',7,1,'',0,NULL,NULL,9,0,'',2),(20,1,'Image Title',1,1,'',1,NULL,NULL,1,0,'',1),(20,2,'Image Alt Tag',1,1,'',0,NULL,NULL,2,0,'',1),(20,3,'Image Category',5,4,'',0,21,NULL,3,0,'',1),(20,4,'Image Path',1,7,'',0,NULL,NULL,4,0,'',1),(22,1,'Response',1,1,'Response',0,NULL,NULL,1,0,'',1),(17,10,'Published',1,6,'',0,NULL,NULL,10,0,'',1),(24,1,'Document type',1,1,'',0,NULL,NULL,1,0,'',1),(23,1,'Document Title',1,1,'',1,NULL,NULL,1,0,'',1),(23,2,'Document Alt Tag',1,1,'',0,NULL,NULL,2,0,'',1),(23,3,'Document Type',5,4,'',0,24,NULL,3,0,'',1),(23,4,'Document Image',1,1,'',0,NULL,NULL,4,0,'',1),(25,1,'Function Name',1,1,'',1,NULL,0,1,0,'',1),(25,2,'Apply In',5,4,'',1,103,1,2,0,'',1),(23,5,'Document',1,7,'',1,NULL,NULL,5,0,'',1),(26,1,'Collection Name',1,1,'',0,NULL,NULL,1,0,'',1),(12,13,'Logo',1,1,'',0,NULL,NULL,13,0,'',1),(30,2,'Execute on Add',1,6,'',0,NULL,NULL,2,0,'',1),(30,3,'Execute on Edit',1,6,'',0,NULL,NULL,3,0,'',1),(30,4,'Execute on Delete',1,6,'',0,NULL,NULL,4,0,'',1),(30,5,'Code to Execute',6,2,'',0,NULL,NULL,5,0,'',1),(30,6,'Collection',5,4,'',0,4,NULL,6,0,'',1),(31,1,'Behaviour Name',1,1,'',1,NULL,NULL,1,0,'',1),(31,2,'Execute on Add',1,6,'',0,NULL,NULL,2,0,'',1),(31,3,'Execute on Edit',1,6,'',0,NULL,NULL,3,0,'',1),(31,4,'Execute on Delete',1,6,'',0,NULL,NULL,4,0,'',1),(31,5,'Code to Execute',6,2,'',0,NULL,NULL,5,0,'',1),(31,6,'Collection ID',5,4,'',0,4,NULL,6,0,'',1),(1,9,'Receive Newsletter',1,6,'',0,NULL,NULL,9,0,'on',1),(32,1,'Name',1,1,'Please enter your First and Last Name in this field',1,NULL,0,1,0,'',1),(32,2,'Email',1,1,'',1,NULL,NULL,2,0,'',1),(32,3,'Subject',1,1,'A brief overview of your reason for reaching out to us',0,NULL,0,3,0,'',1),(32,4,'Message',6,2,'',1,NULL,NULL,4,0,'',1),(32,5,'Timestamp',7,1,'',0,NULL,NULL,5,1,'',2),(236,1,'Event Name',1,1,'',1,NULL,NULL,1,0,'',1),(236,2,'Date Start',7,1,'',0,NULL,NULL,2,0,'',1),(236,3,'Date End',7,1,'',0,NULL,NULL,3,0,'',1),(236,4,'Event Description',6,2,'',0,NULL,NULL,4,0,'',1),(236,5,'Event Image',1,1,'',0,NULL,NULL,5,0,'',1),(236,6,'Event Small Image',1,1,'',0,NULL,0,6,0,'',1),(236,7,'Event Venue',5,4,'',0,237,NULL,7,0,'',1),(241,4,'Repeat By Values',1,1,'',0,NULL,NULL,4,0,'',1),(236,10,'Repeat Range',7,1,'',0,NULL,NULL,10,0,'',1),(236,11,'Repeat on Monday',1,6,'',0,NULL,NULL,11,0,'',1),(236,12,'Repeat on Tuesday',1,6,'',0,NULL,NULL,12,0,'',1),(237,1,'Venue Name',1,1,'',1,NULL,NULL,1,0,'',1),(237,2,'Address',1,1,'',0,NULL,NULL,2,0,'',1),(237,3,'City',1,1,'',0,NULL,NULL,3,0,'',1),(237,4,'State',5,4,'',0,10,NULL,4,0,'',1),(237,5,'Zip',1,1,'',0,NULL,NULL,5,0,'',1),(237,6,'Phone',1,1,'',0,NULL,NULL,6,0,'',1),(237,7,'Main Contact',1,1,'',0,NULL,NULL,7,0,'',1),(237,8,'Email',1,1,'',0,NULL,NULL,8,0,'',1),(237,9,'Venue Image',1,1,'',0,NULL,NULL,9,0,'',1),(238,1,'Event Type Name',1,1,'',1,NULL,NULL,1,0,'',1),(238,2,'Event Type Description',6,2,'',0,NULL,NULL,2,0,'',1),(239,1,'Event',5,4,'',0,236,NULL,1,0,'',1),(239,2,'Event Type',5,4,'',0,238,NULL,2,0,'',1),(240,1,'Repeat Period',1,1,'',0,NULL,NULL,1,0,'',1),(236,8,'Event Repeat',5,4,'',1,240,NULL,8,0,'',1),(236,9,'Repeat Every',7,1,'',0,NULL,NULL,9,0,'',1),(273,1,'Category Name',1,1,'',1,NULL,NULL,1,0,'',1),(273,2,'Category Image',1,1,'',0,NULL,NULL,2,0,'',1),(273,3,'Category Description',6,2,'',0,NULL,NULL,3,0,'',1),(273,4,'Category Order',7,1,'',0,NULL,NULL,4,0,'',1),(274,1,'DateStart',7,1,'',0,NULL,NULL,1,0,'',1),(274,2,'DateEnd',7,1,'',0,NULL,NULL,2,0,'',1),(274,3,'Headline',1,1,'',1,NULL,NULL,3,0,'',1),(274,4,'SubHead',1,1,'',0,NULL,NULL,4,0,'',1),(274,5,'Abstract',6,2,'',0,NULL,NULL,5,0,'',1),(274,6,'Article Content',6,2,'',0,NULL,NULL,6,0,'',1),(274,7,'Image',1,1,'',0,NULL,NULL,7,0,'',1),(274,8,'Small Image',1,1,'',0,NULL,NULL,8,0,'',1),(274,9,'Article URL',1,1,'',0,NULL,NULL,9,0,'',1),(275,1,'News',5,4,'',0,274,NULL,1,0,'',1),(275,2,'Category',5,4,'',0,273,NULL,2,0,'',1),(274,10,'Always Alive Article',1,6,'',0,NULL,NULL,10,0,'',1),(38,1,'Menu Name',1,1,'',1,NULL,NULL,1,0,'',1),(38,2,'System Module',5,4,'',0,6,NULL,2,0,'',1),(38,3,'Menu Args',1,1,'',0,NULL,NULL,3,0,'',1),(38,4,'Menu Image',1,1,'',0,NULL,NULL,4,0,'',1),(38,5,'Alternate URL',1,1,'',0,NULL,NULL,5,0,'',1),(38,6,'Code to Execute',6,2,'',0,NULL,NULL,6,0,'',1),(38,7,'Width',7,1,'',0,NULL,NULL,7,0,'',1),(38,8,'Height',7,1,'',0,NULL,NULL,8,0,'',1),(39,1,'Menu',5,4,'',0,38,NULL,1,0,'',1),(39,2,'Parent Menu',5,4,'',0,38,NULL,2,0,'',1),(276,1,'Menu Name',1,1,'',1,NULL,NULL,1,0,'',1),(276,2,'Menu Link',1,1,'',0,NULL,NULL,2,0,'',1),(276,3,'Sort Order',7,1,'',0,NULL,NULL,3,0,'',1),(276,4,'Show In Site Menu',1,6,'',0,NULL,NULL,4,0,'',1),(91,3,'Template Code',6,2,'',0,NULL,NULL,3,0,'',1),(81,1,'Photo Name',1,1,'',0,NULL,NULL,1,0,'',1),(81,2,'Photo',1,7,'',1,NULL,0,2,0,'',1),(81,3,'Tnail',1,1,'',0,NULL,NULL,3,0,'',12),(81,4,'Photo Caption',1,1,'',0,NULL,NULL,4,0,'',1),(81,5,'Photo Gallery',5,4,'',0,80,NULL,5,0,'',1),(31,7,'Execute in Admin',1,6,'',0,NULL,NULL,7,0,'',1),(90,1,'Script Name',1,1,'',0,NULL,NULL,1,0,'',1),(90,2,'Script Code',6,2,'',0,NULL,NULL,2,0,'',1),(91,1,'Template Name',1,1,'',0,NULL,NULL,1,0,'',1),(91,2,'Collection',5,4,'',0,4,NULL,2,0,'',1),(276,5,'Hidden',1,6,'',0,NULL,NULL,5,0,'',1),(276,6,'Open In New Window',1,6,'',0,NULL,NULL,6,0,'',1),(30,7,'Execute in Admin',1,6,'',0,NULL,NULL,7,0,'',1),(8,5,'Menu Code',6,2,'',0,NULL,NULL,5,0,'',1),(4,2,'System Collection',1,6,'',0,NULL,NULL,2,0,'',1),(50,1,'Video Name',1,1,'',0,NULL,NULL,1,0,'',1),(50,2,'Video',1,7,'',0,NULL,NULL,2,0,'',1),(50,3,'Video (.flv)',1,1,'',0,NULL,NULL,3,1,'',13),(50,4,'Video Screenshot',1,1,'',0,NULL,NULL,4,1,'',14),(50,5,'Video Small Screenshot',1,1,'',0,NULL,NULL,5,1,'',11),(50,6,'Video Upload Date',7,1,'',0,NULL,NULL,6,1,'',2),(50,7,'Video Active',1,6,'',0,NULL,NULL,7,1,'',1),(62,3,'UserID',5,4,'',0,1,NULL,3,1,'',17),(62,2,'Comment',6,2,'',1,NULL,NULL,2,0,'',1),(62,1,'Comment Title',1,1,'',1,NULL,NULL,1,0,'',1),(61,6,'UserID',5,4,'',0,1,NULL,6,1,'',16),(61,5,'Timestamp',7,1,'',0,NULL,NULL,5,1,'',2),(61,4,'Abstract',6,2,'',0,NULL,NULL,4,1,'',18),(61,3,'Article',6,2,'',1,NULL,NULL,3,0,'',1),(61,2,'Topic',5,4,'',1,60,NULL,2,0,'',1),(61,1,'Title',1,1,'',1,NULL,NULL,1,0,'',1),(60,2,'Topic Order',7,1,'',0,NULL,NULL,2,0,'',1),(60,1,'Topic Name',1,1,'',1,NULL,NULL,1,0,'',1),(62,4,'Blog Discussion',5,4,'',0,61,NULL,4,1,'',15),(62,5,'Timestamp',7,1,'',0,NULL,NULL,5,1,'',2),(92,1,'Display Name',1,1,'',0,NULL,NULL,1,0,'',1),(92,2,'Display Code',6,2,'',0,NULL,NULL,2,0,'',1),(80,2,'Sort Order',7,1,'',0,NULL,0,2,0,'',1),(236,13,'Repeat on Wednesday',1,6,'',0,NULL,0,13,0,'',1),(236,14,'Repeat on Thursday',1,6,'',0,NULL,NULL,14,0,'',1),(236,15,'Repeat on Friday',1,6,'',0,NULL,0,15,0,'',1),(236,16,'Repeat on Saturday',1,6,'',0,NULL,NULL,16,0,'',1),(236,17,'Repeat on Sunday',1,6,'',0,NULL,NULL,17,0,'',1),(236,18,'Repeat By',5,4,'',1,241,NULL,18,0,'',1),(236,19,'Event is Active',1,6,'',0,NULL,NULL,19,0,'',1),(93,1,'Behaviour Name',1,1,'',1,NULL,NULL,1,0,'',1),(93,2,'Behaviour Code',6,2,'',0,NULL,NULL,2,0,'',1),(89,1,'Resize Name',1,1,'',0,NULL,NULL,1,0,'',1),(89,2,'Width',7,1,'',0,NULL,NULL,2,0,'',1),(89,3,'Height',7,1,'',0,NULL,NULL,3,0,'',1),(303,2,'Timestamp',7,1,'',0,NULL,0,2,1,'',2),(303,1,'Url',1,1,'',0,NULL,0,1,0,'',1),(129,1,'Product Name',1,1,'',1,NULL,NULL,1,0,'',1),(129,2,'Short Description',6,2,'',0,NULL,NULL,2,0,'',1),(129,3,'Long Description',6,2,'',0,NULL,NULL,3,0,'',1),(129,4,'Product Image',1,1,'',0,NULL,NULL,4,0,'',1),(129,5,'Product Small Image',1,1,'',0,NULL,NULL,5,0,'',1),(129,6,'Additional Text',6,2,'Additional Text',0,NULL,NULL,6,0,'',1),(129,7,'Upsell Product',1,6,'',0,NULL,NULL,7,0,'',1),(129,8,'Product Active',1,6,'',0,NULL,NULL,8,0,'',1),(129,9,'Product with Free Delivery',1,6,'',0,NULL,NULL,9,0,'',1),(129,10,'Product Collection',5,4,'',0,4,NULL,10,0,'',1),(129,11,'Taxable',5,4,'',1,22,NULL,11,0,'',1),(130,1,'Category Name',1,1,'',1,NULL,NULL,1,0,'',1),(130,2,'Category Image',1,1,'',0,NULL,NULL,2,0,'',1),(130,3,'Category Small Image',1,1,'',0,NULL,NULL,3,0,'',1),(130,4,'Category Description',6,2,'',0,NULL,NULL,4,0,'',1),(130,5,'Category Abbreviation',1,1,'',1,NULL,NULL,5,0,'',1),(130,6,'Category Visible',1,6,'',0,NULL,NULL,6,0,'',1),(131,1,'Product ID',7,1,'',1,NULL,NULL,1,0,'',1),(131,2,'Price Description',1,1,'',0,NULL,NULL,2,0,'',1),(131,3,'Price',3,1,'',1,NULL,NULL,3,0,'',1),(38,11,'Menu Args Extra',1,1,'',0,NULL,NULL,11,0,'',1),(132,1,'Product',5,4,'',0,129,NULL,1,0,'',1),(132,2,'Category',5,4,'',0,130,NULL,2,0,'',1),(133,1,'Session ID',1,1,'',0,NULL,NULL,1,1,'',1),(133,2,'User ID',7,1,'',0,NULL,NULL,2,1,'',1),(133,3,'Create Date',7,1,'',0,NULL,NULL,3,0,'',2),(133,4,'IP',1,1,'',0,NULL,NULL,4,1,'',1),(133,5,'Purchase Completed',1,6,'',0,NULL,NULL,5,0,'',1),(133,16,'Coupon Code',5,4,'',0,135,NULL,16,0,'',1),(133,17,'Delivery Method',5,4,'',0,136,NULL,17,0,'',1),(133,18,'Shipping Not Required',1,6,'',0,NULL,NULL,18,1,'',1),(133,19,'Payment Method',5,4,'',0,147,NULL,19,0,'',1),(133,20,'Purchase Aproved By Admin',1,6,'',0,NULL,NULL,20,1,'',1),(133,21,'Purchase Shipped',1,6,'',0,NULL,NULL,21,1,'',1),(133,22,'Tax Rate Used',5,4,'',0,151,NULL,22,0,'',1),(133,23,'Purchase Value',3,1,'',0,NULL,NULL,23,0,'',1),(133,24,'Merchandise Value',3,1,'',0,NULL,NULL,24,0,'',1),(133,25,'Tax Value',3,1,'',0,NULL,NULL,25,0,'',1),(133,26,'Shipping Value',3,1,'',0,NULL,NULL,26,0,'',1),(133,27,'Coupon Discount Value',3,1,'',0,NULL,NULL,27,0,'',1),(133,28,'Shopping Cart Locked',1,6,'',0,NULL,NULL,28,1,'',1),(134,1,'Shopping Cart ID',5,4,'',0,133,NULL,1,1,'',1),(134,2,'Product ID',5,4,'',0,129,NULL,2,1,'',1),(134,3,'Quantity',7,1,'',0,NULL,NULL,3,0,'',1),(134,4,'Price ID',5,4,'',0,131,NULL,4,1,'',1),(134,5,'Price Value',3,1,'',0,NULL,NULL,5,0,'',1),(134,6,'Price Description',1,1,'',0,NULL,NULL,6,0,'',1),(134,7,'Product Name',1,1,'',0,NULL,NULL,7,0,'',1),(134,8,'Product Shipping is Free',1,6,'',0,NULL,NULL,8,1,'',1),(134,9,'Product Collection',5,4,'',0,4,NULL,9,1,'',1),(134,10,'Price Value (with discount)',3,1,'',0,NULL,NULL,10,0,'',1),(134,11,'Product Offer',6,2,'',0,NULL,NULL,11,0,'',1),(134,12,'Taxable',5,4,'',0,22,NULL,12,1,'',1),(135,1,'Coupon Code Description',1,1,'',0,NULL,NULL,1,0,'',1),(135,2,'Percent Discount ',7,1,'',0,NULL,0,2,0,'',1),(135,3,'Coupon Code',1,1,'',0,NULL,NULL,3,0,'',1),(135,4,'Coupon End Period',7,1,'',0,NULL,NULL,4,0,'',1),(136,1,'Delivery Methods',1,1,'',0,NULL,NULL,1,0,'',1),(136,2,'Actual Delivery',1,6,'',0,NULL,NULL,2,0,'',1),(137,1,'Product ID',5,4,'',0,129,NULL,1,0,'',1),(137,2,'Delivery Method',5,4,'',0,136,NULL,2,0,'',1),(138,1,'Shopping Cart ID',5,4,'',0,133,NULL,1,1,'{{$CartID}}',10),(138,2,'First Name',1,1,'',1,NULL,NULL,2,0,'',1),(138,3,'Last Name',1,1,'',1,NULL,NULL,3,0,'',1),(138,4,'Company',1,1,'',0,NULL,NULL,4,0,'',1),(138,5,'Address',1,1,'',1,NULL,NULL,5,0,'',1),(138,6,'Address 2',1,1,'',0,NULL,NULL,6,0,'',1),(138,7,'City',1,1,'',1,NULL,NULL,7,0,'',1),(138,8,'State',5,4,'',1,10,NULL,8,0,'36',1),(138,9,'Zip Code',1,1,'',1,NULL,NULL,9,0,'',1),(138,10,'Phone',1,1,'',1,NULL,NULL,10,0,'',1),(138,11,'Fax',1,1,'',0,NULL,NULL,11,0,'',1),(138,12,'Email',1,1,'',1,NULL,NULL,12,0,'',1),(139,1,'Shopping Cart ID',5,4,'',0,133,NULL,1,1,'{{$CartID}}',10),(139,2,'First Name',1,1,'',1,NULL,NULL,2,0,'{{$PinfoData.Collection_138_2}}',1),(139,3,'Last Name',1,1,'',1,NULL,NULL,3,0,'{{$PinfoData.Collection_138_3}}',1),(139,4,'Address',1,1,'',1,NULL,NULL,4,0,'{{$PinfoData.Collection_138_5}}',1),(139,5,'Address 2',1,1,'',0,NULL,NULL,5,0,'{{$PinfoData.Collection_138_6}}',1),(139,6,'City',1,1,'',1,NULL,NULL,6,0,'{{$PinfoData.Collection_138_7}}',1),(139,7,'State',5,4,'',1,10,NULL,7,0,'{{$PinfoData.Collection_138_8}}',1),(139,8,'Phone',1,1,'',0,NULL,NULL,8,0,'{{$PinfoData.Collection_138_10}}',1),(139,9,'Company',1,1,'',0,NULL,NULL,9,0,'{{$PinfoData.Collection_138_4}}',1),(139,10,'Zip',1,1,'',1,NULL,NULL,10,0,'{{$PinfoData.Collection_138_9}}',1),(140,1,'Credit Card Name',1,1,'',0,NULL,NULL,1,0,'',1),(141,1,'Shopping Cart ID',5,4,'',0,133,NULL,1,1,'{{$CartID}}',10),(141,2,'Card Type',5,4,'',0,140,NULL,2,0,'',1),(141,3,'Expiry Month',5,4,'',0,142,NULL,3,0,'',1),(141,4,'Expiry Year',5,4,'',0,143,NULL,4,0,'',1),(141,5,'Card Number',1,1,'',1,NULL,NULL,5,0,'',1),(141,6,'CVV2 (security code)',1,1,'',1,NULL,NULL,6,0,'',1),(141,7,'First Name on Card',1,1,'',1,NULL,NULL,7,0,'{{$PinfoData.Collection_138_2}}',1),(141,8,'Last Name on Card',1,1,'',1,NULL,NULL,8,0,'{{$PinfoData.Collection_138_3}}',1),(142,1,'Month',1,1,'',0,NULL,NULL,1,0,'',1),(143,1,'Year',7,1,'',0,NULL,NULL,1,0,'',1),(144,1,'Error Message',1,1,'',0,NULL,NULL,1,0,'',1),(146,1,'Product',5,4,'',0,129,NULL,1,0,'',1),(146,2,'Upsell Product',5,4,'',0,129,NULL,2,0,'',1),(238,3,'Event Type Color',1,1,'',0,NULL,NULL,3,0,'',1),(238,4,'Event Type Default',1,6,'',0,NULL,NULL,4,0,'',1),(147,1,'Payment Method',1,1,'',1,NULL,NULL,1,0,'',1),(147,2,'Payment Active',1,6,'',0,NULL,NULL,2,0,'',1),(148,1,'Bank Account Type',1,1,'',1,NULL,NULL,1,0,'',1),(149,1,'Shopping Cart ID',5,4,'',0,133,NULL,1,1,'{{$CartID}}',10),(149,2,'Bank Name',1,1,'',1,NULL,NULL,2,0,'',1),(149,3,'Customer??€â„?s Bank??€â„?s ABA Routing Number',1,1,'',1,NULL,NULL,3,0,'',1),(149,4,'Bank Account Type',5,4,'',1,148,NULL,4,0,'',1),(149,5,'Bank Account Number',1,1,'',1,NULL,NULL,5,0,'',1),(150,1,'Shopping Cart ID',5,4,'',0,133,NULL,1,1,'{{$CartID}}',1),(151,1,'State',5,4,'',1,10,NULL,1,0,'',1),(151,2,'Rate',3,1,'',1,NULL,NULL,2,0,'',1),(152,1,'Product Parent',5,4,'',0,129,NULL,1,0,'',1),(152,2,'Product Child',5,4,'',0,129,NULL,2,0,'',1),(153,1,'Range Name',1,1,'',1,NULL,NULL,1,0,'',1),(153,2,'Lower Range',3,1,'',1,NULL,NULL,2,0,'',1),(153,3,'Higher Range',3,1,'',1,NULL,NULL,3,0,'',1),(154,1,'Price Range',5,4,'',1,153,NULL,1,0,'',1),(154,2,'Delivery Method',5,4,'',1,136,NULL,2,0,'',1),(154,3,'Price Value',3,1,'',1,NULL,NULL,3,0,'',1),(159,1,'Email From Name for new users',1,1,'',0,NULL,NULL,1,0,'',1),(159,2,'Email Address for new users',1,1,'',0,NULL,NULL,2,0,'',1),(159,3,'Email Subject for new users',1,1,'',0,NULL,NULL,3,0,'',1),(159,4,'Email From Name for receipt',1,1,'',0,NULL,NULL,4,0,'',1),(159,5,'Email Address for receipt',1,1,'',0,NULL,NULL,5,0,'',1),(159,6,'Email Subject for receipt',1,1,'',0,NULL,NULL,6,0,'',1),(159,7,'Email From Name for admin receipt',1,1,'',0,NULL,NULL,7,0,'',1),(159,8,'Email Addres for admin receipt',1,1,'',0,NULL,NULL,8,0,'',1),(159,9,'Email Subject for admin receipt',1,1,'',0,NULL,NULL,9,0,'',1),(159,10,'Email To for admin receipt',1,1,'',0,NULL,NULL,10,0,'',1),(159,11,'Setting Enabled',1,6,'',0,NULL,NULL,11,0,'',1),(160,1,'Option',5,4,'',0,129,NULL,1,0,'',1),(160,2,'Product',5,4,'',0,129,NULL,2,0,'',1),(162,1,'Rule Name',1,1,'',1,NULL,NULL,1,0,'',1),(162,2,'Rule Code',6,2,'',0,NULL,NULL,2,0,'',1),(163,1,'Product',5,4,'',0,129,NULL,1,0,'',1),(163,2,'Rule',5,4,'',0,162,NULL,2,0,'',1),(163,3,'Start Date',7,1,'',0,NULL,NULL,3,0,'',1),(163,4,'End Date',7,1,'',0,NULL,NULL,4,0,'',1),(236,20,'Event Color',1,1,'',0,NULL,NULL,20,0,'',1),(236,21,'Event Type',5,4,'',0,238,NULL,21,0,'',1),(304,1,'Admin Name',1,1,'',0,NULL,0,1,0,'',1),(304,2,'Active',5,4,'',0,22,1,2,0,'',1),(304,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(304,4,'Headline',6,1,'',0,NULL,0,4,0,'',1),(304,5,'Copy',6,2,'',0,NULL,0,5,0,'',1),(304,6,'Button Text',1,1,'',0,NULL,0,6,0,'',1),(94,1,'Collection Formula Description',1,1,'',0,NULL,NULL,1,0,'',1),(94,2,'Collection Formula Code',6,2,'',0,NULL,NULL,2,0,'',1),(8,6,'Parent Menu',5,4,'',0,8,NULL,6,0,'',1),(276,7,'Parent Menu',5,4,'',0,276,NULL,7,0,'',1),(38,9,'Sort Order',7,1,'',0,NULL,NULL,9,0,'',1),(13,9,'Content JS Code',6,2,'',0,NULL,NULL,9,0,'',1),(13,8,'Content JS Includes',6,2,'',0,NULL,0,8,0,'',1),(38,10,'Parent Menu',5,4,'',0,38,NULL,10,0,'',1),(8,7,'Sort Order',7,1,'',0,NULL,NULL,7,0,'',1),(95,1,'Workflow Name',1,1,'',1,NULL,NULL,1,0,'',1),(95,2,'Collection Data',5,4,'',1,4,NULL,2,0,'',1),(95,3,'Sort Order',7,1,'',1,NULL,NULL,3,0,'',1),(95,4,'Active',1,6,'',0,NULL,NULL,4,0,'',1),(95,5,'Notes',6,2,'',0,NULL,NULL,5,0,'',1),(96,1,'Collection',5,4,'',1,4,NULL,1,0,'',1),(103,1,'Workflow apply',1,1,'',1,NULL,NULL,1,0,'',1),(96,2,'Apply In',5,4,'',1,103,NULL,2,0,'',1),(96,3,'Active',1,6,'',0,NULL,NULL,3,0,'',1),(96,4,'Write to Database',1,6,'',0,NULL,NULL,4,0,'',1),(97,1,'Collection',5,4,'',1,4,NULL,1,0,'',1),(97,2,'Apply In',5,4,'',1,103,NULL,2,0,'',1),(97,3,'Active',1,6,'',0,NULL,NULL,3,0,'',1),(97,4,'To Name ',1,1,'',1,NULL,NULL,4,0,'',1),(97,5,'To Email Address ',1,1,'',1,NULL,NULL,5,0,'',1),(97,6,'From Name ',1,1,'',1,NULL,NULL,6,0,'',1),(97,7,'From Email Address ',1,1,'',1,NULL,NULL,7,0,'',1),(97,8,'Email Host ',1,1,'',0,NULL,NULL,8,0,'',1),(97,9,'Email Subject ',1,1,'',1,NULL,NULL,9,0,'',1),(97,10,'Email Page ',5,4,'',1,17,NULL,10,0,'',1),(98,1,'Collection',5,4,'',1,4,NULL,1,0,'',1),(98,2,'Apply In',5,4,'',1,103,NULL,2,0,'',1),(98,3,'Active',1,6,'',0,NULL,NULL,3,0,'',1),(98,4,'URL to Redirect ',1,1,'',0,NULL,NULL,4,0,'',1),(98,5,'Redirect to https ',1,6,'',0,NULL,NULL,5,0,'',1),(31,8,'Execute in Front End',1,6,'',0,NULL,NULL,8,0,'',1),(97,11,'Email HTML Format ',1,6,'',0,NULL,NULL,11,0,'',1),(99,9,'Email Template',5,4,'',1,17,NULL,9,0,'',1),(99,1,'Collection',5,4,'',1,4,NULL,1,0,'',1),(99,2,'Apply In',5,4,'',1,103,NULL,2,0,'',1),(99,3,'Active',1,6,'',0,NULL,NULL,3,0,'',1),(99,4,'Email Verification Goes To ',1,1,'',1,NULL,NULL,4,0,'',1),(99,5,'Email From Address ',1,1,'',1,NULL,NULL,5,0,'',1),(99,6,'Email From Name ',1,1,'',1,NULL,NULL,6,0,'',1),(99,7,'Email Subject ',1,1,'',1,NULL,NULL,7,0,'',1),(99,8,'Email Note ',6,2,'',0,NULL,NULL,8,0,'',1),(100,1,'Collection',5,4,'',1,4,NULL,1,0,'',1),(100,2,'ReferenceID',7,1,'',1,NULL,NULL,2,0,'',1),(100,3,'ChangedDataID',7,1,'',1,NULL,NULL,3,0,'',1),(100,4,'Action',5,4,'',1,103,NULL,4,0,'',1),(100,5,'User',5,4,'',1,1,NULL,5,0,'',1),(100,6,'Timestamp',7,1,'',1,NULL,NULL,6,0,'',2),(101,1,'Collection',5,4,'',1,4,NULL,1,0,'',1),(101,2,'Appy In',5,4,'',1,103,NULL,2,0,'',1),(101,3,'Active',1,6,'',0,NULL,NULL,3,0,'',1),(101,4,'Enable Rules Execution',1,6,'',0,NULL,NULL,4,0,'',1),(30,8,'Execute in Front End',1,6,'',0,NULL,NULL,8,0,'',1),(102,1,'Collection',5,4,'',1,4,NULL,1,0,'',1),(102,2,'Apply In',5,4,'',1,103,NULL,2,0,'',1),(102,3,'Active',1,6,'',0,NULL,NULL,3,0,'',1),(102,4,'Enable Simple Behaviour Execution',1,6,'',0,NULL,NULL,4,0,'',1),(95,6,'Workflow Code',6,2,'',0,NULL,NULL,6,0,'',1),(31,9,'Sort Order',7,1,'',0,NULL,NULL,9,0,'',1),(30,9,'Sort Order',7,1,'',0,NULL,NULL,9,0,'',1),(103,2,'Workflow apply sort order',7,1,'',0,NULL,NULL,2,0,'',1),(95,7,'Workflow Template',6,2,'',0,NULL,NULL,7,0,'',1),(95,8,'Workflow Save Code',6,2,'',0,NULL,NULL,8,0,'',1),(99,10,'Email Verification Goes To Name',1,1,'',1,NULL,NULL,10,0,'',1),(104,3,'Active ',1,6,'',0,NULL,NULL,3,0,'',1),(104,1,'Collection ',5,4,'',1,4,NULL,1,0,'',1),(104,2,'Apply In',5,4,'',1,103,NULL,2,0,'',1),(105,1,'Collection ',5,4,'',1,4,NULL,1,0,'',1),(105,2,'User ID ',5,4,'',1,1,NULL,2,0,'',1),(105,3,'Row ID ',7,1,'',0,NULL,NULL,3,0,'',1),(105,4,'Action ',5,4,'',0,103,NULL,4,0,'',1),(105,5,'Time ',7,1,'',0,NULL,NULL,5,0,'',1),(324,1,'Feed Name',1,1,'',0,NULL,NULL,1,0,'',1),(324,2,'Feed URL ',1,1,'',0,NULL,NULL,2,0,'',1),(324,3,'Limit Results ',7,1,'',0,NULL,NULL,3,0,'',1),(94,3,'Formula Creates File',1,6,'',0,NULL,0,3,0,'',1),(12,19,'Site Cache Enabled',1,6,'',0,NULL,0,19,0,'',1),(2,7,'WelcomeContentID',5,4,'',0,13,1,7,0,'',1),(327,1,'Number',1,1,'',1,NULL,0,1,0,'',1),(327,2,'Description',1,1,'',1,NULL,0,2,0,'',1),(80,4,'Gallery Image',1,1,'',1,NULL,0,4,0,'',1),(12,14,'IfByPhone API Key',1,1,'',0,NULL,0,14,0,'',1),(339,8,'Collection column that orders results',7,4,'',0,NULL,0,8,0,'',1),(339,7,'Collection column that stores Date',7,4,'',0,NULL,0,7,0,'',1),(339,3,'RSS Title',1,1,'',0,NULL,0,3,0,'',1),(339,4,'RSS Description',1,1,'',0,NULL,0,4,0,'',1),(339,5,'Collection column that stores Title ',7,4,'',0,NULL,0,5,0,'',1),(339,6,'Collection column that stores Descrpition',7,4,'',0,NULL,0,6,0,'',1),(339,2,'Collection',5,4,'',0,4,1,2,0,'',1),(339,1,'Rss Feed Name',1,1,'',0,NULL,0,1,0,'',1),(4,4,'Tab On Collection Profile',5,4,'',0,9,1,4,0,'',1),(147,3,'Payment Content On Payment Info Page ',6,2,'',0,NULL,0,3,0,'',1),(135,7,'Description',6,2,'',0,NULL,0,7,0,'',1),(135,6,'Free Shipping ',1,6,'',0,NULL,0,6,0,'',1),(135,5,'Ammount Discount ',3,1,'',0,NULL,0,5,0,'',1),(339,12,'Limit Results',7,1,'',0,NULL,0,12,0,'',1),(12,18,'Google Maps API Key',1,1,'',0,NULL,0,18,0,'',1),(341,1,'Discount Name ',1,1,'',0,NULL,0,1,0,'',1),(133,30,'ZIP Code',1,1,'',0,NULL,0,30,0,'',1),(341,2,'Sort Order ',7,1,'',0,NULL,0,2,0,'',1),(341,3,'Active ',1,6,'',0,NULL,0,3,0,'',1),(341,4,'Code On Add to Cart ',6,2,'',0,NULL,0,4,0,'',1),(341,5,'Code On Update Cart ',6,2,'',0,NULL,0,5,0,'',1),(341,6,'Code On Remove from Cart ',6,2,'',0,NULL,0,6,0,'',1),(341,7,'Code On Display Product ',6,2,'',0,NULL,0,7,0,'',1),(342,1,'Product ',5,4,'',0,129,1,1,0,'',1),(342,2,'Discount',5,4,'',0,341,1,2,0,'',1),(134,13,'Product Added By Offer',1,1,'',0,NULL,0,13,1,'',1),(130,7,'Parent Category',5,4,'',0,130,1,7,0,'',1),(130,8,'Category Display Name ',1,1,'',0,NULL,0,8,0,'',1),(130,9,'Sort Order',7,1,'',0,NULL,0,9,0,'',1),(339,9,'Sort Order Descending',1,6,'',0,NULL,0,9,0,'',1),(339,10,'Link Format',1,1,'',0,NULL,0,10,0,'',1),(339,11,'RSS Sepcial Code',6,2,'',0,NULL,1,11,0,'',1),(4,3,'Collection Description',6,2,'',0,NULL,0,3,0,'',1),(12,15,'Google Analytics Login Username',1,1,'',0,NULL,0,15,0,'',1),(12,16,'Google Analytics Login Password',1,1,'',0,NULL,0,16,0,'',1),(12,17,'Google Analytics Website Profile',1,1,'',0,NULL,0,17,0,'',1),(276,8,'Replace Link With Dynamic Content ',1,6,'',0,NULL,0,8,0,'',1),(276,9,'Dynamic Code ',6,2,'',0,NULL,0,9,0,'',1),(80,3,'Active',1,6,'',0,NULL,0,3,0,'',1),(81,6,'Sort Order',7,1,'',0,NULL,0,6,0,'',1),(12,20,'Disk Quota (MB) ',7,1,'',0,NULL,0,20,0,'',1),(399,3,'Destination URL',1,1,'',1,NULL,0,3,0,'',1),(390,2,'Storage Name ',1,1,'',1,NULL,0,2,0,'',1),(390,3,'Consumer Key ',1,1,'',1,NULL,0,3,0,'',1),(392,1,'Storage Name',1,1,'',1,NULL,0,1,0,'',1),(392,2,'Sort Order',7,1,'',1,NULL,0,2,0,'',1),(381,2,'File Type',5,4,'',0,383,1,2,0,'',1),(381,1,'File Name',1,1,'',1,NULL,0,1,0,'',1),(383,1,'Type',1,1,'',1,NULL,0,1,0,'',1),(398,1,'File Type',5,4,'',1,383,1,1,0,'',1),(389,3,'aws_secret',1,1,'',1,NULL,0,3,0,'',1),(389,4,'aws_bucket',1,1,'',1,NULL,0,4,0,'',1),(12,25,'Google UA Code',1,1,'',0,NULL,0,25,0,'',1),(389,2,'aws_key ',1,1,'',1,NULL,0,2,0,'',1),(25,3,'Function Code',6,2,'',0,NULL,0,3,0,'',1),(393,1,'URL ',1,1,'',0,NULL,0,1,0,'',1),(395,1,'Code Name',1,1,'',0,NULL,0,1,0,'',1),(395,2,'Actual Code',6,2,'',0,NULL,0,2,0,'',1),(395,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(395,4,'Active',1,6,'',0,NULL,0,4,0,'',1),(394,1,'Code Name',1,1,'',0,NULL,0,1,0,'',1),(394,2,'Actual Code',6,2,'',0,NULL,0,2,0,'',1),(394,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(394,4,'Active',1,6,'',0,NULL,0,4,0,'',1),(12,21,'Visitor Based Behaviours Enabled',1,6,'',0,NULL,0,21,0,'',1),(396,4,'Sort Order',7,1,'',0,NULL,0,4,0,'',1),(396,1,'Link',5,4,'',1,393,1,1,0,'',1),(396,2,'Link',1,1,'',1,NULL,0,2,0,'',1),(396,3,'Text',1,1,'',1,NULL,0,3,0,'',1),(12,22,'Support Phone Number',1,1,'',0,NULL,0,22,0,'',1),(12,23,'Support Email Address',1,1,'',0,NULL,0,23,0,'',1),(392,3,'Active',1,6,'',0,NULL,0,3,0,'',1),(390,4,'Consumer Secret',1,1,'',1,NULL,0,4,0,'',1),(389,5,'public_path ',1,1,'',1,NULL,0,5,0,'',1),(389,6,'Storage Name ',1,1,'',1,NULL,0,6,0,'',1),(397,2,'Storage Name',1,1,'',1,NULL,0,2,0,'',1),(399,1,'Code Description',1,1,'',1,NULL,0,1,0,'',1),(397,3,'Folder Path',1,1,'',1,NULL,0,3,0,'',1),(12,24,'Remote Storage Active',1,6,'',0,NULL,0,24,0,'',1),(392,4,'Local Storage',1,6,'',0,NULL,0,4,0,'',1),(392,5,'Collection That Stores Params',5,4,'',1,4,1,5,0,'',1),(392,6,'Collection Field ID to Order Folders',7,1,'',0,NULL,0,6,0,'',1),(392,7,'Default Storage Option',1,6,'',0,NULL,0,7,0,'',1),(390,5,'Default',1,6,'',0,NULL,0,5,0,'',1),(397,4,'Default',1,6,'',0,NULL,0,4,0,'',1),(389,7,'Default',1,6,'',0,NULL,0,7,0,'',1),(392,8,'Param Default Column ID ',7,1,'',0,NULL,0,8,0,'',1),(398,2,'Mime Type',1,1,'',1,NULL,0,2,0,'',1),(383,2,'Default Type',1,6,'',0,NULL,0,2,0,'',1),(381,3,'File Path',6,1,'',0,NULL,0,3,0,'',1),(381,4,'Upload Date',7,1,'',0,NULL,0,4,0,'',1),(381,5,'Storage Used ',5,4,'',0,392,1,5,0,'',1),(381,6,'Folder Used ',7,1,'',0,NULL,0,6,0,'',1),(381,7,'User',5,4,'',0,1,1,7,0,'',1),(381,8,'Uploaded File Name',1,1,'',0,NULL,0,8,0,'',1),(390,6,'Access Token',1,1,'',0,NULL,0,6,0,'',1),(390,7,'Access Token Secret',1,1,'',0,NULL,0,7,0,'',1),(383,3,'Ck Editor Storage Type',5,4,'',0,392,1,3,0,'',1),(383,4,'Ck Editor Folder ID to Use',7,1,'',0,NULL,0,4,0,'',1),(383,5,'Ck Editor Upload Type Used',1,1,'',0,NULL,0,5,0,'',1),(399,4,'QR Image',1,7,'',0,NULL,0,4,0,'',1),(13,10,'Content CSS includes',6,2,'',0,NULL,0,10,0,'',1),(136,3,'Price',3,1,'',0,NULL,0,3,0,'',1),(399,5,'Publish Date',4,1,'',1,NULL,0,5,0,'',1),(399,6,'End Date',4,1,'',1,NULL,0,6,0,'',1),(399,7,'Campaign Name',1,1,'',1,NULL,0,7,0,'',1),(399,8,'utm_source',1,1,'utm_source',0,NULL,0,8,0,'',1),(399,9,'utm_medium',1,1,'utm_medium',0,NULL,0,9,0,'',1),(399,10,'utm_content',1,1,'utm_content',0,NULL,0,10,0,'',1),(399,11,'utm_campaign',1,1,'utm_campaign',0,NULL,0,11,0,'qr',1),(12,26,'Mimify JS and CSS',1,6,'',0,NULL,0,26,0,'',1),(400,1,'Content Description',1,1,'',0,NULL,0,1,0,'',1),(400,2,'Place',5,4,'',0,400,1,2,0,'',1),(403,1,'Page Type',1,1,'',0,NULL,0,1,0,'',1),(403,2,'Template',5,4,'',0,13,1,2,0,'',1),(403,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(403,4,'XLS Code',1,1,'',0,NULL,0,4,0,'',1),(403,5,'Content Format ',5,4,'',0,15,1,5,0,'',1),(401,1,'Original URL ',1,1,'',1,NULL,0,1,0,'',1),(401,2,'Destination URL ',1,1,'',1,NULL,0,2,0,'',1),(403,6,'Content Type',5,4,'',0,14,1,6,0,'',1),(403,7,'Content Build Special Code',6,2,'',0,NULL,0,7,0,'',1),(404,1,'Content',5,4,'',1,400,1,1,0,'',1),(404,2,'Field ID',1,1,'',1,NULL,0,2,0,'',1),(404,3,'Field Description',6,1,'',0,NULL,0,3,0,'',1),(404,4,'Extra JS',6,2,'',0,NULL,0,4,0,'',1),(405,1,'Admin Name',1,1,'',0,NULL,0,1,0,'',1),(405,2,'Content Migration Collection Field ID',7,1,'',0,NULL,0,2,0,'',1),(405,3,'Content Migration Collection Field ID',7,1,'',0,NULL,0,3,0,'',1),(400,3,'Template',5,4,'',0,403,1,3,0,'',1),(400,4,'Title Tag',6,1,'',0,NULL,0,4,0,'',1),(400,5,'H1',6,1,'',0,NULL,0,5,0,'',1),(400,6,'Body Copy ',6,2,'',0,NULL,0,6,0,'',1),(400,7,'Notes',6,2,'',0,NULL,0,8,0,'',1),(398,3,'Allow Upload',1,6,'',0,NULL,0,3,0,'',1),(276,10,'Flyout Image',1,1,'',0,NULL,0,10,0,'',1),(276,11,'Flyout URL',6,1,'',0,NULL,0,11,0,'',1),(13,11,'Header Desktop Image (765x286)',1,1,'',0,NULL,0,11,0,'',1),(13,12,'Header Tablet Image (588x261)',1,1,'',0,NULL,0,12,0,'',1),(13,13,'Header Mobile Image (320x161)',1,1,'',0,NULL,0,13,0,'',1),(13,14,'H1',6,1,'',0,NULL,0,14,0,'',1),(408,1,'Adlet Admin Name',1,1,'',0,NULL,0,1,0,'',1),(408,2,'Headline',6,1,'',0,NULL,0,2,0,'',1),(408,3,'Copy',6,2,'',0,NULL,0,3,0,'',1),(408,4,'Image (275x183)',1,1,'',0,NULL,0,4,0,'',1),(409,1,'Content',5,4,'',1,13,1,1,1,'',1),(409,2,'Adlet',5,4,'',1,408,1,2,0,'',1),(13,15,'Intro Paragraph',6,2,'',0,NULL,0,15,0,'',1),(13,16,'Inset Image (113x113)',1,1,'',0,NULL,0,16,0,'',1),(13,17,'Inset Image Caption',6,2,'',0,NULL,0,17,0,'',1),(409,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(408,5,'Active',5,4,'',0,22,1,5,0,'',1),(410,1,'Admin Name',1,1,'',0,NULL,0,1,0,'',1),(410,2,'Active',5,4,'',0,22,1,2,0,'',1),(410,3,'Quote',6,2,'',0,NULL,0,3,0,'',1),(410,4,'Company Name',1,1,'',0,NULL,0,4,0,'',1),(410,5,'Contact Name',1,1,'',0,NULL,0,5,0,'',1),(412,1,'Benefit',1,1,'',0,NULL,0,1,0,'',1),(412,2,'Active',5,4,'',0,22,1,2,0,'',1),(412,3,'Image (39x39)',1,1,'',0,NULL,0,3,0,'',1),(412,4,'Copy',6,2,'',0,NULL,0,4,0,'',1),(413,1,'Content',5,4,'',1,13,1,1,0,'',1),(413,2,'Benefit',5,4,'',1,412,1,2,0,'',1),(413,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(13,18,'Lander Image',1,1,'',0,NULL,0,18,0,'',1),(414,1,'Admin Name',1,1,'',0,NULL,0,1,0,'',1),(414,2,'Active ',5,4,'',0,22,1,2,0,'',1),(414,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(414,4,'Image (height - 61 px)',1,1,'',0,NULL,0,4,0,'',1),(414,5,'URL',6,1,'',0,NULL,0,5,0,'',1),(12,27,'Homepage Youtube Image',1,1,'',0,NULL,0,27,0,'',1),(12,28,'Homepage Youtube Heading',1,1,'',0,NULL,0,28,0,'',1),(12,29,'Homepage Youtube URL',6,1,'',0,NULL,0,29,0,'',1),(411,1,'Content',5,4,'',0,13,1,1,0,'',1),(411,2,'Quote',5,4,'',0,410,1,2,0,'',1),(304,7,'Button URL',1,1,'',0,NULL,0,7,0,'',1),(304,8,'Button Under Headline Text',1,1,'',0,NULL,0,8,0,'',1),(304,9,'Button Under Headline URL',1,1,'',0,NULL,0,9,0,'',1),(304,10,'Desktop Image (1460x671)',1,1,'',0,NULL,0,11,0,'',1),(304,11,'Tablet Image (850x685)',1,1,'',0,NULL,0,12,0,'',1),(304,12,'Mobile Image (320x158)',1,1,'',0,NULL,0,13,0,'',1),(304,13,'Subhead',6,1,'',0,NULL,0,5,0,'',1),(415,1,'Rotator',5,4,'',0,304,1,1,0,'',1),(415,2,'Quote',5,4,'',1,410,1,2,0,'',1),(415,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(416,1,'Tab Name',1,1,'',0,NULL,0,1,0,'',1),(416,2,'Active',5,4,'',0,22,1,2,0,'',1),(416,3,'Sort Order',7,1,'',0,NULL,0,3,0,'',1),(416,4,'Image (254x204)',1,1,'',0,NULL,0,4,0,'',1),(416,5,'Heading',6,1,'',0,NULL,0,5,0,'',1),(416,6,'Copy',6,2,'',0,NULL,0,6,0,'',1),(416,7,'Button Text',1,1,'',0,NULL,0,7,0,'',1),(416,8,'Button URL',1,1,'',0,NULL,0,8,0,'',1),(416,9,'Quote',5,4,'',0,410,1,9,0,'',1),(400,8,'Sub Headline',6,2,'',0,NULL,0,6,0,'',1),(412,5,'Promote to Homepage',5,4,'',0,22,1,5,0,'',1),(412,6,'Homepage Sort Order',7,1,'',0,NULL,0,6,0,'',1),(417,1,'Name',1,1,'',1,NULL,0,1,0,'',1),(417,2,'Email',1,1,'',1,NULL,0,2,0,'',1),(417,3,'Message',6,2,'',1,NULL,0,3,0,'',1),(417,4,'Timestamp',7,1,'',0,NULL,0,4,1,'',2),(236,22,'Event Abstract',6,2,'',0,NULL,0,22,0,'',1);

--
-- Table structure for table `CollectionTemplates`
--

CREATE TABLE `CollectionTemplates` (
  `CollectionTemplateID` bigint(20) NOT NULL AUTO_INCREMENT,
  `CollectionTemplateName` varchar(255) NOT NULL DEFAULT '',
  `CollectionID` bigint(20) NOT NULL DEFAULT '0',
  `CollectionTemplateContent` text NOT NULL,
  PRIMARY KEY (`CollectionTemplateID`)
) ENGINE=MyISAM AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `CollectionTemplates`
--

INSERT INTO `CollectionTemplates` VALUES (2,'Admin Template',13,'<div id=\"contentTabsHeading\"><table border=0 cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"contentToolsHeading\"></table></div>\r\n<div id=\"contentTabs\">\r\n	<ul>\r\n		<li><a href=\"#fragment-1\"><span>Content</span></a></li>\r\n		<li><a href=\"#fragment-4\"><span>Advanced Elements</span></a></li>\r\n		<li><a href=\"#fragment-2\"><span>User Access</span></a></li>\r\n		<li><a href=\"#fragment-3\"><span>Includes</span></a></li>\r\n	</ul>\r\n	\r\n		\r\n	<div id=\"fragment-1\">\r\n		<table border=0 cellpadding=\"2\" cellspacing=\"2\" id=\"simpleToolsTable\" width=\"100%\">\r\n			<tr valign=\"top\" id=\"Collection_13_1_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_1}}</td><td>{{$HTMLFieldCode_Collection_13_1}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_13_3_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_3}}</td><td>{{$HTMLFieldCode_Collection_13_3}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_13_4_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_4}}</td><td>{{$HTMLFieldCode_Collection_13_4}}</td></tr>\r\n\r\n			<tr valign=\"top\" id=\"Collection_13_14_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_14}}</td><td>{{$HTMLFieldCode_Collection_13_14}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_13_15_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_15}}</td><td>{{$HTMLFieldCode_Collection_13_15}}</td></tr>\r\n\r\n			<tr valign=\"top\" id=\"Collection_13_6_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_6}}</td><td>{{$HTMLFieldCode_Collection_13_6}}</td></tr>\r\n			\r\n			\r\n		</table>\r\n	</div>\r\n\r\n	<div id=\"fragment-4\">\r\n		<table border=0 cellpadding=\"2\" cellspacing=\"2\" id=\"simpleToolsTable\" width=\"100%\">\r\n			<tr valign=\"top\" id=\"Collection_13_11_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_11}}</td><td>{{$HTMLFieldCode_Collection_13_11}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_13_12_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_12}}</td><td>{{$HTMLFieldCode_Collection_13_12}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_13_13_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_13}}</td><td>{{$HTMLFieldCode_Collection_13_13}}</td></tr>\r\n\r\n			<tr valign=\"top\" id=\"Collection_13_18_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_18}}</td><td>{{$HTMLFieldCode_Collection_13_18}}</td></tr>\r\n\r\n			<tr valign=\"top\" id=\"Collection_13_16_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_16}}</td><td>{{$HTMLFieldCode_Collection_13_16}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_13_17_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_17}}</td><td>{{$HTMLFieldCode_Collection_13_17}}</td></tr>\r\n			\r\n\r\n			\r\n\r\n			<tr valign=\"top\" id=\"Collection_409_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLComplexXREFFieldNameCode_409}}</td><td>{{$HTMLComplexXREFCode_409}}</td></tr>\r\n			<tr valign=\"top\" id=\"AllValuesField_413_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLComplexXREFFieldNameCode_413}}</td><td>{{$HTMLComplexXREFCode_413}}</td></tr>\r\n\r\n			<tr valign=\"top\" id=\"AllValuesField_410_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLSimpleXREFFieldNameCode_410}}</td><td>{{$HTMLSimpleXREFCode_410}}</td></tr>\r\n\r\n\r\n\r\n			<tr valign=\"top\" id=\"Collection_13_2_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_2}}</td><td>{{$HTMLFieldCode_Collection_13_2}}</td></tr>\r\n\r\n\r\n			\r\n\r\n\r\n\r\n\r\n			<tr valign=\"top\" id=\"Collection_13_7_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_7}}</td><td>{{$HTMLFieldCode_Collection_13_7}}</td></tr>\r\n		</table>\r\n	</div>\r\n		\r\n	<div id=\"fragment-2\">\r\n		<table id=\"advancedToolsTable\" border=0 cellpadding=\"2\" cellspacing=\"2\">\r\n				<tr valign=\"top\" id=\"AllValuesField_2_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLSimpleXREFFieldNameCode_2}}</td><td>{{$HTMLSimpleXREFCode_2}}</td></tr>\r\n				<tr valign=\"top\" id=\"useraccessobject_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLUserAccessFieldNameCode}}</td><td>{{$HTMLUserAccessXREFCode}}</td></tr>\r\n		</table>\r\n	</div>\r\n	<div id=\"fragment-3\">\r\n		<table width=\"100%\" id=\"jsToolsTable\" border=0 cellpadding=\"2\" cellspacing=\"2\">\r\n			<tr valign=\"top\" id=\"Collection_13_10_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_10}}</td><td>{{$HTMLFieldCode_Collection_13_10}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_13_8_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_8}}</td><td>{{$HTMLFieldCode_Collection_13_8}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_13_9_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_13_9}}</td><td>{{$HTMLFieldCode_Collection_13_9}}</td></tr>\r\n		</table>\r\n	</div>\r\n</div>\r\n\r\n<div id=\"form-buttons\">{{$HTMLFormButtons}}</div>\r\n	\r\n{{capture name=a assign=contenttabs}}\r\n	$(\'#contentTabs\').tabs();\r\n	\r\n	$(\'#Collection_13_8\').css(\'width\', \'100%\');\r\n	$(\'#Collection_13_9\').css(\'width\', \'100%\');\r\n	$(\'#Collection_13_10\').css(\'width\', \'100%\');\r\n	$(\'#Collection_13_8\').css(\'height\', \'100px\');\r\n	$(\'#Collection_13_9\').css(\'height\', \'300px\');\r\n	$(\'#Collection_13_10\').css(\'height\', \'100px\');\r\n	$(\'#Collection_13_1\').css(\'width\', \'100%\');\r\n	$(\'#Collection_13_2\').css(\'width\', \'100%\');\r\n	\r\n	{{if $UseAsDialog eq 1}} $(\'#admin_content\').css(\'margin\', \'0px\'); {{/if}}\r\n	$(\'#form-buttons\').css(\'padding-top\',\'10px\');\r\n{{/capture}}\r\n{{assign var=JavascriptJQueryCode value=$JavascriptJQueryCode|concat:\" \"|concat:$contenttabs}}'),(9,'Add Comment',62,'<div id=\"register\">\r\n<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n    <tbody>\r\n        <tr>\r\n            <td>\r\n            <h4>Title</h4>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td>\r\n            <div id=\"smarty_plugin\" name=\"Collection_62_1\">{{displayCollectionField CollectionID=62 FieldID=1}}</div>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td>\r\n            <h4>Comment</h4>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td>\r\n            <div id=\"smarty_plugin\" name=\"Collection_62_2\">{{displayCollectionField CollectionID=62 FieldID=2}}</div>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td><input class=\"button\" type=\"submit\" value=\"Post Comment\" /></td>\r\n        </tr>\r\n    </tbody>\r\n</table>\r\n</div>'),(3,'Test',11,'<h3>Test template</h3>\r\n<p>&nbsp;</p>\r\n<div id=\"smarty_plugin\" name=\"Collection_11_1\">{{displayCollectionField CollectionID=11 FieldID=1}}</div>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;<input type=\"submit\" name=\"Submit Form\" value=\"Save Country\" /></p>'),(5,'Register Form',1,'<div id=\"register\">\r\n<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n    <tbody>\r\n        <tr valign=\"top\">\r\n            <td>\r\n            <table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td colspan=\"2\">\r\n                        <h3>Login Information</h3>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>User Name</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_1\">{{displayCollectionField CollectionID=1 FieldID=1}}</div>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Password</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_2\">{{displayCollectionField CollectionID=1 FieldID=2}}</div>\r\n                        </td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n            <td width=\"20\">&nbsp;</td>\r\n            <td>\r\n            <table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td colspan=\"2\">\r\n                        <h3>Personal Information</h3>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>First Name</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_4\">{{displayCollectionField CollectionID=1 FieldID=4}}</div>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Last Name</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_3\">{{displayCollectionField CollectionID=1 FieldID=3}}</div>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Email</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_5\">{{displayCollectionField CollectionID=1 FieldID=5}}</div>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Receive Newsletter</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_9\">{{displayCollectionField CollectionID=1 FieldID=9}}</div>\r\n                        </td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td align=\"center\" colspan=\"3\"><input class=\"button\" type=\"submit\" value=\"Register\" /></td>\r\n        </tr>\r\n    </tbody>\r\n</table>\r\n</div>'),(4,'Front Template',23,'<p></p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p>\r\n<div id=\"smarty_plugin\" name=\"Collection_23_1\">{{displayCollectionField CollectionID=23 FieldID=1}}</div>\r\n<div id=\"smarty_plugin\" name=\"Collection_23_2\">{{displayCollectionField CollectionID=23 FieldID=2}}</div>\r\n<div id=\"smarty_plugin\" name=\"Collection_23_3\">{{displayCollectionField CollectionID=23 FieldID=3}}</div>\r\n<div id=\"smarty_plugin\" name=\"Collection_23_4\">{{displayCollectionField CollectionID=23 FieldID=4}}</div>\r\n</p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p>\r\n<div id=\"smarty_plugin\" name=\"CollectionXref_23_2\">{{displayCollectionXrefField CollectionID=23 FieldID=2}}</div>\r\n</p>\r\n<p></p>\r\n<p></p>\r\n<p></p>\r\n<p></p>'),(6,'Edit Account',1,'<div id=\"register\">\r\n<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n    <tbody>\r\n        <tr valign=\"top\">\r\n            <td>\r\n            <table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td colspan=\"2\">\r\n                        <h3>Login Information</h3>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>User Name</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_1\">{{displayCollectionField CollectionID=1 FieldID=1}}</div>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Password</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_2\">{{displayCollectionField CollectionID=1 FieldID=2}}</div>\r\n                        </td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n            <td width=\"20\">&nbsp;</td>\r\n            <td>\r\n            <table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n                <tbody>\r\n                    <tr>\r\n                        <td colspan=\"2\">\r\n                        <h3>Personal Information</h3>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>First Name</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_4\">{{displayCollectionField CollectionID=1 FieldID=4}}</div>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Last Name</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_3\">{{displayCollectionField CollectionID=1 FieldID=3}}</div>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Email</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_5\">{{displayCollectionField CollectionID=1 FieldID=5}}</div>\r\n                        </td>\r\n                    </tr>\r\n                    <tr>\r\n                        <td>Receive Newsletter</td>\r\n                        <td>\r\n                        <div id=\"smarty_plugin\" name=\"Collection_1_9\">{{displayCollectionField CollectionID=1 FieldID=9}}</div>\r\n                        </td>\r\n                    </tr>\r\n                </tbody>\r\n            </table>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td align=\"center\" colspan=\"3\"><input class=\"button\" type=\"submit\" value=\"Edit Account\" /></td>\r\n        </tr>\r\n    </tbody>\r\n</table>\r\n</div>'),(10,'Edit Comment',62,'<div id=\"register\">\r\n<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n    <tbody>\r\n        <tr>\r\n            <td>\r\n            <h4>Title</h4>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td>\r\n            <div id=\"smarty_plugin\" name=\"Collection_62_1\">{{displayCollectionField CollectionID=62 FieldID=1}}</div>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td>\r\n            <h4>Comment</h4>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td>\r\n            <div id=\"smarty_plugin\" name=\"Collection_62_2\">{{displayCollectionField CollectionID=62 FieldID=2}}</div>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td><input class=\"button\" type=\"submit\" value=\"Edit Comment\" /></td>\r\n        </tr>\r\n    </tbody>\r\n</table>\r\n</div>'),(12,'Add Article',61,'<div id=\"register\">\r\n<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n    <tbody>\r\n        <tr>\r\n            <td>\r\n            <h4>Title</h4>\r\n            <div id=\"smarty_plugin\" name=\"Collection_61_1\">{{displayCollectionField CollectionID=61 FieldID=1}}</div>\r\n            </td>\r\n            <td>\r\n            <h4>Topic</h4>\r\n            <div id=\"smarty_plugin\" name=\"Collection_61_2\">{{displayCollectionField CollectionID=61 FieldID=2}}</div>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td colspan=\"2\">\r\n            <h4>Article</h4>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td colspan=\"2\">\r\n            <div id=\"smarty_plugin\" name=\"Collection_61_3\">{{displayCollectionField CollectionID=61 FieldID=3 BasicFCKEditor=1}}</div>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td><input class=\"button\" type=\"submit\" value=\"Post Article\" /></td>\r\n        </tr>\r\n    </tbody>\r\n</table>\r\n</div>'),(13,'Edit Article',61,'<div id=\"register\">\r\n<table cellspacing=\"2\" cellpadding=\"2\" border=\"0\">\r\n    <tbody>\r\n        <tr>\r\n            <td>\r\n            <h4>Title</h4>\r\n            <div id=\"smarty_plugin\" name=\"Collection_61_1\">{{displayCollectionField CollectionID=61 FieldID=1}}</div>\r\n            </td>\r\n            <td>\r\n            <h4>Topic</h4>\r\n            <div id=\"smarty_plugin\" name=\"Collection_61_2\">{{displayCollectionField CollectionID=61 FieldID=2}}</div>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td colspan=\"2\">\r\n            <h4>Article</h4>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td colspan=\"2\">\r\n            <div id=\"smarty_plugin\" name=\"Collection_61_3\">{{displayCollectionField CollectionID=61 FieldID=3 BasicFCKEditor=1}}</div>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td><input class=\"button\" type=\"submit\" value=\"Edit Article\" /></td>\r\n        </tr>\r\n    </tbody>\r\n</table>\r\n</div>'),(16,'Events Admin',236,'<div id=\"calendarTabsHeading\"><table border=0 cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"calendarToolsHeading\"></table></div>\r\n<div id=\"contentTabs\">\r\n	<ul>\r\n		<li><a href=\"#fragment-1\"><span>Tools</span></a></li>\r\n		<li><a href=\"#fragment-2\"><span>Advanced Tools</span></a></li>\r\n	</ul>\r\n	\r\n		\r\n	<div id=\"fragment-1\">\r\n		<table border=0 cellpadding=\"2\" cellspacing=\"2\" id=\"simpleToolsTable\" width=\"100%\">\r\n			<tr valign=\"top\" id=\"Collection_236_1_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_1}}</td><td>{{$HTMLFieldCode_Collection_236_1}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_236_19_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_19}}</td><td>{{$HTMLFieldCode_Collection_236_19}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_236_22_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_22}}</td><td>{{$HTMLFieldCode_Collection_236_22}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_236_2_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_2}}</td><td>{{$HTMLFieldCode_Collection_236_2}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_236_3_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_3}}</td><td>{{$HTMLFieldCode_Collection_236_3}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_236_7_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_7}}</td><td>{{$HTMLFieldCode_Collection_236_7}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_236_4_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_4}}</td><td>{{$HTMLFieldCode_Collection_236_4}}</td></tr>\r\n			\r\n		</table>\r\n	</div>\r\n		\r\n	<div id=\"fragment-2\">\r\n		<table id=\"advancedToolsTable\" border=0 cellpadding=\"2\" cellspacing=\"2\">\r\n				\r\n				<tr valign=\"top\" id=\"Collection_236_5_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_5}}</td><td>{{$HTMLFieldCode_Collection_236_5}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_6_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_6}}</td><td>{{$HTMLFieldCode_Collection_236_6}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_8_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_8}}</td><td>{{$HTMLFieldCode_Collection_236_8}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_9_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_9}}</td><td>{{$HTMLFieldCode_Collection_236_9}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_10_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_10}}</td><td>{{$HTMLFieldCode_Collection_236_10}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_11_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_11}}</td><td>{{$HTMLFieldCode_Collection_236_11}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_12_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_12}}</td><td>{{$HTMLFieldCode_Collection_236_12}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_13_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_13}}</td><td>{{$HTMLFieldCode_Collection_236_13}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_14_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_14}}</td><td>{{$HTMLFieldCode_Collection_236_14}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_15_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_15}}</td><td>{{$HTMLFieldCode_Collection_236_15}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_16_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_16}}</td><td>{{$HTMLFieldCode_Collection_236_16}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_17_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_17}}</td><td>{{$HTMLFieldCode_Collection_236_17}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_18_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_18}}</td><td>{{$HTMLFieldCode_Collection_236_18}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_20_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_20}}</td><td>{{$HTMLFieldCode_Collection_236_20}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_236_21_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_236_21}}</td><td>{{$HTMLFieldCode_Collection_236_21}}</td></tr>\r\n				\r\n				\r\n				<tr valign=\"top\" id=\"useraccessobject_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLUserAccessFieldNameCode}}</td><td>{{$HTMLUserAccessXREFCode}}</td></tr>\r\n		</table>\r\n	</div>\r\n	\r\n</div>\r\n\r\n<div id=\"form-buttons\">{{$HTMLFormButtons}}</div>\r\n	\r\n{{capture name=a assign=contenttabs}}\r\n	$(\'#contentTabs\').tabs();\r\n			\r\n	{{if $UseAsDialog eq 1}} $(\'#admin_content\').css(\'margin\', \'0px\'); {{/if}}\r\n	$(\'#form-buttons\').css(\'padding-top\',\'10px\');\r\n	\r\nfunction HideAllRepeatFields (){\r\n	$(\'#Collection_236_9_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_10_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_11_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_12_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_13_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_14_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_15_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_16_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_17_row\').css({display:\'none\'});\r\n	$(\'#Collection_236_18_row\').css({display:\'none\'});\r\n}\r\n\r\nfunction ShowForDaily (){\r\n\r\n		$(\'#Collection_236_9_row\').css({display:\'\'});\r\n		$(\'#Collection_236_10_row\').css({display:\'\'});\r\n}\r\n\r\nfunction ShowForWeekly (){\r\n\r\n		$(\'#Collection_236_9_row\').css({display:\'\'});\r\n		$(\'#Collection_236_10_row\').css({display:\'\'});\r\n		\r\n		$(\'#Collection_236_11_row\').css({display:\'\'});\r\n		$(\'#Collection_236_12_row\').css({display:\'\'});\r\n		$(\'#Collection_236_13_row\').css({display:\'\'});\r\n		$(\'#Collection_236_14_row\').css({display:\'\'});\r\n		$(\'#Collection_236_15_row\').css({display:\'\'});\r\n		$(\'#Collection_236_16_row\').css({display:\'\'});\r\n		$(\'#Collection_236_17_row\').css({display:\'\'});\r\n}\r\n\r\nfunction ShowForMonthly (){\r\n		$(\'#Collection_236_9_row\').css({display:\'\'});\r\n		$(\'#Collection_236_10_row\').css({display:\'\'});\r\n		\r\n		$(\'#Collection_236_18_row\').css({display:\'\'});\r\n		\r\n}\r\n\r\n\r\nfunction ShowForYearly (){\r\n		$(\'#Collection_236_9_row\').css({display:\'\'});\r\n		$(\'#Collection_236_10_row\').css({display:\'\'});\r\n\r\n}\r\n\r\nHideAllRepeatFields ();\r\n\r\n{{if $selectedRow.Collection_236_8 eq 2}}ShowForDaily ();{{/if}}\r\n{{if $selectedRow.Collection_236_8 eq 3}}ShowForWeekly ();{{/if}}\r\n{{if $selectedRow.Collection_236_8 eq 4}}ShowForMonthly ();{{/if}}\r\n{{if $selectedRow.Collection_236_8 eq 5}}ShowForYearly ();{{/if}}\r\n\r\n\r\n$(\'#Collection_236_8\').change(\r\n			function(){\r\n				var value = this.value;\r\n				HideAllRepeatFields ();\r\n				if (value == 2) {ShowForDaily ();}\r\n				if (value == 3) {ShowForWeekly ();}\r\n				if (value == 4) {ShowForMonthly ();}\r\n				if (value == 5) {ShowForYearly ();}\r\n			}\r\n		);\r\n\r\n\r\n	\r\n{{/capture}}\r\n{{assign var=JavascriptJQueryCode value=$JavascriptJQueryCode|concat:\" \"|concat:$contenttabs}}'),(17,'Shopping cart',133,'\r\n<div id=\"calendarTabsHeading\"><table border=0 cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" id=\"calendarToolsHeading\"></table></div>\r\n<div id=\"contentTabs\">\r\n	<ul>\r\n		<li><a href=\"#fragment-1\"><span>Cart Summary</span></a></li>\r\n		<li><a href=\"#fragment-2\"><span>Admin Area</span></a></li>\r\n		<li><a href=\"#fragment-3\"><span>Other Info</span></a></li>\r\n	</ul>\r\n	\r\n		\r\n	<div id=\"fragment-1\">\r\n		<table border=0 cellpadding=\"2\" cellspacing=\"2\" id=\"simpleToolsTable\" width=\"100%\">\r\n			<tr valign=\"top\" id=\"Collection_133_3_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_3}}</td><td>{{$HTMLFieldCode_Collection_133_3}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_133_24_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_24}}</td><td>{{$HTMLFieldCode_Collection_133_24}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_133_26_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_26}}</td><td>{{$HTMLFieldCode_Collection_133_26}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_133_25_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_25}}</td><td>{{$HTMLFieldCode_Collection_133_25}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_133_27_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_27}}</td><td>{{$HTMLFieldCode_Collection_133_27}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_133_23_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_23}}</td><td>{{$HTMLFieldCode_Collection_133_23}}</td></tr>\r\n			<tr valign=\"top\" id=\"Collection_133_19_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_19}}</td><td>{{$HTMLFieldCode_Collection_133_19}}</td></tr>\r\n			\r\n		</table>\r\n	</div>\r\n		\r\n	<div id=\"fragment-2\">\r\n		<table id=\"advancedToolsTable\" border=0 cellpadding=\"2\" cellspacing=\"2\">\r\n				\r\n				<tr valign=\"top\" id=\"Collection_133_1_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_1}}</td><td>{{$HTMLFieldCode_Collection_133_1}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_2_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_2}}</td><td>{{$HTMLFieldCode_Collection_133_2}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_4_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_4}}</td><td>{{$HTMLFieldCode_Collection_133_4}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_30_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_30}}</td><td>{{$HTMLFieldCode_Collection_133_30}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_28_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_28}}</td><td>{{$HTMLFieldCode_Collection_133_28}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_22_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_22}}</td><td>{{$HTMLFieldCode_Collection_133_22}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_18_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_18}}</td><td>{{$HTMLFieldCode_Collection_133_18}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_4_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_4}}</td><td>{{$HTMLFieldCode_Collection_133_4}}</td></tr>\r\n				\r\n				\r\n				\r\n		</table>\r\n	</div>\r\n	\r\n	<div id=\"fragment-3\">\r\n		<table id=\"advancedToolsTable\" border=0 cellpadding=\"2\" cellspacing=\"2\">\r\n				\r\n				<tr valign=\"top\" id=\"Collection_133_5_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_5}}</td><td>{{$HTMLFieldCode_Collection_133_5}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_31_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_31}}</td><td>{{$HTMLFieldCode_Collection_133_31}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_20_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_20}}</td><td>{{$HTMLFieldCode_Collection_133_20}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_21_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_21}}</td><td>{{$HTMLFieldCode_Collection_133_21}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_16_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_16}}</td><td>{{$HTMLFieldCode_Collection_133_16}}</td></tr>\r\n				<tr valign=\"top\" id=\"Collection_133_17_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLFieldNameCode_Collection_133_17}}</td><td>{{$HTMLFieldCode_Collection_133_17}}</td></tr>\r\n\r\n				\r\n				\r\n				<tr valign=\"top\" id=\"useraccessobject_row\" class=\"collection_field_row\"><td class=\"PopupTabArea collection_field_name\">{{$HTMLUserAccessFieldNameCode}}</td><td>{{$HTMLUserAccessXREFCode}}</td></tr>\r\n		</table>\r\n	</div>\r\n	\r\n</div>\r\n\r\n<div id=\"form-buttons\">{{$HTMLFormButtons}}</div>\r\n	\r\n{{capture name=a assign=contenttabs}}\r\n	$(\'#contentTabs\').tabs();\r\n			\r\n	{{if $UseAsDialog eq 1}} $(\'#admin_content\').css(\'margin\', \'0px\'); {{/if}}\r\n	$(\'#form-buttons\').css(\'padding-top\',\'10px\');\r\n\r\n	\r\n{{/capture}}\r\n{{assign var=JavascriptJQueryCode value=$JavascriptJQueryCode|concat:\" \"|concat:$contenttabs}}');

--
-- Table structure for table `Collection_1`
--

CREATE TABLE `Collection_1` (
  `Collection_1_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_1_1` varchar(254) NOT NULL DEFAULT '',
  `Collection_1_2` varchar(254) NOT NULL DEFAULT '',
  `Collection_1_3` varchar(254) DEFAULT NULL,
  `Collection_1_4` varchar(254) DEFAULT NULL,
  `Collection_1_5` varchar(254) NOT NULL DEFAULT '',
  `Collection_1_6` varchar(254) DEFAULT NULL,
  `Collection_1_7` bigint(20) DEFAULT NULL,
  `Collection_1_8` bigint(20) DEFAULT NULL,
  `Collection_1_9` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`Collection_1_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=43 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `Collection_1`
--

INSERT INTO `Collection_1` VALUES (1,'daniel','$2a$08$xDa72zzHg9uliU2SXW.ZquUglMzX9PrtiYmEfvfgqU.7.ClkfsDyK','Dinescu','Daniel','ddinescu@oxiem.com','on',1183447500,1386919704,NULL),(2,'dev','$2a$08$zYDfi5QnhaF5LDULnUZRvu/TQR3vILbBlwMlGp.mcF7aapZNxpxmi','Bill','Sterzenbach','jsweazy@oxiem.com','on',NULL,1372705972,NULL),(22,'mike','$2a$08$Rglxq6TfRhSkcoy9S2CUPeWkhv7oNgLcmPnklzhf.Sq3rQNEw70Jy','Mike','Fazio','mfazio@oxiem.com','on',1228228534,1386693878,'on'),(30,'oxiem','$2a$08$U6QiBj1hgkb6gwuFZ7pF7usQiGevRGR8bepsQEWL8bUvHeEI39C/u','Oxiem','Demo Account','info@oxiem.com','on',1249136186,1360611514,'');

--
-- Table structure for table `Collection_10`
--

CREATE TABLE `Collection_10` (
  `Collection_10_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_10_1` varchar(254) DEFAULT NULL,
  `Collection_10_2` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`Collection_10_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=52 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `Collection_10`
--

INSERT INTO `Collection_10` VALUES (1,'AL','Alabama'),(2,'AK','Alaska'),(3,'AZ','Arizona'),(4,'AR','Arkansas'),(5,'CA','California'),(6,'CO','Colorado'),(7,'CT','Connecticut'),(8,'DE','Delaware'),(9,'DC','District of Columbia'),(10,'FL','Florida'),(11,'GA','Georgia'),(12,'HI','Hawaii'),(13,'ID','Idaho'),(14,'IL','Illinois'),(15,'IN','Indiana'),(16,'IA','Iowa'),(17,'KS','Kansas'),(18,'KY','Kentucky'),(19,'LA','Louisiana'),(20,'ME','Maine'),(21,'MD','Maryland'),(22,'MA','Massachusetts'),(23,'MI','Michigan'),(24,'MN','Minnesota'),(25,'MS','Mississippi'),(26,'MO','Missouri'),(27,'MT','Montana'),(28,'NE','Nebraska'),(29,'NV','Nevada'),(30,'NH','New Hampshire'),(31,'NJ','New Jersey'),(32,'NM','New Mexico'),(33,'NY','New York'),(34,'NC','North Carolina'),(35,'ND','North Dakota'),(36,'OH','Ohio'),(37,'OK','Oklahoma'),(38,'OR','Oregon'),(39,'PA','Pennsylvania'),(40,'RI','Rhode Island'),(41,'SC','South Carolina'),(42,'SD','South Dakota'),(43,'TN','Tennessee'),(44,'TX','Texas'),(45,'UT','Utah'),(46,'VT','Vermont'),(47,'VA','Virginia'),(48,'WA','Washington'),(49,'WV','West Virginia'),(50,'WI','Wisconsin'),(51,'WY','Wyoming');

--
-- Table structure for table `Collection_100`
--

CREATE TABLE `Collection_100` (
  `Collection_100_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_100_1` int(11) NOT NULL,
  `Collection_100_2` bigint(20) NOT NULL,
  `Collection_100_3` bigint(20) NOT NULL,
  `Collection_100_4` int(11) NOT NULL,
  `Collection_100_5` int(11) NOT NULL,
  `Collection_100_6` bigint(20) NOT NULL,
  PRIMARY KEY (`Collection_100_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `Collection_100`
--


--
-- Table structure for table `Collection_101`
--

CREATE TABLE `Collection_101` (
  `Collection_101_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_101_1` int(11) NOT NULL,
  `Collection_101_2` int(11) NOT NULL,
  `Collection_101_3` varchar(254) DEFAULT NULL,
  `Collection_101_4` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`Collection_101_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=604 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `Collection_101`
--

INSERT INTO `Collection_101` VALUES (1,1,1,'on','on'),(2,1,2,'on','on'),(3,1,3,'on','on'),(4,2,1,'on','on'),(5,2,2,'on','on'),(6,2,3,'on','on'),(7,3,1,'on','on'),(8,3,2,'on','on'),(9,3,3,'on','on'),(10,4,1,'on','on'),(11,4,2,'on','on'),(12,4,3,'on','on'),(13,5,1,'on','on'),(14,5,2,'on','on'),(15,5,3,'on','on'),(16,6,1,'on','on'),(17,6,2,'on','on'),(18,6,3,'on','on'),(19,7,1,'on','on'),(20,7,2,'on','on'),(21,7,3,'on','on'),(22,8,1,'on','on'),(23,8,2,'on','on'),(24,8,3,'on','on'),(25,9,1,'on','on'),(26,9,2,'on','on'),(27,9,3,'on','on'),(28,10,1,'on','on'),(29,10,2,'on','on'),(30,10,3,'on','on'),(31,11,1,'on','on'),(32,11,2,'on','on'),(33,11,3,'on','on'),(34,12,1,'on','on'),(35,12,2,'on','on'),(36,12,3,'on','on'),(37,13,1,'on','on'),(38,13,2,'on','on'),(39,13,3,'on','on'),(40,14,1,'on','on'),(41,14,2,'on','on'),(42,14,3,'on','on'),(43,15,1,'on','on'),(44,15,2,'on','on'),(45,15,3,'on','on'),(46,16,1,'on','on'),(47,16,2,'on','on'),(48,16,3,'on','on'),(49,17,1,'on','on'),(50,17,2,'on','on'),(51,17,3,'on','on'),(52,18,1,'on','on'),(53,18,2,'on','on'),(54,18,3,'on','on'),(55,19,1,'on','on'),(56,19,2,'on','on'),(57,19,3,'on','on'),(58,20,1,'on','on'),(59,20,2,'on','on'),(60,20,3,'on','on'),(61,21,1,'on','on'),(62,21,2,'on','on'),(63,21,3,'on','on'),(64,22,1,'on','on'),(65,22,2,'on','on'),(66,22,3,'on','on'),(67,23,1,'on','on'),(68,23,2,'on','on'),(69,23,3,'on','on'),(70,24,1,'on','on'),(71,24,2,'on','on'),(72,24,3,'on','on'),(73,25,1,'on','on'),(74,25,2,'on','on'),(75,25,3,'on','on'),(76,26,1,'on','on'),(77,26,2,'on','on'),(78,26,3,'on','on'),(88,30,1,'on','on'),(89,30,2,'on','on'),(90,30,3,'on','on'),(91,31,1,'on','on'),(92,31,2,'on','on'),(93,31,3,'on','on'),(94,32,1,'on','on'),(95,32,2,'on','on'),(96,32,3,'on','on'),(97,38,1,'on','on'),(98,38,2,'on','on'),(99,38,3,'on','on'),(100,38,1,'on','on'),(101,39,2,'on','on'),(102,39,3,'on','on'),(103,50,1,'on','on'),(104,50,2,'on','on'),(105,50,3,'on','on'),(106,60,1,'on','on'),(107,60,2,'on','on'),(108,60,3,'on','on'),(109,61,1,'on','on'),(110,61,2,'on','on'),(111,61,3,'on','on'),(112,62,1,'on','on'),(113,62,2,'on','on'),(114,62,3,'on','on'),(115,60,1,'on','on'),(116,80,2,'on','on'),(117,80,3,'on','on'),(118,60,1,'on','on'),(119,81,2,'on','on'),(120,81,3,'on','on'),(121,60,1,'on','on'),(122,89,2,'on','on'),(123,89,3,'on','on'),(124,90,1,'on','on'),(125,90,2,'on','on'),(126,90,3,'on','on'),(127,91,1,'on','on'),(128,91,2,'on','on'),(129,91,3,'on','on'),(130,92,1,'on','on'),(131,92,2,'on','on'),(132,92,3,'on','on'),(133,93,1,'on','on'),(134,93,2,'on','on'),(135,93,3,'on','on'),(136,94,1,'on','on'),(137,94,2,'on','on'),(138,94,3,'on','on'),(139,95,1,'on','on'),(140,95,2,'on','on'),(141,95,3,'on','on'),(142,96,1,'on','on'),(143,96,2,'on','on'),(144,96,3,'on','on'),(145,97,1,'on','on'),(146,97,2,'on','on'),(147,97,3,'on','on'),(148,98,1,'on','on'),(149,98,2,'on','on'),(150,98,3,'on','on'),(151,99,1,'on','on'),(152,99,2,'on','on'),(153,99,3,'on','on'),(154,100,1,'on','on'),(155,100,2,'on','on'),(156,100,3,'on','on'),(157,101,1,'on','on'),(158,101,2,'on','on'),(159,101,3,'on','on'),(160,102,1,'on','on'),(161,102,2,'on','on'),(162,102,3,'on','on'),(163,103,1,'on','on'),(164,103,2,'on','on'),(165,103,3,'on','on'),(166,129,1,'on','on'),(167,129,2,'on','on'),(168,129,3,'on','on'),(169,130,1,'on','on'),(170,130,2,'on','on'),(171,130,3,'on','on'),(172,131,1,'on','on'),(173,131,2,'on','on'),(174,131,3,'on','on'),(175,132,1,'on','on'),(176,132,2,'on','on'),(177,132,3,'on','on'),(178,133,1,'on','on'),(179,133,2,'on','on'),(180,133,3,'on','on'),(181,134,1,'on','on'),(182,134,2,'on','on'),(183,134,3,'on','on'),(184,135,1,'on','on'),(185,135,2,'on','on'),(186,135,3,'on','on'),(187,136,1,'on','on'),(188,136,2,'on','on'),(189,136,3,'on','on'),(190,137,1,'on','on'),(191,137,2,'on','on'),(192,137,3,'on','on'),(193,138,1,'on','on'),(194,138,2,'on','on'),(195,138,3,'on','on'),(196,139,1,'on','on'),(197,139,2,'on','on'),(198,139,3,'on','on'),(199,140,1,'on','on'),(200,140,2,'on','on'),(201,140,3,'on','on'),(202,141,1,'on','on'),(203,141,2,'on','on'),(204,141,3,'on','on'),(205,142,1,'on','on'),(206,142,2,'on','on'),(207,142,3,'on','on'),(208,143,1,'on','on'),(209,143,2,'on','on'),(210,143,3,'on','on'),(211,144,1,'on','on'),(212,144,2,'on','on'),(213,144,3,'on','on'),(214,146,1,'on','on'),(215,146,2,'on','on'),(216,146,3,'on','on'),(217,147,1,'on','on'),(218,147,2,'on','on'),(219,147,3,'on','on'),(220,148,1,'on','on'),(221,148,2,'on','on'),(222,148,3,'on','on'),(223,149,1,'on','on'),(224,149,2,'on','on'),(225,149,3,'on','on'),(226,150,1,'on','on'),(227,150,2,'on','on'),(228,150,3,'on','on'),(229,151,1,'on','on'),(230,151,2,'on','on'),(231,151,3,'on','on'),(232,152,1,'on','on'),(233,142,2,'on','on'),(234,152,3,'on','on'),(235,153,1,'on','on'),(236,143,2,'on','on'),(237,153,3,'on','on'),(238,154,1,'on','on'),(239,144,2,'on','on'),(240,154,3,'on','on'),(241,159,1,'on','on'),(242,149,2,'on','on'),(243,159,3,'on','on'),(244,160,1,'on','on'),(245,160,2,'on','on'),(246,160,3,'on','on'),(250,162,1,'on','on'),(251,162,2,'on','on'),(252,162,3,'on','on'),(253,163,1,'on','on'),(254,163,2,'on','on'),(255,163,3,'on','on'),(256,236,1,'on','on'),(257,236,2,'on','on'),(258,236,3,'on','on'),(259,237,1,'on','on'),(260,237,2,'on','on'),(261,237,3,'on','on'),(262,238,1,'on','on'),(263,238,2,'on','on'),(264,238,3,'on','on'),(265,239,1,'on','on'),(266,239,2,'on','on'),(267,239,3,'on','on'),(268,240,1,'on','on'),(269,240,2,'on','on'),(270,240,3,'on','on'),(271,241,1,'on','on'),(272,241,2,'on','on'),(273,241,3,'on','on'),(274,273,1,'on','on'),(275,273,2,'on','on'),(276,273,3,'on','on'),(277,274,1,'on','on'),(278,274,2,'on','on'),(279,274,3,'on','on'),(280,275,1,'on','on'),(281,275,2,'on','on'),(282,275,3,'on','on'),(283,276,1,'on','on'),(284,276,2,'on','on'),(285,276,3,'on','on'),(292,303,1,'on','on'),(293,303,2,'on','on'),(294,303,3,'on','on'),(295,304,1,'on','on'),(296,304,2,'on','on'),(297,304,3,'on','on'),(304,324,3,'on','on'),(303,324,2,'on','on'),(302,324,1,'on','on'),(320,13,4,NULL,NULL),(314,32,4,'on','on'),(315,32,5,NULL,NULL),(316,32,6,NULL,NULL),(317,129,4,NULL,NULL),(318,129,5,NULL,NULL),(319,129,6,NULL,NULL),(321,13,5,NULL,NULL),(322,13,6,NULL,NULL),(323,17,4,NULL,NULL),(324,17,5,NULL,NULL),(325,17,6,NULL,NULL),(326,325,1,'on','on'),(327,325,2,'on','on'),(328,325,3,'on','on'),(329,326,1,'on','on'),(330,326,2,'on','on'),(331,326,3,'on','on'),(332,276,4,NULL,NULL),(333,276,5,NULL,NULL),(334,276,6,NULL,NULL),(335,80,1,'on','on'),(336,80,4,NULL,NULL),(337,80,5,NULL,NULL),(338,80,6,NULL,NULL),(339,81,1,'on','on'),(340,81,4,NULL,NULL),(341,81,5,NULL,NULL),(342,81,6,NULL,NULL),(343,236,4,NULL,NULL),(344,236,5,NULL,NULL),(345,236,6,NULL,NULL),(346,274,4,NULL,NULL),(347,274,5,NULL,NULL),(348,274,6,NULL,NULL),(349,327,1,'on','on'),(350,327,2,'on','on'),(351,327,3,'on','on'),(397,342,1,'on','on'),(396,341,3,'on','on'),(390,339,3,'on','on'),(389,339,2,'on','on'),(388,339,1,'on','on'),(395,341,2,'on','on'),(394,341,1,'on','on'),(405,139,6,NULL,NULL),(404,139,5,'on','on'),(407,141,5,'on','on'),(406,141,4,'on','on'),(403,139,4,'on','on'),(402,138,6,NULL,NULL),(401,138,5,'on','on'),(400,138,4,'on','on'),(399,342,3,'on','on'),(398,342,2,'on','on'),(409,149,4,'on','on'),(408,141,6,NULL,NULL),(411,149,6,NULL,NULL),(410,149,5,'on','on'),(414,150,6,NULL,NULL),(413,150,5,'on','on'),(412,150,4,'on','on'),(471,62,6,NULL,NULL),(469,62,4,NULL,NULL),(470,62,5,NULL,NULL),(513,390,3,'on','on'),(512,390,2,'on','on'),(511,390,1,'on','on'),(484,381,1,'on','on'),(485,381,2,'on','on'),(486,381,3,'on','on'),(490,383,1,'on','on'),(491,383,2,'on','on'),(492,383,3,'on','on'),(519,392,3,'on','on'),(518,392,2,'on','on'),(517,392,1,'on','on'),(510,389,3,'on','on'),(509,389,2,'on','on'),(508,389,1,'on','on'),(520,1,4,'on','on'),(521,1,5,'on','on'),(522,1,6,NULL,NULL),(523,393,1,'on','on'),(524,393,2,'on','on'),(525,393,3,'on','on'),(526,394,1,'on','on'),(527,394,2,'on','on'),(528,394,3,'on','on'),(529,395,1,'on','on'),(530,395,2,'on','on'),(531,395,3,'on','on'),(532,396,1,'on','on'),(533,396,2,'on','on'),(534,396,3,'on','on'),(535,397,1,'on','on'),(536,397,2,'on','on'),(537,397,3,'on','on'),(538,398,1,'on','on'),(539,398,2,'on','on'),(540,398,3,'on','on'),(541,23,4,NULL,NULL),(542,23,5,NULL,NULL),(543,23,6,NULL,NULL),(544,399,1,'on','on'),(545,399,2,'on','on'),(546,399,3,'on','on'),(547,400,1,'on','on'),(548,400,2,'on','on'),(549,400,3,'on','on'),(550,401,1,'on','on'),(551,401,2,'on','on'),(552,401,3,'on','on'),(558,403,3,'on','on'),(557,403,2,'on','on'),(556,403,1,'on','on'),(559,404,1,'on','on'),(560,404,2,'on','on'),(561,404,3,'on','on'),(562,405,1,'on','on'),(563,405,2,'on','on'),(564,405,3,'on','on'),(571,408,1,'on','on'),(572,408,2,'on','on'),(573,408,3,'on','on'),(574,409,1,'on','on'),(575,409,2,'on','on'),(576,409,3,'on','on'),(577,410,1,'on','on'),(578,410,2,'on','on'),(579,410,3,'on','on'),(580,411,1,'on','on'),(581,411,2,'on','on'),(582,411,3,'on','on'),(583,412,1,'on','on'),(584,412,2,'on','on'),(585,412,3,'on','on'),(586,413,1,'on','on'),(587,413,2,'on','on'),(588,413,3,'on','on'),(589,414,1,'on','on'),(590,414,2,'on','on'),(591,414,3,'on','on'),(592,415,1,'on','on'),(593,415,2,'on','on'),(594,415,3,'on','on'),(595,416,1,'on','on'),(596,416,2,'on','on'),(597,416,3,'on','on'),(598,417,1,'on','on'),(599,417,2,'on','on'),(600,417,3,'on','on'),(601,417,4,'on','on'),(602,417,5,NULL,NULL),(603,417,6,NULL,NULL);

--
-- Table structure for table `Collection_102`
--

CREATE TABLE `Collection_102` (
  `Collection_102_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_102_1` int(11) NOT NULL,
  `Collection_102_2` int(11) NOT NULL,
  `Collection_102_3` varchar(254) DEFAULT NULL,
  `Collection_102_4` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`Collection_102_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=598 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `Collection_102`
--

INSERT INTO `Collection_102` VALUES (1,1,1,'on','on'),(2,1,2,'on','on'),(3,1,3,'on','on'),(4,2,1,'on','on'),(5,2,2,'on','on'),(6,2,3,'on','on'),(7,3,1,'on','on'),(8,3,2,'on','on'),(9,3,3,'on','on'),(10,4,1,'on','on'),(11,4,2,'on','on'),(12,4,3,'on','on'),(13,5,1,'on','on'),(14,5,2,'on','on'),(15,5,3,'on','on'),(16,6,1,'on','on'),(17,6,2,'on','on'),(18,6,3,'on','on'),(19,7,1,'on','on'),(20,7,2,'on','on'),(21,7,3,'on','on'),(22,8,1,'on','on'),(23,8,2,'on','on'),(24,8,3,'on','on'),(25,9,1,'on','on'),(26,9,2,'on','on'),(27,9,3,'on','on'),(28,10,1,'on','on'),(29,10,2,'on','on'),(30,10,3,'on','on'),(31,11,1,'on','on'),(32,11,2,'on','on'),(33,11,3,'on','on'),(34,12,1,'on','on'),(35,12,2,'on','on'),(36,12,3,'on','on'),(37,13,1,'on','on'),(38,13,2,'on','on'),(39,13,3,'on','on'),(40,14,1,'on','on'),(41,14,2,'on','on'),(42,14,3,'on','on'),(43,15,1,'on','on'),(44,15,2,'on','on'),(45,15,3,'on','on'),(46,16,1,'on','on'),(47,16,2,'on','on'),(48,16,3,'on','on'),(49,17,1,'on','on'),(50,17,2,'on','on'),(51,17,3,'on','on'),(52,18,1,'on','on'),(53,18,2,'on','on'),(54,18,3,'on','on'),(55,19,1,'on','on'),(56,19,2,'on','on'),(57,19,3,'on','on'),(58,20,1,'on','on'),(59,20,2,'on','on'),(60,20,3,'on','on'),(61,21,1,'on','on'),(62,21,2,'on','on'),(63,21,3,'on','on'),(64,22,1,'on','on'),(65,22,2,'on','on'),(66,22,3,'on','on'),(67,23,1,'on','on'),(68,23,2,'on','on'),(69,23,3,'on','on'),(70,24,1,'on','on'),(71,24,2,'on','on'),(72,24,3,'on','on'),(73,25,1,'on','on'),(74,25,2,'on','on'),(75,25,3,'on','on'),(76,26,1,'on','on'),(77,26,2,'on','on'),(78,26,3,'on','on'),(88,30,1,'on','on'),(89,30,2,'on','on'),(90,30,3,'on','on'),(91,31,1,'on','on'),(92,31,2,'on','on'),(93,31,3,'on','on'),(94,32,1,'on','on'),(95,32,2,'on','on'),(96,32,3,'on','on'),(97,38,1,'on','on'),(98,38,2,'on','on'),(99,38,3,'on','on'),(100,38,1,'on','on'),(101,39,2,'on','on'),(102,39,3,'on','on'),(103,50,1,'on','on'),(104,50,2,'on','on'),(105,50,3,'on','on'),(106,60,1,'on','on'),(107,60,2,'on','on'),(108,60,3,'on','on'),(109,61,1,'on','on'),(110,61,2,'on','on'),(111,61,3,'on','on'),(112,62,1,'on','on'),(113,62,2,'on','on'),(114,62,3,'on','on'),(115,60,1,'on','on'),(116,80,2,'on','on'),(117,80,3,'on','on'),(118,60,1,'on','on'),(119,81,2,'on','on'),(120,81,3,'on','on'),(121,60,1,'on','on'),(122,89,2,'on','on'),(123,89,3,'on','on'),(124,90,1,'on','on'),(125,90,2,'on','on'),(126,90,3,'on','on'),(127,91,1,'on','on'),(128,91,2,'on','on'),(129,91,3,'on','on'),(130,92,1,'on','on'),(131,92,2,'on','on'),(132,92,3,'on','on'),(133,93,1,'on','on'),(134,93,2,'on','on'),(135,93,3,'on','on'),(136,94,1,'on','on'),(137,94,2,'on','on'),(138,94,3,'on','on'),(139,95,1,'on','on'),(140,95,2,'on','on'),(141,95,3,'on','on'),(142,96,1,'on','on'),(143,96,2,'on','on'),(144,96,3,'on','on'),(145,97,1,'on','on'),(146,97,2,'on','on'),(147,97,3,'on','on'),(148,98,1,'on','on'),(149,98,2,'on','on'),(150,98,3,'on','on'),(151,99,1,'on','on'),(152,99,2,'on','on'),(153,99,3,'on','on'),(154,100,1,'on','on'),(155,100,2,'on','on'),(156,100,3,'on','on'),(157,101,1,'on','on'),(158,101,2,'on','on'),(159,101,3,'on','on'),(160,102,1,'on','on'),(161,102,2,'on','on'),(162,102,3,'on','on'),(163,103,1,'on','on'),(164,103,2,'on','on'),(165,103,3,'on','on'),(166,129,1,'on','on'),(167,129,2,'on','on'),(168,129,3,'on','on'),(169,130,1,'on','on'),(170,130,2,'on','on'),(171,130,3,'on','on'),(172,131,1,'on','on'),(173,131,2,'on','on'),(174,131,3,'on','on'),(175,132,1,'on','on'),(176,132,2,'on','on'),(177,132,3,'on','on'),(178,133,1,'on','on'),(179,133,2,'on','on'),(180,133,3,'on','on'),(181,134,1,'on','on'),(182,134,2,'on','on'),(183,134,3,'on','on'),(184,135,1,'on','on'),(185,135,2,'on','on'),(186,135,3,'on','on'),(187,136,1,'on','on'),(188,136,2,'on','on'),(189,136,3,'on','on'),(190,137,1,'on','on'),(191,137,2,'on','on'),(192,137,3,'on','on'),(193,138,1,'on','on'),(194,138,2,'on','on'),(195,138,3,'on','on'),(196,139,1,'on','on'),(197,139,2,'on','on'),(198,139,3,'on','on'),(199,140,1,'on','on'),(200,140,2,'on','on'),(201,140,3,'on','on'),(202,141,1,'on','on'),(203,141,2,'on','on'),(204,141,3,'on','on'),(205,142,1,'on','on'),(206,142,2,'on','on'),(207,142,3,'on','on'),(208,143,1,'on','on'),(209,143,2,'on','on'),(210,143,3,'on','on'),(211,144,1,'on','on'),(212,144,2,'on','on'),(213,144,3,'on','on'),(214,146,1,'on','on'),(215,146,2,'on','on'),(216,146,3,'on','on'),(217,147,1,'on','on'),(218,147,2,'on','on'),(219,147,3,'on','on'),(220,148,1,'on','on'),(221,148,2,'on','on'),(222,148,3,'on','on'),(223,149,1,'on','on'),(224,149,2,'on','on'),(225,149,3,'on','on'),(226,150,1,'on','on'),(227,150,2,'on','on'),(228,150,3,'on','on'),(229,151,1,'on','on'),(230,151,2,'on','on'),(231,151,3,'on','on'),(232,152,1,'on','on'),(233,142,2,'on','on'),(234,152,3,'on','on'),(235,153,1,'on','on'),(236,143,2,'on','on'),(237,153,3,'on','on'),(238,154,1,'on','on'),(239,144,2,'on','on'),(240,154,3,'on','on'),(241,159,1,'on','on'),(242,149,2,'on','on'),(243,159,3,'on','on'),(244,160,1,'on','on'),(245,160,2,'on','on'),(246,160,3,'on','on'),(250,162,1,'on','on'),(251,162,2,'on','on'),(252,162,3,'on','on'),(253,163,1,'on','on'),(254,163,2,'on','on'),(255,163,3,'on','on'),(256,236,1,'on','on'),(257,236,2,'on','on'),(258,236,3,'on','on'),(259,237,1,'on','on'),(260,237,2,'on','on'),(261,237,3,'on','on'),(262,238,1,'on','on'),(263,238,2,'on','on'),(264,238,3,'on','on'),(265,239,1,'on','on'),(266,239,2,'on','on'),(267,239,3,'on','on'),(268,240,1,'on','on'),(269,240,2,'on','on'),(270,240,3,'on','on'),(271,241,1,'on','on'),(272,241,2,'on','on'),(273,241,3,'on','on'),(274,273,1,'on','on'),(275,273,2,'on','on'),(276,273,3,'on','on'),(277,274,1,'on','on'),(278,274,2,'on','on'),(279,274,3,'on','on'),(280,275,1,'on','on'),(281,275,2,'on','on'),(282,275,3,'on','on'),(283,276,1,'on','on'),(284,276,2,'on','on'),(285,276,3,'on','on'),(292,303,1,'on','on'),(293,303,2,'on','on'),(294,303,3,'on','on'),(295,304,1,'on','on'),(296,304,2,'on','on'),(297,304,3,'on','on'),(304,324,3,'on','on'),(303,324,2,'on','on'),(302,324,1,'on','on'),(308,32,4,'on','on'),(309,32,5,NULL,NULL),(310,32,6,NULL,NULL),(311,129,4,NULL,NULL),(312,129,5,NULL,NULL),(313,129,6,NULL,NULL),(314,13,4,NULL,NULL),(315,13,5,NULL,NULL),(316,13,6,NULL,NULL),(317,17,4,NULL,NULL),(318,17,5,NULL,NULL),(319,17,6,NULL,NULL),(320,325,1,'on','on'),(321,325,2,'on','on'),(322,325,3,'on','on'),(323,326,1,'on','on'),(324,326,2,'on','on'),(325,326,3,'on','on'),(326,276,4,NULL,NULL),(327,276,5,NULL,NULL),(328,276,6,NULL,NULL),(329,80,1,'on','on'),(330,80,4,NULL,NULL),(331,80,5,NULL,NULL),(332,80,6,NULL,NULL),(333,81,1,'on','on'),(334,81,4,NULL,NULL),(335,81,5,NULL,NULL),(336,81,6,NULL,NULL),(337,236,4,NULL,NULL),(338,236,5,NULL,NULL),(339,236,6,NULL,NULL),(340,274,4,NULL,NULL),(341,274,5,NULL,NULL),(342,274,6,NULL,NULL),(343,327,1,'on','on'),(344,327,2,'on','on'),(345,327,3,'on','on'),(391,342,1,'on','on'),(390,341,3,'on','on'),(384,339,3,'on','on'),(383,339,2,'on','on'),(382,339,1,'on','on'),(389,341,2,'on','on'),(388,341,1,'on','on'),(399,139,6,NULL,NULL),(398,139,5,'on','on'),(401,141,5,'on','on'),(400,141,4,'on','on'),(397,139,4,'on','on'),(396,138,6,NULL,NULL),(395,138,5,'on','on'),(394,138,4,'on','on'),(393,342,3,'on','on'),(392,342,2,'on','on'),(403,149,4,'on','on'),(402,141,6,NULL,NULL),(405,149,6,NULL,NULL),(404,149,5,'on','on'),(408,150,6,NULL,NULL),(407,150,5,'on','on'),(406,150,4,'on','on'),(465,62,6,NULL,NULL),(463,62,4,NULL,NULL),(464,62,5,NULL,NULL),(507,390,3,'on','on'),(506,390,2,'on','on'),(505,390,1,'on','on'),(478,381,1,'on','on'),(479,381,2,'on','on'),(480,381,3,'on','on'),(484,383,1,'on','on'),(485,383,2,'on','on'),(486,383,3,'on','on'),(513,392,3,'on','on'),(512,392,2,'on','on'),(511,392,1,'on','on'),(504,389,3,'on','on'),(503,389,2,'on','on'),(502,389,1,'on','on'),(514,1,4,'on','on'),(515,1,5,'on','on'),(516,1,6,NULL,NULL),(517,393,1,'on','on'),(518,393,2,'on','on'),(519,393,3,'on','on'),(520,394,1,'on','on'),(521,394,2,'on','on'),(522,394,3,'on','on'),(523,395,1,'on','on'),(524,395,2,'on','on'),(525,395,3,'on','on'),(526,396,1,'on','on'),(527,396,2,'on','on'),(528,396,3,'on','on'),(529,397,1,'on','on'),(530,397,2,'on','on'),(531,397,3,'on','on'),(532,398,1,'on','on'),(533,398,2,'on','on'),(534,398,3,'on','on'),(535,23,4,NULL,NULL),(536,23,5,NULL,NULL),(537,23,6,NULL,NULL),(538,399,1,'on','on'),(539,399,2,'on','on'),(540,399,3,'on','on'),(541,400,1,'on','on'),(542,400,2,'on','on'),(543,400,3,'on','on'),(544,401,1,'on','on'),(545,401,2,'on','on'),(546,401,3,'on','on'),(552,403,3,'on','on'),(551,403,2,'on','on'),(550,403,1,'on','on'),(553,404,1,'on','on'),(554,404,2,'on','on'),(555,404,3,'on','on'),(556,405,1,'on','on'),(557,405,2,'on','on'),(558,405,3,'on','on'),(565,408,1,'on','on'),(566,408,2,'on','on'),(567,408,3,'on','on'),(568,409,1,'on','on'),(569,409,2,'on','on'),(570,409,3,'on','on'),(571,410,1,'on','on'),(572,410,2,'on','on'),(573,410,3,'on','on'),(574,411,1,'on','on'),(575,411,2,'on','on'),(576,411,3,'on','on'),(577,412,1,'on','on'),(578,412,2,'on','on'),(579,412,3,'on','on'),(580,413,1,'on','on'),(581,413,2,'on','on'),(582,413,3,'on','on'),(583,414,1,'on','on'),(584,414,2,'on','on'),(585,414,3,'on','on'),(586,415,1,'on','on'),(587,415,2,'on','on'),(588,415,3,'on','on'),(589,416,1,'on','on'),(590,416,2,'on','on'),(591,416,3,'on','on'),(592,417,1,'on','on'),(593,417,2,'on','on'),(594,417,3,'on','on'),(595,417,4,'on','on'),(596,417,5,NULL,NULL),(597,417,6,NULL,NULL);

--
-- Table structure for table `Collection_103`
--

CREATE TABLE `Collection_103` (
  `Collection_103_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_103_1` varchar(254) NOT NULL,
  `Collection_103_2` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`Collection_103_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `Collection_103`
--

INSERT INTO `Collection_103` VALUES (1,'Admin On ADD',1),(2,'Admin On Edit',3),(3,'Admin On DELETE',2),(4,'Front End On ADD',4),(5,'Front End On EDIT',6),(6,'Front End On DELETE',5);

--
-- Table structure for table `Collection_104`
--

CREATE TABLE `Collection_104` (
  `Collection_104_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_104_1` int(11) NOT NULL,
  `Collection_104_2` int(11) NOT NULL,
  `Collection_104_3` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`Collection_104_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=115 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `Collection_104`
--

INSERT INTO `Collection_104` VALUES (1,13,1,NULL),(2,13,2,NULL),(3,13,3,NULL),(4,13,4,NULL),(5,13,5,NULL),(6,13,6,NULL),(7,276,1,NULL),(8,276,2,NULL),(9,276,3,NULL),(10,276,4,NULL),(11,276,5,NULL),(12,276,6,NULL),(13,80,1,NULL),(14,80,2,NULL),(15,80,3,NULL),(16,80,4,NULL),(17,80,5,NULL),(18,80,6,NULL),(19,81,1,NULL),(20,81,2,NULL),(21,81,3,NULL),(22,81,4,NULL),(23,81,5,NULL),(24,81,6,NULL),(25,236,1,NULL),(26,236,2,NULL),(27,236,3,NULL),(28,236,4,NULL),(29,236,5,NULL),(30,236,6,NULL),(31,274,1,NULL),(32,274,2,NULL),(33,274,3,NULL),(34,274,4,NULL),(35,274,5,NULL),(36,274,6,NULL),(48,138,6,NULL),(47,138,5,NULL),(46,138,4,NULL),(45,138,3,NULL),(44,138,2,NULL),(43,138,1,NULL),(49,139,1,NULL),(50,139,2,NULL),(51,139,3,NULL),(52,139,4,NULL),(53,139,5,NULL),(54,139,6,NULL),(55,141,1,NULL),(56,141,2,NULL),(57,141,3,NULL),(58,141,4,NULL),(59,141,5,NULL),(60,141,6,NULL),(61,149,1,NULL),(62,149,2,NULL),(63,149,3,NULL),(64,149,4,NULL),(65,149,5,NULL),(66,149,6,NULL),(67,150,1,NULL),(68,150,2,NULL),(69,150,3,NULL),(70,150,4,NULL),(71,150,5,NULL),(72,150,6,NULL),(73,32,1,NULL),(74,32,2,NULL),(75,32,3,NULL),(76,32,4,NULL),(77,32,5,NULL),(78,32,6,NULL),(96,62,6,NULL),(95,62,5,NULL),(94,62,4,NULL),(93,62,3,NULL),(92,62,2,NULL),(91,62,1,NULL),(97,1,1,NULL),(98,1,2,NULL),(99,1,3,NULL),(100,1,4,NULL),(101,1,5,NULL),(102,1,6,NULL),(103,23,1,NULL),(104,23,2,NULL),(105,23,3,NULL),(106,23,4,NULL),(107,23,5,NULL),(108,23,6,NULL),(109,417,1,NULL),(110,417,2,NULL),(111,417,3,NULL),(112,417,4,NULL),(113,417,5,NULL),(114,417,6,NULL);

--
-- Table structure for table `Collection_105`
--

CREATE TABLE `Collection_105` (
  `Collection_105_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_105_1` int(11) NOT NULL,
  `Collection_105_2` int(11) NOT NULL,
  `Collection_105_3` bigint(20) DEFAULT NULL,
  `Collection_105_4` int(11) DEFAULT NULL,
  `Collection_105_5` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`Collection_105_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `Collection_105`
--

INSERT INTO `Collection_105` VALUES (1,276,1,50,2,1266852216),(2,13,2,NULL,2,1320841911),(3,13,2,NULL,2,1320841928),(4,13,2,560,2,1320928671),(5,13,2,560,2,1320928678);

--
-- Table structure for table `Collection_11`
--

CREATE TABLE `Collection_11` (
  `Collection_11_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_11_1` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`Collection_11_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=300 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `Collection_11`
--

INSERT INTO `Collection_11` VALUES (284,'American Samoa'),(283,'Antarctica'),(10,'Argentina'),(12,'Aruba'),(14,'Australia'),(15,'Austria'),(18,'Bahamas'),(28,'Bermuda'),(34,'Brazil'),(35,'British Indian Ocean Territory'),(2,'Canada'),(47,'Cayman Islands'),(51,'Chile'),(52,'China'),(55,'Colombia'),(60,'Costa Rica'),(287,'Czech Republic'),(66,'Denmark'),(69,'Dominican Republic'),(72,'Egypt'),(81,'Fiji'),(82,'Finland'),(83,'France'),(289,'France, Metropolitan'),(91,'Germany'),(95,'Greece'),(96,'Greenland'),(291,'Guam'),(266,'Holy See (Vatican City State)'),(108,'Hong Kong'),(110,'Iceland'),(111,'India'),(112,'Indonesia'),(113,'Iran (Islamic Republic of)'),(114,'Iraq'),(116,'Ireland'),(117,'Israel'),(118,'Italy'),(121,'Japan'),(123,'Jordan'),(128,'Korea, Democratic Peoples Republic of'),(129,'Korea, Republic of'),(140,'Lithuania'),(144,'Madagascar'),(150,'Malta'),(292,'Marshall Islands'),(151,'Martinique'),(154,'Mexico'),(169,'Morocco'),(176,'Netherlands'),(179,'New Zealand'),(294,'Norfolk Island'),(293,'Northern Mariana Islands'),(186,'Norway'),(188,'Pakistan'),(189,'Panama'),(191,'Paraguay'),(192,'Peru'),(193,'Philippines'),(196,'Poland'),(197,'Portugal'),(282,'Puerto Rico'),(202,'Russian Federation'),(274,'Samoa'),(206,'San Marino'),(208,'Saudi Arabia'),(214,'Singapore'),(217,'Solomon Islands'),(219,'South Africa'),(220,'Spain'),(236,'Sweden'),(237,'Switzerland'),(243,'Thailand'),(249,'Trinidad and Tobago'),(253,'Turkey'),(260,'United Arab Emirates'),(74,'United Kingdom'),(1,'United States'),(263,'United States Minor Outlying Islands'),(262,'Uruguay'),(267,'Venezuela'),(268,'VietNam'),(36,'Virgin Islands (British)'),(299,'Virgin Islands (U.S.)'),(272,'Wallis and Futuna Islands');

--
-- Table structure for table `Collection_12`
--

CREATE TABLE `Collection_12` (
  `Collection_12_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_12_1` varchar(254) DEFAULT NULL,
  `Collection_12_2` varchar(254) DEFAULT NULL,
  `Collection_12_3` varchar(254) DEFAULT NULL,
  `Collection_12_4` varchar(254) DEFAULT NULL,
  `Collection_12_5` varchar(254) DEFAULT NULL,
  `Collection_12_6` varchar(254) DEFAULT NULL,
  `Collection_12_7` varchar(254) DEFAULT NULL,
  `Collection_12_8` varchar(254) DEFAULT NULL,
  `Collection_12_9` varchar(254) DEFAULT NULL,
  `Collection_12_10` int(11) DEFAULT NULL,
  `Collection_12_11` varchar(254) DEFAULT NULL,
  `Collection_12_12` int(11) DEFAULT NULL,
  `Collection_12_13` varchar(254) DEFAULT NULL,
  `Collection_12_14` varchar(254) DEFAULT NULL,
  `Collection_12_15` varchar(254) DEFAULT NULL,
  `Collection_12_16` varchar(254) DEFAULT NULL,
  `Collection_12_17` varchar(254) DEFAULT NULL,
  `Collection_12_18` varchar(254) DEFAULT NULL,
  `Collection_12_19` varchar(254) DEFAULT NULL,
  `Collection_12_20` bigint(20) DEFAULT NULL,
  `Collection_12_21` varchar(254) DEFAULT NULL,
  `Collection_12_22` varchar(254) DEFAULT NULL,
  `Collection_12_23` varchar(254) DEFAULT NULL,
  `Collection_12_24` varchar(254) DEFAULT NULL,
  `Collection_12_25` varchar(254) DEFAULT NULL,
  `Collection_12_26` varchar(254) DEFAULT NULL,
  `Collection_12_27` varchar(254) DEFAULT NULL,
  `Collection_12_28` varchar(254) DEFAULT NULL,
  `Collection_12_29` text,
  PRIMARY KEY (`Collection_12_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `Collection_12`
--

INSERT INTO `Collection_12` VALUES (1,'Pureti™','Experience','support@oxiem.com','800.123.4567','','http://{{$smarty.server.HTTP_HOST}}','','','',36,'',1,'','','','','','','on',1000,'on','(866) 913-6466','support@oxiem.com','on','','','/images/video.jpg','How Does Pureti Work?','http://www.youtube.com/watch?v=xvEdVdx28ps');

--
-- Table structure for table `Collection_129`
--

CREATE TABLE `Collection_129` (
  `Collection_129_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_129_1` varchar(254) NOT NULL DEFAULT '',
  `Collection_129_2` text,
  `Collection_129_3` text,
  `Collection_129_4` varchar(254) DEFAULT NULL,
  `Collection_129_5` varchar(254) DEFAULT NULL,
  `Collection_129_6` text,
  `Collection_129_7` varchar(254) DEFAULT NULL,
  `Collection_129_8` varchar(254) DEFAULT NULL,
  `Collection_129_9` varchar(254) DEFAULT NULL,
  `Collection_129_10` int(11) DEFAULT NULL,
  `Collection_129_11` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`Collection_129_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=29 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `Collection_129`
--

INSERT INTO `Collection_129` VALUES (2,'oXiem Advanced','Cras id erat. Aliquam neque erat, facilisis et, congue ut, hendrerit non, mi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam ut dui.','Vestibulum ligula pede, pulvinar id, semper id, vehicula a, dui. Aliquam nisi ipsum, iaculis in, rhoncus id, mollis at, nisl. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin posuere egestas magna. Suspendisse potenti. Aliquam nec lorem sit amet justo gravida ultricies. Fusce posuere, dui sed gravida sodales, neque sapien accumsan neque, eget suscipit ipsum dolor in velit.\r\n','/images/newsdefault.gif','/images/newsdefault.gif',NULL,'on','on',NULL,0,2),(5,'oXiem New Edited',NULL,NULL,'/images/newsdefault.gif','/images/newsdefault.gif',NULL,NULL,'on',NULL,0,1);

--
-- Table structure for table `Collection_13`
--

CREATE TABLE `Collection_13` (
  `Collection_13_ID` int(11) NOT NULL AUTO_INCREMENT,
  `Collection_13_1` varchar(254) NOT NULL DEFAULT '',
  `Collection_13_2` text,
  `Collection_13_3` int(11) DEFAULT NULL,
  `Collection_13_4` int(11) DEFAULT NULL,
  `Collection_13_6` text,
  `Collection_13_7` bigint(20) DEFAULT NULL,
  `Collection_13_8` text,
  `Collection_13_9` text,
  `Collection_13_10` text,
  `Collection_13_11` varchar(254) DEFAULT NULL,
  `Collection_13_12` varchar(254) DEFAULT NULL,
  `Collection_13_13` varchar(254) DEFAULT NULL,
  `Collection_13_14` text,
  `Collection_13_15` text,
  `Collection_13_16` varchar(254) DEFAULT NULL,
  `Collection_13_17` text,
  `Collection_13_18` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`Collection_13_ID`)
) ENGINE=MyISAM AUTO_INCREMENT=692 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `Collection_13`
--

INSERT INTO `Collection_13` VALUES (1,'Main Template',NULL,3,1,'<!DOCTYPE html>\r\n<!--[if lt IE 7]>       <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9 lt-ie8 lt-ie7\"> <![endif]-->\r\n<!--[if IE 7]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9 lt-ie8\"> <![endif]-->\r\n<!--[if IE 8]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9\"> <![endif]-->\r\n<!--[if IE 9]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10\"> <![endif]-->\r\n<!--[if IE 10]>         <html class=\"no-js lt-ie12 lt-ie11\"> <![endif]-->\r\n<!--[if IE 11]>         <html class=\"no-js lt-ie12\"> <![endif]-->\r\n<!--[if gt IE 11]><!--> <html class=\"no-js\"> <!--<![endif]-->\r\n    <head>\r\n        <meta charset=\"utf-8\">\r\n        <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\r\n        <title>{{$page.Collection_17_2}}</title>\r\n        <meta content=\"{{$page.Collection_17_7}}\" name=\"keywords\" />\r\n        <meta content=\"{{$page.Collection_17_8}}\" name=\"description\" />\r\n\r\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1.0\">\r\n\r\n        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->\r\n        <link rel=\"shortcut icon\" href=\"/favicon.ico\">\r\n        \r\n                \r\n        <link rel=\"stylesheet\" href=\"/style/normalize.css\">\r\n        \r\n        <link rel=\"stylesheet\" href=\"/animate.css\">\r\n        <link rel=\"stylesheet\" href=\"/content.css\">\r\n        <link rel=\"stylesheet\" media=\"print\" href=\"/print.css\">\r\n        \r\n        <link rel=\"stylesheet\" href=\"/style/rotator.css\">\r\n\r\n         <!--[if lt IE 9]>\r\n            <link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"/ie8.css\"/>\r\n        <![endif]-->\r\n\r\n        <!-- Important Owl stylesheet -->\r\n        <link rel=\"stylesheet\" href=\"/style/owl.carousel.css\">\r\n \r\n        <!-- Default Theme -->\r\n        <link rel=\"stylesheet\" href=\"/style/owl.theme.css\">  \r\n        \r\n        <!-- Form Theme -->\r\n        <link rel=\"stylesheet\" href=\"/style/futurico.css\">   \r\n        \r\n        <script type=\"text/javascript\" src=\"//use.typekit.net/snl8jlg.js\"></script>\r\n        <script type=\"text/javascript\">try{Typekit.load();}catch(e){}</script>\r\n\r\n        <script src=\"/js/vendor/modernizr-2.6.2.min.js\"></script>\r\n        <script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js\"></script>\r\n        <script>window.jQuery || document.write(\'<script src=\"/js/vendor/jquery-1.9.1.min.js\"><\\/script>\')</script>\r\n        <script src=\"/js/plugins.js\"></script>\r\n        <script src=\"/js/main.js\"></script>\r\n\r\n        {{if $smarty.const.GOOGLE_UA_CODE neq \'\'}}\r\n        <!-- Google Analytics: change UA-XXXXX-X to be your site\'s ID. -->\r\n        <script>\r\n            var _gaq=[[\'_setAccount\',\'{{$smarty.const.GOOGLE_UA_CODE}}\'],[\'_trackPageview\']];\r\n            (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\r\n            g.src=\'//www.google-analytics.com/ga.js\';\r\n            s.parentNode.insertBefore(g,s)}(document,\'script\'));\r\n        </script>\r\n        {{/if}}\r\n    </head>\r\n    <body>\r\n        \r\n         <header>\r\n            <div class=\"container clearfix\">    \r\n                {{getcontent id=666 cache=1}}\r\n\r\n                <div id=\"htop\" class=\"clearfix\">\r\n                <img src=\"images/desktop/logo.png\" class=\"print\"/>\r\n                <a id=\"logo\" href=\"/\">{{$smarty.const.LOGO_TEXT}}</a>\r\n                <a id=\"toggleMenu\" href=\"#\">Menu</a> \r\n                <a id=\"phone\" href=\"tel:{{$smarty.const.PHONE_NUMBER}}\">{{$smarty.const.PHONE_NUMBER}}</a>\r\n                </div>\r\n\r\n                <nav class=\"clearfix\">\r\n                    {{getcontent id=683 cache=1}}\r\n                    {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-top.php\'}}\r\n                    <div id=\"requestQuoteButton\"><a class=\"button\" href=\"#requestQuote\">Request Info</a></div>\r\n                    <div id=\"mobile-flyouts\" class=\"clearfix\"></div>\r\n                    <div id=\"mobile-request\" class=\"requesthidden\"></div>\r\n                </nav>\r\n            </div>\r\n         </header>\r\n        \r\n        \r\n        <div class=\"container clearfix\">\r\n\r\n            <div id=\"left\">\r\n                {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-left.php\'}}\r\n            </div>\r\n            \r\n            <div id=\"content\">\r\n\r\n                {{if $contentdata.Collection_13_11 neq \'\'}}\r\n                    <div class=\"contentimage\" id=\"header{{$page.Collection_17_6}}\"> </div>\r\n                {{/if}}\r\n                <div id=\"breadcrumb\">\r\n                       <p>{{$breadcrumb}}</p>\r\n                </div>\r\n            \r\n                <article>\r\n                    {{if $contentdata.Collection_13_14 neq \'\'}}<h1>{{$contentdata.Collection_13_14}}</h1>{{/if}}\r\n                    {{if $contentdata.Collection_13_15 neq \'\'}}<p class=\"intro\">{{$contentdata.Collection_13_15}}</p>{{/if}}\r\n                    \r\n                    {{if $contentdata.Collection_13_16 neq \'\'}}\r\n                        <div class=\"insetright\">\r\n                            <img src=\"{{$contentdata.Collection_13_16}}\" alt=\"\">\r\n                            {{$contentdata.Collection_13_17|everylineparagraph}}\r\n                        </div>\r\n                    {{/if}}\r\n\r\n                    {{$content}}\r\n\r\n                    {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-adlets.php\'}}\r\n                                  \r\n\r\n                </article>\r\n\r\n            </div>\r\n            \r\n\r\n        </div> \r\n\r\n\r\n         <footer class=\"clearfix\">\r\n            \r\n                <div id=\"footertop\">\r\n                        <div class=\"container\">\r\n                            {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-notable.php\'}}\r\n                        </div>\r\n                </div>\r\n\r\n                <div id=\"footerbottom\">\r\n                    <div class=\"clearfix\">\r\n                        <div id=\"footerbottomleft\">\r\n                            {{getcontent id=683 cache=1}}\r\n                            \r\n                            <div id=\"footerbleft\">\r\n                                {{getcontent id=23 cache=1}}\r\n                                <p id=\"oxiem\"><a href=\"http://www.oxiem.com\" target=\"_blank\">Web Design</a></p>\r\n                            </div>\r\n\r\n                            <div id=\"footerbright\">\r\n                                <div class=\"fcol\">\r\n                                    {{getcontent id=687 cache=1}}\r\n                                </div>\r\n                                \r\n                                <div class=\"fcol fcolsecond\">\r\n                                    {{getcontent id=684 cache=1}}\r\n                                </div>\r\n                                <div class=\"fcol\">\r\n                                    {{getcontent id=685 cache=1}}\r\n                                </div>\r\n                                <div id=\"social\">\r\n                                    {{getcontent id=686 cache=1}}\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>    \r\n                </div>\r\n                \r\n         </footer>\r\n        \r\n    </bo{{**}}dy>\r\n</html>',NULL,'{{$JavaScriptJQueryIncludeCode}}','{{$FrontEndJavaScriptJQueryIncludeCode}}\r\n<script type=\"text/javascript\">$(document).ready(function(){ {{$FrontEndJavaScriptJQueryCode}} {{$JavaScriptJQueryCode}} });</script>','{{$CSSIncludes}}','','','',NULL,NULL,'',NULL,''),(2,'Content - Homepage',NULL,1,3,'<div id=\"rotator\">\r\n{{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-rotator.php\'}}\r\n</div>\r\n        \r\n        <div class=\"container clearfix\">\r\n\r\n            <article id=\"home\" class=\"clearfix\">\r\n                    \r\n                <div id=\"hleft\">\r\n                    \r\n                    <div id=\"homepagetabs\">\r\n                        {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-tabs.php\'}} \r\n                    </div>\r\n\r\n                    <div id=\"homebottom\" class=\"clearfix\">\r\n                        \r\n                        <div id=\"hvideo\">\r\n                            <img src=\"{{$smarty.const.HOMEPAGE_YOUTUBE}}\" alt=\"\">\r\n                            <div id=\"hvideotext\">\r\n                                <h3>{{$smarty.const.HOMEPAGE_YOUTUBE_HEADING}}</h3>\r\n                                <p><a class=\"button youtube\" href=\"{{$smarty.const.HOMEPAGE_YOUTUBE_URL}}\">Watch</a></p>\r\n                            </div>\r\n                            <div id=\"videolink\"> </div>\r\n                        </div>\r\n\r\n                        <div id=\"bleft\" class=\"box\">\r\n                            <h3>Benefits</h3>\r\n                            {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-home-benefits.php\'}}\r\n                            \r\n                        </div>\r\n\r\n                        \r\n\r\n\r\n                    </div>\r\n\r\n\r\n                </div>\r\n                \r\n\r\n                <div id=\"hright\">\r\n                    <h3><a href=\"/news/\"><strong>News</strong></a> and <a href=\"/events/\"><strong>Events</strong></a></h3>\r\n                    <div id=\"hnews\" class=\"clearfix\">\r\n\r\n{{math equation=\"x + 2419200\" x=$smarty.now assign=oneWeekLater}}\r\n{{news skipFromFuture=1 var=NResults NewsCollection=274 NewsCategoriesCollection=273 NewsCategoriesXRefCollection=275 limit=3 filterCategories=0 isArchived=0}}\r\n{{assign var=CalendarCollection value=236}}\r\n{{calendarEvents collectionID=$CalendarCollection startDay=$smarty.now endDay=$oneWeekLater var=Results}}\r\n{{assign var=CalPrefix value=\'Collection_\'|concat:$CalendarCollection|concat:\'_\'}}\r\n{{assign var=EventID value=$CalPrefix|concat:\'ID\'}}\r\n{{assign var=EventName value=$CalPrefix|concat:\'1\'}}\r\n{{assign var=EventStart value=$CalPrefix|concat:\'2\'}}\r\n{{assign var=EventEnd   value=$CalPrefix|concat:\'3\'}}\r\n{{assign var=EventAbstract  value=$CalPrefix|concat:\'22\'}}\r\n{{assign var=EventSmallImage  value=$CalPrefix|concat:\'6\'}}\r\n{{assign var=EventDesc  value=$CalPrefix|concat:\'4\'}}\r\n{{math equation=\"x + y\" x=$NResults|@count y=$Results|@count assign=CountData}}\r\n{{joinResults varNews=$NResults varEvents=$Results count=CountData LimitResults=3 var=Res}}\r\n\r\n{{assign var=count value=0}}\r\n{{assign var=evcount value=0}}\r\n{{assign var=ncount value=0}}\r\n\r\n                                          \r\n{{foreach from=$Res item=v key=k name=n}}\r\n<div class=\"onenews{{if $smarty.foreach.n.index eq 2}} thirdnews{{/if}}\">\r\n    {{if $v.isEvent eq 1}}\r\n            {{assign var=data value=$v.data}}\r\n            {{assign var=canAccess value=0}}\r\n            {{if $smarty.session.UserID gt 0}}\r\n                    {{CollectionCanAccess userId=$smarty.session.UserID CollectionId=236 rowId=$data.$EventID var=canAccess}}\r\n            {{/if}}\r\n           \r\n            <a {{if $canAccess eq true}} collectionid=\"236\" collectionrowid=\"{{$data.$EventID}}\" collectioneditor=\"1\"{{/if}} href=\"/events/{{$data.$EventID}}.html\">\r\n                                <span class=\"ndate\">{{$data.actdate|date_format:\"%b\"}}<strong>{{$data.actdate|date_format:\"%d\"}}</strong></span>\r\n                                <span class=\"ntitle\">{{$data.$EventName}}</span>\r\n                                <span class=\"ndesc\">{{$data.$EventAbstract}}</span>\r\n                                <span class=\"readmore\">READ MORE >></span>\r\n            </a>\r\n\r\n    {{else}}\r\n            {{assign var=data value=$v.data}}\r\n            {{assign var=canAccess value=0}}\r\n            {{if $smarty.session.UserID gt 0}}\r\n                    {{CollectionCanAccess userId=$smarty.session.UserID CollectionId=274 rowId=$data.Id var=canAccess}}\r\n            {{/if}}\r\n\r\n            <a {{if $canAccess eq true}} collectionid=\"274\" collectionrowid=\"{{$data.Id}}\" collectioneditor=\"1\"{{/if}} href=\"/news/{{$data.Category}}/{{$data.Id}}.html\">\r\n                                <span class=\"ndate\">{{$data.DateStart|date_format:\"%b\"}}<strong>{{$data.DateStart|date_format:\"%d\"}}</strong></span>\r\n                                <span class=\"ntitle\">{{$data.Headline}}</span>\r\n                                <span class=\"ndesc\">{{$data.Abstract}}</span>\r\n                                <span class=\"readmore\">READ MORE >></span>\r\n                            </a>\r\n            \r\n    {{/if}}\r\n</div>    \r\n{{/foreach}}\r\n  \r\n                       \r\n                        \r\n                    </div>\r\n                    <h5><a href=\"/news/\">MORE NEWS AND EVENTS</a></h5>\r\n                </div>\r\n                \r\n            </article>\r\n\r\n            \r\n                    \r\n        </div>    ',1188298498,'<link rel=\"stylesheet\" href=\"/style/prettyPhoto.css\">\r\n<script src=\"/js/jquery.prettyPhoto.js\"></script>',NULL,NULL,'','','',NULL,NULL,'',NULL,''),(561,'a Landing Page',NULL,1,1,'<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque sollicitudin diam, nec pulvinar ipsum dictum ac. Sed posuere purus in hendrerit consequat. Aenean feugiat urna eu nisi commodo, nec accumsan risus sagittis. Pellentesque at sem sit amet dui viverra sodales. Nulla facilisi. Donec condimentum mauris ac neque faucibus, at laoreet nunc fermentum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean tincidunt tempor ante a varius. Proin nec orci eu erat lobortis convallis sit amet sed turpis. Duis felis neque, porta sodales nisi.</p>\r\n',1276692693,NULL,NULL,NULL,'/images/desktop/lander1.jpg','/images/tablet/lander1.jpg','/images/mobile/lander1.jpg','PURETI Fresh Headline Goes Right Here.','Fusce leo orci, susct augue imperdiet set eid lacia. Eed sicropot aigie meced mo nuseide. Pureti susced augue impieo orci, susct augue imperdiet set eid.','',NULL,'/images/landerimage.png'),(12,'Menu - Left Automatic',NULL,2,3,' {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-left.php\'}}',1218543487,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(13,'Menu - Left Undetermined',NULL,2,3,'{{assign var=filename value=\'/landingpage.html\'}}\r\n{{if $fileNameToUse neq \'\'}}{{assign var=filename value=$fileNameToUse}}{{/if}}\r\n{{getCollectionByCategory CollectionID=276 var=Menus OrderColumn=3 ColumnID=\'2\' Value=$filename}} \r\n{{if $Menus|@count gt 0}}\r\n<div id=\"pagemenu\">\r\n{{assign var=menudata value=$Menus[0]}}\r\n{{assign var=MPrefix value=\'Collection_\'|concat:\'276\'|concat:\'_\'}}\r\n{{assign var=ModuleLink value=$MPrefix|concat:\'2\'}}\r\n{{assign var=ModuleAlt value=$MPrefix|concat:\'1\'}}\r\n{{assign var=ModuleCatID value=$MPrefix|concat:\'ID\'}}\r\n\r\n{{getTreeChildPath Node=$menudata.Collection_276_ID CID=276 var=Nodes}}\r\n{{getCollectionByCategory CollectionID=276 var=FirstNodes OrderColumn=ID ColumnID=\'ID\' Value=$Nodes[1]}} \r\n{{assign var=FirstNode value=$FirstNodes[0]}}\r\n<h3>{{$FirstNode.$ModuleAlt}}</h3>\r\n{{getTreeChildNumberAdmin var=primaryCategories CategoryID=$Nodes[1] CID=276 Level=1 MenuTemplate=\'treemenu.html\'}}\r\n\r\n</div>\r\n{{/if}}',1218543880,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(3,'Content - About Us',NULL,1,1,'<div id=\"submenu\">\r\n	<div id=\"smarty_plugin\">\r\n		{{getcontent id=12}}</div>\r\n</div>\r\n<div id=\"middle2\">\r\n	<p>\r\n		<img alt=\"\" height=\"240\" src=\"/images/contentimages/image_20_4_78.jpg\" width=\"347\" /></p>\r\n	<p>\r\n		You have the options to choose which box of content you want to edit</p>\r\n	<p>\r\n		And it is edited ; \" \' fdsfdsfs</p>\r\n	<p>\r\n		fsdfsdf sdkfj sl</p>\r\n	<p>\r\n		<a href=\"http://google.com\">Text for new link!</a></p>\r\n	<p>\r\n		<a href=\"http://www.google.com\" target=\"_blank\">Text for new link to a different site!</a></p>\r\n	<p>\r\n		&nbsp;</p>\r\n	<table border=\"1\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">\r\n		<tbody>\r\n			<tr>\r\n				<td>\r\n					Hahahahaha</td>\r\n			</tr>\r\n			<tr>\r\n				<td>\r\n					new row edited \' \"</td>\r\n				<td>\r\n					column info</td>\r\n			</tr>\r\n		</tbody>\r\n	</table>\r\n	<p>\r\n		&nbsp;look</p>\r\n	<h3>\r\n		List</h3>\r\n	<ul>\r\n		<li>\r\n			dsajdksajd lsakdjsla</li>\r\n		<li>\r\n			lk</li>\r\n		<li>\r\n			dsadsa dsajd saj dskaj</li>\r\n		<li>\r\n			new list item added</li>\r\n		<li>\r\n			new</li>\r\n	</ul>\r\n	<p>\r\n		<a href=\"/contact-us.html\" target=\"_blank\"><img alt=\"\" src=\"/images/contentimages/image_20_4_77.jpg\" /></a></p>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(5,'Menu - Top',NULL,6,1,'<ul>\r\n	<li><a href=\"/about.html\">About Us</a></li>\r\n	<li>|</li>\r\n	<li><a href=\"/contact-us.html\">Contact Us</a></li>\r\n</ul>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(4,'Content - Page Not Found',NULL,2,1,'<div id=\"contentfull\">\r\n	<h1>\r\n		Page Not Found.</h1>\r\n	<h2>\r\n		The requested page was not found on our server.</h2>\r\n	<p>\r\n		&nbsp;</p>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(6,'FORMS - Login',NULL,2,1,'<div id=\"contents\">\r\n<h1>Login</h1>\r\n<div>\r\n<div id=\"smarty_plugin\">{{login}}{{getcontent id=18}}</div>\r\n</div>\r\n<form action=\"\" method=\"post\" name=\"login\">\r\n	<p>&nbsp;</p>\r\n	<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\">\r\n		<tbody>\r\n			<tr>\r\n				<td>\r\n					<span class=\"normal\">User Name</span></td>\r\n				<td>\r\n					<font size=\"2\"><input class=\"input\" id=\"UserName\" maxlength=\"256\" name=\"UserName\" size=\"25\" type=\"text\" /></font></td>\r\n			</tr>\r\n			<tr>\r\n				<td>\r\n					<span class=\"normal\">Password</span></td>\r\n				<td>\r\n					<font size=\"2\"><input class=\"input\" id=\"UserPassword\" maxlength=\"256\" name=\"UserPassword\" size=\"25\" type=\"password\" /></font></td>\r\n			</tr>\r\n			<tr>\r\n				<td colspan=\"2\">\r\n					<input name=\"remember\" type=\"checkbox\" /> Remember my information?</td>\r\n			</tr>\r\n			<tr>\r\n				<td colspan=\"2\">\r\n					<input class=\"button\" type=\"submit\" value=\"Login\" /></td>\r\n			</tr>\r\n			<tr>\r\n				<td>\r\n					&nbsp;</td>\r\n			</tr>\r\n			<tr>\r\n				<td colspan=\"2\">\r\n					Not registered? Click <a href=\"/register.html\">here</a> to create a new account</td>\r\n			</tr>\r\n			<tr>\r\n				<td colspan=\"2\">\r\n					Forgot your password? <a href=\"/forgotpassword.html\">Reset password</a>.</td>\r\n			</tr>\r\n		</tbody>\r\n	</table>\r\n</form>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<script type=\"text/javascript\">\r\ndocument.getElementById(\'UserName\').focus();\r\n</script>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(505,'IBuildResults - Display Rows',NULL,2,1,'<h1>\r\n	Display Results</h1>\r\n<div style=\"border-right: red 1px solid; border-top: red 1px solid; border-left: red 1px solid; border-bottom: red 1px solid\">\r\n	<script type=\"text/javascript\" src=\"http://www.ibuildresults.com/forms/ibuild.js?mode=display&id=298&t=2&f=0\"></script></div>\r\n',1227274498,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(560,'a Content Page',NULL,1,1,'<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac ante eget justo lacinia dignissim et non libero. Duis et molestie dolor, eget tristique eros. Aliquam lobortis aliquet lorem eu vulputate. Phasellus eget odio ut metus tempus egestas ut at mi. Quisque dui mauris, lobortis nec felis dapibus, suscipit rhoncus mauris. Ut in facilisis justo. Vestibulum placerat dictum dolor, et</p>\r\n<p>Sed dolor orci, ultrices vitae nisl vitae, volutpat mattis felis. Duis fringilla ligula in velit rhoncus egestas. Proin id lacinia turpis, et placerat erat. Proin vehicula blandit quam sed blandit. Etiam sit amet sagittis quam, ac vulputate est. Etiam eu hendrerit arcu, non pulvinar felis. Quisque egestas nulla ac felis vulputate, at tempor lorem luctus.</p>\r\n<p>Nulla vestibulum, lorem nec posuere tempor, augue augue tincidunt lacus, eget placerat urna tellus id tellus. Curabitur facilisis, nisl ut eleifend malesuada, lorem velit ullamcorper magna, at porta sapien lacus non nulla. Proin eros risus, rhoncus eget vulputate et, dictum a nunc. Vestibulum porta sem libero, vitae elementum libero vestibulum a. Nullam varius mollis nunc, semper lobortis tortor accumsan non. In pretium libero ac neque congue, vitae suscipit tellus iaculis. Proin tincidunt arcu nec sodales lobortis. Integer sed dui nibh. Sed nisi nulla, adipiscing eu nunc id, tristique varius purus. Pellentesque enim purus, elementum quis semper et, rhoncus vitae orci. Duis nibh ipsum, pharetra ut dolor ut, ultrices aliquam arcu. Sed at mag ligula condimentum fringilla bibendum non erat.</p>\r\n',1276691228,NULL,NULL,NULL,'/images/desktop/lander2.jpg','/images/tablet/lander2.jpg','/images/mobile/lander2.jpg','SUSTAINABILITY  Headline Goes Right Here.','Fusce leo orci, susct augue imperdiet set eid lacia. Eed sicropot aigie meced mo nuseide. Pureti susced augue impieo orci, susct augue imperdiet set eid.','/images/inset.jpg','Lorem ipsum dor\r\nsit amet, Brian',''),(666,'Menu - Request Quote',NULL,6,3,'<div id=\"requestQuote\" class=\"hiddenfromview clearfix\">\r\n                        <div id=\"requestQuoteText\"><p>Pureti <strong>Transforms</strong> Surfaces into <br/>Self-cleaning, Air Purifying Materials.</p></div>\r\n                        <form name=\"requestQuoteForm\" enctype=\"multipart/form-data\" class=\"collectionform\" id=\"Form322\" method=\"post\" action=\"/request-info.html\">\r\n                                <input type=\"hidden\" value=\"417\" name=\"collection\">\r\n                                <div class=\"collectionformfields\">\r\n                                        <div id=\"fieldsleft\">\r\n\r\n                                            <div id=\"Field_Collection_322_1\" class=\"collectionfield\">\r\n                                                    <label id=\"Label_Collection_322_1\" for=\"Collection_322_1\">Name <span class=\"required\">*</span></label> \r\n                                                    <input type=\"text\" value=\"\" size=\"25\" maxlength=\"255\" id=\"Collection_322_1\" placeholder=\"Name\" name=\"Collection_417_1\" autocomplete=\"off\" title=\"Please enter your First and Last Name in this field\" class=\"input\">\r\n                                            </div> \r\n\r\n                                            <div id=\"Field_Collection_322_2\" class=\"collectionfield\">\r\n                                                    <label id=\"Label_Collection_322_2\" for=\"Collection_322_2\">Email <span class=\"required\">*</span></label> \r\n                                                    <input type=\"text\" value=\"\" size=\"25\" maxlength=\"255\" id=\"Collection_322_2\" placeholder=\"Email\" name=\"Collection_417_2\" autocomplete=\"off\" title=\"Please enter your First and Last Name in this field\" class=\"input\">\r\n                                            </div>  \r\n                                        </div>        \r\n\r\n                                             <div id=\"Field_Collection_322_3\" class=\"collectionfield\">\r\n                                                    <label id=\"Label_Collection_322_3\" for=\"Collection_322_3\">Message <span class=\"required\">*</span></label> \r\n                                                    <textarea title=\"\" class=\"input\" id=\"Collection_322_3\" placeholder=\"Message\" name=\"Collection_417_3\" cols=\"40\" rows=\"5\"></text{{**}}area>\r\n                                            </div>  \r\n\r\n\r\n                                            <div class=\"collectionsubmit\"><input type=\"submit\" value=\"Submit\" name=\"Save\" class=\"button\"></div>     \r\n                                </div>\r\n                        </form>\r\n                </div>',1327064903,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(7,'EMAIL - Template','',3,NULL,'<html>\r\n    <head>\r\n        <title></title>\r\n    </head>\r\n    <body>\r\n        <p>{{$content}}</p>\r\n   </body>\r\n</html>',1193136336,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(8,'EMAIL - Collections Message',NULL,10,3,'<h3><font color=\"#454545\" size=\"+2\">{{$Collection.CollectionName}}</font></h3>\r\n<table cellpadding=\"4\" cellspacing=\"4\">\r\n{{foreach from=$EmailData key=myId item=i}} \r\n<tr>\r\n		{{assign var=\'EmailDataTaxonomy\' value=$i.taxonomy}} \r\n		{{assign var=\'EmailDataLookups\' value=$i.lookups}}\r\n 		{{assign var=\'EmailDataActualValue\' value=$i.value}} \r\n	  {{if $EmailDataTaxonomy.CollectionInputType eq 7}} \r\n			<td bgcolor=\"#3D3D3D\"><font face=\"Times New Roman, Times, serif\" color=\"#FFFFFF\"> <strong>{{$EmailDataTaxonomy.CollectionFieldName}} :</strong></font></td>\r\n			<td> <a href=\"{{$EmailDataActualValue}}\">{{$EmailDataActualValue}}</a> </td>\r\n	 {{else}}\r\n \r\n	 {{if $EmailDataTaxonomy.CollectionFormula eq 1 || $EmailDataTaxonomy.CollectionFormula eq 2}} \r\n			 <td bgcolor=\"#3D3D3D\"><font face=\"Times New Roman, Times, serif\" color=\"#FFFFFF\"><strong>{{$EmailDataTaxonomy.CollectionFieldName}}   :</strong></font></td>\r\n	  {{/if}}\r\n  \r\n	  {{if $EmailDataTaxonomy.CollectionFieldLookupCollectionID gt 0}} \r\n			 <td> {{$EmailDataLookups.$EmailDataActualValue}} </td>\r\n	  {{else}} \r\n	  {{if $EmailDataTaxonomy.CollectionFormula eq 2}} \r\n		   <td> {{$smarty.now|date_format:\'%A, %B %e, %Y\'}} </td>\r\n	  {{else}} \r\n      {{if $EmailDataTaxonomy.CollectionFieldType eq 4}} \r\n		   <td> {{$EmailDataActualValue|date_format:\'%m/%d/%Y\'}} </td>\r\n	  {{else}} \r\n	  <td> {{$EmailDataActualValue}} </td>\r\n	  {{/if}}\r\n  {{/if}} \r\n  {{/if}}\r\n   {{/if}} \r\n</tr>\r\n   {{/foreach}}\r\n   </table>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(9,'EMAIL - Send Lost Password',NULL,10,1,'<p>\r\n	{{$To_Name}},</p>\r\n<p>\r\n	Greetings,</p>\r\n<p>\r\n	This email was sent to {{$To_Address}} .</p>\r\n<p>\r\n	The password for this account is: <strong>{{$Lost_Password}}</strong></p>\r\n<p>\r\n	Thanks</p>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(10,'FORMS - Send Lost Password',NULL,2,3,'<div id=\"contents\">\r\n<h1>Reset Password</h1>\r\n<div>\r\n<div id=\"smarty_plugin\">\r\n		{{loginResetPassword var=ResetResults pageid=5 email=$smarty.post.EmailAddress}}\r\n		{{if $ResetResults.success eq 1}}\r\n		<p class=\"info\">Your new password has been sent to your email address.</p>\r\n		{{/if}}\r\n		{{if $ResetResults.errors|@count gt 0}}\r\n		<div class=\"ErrorBox\">\r\n		<ul>\r\n			{{foreach from=$ResetResults.errors item=v key=k name=n}}		\r\n			<li>{{$v}}</li>\r\n			{{/foreach}}\r\n		</ul>\r\n		</div>\r\n		{{/if}}\r\n\r\n</div>\r\n</div>\r\n<form action=\"\" method=\"post\" name=\"login\">\r\n\r\n	<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\">\r\n		<tbody>\r\n			<tr>\r\n				<td>\r\n					<span class=\"normal\">Email Address</span></td>\r\n				<td>\r\n					<font size=\"2\"><input class=\"input\" id=\"UserName\" maxlength=\"256\" name=\"EmailAddress\" size=\"25\" type=\"text\" /></font></td>\r\n			</tr>\r\n			\r\n			<tr>\r\n				<td colspan=\"2\">\r\n					<input class=\"button\" type=\"submit\" value=\"Reset Password\" /></td>\r\n			</tr>\r\n			<tr>\r\n				<td>\r\n					 </td>\r\n			</tr>\r\n			\r\n		</tbody>\r\n	</table>\r\n</form>\r\n<script type=\"text/javascript\">\r\ndocument.getElementById(\'UserName\').focus();\r\n</script>\r\n\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(11,'FORMS - Empty Template','',3,NULL,'{{$content}}',1193158920,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(15,'FORMS - Register',NULL,2,1,'<div id=\"content\">\r\n<h1>Register</h1>\r\n<div id=\"smarty_plugin\">{{ViewCollection CollectionID=1 TemplateID=5}}</div>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(16,'FORMS - Register Done',NULL,2,1,'<div id=\"content\">\r\n	<h1>\r\n		Register</h1>\r\n	<h3>\r\n		Register Succesful</h3>\r\n	<p>\r\n		Your account was created succesfuly.</p>\r\n	<p>\r\n		Click <a href=\"/login.html\">here</a> to login.</p>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(17,'FORMS - Welcome',NULL,2,1,'<div id=\"content\">\r\n<h1>Welcome</h1>\r\n<p>&nbsp;</p>\r\n<ul>\r\n	<li><a href=\"/edit-account.html\">Edit Account Details</a></li>\r\n</ul>\r\n<p>&nbsp;</p>\r\n<h1>&nbsp;</h1>\r\n</div>\r\n<p>&nbsp;</p>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(160,'GALLERY - Filter',NULL,2,3,'<div>{{assign var=TnailColumn value=$smarty.get.TnailColumn}}{{assign var=ImageColumn value=$smarty.get.ImageColumn}}{{assign var=AltColumn   value=$smarty.get.AltColumn}}{{assign var=CollectionID   value=$collectionID}}{{o2 collection=$smarty.get.CollectionID filter=$smarty.get.GalleryFilterID template=2 perpage=$smarty.get.PerPage resultsvar=table pagesvar=links pagenumber=$smarty.get.pageNum}}</div>',1206098337,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(491,'GALLERY - Content Page',NULL,2,3,'{{assign var=galleryid value=$smarty.get.gallery|addslashes}}\r\n{{getCollectionByCategory CollectionID=80 ColumnID=ID Value=$galleryid OrderColumn=ID var=Galleries}}\r\n{{assign var=Gallery value=$Galleries[0]}}\r\n{{assign var=fileNameToUse value=\'/photo-gallery.html\'}}\r\n{{getCollectionByCategory CollectionID=80 ColumnID=3 Value=\'on\' OrderColumn=2 var=AllGalleries}}\r\n{{if $Galleries|@count eq 0}}\r\n	{{assign var=Gallery value=$AllGalleries[0]}}\r\n{{/if}}\r\n{{if $Gallery.Collection_80_3 neq \'on\'}}{{urlredirect page=\'/notfound.html\'}}{{/if}}\r\n{{assign var=\'PageTitle\' value=$Gallery.Collection_80_1}} {{assign var=\'PageTitle\' value=$PageTitle|concat:\' - Photo Galleries \'}}{{setPage var=Collection_17_2 value=$PageTitle}} \r\n{{assign var=fileNameToUse value=\'/photo-gallery.html\'}}\r\n<div id=\"leftside\">\r\n<div id=\"smarty_plugin\">{{getcontent id=12}}</div>\r\n</div>\r\n<div id=\"contentalt\">\r\n	<h1>{{$Gallery.Collection_80_1}}</h1>\r\n    	\r\n		{{getCollectionByCategory CollectionID=81 ColumnID=5 Value=$Gallery.Collection_80_ID OrderColumn=1 var=table}}\r\n		{{if $table|@count eq 0}}\r\n			<h2>There are no pictures into this category</h2>\r\n		{{else}}\r\n		{{assign var=tableCollectionID value=81}}\r\n		{{assign var=Tnail value=\'Collection_\'|concat:$tableCollectionID|concat:\'_\'|concat:3}}\r\n		{{assign var=Image value=\'Collection_\'|concat:$tableCollectionID|concat:\'_\'|concat:3}}\r\n		{{assign var=Alt   value=\'Collection_\'|concat:$tableCollectionID|concat:\'_\'|concat:4}}\r\n		{{assign var=ID   value=\'Collection_\'|concat:$tableCollectionID|concat:\'_ID\'}}\r\n		<div id=\"photogallery\">\r\n		<div id=\"main_gallery_image\"></div>\r\n		\r\n		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"imageListContainer\"><tr valign=\"top\">\r\n		<td><span id=\"scrollLeft\" class=\"arrow\"><</span></td>\r\n		<td>\r\n		<div id=\"galleryscroller\">\r\n		<ul class=\"gallerylist\" >\r\n		{{foreach from=$table item=v key=k name=n}}\r\n		<li {{if $smarty.foreach.n.first}}class=\"active\"{{/if}}><img src=\"{{$v.$Image}}\" alt=\"{{$v.$Alt|replace:\'\"\':\'\"\'}}\" title=\"{{$v.$Alt|replace:\'\"\':\'\"\'}}\"></li>\r\n		{{/foreach}}\r\n		</ul>\r\n		</div>\r\n		</td>\r\n		<td><span id=\"scrollRight\" class=\"arrow\">></span></td>\r\n		</tr></table>\r\n		</div>\r\n		<div id=\"galleryslideshow\">View Slideshow</div>\r\n		{{/if}}\r\n		\r\n  \r\n</div>',1220883146,'<script type=\"text/javascript\" src=\"/js/jquery.gallery.js\"></script>\r\n<script type=\"text/javascript\" src=\"/js/jquery.scrollcycle.js\"></script>\r\n','$(\"#galleryscroller\").jCarouselLite({\r\n			btnNext: \"#scrollRight\",\r\n			btnPrev: \"#scrollLeft\",\r\n			visible: {{if $table|@count gt 7}}7{{else}}{{math equation=\'x-1\' x=$table|@count}}{{/if}},\r\n			auto: 3000,\r\n			autoStart: false,\r\n			autoStartText: \'View Slideshow\',\r\n			autoStopText: \'Stop Slideshow\',\r\n			autoID: \'#galleryslideshow\',\r\n			speed: 500,\r\n			beforeStart: function(a) {\r\n           				\r\n						$.galleria.next();\r\n						\r\n       		}\r\n\r\n		});\r\n\r\n		\r\n		$(\'ul.gallerylist\').galleria({\r\n			history   : false, // activates the history object for bookmarking, back-button etc.\r\n			clickNext : true, // helper for making the image clickable\r\n			insert    : \'#main_gallery_image\', // the containing selector for our main image\r\n			onImage   : function(image,caption,thumb) { // let\'s add some image effects for demonstration purposes\r\n				\r\n				// fade in the image & caption\r\n				if(! ($.browser.mozilla && navigator.appVersion.indexOf(\"Win\")!=-1) ) { // FF/Win fades large images terribly slow\r\n					image.css(\'display\',\'none\').fadeIn(1000);\r\n				}\r\n				caption.css(\'display\',\'none\').fadeIn(1000);\r\n				\r\n				// fetch the thumbnail container\r\n				var _li = thumb.parents(\'li\');\r\n				\r\n				// fade out inactive thumbnail\r\n				_li.siblings().children(\'img.selected\').fadeTo(500,0.3);\r\n				\r\n				// fade in active thumbnail\r\n				thumb.fadeTo(\'fast\',1).addClass(\'selected\');\r\n				\r\n				// add a title for the clickable image\r\n				image.attr(\'title\',\'Next image >>\');\r\n			},\r\n			onThumb : function(thumb) { // thumbnail effects goes here\r\n				\r\n				// fetch the thumbnail container\r\n				var _li = thumb.parents(\'li\');\r\n				\r\n				// if thumbnail is active, fade all the way.\r\n				var _fadeTo = _li.is(\'.active\') ? \'1\' : \'0.3\';\r\n				\r\n				// fade in the thumbnail when finnished loading\r\n				thumb.css({display:\'none\',opacity:_fadeTo}).fadeIn(1500);\r\n				\r\n				// hover effects\r\n				thumb.hover(\r\n					function() { thumb.fadeTo(\'fast\',1); },\r\n					function() { _li.not(\'.active\').children(\'img\').fadeTo(\'fast\',0.3); } // don\'t fade out if the parent is active\r\n				)\r\n			}\r\n		});','<link href=\"/style/jquery.gallery.css\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\">',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(18,'FORMS - Login Errors',NULL,2,3,'{{if $errors}}\r\n<div class=\"ErrorBox\">\r\n<ul>\r\n{{if $errors.UserName eq 1}}\r\n<li>Username cannot be left blank</li>\r\n{{/if}}\r\n {{if $errors.UserPassword eq 1}}\r\n<li>Password cannot be left blank </li>{{/if}}\r\n{{if $errors.UserName eq 2}}<li>Username and password do not match </li>{{/if}}\r\n</ul>\r\n</div>\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(19,'FORMS - Edit Account',NULL,2,1,'<div id=\"contents\">\r\n<h1>Edit Account</h1>\r\n<p><strong>Manage Your Account Here. </strong></p>\r\n<div>\r\n<div id=\"smarty_plugin\">{{ViewCollection CollectionID=1 mode=\'Edit\' rowid=$smarty.session.UserID TemplateID=6}}</div>\r\n</div>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(20,'FORMS - Logout',NULL,2,1,'<div id=\"contents\">\r\n<h1>Logout</h1>\r\n<p>Thank You For Using the Site\'s Features.</p>\r\n<p>You have succesfuly logged out.</p>\r\n<p>{{logout}}</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n</div>\r\n',1199457831,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(21,'Menu - Middle',NULL,2,3,'<nav>\r\n                    {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-top.php\'}}           \r\n</nav>',1204543330,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(522,'SYSTEM - Tree View',NULL,2,3,'{{getTreeChildNumberAdmin CID=$smarty.get.treeid var=TreeData page=\'system/treeviewdetails\'}}',1249807507,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(23,'Menu - Footer',NULL,6,1,'<p>© 2013 Pureti All Rights Reserved <br/><a href=\"\">Privacy Policy</a> | <a href=\"/site-map.html\">Site Map</a>  |  <a href=\"\">Disclaimer</a>  </p>',1204543904,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(25,'Content - Contact Us',NULL,1,1,'<div id=\"leftside\">\r\n<div id=\"smarty_plugin\">{{getcontent id=12}}</div>\r\n</div>\r\n<div id=\"contentalt\">\r\n<h1>Contact Us?</h1>\r\n<div>\r\n<div id=\"smarty_plugin\">{{ViewCollection CollectionID=32}}</div>\r\n</div>\r\n</div>\r\n<p>&nbsp;</p>\r\n',1204545762,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(667,'Pricing',NULL,1,1,'<div id=\"leftside\">\n	<div id=\"smarty_plugin\">\n		{{getcontent id=12}}</div>\n</div>\n<div id=\"content\">\n	<h1>Oxiem CMS Lander Page.</h1>\n\n	<h2>Heading 2</h2>\n\n	<p>\n		Integer aliquet tortor sit amet metus semper ornare. Nulla facilisi. Integer vitae magna erat. Donec molestie nibh sit avitae tincidunt velit commodo. Cras tincidunt lectus metus, ac pulvinar risus. Nunc ornare malesuada arcu nec mole Maecenas nec ultricie snec gravida placerat, quam est bibendum ante, vel dignissim sapien ante in metus. Maecenas nec ultricies erultricies er uada arcu nec molestie. Ut porttitor, metus nec gravida placerat, quam est bibendum ante, vel dignissim sapien antein metus. Maecenas nec ultricies eros. Integer aliquet tortor sit amet metus semper ornare. Nulla facilisi. Integer vitae magna erat. Donec molestie nibh sit amet ante dapibus vitae tinciduntultricies erultricies erultricies erultricies er</p>\n	<h4>\n		Heading 4</h4>\n	<p>\n		<span>Unordered list.</span></p>\n	<ul>\n	<li>In felis nulla, ultricies id sollicitudin in, eleifend id lorem.</li>\n	<li>Ut eleifend lacus non augue venenatis varius.</li>\n	<li>Donec nec eros eget felis ornare varius commodo nec purus.</li>\n	<li>Morbi in orci erat.</li>\n	<li>Fusce tincidunt neque orci, congue fermentum enim.</li>\n	<li>One more element\n	<ul>\n		<li>Sub element</li>\n	</ul>\n	</li>\n	<li>Another</li>\n</ul>\n\n\n\n	<p>\n		<span>Ordered list.</span></p>\n	<ol>\n		<li>\n			In felis nulla, ultricies id sollicitudin in, eleifend id lorem.</li>\n		<li>\n			Ut eleifend lacus non augue venenatis varius.</li>\n		<li>\n			Donec nec eros eget felis ornare varius commodo nec purus.</li>\n		<li>\n			Morbi in orci erat.</li>\n		<li>\n			Fusce tincidunt neque orci, congue fermentum enim.</li>\n	</ol>\n	<p>\n		<span>Visit our website at <a href=\"#\">http://www.oxiem.com.</a></span></p>\n</div>\n<div id=\"rightside\">\n	<div id=\"smarty_plugin\">\n		{{getcontent id=248}}</div>\n	<div id=\"smarty_plugin\">\n		{{getcontent id=269}}</div>\n</div>\n',1327082891,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(26,'Content - Contact Us - TQ',NULL,1,1,'<div id=\"leftside\">\r\n<div id=\"smarty_plugin\">{{getcontent id=12}}</div>\r\n</div>\r\n<div id=\"contentalt\">\r\n<h1>Contact Us</h1>\r\n<h2>Thank You. Your message has been successfully sent.</h2>\r\n</div>\r\n<p>&nbsp;</p>\r\n',1204545835,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(516,'Content- Videos',NULL,1,1,'<h3>&nbsp;</h3>\r\n<h3>Learning Videos</h3>\r\n<p><a target=\"_blank\" href=\"/documents/videos/video_50_2_2.wmv \">Creating Content and Pages</a></p>\r\n<p><a target=\"_blank\" href=\"/documents/videos/video_50_2_3.wmv \">Create A Link</a></p>\r\n<p><a target=\"_blank\" href=\"/documents/videos/video_50_2_4.wmv\">Adding a Video to collections, Putting it on a site</a></p>\r\n<p><a target=\"_blank\" href=\"/documents/videos/video_50_2_5.wmv\">Front End Content Editing</a></p>\r\n<p>&nbsp;</p>',1228847493,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(244,'CALENDAR - Content Page - Daily',NULL,2,3,'{{assign var=fileNameToUse value=\'/events/\'}}\r\n\r\n<h1>\r\n		Calendar</h1>\r\n\r\n			{{if $smarty.get.month gt 0}} \r\n				{{assign var=month value=$smarty.get.month}} \r\n			{{else}} \r\n				{{assign var=month value=$smarty.now|date_format:\'%m\'}} \r\n			{{/if}} \r\n			\r\n			{{if $smarty.get.year gt 0}} \r\n				{{assign var=year value=$smarty.get.year}} \r\n			{{else}} \r\n				{{assign var=year value=$smarty.now|date_format:\'%Y\'}} \r\n			{{/if}} \r\n			\r\n			{{calendar CollectionID=236 CollectionTypeID=238 CollectionTypeXrefID=239 Template=\'calendar-daily.html\' filter=1 url_format=\'/events-daily/y-%Y/m-%m/\' year=$year month=$month day=$smarty.now|date_format:\'%d\'}}\r\n	\r\n\r\n\r\n\r\n',NULL,NULL,NULL,'<link rel=\"stylesheet\" type=\"text/css\" href=\"/style/calendar.css\" />','','','',NULL,NULL,'',NULL,''),(245,'CALENDAR - Content Page',NULL,2,3,'{{assign var=fileNameToUse value=\'/events/\'}}\r\n<h1>\r\n		Calendar</h1>\r\n\r\n			{{if $smarty.get.month gt 0}} \r\n				{{assign var=month value=$smarty.get.month}} \r\n			{{else}} \r\n				{{assign var=month value=$smarty.now|date_format:\'%m\'}} \r\n			{{/if}} \r\n			\r\n			{{if $smarty.get.year gt 0}} \r\n				{{assign var=year value=$smarty.get.year}} \r\n			{{else}} \r\n				{{assign var=year value=$smarty.now|date_format:\'%Y\'}} \r\n			{{/if}} \r\n			\r\n			{{calendar CollectionID=236 CollectionTypeID=238 CollectionTypeXrefID=239 Template=\'calendar.html\' filter=1 url_format=\'/events/y-%Y/m-%m/\' year=$year month=$month day=$smarty.now|date_format:\'%d\'}}\r\n{{* {{calendar CollectionID=236 CollectionTypeID=238 CollectionTypeXrefID=239 Template=\'calendar-daily.html\' filter=1 url_format=\'/events/y-%Y/m-%m/\' year=$year month=$month day=$smarty.now|date_format:\'%d\'}}*}}\r\n\r\n\r\n\r\n\r\n',NULL,NULL,NULL,'<link rel=\"stylesheet\" type=\"text/css\" href=\"/style/calendar.css\" />','','','',NULL,NULL,'',NULL,''),(247,'CALENDAR - Content Page - Weekly',NULL,2,3,'\r\n{{assign var=fileNameToUse value=\'/events/\'}}\r\n\r\n<h1>\r\n		Calendar</h1>\r\n\r\n			{{if $smarty.get.month gt 0}} \r\n				{{assign var=month value=$smarty.get.month}} \r\n			{{else}} \r\n				{{assign var=month value=$smarty.now|date_format:\'%m\'}} \r\n			{{/if}} \r\n			\r\n			{{if $smarty.get.year gt 0}} \r\n				{{assign var=year value=$smarty.get.year}} \r\n			{{else}} \r\n				{{assign var=year value=$smarty.now|date_format:\'%Y\'}} \r\n			{{/if}} \r\n			 {{calendarweekly CollectionID=236 CollectionTypeID=238 CollectionTypeXrefID=239 filter=1 Template=\'calendar-weekly.html\' url_format=\'/events-weekly/y-%Y/m-%m/\' year=$year month=$month day=$smarty.now|date_format:\'%d\'}}\r\n	\r\n\r\n\r\n\r\n',NULL,NULL,NULL,'<link rel=\"stylesheet\" type=\"text/css\" href=\"/style/calendar.css\" />','','','',NULL,NULL,'',NULL,''),(251,'CALENDAR - One Event',NULL,2,3,'{{assign var=fileNameToUse value=\'/events/\'}}\r\n{{assign var=CalendarCollection value=236}}\r\n{{assign var=VenueCollection value=237}}\r\n{{assign var=CalPrefix value=\'Collection_\'|concat:$CalendarCollection|concat:\'_\'}}\r\n{{assign var=VenuePrefix value=\'Collection_\'|concat:$VenueCollection|concat:\'_\'}}\r\n{{assign var=EventID value=$CalPrefix|concat:\'ID\'}}\r\n{{assign var=EventName value=$CalPrefix|concat:\'1\'}}\r\n{{assign var=EventStart value=$CalPrefix|concat:\'2\'}}\r\n{{assign var=EventEnd   value=$CalPrefix|concat:\'3\'}}\r\n{{assign var=EventImage  value=$CalPrefix|concat:\'5\'}}\r\n{{assign var=EventSmallImage  value=$CalPrefix|concat:\'6\'}}\r\n{{assign var=EventDesc  value=$CalPrefix|concat:\'4\'}}\r\n{{assign var=EventActive  value=$CalPrefix|concat:\'19\'}}\r\n{{assign var=EventVenue  value=$CalPrefix|concat:\'7\'}}\r\n{{assign var=VenueID   value=$VenuePrefix|concat:\'ID\'}}\r\n{{assign var=VenueName  value=$VenuePrefix|concat:\'1\'}}\r\n{{getCollectionByCategory CollectionID=$CalendarCollection ColumnID=\'ID\' aditionalFilter=\' \'|concat:$EventActive|concat:\' = \"on\" \' Value=$smarty.get.EventID var=Events OrderColumn=1 }}\r\n\r\n{{if $Events|@count eq 0}}\r\n	{{php}} header(\"HTTP/1.0 404 Not Found\"); {{/php}}\r\n	{{getcontent id=$smarty.const.PAGE_NOT_FOUND_PAGE}}\r\n{{else}}\r\n\r\n\r\n{{assign var=Event value=$Events[0]}}\r\n{{capture name=a assign=specialBreadcrumb}}\r\n					<a href=\"/\">Home</a> &g{{**}}t; <a href=\"/events/\">Events</a> &g{{**}}t; {{$Event.$EventName}}\r\n{{/capture}}\r\n\r\n\r\n{{assign var=\'PageTitle\' value=$Event.$EventName}} {{assign var=\'PageTitle\' value=$PageTitle|concat:\' | Events \'}}{{setPage var=Collection_17_2 value=$PageTitle}} \r\n<h1>{{$Event.$EventName}}</h1>\r\n{{if $Event.$EventVenue gt 0}}\r\n{{getCollectionByCategory CollectionID=$VenueCollection ColumnID=\'ID\' Value=$Event.$EventVenue var=Venues OrderColumn=1 }}\r\n{{assign var=Venue value=$Venues[0]}}\r\n<p class=\"intro\"><a href=\"/event-venues/{{$Venue.$VenueID}}.html\">{{$Venue.$VenueName}}</a></p>{{/if}}\r\n{{if $Event.$EventImage neq \'\'}}<img src=\"{{$Event.$EventImage}}\" class=\"content-image\" />{{/if}}\r\n<p><em>{{$Event.$EventStart|date_format:\'%m/%d/%Y %I:%M %p\'}}</em> <br/>\r\n {{$Event.$EventDesc|nl2br}}</p>\r\n \r\n \r\n{{if $smarty.session.UserID gt 0}}\r\n{{CollectionCanAccess userId=$smarty.session.UserID CollectionId=$CalendarCollection rowId=$smarty.get.EventID var=DisplayLink}}\r\n{{if $DisplayLink}}\r\n{{capture name=eventfadmin assign=eventFrontEndAdmin}}\r\n\r\nvar obj = $(\'#AdminMenu8\').parent().find(\'ul\');\r\n$(\"<li id=\'adminFrontEditEvent\'><a class=\'level2\' href=\'javascript://\'>Edit Event</a></li>\").appendTo(obj);\r\n$(\"#adminFrontEditEvent\").click(function(){ adminDialog ( \"1\" , \"&id=236&eid={{$smarty.get.EventID}}\" , \"\" , 900 , 600 , \"Edit Event: {{$Event.$EventName|addslashes}}\" );  });\r\n$(\'#AdminMenu13\').remove();\r\n$(\'#AdminMenu2\').remove();\r\n\r\n{{/capture}}\r\n{{assign var=JavaScriptJQueryCode value=$JavaScriptJQueryCode|concat:\' \'|concat:$eventFrontEndAdmin}}\r\n\r\n{{/if}}\r\n{{/if}}\r\n\r\n\r\n{{/if}}',NULL,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(252,'CALENDAR - One Venue',NULL,2,3,'{{assign var=Cid value=237}} \r\n{{getCollectionByCategory CollectionID=$Cid ColumnID=\'ID\' Value=$smarty.get.VenueID var=Venuess OrderColumn=1 }} \r\n{{assign var=fileNameToUse value=\'/events/\'}}\r\n{{if $Venuess|@count eq 0}}\r\n	{{setPage var=Collection_17_2 value=\'Page not Found\'}} \r\n	{{php}} header(\"HTTP/1.0 404 Not Found\"); {{/php}}\r\n	{{getcontent id=$smarty.const.PAGE_NOT_FOUND_PAGE}}\r\n{{else}}\r\n\r\n\r\n		   {{assign var=Venues value=$Venuess[0]}} \r\n		   {{assign var=Prefix value=\'Collection_\'|concat:$Cid|concat:\'_\'}} \r\n		   {{assign var=VenueName value=$Prefix|concat:\'1\'}} \r\n		   {{assign var=VenueAddress value=$Prefix|concat:\'2\'}} \r\n		   {{assign var=VenueCity value=$Prefix|concat:\'3\'}} \r\n		   {{assign var=VenueState value=$Prefix|concat:\'4\'}} \r\n		   {{assign var=VenueZip value=$Prefix|concat:\'5\'}} \r\n		   {{assign var=VenuePhone value=$Prefix|concat:\'6\'}} \r\n		   {{assign var=VenueContact value=$Prefix|concat:\'7\'}} \r\n		   {{assign var=VenueEmail value=$Prefix|concat:\'8\'}} \r\n		   {{assign var=VenueImage value=$Prefix|concat:\'9\'}} \r\n		   {{assign var=statelookup value=$lookups.$VenueState}} \r\n		   {{assign var=state value=$Venues.$VenueState}}\r\n           {{if $Venues.$VenueImage neq \'\'}}<img src=\"{{$Venues.$VenueImage}}\" class=\"content-image\" />{{/if}}\r\n           \r\n		   {{capture name=a assign=specialBreadcrumb}}\r\n					<a href=\"/\">Home</a> &g{{**}}t; <a href=\"/events/\">Events</a> &g{{**}}t; Venues &g{{**}}t; {{$Venues.$VenueName}}\r\n{{/capture}}\r\n		   \r\n		    <h1>{{$Venues.$VenueName}}</h1>\r\n\r\n                       \r\n						{{if $Venues.$VenueContact neq \'\'}}\r\n                        <p>Contact Name: {{$Venues.$VenueContact}}</p>\r\n                        {{/if}} {{if $Venues.$VenuePhone neq \'\'}}\r\n                        <p>Phone: {{$Venues.$VenuePhone}}</p>\r\n                        {{/if}} {{if $Venues.$VenueEmail neq \'\'}}\r\n                        <p>Email: <a href=\"mailto:{{$Venues.$VenueEmail}}\">{{$Venues.$VenueEmail}}</a></p>\r\n                        {{/if}}\r\n\r\n                        <h2>Directions</h2>\r\n                        <p>\r\n						<strong>Address:</strong> {{$Venues.$VenueAddress}}<br/>\r\n						<strong>City:</strong> {{$Venues.$VenueCity}}<br/>\r\n						<strong>State:</strong> {{$statelookup.$state}}<br/>\r\n						<strong>Zip:</strong> {{$Venues.$VenueZip}}<br/>\r\n						<a target=\"_Blank\" href=\"http://maps.google.com/maps?f=q&hl=en&q={{$Venues.$VenueAddress}}+{{$Venues.$VenueCity}}+{{$statelookup.$state}}+{{$Venues.$VenueZip}}\">MAP</a>\r\n						</p>\r\n						\r\n      \r\n{{assign var=\'PageTitle\' value=$Venues.$VenueName}} \r\n{{assign var=\'PageTitle\' value=$PageTitle|concat:\' | Event Venues \'}}\r\n{{setPage var=Collection_17_2 value=$PageTitle}} \r\n{{/if}}\r\n			',NULL,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(256,'NEWS - Archive',NULL,2,3,'<div>\r\n<h1>News Archives</h1>\r\n{{assign var=fileNameToUse value=\'/news/archives/\'}}\r\n{{news newsContentID=270 resultsPerPage=10 skipFromFuture=1 PagesVar=Pages var=Results NewsCollection=274 NewsCategoriesCollection=273 NewsCategoriesXRefCollection=275 filterCategories=0 isArchived=1}}\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(257,'NEWS - Archives Category News',NULL,2,3,'<div>\r\n{{assign var=fileNameToUse value=\'/news/archives/\'}}\r\n{{getCollectionByCategory CollectionID=273 ColumnID=\'ID\' Value=$smarty.get.category OrderColumn=\'ID\' var=Category}} \r\n{{assign var=CategoryDetails value=$Category[0]}} \r\n{{assign var=\'PageTitle\' value=\'News - \'}} \r\n{{assign var=\'PageTitle\' value=$PageTitle|concat:$CategoryDetails.Collection_273_1}} \r\n{{setPage var=Collection_17_2 value=$PageTitle}}\r\n{{createArray array=$Category var=Categories CollectionID=273 ColumnID=\'ID\'}}\r\n<h1>{{$CategoryDetails.Collection_273_1}}</h1>\r\n<p>Click <a href=\"/news/{{$smarty.get.category}}/\">here</a> for <em>{{$CategoryDetails.Collection_273_1}}</em></p>\r\n\r\n{{assign var=newsCategoryID value=$CategoryDetails.Collection_273_ID|concat:\"/\"}}\r\n{{news newsContentID=270 isArchived=1 filterCategories=$Categories var=Results NewsCollection=274 NewsCategoriesCollection=273 NewsCategoriesXRefCollection=275 resultsPerPage=10 skipFromFuture=1 PagesVar=Pages}}\r\n\r\n</div>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(260,'NEWS - Category News',NULL,2,3,'<div>\r\n{{assign var=fileNameToUse value=\'/news/\'}}\r\n{{getCollectionByCategory CollectionID=273 ColumnID=\'ID\' Value=$smarty.get.category OrderColumn=\'ID\' var=Category}} \r\n{{assign var=CategoryDetails value=$Category[0]}} \r\n{{assign var=\'PageTitle\' value=\'News - \'}} \r\n{{assign var=\'PageTitle\' value=$PageTitle|concat:$CategoryDetails.Collection_273_1}} \r\n{{setPage var=Collection_17_2 value=$PageTitle}}\r\n{{createArray array=$Category var=Categories CollectionID=273 ColumnID=\'ID\'}}\r\n<h1>{{$CategoryDetails.Collection_273_1}}</h1>\r\n<p>Click <a href=\"/news/archives/{{$smarty.get.category}}/\">here</a> for <em>{{$CategoryDetails.Collection_273_1}} </em> archives</p>\r\n{{if $CategoryDetails.Collection_273_3 neq \'\'}}<p>{{$CategoryDetails.Collection_273_3}}</p>{{/if}}\r\n{{assign var=newsCategoryID value=$CategoryDetails.Collection_273_ID|concat:\"/\"}}\r\n{{news newsContentID=270 isArchived=0 filterCategories=$Categories var=Results NewsCollection=274 NewsCategoriesCollection=273 NewsCategoriesXRefCollection=275 resultsPerPage=10 skipFromFuture=1 PagesVar=Pages}}\r\n\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(261,'NEWS - Main News Page',NULL,2,3,'<div>\r\n<h1>News</h1>\r\n{{assign var=fileNameToUse value=\'/news/\'}}\r\n{{news newsContentID=270 resultsPerPage=10 skipFromFuture=1 PagesVar=Pages var=Results NewsCollection=274 NewsCategoriesCollection=273 NewsCategoriesXRefCollection=275 filterCategories=0 isArchived=0}}\r\n</div>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(262,'NEWS - One News',NULL,2,3,'<div>\r\n{{assign var=fileNameToUse value=\'/news/\'}}\r\n{{news newsContentID=0 var=Result newsId=$smarty.get.newsid isArchived=2 NewsCollection=274 NewsCategoriesCollection=273 NewsCategoriesXRefCollection=275}}\r\n           \r\n{{if $Result.Image neq \'\'}}<img class=\"content-image\" src=\"{{$Result.Image}}\" />{{/if}}\r\n			\r\n	    <h1>{{$Result.Headline}}</h1>\r\n            <h2>{{$Result.SubHead}}</h2>\r\n            \r\n            {{if $Result.ArticleContent neq \'\'}}\r\n            <div>{{$Result.ArticleContent}}</div>\r\n            {{/if}}\r\n            \r\n            {{assign var=\'PageTitle\' value=\'News - \'}} \r\n			{{assign var=\'PageTitle\' value=$PageTitle|concat:$Result.Headline}} \r\n			{{setPage var=Collection_17_2 value=$PageTitle}}\r\n\r\n\r\n</div>\r\n\r\n\r\n\r\n{{if $smarty.session.UserID gt 0}}\r\n{{CollectionCanAccess userId=$smarty.session.UserID CollectionId=274 rowId=$smarty.get.newsid var=DisplayLink}}\r\n{{if $DisplayLink}}\r\n{{capture name=eventfadmin assign=eventFrontEndAdmin}}\r\n\r\nvar obj = $(\'#AdminMenu10\').parent().find(\'ul\');\r\n$(\"<li id=\'adminFrontEditNews\'><a class=\\\"level2\\\" href=\'javascript: adminDialog ( \\\"1\\\" , \\\"&id=274&eid={{$smarty.get.newsid}}\\\" , \\\"\\\"  , 900 , 600 , \\\"\\\" );\'>Edit News</a></li>\").appendTo(obj);\r\n\r\n$(\'#AdminMenu13\').remove();\r\n$(\'#AdminMenu2\').remove();\r\n\r\n{{/capture}}\r\n{{assign var=JavaScriptJQueryCode value=$JavaScriptJQueryCode|concat:\' \'|concat:$eventFrontEndAdmin}}\r\n{{/if}}{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(269,'NEWS - Homepage News',NULL,2,3,'{{math equation=\"x + 2592000\" x=$smarty.now assign=oneWeekLater}}\r\n{{news skipFromFuture=0 futureLimit=$oneWeekLater  var=Results NewsCollection=274 NewsCategoriesCollection=273 NewsCategoriesXRefCollection=275 limit=4 filterCategories=0 isArchived=0}}\r\n{{if $Results|@count gt 0}}\r\n<div id=\"rightnews\">\r\n<h3>News</h3>\r\n{{foreach from=$Results item=v key=k name=newsleft}}\r\n{{assign var=canAccess value=0}}\r\n{{if $smarty.session.UserID gt 0}}\r\n{{CollectionCanAccess userId=$smarty.session.UserID CollectionId=274 rowId=$v.Id var=canAccess}}\r\n{{/if}}\r\n<p {{if $canAccess eq true}}collectionid=\"274\" collectionrowid=\"{{$v.Id}}\" collectioneditor=\"1\"{{/if}}>\r\n<a href=\"/news/{{$v.Category}}/{{$v.Id}}.html\">\r\n	{{if $v.ImageTnail neq \'\'}}<img src=\"{{$v.ImageTnail}}\" class=\"leftimage\" align=\"left\" />{{else}}<img src=\"/images/newsdefault.gif\" class=\"leftimage\" align=\"left\" />{{/if}}\r\n	<strong>{{$v.Headline}}</strong><br/>\r\n	{{$v.Abstract|nl2br}}\r\n</a>\r\n</p>\r\n{{/foreach}}\r\n</div>\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(270,'NEWS FORMAT - All News',NULL,2,3,'{{foreach from=$Results item=v key=k name=newsleft}}\r\n<div class=\"onenews\">\r\n<h3>{{$v.Headline}}</h3>\r\n<h4>{{$v.DateStart|date_format:\"%A, %B %e, %Y\"}}</h4>\r\n<p>{{$v.Abstract|nl2br}}<br/>\r\n<a href=\"/news/{{$v.Category}}/{{$v.Id}}.html\">Learn More ></a></p>\r\n</div>\r\n{{/foreach}}\r\n\r\n{{assign var=theLinks value=$Pages.links}}\r\n{{if $theLinks|@count gt 1}}\r\n\r\n<div class=\"clear\"></div>\r\n<div class=\"media-pages\">\r\n{{if $Pages.pagePrevious neq false}}\r\n	<a href=\"/news/{{if $smarty.get.archives eq 1}}archives/{{/if}}{{$newsCategoryID}}\">First</a>  &nb{{**}}sp;\r\n{{/if}}\r\n{{if $Pages.pagePrevious neq false}}\r\n	<a href=\"/news/{{if $smarty.get.archives eq 1}}archives/{{/if}}{{$newsCategoryID}}{{if $Pages.pagePrevious gt 1}}p-{{$Pages.pagePrevious}}/{{/if}}\">Previous</a>  &nb{{**}}sp;&nb{{**}}sp;\r\n{{/if}}\r\n{{foreach from=$theLinks item=v key=k name=n}}\r\n	{{if $v eq true}}\r\n		<span>{{$k}}</span>\r\n	{{else}}\r\n		<a href=\"/news/{{if $smarty.get.archives eq 1}}archives/{{/if}}{{$newsCategoryID}}{{if $k gt 1}}p-{{$k}}/{{/if}}\">{{$k}}</a>\r\n	{{/if}}\r\n		{{if !$smarty.foreach.n.last}}&nb{{**}}sp;{{/if}}\r\n{{/foreach}}\r\n{{if $Pages.pageNext neq false}}\r\n	  &nb{{**}}sp; <a href=\"/news/{{if $smarty.get.archives eq 1}}archives/{{/if}}{{$newsCategoryID}}p-{{$Pages.pageNext}}/\" >Next</a>\r\n{{/if}}\r\n{{if $Pages.pageNext neq false}}\r\n	  &nb{{**}}sp;&nb{{**}}sp; <a href=\"/news/{{if $smarty.get.archives eq 1}}archives/{{/if}}{{$newsCategoryID}}p-{{$Pages.pageLast}}/\" >Last</a>\r\n{{/if}}\r\n</div>\r\n{{/if}}\r\n\r\n{{if $smarty.get.archives eq 1}}\r\n		\r\n		{{if $newsCategoryID neq \'\'}}\r\n			{{capture name=a assign=specialBreadcrumb}}\r\n					<a href=\"/\">Home</a> &g{{**}}t; <a href=\"/news/\">News</a> &g{{**}}t; <a href=\"/news/archives/\">News Archives</a> &g{{**}}t; {{$CategoryDetails.Collection_273_1}}\r\n			{{/capture}}\r\n		{{/if}}\r\n{{else}}\r\n		{{if $newsCategoryID neq \'\'}}\r\n			{{capture name=a assign=specialBreadcrumb}}\r\n					<a href=\"/\">Home</a> &g{{**}}t; <a href=\"/news/\">News</a> &g{{**}}t; {{$CategoryDetails.Collection_273_1}}\r\n			{{/capture}}\r\n		{{/if}}\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(507,'Content - Sitemap',NULL,1,1,'<div id=\"contentfull\">\r\n<h1>Site Map</h1>\r\n\r\n<div>\r\n<div id=\"smarty_plugin\">{{getTreeChildNumberAdmin var=primaryCategories CID=276 Level=0 OrderCol=3 OrderWay=0 MenuTemplate=\'sitemap.html\'}}</div>\r\n</div>\r\n</div>',1228324297,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(508,'Content - Search?',NULL,1,1,'<div id=\"content-page\">\r\n	<h1>\r\n		search</h1>\r\n	<div id=\"search_content\">\r\n		<div id=\"smarty_plugin\">\r\n			{{if $smarty.get.words}} {{search}} {{else}} {{getcontent id=509}} {{/if}}</div>\r\n	</div>\r\n</div>\r\n',1228324591,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(509,'Content - Search - No Words',NULL,2,1,'<form action=\"/search.html\" method=\"get\" name=\"search\">\r\n    <p><input class=\"input\" size=\"30\" name=\"words\" type=\"text\" /> <input class=\"button\" type=\"submit\" value=\"Search\" /></p>\r\n</form>',1228324911,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(498,'SYSTEM - Preview Contents',NULL,2,3,'<div>{{eval var=$smarty.post.PreviewData}}</div>',1221744292,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(151,'VIDEO - Sample Content Page',NULL,2,3,'<div id=\"leftside\">\r\n	<div id=\"smarty_plugin\">\r\n		{{assign var=fileNameToUse value=\'/videos.html\'}}{{getcontent id=12}}</div>\r\n</div>\r\n<div id=\"contentalt\">\r\n	<h2>\r\n		Videos</h2>\r\n	<div>\r\n		<div id=\"smarty_plugin\">\r\n			{{getcontent id=152}}</div>\r\n	</div>\r\n</div>\r\n',1222700258,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(152,'VIDEO - Sample Content Page - Code',NULL,2,3,'<div>\r\n	<div id=\"smarty_plugin\">\r\n		{{CollectionDisplay CollectionID=50 FilterID=8 TemplateID=5 PaginateResults=1 ResultsPerPage=10 LimitResults=0 LimitValue=10 ResultsVar=Results PagesVar=PageResults OrderColumn=1 OrderWay=0}}</div>\r\n</div>\r\n',1222700331,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(312,'Site Blog - Topics on homepage',NULL,2,3,'{{assign var=CatCollection value=60}}\r\n{{assign var=CatName value=1|fieldName:$CatCollection}}\r\n{{assign var=CatID value=\'ID\'|fieldName:$CatCollection}}\r\n{{getCollectionByCategory CollectionID=$CatCollection OrderColumn=2 OrderWay=1 var=Categories}}\r\n<ul>\r\n{{foreach from=$Categories item=v key=k name=cats}}\r\n    <li><a href=\"/blog-topics.html?topic={{$v.$CatID}}\">{{$v.$CatName}}</a></li>\r\n{{/foreach}}	\r\n</ul>',1202391390,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(311,'Site Blog - Edit Article',NULL,2,3,'<div id=\"submenu\">{{getcontent id=300}}</div>\r\n<div id=\"middle2\">\r\n<h1>Edit Article</h1>\r\n<div id=\"blog_article\">\r\n<div id=\"smarty_plugin\">\r\n{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} \r\n{{assign var=generalUser value=0}} \r\n{{assign var=moderatorUser value=0}} \r\n{{foreach from=$Groups item=v key=k}} \r\n{{if $v.Collection_3_2 eq 1 or $v.Collection_3_2 eq 5 }} {{assign var=moderatorUser value=1}} {{/if}} \r\n{{if $v.Collection_3_2 eq 3 or $v.Collection_3_2 eq 4 }} {{assign var=generalUser value=1}} {{/if}} \r\n{{/foreach}}\r\n{{getCollectionByCategory CollectionID=61 OrderColumn=1 OrderWay=1 var=Discussion ColumnID=\'ID\' Value=$smarty.get.article}} \r\n{{assign var=DiscussionData value=$Discussion[0]}} \r\n{{getCollectionByCategory CollectionID=1 OrderColumn=1 OrderWay=1 var=User ColumnID=\'ID\' Value=$DiscussionData.Collection_61_6}} \r\n{{assign var=UData value=$User[0]}} \r\n{{if $smarty.session.UserID eq $UData.Collection_1_ID or $moderatorUser eq 1}} \r\n<div id=\"postcomment\">\r\n{{ViewCollection CollectionID=61 TemplateID=13 rowid=$smarty.get.article mode=\'Edit\'}} \r\n</div>\r\n{{else}} \r\n{{urlredirect page=\'/blog.html\'}}\r\n{{/if}}\r\n</div>\r\n</div>\r\n</div>',1202321468,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(310,'Site Blog - Add Article',NULL,2,3,'<div id=\"submenu\">\r\n	<div id=\"smarty_plugin\">\r\n		{{getcontent id=300}}</div>\r\n</div>\r\n<div id=\"middle2\">\r\n	<h1>\r\n		Add Article</h1>\r\n	<div id=\"postcomment\">\r\n		<div id=\"smarty_plugin\">\r\n			{{ViewCollection CollectionID=61 TemplateID=12}}</div>\r\n	</div>\r\n	<p>\r\n		 </p>\r\n	<p>\r\n		 </p>\r\n</div>\r\n',1202319381,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(308,'Site Blog - Delete Comment',NULL,2,3,'{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} \r\n{{assign var=generalUser value=0}} \r\n{{assign var=moderatorUser value=0}} \r\n{{foreach from=$Groups item=v key=k}} \r\n{{if $v.Collection_3_2 eq 1 or $v.Collection_3_2 eq 5 }} {{assign var=moderatorUser value=1}} {{/if}} \r\n{{if $v.Collection_3_2 eq 3 or $v.Collection_3_2 eq 4 }} {{assign var=generalUser value=1}} {{/if}} \r\n{{/foreach}}\r\n\r\n{{getCollectionByCategory CollectionID=62 OrderColumn=ID OrderWay=1 var=Comments ColumnID=\'ID\' Value=$smarty.get.comment}}\r\n{{assign var=CommentData value=$Comments[0]}}\r\n\r\n{{getCollectionByCategory CollectionID=1 OrderColumn=1 OrderWay=1 var=User ColumnID=\'ID\' Value=$CommentData.Collection_62_3}} \r\n{{assign var=UData value=$User[0]}} \r\n{{if $smarty.session.UserID eq $UData.Collection_1_ID or $moderatorUser eq 1}} \r\n\r\n{{CollectionDeleteRow CollectionID=62 RowID=$smarty.get.comment}}\r\n{{urlredirect page=\'/blog-article.html?article=\'|concat:$smarty.get.article}}\r\n{{else}}\r\n{{urlredirect page=\'/blog-article.html?article=\'|concat:$smarty.get.article}}\r\n{{/if}}',1202318624,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(309,'Site Blog - Delete Article',NULL,2,3,'{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} \r\n{{assign var=generalUser value=0}} \r\n{{assign var=moderatorUser value=0}} \r\n{{foreach from=$Groups item=v key=k}} \r\n{{if $v.Collection_3_2 eq 1 or $v.Collection_3_2 eq 5 }} {{assign var=moderatorUser value=1}} {{/if}} \r\n{{if $v.Collection_3_2 eq 3 or $v.Collection_3_2 eq 4 }} {{assign var=generalUser value=1}} {{/if}} \r\n{{/foreach}}\r\n\r\n{{assign var=DescCollection value=61}}\r\n{{assign var=CommentsCollection value=62}}\r\n{{getCollectionByCategory CollectionID=$DescCollection OrderColumn=1 OrderWay=1 var=Articles ColumnID=\'ID\' Value=$smarty.get.article}}\r\n{{assign var=ArticleData value=$Articles[0]}}\r\n{{assign var=Topic value=2|fieldName:$DescCollection}}\r\n\r\n{{getCollectionByCategory CollectionID=1 OrderColumn=1 OrderWay=1 var=User ColumnID=\'ID\' Value=$ArticleData.Collection_61_6}} \r\n{{assign var=UData value=$User[0]}} \r\n{{if $smarty.session.UserID eq $UData.Collection_1_ID or $moderatorUser eq 1}} \r\n\r\n\r\n\r\n{{getCollectionByCategory CollectionID=$CommentsCollection OrderColumn=ID OrderWay=1 var=Comments ColumnID=\'4\' Value=$smarty.get.article}} \r\n{{foreach from=$Comments item=v key=k}}\r\n	{{CollectionDeleteRow CollectionID=$CommentsCollection RowID=$v.Collection_62_ID}}\r\n{{/foreach}}\r\n\r\n{{CollectionDeleteRow CollectionID=$DescCollection RowID=$smarty.get.article}}\r\n{{urlredirect page=\'/blog-topics.html?topic=\'|concat:$ArticleData.$Topic}}\r\n{{else}}\r\n{{urlredirect page=\'/blog.html\'}}\r\n{{/if}}',1202319020,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(307,'Site Blog - Edit Comment',NULL,2,3,'{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} \r\n{{assign var=generalUser value=0}} \r\n{{assign var=moderatorUser value=0}} \r\n{{foreach from=$Groups item=v key=k}} \r\n{{if $v.Collection_3_2 eq 1 or $v.Collection_3_2 eq 5 }} {{assign var=moderatorUser value=1}} {{/if}} \r\n{{if $v.Collection_3_2 eq 3 or $v.Collection_3_2 eq 4 }} {{assign var=generalUser value=1}} {{/if}} \r\n{{/foreach}}\r\n\r\n{{getCollectionByCategory CollectionID=62 OrderColumn=1 OrderWay=1 var=Comments ColumnID=\'ID\' Value=$smarty.get.comment}}\r\n{{assign var=Comment value=$Comments[0]}}\r\n\r\n{{getCollectionByCategory CollectionID=1 OrderColumn=1 OrderWay=1 var=User ColumnID=\'ID\' Value=$Comment.Collection_62_3}} \r\n{{assign var=UData value=$User[0]}} \r\n{{if $smarty.session.UserID eq $UData.Collection_1_ID or $moderatorUser eq 1}}\r\n\r\n<div id=\"inner_content\">\r\n<h1>Edit Comment</h1>\r\n<div id=\"blog_article\">\r\n<div id=\"smarty_plugin\">{{ViewCollection CollectionID=62 TemplateID=10 mode=\'Edit\' rowid=$smarty.get.comment}}</div>\r\n</div>\r\n</div>\r\n<div id=\"menu_right\">\r\n<div id=\"smarty_plugin\">{{getcontent id=300}}</div>\r\n</div>\r\n{{else}}\r\n{{urlredirect page=\'/blog.html\'}}\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(305,'Site Blog - Archive Page',NULL,2,3,'<div id=\"submenu\">{{getcontent id=300}}</div>\r\n<div id=\"middle2\">\r\n<h1>Discussion Archive {{$smarty.get.month}}-{{$smarty.get.year}}</h1>\r\n<div>\r\n<div id=\"smarty_plugin\">{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} {{assign var=generalUser value=0}} {{assign var=moderatorUser value=0}} {{foreach from=$Groups item=v key=k}} {{if $v.Collection_3_2 eq 1 }} {{assign var=moderatorUser value=1}} {{/if}} {{if $v.Collection_3_2 eq 3 }} {{assign var=generalUser value=1}} {{/if}} {{/foreach}} {{assign var=\'PageTitle\' value=\'Discussion Archive- \'}} {{assign var=\'PageTitle\' value=$PageTitle|concat:$smarty.get.month|concat:\'-\'|concat:$smarty.get.year}} {{setPage var=Collection_17_2 value=$PageTitle}} {{* we will get the last 5 articles that were posted *}} {{assign var=TimeStart value=1|getStartTime}} {{assign var=TimeEnd value=1|getEndTime}} {{assign var=DescCollection value=61}} {{assign var=CommentsCollection value=62}} {{getCollectionByCategory CollectionID=$DescCollection OrderColumn=5 OrderWay=1 aditionalFilter=\' Collection_61_5 > \'|concat:$TimeStart|concat:\' AND Collection_61_5 < \'|concat:$TimeEnd|concat:\' \' var=Last5Articles Limit=10 Page=0}} {{if $Last5Articles|@count gt 0}} {{getcontent id=303}} {{else}}\r\n<p> </p>\r\n<p> </p>\r\n<center>\r\n<h3>There are no dicussions available</h3>\r\n</center>{{/if}}</div>\r\n</div>\r\n</div>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(306,'Site Blog - Article',NULL,2,3,'<div id=\"submenu\"><div id=\"smarty_plugin\">{{getcontent id=300}}</div></div>\r\n<div id=\"middle2\">\r\n<div>\r\n<div id=\"smarty_plugin\">\r\n{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} \r\n{{assign var=generalUser value=0}} \r\n{{assign var=moderatorUser value=0}}\r\n{{foreach from=$Groups item=v key=k}} \r\n	{{if $v.Collection_3_2 eq 5 or $v.Collection_3_2 eq 1 }} {{assign var=moderatorUser value=1}} {{/if}} \r\n	{{if $v.Collection_3_2 eq 4 }} {{assign var=generalUser value=1}} {{/if}} \r\n{{/foreach}} \r\n	{{assign var=CatCollection value=60}} \r\n	{{assign var=DescCollection value=61}} \r\n	{{assign var=CommentsCollection value=62}} \r\n	{{getCollectionByCategory CollectionID=$DescCollection OrderColumn=1 OrderWay=1 var=Articles ColumnID=\'ID\' Value=$smarty.get.article}} \r\n	{{if $Articles|@count eq 0}} \r\n		{{urlredirect page=\'/notfond.html\'}} \r\n	{{/if}} \r\n	{{assign var=ArticleData value=$Articles[0]}} \r\n	{{assign var=ArticleName value=1|fieldName:$DescCollection}} \r\n	{{assign var=Article value=3|fieldName:$DescCollection}} \r\n	{{assign var=Topic value=2|fieldName:$DescCollection}} \r\n	{{assign var=PostedBy value=6|fieldName:$DescCollection}} \r\n	{{assign var=DiscPosted value=5|fieldName:$DescCollection}} \r\n	{{assign var=\'PageTitle\' value=\'Discussions - \'}} \r\n	{{assign var=\'PageTitle\' value=$PageTitle|concat:$ArticleData.$ArticleName}} \r\n	{{setPage var=Collection_17_2 value=$PageTitle}} \r\n	{{getCollectionByCategory CollectionID=$CatCollection OrderColumn=2 OrderWay=1 var=Categories ColumnID=\'ID\' Value=$ArticleData.$Topic}} \r\n	{{assign var=CatData value=$Categories[0]}} \r\n	{{assign var=CatName value=1|fieldName:$CatCollection}} \r\n	{{getCollectionByCategory CollectionID=1 OrderColumn=1 OrderWay=1 var=User ColumnID=\'ID\' Value=$ArticleData.$PostedBy}} \r\n	{{assign var=UData value=$User[0]}}\r\n</div>\r\n</div>\r\n<h1>{{$ArticleData.$ArticleName}}</h1>\r\n<div class=\"topic\">{{$CatData.$CatName}}</div>\r\n\r\n\r\n<h3>{{assign var=dateposted value=$ArticleData.$DiscPosted}}{{$dateposted|date_format:\'%A, %B %e, %Y\'}}</h3>\r\n<div id=\"article_content\">{{$ArticleData.$Article}}</div>\r\n<div>\r\n<p><span>Posted By {{$UData.Collection_1_3}} {{$UData.Collection_1_4}} at {{$dateposted|date_format:\'%H:%M\'}}</span> {{if $moderatorUser eq 1}} <a href=\"/edit-article.html?article={{$smarty.get.article}}\"><img alt=\"\" border=\"0\" src=\"/images/edit-icon.gif\" /></a> <a href=\"javascript: if(confirm(\'Delete Article?\')) { window.location=\'/delete-article.html?article={{$smarty.get.article}}\'; }\"><img alt=\"\" border=\"0\" src=\"/images/delete-icon.gif\" /></a> {{/if}}</p>\r\n</div>\r\n<div><img src=\"/images/sep.gif\" height=\"20\"/></div>\r\n<div id=\"blog_article\">\r\n<h3>Comments</h3>\r\n<div>\r\n<div id=\"smarty_plugin\">{{getCollectionByCategory CollectionID=$CommentsCollection OrderColumn=5 OrderWay=0 var=Comments ColumnID=\'4\' Value=$smarty.get.article}} {{if $Comments|@count eq 0}}\r\n\r\n<p>There are no comments posted for this article</p>\r\n{{else}} {{assign var=CommentUser value=3|fieldName:$CommentsCollection}} {{assign var=CommentID value=\'ID\'|fieldName:$CommentsCollection}} {{assign var=CommentTitle value=\'1\'|fieldName:$CommentsCollection}} {{assign var=CommentComment value=2|fieldName:$CommentsCollection}} {{assign var=CommentTime value=5|fieldName:$CommentsCollection}} {{foreach from=$Comments item=v key=k}} {{getCollectionByCategory CollectionID=1 OrderColumn=1 OrderWay=1 var=User ColumnID=\'ID\' Value=$v.$CommentUser}} {{assign var=UData value=$User[0]}}\r\n<div id=\"comment\">\r\n<h4>{{$UData.Collection_1_3}} {{$UData.Collection_1_4}} said...</h4>\r\n<h5>{{$v.$CommentTitle}}</h5>\r\n<div>{{$v.$CommentComment|nl2br}}</div>\r\n<div>\r\n<p><span>{{assign var=dateposted value=$v.$CommentTime}}{{$dateposted|date_format:\'%A, %B %e, %Y\'}}</span> {{if $moderatorUser eq 1}} <a href=\"/edit-comment.html?article={{$smarty.get.article}}&comment={{$v.$CommentID}}\"><img alt=\"\" border=\"0\" src=\"/images/edit-icon.gif\" /></a> <a href=\"javascript: if(confirm(\'Delete Comment?\')) { window.location=\'/delete-comment.html?article={{$smarty.get.article}}&comment={{$v.$CommentID}}\'; }\"><img alt=\"\" border=\"0\" src=\"/images/delete-icon.gif\" /></a> {{/if}}</p>\r\n</div>\r\n</div>\r\n{{/foreach}} {{/if}}</div>\r\n</div>\r\n<div id=\"postcomment\">\r\n<div id=\"smarty_plugin\">{{if $moderatorUser eq 1 or $generalUser eq 1}}\r\n<div><img src=\"/images/sep.gif\" height=\"20\"/></div>\r\n<h3>Post a Comment</h3>\r\n{{ViewCollection CollectionID=62 TemplateID=9}} {{/if}}</div>\r\n</div>\r\n\r\n</div>',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(304,'Site Blog - Topic Page',NULL,2,3,'<div id=\"submenu\">{{getcontent id=300}}</div>\r\n<div id=\"middle2\">\r\n{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} \r\n{{assign var=generalUser value=0}} \r\n{{assign var=moderatorUser value=0}} \r\n{{foreach from=$Groups item=v key=k}} \r\n{{if $v.Collection_3_2 eq 1 or $v.Collection_3_2 eq 5 }} {{assign var=moderatorUser value=1}} {{/if}} \r\n{{if $v.Collection_3_2 eq 3 or $v.Collection_3_2 eq 4 }} {{assign var=generalUser value=1}} {{/if}} \r\n{{/foreach}}\r\n\r\n{{assign var=CatCollection value=60}} \r\n{{assign var=DescCollection value=61}}\r\n{{assign var=CommentsCollection value=62}} \r\n{{getCollectionByCategory CollectionID=$CatCollection OrderColumn=2 OrderWay=1 var=Categories ColumnID=\'ID\' Value=$smarty.get.topic}} \r\n{{assign var=CatData value=$Categories[0]}} \r\n{{assign var=CatName value=1|fieldName:$CatCollection}} \r\n{{assign var=\'PageTitle\' value=\'Discussions - \'}} \r\n{{assign var=\'PageTitle\' value=$PageTitle|concat:$CatData.$CatName}} \r\n{{setPage var=Collection_17_2 value=$PageTitle}}\r\n\r\n<h1>{{$CatData.$CatName}}</h1>\r\n{{* we will get the last 5 articles that were posted *}}\r\n{{getCollectionByCategory CollectionID=$DescCollection OrderColumn=5 OrderWay=1 ColumnID=2 Value=$smarty.get.topic var=Last5Articles Limit=10 Page=0}} \r\n{{if $Last5Articles|@count gt 0}} \r\n{{getcontent id=303}} \r\n{{else}}\r\n<p> </p>\r\n<p> </p>\r\n<center>\r\n<h3>There are no dicussions available</h3>\r\n</center>\r\n{{/if}}\r\n</div>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(303,'Site Blog - Code to display discussions',NULL,2,3,'{{assign var=DiscName value=1|fieldName:$DescCollection}}\r\n{{assign var=DiscID value=\'ID\'|fieldName:$DescCollection}}\r\n{{assign var=DiscPosted value=5|fieldName:$DescCollection}}\r\n{{assign var=PostedBy value=6|fieldName:$DescCollection}}\r\n{{assign var=Abstract value=4|fieldName:$DescCollection}}\r\n{{foreach from=$Last5Articles item=v key=k}}\r\n<div id=\"blog_article\">\r\n{{getCollectionByCategory CollectionID=1 OrderColumn=1 OrderWay=1 var=User ColumnID=\'ID\' Value=$v.$PostedBy}}\r\n{{assign var=UData value=$User[0]}}\r\n{{getCollectionByCategory CollectionID=$CommentsCollection OrderColumn=1 OrderWay=1 var=Comments ColumnID=\'4\' Value=$v.$DiscID}}\r\n<h4>{{assign var=dateposted value=$v.$DiscPosted}}{{$dateposted|date_format:\"%A, %B %e, %Y\"}}</h4>\r\n<h3><a href=\"/blog-article.html?article={{$v.$DiscID}}\">{{$v.$DiscName}}</a></h3>\r\n<p>{{$v.$Abstract}}</p>\r\n<p><a href=\"/blog-article.html?article={{$v.$DiscID}}\">Read More and Post Comments>></a></p>\r\n<p><span>Posted By {{$UData.Collection_1_3}} {{$UData.Collection_1_4}} at {{$dateposted|date_format:\"%H:%M\"}}</span> <span><strong>{{$Comments|@count}} comments</strong></span>\r\n{{if $UData.Collection_1_ID eq $smarty.session.UserID}}<a href=\"/edit-article.html?article={{$v.$DiscID}}\"><img src=\"/images/edit-icon.gif\" border=\"0\"/></a>{{/if}}\r\n{{if $moderatorUser eq 1}}\r\n		{{if $UData.Collection_1_ID neq $smarty.session.UserID}}<a href=\"/edit-article.html?article={{$v.$DiscID}}\"><img src=\"/images/edit-icon.gif\" border=\"0\"/></a>{{/if}}\r\n		<a href=\"javascript: if(confirm(\'Delete Article?\')) { window.location=\'/delete-article.html?article={{$v.$DiscID}}\'; }\"><img src=\"/images/delete-icon.gif\" border=\"0\"/></a>			\r\n			{{/if}}\r\n</p>\r\n</div>\r\n{{/foreach}}',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(301,'Site Blog - Main Page',NULL,2,3,'<div id=\"submenu\">\r\n	<div id=\"smarty_plugin\">\r\n		{{getcontent id=300}}</div>\r\n</div>\r\n<div id=\"middle2\">\r\n	<h1>\r\n		Blog</h1>\r\n	<div>\r\n		<div id=\"smarty_plugin\">\r\n			{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} {{assign var=generalUser value=0}} {{assign var=moderatorUser value=0}} {{foreach from=$Groups item=v key=k}} {{if $v.Collection_3_2 eq 1 }} {{assign var=moderatorUser value=1}} {{/if}} {{if $v.Collection_3_2 eq 3 }} {{assign var=generalUser value=1}} {{/if}} {{/foreach}} {{assign var=DescCollection value=61}}{{assign var=CommentsCollection value=62}} {{getCollectionByCategory CollectionID=$DescCollection OrderColumn=5 OrderWay=1 var=Last5Articles Limit=10 Page=0}} {{if $Last5Articles|@count gt 0}} {{getcontent id=303}} {{else}}\r\n			<p>\r\n				 </p>\r\n			<p>\r\n				 </p>\r\n			<center>\r\n				<h3>\r\n					There are no dicussions available</h3>\r\n			</center>\r\n			{{/if}}</div>\r\n	</div>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(685,'Menu - Quick Links - Col 2',NULL,6,1,'<h3>header</h3>\r\n<ul>\r\n	<li><a href=\"\">Contact Us</a></li>\r\n	<li><a href=\"\">About Us</a></li>\r\n	<li><a href=\"\">Careers</a></li>\r\n	<li><a href=\"\">Testimonials</a></li>\r\n	<li><a href=\"\">Request a Quote</a></li>\r\n	<li><a href=\"\">Support</a></li>\r\n	<li><a href=\"\">Contact Support</a></li>\r\n</ul>\r\n',1386145310,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(686,'Menu - Quick Links - Social Links',NULL,6,1,'<ul>\r\n	<li><a href=\"\" id=\"facebook\" target=\"_blank\">Facebook</a></li>\r\n	<li><a href=\"\" id=\"youtube\" target=\"_blank\">Youtube</a></li>\r\n	<li><a href=\"\" id=\"twitter\" target=\"_blank\">Twitter</a></li>\r\n</ul>\r\n',1386145341,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(687,'Menu - Quick Links - Address',NULL,6,1,'<h3>Address</h3>\r\n                                    <p>44 W. 28th Street, 5th Floor<br/>New York, NY 10001</p>',1386145362,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(518,'EMAIL - Collection Text Email',NULL,10,3,'{{$Collection.CollectionName}}\r\n\r\n{{foreach from=$EmailData key=myId item=i}} {{assign var=\'EmailDataTaxonomy\' value=$i.taxonomy}} {{assign var=\'EmailDataLookups\' value=$i.lookups}}{{assign var=\'EmailDataActualValue\' value=$i.value}} \r\n{{$EmailDataTaxonomy.CollectionFieldName}} :  {{if $EmailDataTaxonomy.CollectionFieldLookupCollectionID gt 0}}{{$EmailDataLookups.$EmailDataActualValue}}{{else}}{{if $EmailDataTaxonomy.CollectionFormula eq 2}}{{$smarty.now|date_format:\'%A, %B %e, %Y\'}}{{else}}{{if $EmailDataTaxonomy.CollectionFieldType eq 4}}{{$EmailDataActualValue|date_format:\'%m/%d/%Y\'}}{{else}}{{$EmailDataActualValue}}{{/if}}{{/if}}{{/if}}\r\n{{/foreach}}',1239271367,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(503,'IBuildResults - Contact Form',NULL,2,1,'<h1>\r\n	IBuild Contact Form</h1>\r\n<div style=\"border-right: red 1px solid; border-top: red 1px solid; border-left: red 1px solid; border-bottom: red 1px solid\">\r\n	<script type=\"text/javascript\" src=\"http://www.ibuildresults.com/forms/ibuild.js?id=296\"></script></div>\r\n<p>\r\n	<br />\r\n	<br />\r\n	&nbsp;</p>\r\n<div style=\"border-right: red 1px solid; border-top: red 1px solid; border-left: red 1px solid; border-bottom: red 1px solid\">\r\n	<script type=\"text/javascript\" src=\"http://www.ibuildresults.com/forms/ibuild.js?id=298\"></script></div>\r\n',1223050566,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(57,'SHOPPING CART - Store Page',NULL,2,3,'<div id=\"submenu\">\r\n	<div id=\"smarty_plugin\">\r\n		{{getcontent id=40}}</div>\r\n</div>\r\n<div id=\"middle2\">\r\n	<h1>\r\n		Product Categories</h1>\r\n	<div>\r\n		<div id=\"smarty_plugin\">\r\n			{{assign var=ColectionID value=130}} {{getCollectionByCategory CollectionID=$ColectionID OrderColumn=\'ID\' var=Categories ColumnID=6 Value=\'on\'}} {{assign var=ColectionPrefix value=\'Collection_\'}} {{assign var=ColectionPrefix value=$ColectionPrefix|concat:$ColectionID|concat:\'_\'}} {{assign var=CategoryID value=$ColectionPrefix|concat:\'ID\'}} {{assign var=CategoryAbbrev value=$ColectionPrefix|concat:\'5\'}} {{assign var=CategoryName value=$ColectionPrefix|concat:\'1\'}} {{assign var=CategoryImage1 value=$ColectionPrefix|concat:\'2\'}} {{assign var=CategoryImage2 value=$ColectionPrefix|concat:\'3\'}} {{assign var=CategoryDesc value=$ColectionPrefix|concat:\'4\'}} {{foreach from=$Categories item=v key=k}}\r\n			<h3>\r\n				<a href=\"/store/{{$v.$CategoryAbbrev}}.html\">{{$v.$CategoryName}}</a></h3>\r\n			<p>\r\n				{{$v.$CategoryDesc}}</p>\r\n			<hr noshade=\"noshade\" size=\"1\" />\r\n			{{/foreach}}</div>\r\n	</div>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(58,'SHOPPING CART - Remove Product',NULL,2,3,'{{assign var=CartDetailID 		value=$smarty.get.id}}\r\n{{assign var=PageToRedirect   	value=$smarty.get.goto}}\r\n\r\n{{assign var=SessionID   		value=\'\'|sessionid}}\r\n{{assign var=Time	 	  		value=$smarty.now}}\r\n{{assign var=CartCollection		value=133}}\r\n{{assign var=ProdCollection		value=129}}\r\n{{assign var=PriceCollection	value=131}}\r\n{{assign var=CartDetailsCollection		value=134}}\r\n\r\n{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n{{assign var=CartDataItem value=$CartData[0]}}\r\n{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n\r\n{{assign var=CartClosed value=$CartDataItem.Collection_133_28}}\r\n{{if $CartClosed neq \'on\'}}\r\n\r\n{{CollectionDeleteRow CollectionID=$CartDetailsCollection RowID=$CartDetailID}}\r\n\r\n{{/if}}\r\n	\r\n	{{if $PageToRedirect neq \'\'}}\r\n		{{if $smarty.get.goto eq \'\'}}\r\n			{{redirect page=$PageToRedirect}}\r\n		{{else}}\r\n		{{assign var=redirectingpage value=$PageToRedirect}}\r\n		{{assign var=redirectingpage value=$redirectingpage|concat:\'?page=\'|concat:$smarty.get.page}}\r\n			{{redirect page=$redirectingpage}}\r\n		{{/if}}\r\n	{{else}}\r\n		{{redirect page=\'/products/\'}}\r\n	{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(59,'SHOPPING CART - Right Column Sh Cart Display',NULL,2,3,'{{assign var=CartCollection				value=133}}\r\n{{assign var=CartDetailsCollection		value=134}}\r\n{{assign var=SessionID   		value=\'\'|sessionid}}\r\n\r\n{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n{{if $CartData|@count neq 0}}\r\n\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	{{assign var=CartDetailPrefix   	value=\'Collection_\'}}\r\n	{{assign var=CartDetailPrefix   	value=$CartDetailPrefix|concat:$CartDetailsCollection|concat:\'_\'}}\r\n	{{assign var=CartDetailID 			value=$CartDetailPrefix|concat:\'ID\'}}\r\n	{{assign var=CartDetailName 		value=$CartDetailPrefix|concat:\'7\'}}\r\n	{{assign var=CartDetailProductID 	value=$CartDetailPrefix|concat:\'2\'}}\r\n	{{assign var=CartDetailQuantity 	value=$CartDetailPrefix|concat:\'3\'}}\r\n	{{assign var=CartDetailPriceID 		value=$CartDetailPrefix|concat:\'4\'}}\r\n	{{assign var=CartDetailPrice 		value=$CartDetailPrefix|concat:\'5\'}}\r\n	{{assign var=CartDetailPriceDesc 	value=$CartDetailPrefix|concat:\'6\'}}\r\n	{{assign var=TotalCartPrice value=0}}\r\n	{{if $CartDetails|@count gt 0}}\r\n	<div id=\"cart_contents\">\r\n	<div class=\"box\">\r\n		<h3>Shopping Cart</h3>\r\n		<table cellpadding=\"4\" cellspacing=\"2\" border=\"0\" width=\"100%\">\r\n		<tr>\r\n			<td><strong>Item</strong></td>\r\n			<td><strong>Qty.</strong></td>\r\n			<td><strong>Price</strong></td>\r\n		</tr>\r\n		{{foreach from =$CartDetails item=v key=k}}\r\n		{{ShoppingCartPriceOptions ProductID=$v.$CartDetailProductID PriceID=$v.$CartDetailPriceID Price=$v.$CartDetailPrice Quantity=$v.$CartDetailQuantity ReturnVal=CartItemDetails}}\r\n			<tr valign=\"top\">\r\n				<td>{{$v.$CartDetailName}} <br/> {{$v.$CartDetailPriceDesc}} {{if $CartItemDetails.Text neq \'\'}}<br/>{{$CartItemDetails.Text}}{{/if}}</td>\r\n				<td>{{$v.$CartDetailQuantity}}</td>\r\n				<td>${{$v.$CartDetailPrice|string_format:\'%.2f\'}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td colspan=\"3\"><hr size=\"1\" noshade color=\"#FFFFFF\"/></td>\r\n			</tr>\r\n			{{math equation=\"x + y\" x=$TotalCartPrice y=$CartItemDetails.Value format=\"%.2f\" assign=TotalCartPrice}}\r\n		{{/foreach}}\r\n		<tr>\r\n			<td><strong>Total:</strong></td>\r\n			<td> </td>\r\n			<td>\r\n			<strong>${{$TotalCartPrice}}</strong>\r\n			</td>\r\n		</tr>\r\n		<tr>\r\n				<td colspan=\"3\"><hr size=\"1\" noshade color=\"#FFFFFF\"/></td>\r\n			</tr>\r\n		</table>\r\n		<center>\r\n		<a href=\"/shopping-cart.html?page={{$smarty.server.REDIRECT_SCRIPT_URL}}\"><strong>Edit Cart</strong></a>\r\n		<img src=\"/images/sep.gif\" height=\"5\" width=\"10\"/>\r\n		<a href=\"/shopping-cart.html?page={{$smarty.server.REDIRECT_SCRIPT_URL}}\"><strong>Checkout</strong></a>\r\n		</center>\r\n	</div>	\r\n	<div ><img src=\"/images/sep.gif\" height=\"5\"/></div>\r\n	</div>\r\n		{{/if}}\r\n	{{else}}\r\n	{{*	\r\n	<div class=\"box\">\r\n		<h3>Shopping Cart</h3>\r\n		<p>Your shopping cart is empty</p>\r\n	\r\n	</div>	\r\n	*}}	\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(56,'SHOPPING CART - Products In The Right Column',NULL,2,3,'{{assign var=ColectionID value=30}}\r\n{{assign var=ProductsColectionID value=29}}\r\n{{assign var=PricesColectionID value=31}}\r\n{{assign var=CatProdXref value=32}} \r\n{{getCollectionByCategory ColumnID=\'7\' Value=\'on\' Collection_29_8=\'on\' CollectionID=$ProductsColectionID OrderColumn=\'ID\' var=RightProducts}} \r\n{{if $RightProducts|@count eq 0}} \r\n{{else}} \r\n<script type=\"text/javascript\">\r\nfunction addToCart(prodid)\r\n{\r\nvar qty = document.getElementById(\'q_\'+prodid).value;\r\nvar pid = document.getElementById(\'p_\'+prodid).options[document.getElementById(\'p_\'+prodid).selectedIndex].value;\r\nwindow.location=\'/addproduct.html?prodid=\'+prodid+\'&quantity=\'+qty+\'&price=\'+pid+\'&page=shopping-cart.html\'\r\n}\r\n\r\n</script>	\r\n<div id=\"right_products\" class=\"box\">\r\n<center>\r\n<h3>You may also consider buying</h3>\r\n</center>\r\n\r\n			{{assign var=ProdPrefix value=\'Collection_\'}} {{assign var=ProdPrefix value=$ProdPrefix|concat:$ProductsColectionID|concat:\'_\'}} {{assign var=\'ProductID\' value=$ProdPrefix|concat:\'ID\'}} {{assign var=\'ProductName\' value=$ProdPrefix|concat:\'1\'}} {{assign var=\'ShortDesc\' value=$ProdPrefix|concat:\'2\'}} {{assign var=\'SmallImage\' value=$ProdPrefix|concat:\'5\'}} {{assign var=PricePrefix value=\'Collection_\'}} {{assign var=PricePrefix value=$PricePrefix|concat:$PricesColectionID|concat:\'_\'}} {{assign var=\'PriceID\' value=$PricePrefix|concat:\'ID\'}} {{assign var=\'PriceName\' value=$PricePrefix|concat:\'2\'}} {{assign var=\'Price\' value=$PricePrefix|concat:\'3\'}} {{assign var=\'ItemDesc\' value=$PricePrefix|concat:\'4\'}} {{assign var=\'PriceImage\' value=$PricePrefix|concat:\'5\'}} \r\n			<table cellpadding=\"2\" cellspacing=\"2\" border=\"0\" width=\"190\">\r\n			{{foreach from=$RightProducts item=v key=k name=plist}}\r\n			<tr valign=\"top\">\r\n			<td width=\"190\">\r\n			\r\n            		<div style=\"padding:2px 2px 2px 2px; margin-bottom:2px; \">\r\n						<center>\r\n						<div><img id=\"image_{{$v.$ProductID}}\" height=\"113\" alt=\"\" src=\"{{$v.$SmallImage}}\" width=\"151\" border=\"0\" /></div>\r\n						<strong>{{$v.$ProductName}}</strong></center>\r\n						<br/>\r\n									{{getCollectionByCategory ColumnID=\'1\' Value=$v.$ProductID CollectionID=$PricesColectionID OrderColumn=\'ID\' var=Prices}}\r\n									{{if $Prices|@count gt 1}}\r\n										<select name=\"p_{{$v.$ProductID}}\" id=\"p_{{$v.$ProductID}}\" class=\"selectbox\" onChange=\"makeChanges(this , {{$v.$ProductID}})\">\r\n										{{foreach from=$Prices item=vv key=kk}}\r\n										<option value=\"{{$vv.$PriceID}}\" img=\"{{if $vv.$PriceImage neq \'\'}}{{$vv.$PriceImage}}{{/if}}\">{{$vv.$PriceName}}  ${{$vv.$Price|string_format:\'%.2f\'}}</option>\r\n										{{/foreach}}\r\n										</select>   \r\n										<input size=\"2\" name=\"q_{{$v.$ProductID}}\" id=\"q_{{$v.$ProductID}}\" value=\"1\" />\r\n										 \r\n										<a href=\"javascript: void(0);\" onclick=\"addToCart({{$v.$ProductID}});\">Add To Cart</a>\r\n									{{else}}\r\n										{{assign var=vv value=$Prices[0]}}\r\n						 {{if $vv.$PriceName neq \'\'}}<p>{{$vv.$PriceName}}</p>{{/if}}\r\n						 ${{$vv.$Price|string_format:\'%.2f\'}}\r\n\r\n						{{if $vv.$PriceImage neq \'\'}} <font class=\"designPick\" onmouseover=\"this.style.cursor=\'hand\'\" style=\"CURSOR: hand\" onclick=\"document.getElementById(\'image_{{$v.$ProductID}}\').src=\'{{$vv.$PriceImage}}\'\">{{$vv.$PriceName}} </font>{{else}} {{$vv.$PriceName}} {{/if}}\r\n						<br/>\r\n						<input size=\"2\" name=\"q_{{$v.$ProductID}}\" id=\"q_{{$v.$ProductID}}\" value=\"1\" /> \r\n						<a onclick=\"javascript: void(0);\" href=\"javascript: window.location=\'/addproduct.html?prodid={{$v.$ProductID}}&quantity=\'+document.getElementById(\'q_{{$v.$ProductID}}\').value+\'&price={{$vv.$PriceID}}&page=shopping-cart.html\'\">Add To Cart</a>\r\n						{{/if}}									\r\n						</div>\r\n            <hr noshade size=\"1\"/>\r\n			</td>\r\n			</tr>\r\n			{{/foreach}} \r\n			\r\n			</table>\r\n</div>\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(54,'SHOPPING CART - Personal Information',NULL,2,3,'	{{* if we do not have a valid cart we will redirect to shopping-cart.html page *}}\r\n	{{assign var=CartCollection				value=133}}\r\n	{{assign var=CartDetailsCollection		value=134}}\r\n	{{assign var=SessionID   		value=\'\'|sessionid}}\r\n	{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetailsWithCollection OrderColumn=\'ID\' aditionalFilter=\' Collection_\'|concat:$CartDetailsCollection|concat:\'_9 > 0  \' }}\r\n	{{assign var=FormsToDisplay value=0}}\r\n	{{if $CartDetailsWithCollection|@count gt 0}}\r\n			{{foreach from=$CartDetailsWithCollection item=v key=k}}\r\n					{{if $FormsToDisplay eq 0}}\r\n						{{getCollectionByCategory CollectionID=$v.Collection_134_9 ColumnID=1 Value=$v.Collection_134_ID var=CartAdDetails OrderColumn=\'ID\'}}\r\n						{{if $CartAdDetails|@count lt $v.Collection_134_3}}\r\n							{{assign var=ShoppingCartItemID value=$v.Collection_134_ID}}\r\n							{{assign var=FormsToDisplay value=$v.Collection_134_9}}\r\n							{{math equation=\"y - x\" x=$CartAdDetails|@count y=$v.Collection_134_3 assign=times}}\r\n						{{/if}}\r\n					{{/if}}	\r\n			{{/foreach}}\r\n	{{/if}}\r\n	{{if $FormsToDisplay gt 0}}\r\n		{{redirect page=\'/checkout/additional-information.html\'}}\r\n	{{/if}}\r\n	\r\n	{{if $CartDetails|@count eq 0 or $CartData|@count eq 0}}\r\n		{{redirect page=\'/shopping-cart.html\'}}	\r\n	{{/if}}\r\n<div id=\"middle2\">\r\n\r\n\r\n\r\n\r\n{{if $CartData|@count gt 0 and $CartDetails|@count gt 0}}\r\n		<div id=\"shopping_cart_details\">\r\n		{{getcontent id=55}}\r\n		</div>\r\n{{/if}}\r\n	\r\n		<h1>Your Personal Information</h1>\r\n		<div id=\"cartform\">\r\n		{{* We need to see if personal info has been completed once *}}\r\n		{{* If yes we need to edit not add again *}}\r\n		\r\n		{{getCollectionByCategory CollectionID=138 Collection_138_1=$CartID var=PInfo OrderColumn=\'ID\'}}\r\n		{{if $PInfo|@count eq 0}}\r\n			{{if $smarty.session.UserID gt 0}}\r\n				{{getCollectionByCategory CollectionID=145 Collection_145_1=$smarty.session.UserID var=PInfo OrderColumn=\'ID\'}}\r\n				{{if $PInfo|@count gt 0}}\r\n					{{assign var=PinfoData value=$PInfo[0]}}\r\n				{{/if}}\r\n			{{/if}}\r\n			{{ViewCollection mode=\'Add\' CollectionID=138}}\r\n		{{else}}\r\n			{{assign var=PinfoData value=$PInfo[0]}}\r\n			{{assign var=PinfoID value=$PinfoData.Collection_138_ID}}\r\n			{{ViewCollection mode=\'Edit\' rowid=$PinfoID CollectionID=138}}\r\n		{{/if}}	\r\n		</div>	\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(55,'SHOPPING CART - Personal Information - Cart Details',NULL,2,3,' 	{{assign var=TotalCartPrice				value=0}}\r\n	{{assign var=ShippingTotalCartPrice		value=0}}\r\n	{{assign var=ProductIDsList				value=\'\'}}\r\n	{{assign var=CartCollection				value=133}}\r\n	{{assign var=CartDetailsCollection		value=134}}\r\n	{{assign var=SessionID   		value=\'\'|sessionid}}\r\n	{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	{{assign var=CouponID value=$CartDataItem.Collection_133_16}}\r\n	{{assign var=CouponDiscountValue value=$CartDataItem.Collection_133_27}}\r\n	{{assign var=MethodID value=$CartDataItem.Collection_133_17}}\r\n	{{assign var=ChoosenZip value=$CartDataItem.Collection_133_30}}\r\n	{{assign var=ChoosenShippingPrice value=$CartDataItem.Collection_133_26}}\r\n	{{assign var=PaymentMethodID value=$CartDataItem.Collection_133_19}}\r\n	{{assign var=ProductsTotalValue value=$CartDataItem.Collection_133_24}}\r\n	{{assign var=CartTotalValue value=$CartDataItem.Collection_133_23}}\r\n	{{assign var=CartTaxValue value=$CartDataItem.Collection_133_25}}\r\n	{{assign var=ChoosenTaxExemption value=$CartDataItem.Collection_133_31}}\r\n	\r\n	{{getCollectionByCategory CollectionID=135 ColumnID=\'ID\' Value=$CouponID var=Coupons OrderColumn=\'ID\'}}\r\n	{{assign var=CouponData value=$Coupons[0]}}\r\n	{{assign var=Coupon value=$CouponData.Collection_135_3}}\r\n	\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	\r\n	{{assign var=CartDetailPrefix   	value=\'Collection_\'}}\r\n	{{assign var=CartDetailPrefix   	value=$CartDetailPrefix|concat:$CartDetailsCollection|concat:\'_\'}}\r\n	{{assign var=CartDetailID 			value=$CartDetailPrefix|concat:\'ID\'}}\r\n	{{assign var=CartDetailFreeShipping	value=$CartDetailPrefix|concat:\'8\'}}\r\n	{{assign var=CartDetailName 		value=$CartDetailPrefix|concat:\'7\'}}\r\n	{{assign var=CartDetailProductID 	value=$CartDetailPrefix|concat:\'2\'}}\r\n	{{assign var=CartDetailQuantity 	value=$CartDetailPrefix|concat:\'3\'}}\r\n	{{assign var=CartDetailPriceID 		value=$CartDetailPrefix|concat:\'4\'}}\r\n	{{assign var=CartDetailPrice 		value=$CartDetailPrefix|concat:\'5\'}}\r\n	{{assign var=CartDetailPriceDesc 	value=$CartDetailPrefix|concat:\'6\'}}\r\n	{{assign var=CartDetailTax 	        value=$CartDetailPrefix|concat:\'12\'}}\r\n	{{assign var=CartDetailOffer 	    value=$CartDetailPrefix|concat:\'11\'}}\r\n	{{assign var=CartDetailPriceWithDiscount       value=$CartDetailPrefix|concat:\'10\'}}\r\n		\r\n		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n		<tr>\r\n			<td  class=\"fill\" width=\"300\"><strong>Item</strong></td>\r\n			<td  class=\"fill\"><strong>Qty.</strong></td>\r\n			<td  class=\"fill\"><strong>Unit Price</strong></td>\r\n			<td  class=\"fill\"><strong>Price</strong></td>\r\n		</tr>\r\n		{{foreach from =$CartDetails item=v key=k name=clist}}\r\n			<tr valign=\"top\">\r\n				<td class=\"item\">{{$v.$CartDetailName}} <br/>  {{if $v.$CartDetailOffer neq \'\'}}<br/>{{$v.$CartDetailOffer}}{{/if}}</td>\r\n				<td class=\"item\">{{$v.$CartDetailQuantity}}</td>\r\n				<td class=\"item\">${{$v.$CartDetailPriceWithDiscount|string_format:\'%.2f\'}}{{if $v.$CartDetailPriceWithDiscount neq $v.$CartDetailPrice}}<br/>(Regular Price: ${{$v.$CartDetailPrice|string_format:\'%.2f\'}}){{/if}}</td>\r\n				<td class=\"item\">${{math equation=\" x * y \" x=$v.$CartDetailQuantity y=$v.$CartDetailPriceWithDiscount format=\"%.2f\"}}</td>\r\n			</tr>\r\n		{{/foreach}}\r\n		<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\"><strong>Merchandise Value:</strong></td>\r\n				<td class=\"summary\">${{$ProductsTotalValue|string_format:\'%.2f\'}}</td>\r\n	    </tr>\r\n		<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\"><strong>Shipping Value:</strong></td>\r\n				<td class=\"summary\">${{$ChoosenShippingPrice|string_format:\'%.2f\'}}</td>\r\n	    </tr>\r\n		<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\"><strong>Tax Value:</strong></td>\r\n				<td class=\"summary\">${{$CartTaxValue|string_format:\'%.2f\'}}</td>\r\n	    </tr>\r\n		{{if $Coupon neq \'\'}}\r\n			\r\n			<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\">\r\n				<strong>Coupon Discount Value:</strong>\r\n				</td>\r\n				<td class=\"summary\">${{$CouponDiscountValue|string_format:\'%.2f\'}}</td>\r\n			</tr>\r\n		{{/if}}	\r\n			<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\"><strong>Grand Total:</strong></td>\r\n				<td class=\"summary\">${{$CartTotalValue|string_format:\'%.2f\'}}</td>\r\n			</tr>\r\n		</table>	',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(53,'SHOPPING CART - Payment Information',NULL,2,3,'	{{* if we do not have a valid cart we will redirect to shopping-cart.html page *}}\r\n	{{assign var=CartCollection				value=133}}\r\n	{{assign var=TaxCollection				value=151}}\r\n	{{assign var=ShippingCollection			value=139}}\r\n	{{assign var=CartDetailsCollection		value=134}}\r\n	{{assign var=SessionID   		value=\'\'|sessionid}}\r\n	{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	{{assign var=MethodID value=$CartDataItem.Collection_133_17}}\r\n	{{assign var=PaymentMethodID value=$CartDataItem.Collection_133_19}}\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	\r\n		\r\n	{{if $CartDetails|@count eq 0 or $CartData|@count eq 0 or $MethodID lt 1}}\r\n		{{redirect page=\'/shopping-cart.html\'}}	\r\n	{{/if}}\r\n	\r\n	{{* if we do not have a valid billing info page we will redirect to personal-information *}}	\r\n	{{getCollectionByCategory CollectionID=138 ColumnID=1 Value=$CartID var=BillingInformation OrderColumn=\'ID\'}}\r\n	{{if $BillingInformation|@count eq 0}}\r\n		{{redirect page=\'/checkout/personal-information.html\'}}	\r\n	{{else}}\r\n		{{assign var=BillingInfo value=$BillingInformation[0]}}\r\n	{{/if}}\r\n	\r\n	\r\n	\r\n	{{getCollectionByCategory CollectionID=$ShippingCollection ColumnID=1 Value=$CartID var=ShippingInformation OrderColumn=\'ID\'}}\r\n	{{if $ShippingInformation|@count eq 0}}\r\n			{{redirect page=\'/checkout/shipping-information.html\'}}	\r\n	{{/if}}\r\n		\r\n	\r\n<div id=\"middle2\">\r\n\r\n	{{if $CartData|@count gt 0 and $CartDetails|@count gt 0}}\r\n		<div id=\"shopping_cart_details\">\r\n		{{getcontent id=55}}\r\n		</div>\r\n	{{/if}}\r\n	\r\n	{{getCollectionByCategory CollectionID=138 Collection_138_1=$CartID var=PInfo OrderColumn=\'ID\'}}\r\n	{{if $PInfo|@count neq 0}}\r\n			{{assign var=PinfoData value=$PInfo[0]}}\r\n	{{/if}}\r\n	\r\n	<h1>Your Payment Information</h1>\r\n\r\n	 {{if $smarty.get.errors}}\r\n	 {{assign var=errorlist value=$smarty.get.errors}}\r\n	 {{assign var=authorizeerrors    value=$errorlist|explode:\'-\'}}\r\n	 {{if $authorizeerrors|@count gt 0}}\r\n            <div class=\"ErrorBox\">\r\n			We encountered some problems when checking the information you provided.\r\n			<ul>\r\n			{{assign var=errorscount value=0}}			\r\n			{{foreach from=$authorizeerrors item=v key=k}}\r\n					{{getCollectionByCategory CollectionID=144 ColumnID=\'ID\' Value=$v var=PayError OrderColumn=\'ID\'}}\r\n					{{if $PayError|@count gt 0}}\r\n					{{assign var=PayE value=$PayError[0]}}\r\n					<li>{{$PayE.Collection_144_1}}</li>\r\n					{{assign var=errorscount value=$errorscount|add:\'1\'}}\r\n					{{/if}}\r\n			{{/foreach}}			\r\n			{{if $errorscount eq 0 and $smarty.get.errors neq \'\'}}\r\n				<li>{{$smarty.get.errors}}</li>\r\n			{{/if}}\r\n			</ul>\r\n            </div>\r\n     {{/if}}\r\n	 {{/if}}\r\n	\r\n\r\n		{{* We need to see if personal info has been completed once *}}\r\n		{{* If yes we need to edit not add again *}}\r\n		\r\n		\r\n		\r\n		\r\n		{{getCollectionByCategory CollectionID=$PaymentMethodID ColumnID=1 Value=$CartID var=PayInfo OrderColumn=\'ID\'}}\r\n		{{if $PayInfo|@count eq 0}}\r\n			{{* if we add for the first time we could try to get the info from personal info *}}\r\n			\r\n		{{else}}\r\n			{{assign var=PMethodPrefix value=\'Collection_\'}}\r\n			{{assign var=PMethodPrefix value=$PMethodPrefix|concat:$PaymentMethodID|concat:\'_ID\'}}\r\n		\r\n			{{foreach from=$PayInfo item=v key=k }}\r\n				{{assign var=PayInfoID value=$v.$PMethodPrefix}}\r\n				{{CollectionDeleteRow CollectionID=$PaymentMethodID RowID=$PayInfoID}}\r\n			{{/foreach}}\r\n		{{/if}}	\r\n		\r\n		{{getCollectionByCategory CollectionID=147 ColumnID=ID Value=$PaymentMethodID var=PaymentMethodData OrderColumn=\'ID\'}}\r\n		{{assign var=P value=$PaymentMethodData[0]}}\r\n		{{$P.Collection_147_3}}\r\n		<div id=\"cartform\">\r\n			{{ViewCollection mode=\'Add\' CollectionID=$PaymentMethodID}}\r\n		</div>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(52,'SHOPPING CART - Payment Check',NULL,2,3,'{{* if we do not have a valid cart we will redirect to shopping-cart.html page *}}\r\n	{{assign var=CartCollection				value=133}}\r\n	{{assign var=DeliveryMethodCollection   value=136}}\r\n	{{assign var=CouponsCollection          value=135}}\r\n	{{assign var=CartDetailsCollection		value=134}}\r\n	{{assign var=TaxCollection				value=151}}\r\n	{{assign var=ShippingCollection			value=139}}\r\n	\r\n	\r\n	{{assign var=SessionID   		value=\'\'|sessionid}}\r\n	{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	{{assign var=PaymentMethodID value=$CartDataItem.Collection_133_19}}\r\n	{{assign var=CouponID value=$CartDataItem.Collection_133_16}}\r\n	{{assign var=MethodID value=$CartDataItem.Collection_133_17}}\r\n	\r\n		\r\n	\r\n	{{* if we do not have a valid billing info page we will redirect to personal-information *}}	\r\n	{{getCollectionByCategory CollectionID=138 ColumnID=1 Value=$CartID var=BillingInformation OrderColumn=\'ID\'}}\r\n	{{if $BillingInformation|@count eq 0}}\r\n		{{redirect page=\'/checkout/personal-information.html\'}}	\r\n	{{else}}\r\n		{{assign var=BillingInfo value=$BillingInformation[0]}}\r\n	{{/if}}\r\n	\r\n	\r\n	{{getCollectionByCategory CollectionID=$ShippingCollection ColumnID=1 Value=$CartID var=ShippingInformation OrderColumn=\'ID\'}}\r\n	{{if $ShippingInformation|@count eq 0}}\r\n			{{redirect page=\'/checkout/shipping-information.html\'}}	\r\n	{{else}}\r\n			{{assign var=ShippingInfo value=$ShippingInformation[0]}}\r\n	{{/if}}\r\n\r\n	\r\n	{{* if we do not have a valid payment info page we will redirect to shipping-information *}}	\r\n	{{getCollectionByCategory CollectionID=$PaymentMethodID ColumnID=1 Value=$CartID var=PaymentInformation OrderColumn=\'ID\'}}\r\n	{{if $PaymentInformation|@count eq 0}}\r\n			{{redirect page=\'/checkout/payment-information.html\'}}	\r\n	{{else}}\r\n			{{assign var=PaymentInfo value=$PaymentInformation[0]}}\r\n	{{/if}}\r\n	\r\n{{* If the payment method is check by mail we do not need to check with authorize net *}}\r\n{{if $PaymentMethodID eq 150}}\r\n	\r\n	{{assign var=PaymentResult value=1}}\r\n	\r\n{{else}}\r\n	\r\n	{{* Now we need to check if the payment info is valid using authorize class *}}\r\n	{{AuthorizeNET BillingInfo=$BillingInfo ShippingInfo=$ShippingInfo PaymentMethod=$PaymentMethodID PaymentInfo=$PaymentInfo CartID=$CartID CartData=$CartDataItem CartDetails=$CartDetails var=PaymentResult  errorsvar=PaymentErrors}}\r\n\r\n	{{if $PaymentErrors|@count gt 0}}\r\n			{{assign var=errorstr value=\'\'}}\r\n			{{foreach from=$PaymentErrors item=v key=k name=a}}\r\n				{{if $smarty.foreach.a.iteration neq 1}}{{assign var=errorstr value=$errorstr|concat:\'-\'}}{{/if}}\r\n				{{assign var=errorstr value=$errorstr|concat:$v}}\r\n			{{/foreach}}\r\n			{{assign var=pageToRedirect value=\'/checkout/payment-information.html\'}}\r\n			{{assign var=pageToRedirect value=$pageToRedirect|concat:\'?errors=\'|concat:$errorstr}}\r\n			{{redirect page=$pageToRedirect}}\r\n	{{/if}}\r\n	\r\n\r\n		\r\n\r\n{{/if}}	\r\n		\r\n{{if $PaymentResult eq 1}}\r\n			\r\n	{{* the process was a success and we display the receipt *}} \r\n	{{redirect page=\'/checkout.html\'}}\r\n		\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(50,'SHOPPING CART - Edit Cart Header Code',NULL,2,3,'{{assign var=CartCollection value=133}}\r\n{{assign var=CartDetailsCollection value=134}}\r\n{{assign var=SessionID   value=\'\'|sessionid}}\r\n{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n{{assign var=CartDataItem value=$CartData[0]}}\r\n{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n\r\n{{if $smarty.post and $CartDetails|@count gt 0 }}\r\n\r\n{{updateCart cartID=$CartID cartData=$CartDataItem cartDetails=$CartDetails}}\r\n{{updateCartSummary cartID=$CartID cartData=$CartDataItem cartDetails=$CartDetails}}\r\n\r\n{{if $smarty.post.checkout eq \'Checkout\'}}\r\n	{{* We do not close the cart{{CollectionUpdateField CollectionID=$CartCollection RowID=$CartID Value=\'on\' ColumnID=28}} *}}\r\n	{{assign var=errors value=\'\'}}\r\n	{{if $smarty.post.zipcode eq \'\'}}\r\n		{{assign var=errors value=$errors|concat:\"<li>Please fill the zip code field</li>\"}}\r\n	{{/if}}\r\n	{{if $smarty.post.paymentmethod eq \'\'}}\r\n		{{assign var=errors value=$errors|concat:\"<li>Please choose a payment method</li>\"}}\r\n	{{/if}}\r\n	{{if $errors eq \'\'}}\r\n		{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetailsWithCollection OrderColumn=\'ID\' aditionalFilter=\' Collection_\'|concat:$CartDetailsCollection|concat:\'_9 > 0  \' }}\r\n		{{if $CartDetailsWithCollection|@count gt 0}}\r\n			{{redirect page=\'/checkout/additional-information.html\'}}\r\n		{{else}}\r\n			{{redirect page=\'/checkout/personal-information.html\'}}\r\n		{{/if}}\r\n	{{/if}}	\r\n{{else}}\r\n	{{redirect page=\'/shopping-cart.html\'}}\r\n{{/if}}\r\n			\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(46,'SHOPPING CART - Code to load old cart based on user id',NULL,2,3,'{{if $smarty.session.UserID gt 0}}\r\n\r\n{{assign var=CartCollection				value=33}}\r\n{{assign var=CartDetailsCollection		value=34}}\r\n{{assign var=SessionID   		value=\'\'|sessionid}}\r\n{{getCollectionByCategory CollectionID=$CartCollection Collection_33_1=$SessionID aditionalFilter=\'Collection_33_5<>\"on\"\' var=OldCartData OrderColumn=\'ID\'}}\r\n\r\n\r\n{{getCollectionByCategory CollectionID=33 Collection_33_2=$smarty.session.UserID aditionalFilter=\' (Collection_33_5<>\"on\" or Collection_33_5 IS NULL) AND Collection_33_1 <> \"\'|concat:$SessionID|concat:\'\" \' var=CartData OrderColumn=\'ID\'}}\r\n{{if $CartData|@count gt 0 and $OldCartData|@count eq 0}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_33_ID}}\r\n	{{CollectionUpdateField CollectionID=33 ColumnID=1 Value=$SessionID RowID=$CartID}}\r\n        {{redirect page=$smarty.server.REDIRECT_SCRIPT_URL}}\r\n{{/if}}\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(47,'SHOPPING CART - Edit Cart',NULL,2,3,'<div id=\"middle2\">\r\n<h1>Your Shopping Cart</h1>\r\n<div id=\"content\">\r\n<div>\r\n<div id=\"smarty_plugin\">{{getcontent id=50}}</div>\r\n</div>\r\n{{if $CartData|@count gt 0 and $CartDetails|@count gt 0}} {{getcontent id=48}} {{getcontent id=140}} {{else}}\r\n<p> </p>\r\n<p> </p>\r\n<center><strong>Your shopping cart is empty</strong> <br />\r\n{{if $smarty.get.page neq \'\'}} <input class=\"button\" type=\"button\" onclick=\"window.location=\'{{$smarty.get.page}}\'\" value=\"Continue Shopping\" /> {{else}} <input class=\"button\" type=\"button\" onclick=\"window.location=\'/store/\'\" value=\"Continue Shopping\" /> {{/if}} </center>\r\n<p> </p>\r\n{{/if}}\r\n<p> </p>\r\n<p> </p>\r\n<p> </p>\r\n<p> </p>\r\n</div>\r\n</div>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(48,'SHOPPING CART - Edit Cart Code',NULL,2,3,'{{assign var=CartCollection				value=133}}\r\n{{assign var=ShippingCollection			value=139}}\r\n{{assign var=CartDetailsCollection		value=134}}\r\n{{assign var=TaxCollection				value=151}}\r\n{{assign var=SessionID   		value=\'\'|sessionid}}\r\n{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n\r\n{{assign var=CartDataItem value=$CartData[0]}}\r\n{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n{{assign var=CouponID value=$CartDataItem.Collection_133_16}}\r\n{{assign var=CouponDiscountValue value=$CartDataItem.Collection_133_27}}\r\n{{assign var=MethodID value=$CartDataItem.Collection_133_17}}\r\n{{assign var=ChoosenZip value=$CartDataItem.Collection_133_30}}\r\n{{assign var=ChoosenShippingPrice value=$CartDataItem.Collection_133_26}}\r\n{{assign var=PaymentMethodID value=$CartDataItem.Collection_133_19}}\r\n{{assign var=ProductsTotalValue value=$CartDataItem.Collection_133_24}}\r\n{{assign var=CartTotalValue value=$CartDataItem.Collection_133_23}}\r\n{{assign var=CartTaxValue value=$CartDataItem.Collection_133_25}}\r\n\r\n\r\n{{assign var=CartClosed value=$CartDataItem.Collection_133_28}}\r\n	\r\n{{if $CouponID gt 0}}	\r\n	{{getCollectionByCategory CollectionID=135 ColumnID=\'ID\' Value=$CouponID var=Coupons OrderColumn=\'ID\'}}\r\n	{{assign var=CouponData value=$Coupons[0]}}\r\n	{{assign var=Coupon value=$CouponData.Collection_135_3}}\r\n{{/if}}\r\n	\r\n	\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	{{assign var=CartDetailPrefix   	value=\'Collection_\'}}\r\n	{{assign var=CartDetailPrefix   	value=$CartDetailPrefix|concat:$CartDetailsCollection|concat:\'_\'}}\r\n	{{assign var=CartDetailID 			value=$CartDetailPrefix|concat:\'ID\'}}\r\n	{{assign var=CartDetailFreeShipping	value=$CartDetailPrefix|concat:\'8\'}}\r\n	{{assign var=CartDetailName 		value=$CartDetailPrefix|concat:\'7\'}}\r\n	{{assign var=CartDetailProductID 	value=$CartDetailPrefix|concat:\'2\'}}\r\n	{{assign var=CartDetailQuantity 	value=$CartDetailPrefix|concat:\'3\'}}\r\n	{{assign var=CartDetailPriceID 		value=$CartDetailPrefix|concat:\'4\'}}\r\n	{{assign var=CartDetailPrice 		value=$CartDetailPrefix|concat:\'5\'}}\r\n	{{assign var=CartDetailPriceDesc 	value=$CartDetailPrefix|concat:\'6\'}}\r\n	{{assign var=CartDetailTax 	        value=$CartDetailPrefix|concat:\'12\'}}\r\n	{{assign var=CartDetailOffer 	    value=$CartDetailPrefix|concat:\'11\'}}\r\n	{{assign var=CartDetailPriceWithDiscount       value=$CartDetailPrefix|concat:\'10\'}}\r\n	\r\n	\r\n<form name=\"sh_cart\" action=\"\" method=\"post\" id=\"shcartForm\">\r\n	\r\n	{{if $errors neq \'\'}}\r\n		<div id=\"carterrors\">\r\n			<ul>{{$errors}}</ul>\r\n		</div>\r\n	{{/if}}\r\n	<div id=\"editcartcontainer\">\r\n				<div class=\"sep\"><img src=\"/images/sep.gif\" height=\"5\"/></div>\r\n				<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n				<tr>\r\n					<td  class=\"heading\"><strong>Item</strong></td>\r\n					<td  class=\"heading\"><strong>Qty.</strong></td>\r\n					<td  class=\"heading\" align=\"right\"><strong>Price</strong></td>\r\n					<td  class=\"heading\"><img src=\"/images/sep.gif\" height=\"15\"/></td>\r\n				</tr>\r\n				{{foreach from=$CartDetails item=v key=k name=clist}}\r\n					\r\n					\r\n					{{if $smarty.foreach.clist.iteration % 2 eq 0}}\r\n						{{assign var=class value=\'odd\'}}\r\n					{{else}}\r\n						{{assign var=class value=\'even\'}}\r\n					{{/if}}\r\n					\r\n					<tr valign=\"top\">\r\n							<td class=\"item {{$class}}\">{{$v.$CartDetailName}} <br/>  {{if $v.$CartDetailOffer neq \'\'}}<br/>{{$v.$CartDetailOffer}}{{/if}}</td>\r\n							<td class=\"data {{$class}}\" width=\"50\">{{if $CartClosed neq \'on\'}}<input type=\"text\" size=\"2\" value=\"{{$v.$CartDetailQuantity}}\" id=\"q_{{$v.$CartDetailID}}\" name=\"q_{{$v.$CartDetailID}}\" class=\"input\"/> <img src=\"/images/update.gif\" class=\"updateicon\" title=\"Update Cart\"/> {{else}}{{$v.$CartDetailQuantity}}{{/if}}</td>\r\n							<td class=\"data {{$class}}\" align=\"right\">${{$v.$CartDetailPriceWithDiscount|string_format:\'%.2f\'}}{{if $v.$CartDetailPriceWithDiscount neq $v.$CartDetailPrice}}<br/>(Regular Price: ${{$v.$CartDetailPrice|string_format:\'%.2f\'}}){{/if}}<br/>\r\n							{{if $CartClosed neq \'on\'}}\r\n									<a href=\"javascript://\" id=\"remove{{$v.$CartDetailID}}\">Remove</a>\r\n									{{capture name=nozip assign=needhelp}}\r\n									$(\'#remove{{$v.$CartDetailID}}\').click(function(){ $(\'#q_{{$v.$CartDetailID}}\').val(\'0\'); $(\'#shcartForm\').submit(); });\r\n									\r\n									{{/capture}}\r\n								{{assign var=JavaScriptJQueryCode value=$JavaScriptJQueryCode|concat:\' \'|concat:$needhelp}}\r\n							{{/if}}\r\n							</td>\r\n							<td class=\"{{$class}}\"><img src=\"/images/sep.gif\" height=\"15\"/></td>\r\n					</tr>\r\n				{{/foreach}}\r\n					</table>\r\n		</div>			\r\n		<div class=\"totals right\"><strong>Total: ${{$ProductsTotalValue|string_format:\'%.2f\'}}</strong></div>\r\n		\r\n		<div id=\"cartdetailscontainer\">\r\n					<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n					<tr valign=\"top\">\r\n						<td>Payment Method:</td>\r\n						{{getCollectionByCategory CollectionID=147 ColumnID=\'2\' Value=\'on\' var=PaymentMethods OrderColumn=\'ID\'}}\r\n						<td>\r\n						\r\n						{{if $PaymentMethods|@count gt 1}}\r\n								\r\n								\r\n									{{foreach from=$PaymentMethods item=v key=k}}\r\n										<input type=\"radio\" name=\"paymentmethod\" {{if $v.Collection_147_ID eq $MethodID}} checked{{/if}} value=\"{{$v.Collection_147_ID}}\"/> {{$v.Collection_147_1}}<br/>\r\n									{{/foreach}}\r\n								\r\n								{{else}}\r\n								{{assign var=PaymentMethod	value=$PaymentMethods[0]}}\r\n								<input type=\"hidden\" name=\"paymentmethod\" value=\"{{$PaymentMethod.Collection_147_ID}}\"/> {{$PaymentMethod.Collection_147_1}}\r\n								{{/if}}\r\n						\r\n						</td>\r\n					</tr>\r\n					<tr valign=\"top\">\r\n						<td>Discount Code:</td>\r\n						<td><input type=\"text\" size=\"28\" name=\"coupon\" class=\"input\" value=\"{{$Coupon}}\"/></td>\r\n					</tr>\r\n					<tr valign=\"top\">\r\n						<td>ZIP Code (to calculate tax):</td>\r\n						<td><input type=\"text\" class=\"input\" value=\"{{$ChoosenZip}}\" name=\"zipcode\" id=\"zipcodeshipping\"/></td>\r\n					</tr>\r\n					<tr>\r\n						<td colspan=\"2\">\r\n						<input type=\"submit\" name=\"startcalculate\" id=\"startcalculate\" value=\"Update Cart\" />\r\n						{{if $smarty.get.page neq \'\'}}\r\n			    			<p><a href=\"{{$smarty.get.page}}\">Continue Shopping</a></p>\r\n						{{else}}\r\n							<p><a href=\"/store/\">Continue Shopping</a></p>\r\n			    		{{/if}}  \r\n						</td>\r\n					</tr>\r\n					</table>\r\n		\r\n		</div>\r\n		\r\n		<div id=\"cartsummary\">\r\n					<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\r\n					<tr valign=\"top\">\r\n						<td class=\"text\">Merchandise Value</td>\r\n						<td class=\"value\">${{$ProductsTotalValue|string_format:\'%.2f\'}}</td>\r\n					</tr>\r\n					<tr valign=\"top\">\r\n						<td class=\"text\">Shipping Value</td>\r\n						<td class=\"value\">${{$ChoosenShippingPrice|string_format:\'%.2f\'}}</td>\r\n					</tr>\r\n					<tr valign=\"top\">\r\n						<td class=\"text\">Tax Value</td>\r\n						<td class=\"value\">${{$CartTaxValue|string_format:\'%.2f\'}}</td>\r\n					</tr>\r\n					{{if $Coupon neq \'\'}}\r\n					<tr>\r\n						<td class=\"text\"><strong>Coupon Code:</strong></td>\r\n						<td class=\"value\">{{$Coupon}}</td>\r\n					</tr>\r\n					<tr>\r\n						<td colspan=\"2\">{{$CouponData.Collection_135_7}}</td>\r\n					</tr>\r\n					<tr>\r\n						<td class=\"text\"><strong>Coupon Discount Value:</strong></td>\r\n						<td class=\"value\">${{$CouponDiscountValue|string_format:\'%.2f\'}}</td>\r\n					</tr>\r\n					{{/if}}\r\n					<tr>\r\n						<td class=\"totals\"><strong>Grand Total:</strong></td>\r\n						<td class=\"totals\">${{$CartTotalValue|string_format:\'%.2f\'}}</td>\r\n					</tr>\r\n					\r\n					</table>\r\n		\r\n		</div>										\r\n		\r\n		<div id=\"cartcheckout\">\r\n				<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n				<tr valign=\"middle\">\r\n					<td class=\"column\" align=\"center\" width=\"50%\">\r\n						<p>Need Help?</p>\r\n						<p><a href=\"javascript://\" class=\"needhelp\">Click here!</a></p>\r\n					</td>\r\n					<td class=\"column\" align=\"center\">\r\n						<input type=\"submit\" name=\"checkout\" id=\"startcalculate\" value=\"Checkout\" />\r\n					</td>\r\n				</tr>\r\n				</table>\r\n		\r\n		</div>			\r\n					\r\n					 \r\n										\r\n				<div id=\"needhelp\" style=\"display:none \">{{getcontent id=141}}</div>\r\n				{{capture name=nozip assign=needhelp}}\r\n					$(\'.needhelp\').click(function(){\r\n\r\n							var tmpHtml = $(\'#needhelp\').html();\r\n							$(this).o2dialog( {\r\n									width: 300, \r\n									height: 60 ,\r\n									title: \'Need Help?\',\r\n									content: \'<br/>\'+tmpHtml ,\r\n									onUnLoad: function(){\r\n										$(\'#needhelpdialog\').remove();\r\n									}\r\n							});\r\n					\r\n					});\r\n					\r\n					$(\'.updateicon\').click(function(){\r\n									$(\'#shcartForm\').submit();						\r\n							}).css(\'cursor\',\'pointer\');\r\n					\r\n				{{/capture}}\r\n				{{assign var=JavaScriptJQueryCode value=$JavaScriptJQueryCode|concat:\' \'|concat:$needhelp}}\r\n				\r\n				\r\n	\r\n	\r\n	\r\n				\r\n				\r\n			\r\n\r\n</form>',NULL,'\r\n',NULL,'<script type=\"text/javascript\" src=\"/js/jquery.dialog.js\"></script>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(44,'SHOPPING CART - Checkout',NULL,2,3,'	{{* if we do not have a valid cart we will redirect to shopping-cart.html page *}}\r\n	{{assign var=CartCollection				value=133}}\r\n	{{assign var=CartDetailsCollection		value=134}}\r\n	{{assign var=TaxCollection				value=151}}\r\n	{{assign var=ShippingCollection			value=139}}\r\n	\r\n	\r\n	{{assign var=SessionID   		value=\'\'|sessionid}}\r\n	{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	\r\n	{{assign var=PaymentMethodID value=$CartDataItem.Collection_133_19}}\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	\r\n	{{assign var=DoNotShowShoppingCart value=1}}\r\n	\r\n	{{if $CartDetails|@count eq 0 or $CartData|@count eq 0 or $PaymentMethodID lt 1}}\r\n		{{redirect page=\'/shopping-cart.html\'}}	\r\n	{{/if}}\r\n	\r\n	{{* we need to get the email settings *}}\r\n	{{assign var=EmailSettingCollection value=159}}\r\n	{{getCollectionByCategory CollectionID=$EmailSettingCollection ColumnID=11 Value=\'on\' var=EmailSettings OrderColumn=\'ID\'}}\r\n	{{assign var=EmailSetting value=$EmailSettings[0]}}\r\n	{{assign var=EmailPrefix value=\'Collection_\'}}\r\n	{{assign var=EmailPrefix value=$EmailPrefix|concat:$EmailSettingCollection|concat:\'_\'}}\r\n	{{assign var=ENforNUsers value=$EmailPrefix|concat:\'1\'}}\r\n	{{assign var=EAforNUsers value=$EmailPrefix|concat:\'2\'}}\r\n	{{assign var=ESforNUsers value=$EmailPrefix|concat:\'3\'}}\r\n	{{assign var=ENforReceipt value=$EmailPrefix|concat:\'4\'}}\r\n	{{assign var=EAforReceipt value=$EmailPrefix|concat:\'5\'}}\r\n	{{assign var=ESforReceipt value=$EmailPrefix|concat:\'6\'}}\r\n	{{assign var=ENforAReceipt value=$EmailPrefix|concat:\'7\'}}\r\n	{{assign var=EAforAReceipt value=$EmailPrefix|concat:\'8\'}}\r\n	{{assign var=ESforAReceipt value=$EmailPrefix|concat:\'9\'}}\r\n	{{assign var=EEforAReceipt value=$EmailPrefix|concat:\'10\'}}\r\n	\r\n	{{* if we do not have a valid billing info page we will redirect to personal-information *}}	\r\n	{{getCollectionByCategory CollectionID=138 ColumnID=1 Value=$CartID var=BillingInformation OrderColumn=\'ID\'}}\r\n	{{if $BillingInformation|@count eq 0}}\r\n		{{redirect page=\'/checkout/personal-information.html\'}}	\r\n	{{else}}\r\n		{{assign var=BillingInfo value=$BillingInformation[0]}}\r\n	{{/if}}\r\n	\r\n	\r\n	{{getCollectionByCategory CollectionID=139 ColumnID=1 Value=$CartID var=ShippingInformation OrderColumn=\'ID\'}}\r\n	{{if $ShippingInformation|@count eq 0}}\r\n		{{redirect page=\'/checkout/shipping-information.html\'}}	\r\n	{{else}}\r\n		{{assign var=ShippingInfo value=$ShippingInformation[0]}}\r\n	{{/if}}\r\n	\r\n	{{getCollectionByCategory CollectionID=$PaymentMethodID ColumnID=1 Value=$CartID var=PayInfo OrderColumn=\'ID\'}}\r\n		{{if $PayInfo|@count eq 0}}\r\n			{{redirect page=\'/shopping-cart.html\'}}	\r\n		{{else}}\r\n			{{assign var=PMethodPrefix value=\'Collection_\'}}\r\n			{{assign var=PMethodPrefix value=$PMethodPrefix|concat:$PaymentMethodID|concat:\'_ID\'}}\r\n		\r\n			{{foreach from=$PayInfo item=v key=k }}\r\n				{{assign var=PayInfoID value=$v.$PMethodPrefix}}\r\n				{{CollectionDeleteRow CollectionID=$PaymentMethodID RowID=$PayInfoID}}\r\n			{{/foreach}}\r\n		{{/if}}	\r\n		\r\n	\r\n	{{* because the transaction is finished we will close the cart *}}\r\n	{{CollectionUpdateField CollectionID=$CartCollection ColumnID=5 Value=\'on\' RowID=$CartID}} \r\n	\r\n	{{* we will auto check the Purchase Aproved By Admin flag if the method is not check by mail *}} \r\n	{{if $PaymentMethodID neq 150}}\r\n		{{CollectionUpdateField CollectionID=$CartCollection ColumnID=20 Value=\'on\' RowID=$CartID}}\r\n	{{/if}}	\r\n		\r\n	{{* if user is new we need to create an account for him *}}\r\n	{{if $smarty.session.UserID gt 0}}\r\n			{{CollectionUpdateField CollectionID=$CartCollection ColumnID=2 Value=$smarty.session.UserID RowID=$CartID}}\r\n	{{else}}\r\n			\r\n			{{* we check to see if the email address that the user used is in use or not 8 *}}\r\n			{{getCollectionByCategory CollectionID=1 ColumnID=5 Value=$BillingInfo.Collection_138_12 var=EmailAllready OrderColumn=\'ID\'}}\r\n			{{if $EmailAllready|@count eq 0}}\r\n						{{* this means we can freely create a new username *}}\r\n						{{CollectionAdd var=UserID CollectionID=1 Collection_1_1=$BillingInfo.Collection_138_12 Collection_1_5=$BillingInfo.Collection_138_12 Collection_1_3=$BillingInfo.Collection_138_2 Collection_1_4=$BillingInfo.Collection_138_3  Collection_1_6=\'on\' Collection_1_10=\'on\' Collection_1_11=$BillingInfo.Collection_138_4 Collection_1_12=$BillingInfo.Collection_138_5 Collection_1_9=\'on\' Collection_1_13=$BillingInfo.Collection_138_6 Collection_1_14=$BillingInfo.Collection_138_7 Collection_1_15=$BillingInfo.Collection_138_8 Collection_1_16=$BillingInfo.Collection_138_9 Collection_1_17=$BillingInfo.Collection_138_10 Collection_1_2=$BillingInfo.Collection_138_12|password:\'oxiem\' }}\r\n						{{Email emailTo=$BillingInfo.Collection_138_12 emailToName=$BillingInfo.Collection_138_2|concat:\' \'|concat:$BillingInfo.Collection_138_3 emailFrom=$EmailSetting.$EAforNUsers emailFromName=$EmailSetting.$ENforNUsers emailSubject=$EmailSetting.$ESforNUsers emailPage=42  emailData=$BillingInfo}}\r\n						\r\n						{{CollectionUpdateField CollectionID=$CartCollection ColumnID=2 Value=$UserID RowID=$CartID}}\r\n						\r\n						{{* we need to add the user to the user group *}}\r\n						{{CollectionAdd CollectionID=3 Collection_3_1=$UserID Collection_3_2=4 }}\r\n			{{else}}\r\n				{{assign var=OldUserData value=$EmailAllready[0]}}\r\n				{{CollectionUpdateField CollectionID=$CartCollection ColumnID=2 Value=$OldUserData.Collection_1_ID RowID=$CartID}}\r\n			{{/if}}\r\n	{{/if}}\r\n	\r\n	\r\n			\r\n	{{* we need to send email to user with the receipt *}}\r\n	{{assign var=tmppage value=$page}}\r\n	{{Email emailTo=$BillingInfo.Collection_138_12 emailToName=$BillingInfo.Collection_138_2|concat:\' \'|concat:$BillingInfo.Collection_138_3 emailFrom=$EmailSetting.$EAforReceipt emailFromName=$EmailSetting.$ENforReceipt emailSubject=$EmailSetting.$ESforReceipt emailPage=41  emailData=$CartID}}\r\n	{{Email emailTo=$EmailSetting.$EEforAReceipt emailToName=$BillingInfo.Collection_138_2|concat:\' \'|concat:$BillingInfo.Collection_138_3 emailFrom=$EmailSetting.$EAforAReceipt emailFromName=$EmailSetting.$ENforAReceipt emailSubject=$EmailSetting.$ESforAReceipt emailPage=41  emailData=$CartID}}\r\n	{{assign var=page value=$tmppage}}\r\n\r\n<div id=\"middle2\">\r\n\r\n\r\n\r\n	\r\n	<h3>Your Shopping Cart</h3>\r\n	<div id=\"shopping_cart_details\">\r\n	{{if $CartData|@count gt 0 and $CartDetails|@count gt 0}}\r\n		{{getcontent id=45}}\r\n	{{/if}}\r\n	</div>\r\n	\r\n	<ul>\r\n	 	<li><a href=\"javascript: void(0);\" onClick=\"window.print(); \">Click Here To Print This Page</a></li>\r\n	 	<li><a href=\"http://{{$smarty.server.HTTP_HOST}}/store/\">Click Here To Continue</a></li>\r\n	</ul>\r\n	\r\n\r\n</div>\r\n\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(45,'SHOPPING CART - Checkout - Cart Details',NULL,2,3,'	\r\n	{{assign var=CartCollection				value=133}}\r\n	{{assign var=CartDetailsCollection		value=134}}\r\n	\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	{{assign var=CouponID value=$CartDataItem.Collection_133_16}}\r\n	{{assign var=CouponDiscountValue value=$CartDataItem.Collection_133_27}}\r\n	{{assign var=MethodID value=$CartDataItem.Collection_133_17}}\r\n	{{assign var=ChoosenZip value=$CartDataItem.Collection_133_30}}\r\n	{{assign var=ChoosenShippingPrice value=$CartDataItem.Collection_133_26}}\r\n	{{assign var=PaymentMethodID value=$CartDataItem.Collection_133_19}}\r\n	{{assign var=ProductsTotalValue value=$CartDataItem.Collection_133_24}}\r\n	{{assign var=CartTotalValue value=$CartDataItem.Collection_133_23}}\r\n	{{assign var=CartTaxValue value=$CartDataItem.Collection_133_25}}\r\n	{{assign var=ChoosenTaxExemption value=$CartDataItem.Collection_133_31}}\r\n	\r\n	{{getCollectionByCategory CollectionID=135 ColumnID=\'ID\' Value=$CouponID var=Coupons OrderColumn=\'ID\'}}\r\n	{{assign var=CouponData value=$Coupons[0]}}\r\n	{{assign var=Coupon value=$CouponData.Collection_135_3}}\r\n	\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	\r\n	{{assign var=CartDetailPrefix   	value=\'Collection_\'}}\r\n	{{assign var=CartDetailPrefix   	value=$CartDetailPrefix|concat:$CartDetailsCollection|concat:\'_\'}}\r\n	{{assign var=CartDetailID 			value=$CartDetailPrefix|concat:\'ID\'}}\r\n	{{assign var=CartDetailFreeShipping	value=$CartDetailPrefix|concat:\'8\'}}\r\n	{{assign var=CartDetailName 		value=$CartDetailPrefix|concat:\'7\'}}\r\n	{{assign var=CartDetailProductID 	value=$CartDetailPrefix|concat:\'2\'}}\r\n	{{assign var=CartDetailQuantity 	value=$CartDetailPrefix|concat:\'3\'}}\r\n	{{assign var=CartDetailPriceID 		value=$CartDetailPrefix|concat:\'4\'}}\r\n	{{assign var=CartDetailPrice 		value=$CartDetailPrefix|concat:\'5\'}}\r\n	{{assign var=CartDetailPriceDesc 	value=$CartDetailPrefix|concat:\'6\'}}\r\n	{{assign var=CartDetailTax 	        value=$CartDetailPrefix|concat:\'12\'}}\r\n	{{assign var=CartDetailOffer 	    value=$CartDetailPrefix|concat:\'11\'}}\r\n	{{assign var=CartDetailPriceWithDiscount       value=$CartDetailPrefix|concat:\'10\'}}\r\n		\r\n		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n		<tr>\r\n			<td  class=\"fill\" width=\"300\"><strong>Item</strong></td>\r\n			<td  class=\"fill\"><strong>Qty.</strong></td>\r\n			<td  class=\"fill\"><strong>Unit Price</strong></td>\r\n			<td  class=\"fill\"><strong>Price</strong></td>\r\n		</tr>\r\n		{{foreach from =$CartDetails item=v key=k name=clist}}\r\n			<tr valign=\"top\">\r\n				<td class=\"item\">{{$v.$CartDetailName}} <br/>  {{if $v.$CartDetailOffer neq \'\'}}<br/>{{$v.$CartDetailOffer}}{{/if}}</td>\r\n				<td class=\"item\">{{$v.$CartDetailQuantity}}</td>\r\n				<td class=\"item\">${{$v.$CartDetailPriceWithDiscount|string_format:\'%.2f\'}}{{if $v.$CartDetailPriceWithDiscount neq $v.$CartDetailPrice}}<br/>(Regular Price: ${{$v.$CartDetailPrice|string_format:\'%.2f\'}}){{/if}}</td>\r\n				<td class=\"item\">${{math equation=\" x * y \" x=$v.$CartDetailQuantity y=$v.$CartDetailPriceWithDiscount format=\"%.2f\"}}</td>\r\n			</tr>\r\n		{{/foreach}}\r\n		<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\"><strong>Merchandise Value:</strong></td>\r\n				<td class=\"summary\">${{$ProductsTotalValue|string_format:\'%.2f\'}}</td>\r\n	    </tr>\r\n		<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\"><strong>Shipping Value:</strong></td>\r\n				<td class=\"summary\">${{$ChoosenShippingPrice|string_format:\'%.2f\'}}</td>\r\n	    </tr>\r\n		<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\"><strong>Tax Value:</strong></td>\r\n				<td class=\"summary\">${{$CartTaxValue|string_format:\'%.2f\'}}</td>\r\n	    </tr>\r\n		{{if $Coupon neq \'\'}}\r\n			\r\n			<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\">\r\n				<strong>Coupon Discount Value:</strong>\r\n				</td>\r\n				<td class=\"summary\">${{$CouponDiscountValue|string_format:\'%.2f\'}}</td>\r\n			</tr>\r\n		{{/if}}	\r\n			<tr>\r\n				<td class=\"summary\" colspan=\"3\" align=\"right\"><strong>Grand Total:</strong></td>\r\n				<td class=\"summary\">${{$CartTotalValue|string_format:\'%.2f\'}}</td>\r\n			</tr>\r\n		</table>	',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(635,'GALLERY - Homepage Block',NULL,2,3,'<h4>Photo Galleries Block</h4>\r\n{{getCollectionByCategory CollectionID=80 ColumnID=3 Value=\'on\' OrderColumn=2 var=Results}}\r\n\r\n<div id=\"photogalleries\">\r\n	<ul>\r\n	{{foreach from=$Results item=v key=k name=n}}\r\n		{{getCollectionByCategory CollectionID=81 ColumnID=5 Value=$v.Collection_80_ID OrderColumn=1 var=Images}}\r\n		{{assign var=Image value=$Images[0]}}\r\n		{{if $smarty.session.UserID gt 0}}\r\n			{{CollectionCanAccess userId=$smarty.session.UserID CollectionId=80 rowId=$v.Collection_80_ID var=canAccess}}\r\n		{{/if}}\r\n		<li {{if $canAccess eq true}} collectionid=\"80\" collectionrowid=\"{{$v.Collection_80_ID}}\" collectioneditor=\"1\"{{/if}}><a href=\"/photo-gallery/{{$v.Collection_80_ID}}.html\"><img src=\"{{$Image.Collection_81_3}}\" width=\"100\" height=\"100\" alt=\"{{$v.Collection_80_1|replace:\'\"\':\'\"\'}}\" /></a></li>\r\n	{{/foreach}}\r\n	</ul>\r\n	<div class=\"clear\"></div>\r\n</div>\r\n',1285065678,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(38,'SHOPPING CART - AJAX - Display Big Cart',NULL,2,3,'	{{* if we do not have a valid cart we will not display anything *}}\r\n	{{assign var=CartCollection				value=33}}\r\n	{{assign var=CartDetailsCollection		value=34}}\r\n	{{assign var=SessionID   		value=\'\'|sessionid}}\r\n	{{getCollectionByCategory CollectionID=$CartCollection Collection_33_1=$SessionID aditionalFilter=\' (Collection_33_5<>\"on\" or Collection_33_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_33_ID}}\r\n	{{assign var=MethodID value=$CartDataItem.Collection_33_17}}\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n\r\n	{{if $CartDetails|@count neq 0 and $CartData|@count neq 0 and $MethodID gt 0}}\r\n			{{getcontent id=599}}\r\n	{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(39,'SHOPPING CART - AJAX - Template - pls , do not edit',NULL,3,1,'{{$content}}',1197030208,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40,'SHOPPING CART - Categories List',NULL,2,3,'{{assign var=ColectionID value=130}}\r\n{{getCollectionByCategory CollectionID=$ColectionID OrderColumn=\'ID\' var=Categories ColumnID=6 Value=\'on\'}}\r\n{{assign var=ColectionPrefix value=\'Collection_\'}}\r\n{{assign var=ColectionPrefix value=$ColectionPrefix|concat:$ColectionID|concat:\'_\'}}\r\n{{assign var=CategoryID 		value=$ColectionPrefix|concat:\'ID\'}}\r\n{{assign var=CategoryAbbrev		value=$ColectionPrefix|concat:\'5\'}}\r\n{{assign var=CategoryName 		value=$ColectionPrefix|concat:\'1\'}}\r\n{{assign var=CategoryImage1 	value=$ColectionPrefix|concat:\'2\'}}\r\n{{assign var=CategoryImage2 	value=$ColectionPrefix|concat:\'3\'}}\r\n{{assign var=CategoryDesc    	value=$ColectionPrefix|concat:\'4\'}}\r\n<h5>Product Categories</h5>\r\n<ul>\r\n{{foreach from=$Categories item=v key=k}}\r\n{{assign var=canAccess value=0}}{{if $smarty.session.UserID gt 0}}\r\n{{CollectionCanAccess userId=$smarty.session.UserID CollectionId=130 rowId=$v.$CategoryID var=canAccess}}{{/if}}\r\n<li><a href=\"/store/{{$v.$CategoryAbbrev}}.html\" {{if $canAccess eq true}}collectionid=\"130\" collectionrowid=\"{{$v.$CategoryID}}\" collectionrowname=\"{{$v.$CategoryName|addslashes}}\"{{/if}}>{{$v.$CategoryName}}</a></li>\r\n{{/foreach}}\r\n</ul>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(41,'SHOPPING CART - Categories Page',NULL,2,3,'{{assign var=ColectionID value=130}}\r\n{{assign var=ProductsColectionID value=129}} \r\n{{assign var=PricesColectionID value=131}} \r\n{{assign var=CatProdXref value=132}} \r\n{{getCollectionByCategory ColumnID=\'5\' Value=$smarty.get.category CollectionID=$ColectionID Collection_130_6=\'on\' OrderColumn=\'ID\' var=Category}} \r\n{{if $Category|@count eq 0}} \r\n     {{getcontent id=4}} \r\n{{else}} \r\n	\r\n	{{assign var=CategoryData value=$Category[0]}} \r\n	{{assign var=ColectionPrefix value=\'Collection_\'}} \r\n	{{assign var=ColectionPrefix value=$ColectionPrefix|concat:$ColectionID|concat:\'_\'}} \r\n	{{assign var=CategoryID value=$ColectionPrefix|concat:\'ID\'}} \r\n	{{assign var=CategoryName value=$ColectionPrefix|concat:\'8\'}} \r\n	{{assign var=CategoryAbbrev value=$ColectionPrefix|concat:\'5\'}} \r\n	{{assign var=CategoryImage1 value=$ColectionPrefix|concat:\'2\'}} \r\n	{{assign var=CategoryImage2 value=$ColectionPrefix|concat:\'3\'}} \r\n	{{assign var=CategoryDesc value=$ColectionPrefix|concat:\'4\'}} \r\n	{{assign var=CategoryVisible value=$ColectionPrefix|concat:\'6\'}} \r\n	{{setPage var=\'Collection_17_2\' value=$CategoryData.$CategoryName|concat:\' Products\'}}\r\n	\r\n	\r\n{{assign var=ProductCategoryID value=$CategoryData.$CategoryID}}\r\n<script type=\"text/javascript\" src=\"/js/store.js\"></script>\r\n<script type=\"text/javascript\">\r\n\r\nfunction getOptions(prodid)\r\n{\r\n	var optionsText = \'\';\r\n    var tags = document.getElementsByTagName(\'input\');\r\n	for (var j=0;j<tags.length;j++) {\r\n			if (tags[j].className == \'op_\'+ prodid && tags[j].checked == true)\r\n			{\r\n				\r\n				if (document.getElementById(\'op_p_\'+ tags[j].value))\r\n				{\r\n					var opObj = document.getElementById(\'op_p_\'+ tags[j].value);\r\n					if (opObj.value)\r\n					{\r\n						opValue = opObj.value;\r\n					}\r\n					else\r\n					{\r\n						opValue = opObj.options[opObj.selectedIndex].value;\r\n					}\r\n					\r\n					optionsText += \'&opt%5B%5D=\' + tags[j].value + \'&optv%5B%5D=\' + opValue;\r\n					\r\n				}\r\n				\r\n				\r\n			}\r\n						\r\n	}\r\n	\r\n	return optionsText;\r\n}\r\n\r\nfunction addToCart(prodid)\r\n{\r\nvar qty = document.getElementById(\'q_\'+prodid).value;\r\nvar pid = document.getElementById(\'p_\'+prodid).options[document.getElementById(\'p_\'+prodid).selectedIndex].value;\r\nvar optionsText = getOptions(prodid);\r\nwindow.location=\'/addproduct.html?prodid=\'+prodid+\'&quantity=\'+qty+\'&price=\'+pid+\'&page=shopping-cart.html\' + optionsText;\r\n}\r\n\r\nfunction addToCart2(prodid, priceid)\r\n{\r\nvar optionsText = getOptions(prodid );\r\nwindow.location=\'/addproduct.html?prodid=\'+prodid+\'&quantity=\'+document.getElementById(\'q_\'+ prodid).value+\'&price=\'+priceid+\'&page=shopping-cart.html\'+ optionsText;\r\n}\r\n</script>\r\n\r\n<div id=\"submenu\">\r\n<div id=\"smarty_plugin\">{{getcontent id=40}}</div>\r\n</div>\r\n<div id=\"middle2\">\r\n\r\n<h1>{{$CategoryData.$CategoryName}}</h1>\r\n\r\n\r\n\r\n	{{if $CategoryData.$CategoryDesc neq \'\'}}\r\n		<p>{{$CategoryData.$CategoryDesc}}</p>\r\n	{{/if}}\r\n	\r\n	\r\n	{{getTreeChildNumberAdmin var=SubCategories CategoryID=$ProductCategoryID OrderCol=9 OrderWay=0  CID=$ColectionID noDisplay=1 Level=0 }}\r\n	{{if $SubCategories|@count gt 0}}\r\n			{{foreach from=$SubCategories item=v key=k}}{{if $v.$CategoryVisible eq \'on\'}}\r\n			<h3><a href=\"/store/{{$v.$CategoryAbbrev}}.html\">{{$v.$CategoryName}}</a></h3>\r\n			{{if $v.$CategoryDesc neq \'\'}}<p>{{$v.$CategoryDesc}}</p>{{/if}}{{/if}}\r\n			{{/foreach}}\r\n			<p> </p>\r\n	{{/if}}\r\n	\r\n	{{getCollectionByXRef CollectionID=$ProductsColectionID FilterColumnID=8 FilterValue=\'on\' CollectionJoin=$ColectionID CollectionJoinValues=$ProductCategoryID Var=Products}} \r\n	{{if $Products|@count eq 0}}\r\n            {{if $SubCategories|@count eq 0}}\r\n			<p>There are no products in this category. </p>\r\n			{{/if}}\r\n    {{else}} \r\n			\r\n			<h2>Products</h2>\r\n		{{assign var=ProdPrefix value=\'Collection_\'}} \r\n		{{assign var=ProdPrefix value=$ProdPrefix|concat:$ProductsColectionID|concat:\'_\'}}\r\n		{{assign var=\'ProductID\' value=$ProdPrefix|concat:\'ID\'}}\r\n		{{assign var=\'ProductName\' value=$ProdPrefix|concat:\'1\'}} \r\n		{{assign var=\'ProductItem\' value=$ProdPrefix|concat:\'13\'}} \r\n		{{assign var=\'ProductSample\' value=$ProdPrefix|concat:\'14\'}} \r\n		{{assign var=\'ShortDesc\' value=$ProdPrefix|concat:\'2\'}} \r\n		{{assign var=\'SmallImage\' value=$ProdPrefix|concat:\'5\'}} \r\n		{{assign var=PricePrefix value=\'Collection_\'}} \r\n		{{assign var=PricePrefix value=$PricePrefix|concat:$PricesColectionID|concat:\'_\'}} \r\n		{{assign var=\'PriceID\' value=$PricePrefix|concat:\'ID\'}} \r\n		{{assign var=\'PriceName\' value=$PricePrefix|concat:\'2\'}} \r\n		{{assign var=\'Price\' value=$PricePrefix|concat:\'3\'}} \r\n		{{assign var=\'ItemDesc\' value=$PricePrefix|concat:\'4\'}} \r\n		{{assign var=\'PriceImage\' value=$PricePrefix|concat:\'5\'}} \r\n			\r\n			<table cellpadding=\"2\" cellspacing=\"2\" border=\"0\" width=\"480\">\r\n			<tr valign=\"top\">\r\n			{{foreach from=$Products item=v key=k name=plist}}\r\n			{{if $smarty.foreach.plist.index % 1 eq 0 and $smarty.foreach.plist.index neq 0}}</tr><tr valign=\"top\">{{/if}}\r\n			<td>\r\n			\r\n            		<div class=\"product\">\r\n					<table cellpadding=\"4\" cellspacing=\"4\" border=\"0\" width=\"100%\">\r\n					<tr valign=\"middle\">\r\n						<td>\r\n						<a href=\"/store-products/{{$v.$ProductID}}.html\"><img id=\"image_{{$v.$ProductID}}\" alt=\"{{$v.$ProductName}}\" src=\"{{if $v.$SmallImage neq \'\'}}{{$v.$SmallImage}}{{else}}/images/contentimages/image_20_4_54.gif {{/if}}\" border=\"0\" /></a>\r\n						</td>\r\n						<td>\r\n						{{if $v.$ProductItem neq \'\'}}<p><strong>Item #:</strong> {{$v.$ProductItem}}</p>{{/if}}\r\n						<h5><a href=\"/store-products/{{$v.$ProductID}}.html\">{{$v.$ProductName}}</a></h5>\r\n						<p>{{$v.$ShortDesc|nl2br}}</p>\r\n						{{if $v.$ProductSample neq \'\'}}{{assign var=tmp value=$v.$ProductSample}}<p><a target=\"_blank\" href=\"{{$Documents.$tmp}}\">View Sample Pages</a></p>{{/if}}\r\n						</td>\r\n					</tr>\r\n					<tr>\r\n						<td colspan=\"2\" align=\"right\">\r\n						\r\n						{{getCollectionByCategory ColumnID=\'1\' Value=$v.$ProductID CollectionID=$PricesColectionID OrderColumn=\'ID\' var=Prices}}\r\n									{{if $Prices|@count gt 1}}\r\n										<select name=\"p_{{$v.$ProductID}}\" id=\"p_{{$v.$ProductID}}\" class=\"selectbox\" onChange=\"makeChanges(this , {{$v.$ProductID}})\">\r\n										{{foreach from=$Prices item=vv key=kk}}\r\n										<option value=\"{{$vv.$PriceID}}\" img=\"{{if $vv.$PriceImage neq \'\'}}{{$vv.$PriceImage}}{{/if}}\">{{$vv.$PriceName}}  ${{$vv.$Price|string_format:\'%.2f\'}}</option>\r\n										{{/foreach}}\r\n										</select>   \r\n										<input size=\"2\" name=\"q_{{$v.$ProductID}}\" id=\"q_{{$v.$ProductID}}\" value=\"1\" />\r\n										 \r\n										<a href=\"javascript: addToCart({{$v.$ProductID}});\">Add To Cart</a>\r\n									{{else}}\r\n										{{assign var=vv value=$Prices[0]}}\r\n										<strong>${{$vv.$Price|string_format:\'%.2f\'}} </strong>\r\n									<input size=\"2\" name=\"q_{{$v.$ProductID}}\" id=\"q_{{$v.$ProductID}}\" value=\"1\" /> \r\n									<a onclick=\"javascript: void(0);\" href=\"javascript: addToCart2({{$v.$ProductID}}, {{$vv.$PriceID}});\">Add To Cart</a>\r\n									{{/if}}		\r\n						\r\n						</td>\r\n					</tr>\r\n					<tr>\r\n					<td colspan=\"2\">\r\n					{{assign var=ProductIDForOptions value=$v.$ProductID}}		\r\n						{{getcontent id=107}}\r\n					</td>\r\n					</tr>\r\n					</table>\r\n					<hr width=\"70%\" align=\"center\">\r\n					</div>\r\n            \r\n			</td>\r\n			{{/foreach}} \r\n			</tr>\r\n			</table>\r\n			\r\n	{{/if}}\r\n\r\n</div>	\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(37,'SHOPPING CART - Add Product',NULL,2,3,'{{assign var=ProductID 	value=$smarty.get.prodid}}\r\n{{assign var=Quantity  	value=$smarty.get.quantity|string_format:\'%d\'}}\r\n{{assign var=PriceID   	value=$smarty.get.price}}\r\n{{assign var=PageToRedirect   	value=$smarty.get.page}}\r\n{{assign var=SessionID   value=\'\'|sessionid}}\r\n{{assign var=Time	 	  value=$smarty.now}}\r\n{{assign var=CartCollection value=133}}\r\n{{assign var=ProdCollection value=129}}\r\n{{assign var=PriceCollection	value=131}}\r\n{{assign var=CartDetailsCollection value=134}}\r\n\r\n{{* Check if we allready have a cart defined and if it is closed *}}\r\n{{if $smarty.get.prodid gt 0 and $smarty.get.quantity gt 0 and $smarty.get.price gt 0}}\r\n\r\n{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n\r\n{{if $CartData|@count eq 0}}\r\n	{{* We will need to define the cart *}}\r\n	{{CollectionAdd CollectionID=$CartCollection var=CartID Collection_133_1=$SessionID Collection_133_2=$smarty.session.UserID Collection_133_3=$smarty.now Collection_133_4=$smarty.server.REMOTE_ADDR Collection_133_5=\' \'}}\r\n	{{SetCookie name=$smarty.const.CART_NAME value=$SessionID period=30}}\r\n{{else}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n{{/if}}\r\n\r\n{{assign var=CartClosed value=$CartDataItem.Collection_133_28}}\r\n{{if $CartClosed neq \'on\'}}\r\n\r\n	{{* We need to determine if the product and price are valid *}}\r\n	{{assign var=CartAddValid value=1}}	\r\n	{{* We check to see if product exists *}}\r\n	\r\n	{{getCollectionByCategory CollectionID=$ProdCollection ColumnID=\'ID\' Collection_129_8=\'on\' Value=$ProductID var=Prod OrderColumn=\'ID\'}}\r\n	{{if $Prod|@count eq 0}}\r\n			{{assign var=CartAddValid value=0}}	\r\n			prod not valid\r\n	{{else}}\r\n			{{assign var=ProdDetails value=$Prod[0]}}	\r\n	{{/if}}\r\n	\r\n	\r\n	{{* We check to see if priceid is right *}}\r\n	{{getCollectionByCategory CollectionID=$PriceCollection ColumnID=\'ID\' Value=$PriceID Collection_131_1=$ProductID var=Price OrderColumn=\'ID\'}}\r\n	{{if $Price|@count eq 0}}\r\n			{{assign var=CartAddValid value=0}}	\r\n			price not valid\r\n	{{else}}\r\n			{{assign var=PriceDetails value=$Price[0]}}\r\n	{{/if}}\r\n	\r\n	{{* We check to see if quantity is greater than 0 *}}\r\n	{{if $Quantity lt 1}}\r\n		{{assign var=CartAddValid value=0}}	\r\n		quantity {{$Quantity}} not valid\r\n	{{/if}}\r\n	\r\n	{{if $CartAddValid eq 1}}\r\n			{{* If the cart add is valid we need to determine if the product & price is allready added or not *}}\r\n			\r\n			{{addProductToCart productID=$ProductID priceID=$PriceID cartID=$CartID quantity=$Quantity productDetails=$ProdDetails priceDetails=$PriceDetails }}\r\n			{{getCollectionByCategory CollectionID=$CartCollection ColumnID=\'ID\' Value=$CartID var=CartDataArray OrderColumn=\'ID\'}}\r\n			{{assign var=CartData value=$CartDataArray[0]}}\r\n			{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n			{{updateCartSummary cartID=$CartID cartData=$CartData cartDetails=$CartDetails}}\r\n									\r\n	{{else}}\r\n			\r\n	{{/if}}\r\n{{* end if cart is closed *}}\r\n{{/if}}	\r\n{{/if}} 		\r\n	{{if $smarty.get.r neq 1}}\r\n		 {{redirect page=$PageToRedirect}} \r\n    {{/if}} ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(60,'SHOPPING CART - Right Content',NULL,6,1,'<div class=\"box nobg\">\r\n	<p>\r\n		WE ACCEPT VISA &amp; MASTERCARD<br />\r\n		CREDIT CARD ORDERS ONLY</p>\r\n	<p>\r\n		<a href=\"/documents/contentdocuments/59.pdf\" target=\"_blank\"><u>Download Fax</u></a> or<br />\r\n		<a href=\"/documents/contentdocuments/59.pdf\" target=\"_blank\"><u>Mail Order</u></a> Form Here</p>\r\n</div>\r\n<p>\r\n	<br />\r\n	&nbsp;</p>\r\n<div class=\"box nobg\">\r\n	<img alt=\"\" border=\"0\" height=\"190\" src=\"/images/n_member.gif\" usemap=\"#Map3\" width=\"190\" /><map name=\"Map3\"><area coords=\"43,150,90,166\" href=\"/documents/contentdocuments/58.pdf\" shape=\"rect\" target=\"_blank\" /></map></div>\r\n',1197031237,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(61,'SHOPPING CART - Shipping Information',NULL,2,3,'	{{* if we do not have a valid cart we will redirect to shopping-cart.html page *}}\r\n	{{assign var=CartCollection				value=133}}\r\n	{{assign var=CartDetailsCollection		value=134}}\r\n	{{assign var=SessionID   		value=\'\'|sessionid}}\r\n	{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	\r\n	{{if $CartDetails|@count eq 0 or $CartData|@count eq 0 }}\r\n		{{redirect page=\'/shopping-cart.html\'}}	\r\n	{{/if}}\r\n\r\n\r\n<div id=\"middle2\">\r\n\r\n\r\n\r\n{{if $CartData|@count gt 0 and $CartDetails|@count gt 0}}\r\n		<div id=\"shopping_cart_details\">\r\n		{{getcontent id=55}}\r\n		</div>\r\n	{{/if}}\r\n	\r\n	<h1>Your Shipping Information</h1>\r\n	\r\n	<div id=\"cartform\">\r\n		{{* We need to see if personal info has been completed once *}}\r\n		{{* If yes we need to edit not add again *}}\r\n		\r\n		{{getCollectionByCategory CollectionID=139 Collection_139_1=$CartID var=SInfo OrderColumn=\'ID\'}}\r\n		{{if $SInfo|@count eq 0}}\r\n			{{* if we add for the first time we could try to get the info from personal info *}}\r\n			{{getCollectionByCategory CollectionID=138 Collection_138_1=$CartID var=PInfo OrderColumn=\'ID\'}}\r\n			{{if $PInfo|@count neq 0}}\r\n				{{assign var=PinfoData value=$PInfo[0]}}\r\n			{{/if}}\r\n			\r\n			{{ViewCollection mode=\'Add\' CollectionID=139}}\r\n		{{else}}\r\n			{{assign var=SinfoData value=$SInfo[0]}}\r\n			{{assign var=SinfoID value=$SinfoData.Collection_139_ID}}\r\n			{{ViewCollection mode=\'Edit\' rowid=$SinfoID CollectionID=139}}\r\n		{{/if}}	\r\n		</div>\r\n</div>\r\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(62,'SHOPPING CART - One Product - without category',NULL,2,3,'{{assign var=ColectionID value=130}} \r\n{{assign var=ProductsColectionID value=129}} \r\n{{assign var=PricesColectionID value=131}} \r\n{{assign var=CatProdXref value=132}}  \r\n			\r\n		{{assign var=ProductToDisplay value=$smarty.get.product}}\r\n		{{getCollectionByCategory ColumnID=\'ID\' Value=$ProductToDisplay CollectionID=$ProductsColectionID Collection_129_8=\'on\' OrderColumn=\'ID\' var=Products}} \r\n		{{if $Products|@count eq 0}}\r\n			{{getcontent id=4}}\r\n		{{else}}\r\n			{{createOptions CollectionID=23 Column=5 var=Documents}}\r\n			\r\n			{{assign var=Product value=$Products[0]}}\r\n			{{assign var=ProdPrefix value=\'Collection_\'}} \r\n			{{assign var=ProdPrefix value=$ProdPrefix|concat:$ProductsColectionID|concat:\'_\'}} \r\n			{{assign var=\'ProductID\' value=$ProdPrefix|concat:\'ID\'}} \r\n			{{assign var=\'ProductName\' value=$ProdPrefix|concat:\'1\'}} \r\n			{{assign var=\'ShortDesc\' value=$ProdPrefix|concat:\'2\'}} \r\n			{{assign var=\'LongDesc\' value=$ProdPrefix|concat:\'3\'}} \r\n			{{assign var=\'SmallImage\' value=$ProdPrefix|concat:\'5\'}} \r\n			{{assign var=\'BigImage\' value=$ProdPrefix|concat:\'4\'}} \r\n			\r\n			\r\n			\r\n			{{assign var=PricePrefix value=\'Collection_\'}} \r\n			{{assign var=PricePrefix value=$PricePrefix|concat:$PricesColectionID|concat:\'_\'}} \r\n			{{assign var=\'PriceID\' value=$PricePrefix|concat:\'ID\'}} \r\n			{{assign var=\'PriceName\' value=$PricePrefix|concat:\'2\'}} \r\n			{{assign var=\'Price\' value=$PricePrefix|concat:\'3\'}} \r\n			{{assign var=\'ItemDesc\' value=$PricePrefix|concat:\'4\'}} \r\n			{{assign var=\'PriceImage\' value=$PricePrefix|concat:\'5\'}} \r\n			{{setPage var=\'Collection_17_2\' value=$Product.$ProductName}}\r\n\r\n\r\n<div id=\"submenu\">\r\n<div id=\"smarty_plugin\">{{getcontent id=40}}</div>\r\n</div>\r\n<div id=\"middle2\">\r\n\r\n		<h1>Product Detail</h1>\r\n        <h2>{{$Product.$ProductName}}</h2>\r\n			\r\n			<script type=\"text/javascript\">\r\n		function addToCart(prodid)\r\n		{\r\n		var qty = document.getElementById(\'q_\'+prodid).value;\r\n		var pid = document.getElementById(\'p_\'+prodid).options[document.getElementById(\'p_\'+prodid).selectedIndex].value;\r\n		window.location=\'/addproduct.html?prodid=\'+prodid+\'&quantity=\'+qty+\'&price=\'+pid+\'&page=shopping-cart.html\'\r\n		}\r\n		\r\n		function makeChanges(obj , prodid)\r\n		{\r\n			var img = document.getElementById(\'image_\'+ prodid);\r\n			\r\n			if (obj.options[obj.selectedIndex].img != \'\')\r\n			{\r\n				img.src = obj.options[obj.selectedIndex].img;\r\n			}\r\n		}\r\n		</script>\r\n\r\n\r\n\r\n			  \r\n					{{assign var=v value=$Product}}\r\n					<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n					<tr valign=\"top\">\r\n					<td>\r\n								{{getCollectionByCategory ColumnID=\'1\' Value=$v.$ProductID CollectionID=$PricesColectionID OrderColumn=\'ID\' var=Prices}}\r\n						{{if $Prices|@count gt 1}}\r\n							<select name=\"p_{{$v.$ProductID}}\" class=\"selectbox\" onChange=\"makeChanges(this , {{$v.$ProductID}})\">\r\n							{{foreach from=$Prices item=vv key=kk}}\r\n							<option value=\"{{$vv.$PriceID}}\" img=\"{{if $vv.$PriceImage neq \'\'}}{{$vv.$PriceImage}}{{/if}}\">{{$vv.$PriceName}} ${{$vv.$Price|string_format:\'%.2f\'}}</option>\r\n							{{/foreach}}\r\n							</select>   <br/>\r\n							<input size=\"2\" name=\"q_{{$v.$ProductID}}\" value=\"1\" />\r\n							  <br/>\r\n							<a href=\"javascript: addToCart({{$v.$ProductID}});\" id=\"addtocartlink\">Add To Cart</a>\r\n						{{else}}\r\n							{{assign var=vv value=$Prices[0]}}\r\n									\r\n									\r\n									\r\n									\r\n									<strong>PRICE:</strong> ${{$vv.$Price|string_format:\'%.2f\'}} <br/>\r\n									\r\n									<br/>\r\n									 <input size=\"2\" name=\"q_{{$v.$ProductID}}_{{$vv.$PriceID}}\" class=\"itemquantityfield\" id=\"q_{{$v.$ProductID}}_{{$vv.$PriceID}}\" value=\"1\" />\r\n									<br/>\r\n									<a id=\"addtocartlink\" href=\"javascript://\">Add To Cart</a>\r\n									{{capture name=aaaa assign=jq}}\r\n										$(\'#addtocartlink\').click(function(){\r\n												window.location=\'/addproduct.html?prodid={{$v.$ProductID}}&quantity=\'+document.getElementById(\'q_{{$v.$ProductID}}_{{$vv.$PriceID}}\').value+\'&price={{$vv.$PriceID}}&page=shopping-cart.html\';\r\n										});\r\n									{{/capture}}\r\n									{{assign var=JavaScriptJQueryCode value=$JavaScriptJQueryCode|concat:\" \"|concat:$jq}}\r\n						{{/if}}									\r\n		\r\n					</td>\r\n					<td>\r\n						<div><img id=\"image_{{$v.$ProductID}}\" alt=\"\" src=\"{{if $v.$BigImage eq \'\'}}{{if $v.$SmallImage neq \'\'}}{{$v.$SmallImage}}{{else}}/images/contentimages/image_20_4_54.gif{{/if}}{{else}}{{$v.$BigImage}}{{/if}}\" border=\"0\" /></div>\r\n					</td>\r\n					</tr>\r\n					<tr><td colspan=\"2\">\r\n					<h3>Product Description</h3>\r\n									\r\n					<div>{{$v.$LongDesc}}</div>\r\n					\r\n					\r\n					\r\n					\r\n					</td></tr>	\r\n					\r\n					</table>\r\n					dsds\r\n			{{RunQuery ResultsVar=DiscountInfoCode q=\"SELECT Collection_341.* FROM Collection_342 INNER JOIN Collection_341 ON Collection_342_2 = Collection_341_ID WHERE Collection_342_1 = \'\"|concat:$v.$ProductID|concat:\"\' AND Collection_341_3=\'on\' Group By Collection_341_ID Order By Collection_341_2 \"}}\r\n			\r\n			{{if $DiscountInfoCode|@count gt 0}}\r\n				<p> </p>\r\n				{{foreach from=$DiscountInfoCode item=vv key=kk}}\r\n					{{fetchstring string=$vv.Collection_341_7}}\r\n				{{/foreach}}\r\n				\r\n			{{/if}}\r\n			\r\n			{{RunQuery ResultsVar=nProducts q=\"SELECT Collection_129.* FROM Collection_146 INNER JOIN Collection_129 ON Collection_129_ID = Collection_146_2 WHERE Collection_146_1=\'\"|concat:$v.$ProductID|concat:\"\' AND Collection_129_8=\'on\' Order By Collection_129_1 \"}}\r\n			{{if $nProducts|@count gt 0}}\r\n			<p> </p>\r\n			<h3>Product Recommendations</h3>\r\n			<table cellpadding=\"2\" cellspacing=\"2\" border=\"0\" width=\"480\">\r\n			<tr valign=\"top\">\r\n			{{foreach from=$nProducts item=v key=k name=plist}}\r\n			{{if $smarty.foreach.plist.index % 1 eq 0 and $smarty.foreach.plist.index neq 0}}</tr><tr valign=\"top\">{{/if}}\r\n			<td>\r\n			\r\n            		<div class=\"product\">\r\n					<table cellpadding=\"4\" cellspacing=\"4\" border=\"0\" width=\"100%\">\r\n					<tr valign=\"middle\">\r\n						<td>\r\n						<a href=\"/store-products/{{$v.$ProductID}}.html\"><img id=\"image_{{$v.$ProductID}}\" alt=\"{{$v.$ProductName}}\" src=\"{{if $v.$SmallImage neq \'\'}}{{$v.$SmallImage}}{{else}}/images/contentimages/image_20_4_54.gif {{/if}}\" border=\"0\" /></a>\r\n						</td>\r\n						<td>\r\n						\r\n						<h5><a href=\"/store-products/{{$v.$ProductID}}.html\">{{$v.$ProductName}}</a></h5>\r\n						<p>{{$v.$ShortDesc|nl2br}}</p>\r\n						\r\n						</td>\r\n					</tr>\r\n					<tr>\r\n						<td colspan=\"2\" align=\"right\">\r\n						\r\n						{{getCollectionByCategory ColumnID=\'1\' Value=$v.$ProductID CollectionID=$PricesColectionID OrderColumn=\'ID\' var=Prices}}\r\n									{{if $Prices|@count gt 1}}\r\n										<select name=\"p_{{$v.$ProductID}}\" id=\"p_{{$v.$ProductID}}\" class=\"selectbox\" onChange=\"makeChanges(this , {{$v.$ProductID}})\">\r\n										{{foreach from=$Prices item=vv key=kk}}\r\n										<option value=\"{{$vv.$PriceID}}\" img=\"{{if $vv.$PriceImage neq \'\'}}{{$vv.$PriceImage}}{{/if}}\">{{$vv.$PriceName}}  ${{$vv.$Price|string_format:\'%.2f\'}}</option>\r\n										{{/foreach}}\r\n										</select>   \r\n										<input size=\"2\" name=\"q_{{$v.$ProductID}}\" id=\"q_{{$v.$ProductID}}\" value=\"1\" />\r\n										 \r\n										<a href=\"javascript: addToCart({{$v.$ProductID}});\">Add To Cart</a>\r\n									{{else}}\r\n										{{assign var=vv value=$Prices[0]}}\r\n										<strong>${{$vv.$Price|string_format:\'%.2f\'}} </strong>\r\n									<input size=\"2\" name=\"q_{{$v.$ProductID}}\" id=\"q_{{$v.$ProductID}}\" value=\"1\" /> \r\n									<a onclick=\"javascript: void(0);\" href=\"javascript: addToCart2({{$v.$ProductID}}, {{$vv.$PriceID}});\">Add To Cart</a>\r\n									{{/if}}		\r\n						\r\n						</td>\r\n					</tr>\r\n					<tr>\r\n					<td colspan=\"2\">\r\n					{{assign var=ProductIDForOptions value=$v.$ProductID}}		\r\n						{{getcontent id=107}}\r\n					</td>\r\n					</tr>\r\n					</table>\r\n					<hr width=\"70%\" align=\"center\">\r\n					</div>\r\n            \r\n			</td>\r\n			{{/foreach}} \r\n			</tr>\r\n			</table>\r\n			{{/if}}\r\n\r\n\r\n</div>\r\n{{/if}}',1222266701,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(519,'Content - Homepage - Rotator',NULL,2,3,'{{capture name=Rot assign=rotator}}\r\n{{getCollectionByCategory CollectionID=304 ColumnID=\'4\' Value=\'on\' var=Results OrderColumn=5 }}\r\n\r\n<div id=\"rotator\">\r\n			<div id=\"rotatornavbg\"></div> \r\n								<div id=\"rotatornav\"> \r\n								  <div id=\"rotatorpause\"></div> \r\n								  <div id=\"rotatorresume\"></div> \r\n								  <div id=\"rotatorpages\" style=\"padding-left:357px \"></div> \r\n								</div> \r\n								<div id=\"rotatortitlebg\"></div> \r\n								<div id=\"rotatortitle\"></div> \r\n								<div id=\"rotatorsubtitlebg\"></div> \r\n								<div id=\"rotatorsubtitle\"></div> \r\n			{{assign var=tmp value=\"&qu\"|concat:\"ot;\"}}\r\n			<div class=\"pics\" id=\"slideshow\">\r\n			{{foreach from=$Results item=v key=k name=n}} \r\n			{{assign var=canAccess value=0}}\r\n			{{if $smarty.session.UserID gt 0}}\r\n					{{CollectionCanAccess userId=$smarty.session.UserID CollectionId=273 rowId=$v.$catId var=canAccess}}\r\n			{{/if}}\r\n			<a href=\"{{$v.Collection_304_6}}\"><img {{if $canAccess eq true}}collectionid=\"304\" collectionrowid=\"{{$v.Collection_304_ID}}\" collectioneditor=\"1\" collectionfilter=\"11\"{{/if}} id=\"rotatorimageid{{$smarty.foreach.n.index}}\" title=\"{{$v.Collection_304_1|replace:\'\"\':$tmp}}\" height=\"271\" width=\"960\" alt=\"{{$v.Collection_304_2|replace:\'\"\':$tmp}}\" link=\"{{$v.Collection_304_6}}\" src=\"{{$v.Collection_304_3}}\" /></a> \r\n			{{/foreach}}\r\n			</div>\r\n</div>			\r\n{{/capture}}\r\n{{eval var=$rotator}}\r\n',1239980175,'<script type=\"text/javascript\" src=\"/js/jquery.cycle.js\"></script>\r\n','function onBefore(curr, next, opts) \r\n{ \r\n	var index = $(this).parent().children().index(this);\r\n	var title = $(\'#rotatorimageid\'+ index).attr(\'title\'); \r\n	var alt = $(\'#rotatorimageid\'+ index).attr(\'alt\'); \r\n	var link = $(\'#rotatorimageid\'+ index).attr(\'link\'); \r\n \r\n	\r\n	$(\'#rotatortitle\').fadeOut(\'slow\', function() { \r\n			$(\'#rotatortitle\').html(title); \r\n			$(\'#rotatortitle\').fadeIn(\'slow\'); \r\n	}); \r\n	$(\'#rotatorsubtitle\').fadeOut(\'slow\', function() { \r\n			$(\'#rotatorsubtitle\').html(alt); \r\n			$(\'#rotatorsubtitle\').fadeIn(\'slow\'); \r\n	}); \r\n	\r\n	\r\n} \r\n	\r\n	$(\'#slideshow\').cycle({ speed: 2400, timeout: 10000, continuous: 0, before: onBefore, pager: \'#rotatorpages\' , next:   \'#rotatornext\',     prev:   \'#rotatorprev\'  }); \r\n	$(\'#rotatorpause\').click(function() { $(\'#slideshow\').cycle(\'pause\'); }); \r\n	$(\'#rotatorresume\').click(function() { $(\'#slideshow\').cycle(\'resume\', true); }); ','<link media=\"screen\" href=\"/style/jquery.cycle.css\" type=\"text/css\" rel=\"stylesheet\" />',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(107,'SHOPPING CART - Options for Product',NULL,2,3,'{{assign var=OptionsColectionID value=160}} \r\n{{getCollectionByCategory ColumnID=\'2\' Value=$ProductIDForOptions CollectionID=$OptionsColectionID OrderColumn=\'ID\' var=AllOptions}} \r\n{{if $AllOptions|@count gt 0}}\r\n	{{foreach from=$AllOptions item=ov key=ok}}\r\n			{{getCollectionByCategory ColumnID=\'ID\' Value=$ov.Collection_160_1 CollectionID=$ProductsColectionID OrderColumn=\'ID\' var=OptionsArray}} \r\n			{{if $OptionsArray|@count gt 0}}\r\n					{{assign var=Option value=$OptionsArray[0]}}\r\n					{{if $Option.Collection_129_8 eq \'on\'}}\r\n							\r\n							<div id=\"option\">\r\n								<table cellpadding=\"4\" cellspacing=\"4\" border=\"0\">\r\n								<tr>\r\n									<td>\r\n									<input type=\"checkbox\" class=\"op_{{$ProductIDForOptions}}\" value=\"{{$Option.$ProductID}}\" name=\"op_{{$Option.$ProductID}}\"/>\r\n									</td>\r\n									<td>\r\n									<h5><strong>{{$Option.$ProductName}}</strong></h5>\r\n									{{getCollectionByCategory ColumnID=\'1\' Value=$Option.$ProductID CollectionID=$PricesColectionID OrderColumn=\'ID\' var=Prices}}\r\n									{{if $Prices|@count gt 1}}\r\n										<select name=\"op_p_{{$Option.$ProductID}}\" id=\"op_p_{{$Option.$ProductID}}\" class=\"selectbox\">\r\n										{{foreach from=$Prices item=vv key=kk}}\r\n										<option value=\"{{$vv.$PriceID}}\" img=\"{{if $vv.$PriceImage neq \'\'}}{{$vv.$PriceImage}}{{/if}}\">{{$vv.$PriceName}}  ${{$vv.$Price|string_format:\'%.2f\'}}</option>\r\n										{{/foreach}}\r\n										</select>   \r\n									{{else}}\r\n										{{assign var=vv value=$Prices[0]}}\r\n										<font color=\"#FFFFFF\"> ${{$vv.$Price|string_format:\'%.2f\'}}  </font>\r\n										<input type=\"hidden\" name=\"op_p_{{$Option.$ProductID}}\" id=\"op_p_{{$Option.$ProductID}}\" value=\"{{$vv.$PriceID}}\"/>\r\n									{{/if}}	\r\n									<hr noshade size=\"1\" style=\"color:#FFFFFF; background-color:#FFFFFF; \"\r\n									</td>\r\n								</tr>\r\n								</table>\r\n							</div>\r\n							\r\n					\r\n					{{/if}}\r\n			{{/if}}\r\n	{{/foreach}}\r\n{{else}}<img src=\"/images/sep.gif\"/>\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(129,'SHOPPING CART - Products in the Right Column',NULL,2,3,'{{assign var=ColectionID value=130}}\r\n{{assign var=ProductsColectionID value=129}}\r\n{{assign var=PricesColectionID value=131}}\r\n{{assign var=CatProdXref value=132}} \r\n{{getCollectionByCategory ColumnID=\'7\' Value=\'on\' Collection_129_8=\'on\' CollectionID=$ProductsColectionID OrderColumn=\'ID\' var=RightProducts}} \r\n{{if $RightProducts|@count eq 0}} \r\n{{else}} \r\n<script type=\"text/javascript\">\r\nfunction addUpsellToCart(prodid)\r\n{\r\nvar qty = document.getElementById(\'q_\'+prodid).value;\r\nvar pid = document.getElementById(\'p_\'+prodid).options[document.getElementById(\'p_\'+prodid).selectedIndex].value;\r\nwindow.location=\'/addproduct.html?prodid=\'+prodid+\'&quantity=\'+qty+\'&price=\'+pid+\'&page=shopping-cart.html\';\r\nreturn;\r\n}\r\n\r\n</script>	\r\n<div id=\"resources\" style=\"width:auto; \">\r\n			{{assign var=ProdPrefix value=\'Collection_\'}} {{assign var=ProdPrefix value=$ProdPrefix|concat:$ProductsColectionID|concat:\'_\'}} {{assign var=\'ProductID\' value=$ProdPrefix|concat:\'ID\'}} {{assign var=\'ProductName\' value=$ProdPrefix|concat:\'1\'}} {{assign var=\'ShortDesc\' value=$ProdPrefix|concat:\'2\'}} {{assign var=\'SmallImage\' value=$ProdPrefix|concat:\'5\'}} {{assign var=PricePrefix value=\'Collection_\'}} {{assign var=PricePrefix value=$PricePrefix|concat:$PricesColectionID|concat:\'_\'}} {{assign var=\'PriceID\' value=$PricePrefix|concat:\'ID\'}} {{assign var=\'PriceName\' value=$PricePrefix|concat:\'2\'}} {{assign var=\'Price\' value=$PricePrefix|concat:\'3\'}} {{assign var=\'ItemDesc\' value=$PricePrefix|concat:\'4\'}} {{assign var=\'PriceImage\' value=$PricePrefix|concat:\'5\'}} \r\n			<table cellpadding=\"0\" cellspacing=\"2\" border=\"0\" >\r\n			<tr><td><h3 style=\" width:auto; \">You may also consider buying</h3></td></tr>\r\n			{{foreach from=$RightProducts item=v key=k name=plist}}\r\n			<tr valign=\"top\">\r\n			<td >\r\n			\r\n            		<div style=\"padding:2px 2px 2px 2px; margin-bottom:2px; \">\r\n						<center>\r\n						<div><img id=\"image_{{$v.$ProductID}}\" height=\"113\" alt=\"\" src=\"{{$v.$SmallImage}}\" width=\"151\" border=\"0\" /></div>\r\n						<strong>{{$v.$ProductName}}</strong></center>\r\n						<br/>\r\n									{{getCollectionByCategory ColumnID=\'1\' Value=$v.$ProductID CollectionID=$PricesColectionID OrderColumn=\'ID\' var=Prices}}\r\n									{{if $Prices|@count gt 1}}\r\n										<select name=\"p_{{$v.$ProductID}}\" id=\"p_{{$v.$ProductID}}\" class=\"selectbox\">\r\n										{{foreach from=$Prices item=vv key=kk}}\r\n										<option value=\"{{$vv.$PriceID}}\" img=\"{{if $vv.$PriceImage neq \'\'}}{{$vv.$PriceImage}}{{/if}}\">{{$vv.$PriceName}}  ${{$vv.$Price|string_format:\'%.2f\'}}</option>\r\n										{{/foreach}}\r\n										</select>   \r\n										<input size=\"2\" name=\"q_{{$v.$ProductID}}\" id=\"q_{{$v.$ProductID}}\" value=\"1\" />\r\n										 \r\n										<a href=\"javascript: addUpsellToCart({{$v.$ProductID}});\">Add To Cart</a>\r\n									{{else}}\r\n										{{assign var=vv value=$Prices[0]}}\r\n						 {{if $vv.$PriceName neq \'\'}}<p>{{$vv.$PriceName}}</p>{{/if}}\r\n						 ${{$vv.$Price|string_format:\'%.2f\'}}\r\n\r\n						{{if $vv.$PriceImage neq \'\'}} <font class=\"designPick\" onmouseover=\"this.style.cursor=\'hand\'\" style=\"CURSOR: hand\" onclick=\"document.getElementById(\'image_{{$v.$ProductID}}\').src=\'{{$vv.$PriceImage}}\'\">{{$vv.$PriceName}} </font>{{else}} {{$vv.$PriceName}} {{/if}}\r\n						<br/>\r\n						<input size=\"2\" name=\"q_{{$v.$ProductID}}\" id=\"q_{{$v.$ProductID}}\" value=\"1\" /> \r\n						<a onclick=\"javascript: void(0);\" href=\"javascript: window.location=\'/addproduct.html?prodid={{$v.$ProductID}}&quantity=\'+document.getElementById(\'q_{{$v.$ProductID}}\').value+\'&price={{$vv.$PriceID}}&page=shopping-cart.html\'\">Add To Cart</a>\r\n						{{/if}}									\r\n						</div>\r\n            <hr noshade size=\"1\"/>\r\n			</td>\r\n			</tr>\r\n			{{/foreach}} \r\n			\r\n			</table>\r\n</div>\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(130,'SHOPPING CART - Change Options In Product Page',NULL,2,3,'{{getCollectionByCategory CollectionID=170 ColumnID=\'1\' Value=$smarty.get.priceid var=PricesFound OrderColumn=\'ID\'}}\r\n{{if $PricesFound|@count gt 0}}\r\n		{{foreach from=$PricesFound item=v key=k}}\r\n				{{getCollectionByCategory CollectionID=131 ColumnID=\'ID\' Value=$v.Collection_170_2 OrderColumn=\'ID\' var=Option}}\r\n				{{assign var=OptionData value=$Option[0]}}\r\n				{{assign var=OptionProdID value=$OptionData.Collection_131_1}}\r\n				{{getcontent id=132}}		\r\n		{{/foreach}}\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(132,'SHOPPING CART - Change Options In Product Page 2',NULL,2,3,'changeoption({{$OptionProdID}}, {{$v.Collection_170_2}})',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(137,'SHOPPING CART - Order History',NULL,2,3,'<div id=\"contentimage\">\r\n<div id=\"contentpattern\"><img alt=\"\" src=\"/images/sep.gif\" /></div>\r\n<div id=\"contenttext\"> </div>\r\n<div><img alt=\"\" src=\"/images/contentimages/image_20_4_63.jpg\" /></div>\r\n</div>\r\n<div id=\"menu\">{{getcontent id=5}}</div>\r\n<div id=\"content\">\r\n<div id=\"fullcontent\">\r\n<h1>Order History</h1>\r\n<div>\r\n<div id=\"smarty_plugin\">{{getcontent id=87}}</div>\r\n</div>\r\n<br/>\r\n{{getCollectionByCategory CollectionID=133 ColumnID=2 Value=$smarty.session.UserID var=Orders OrderColumn=\'3\' OrderWay=1 aditionalFilter=\' Collection_133_5 = \"on\" \'}}\r\n{{if $Orders|@count eq 0}}\r\n	<p> </p>\r\n	<p> </p>\r\n	<p> </p>\r\n	<p> </p>\r\n	<center><h3>Your Order History is Empty</h3></center>\r\n	<p> </p>\r\n	<p> </p>\r\n	<p> </p>\r\n	<p> </p>\r\n{{else}}\r\n\r\n	<table cellspacing=\"0\" bordercolordark=\"#5294b5\" cellpadding=\"5\" bordercolorlight=\"#000000\" border=\"1\">\r\n	<tr valign=\"top\">\r\n		<td id=\"table_header1\">Order Date</td>\r\n		<td id=\"table_header2\">Order Total</td>\r\n		<td id=\"table_header1\">Order Approved</td>\r\n		<td id=\"table_header2\">Order Shipped</td>\r\n		<td id=\"table_header1\">Details</td>\r\n	</tr>\r\n	{{foreach from=$Orders item=v key=k name=olist}}\r\n	<tr valign=\"top\">\r\n		<td> {{$v.Collection_133_3|date_format:\"%A, %B %e, %Y\"}}</td>\r\n		<td align=\"center\">${{$v.Collection_133_23|string_format:\"%.2f\"}}</td>\r\n		<td align=\"center\">{{if $v.Collection_133_20 eq \'on\'}}Yes{{else}}No{{/if}}</td>\r\n		<td align=\"center\">{{if $v.Collection_133_21 eq \'on\'}}Yes{{else}}No{{/if}}</td>\r\n		<td id=\"detailsbutton{{$v.Collection_133_ID}}\"><a href=\"javascript: displayOrder(\'orderdiv{{$v.Collection_133_ID}}\', {{$v.Collection_133_ID}})\">Order Details</a></td>\r\n	</tr>\r\n	<tr>\r\n		<td colspan=\"5\"><div id=\"orderdiv{{$v.Collection_133_ID}}\"><img src=\"/images/sep.gif\"/></div></td>\r\n	</tr>\r\n	{{/foreach}}\r\n	</table>\r\n	\r\n	\r\n\r\n{{/if}}\r\n\r\n</div>\r\n</div>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(138,'SHOPPING CART - Order History Details',NULL,2,3,'{{if $smarty.session.UserID gt 0}}\r\n	{{getCollectionByCategory CollectionID=133 ColumnID=\'ID\' Value=$smarty.get.id var=Orders OrderColumn=\'3\' OrderWay=1 aditionalFilter=\' Collection_133_5 = \"on\" \'}}\r\n	{{if $Orders|@count gt 0}}\r\n		{{assign var=Order value=$Orders[0]}}\r\n		{{if $Order.Collection_133_2 eq $smarty.session.UserID}}\r\n				{{getCollectionByCategory CollectionID=134 ColumnID=1 Value=$Order.Collection_133_ID var=OrderDetails OrderColumn=\'1\'}}\r\n				{{if $OrderDetails|@count gt 0}}\r\n				<table cellpadding=\"2\" cellspacing=\"2\" border=\"0\">\r\n				<tr>\r\n					<td><strong>Product Name</strong></td>\r\n					<td><strong>Quantity</strong></td>\r\n				</tr>\r\n				{{foreach from=$OrderDetails item=v key=k}}\r\n				<tr valign=\"top\">\r\n					<td>{{$v.Collection_134_7}} <br/>\r\n						{{$v.Collection_134_6}} \r\n					</td>\r\n					<td>{{$v.Collection_134_3}}</td>\r\n				</tr>\r\n				{{/foreach}}\r\n				</table>\r\n				{{else}}\r\n\r\n				{{/if}}\r\n		{{/if}}\r\n	{{/if}}\r\n{{/if}}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(139,'SHOPPING CART - Additional Information',NULL,2,3,'	{{* if we do not have a valid cart we will redirect to shopping-cart.html page *}}\r\n	{{assign var=CartCollection				value=133}}\r\n	{{assign var=CartDetailsCollection		value=134}}\r\n	{{assign var=SessionID   		value=\'\'|sessionid}}\r\n	{{getCollectionByCategory CollectionID=$CartCollection Collection_133_1=$SessionID aditionalFilter=\' (Collection_133_5<>\"on\" or Collection_133_5 IS NULL) \' var=CartData OrderColumn=\'ID\'}}\r\n	{{assign var=CartDataItem value=$CartData[0]}}\r\n	{{assign var=CartID value=$CartDataItem.Collection_133_ID}}\r\n	{{assign var=MethodID value=$CartDataItem.Collection_133_19}}\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetails OrderColumn=\'ID\'}}\r\n	\r\n	{{if $CartDetails|@count eq 0 or $CartData|@count eq 0 or $MethodID lt 1}}\r\n		{{redirect page=\'/shopping-cart.html?m=\'|concat:$MethodID}}	\r\n	{{/if}}\r\n	{{getCollectionByCategory CollectionID=$CartDetailsCollection ColumnID=1 Value=$CartID var=CartDetailsWithCollection OrderColumn=\'ID\' aditionalFilter=\' Collection_\'|concat:$CartDetailsCollection|concat:\'_9 > 0  \' }}\r\n	{{assign var=FormsToDisplay value=0}}\r\n	{{if $CartDetailsWithCollection|@count gt 0}}\r\n			{{foreach from=$CartDetailsWithCollection item=v key=k}}\r\n					{{if $FormsToDisplay eq 0}}\r\n						{{getCollectionByCategory CollectionID=$v.Collection_134_9 ColumnID=1 Value=$v.Collection_134_ID var=CartAdDetails OrderColumn=\'ID\'}}\r\n						{{if $CartAdDetails|@count lt $v.Collection_134_3}}\r\n							{{assign var=ShoppingCartItemID value=$v.Collection_134_ID}}\r\n							{{assign var=FormsToDisplay value=$v.Collection_134_9}}\r\n							{{math equation=\"y - x\" x=$CartAdDetails|@count y=$v.Collection_134_3 assign=times}}\r\n						{{/if}}\r\n					{{/if}}	\r\n			{{/foreach}}\r\n	{{/if}}\r\n	\r\n	{{if $FormsToDisplay eq 0}}\r\n		{{redirect page=\'/checkout/personal-information.html\'}}\r\n	{{else}}\r\n		\r\n<div id=\"contenttop\">\r\n<div id=\"contenttext\">\r\n<h1>Additional Information</h1>\r\n</div>\r\n<div id=\"contentimage\"><img alt=\"\" src=\"/images/contentimage.jpg\" /></div>\r\n</div>\r\n<div id=\"content\">\r\n{{if $CartData|@count gt 0 and $CartDetails|@count gt 0}}\r\n		<div id=\"shopping_cart_details\">\r\n		{{getcontent id=55}}\r\n		</div>\r\n{{/if}}\r\n\r\n{{getCollectionByCategory CollectionID=4 ColumnID=\'ID\' Value=$FormsToDisplay var=CartAdDetailsNames OrderColumn=\'ID\'}}\r\n{{assign var=CartAdDetailsName value=$CartAdDetailsNames[0]}}	\r\n<h1>{{$CartAdDetailsName.Collection_4_1}}</h1>\r\n\r\n<h3>Form needs to be filled {{if $times eq 1}}one time{{else}}{{$times}} times{{/if}}</h3>\r\n\r\n{{ViewCollection mode=\'Add\' CollectionID=$FormsToDisplay}}\r\n		\r\n</div>\r\n	{{/if}}\r\n	\r\n	',1219061037,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(140,'SHOPPING CART - Edit Cart Upsell',NULL,2,3,'{{assign var=SessionID   		value=\'\'|sessionid}} \r\n{{RunQuery q=\"SELECT Collection_129.* FROM Collection_133 INNER JOIN Collection_134 ON Collection_134_1 = Collection_133_ID INNER JOIN Collection_146 ON Collection_146_1 = Collection_134_2 INNER JOIN Collection_129 ON Collection_129_ID = Collection_146_2 WHERE Collection_133_1=\'\"|concat:$SessionID|concat:\"\' AND (Collection_133_28 IS NULL OR Collection_133_28 = \'\') Group By Collection_129_ID \" ResultsVar=Upsell}}\r\n{{if $Upsell|@count gt 0}}\r\n<h3>You may also consider buying:</h3>\r\n<script type=\"text/javascript\">\r\n		function addToCart(prodid)\r\n		{\r\n		var qty = document.getElementById(\'q_\'+prodid).value;\r\n		var pid = document.getElementById(\'p_\'+prodid).options[document.getElementById(\'p_\'+prodid).selectedIndex].value;\r\n		window.location=\'/addproduct.html?prodid=\'+prodid+\'&quantity=\'+qty+\'&price=\'+pid+\'&page=shopping-cart.html\'\r\n		}\r\n		\r\n		function makeChanges(obj , prodid)\r\n		{\r\n			var img = document.getElementById(\'image_\'+ prodid);\r\n			\r\n			if (obj.options[obj.selectedIndex].img != \'\')\r\n			{\r\n				img.src = obj.options[obj.selectedIndex].img;\r\n			}\r\n		}\r\n		</script>\r\n			{{assign var=ColectionID value=130}} \r\n			{{assign var=ProductsColectionID value=129}} \r\n			{{assign var=PricesColectionID value=131}} \r\n			{{assign var=CatProdXref value=132}}  \r\n			\r\n			{{assign var=Product value=$Products[0]}}\r\n			{{assign var=ProdPrefix value=\'Collection_\'}} \r\n			{{assign var=ProdPrefix value=$ProdPrefix|concat:$ProductsColectionID|concat:\'_\'}} \r\n			{{assign var=\'ProductID\' value=$ProdPrefix|concat:\'ID\'}} \r\n			{{assign var=\'ProductName\' value=$ProdPrefix|concat:\'1\'}} \r\n			{{assign var=\'ShortDesc\' value=$ProdPrefix|concat:\'2\'}} \r\n			{{assign var=\'LongDesc\' value=$ProdPrefix|concat:\'3\'}} \r\n			{{assign var=\'SmallImage\' value=$ProdPrefix|concat:\'5\'}} \r\n			{{assign var=\'BigImage\' value=$ProdPrefix|concat:\'4\'}} \r\n			{{assign var=PricePrefix value=\'Collection_\'}} \r\n			{{assign var=PricePrefix value=$PricePrefix|concat:$PricesColectionID|concat:\'_\'}} \r\n			{{assign var=\'PriceID\' value=$PricePrefix|concat:\'ID\'}} \r\n			{{assign var=\'PriceName\' value=$PricePrefix|concat:\'2\'}} \r\n			{{assign var=\'Price\' value=$PricePrefix|concat:\'3\'}} \r\n			{{assign var=\'ItemDesc\' value=$PricePrefix|concat:\'4\'}} \r\n			{{assign var=\'PriceImage\' value=$PricePrefix|concat:\'5\'}} \r\n			\r\n<div id=\"upsell\">		\r\n		{{foreach from=$Upsell item=v key=k}}\r\n					\r\n					<table cellpadding=\"2\" cellspacing=\"2\" border=\"0\" width=\"100%\">\r\n					<tr valign=\"top\">\r\n					<td width=\"100\">\r\n						<div><img id=\"image_{{$v.$ProductID}}\" alt=\"\" src=\"{{if $v.$BigImage eq \'\'}}{{if $v.$SmallImage neq \'\'}}{{$v.$SmallImage}}{{else}}/images/contentimages/image_20_4_54.gif{{/if}}{{else}}{{$v.$BigImage}}{{/if}}\" border=\"0\" /></div>\r\n					</td>\r\n					<td>\r\n						<h4>{{$v.$ProductName}}</h4>\r\n						{{getCollectionByCategory ColumnID=\'1\' Value=$v.$ProductID CollectionID=$PricesColectionID OrderColumn=\'ID\' var=Prices}}\r\n						{{if $Prices|@count gt 1}}\r\n							<select name=\"p_{{$v.$ProductID}}\" class=\"selectbox\" onChange=\"makeChanges(this , {{$v.$ProductID}})\">\r\n							{{foreach from=$Prices item=vv key=kk}}\r\n							<option value=\"{{$vv.$PriceID}}\" img=\"{{if $vv.$PriceImage neq \'\'}}{{$vv.$PriceImage}}{{/if}}\">{{$vv.$PriceName}} ${{$vv.$Price|string_format:\'%.2f\'}}</option>\r\n							{{/foreach}}\r\n							</select>   <img src=\"/images/sep.gif\" height=\"10\"/>\r\n							<input size=\"2\" name=\"q_{{$v.$ProductID}}\" value=\"1\" />\r\n							  <img src=\"/images/sep.gif\" height=\"10\"/>\r\n							<a href=\"javascript: addToCart({{$v.$ProductID}});\">Add To Cart</a>\r\n						{{else}}\r\n							{{assign var=vv value=$Prices[0]}}\r\n									\r\n									{{if $vv.$PriceName neq \'\'}}{{$vv.$PriceName}} <br/>	{{/if}}\r\n									{{if $vv.$ItemDesc neq \'\'}}ITEM #{{$vv.$ItemDesc}} <br/>{{/if}}	\r\n									PRICE ${{$vv.$Price|string_format:\'%.2f\'}} <br/>\r\n									\r\n									{{if $vv.$PriceImage neq \'\'}} <font class=\"designPick\" onmouseover=\"this.style.cursor=\'hand\'\" style=\"CURSOR: hand\" onclick=\"document.getElementById(\'image_{{$v.$ProductID}}\').src=\'{{$vv.$PriceImage}}\'\">{{$vv.$PriceName}} </font>{{else}} {{/if}}\r\n									<img src=\"/images/sep.gif\" height=\"10\"/>\r\n									 <input size=\"2\" name=\"q_{{$v.$ProductID}}_{{$vv.$PriceID}}\" id=\"q_{{$v.$ProductID}}_{{$vv.$PriceID}}\" value=\"1\" />\r\n									<img src=\"/images/sep.gif\" height=\"10\"/>\r\n									<a onclick=\"javascript: void(0);\" href=\"javascript: window.location=\'/addproduct.html?prodid={{$v.$ProductID}}&quantity=\'+document.getElementById(\'q_{{$v.$ProductID}}_{{$vv.$PriceID}}\').value+\'&price={{$vv.$PriceID}}&page=shopping-cart.html\'\">Add To Cart</a>\r\n									\r\n						{{/if}}									\r\n		\r\n					</td>\r\n					</tr>\r\n					{{if $v.$ShortDesc neq \'\'}}\r\n					<tr><td colspan=\"2\">\r\n					<p>{{$v.$ShortDesc|nl2br}}</p>\r\n					</td></tr>	\r\n					{{/if}}\r\n					</table>\r\n					<div class=\"line\"><img src=\"/images/sep.gif\"/></div>\r\n		{{/foreach}}\r\n</div>\r\n{{else}}\r\n<img src=\"/images/sep.gif\"/>\r\n{{/if}}',1219148258,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(141,'SHOPPING CART - Edit Cart - Text',NULL,2,3,'Please make sure you have everything in your cart as you want it.  Once checkout is clicked your shopping cart is closed and cannot be edited. ',1219150706,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(142,'EMAIL - Automatic New User',NULL,10,3,'{{assign var=BillingInfo value=$args}}\r\n\r\n<h3>Your User Account Information</h3>\r\n\r\n<table cellpadding=\"4\" cellspacing=\"4\" border=\"0\">\r\n<tr>\r\n	<td colspan=\"2\" bgcolor=\"#509821\"><strong><font color=\"#025E8D\">Login Information</font></strong></td>\r\n</tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Username:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_12}}</td>\r\n</tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Password:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_12|password:\'oxiem\'}}</td>\r\n</tr>\r\n<tr>\r\n	<td colspan=\"2\" bgcolor=\"#509821\"><strong><font color=\"#025E8D\">Personal information</font></strong></td>\r\n</tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Company Name:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_4}}</td>\r\n</tr>\r\n\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Contact First Name:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_2}}</td>\r\n</tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Contact Last Name:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_3}}</td>\r\n</tr>\r\n\r\n<tr><td colspan=\"2\" bgcolor=\"#509821\"><strong><font color=\"#025E8D\">Contact Information</font></strong></td></tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Email:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_12}}</td>\r\n</tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Phone:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_10}}</td>\r\n</tr>\r\n\r\n<tr valign=\"top\">\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Address:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_5}} {{if $BillingInfo.Collection_138_6 neq \'\'}}<br/> {{$BillingInfo.Collection_138_6}}{{/if}}</td>\r\n</tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>City:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_7}}</td>\r\n</tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>State:</strong></font></td>\r\n	<td>{{createOptions CollectionID=10 Column=1 var=states}} {{assign var=stateid value=$BillingInfo.Collection_138_8}} {{$states.$stateid}}</td>\r\n</tr>\r\n<tr>\r\n	<td bgcolor=\"#509821\"><font color=\"#FFFFFF\"><strong>Zip:</strong></font></td>\r\n	<td>{{$BillingInfo.Collection_138_9}}</td>\r\n</tr>\r\n</table>\r\n',1219074626,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(143,'EMAIL - Receipt Sent to User',NULL,10,3,'{{assign var=CartID value=$args}}\r\n{{assign var=CartCollection	value=133}}\r\n{{assign var=CartDetailsCollection value=134}}\r\n\r\n{{getCollectionByCategory CollectionID=138 ColumnID=1 Value=$CartID var=BillingInfoData OrderColumn=\'ID\'}}\r\n{{assign var=BillingInfo value=$BillingInfoData[0]}}\r\n{{getCollectionByCategory CollectionID=139 ColumnID=1 Value=$CartID var=ShippingInfoData OrderColumn=\'ID\'}}\r\n{{assign var=ShippingInfo value=$ShippingInfoData[0]}}\r\n\r\n{{assign var=CollectionBinfo value=138}}\r\n{{assign var=Prefix value=\'Collection_\'}}\r\n{{assign var=Prefix value=$Prefix|concat:$CollectionBinfo}}\r\n{{assign var=Prefix value=$Prefix|concat:\'_\'}}\r\n\r\n{{assign var=FirstName 	value=$Prefix|concat:\'2\'}}\r\n{{assign var=LastName 	value=$Prefix|concat:\'3\'}}\r\n{{assign var=Company 	value=$Prefix|concat:\'4\'}}\r\n{{assign var=Address 	value=$Prefix|concat:\'5\'}}\r\n{{assign var=Address2 	value=$Prefix|concat:\'6\'}}\r\n{{assign var=City 		value=$Prefix|concat:\'7\'}}\r\n{{assign var=State 		value=$Prefix|concat:\'8\'}}\r\n{{assign var=Zip 		value=$Prefix|concat:\'9\'}}\r\n{{assign var=Phone 		value=$Prefix|concat:\'10\'}}\r\n{{assign var=Fax 		value=$Prefix|concat:\'11\'}}\r\n{{assign var=Email 		value=$Prefix|concat:\'12\'}}\r\n\r\n<table cellpadding=\"4\" cellspacing=\"4\" border=\"0\" style=\"font-size:8pt; \">\r\n<tr><td height=\"10\"> </td></tr>\r\n<tr valign=\"top\">\r\n	<td>\r\n			<table cellpadding=\"4\" cellspacing=\"4\" border=\"0\">\r\n			<tr><td colspan=\"2\"><font size=\"+1\"><strong>Billing Information</strong></font></td></tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>FirstName</strong></font></td>\r\n				<td>{{$BillingInfo.$FirstName}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>LastName</strong></font></td>\r\n				<td>{{$BillingInfo.$LastName}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Company</strong></font></td>\r\n				<td>{{$BillingInfo.$Company}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Address</strong></font></td>\r\n				<td>{{$BillingInfo.$Address}} {{$BillingInfo.$Address2}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>State</strong></font></td>\r\n				<td>{{assign var=stateid value=$BillingInfo.$State}}\r\n		{{createOptions CollectionID=10 Column=1 var=states}} \r\n		{{$states.$stateid}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Zip</strong></font></td>\r\n				<td>{{$BillingInfo.$Zip}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Phone</strong></font></td>\r\n				<td>{{$BillingInfo.$Phone}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Fax</strong></font></td>\r\n				<td>{{$BillingInfo.$Fax}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Email</strong></font></td>\r\n				<td>{{$BillingInfo.$Email}}</td>\r\n			</tr>\r\n			</table>\r\n	\r\n	</td>\r\n	<td>\r\n			{{assign var=CollectionBinfo value=139}}\r\n			{{assign var=Prefix value=\'Collection_\'}}\r\n			{{assign var=Prefix value=$Prefix|concat:$CollectionBinfo}}\r\n			{{assign var=Prefix value=$Prefix|concat:\'_\'}}\r\n			\r\n			{{assign var=FirstName 	value=$Prefix|concat:\'2\'}}\r\n			{{assign var=LastName 	value=$Prefix|concat:\'3\'}}\r\n			\r\n			{{assign var=Company 	value=$Prefix|concat:\'9\'}}\r\n			{{assign var=Address 	value=$Prefix|concat:\'4\'}}\r\n			{{assign var=Address2 	value=$Prefix|concat:\'5\'}}\r\n			{{assign var=City 		value=$Prefix|concat:\'6\'}}\r\n			{{assign var=State 		value=$Prefix|concat:\'7\'}}\r\n			{{assign var=Zip 		value=$Prefix|concat:\'10\'}}\r\n			{{assign var=Phone 		value=$Prefix|concat:\'8\'}}\r\n			{{assign var=Email 		value=$Prefix|concat:\'11\'}}\r\n\r\n			\r\n			<table cellpadding=\"4\" cellspacing=\"4\" border=\"0\">\r\n			<tr><td colspan=\"2\"><font size=\"+1\"><strong>Delivery Contact Information</strong></font></td></tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>FirstName</strong></font></td>\r\n				<td>{{$ShippingInfo.$FirstName}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>LastName</strong></font></td>\r\n				<td>{{$ShippingInfo.$LastName}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Company</strong></font></td>\r\n				<td>{{$ShippingInfo.$Company}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Address</strong></font></td>\r\n				<td>{{$ShippingInfo.$Address}} {{$ShippingInfo.$Address2}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>State</strong></font></td>\r\n				<td>{{assign var=stateid value=$ShippingInfo.$State}}\r\n		{{$states.$stateid}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Zip</strong></font></td>\r\n				<td>{{$ShippingInfo.$Zip}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Phone</strong></font></td>\r\n				<td>{{$ShippingInfo.$Phone}}</td>\r\n			</tr>\r\n			<tr>\r\n				<td bgcolor=\"#98BED3\" width=\"150\"><font color=\"#FFFFFF\"><strong>Email</strong></font></td>\r\n				<td>{{$ShippingInfo.$Email}}</td>\r\n			</tr>\r\n			</table>\r\n	\r\n	</td>\r\n\r\n</tr>\r\n</table>\r\n<br/>\r\n<font size=\"+1\"><strong>Purchased Products</strong></font><br/>\r\n\r\n{{getcontent id=45}}\r\n',1219074769,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(523,'SYSTEM - Tree View - Details',NULL,2,3,'{{if $TreeData|@count gt 0}}\r\n<ul {{if $Level eq 0}}class=\"treeview\" id=\"treeview{{$CID}}\"{{/if}}>\r\n{{foreach from=$TreeData item=v key=k name=n}}{{assign var=Level value=$Level|add:\'1\'}}\r\n	<li id=\"liitem{{$CID}}{{$v.CategoryID}}\"><a id=\"item{{$CID}}{{$v.CategoryID}}\" href=\"javascript: void(0);\" itemid=\"{{$v.CategoryID}}\" {{if $smarty.get.eid eq $v.CategoryID}}notselectable=\"1\"{{else}}notselectable=\"0\"{{/if}}>{{$v.CategoryName}}</a>{{getTreeChildNumberAdmin var=TreeData CategoryID=$v.CategoryID CID=$CID SCID=$SCID OrderCol=$OrderCol OrderWay=OrderWay DisplayColumn=$DisplayColumn Level=$Level page=$TreePageTemplate}}</li>\r\n{{/foreach}}{{assign var=Level value=$Level|add:\'-1\'}}\r\n</ul>\r\n{{else}}{{assign var=Level value=$Level|add:\'-1\'}}{{/if}}',1249809359,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(524,'EMAIL - Approval Email',NULL,10,3,'{{getCollectionByCategory OrderColumn=1 CollectionID=99 ColumnID=\'ID\' Value=$args.settingid var=TmpVars}}\r\n{{assign var=Tmp value=$TmpVars[0]}}\r\n\r\n{{getCollectionByCategory OrderColumn=1 CollectionID=100 ColumnID=\'ID\' Value=$args.changeid var=TmpVars}}\r\n{{assign var=ApproveData value=$TmpVars[0]}}\r\n\r\nGreetings {{$Tmp.Collection_99_10}},<br/>\r\n\r\n{{$Tmp.Collection_99_8}}<br/>\r\n<br/>\r\n\r\nThe change for this collection row was made {{$ApproveData.Collection_100_6|date_format:\'%m/%d/%Y %I:%M%p\'}}<br/>\r\n\r\n{{if $ApproveData.Collection_100_2 neq 0}}\r\nhttp://{{$smarty.server.HTTP_HOST}}/{{$smarty.const.ADMIN_APP_DIR}}/admin.php?module_id=1&action=update&id={{$ApproveData.Collection_100_1}}&eid={{$ApproveData.Collection_100_2}}\r\n{{else}}\r\nhttp://{{$smarty.server.HTTP_HOST}}/{{$smarty.const.ADMIN_APP_DIR}}/admin.php?module_id=1&action=update&id={{$ApproveData.Collection_100_1}}&eid={{$ApproveData.Collection_100_3}}\r\n{{/if}}\r\n<br/>\r\nThank you',1258629131,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(651,'SYSTEM - Template',NULL,3,1,'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n	<head xmlns=\"\">\r\n		<title>{{$page.Collection_17_2}}</title>\r\n	</head>\r\n	<body xmlns=\"\">\r\n		{{$content}}</body>\r\n</html>\r\n',1310047577,'<meta content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\" />\r\n<meta content=\"{{$page.Collection_17_7}}\" name=\"keywords\" />\r\n<meta content=\"{{$page.Collection_17_8}}\" name=\"description\" />\r\n<meta content=\"index,follow\" name=\"robots\" />\r\n<link rel=\"icon\" type=\"image/x-icon\" href=\"/favicon.ico\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/content.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/print.css\" media=\"print\" />\r\n<link type=\"text/css\" href=\"/style/ui/jquery.ui.css\" rel=\"stylesheet\" />\r\n<script type=\"text/javascript\" src=\"/js/jquery.js\"></script>\r\n<script type=\"text/javascript\" src=\"/js/jquery.ui.js\"></script>\r\n<script type=\"text/javascript\" src=\"/js/swfobject.js\"></script>\r\n {{$FrontEndJavaScriptJQueryIncludeCode}} {{$JavaScriptJQueryIncludeCode}}','<script type=\"text/javascript\">$(document).ready(function(){ {{$FrontEndJavaScriptJQueryCode}} {{$JavaScriptJQueryCode}} });</script>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(663,'GALLERY - JQuery Gallery',NULL,2,3,'{{RunQuery ResultsVar=galleries q=\"SELECT Collection_80.* , Collection_81.* FROM Collection_81 INNER JOIN Collection_80 ON Collection_80_ID = Collection_81_5 WHERE Collection_80_1 IS NOT NULL AND Collection_80_4 IS NOT NULL AND Collection_80_3 = \'on\' Group By Collection_80_ID Order By Collection_80_2 , Collection_81_6 , Collection_81_1 \"}}\r\n<div id=\"photo-module\">{{assign var=tmp value=\"&qu\"|concat:\"ot;\"}}\r\n{{if $galleries|@count gt 0}}\r\n{{assign var=morepages value=0}}\r\n<div id=\"thumbs\">\r\n	<div class=\"thumb-section\">\r\n	{{foreach from=$galleries item=v kye=k name=n}}\r\n		{{if $smarty.foreach.n.index gt 0 and $smarty.foreach.n.index % 9 eq 0}}{{assign var=morepages value=1}}</div><div class=\"thumb-section\">{{/if}}\r\n		<a href=\"{{$v.Collection_81_2}}\" class=\"thumb\" id=\"gallery-{{$v.Collection_80_ID}}\">\r\n          <img src=\"{{$v.Collection_80_4}}\" alt=\"{{$v.Collection_80_1|replace:\'\"\':$tmp}}\">\r\n          <div class=\"thumb-text\">\r\n            {{$v.Collection_80_1|replace:\'\"\':$tmp}}\r\n          </div><!-- div.thumb-text -->\r\n        </a><!-- div.thumb -->\r\n	{{/foreach}}\r\n	<div class=\"clear\"></div>\r\n	</div>\r\n</div>\r\n{{if $morepages eq 1}}\r\n<div id=\"thumbs-nav\">\r\n      <ul>\r\n      </ul>\r\n</div><!-- div#photo-module-nav -->	\r\n{{/if}}\r\n{{/if}}\r\n<div class=\"clear\">&nb{{**}}sp;</div>\r\n</div>\r\n<div class=\"clear\"></div>',1318429416,'<script src=\"/js/gallery/jquery.cycle.all.js\"></script>\r\n<script src=\"/js/gallery/jquery.prettyPhoto.js\"></script>\r\n<script src=\"/js/gallery/jquery.oxbox.js\"></script>','{{foreach from=$galleries item=v kye=k name=n}}\r\n	\r\n	{{getCollectionByCategory CollectionID=81 ColumnID=5 Value=$v.Collection_80_ID OrderColumn=6 var=Gphotos}}\r\n	$(\'#gallery-{{$v.Collection_80_ID}}\').click(function(){\r\n		\r\n		{{assign var=gimg value=\'\'}}\r\n		{{assign var=galbum value=\'\'}}\r\n		{{assign var=gtitles value=\'\'}}\r\n		{{assign var=gdesc value=\'\'}}\r\n		\r\n		{{assign var=quottmp value=\"&ac\"|concat:\"ute;\"}}\r\n		\r\n		{{foreach from=$Gphotos item=vv key=kk name=nn}}\r\n				{{if $smarty.foreach.nn.index gt 0}}\r\n						{{assign var=gimg value=$gimg|concat:\',\'}}\r\n						{{assign var=galbum value=$galbum|concat:\',\'}}\r\n						{{assign var=gtitles value=$gtitles|concat:\',\'}}\r\n						{{assign var=gdesc value=$gdesc|concat:\',\'}}\r\n				{{/if}}\r\n				\r\n				{{assign var=theValue value=$vv.Collection_81_2|replace:\"\'\":$quottmp}}{{assign var=gimg value=$gimg|concat:\"\'\"|concat:$theValue|concat:\"\'\"}}\r\n				{{assign var=theValue value=$v.Collection_80_1|replace:\"\'\":$quottmp}}{{assign var=galbum value=$galbum|concat:\"\'\"|concat:$theValue|concat:\"\'\"}}\r\n				{{assign var=theValue value=$vv.Collection_81_1|replace:\"\'\":$quottmp}}{{assign var=gtitles value=$gtitles|concat:\"\'\"|concat:$theValue|concat:\"\'\"}}\r\n				{{assign var=theValue value=$vv.Collection_81_4|replace:\"\'\":$quottmp}}{{assign var=gdesc value=$gdesc|concat:\"\'\"|concat:$theValue|concat:\"\'\"}}\r\n		\r\n		{{/foreach}}\r\n	\r\n        gallery_{{$v.Collection_80_ID}}_images = [{{$gimg}}]\r\n        gallery_{{$v.Collection_80_ID}}_album = [{{$galbum}}];\r\n        gallery_{{$v.Collection_80_ID}}_titles = [{{$gtitles}}];\r\n        gallery_{{$v.Collection_80_ID}}_desc = [{{$gdesc}}];\r\n        $.prettyPhoto.open(gallery_{{$v.Collection_80_ID}}_images,gallery_{{$v.Collection_80_ID}}_album,gallery_{{$v.Collection_80_ID}}_titles,gallery_{{$v.Collection_80_ID}}_desc);\r\n        return false;\r\n      });\r\n{{/foreach}}','<link rel=\"stylesheet\" href=\"/style/gallery/ox-box.css\" media=\"screen\">\r\n<link rel=\"stylesheet\" href=\"/style/gallery/prettyPhoto.css\" media=\"screen\">',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(668,'roi-calculator',NULL,1,1,'<div id=\"leftside\">\n	<div id=\"smarty_plugin\">\n		{{getcontent id=12}}</div>\n</div>\n<div id=\"content\">\n	<h1>Oxiem CMS Lander Page.</h1>\n\n	<h2>Heading 2</h2>\n\n	<p>\n		Integer aliquet tortor sit amet metus semper ornare. Nulla facilisi. Integer vitae magna erat. Donec molestie nibh sit avitae tincidunt velit commodo. Cras tincidunt lectus metus, ac pulvinar risus. Nunc ornare malesuada arcu nec mole Maecenas nec ultricie snec gravida placerat, quam est bibendum ante, vel dignissim sapien ante in metus. Maecenas nec ultricies erultricies er uada arcu nec molestie. Ut porttitor, metus nec gravida placerat, quam est bibendum ante, vel dignissim sapien antein metus. Maecenas nec ultricies eros. Integer aliquet tortor sit amet metus semper ornare. Nulla facilisi. Integer vitae magna erat. Donec molestie nibh sit amet ante dapibus vitae tinciduntultricies erultricies erultricies erultricies er</p>\n	<h4>\n		Heading 4</h4>\n	<p>\n		<span>Unordered list.</span></p>\n	<ul>\n	<li>In felis nulla, ultricies id sollicitudin in, eleifend id lorem.</li>\n	<li>Ut eleifend lacus non augue venenatis varius.</li>\n	<li>Donec nec eros eget felis ornare varius commodo nec purus.</li>\n	<li>Morbi in orci erat.</li>\n	<li>Fusce tincidunt neque orci, congue fermentum enim.</li>\n	<li>One more element\n	<ul>\n		<li>Sub element</li>\n	</ul>\n	</li>\n	<li>Another</li>\n</ul>\n\n\n\n	<p>\n		<span>Ordered list.</span></p>\n	<ol>\n		<li>\n			In felis nulla, ultricies id sollicitudin in, eleifend id lorem.</li>\n		<li>\n			Ut eleifend lacus non augue venenatis varius.</li>\n		<li>\n			Donec nec eros eget felis ornare varius commodo nec purus.</li>\n		<li>\n			Morbi in orci erat.</li>\n		<li>\n			Fusce tincidunt neque orci, congue fermentum enim.</li>\n	</ol>\n	<p>\n		<span>Visit our website at <a href=\"#\">http://www.oxiem.com.</a></span></p>\n</div>\n<div id=\"rightside\">\n	<div id=\"smarty_plugin\">\n		{{getcontent id=248}}</div>\n	<div id=\"smarty_plugin\">\n		{{getcontent id=269}}</div>\n</div>\n',1327082931,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(669,'Homepage',NULL,1,1,'<div id=\"leftside\">\n<div id=\"smarty_plugin\">{{getcontent id=12}}</div>\n</div>\n<div id=\"contentalt\">\n<h1>Oxiem CMS1</h1>\n<h3>Heading 33</h3>\n<p>Integer<img alt=\"\" src=\"/content/images/photo81236.jpg\" style=\"margin-left: 8px; margin-right: 8px; margin-top: 8px; margin-bottom: 8px; float: right; width: 200px; height: 125px; \"> aliquet tortor sit amet metus semper ornare. Nulla facilisi. Integer vitae magna erat. Donec molestie nibh sit avitae tincidunt velit commodo. Cras tincidunt lectus metus, ac pulvinar risus. Nunc ornare malesuada arcu nec mole Maecenas nec ultricie snec gravida placerat, quam est bibendum ante, vel dignissim sapien ante in metus. Maecenas nec ultricies erultricies er uada arcu nec molestie. Ut porttitor, metus nec gravida placerat, quam est bibendum ante, vel dignissim sapien antein metus. Maecenas nec ultricies eros. Integer aliquet tortor sit amet metus semper ornare. Nulla facilisi. Integer vitae magna erat. Donec molestie nibh sit amet ante dapibus vitae tinciduntultricies erultricies erultricies erultricies er</p>\n<h4>Heading 4</h4>\n<p><span>Unordered list.</span></p>\n<ul>\n	<li>In felis nulla, ultricies id sollicitudin in, eleifend id lorem.</li>\n	<li>Ut eleifend lacus non augue venenatis varius.</li>\n	<li>Donec nec eros eget felis ornare varius commodo nec purus.</li>\n	<li>Morbi in orci erat.</li>\n	<li>Fusce tincidunt neque orci, congue fermentum enim.</li>\n</ul>\n<p><span>Ordered list.</span></p>\n<ol>\n	<li>In felis nulla, ultricies id sollicitudin in, eleifend id lorem.</li>\n	<li>Ut eleifend lacus non augue venenatis varius.</li>\n	<li>Donec nec eros eget felis ornare varius commodo nec purus.</li>\n	<li>Morbi in orci erat.</li>\n	<li>Fusce tincidunt neque orci, congue fermentum enim.</li>\n</ol>\n<p><span>Visit our website at <a href=\"#\">http://www.oxiem.com.</a></span></p>\n<br>\n<div>\n<div id=\"smarty_plugin\">{{getcontent id=\'653\' }}</div>\n</div>\n<p>&nbsp;</p>\n</div>\n<p>&nbsp;</p>\n',1332790013,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(678,'SYSTEM - Tree View - Migration - Details',NULL,2,3,'{{if $TreeData|@count gt 0}}\r\n<ul {{if $Level eq 0}}class=\"treeview\" id=\"treeview{{$CID}}\"{{/if}}>\r\n{{foreach from=$TreeData item=v key=k name=n}}{{assign var=Level value=$Level|add:\'1\'}}\r\n	{{assign var=className value=\'black\'}}\r\n	{{if $v.Collection_400_3 eq 2}}{{assign var=className value=\'green\'}}{{/if}}\r\n	{{if $v.Collection_400_3 eq 3}}{{assign var=className value=\'red\'}}{{/if}}\r\n	<li id=\"liitem{{$CID}}{{$v.CategoryID}}\">\r\n		<a id=\"item{{$CID}}{{$v.CategoryID}}\" href=\"/{{$smarty.const.ADMIN_APP_DIR}}/admin.php?module_id=1&action=update&id=400&gs=&st=&Search=Apply+Filter&FilterSave=0&FilterName=&&eid={{$v.CategoryID}}\" target=\"_blank\">\r\n			<span class=\"{{$className}}\">{{$v.CategoryName}}</span>\r\n		</a>\r\n		{{getTreeChildNumberAdmin var=TreeData CategoryID=$v.CategoryID CID=$CID SCID=$SCID OrderCol=$OrderCol OrderWay=OrderWay DisplayColumn=$DisplayColumn Level=$Level page=$TreePageTemplate}}\r\n	</li>\r\n{{/foreach}}{{assign var=Level value=$Level|add:\'-1\'}}\r\n</ul>\r\n{{else}}{{assign var=Level value=$Level|add:\'-1\'}}{{/if}}',1351242249,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(683,'Menu - Search Form',NULL,6,3,'<form action=\"/search.html\" id=\"searchform\" class=\"clearfix\">\r\n                        <input type=\"text\" name=\"q\" title=\"Search\" id=\"searchwords\" value=\"Search\">\r\n                        <input type=\"submit\" class=\"button\" id=\"searchbutton\" value=\"Search >\">\r\n                    </form>',1386145053,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(684,'Menu - Quick Links',NULL,6,1,'<h3>QUICK LINKS</h3>\r\n                                    <ul>\r\n                                        <li><a href=\"\">Contact Us</a></li>\r\n                                        <li><a href=\"\">About Us</a></li>\r\n                                        <li><a href=\"\">Careers</a></li>\r\n                                        <li><a href=\"\">Testimonials</a></li>\r\n                                        <li><a href=\"\">Request a Quote</a></li>\r\n                                        <li><a href=\"\">Support</a></li>\r\n                                        <li><a href=\"\">Contact Support</a></li>\r\n                                    </ul>',1386145244,NULL,NULL,NULL,'','','',NULL,NULL,'',NULL,''),(688,'Lander Template',NULL,3,1,'<!DOCTYPE html>\r\n<!--[if lt IE 7]>       <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9 lt-ie8 lt-ie7\"> <![endif]-->\r\n<!--[if IE 7]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9 lt-ie8\"> <![endif]-->\r\n<!--[if IE 8]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9\"> <![endif]-->\r\n<!--[if IE 9]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10\"> <![endif]-->\r\n<!--[if IE 10]>         <html class=\"no-js lt-ie12 lt-ie11\"> <![endif]-->\r\n<!--[if IE 11]>         <html class=\"no-js lt-ie12\"> <![endif]-->\r\n<!--[if gt IE 11]><!--> <html class=\"no-js\"> <!--<![endif]-->\r\n    <head>\r\n        <meta charset=\"utf-8\">\r\n        <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\r\n        <title>{{$page.Collection_17_2}}</title>\r\n        <meta content=\"{{$page.Collection_17_7}}\" name=\"keywords\" />\r\n        <meta content=\"{{$page.Collection_17_8}}\" name=\"description\" />\r\n\r\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1.0\">\r\n\r\n        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->\r\n        <link rel=\"shortcut icon\" href=\"/favicon.ico\">\r\n        \r\n                \r\n        <link rel=\"stylesheet\" href=\"/style/normalize.css\">\r\n        \r\n        <link rel=\"stylesheet\" href=\"/animate.css\">\r\n        <link rel=\"stylesheet\" href=\"/content.css\">\r\n        <link rel=\"stylesheet\" media=\"print\" href=\"/print.css\">\r\n        \r\n        <link rel=\"stylesheet\" href=\"/style/rotator.css\">\r\n\r\n         <!--[if lt IE 9]>\r\n            <link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"/ie8.css\"/>\r\n        <![endif]-->\r\n\r\n        <!-- Important Owl stylesheet -->\r\n        <link rel=\"stylesheet\" href=\"/style/owl.carousel.css\">\r\n \r\n        <!-- Default Theme -->\r\n        <link rel=\"stylesheet\" href=\"/style/owl.theme.css\">  \r\n        \r\n        <!-- Form Theme -->\r\n        <link rel=\"stylesheet\" href=\"/style/futurico.css\">   \r\n        \r\n        <script type=\"text/javascript\" src=\"//use.typekit.net/snl8jlg.js\"></script>\r\n        <script type=\"text/javascript\">try{Typekit.load();}catch(e){}</script>\r\n\r\n        <script src=\"/js/vendor/modernizr-2.6.2.min.js\"></script>\r\n        <script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js\"></script>\r\n        <script>window.jQuery || document.write(\'<script src=\"/js/vendor/jquery-1.9.1.min.js\"><\\/script>\')</script>\r\n        <script src=\"/js/plugins.js\"></script>\r\n        <script src=\"/js/main.js\"></script>\r\n\r\n        {{if $smarty.const.GOOGLE_UA_CODE neq \'\'}}\r\n        <!-- Google Analytics: change UA-XXXXX-X to be your site\'s ID. -->\r\n        <script>\r\n            var _gaq=[[\'_setAccount\',\'{{$smarty.const.GOOGLE_UA_CODE}}\'],[\'_trackPageview\']];\r\n            (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\r\n            g.src=\'//www.google-analytics.com/ga.js\';\r\n            s.parentNode.insertBefore(g,s)}(document,\'script\'));\r\n        </script>\r\n        {{/if}}\r\n    </head>\r\n    <body>\r\n        \r\n         <header>\r\n            <div class=\"container clearfix\">    \r\n                {{getcontent id=666 cache=1}}\r\n\r\n                <div id=\"htop\" class=\"clearfix\">\r\n                <img src=\"images/desktop/logo.png\" class=\"print\"/>\r\n                <a id=\"logo\" href=\"/\">{{$smarty.const.LOGO_TEXT}}</a>\r\n                <a id=\"toggleMenu\" href=\"#\">Menu</a> \r\n                <a id=\"phone\" href=\"tel:{{$smarty.const.PHONE_NUMBER}}\">{{$smarty.const.PHONE_NUMBER}}</a>\r\n                </div>\r\n\r\n                <nav class=\"clearfix\">\r\n                    {{getcontent id=683 cache=1}}\r\n                    {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-top.php\'}}\r\n                    <div id=\"requestQuoteButton\"><a class=\"button\" href=\"#requestQuote\">Request Info</a></div>\r\n                    <div id=\"mobile-flyouts\" class=\"clearfix\"></div>\r\n                    <div id=\"mobile-request\" class=\"requesthidden\"></div>\r\n                </nav>\r\n            </div>\r\n         </header>\r\n        \r\n        \r\n        <div class=\"container clearfix\">\r\n\r\n            <div id=\"left\">\r\n                {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-left.php\'}}\r\n            </div>\r\n            \r\n            <div id=\"content\">\r\n\r\n                {{if $contentdata.Collection_13_11 neq \'\'}}\r\n                    <div class=\"contentimage\" id=\"header{{$page.Collection_17_6}}\"> </div>\r\n                {{/if}}\r\n                <div id=\"breadcrumb\">\r\n                       <p>{{$breadcrumb}}</p>\r\n                </div>\r\n            \r\n                <article>\r\n                    {{if $contentdata.Collection_13_14 neq \'\'}}<h1>{{$contentdata.Collection_13_14}}</h1>{{/if}}\r\n                   \r\n                    \r\n                    <div id=\"landertop\" class=\"clearfix\">\r\n                                \r\n                                <div id=\"landerleft\">\r\n                                    {{if $contentdata.Collection_13_15 neq \'\'}}<p class=\"intro\">{{$contentdata.Collection_13_15}}</p>{{/if}}\r\n                                    {{$content}}\r\n                                </div>\r\n                                   \r\n                                {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-pullquote.php\'}}    \r\n                    </div>\r\n\r\n                    <div class=\"clearfix\">\r\n                            {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-benefits.php\'}}\r\n                            \r\n                            {{if $contentdata.Collection_13_18 neq \'\'}}<div id=\"landerimage\"><img src=\"{{$contentdata.Collection_13_18}}\"/></div>{{/if}}\r\n                            \r\n                        </div>\r\n                                  \r\n\r\n                </article>\r\n\r\n            </div>\r\n            \r\n\r\n        </div> \r\n\r\n\r\n         <footer class=\"clearfix\">\r\n            \r\n                <div id=\"footertop\">\r\n                        <div class=\"container\">\r\n                            {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-notable.php\'}}\r\n                        </div>\r\n                </div>\r\n\r\n                <div id=\"footerbottom\">\r\n                    <div class=\"clearfix\">\r\n                        <div id=\"footerbottomleft\">\r\n                            {{getcontent id=683 cache=1}}\r\n                            \r\n                            <div id=\"footerbleft\">\r\n                                {{getcontent id=23 cache=1}}\r\n                                <p id=\"oxiem\"><a href=\"http://www.oxiem.com\" target=\"_blank\">Web Design</a></p>\r\n                            </div>\r\n\r\n                            <div id=\"footerbright\">\r\n                                <div class=\"fcol\">\r\n                                    {{getcontent id=687 cache=1}}\r\n                                </div>\r\n                                \r\n                                <div class=\"fcol fcolsecond\">\r\n                                    {{getcontent id=684 cache=1}}\r\n                                </div>\r\n                                <div class=\"fcol\">\r\n                                    {{getcontent id=685 cache=1}}\r\n                                </div>\r\n                                <div id=\"social\">\r\n                                    {{getcontent id=686 cache=1}}\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>    \r\n                </div>\r\n                \r\n         </footer>\r\n        \r\n    </bo{{**}}dy>\r\n</html>',1386145870,'{{$JavaScriptJQueryIncludeCode}}','{{$FrontEndJavaScriptJQueryIncludeCode}}\r\n<script type=\"text/javascript\">$(document).ready(function(){ {{$FrontEndJavaScriptJQueryCode}} {{$JavaScriptJQueryCode}} });</script>','{{$CSSIncludes}}','','','',NULL,NULL,'',NULL,''),(689,'Homepage Template',NULL,3,1,'<!DOCTYPE html>\r\n<!--[if lt IE 7]>       <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9 lt-ie8 lt-ie7\"> <![endif]-->\r\n<!--[if IE 7]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9 lt-ie8\"> <![endif]-->\r\n<!--[if IE 8]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10 lt-ie9\"> <![endif]-->\r\n<!--[if IE 9]>          <html class=\"no-js lt-ie12 lt-ie11 lt-ie10\"> <![endif]-->\r\n<!--[if IE 10]>         <html class=\"no-js lt-ie12 lt-ie11\"> <![endif]-->\r\n<!--[if IE 11]>         <html class=\"no-js lt-ie12\"> <![endif]-->\r\n<!--[if gt IE 11]><!--> <html class=\"no-js\"> <!--<![endif]-->\r\n    <head>\r\n        <meta charset=\"utf-8\">\r\n        <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\r\n        <title>{{$page.Collection_17_2}}</title>\r\n        <meta content=\"{{$page.Collection_17_7}}\" name=\"keywords\" />\r\n        <meta content=\"{{$page.Collection_17_8}}\" name=\"description\" />\r\n\r\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1.0\">\r\n\r\n        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->\r\n        <link rel=\"shortcut icon\" href=\"/favicon.ico\">\r\n        \r\n                \r\n        <link rel=\"stylesheet\" href=\"/style/normalize.css\">\r\n        \r\n        <link rel=\"stylesheet\" href=\"/animate.css\">\r\n        <link rel=\"stylesheet\" href=\"/content.css\">\r\n        <link rel=\"stylesheet\" media=\"print\" href=\"/print.css\">\r\n        \r\n        <link rel=\"stylesheet\" href=\"/style/rotator.css\">\r\n\r\n         <!--[if lt IE 9]>\r\n            <link rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"/ie8.css\"/>\r\n        <![endif]-->\r\n\r\n        <!-- Important Owl stylesheet -->\r\n        <link rel=\"stylesheet\" href=\"/style/owl.carousel.css\">\r\n \r\n        <!-- Default Theme -->\r\n        <link rel=\"stylesheet\" href=\"/style/owl.theme.css\">  \r\n        \r\n        <!-- Form Theme -->\r\n        <link rel=\"stylesheet\" href=\"/style/futurico.css\">   \r\n        \r\n        <script type=\"text/javascript\" src=\"//use.typekit.net/snl8jlg.js\"></script>\r\n        <script type=\"text/javascript\">try{Typekit.load();}catch(e){}</script>\r\n\r\n        <script src=\"/js/vendor/modernizr-2.6.2.min.js\"></script>\r\n        <script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js\"></script>\r\n        <script>window.jQuery || document.write(\'<script src=\"/js/vendor/jquery-1.9.1.min.js\"><\\/script>\')</script>\r\n        <script src=\"/js/plugins.js\"></script>\r\n        <script src=\"/js/main.js\"></script>\r\n\r\n        {{if $smarty.const.GOOGLE_UA_CODE neq \'\'}}\r\n        <!-- Google Analytics: change UA-XXXXX-X to be your site\'s ID. -->\r\n        <script>\r\n            var _gaq=[[\'_setAccount\',\'{{$smarty.const.GOOGLE_UA_CODE}}\'],[\'_trackPageview\']];\r\n            (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];\r\n            g.src=\'//www.google-analytics.com/ga.js\';\r\n            s.parentNode.insertBefore(g,s)}(document,\'script\'));\r\n        </script>\r\n        {{/if}}\r\n    </head>\r\n    <body>\r\n        \r\n         <header>\r\n            <div class=\"container clearfix\">    \r\n                {{getcontent id=666 cache=1}}\r\n\r\n                <div id=\"htop\" class=\"clearfix\">\r\n                <img src=\"images/desktop/logo.png\" class=\"print\"/>\r\n                <a id=\"logo\" href=\"/\">{{$smarty.const.LOGO_TEXT}}</a>\r\n                <a id=\"toggleMenu\" href=\"#\">Menu</a> \r\n                <a id=\"phone\" href=\"tel:{{$smarty.const.PHONE_NUMBER}}\">{{$smarty.const.PHONE_NUMBER}}</a>\r\n                </div>\r\n\r\n                <nav class=\"clearfix\">\r\n                    {{getcontent id=683 cache=1}}\r\n                    {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-top.php\'}}\r\n                    <div id=\"requestQuoteButton\"><a class=\"button\" href=\"#requestQuote\">Request Info</a></div>\r\n                    <div id=\"mobile-flyouts\" class=\"clearfix\"></div>\r\n                    <div id=\"mobile-request\" class=\"requesthidden\"></div>\r\n                </nav>\r\n            </div>\r\n         </header>\r\n        \r\n        \r\n        {{$content}}\r\n\r\n\r\n         <footer class=\"clearfix\">\r\n            \r\n                <div id=\"footertop\">\r\n                        <div class=\"container\">\r\n                            {{include_php file=\'file:\'|concat:$smarty.server.DOCUMENT_ROOT|concat:\'/includes/cache/menu-notable.php\'}}\r\n                        </div>\r\n                </div>\r\n\r\n                <div id=\"footerbottom\">\r\n                    <div class=\"clearfix\">\r\n                        <div id=\"footerbottomleft\">\r\n                            {{getcontent id=683 cache=1}}\r\n                            \r\n                            <div id=\"footerbleft\">\r\n                                {{getcontent id=23 cache=1}}\r\n                                <p id=\"oxiem\"><a href=\"http://www.oxiem.com\" target=\"_blank\">Web Design</a></p>\r\n                            </div>\r\n\r\n                            <div id=\"footerbright\">\r\n                                <div class=\"fcol\">\r\n                                    {{getcontent id=687 cache=1}}\r\n                                </div>\r\n                                \r\n                                <div class=\"fcol fcolsecond\">\r\n                                    {{getcontent id=684 cache=1}}\r\n                                </div>\r\n                                <div class=\"fcol\">\r\n                                    {{getcontent id=685 cache=1}}\r\n                                </div>\r\n                                <div id=\"social\">\r\n                                    {{getcontent id=686 cache=1}}\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>    \r\n                </div>\r\n                \r\n         </footer>\r\n        \r\n    </bo{{**}}dy>\r\n</html>',1386145884,'{{$JavaScriptJQueryIncludeCode}}','{{$FrontEndJavaScriptJQueryIncludeCode}}\r\n<script type=\"text/javascript\">$(document).ready(function(){ {{$FrontEndJavaScriptJQueryCode}} {{$JavaScriptJQueryCode}} });</script>','{{$CSSIncludes}}','','','',NULL,NULL,'',NULL,''),(690,'Content - Request Info',NULL,1,1,'<div class=\"siteform\">\r\n<div id=\"smarty_plugin\">{{ViewCollection CollectionID=417}}</div>\r\n</div>\r\n',1386348195,NULL,NULL,NULL,'','','','Request Info',NULL,'',NULL,''),(691,'Content - Request Info - TQ',NULL,1,1,'<p>&nbsp;</p>\r\n',1386348234,NULL,NULL,NULL,'','','','Request Info','Thank You. Your message has been successfully sent.','',NULL,'');

--
