-- http://www.phpmyadmin.net
-- 
-- 主機: localhost
-- 建立日期: Jun 03, 2016, 03:45 PM
-- 伺服器版本: 5.0.51
-- PHP 版本: 5.2.6


-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_admin_group`
-- 

CREATE TABLE `datasetup_admin_group` (
  `id` int(20) NOT NULL auto_increment,
  `name` varchar(20) NOT NULL,
  `auth` text NULL,
  `control` int(11) default NULL,
  `status` tinyint(4) NOT NULL,
  `create_date` datetime NOT NULL,
  `update_date` datetime NOT NULL,
  `create_name` varchar(20) NOT NULL,
  `update_name` varchar(20) NOT NULL,
  `auth_ch` text COMMENT '程式生成欄位',
  `auth_en` text COMMENT '程式生成欄位',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;

-- 
-- 列出以下資料庫的數據： `datasetup_admin_group`
-- 

INSERT INTO `datasetup_admin_group` VALUES (4, '管理者', '293,298,182,315,354,353,372,373,374,355,375,120,121,122,123,124,125', 1, 1, '2011-07-19 15:17:26', '2017-02-21 10:16:51', 'admin', 'vipadmin', '293,298,342,498,477,500,505,501,503,504,542,473,474,475,476,535,536,387,488,489,120,121,122,123,124,378,376,125,502,537,538,539,540', '');
INSERT INTO `datasetup_admin_group` VALUES (7, '系統管理員', '293,298,342,337,338,348,182,315,401,402,403,404,405,387,389,388,390,391,399,392,400,406,120,121,122,123,124,377,378,376,125,396,398', 0, 1, '2014-03-11 15:50:00', '2016-08-17 15:52:06', 'service', 'vipadmin', '473,474,475,476,535,536,541,293,298,342,498,477,500,505,501,503,504,542,387,488,489,120,121,122,123,124,377,378,376,125,396,398,502,537,538,539,540', '569,570,571,572,573,574,575,555,556,559,561,560,563,564,562,557,558,565,566,567,568,552,554,553,543,544,548,549,547,545,546,550,551,576,577,578,579');
INSERT INTO `datasetup_admin_group` VALUES (8, '客戶管理者', '293,298,342,337,338,348,182,315,401,402,403,404,405,387,389,388,390,391,399,392,400,120,121,122,123,124,377,125,396', 2, 1, '2014-03-11 15:58:32', '2017-02-21 10:17:22', 'service', 'vipadmin', '123,124,125', '543,544,545');

-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_category`
-- 

CREATE TABLE `datasetup_category` (
  `id` mediumint(8) unsigned NOT NULL auto_increment,
  `root_id` mediumint(8) unsigned NOT NULL default '0',
  `parent_id` mediumint(8) NOT NULL default '0',
  `lft` int(10) NOT NULL default '0',
  `rgt` int(10) NOT NULL default '0',
  `name` varchar(200) NOT NULL,
  `detail` text,
  `sort` double default '0.9',
  `pic` varchar(100) default NULL,
  `file` varchar(100) default NULL,
  `memo` varchar(100) default NULL,
  `status` tinyint(1) NOT NULL default '1',
  `mode` varchar(20) default NULL,
  `depth` tinyint(2) NOT NULL default '0',
  `sys` tinyint(1) NOT NULL default '0',
  `lang` varchar(5) default NULL,
  `update_date` datetime NOT NULL,
  `create_date` datetime NOT NULL,
  `update_name` varchar(15) NOT NULL,
  `create_name` varchar(15) NOT NULL,
  `max_count` text COMMENT '程式生成欄位',
  `b_value` text COMMENT '程式生成欄位',
  `new_type` text COMMENT '程式生成欄位',
  `fordepth` text COMMENT '程式生成欄位',
  `member_id` text COMMENT '程式生成欄位',
  PRIMARY KEY  (`id`),
  KEY `sort` (`sort`),
  KEY `status` (`status`),
  KEY `sys` (`sys`),
  KEY `parent_id` (`parent_id`),
  KEY `root_id` (`root_id`),
  KEY `lft` (`lft`),
  KEY `rgt` (`rgt`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=133 ;

-- 
-- 列出以下資料庫的數據： `datasetup_category`
-- 

INSERT INTO `datasetup_category` VALUES (1, 1, 0, 0, 23, '產品分類', '0|__|0', 1, '', '', 'detail', 1, '', 0, 1, 'ch', '2016-02-23 16:00:19', '2010-01-12 13:28:21', 'admin', '', '2', '內容', '3', '', '');
INSERT INTO `datasetup_category` VALUES (109, 1, 1, 1, 6, '展示類組', '分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊', 1, '', '', '', 1, '', 1, 0, 'ch', '2016-02-23 16:19:20', '2014-02-19 15:27:24', 'vipadmin', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (110, 1, 1, 7, 20, '展架列組', '', 2, '', '', '', 1, '', 1, 0, 'ch', '2014-02-19 15:27:32', '2014-02-19 15:27:32', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (111, 1, 1, 21, 22, '陳列架列組', '', 3, '', '', '', 1, '', 1, 0, 'ch', '2014-02-19 15:27:45', '2014-02-19 15:27:45', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (112, 1, 109, 2, 3, '第一分類次分類一', '分類自由區塊分類自由區塊分類自由區塊分類自由區塊分類自由區塊', 1, '', '', '', 1, '', 2, 0, 'ch', '2016-02-23 16:19:05', '2014-02-19 15:29:14', 'vipadmin', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (113, 1, 109, 4, 5, '第一分類次分類二', '<iframe allowfullscreen=\\"\\" frameborder=\\"0\\" height=\\"315\\" src=\\"https://www.youtube.com/embed/Oy3-blsUAlM\\" width=\\"560\\"></iframe>', 2, '', '', '', 1, '', 2, 0, 'ch', '2016-02-23 16:11:12', '2014-02-19 15:29:22', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (114, 1, 110, 8, 9, '易拉展', '', 1, '', '', '', 1, '', 2, 0, 'ch', '2014-02-19 15:30:07', '2014-02-19 15:30:07', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (115, 1, 110, 10, 11, '大型展架', '', 2, '', '', '', 1, '', 2, 0, 'ch', '2014-02-19 15:30:30', '2014-02-19 15:30:30', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (116, 1, 110, 12, 13, 'T字展架', '', 3, '', '', '', 1, '', 2, 0, 'ch', '2014-02-19 15:31:20', '2014-02-19 15:31:20', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (117, 1, 110, 14, 15, '弓形展架', '', 4, '', '', '', 1, '', 2, 0, 'ch', '2014-02-19 15:31:46', '2014-02-19 15:31:46', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (118, 1, 110, 16, 17, '易拉鋼組', '', 5, '', '', '', 1, '', 2, 0, 'ch', '2014-02-19 15:32:23', '2014-02-19 15:32:23', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (119, 1, 110, 18, 19, '快幕秀', '', 6, '', '', '', 1, '', 2, 0, 'ch', '2014-02-19 15:32:48', '2014-02-19 15:32:48', 'service', 'service', '', '', '', '', '');
INSERT INTO `datasetup_category` VALUES (132, 132, 0, 0, 1, 'p2', '0|__|', 2, NULL, NULL, 'detaIL', 1, NULL, 0, 1, 'ch', '2016-05-20 16:18:39', '2016-05-20 16:18:39', '', '', '1', 'detaIL', '3', '', NULL);






-- 
-- 資料表格式： `datasetup_form`
-- 

CREATE TABLE `datasetup_form` (
  `id` int(11) NOT NULL auto_increment,
  `type` text NOT NULL,
  `lang` varchar(20) NOT NULL default 'ch' COMMENT '語系',
  `status` int(11) NOT NULL default '1',
  `create_date` datetime default NULL,
  `update_date` datetime default NULL,
  `create_name` text,
  `update_name` text,
  `name` text COMMENT '聯絡人',
  `company` text COMMENT '公司名稱',
  `company_no` text COMMENT '公司統編',
  `phone` text COMMENT '連絡電話',
  `address` text COMMENT '地址',
  `cellphone` text COMMENT '行動電話',
  `email` text COMMENT '電子郵件',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

-- 
-- 列出以下資料庫的數據： `datasetup_form`
-- 


-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_language`
-- 

CREATE TABLE `datasetup_language` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(20) default NULL,
  `detail` varchar(20) default NULL,
  `status` int(2) NOT NULL default '1',
  `sort` double default '0.9',
  `create_date` datetime default NULL,
  `update_date` datetime default NULL,
  KEY `id` (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;

-- 
-- 列出以下資料庫的數據： `datasetup_language`
-- 

INSERT INTO `datasetup_language` VALUES (1, '中文', 'ch', 1, 1, '2014-03-20 10:42:15', '2014-03-20 11:37:34');

-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_products`
-- 

CREATE TABLE `datasetup_products` (
  `id` int(20) NOT NULL auto_increment,
  `type` varchar(100) NOT NULL,
  `lang` varchar(20) NOT NULL,
  `name` varchar(50) default NULL,
  `detail` text COMMENT '程式自動生成',
  `pic` text,
  `sort` double default '0.9',
  `status` tinyint(4) default NULL,
  `point` varchar(10) default NULL COMMENT '獲得紅利',
  `depoint` int(11) default '0' COMMENT '紅利折扣',
  `create_date` datetime default NULL,
  `update_date` datetime default NULL,
  `create_name` varchar(20) default NULL,
  `update_name` varchar(20) default NULL,
  `price1` int(10) NOT NULL default '0' COMMENT '原價',
  `price2` int(20) NOT NULL default '0' COMMENT '特價',
  `price_desh` double default NULL COMMENT '折扣',
  `stock` text,
  `protype` int(20) default NULL COMMENT '商品種類root_id=1',
  `probrand` int(20) default NULL COMMENT '商品品牌root_id=2',
  `del_pic` varchar(100) default NULL COMMENT '程式自動生成',
  `protype_other` text,
  `probrand_other` text,
  `cook` varchar(10) default NULL COMMENT '是否啟用線上食譜',
  `add_pro` text COMMENT ' 加價購商品',
  `add_price` text COMMENT '加價購商品價錢',
  `add_count` text COMMENT '加價購商品數量',
  `add_pic` text COMMENT '加價購圖片',
  `class` varchar(100) default NULL COMMENT '程式自動生成',
  `memo_1` varchar(100) default NULL COMMENT '程式自動生成',
  `href` varchar(100) default NULL COMMENT '程式自動生成',
  `prolist` varchar(100) default NULL COMMENT '程式自動生成',
  `size` text COMMENT '程式生成欄位',
  `memo` text COMMENT '程式生成欄位',
  `color` text COMMENT '程式生成欄位',
  `stock_no` text COMMENT '程式生成欄位',
  `alies` text COMMENT '程式生成欄位',
  `isnew` text COMMENT '程式生成欄位',
  `stock_pic` text COMMENT '程式生成欄位',
  `stock_status` text COMMENT '程式生成欄位',
  `stock_price` text COMMENT '程式生成欄位',
  PRIMARY KEY  (`id`),
  KEY `type` (`type`),
  KEY `lang` (`lang`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2132 ;

-- 
-- 列出以下資料庫的數據： `datasetup_products`
-- 

INSERT INTO `datasetup_products` VALUES (2113, 'products', 'ch', 'amamn', '花旦是中國傳統戲曲腳色行當[1]，為青年或中年女性的形象，元雜劇就有花旦雜劇一類。經過多個朝代，花旦成了中國各種地方戲曲，譬如漢劇、崑劇、京劇和粵劇，共有的性格造型。其造型則重唸散白，重做功，重神采，不重唱功但要求唱腔的清秀美麗、靈敏乖巧。<br />\r\n<br />\r\n<strong>產品特色：</strong><br />\r\n&nbsp;\r\n<p>有別於傳統的拼圖，拼點子以軟質的像素顆粒(pixel)為素材拼貼出的圖像，其具有特殊的立體質感以及馬賽克拼貼的趣味，完成的作品質感令人驚艷。</p>\r\n\r\n<p>拼點子主要由色素(pixel)和底板(baseplate)組成：</p>\r\n\r\n<p>色素與色塊：<br />\r\n色素(pixel)是組合成圖案的元素，這是一種軟質的塑膠小顆粒，為了方便取用和辨別，色素以色塊(pixel square)為基本單位，每一個色塊上有140顆色素，在每一片色塊的背面都標有代表顏色的數字。</p>\r\n\r\n<p>底板：<br />\r\n底板就像是畫布，我們把每一個色素(Pixel)按照設計圖的指示拼貼在底板的相對位置上，就能輕鬆拼成一幅圖像，就像在畫布上畫畫一樣。</p>\r\n', '55354300.jpg|__|63954900.jpg|__|70255300.jpg|__|24258300.jpg', 1, 1, '22', 100, '2013-11-29 06:15:17', '2016-03-04 15:59:01', 'admin', 'vipadmin', 5000, 5000, 30, '17|__|0|__|20', 0, 0, '76562600.jpg', '', '', '0', '', '', '', '', '113|__|114', '                                                                                                qweq', '', '', '紅|__|灰|__|基本', '                                                                                          尺寸：寬10.2 高12.7公分\r\n標準大底板(4英吋x 5英吋) x 1片\r\n色塊：28片\r\n顏色：24色\r\n(含鑷子x1; 不含外框)\r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      ', '#ff0000|__||__|', 'AA03|__|AA02|__|AA01', '', '0', '145707833598.png|__||__|', '1|__|1|__|1', '400|__||__|200');
INSERT INTO `datasetup_products` VALUES (2128, '', 'ch', '100', '#ab08de', '', 3, 1, '', 0, '2014-05-21 11:40:07', '2014-05-21 11:40:07', 'vipadmin', 'vipadmin', 0, 0, 0, '', 0, 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');
INSERT INTO `datasetup_products` VALUES (2127, '', 'ch', '157', '#00ff00', '', 1, 1, '', 0, '2014-05-21 11:25:01', '2014-06-25 10:31:34', 'vipadmin', 'vipadmin', 999, 999, 0, '', 0, 0, '', '', '', '', '', '', '', '', '113', '      \r\n      ', '', '', '', '      \r\n      ', '', '', '', '', '', '', '');
INSERT INTO `datasetup_products` VALUES (2129, 'products', 'ch', 'test', '22222', '', 2, 1, '', 0, '2014-06-26 14:07:33', '2014-08-28 09:36:44', 'vipadmin', 'vipadmin', 0, 0, 0, '0', 0, 0, '', '', '', '', '', '', '', '', '113|__|115', '                  123123123\r\n      \r\n      \r\n      \r\n      \r\n      ', '', '', '基本', '                  2323\r\n      \r\n      \r\n      \r\n      \r\n      \r\n      \r\n      ', '', '', '', '', '', '', '');
INSERT INTO `datasetup_products` VALUES (2130, 'products2', 'ch', 'Aaaaaaaaaaaaa', 'aaaaaa', '', 1, 1, '', 0, '2014-06-26 14:07:53', '2014-07-10 11:15:32', 'vipadmin', 'vipadmin', 0, 0, 0, '', 0, 0, '', '', '', '', '', '', '', '', '120', '                  aaaaaa\r\n      \r\n      \r\n      ', '', '', '', '                  \r\n      aaa\r\n      \r\n      ', '', '', '', '', '', '', '');
INSERT INTO `datasetup_products` VALUES (2131, 'products', 'ch', 'tttttttt', '', '', 3, 1, '', 0, '2016-02-23 14:41:05', '2016-02-23 14:41:05', 'vipadmin', 'vipadmin', 1000, 1000, 0, '', 0, 0, '', '', '', '', '', '', '', '', '112', '      \r\n      ', '', '', '', '      \r\n      ', '', '', 'aaa', '0', '', '', '');

-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_setting`
-- 

CREATE TABLE `datasetup_setting` (
  `id` int(20) NOT NULL auto_increment,
  `lang` varchar(20) NOT NULL default 'ch',
  `type` varchar(20) default NULL,
  `name` varchar(100) NOT NULL,
  `detail` text NOT NULL,
  `status` tinyint(4) NOT NULL COMMENT '1=一般 2=優化關鍵字',
  `create_date` datetime NOT NULL,
  `update_date` datetime NOT NULL,
  `create_name` varchar(20) NOT NULL,
  `update_name` varchar(20) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=55 ;

-- 
-- 列出以下資料庫的數據： `datasetup_setting`
-- 

INSERT INTO `datasetup_setting` VALUES (1, 'ch', '', '網站名稱', '網站名稱', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (2, 'ch', '', '優化關鍵字', '<meta name=\\"keywords\\" content=\\"關鍵字\\">\r\n<meta name=\\"description\\" content=\\"關鍵字內文\\">\r\n<meta name=\\"RATING\\" content=\\"general\\">\r\n<meta name=\\"REVISIT-AFTER\\" content=\\"1 Days\\">\r\n<meta name=\\"ROBOTS\\" content=\\"all\\">\r\n<meta name=\\"googlebot\\" content=\\"index,follow\\">', 2, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (3, 'ch', '', '收件者 E-Mail', 'Jones@vipcase.net', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (4, 'ch', '', '寄件者 標題', 'XXX 系統郵件', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (5, 'ch', '', '寄件者 E-Mail', 'Jones@vipcase.net', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (16, 'ch', 'post_fee', '運費', '200', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (17, 'ch', '', '紅利折抵上限(每個商品)', '50', 0, '0000-00-00 00:00:00', '2014-01-22 18:38:58', '', 'service');
INSERT INTO `datasetup_setting` VALUES (18, 'ch', '', '加入會員贈送紅利點數', '100', 3, '0000-00-00 00:00:00', '2014-01-13 10:56:13', '', 'admin');
INSERT INTO `datasetup_setting` VALUES (19, 'ch', '', 'GOOGLE地圖', '<iframe width=\\"425\\" height=\\"350\\" frameborder=\\"0\\" scrolling=\\"no\\" marginheight=\\"0\\" marginwidth=\\"0\\" src=\\"https://maps.google.com.tw/maps?hl=zh-TW&ie=UTF8&ll=23.48575,119.49965&spn=9.854536,16.21582&t=m&z=7&brcurrent=3,0x346ef3065c07572f:0xe711f004bf9c5469,1&output=embed\\"></iframe><br /><small><a href=\\"https://maps.google.com.tw/maps?hl=zh-TW&ie=UTF8&ll=23.48575,119.49965&spn=9.854536,16.21582&t=m&z=7&brcurrent=3,0x346ef3065c07572f:0xe711f004bf9c5469,1&source=embed\\" style=\\"color:#0000FF;text-align:left\\">顯示詳細地圖</a></small>', 2, '0000-00-00 00:00:00', '2014-01-13 10:56:13', '', 'admin');
INSERT INTO `datasetup_setting` VALUES (20, 'ch', '', '首頁跑馬燈文字', '2013/8/27 隆重開幕 KASK安全帽特價中', 1, '0000-00-00 00:00:00', '2014-01-13 10:56:13', '', 'admin');
INSERT INTO `datasetup_setting` VALUES (21, 'ch', '', '首頁跑馬燈連結', 'tw.yahoo.com', 1, '0000-00-00 00:00:00', '2014-01-13 10:56:13', '', 'admin');
INSERT INTO `datasetup_setting` VALUES (22, 'ch', '', 'YouTube 視頻連結', 'https://www.youtube.com/watch?v=44yXE5dC6I0', 1, '0000-00-00 00:00:00', '2014-01-13 10:56:13', '', 'admin');
INSERT INTO `datasetup_setting` VALUES (25, 'ch', '', '全站統一折扣率', '0', 1, '0000-00-00 00:00:00', '2014-01-13 10:56:13', '', 'admin');
INSERT INTO `datasetup_setting` VALUES (46, 'ch', 'website_url', '網域導向頁面', 'index.php', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (44, 'ch', 'backup', '資料庫備份路徑', '../upload/database_backup/', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (42, 'ch', 'button', '檔案上傳按鈕連結', 'index.php?class=qa&id=99', 1, '0000-00-00 00:00:00', '2014-06-25 11:18:29', '', 'service');
INSERT INTO `datasetup_setting` VALUES (43, 'ch', 'google_map', 'google map嵌入式語法', '<iframe width="230" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com.tw/maps?hl=zh-TW&amp;q=%E9%AB%98%E9%9B%84%E5%B8%82%E5%B7%A6%E7%87%9F%E5%8D%80%E7%AB%8B%E6%96%87%E8%B7%AF+77+%E8%99%9F&amp;ie=UTF8&amp;hq=&amp;hnear=813%E9%AB%98%E9%9B%84%E5%B8%82%E5%B7%A6%E7%87%9F%E5%8D%80%E7%AB%8B%E6%96%87%E8%B7%AF77%E8%99%9F&amp;t=m&amp;brcurrent=3,0x346e05a2921bd1c9:0xcee6f0be1e1a3c09,0,0x346e43517a7a741b:0x4826a24a54732a37&amp;ll=22.664314,120.304413&amp;spn=0.049106,0.019655&amp;z=14&amp;iwloc=A&amp;output=embed" style="border:solid 1px #fff;"></iframe><br><small><a href="https://maps.google.com.tw/maps?hl=zh-TW&amp;q=%E9%AB%98%E9%9B%84%E5%B8%82%E5%B7%A6%E7%87%9F%E5%8D%80%E7%AB%8B%E6%96%87%E8%B7%AF+77+%E8%99%9F&amp;ie=UTF8&amp;hq=&amp;hnear=813%E9%AB%98%E9%9B%84%E5%B8%82%E5%B7%A6%E7%87%9F%E5%8D%80%E7%AB%8B%E6%96%87%E8%B7%AF77%E8%99%9F&amp;t=m&amp;brcurrent=3,0x346e05a2921bd1c9:0xcee6f0be1e1a3c09,0,0x346e43517a7a741b:0x4826a24a54732a37&amp;ll=22.664314,120.304413&amp;spn=0.049106,0.019655&amp;z=14&amp;iwloc=A&amp;source=embed" style="color:#474d44;text-align:left; font:11px/24px Arial;">顯示詳細地圖</a></small>', 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', '');
INSERT INTO `datasetup_setting` VALUES (47, 'ch', 'delay_time', '管理登入閒置時間(秒)', '3600', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (48, 'ch', 'design', '商品資料最大組數', '5', 3, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (49, 'ch', 'design', '簡介資訊最大組數', '5', 3, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (50, 'ch', 'design', '最新消息最大組數', '5', 3, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (51, 'ch', 'design', '分類最大組數', '2', 3, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (52, 'ch', 'no_post_fee', '免運費金額', '1600', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (53, 'ch', 'post_fee2', '達到金額運費', '0', 1, '0000-00-00 00:00:00', '2015-01-20 18:27:52', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (45, 'ch', 'demo_show', '頁面建構中自訂義', '<meta charset=\\"utf-8\\">\r\n<title></title>\r\n<link href=\\"https://fonts.googleapis.com/css?family=Oswald:300\\" rel=\\"stylesheet\\" type=\\"text/css\\" />\r\n<style type=\\"text/css\\">body, html { height:100%; margin:0; font-family: Microsoft JhengHei;}\r\n.fontstyle01 { font-size:36px; color:#746E37;}\r\n.fontstyle02 { font-size:30px; color: #A7A3A4; font-family: \\''Oswald\\'';}\r\n.line { border-bottom:1px #D9D9D9 solid; margin:10px 0; width:300px;}\r\n</style>\r\n<table border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" style=\\"height:100%;\\" width=\\"100%\\">\r\n	<tbody>\r\n		<tr>\r\n			<td align=\\"center\\"><img height=\\"auto\\" src=\\"data:image/png;base64,[BLOB]\\" width=\\"250px\\" />\r\n			<div class=\\"fontstyle01\\">網站建構中</div>\r\n\r\n			<div class=\\"line\\">&nbsp;</div>\r\n\r\n			<div class=\\"fontstyle02\\">Construction Site</div>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>', 3, '0000-00-00 00:00:00', '2016-08-25 11:33:48', '', 'vipadmin');
INSERT INTO `datasetup_setting` VALUES (54, 'ch', 'web_css', '編輯器前台式樣檔應用路徑', '../css/main.css', 1, '0000-00-00 00:00:00', '2016-06-01 17:15:23', '', 'vipadmin');

-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_shopping_car`
-- 

CREATE TABLE `datasetup_shopping_car` (
  `id` int(20) NOT NULL auto_increment,
  `namespace` text NOT NULL COMMENT '存放命名空間',
  `step` tinyint(1) default '1' COMMENT '購物流程指標',
  `order_no` varchar(30) NOT NULL COMMENT '定單序號',
  `total` int(20) default '0' COMMENT '總價(不含折價 不含運費)',
  `deshpoint` int(11) default NULL COMMENT '扣除紅利點',
  `addpoint` int(11) default NULL COMMENT '新增紅利點',
  `post_fee` int(10) default '0' COMMENT '運費',
  `back_total` int(20) default NULL COMMENT '退款總額',
  `back_money` int(20) default NULL COMMENT '已退金額',
  `paycardmode` tinyint(1) default '0' COMMENT '刷卡方式 1=聯邦 2=國泰世華 3=花旗 4=中信',
  `MerchantNumber` varchar(50) default NULL COMMENT '金流串接商店編號',
  `Code` varchar(30) default NULL COMMENT '金流串接商店編號對應code',
  `Period` tinyint(1) default '0' COMMENT '分期期數',
  `member_id` int(20) default NULL,
  `type` varchar(100) NOT NULL default 'shopping_car',
  `lang` varchar(20) default NULL,
  `status` tinyint(1) default NULL,
  `pay_status` tinyint(1) default '0' COMMENT '付款狀態',
  `paymode_status` varchar(10) default '0' COMMENT '金流狀態 0未付款 1已付款 9失效狀態',
  `cargo_status` tinyint(1) default '0' COMMENT '出貨狀態',
  `email` varchar(50) default NULL,
  `sex` varchar(50) default NULL,
  `company` varchar(50) default NULL,
  `country` varchar(50) default NULL,
  `zip` varchar(50) default NULL,
  `contact_time` varchar(50) default NULL,
  `recive_name` varchar(50) default NULL,
  `recive_email` varchar(50) default NULL,
  `recive_address` varchar(100) default NULL,
  `recive_zip` varchar(50) default NULL,
  `recive_sex` varchar(50) default NULL,
  `recive_phone` varchar(100) default NULL COMMENT '收件人電話',
  `recive_cellphone` varchar(100) default NULL COMMENT '收件人手機',
  `recive_takemode` varchar(20) default NULL COMMENT '取貨方式',
  `unity_no` varchar(40) default NULL COMMENT '統一編號',
  `unity_title` varchar(20) default NULL,
  `checksum` varchar(50) default NULL COMMENT '金流md5檢查碼',
  `name` varchar(30) default NULL,
  `birthday` varchar(30) default NULL,
  `phone` varchar(30) default NULL,
  `cellphone` varchar(30) default NULL,
  `address` text,
  `memo` text COMMENT '備註',
  `create_date` datetime default NULL,
  `update_date` datetime default NULL,
  `cargo_date` datetime default NULL COMMENT '出貨時間',
  `create_name` varchar(20) default NULL,
  `update_name` varchar(20) default NULL,
  `ATMcode` text COMMENT 'ATM轉帳後四碼',
  `s_paycardmode` text COMMENT '程式生成欄位',
  `order_img` longtext COMMENT '訂單圖像',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=17 ;

-- 
-- 列出以下資料庫的數據： `datasetup_shopping_car`
-- 


-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_shopping_car_groups`
-- 

CREATE TABLE `datasetup_shopping_car_groups` (
  `id` int(11) NOT NULL auto_increment,
  `shopping_car_id` int(11) NOT NULL,
  `shopping_car_list_id` int(11) default NULL,
  `active_name` text NOT NULL,
  `price` int(11) NOT NULL,
  `groupcount` int(11) NOT NULL default '0' COMMENT '活動組合數量',
  `create_date` datetime NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;

-- 
-- 列出以下資料庫的數據： `datasetup_shopping_car_groups`
-- 


-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_shopping_car_list`
-- 

CREATE TABLE `datasetup_shopping_car_list` (
  `shopping_car_list_id` int(20) NOT NULL auto_increment,
  `shopping_car_id` int(20) NOT NULL,
  `count` int(10) NOT NULL default '1',
  `id` int(20) NOT NULL,
  `type` varchar(100) NOT NULL,
  `lang` varchar(20) default NULL,
  `size` text,
  `name` varchar(50) default NULL,
  `detail` text COMMENT '程式自動生成',
  `point` int(11) default NULL COMMENT '獲得紅利點數',
  `depoint` int(11) default NULL COMMENT '可刪減多少紅利',
  `pic` text,
  `sort` int(20) default NULL,
  `status` tinyint(4) default NULL,
  `create_date` datetime default NULL,
  `update_date` datetime default NULL,
  `create_name` varchar(20) default NULL,
  `update_name` varchar(20) default NULL,
  `price1` int(10) default '0' COMMENT '原價',
  `price2` int(20) default '0' COMMENT '特價',
  `stock` int(10) default '0',
  `protype` int(20) default NULL COMMENT '商品種類root_id=1',
  `probrand` int(20) default NULL COMMENT '商品品牌root_id=2',
  `del_pic` varchar(100) default NULL COMMENT '程式自動生成',
  `talkabout` text COMMENT '討論評價內容',
  `talkstar` int(11) default NULL COMMENT '評價等級',
  `talkrequest` text COMMENT '客服回應',
  PRIMARY KEY  (`shopping_car_list_id`),
  KEY `type` (`type`),
  KEY `lang` (`lang`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=22 ;

-- 
-- 列出以下資料庫的數據： `datasetup_shopping_car_list`
-- 


-- --------------------------------------------------------

-- 
-- 資料表格式： `datasetup_sysmenu`
-- 

CREATE TABLE `datasetup_sysmenu` (
  `id` int(20) NOT NULL auto_increment,
  `lv` int(20) NOT NULL COMMENT '類似ID 判斷開關 辨識身份',
  `lang` varchar(10) NOT NULL default 'ch' COMMENT '語系',
  `floor` int(20) NOT NULL COMMENT '此分類階層',
  `sort` int(20) NOT NULL,
  `name` varchar(20) NOT NULL,
  `url` varchar(255) NOT NULL default '0',
  `selector` text COMMENT 'jQueryselector',
  `ifview` tinyint(1) NOT NULL,
  `parents` varchar(10) NOT NULL,
  `create_date` datetime NOT NULL,
  `update_date` datetime NOT NULL,
  `create_name` varchar(20) NOT NULL,
  `update_name` varchar(20) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=589 ;

-- 
-- 列出以下資料庫的數據： `datasetup_sysmenu`
-- 
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(84, 123, 'ch', 0, 6, '其他管理', '', '', 1, '0', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(83, 122, 'ch', 1, 2, '後台帳號群組清單', 'admin_group.php', '', 1, '120', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(81, 120, 'ch', 0, 5, '後台帳號管理', '', '', 1, '0', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(82, 121, 'ch', 1, 1, '後台帳號清單', 'admin.php', '', 1, '120', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(85, 124, 'ch', 1, 1, '使用者管理', 'self.php', '', 1, '123', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(86, 125, 'ch', 1, 5, '網站設定', 'setting.php', '', 1, '123', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(320, 293, 'ch', 0, 1, 'Step 1 類組設定', '', '', 1, '0', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(325, 298, 'ch', 1, 1, '一般類組設定', 'about.php?class=set_about', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(557, 503, 'ch', 1, 8, '會員相關設定', 'about.php?class=set_member&id=lang', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(558, 504, 'ch', 1, 9, '購物相關設定', 'about.php?class=set_shopping&id=lang', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(388, 342, 'ch', 1, 3, '商品類組設定 (products)', 'about.php?class=set_pro', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(444, 396, 'ch', 1, 6, 'smtp郵件伺服器', 'about.php?class=smtp_mail&id=lang', '', 1, '123', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(435, 387, 'ch', 0, 4, '頁面管理', '', '', 1, '0', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(424, 376, 'ch', 1, 4, '語系管理', 'language.php', '', 1, '123', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(425, 377, 'ch', 1, 2, '系統目錄管理', '_sysmenu_set.php', '', 1, '123', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(426, 378, 'ch', 1, 3, '後台操作記錄', 'system_temp.php', '', 1, '123', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(528, 477, 'ch', 1, 5, '表單模組設定', 'form_set.php', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(524, 473, 'ch', 0, 2, 'Step 2 版面設定', '', '', 1, '0', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(525, 474, 'ch', 1, 1, '主板塊設定', 'design.php?type=main', '', 1, '473', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(526, 475, 'ch', 1, 2, '子板塊設定', 'design.php?type=ban', '', 1, '473', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(527, 476, 'ch', 1, 3, '式樣設定', 'design.php?type=css', '', 1, '473', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(446, 398, 'ch', 1, 7, '主機網域跳轉設定', 'url_rewrite.php', '', 1, '123', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(539, 488, 'ch', 1, 15, '訂單信件訊息', 'about.php?class=paymail', '', 1, '387', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(540, 489, 'ch', 1, 16, '出貨信件訊息', 'about.php?class=cargomail', '', 1, '387', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(552, 498, 'ch', 1, 2, '商品分類設定 (category)', 'catemode.php', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(556, 502, 'ch', 1, 10, '目錄檔案管理', 'dir_manage.php', '', 1, '123', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(555, 501, 'ch', 1, 7, '各模組顯示設定', 'about.php?class=set_serback&id=lang', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(554, 500, 'ch', 1, 6, '圖片集模組設定', 'about.php?class=set_edm', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(559, 505, 'ch', 1, 6, '推薦組合模組設定', 'about.php?class=set_dataset', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(589, 535, 'ch', 1, 4, '錯誤代碼導向頁面', 'design.php?type=erro', '', 1, '473', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(590, 536, 'ch', 1, 5, '預設安裝樣板', 'example_ban.php', '', 1, '473', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(591, 537, 'ch', 0, 7, '後台選單管理', '', '', 1, '0', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(592, 538, 'ch', 1, 1, '選單設定', 'about.php?class=system_menu', '', 1, '537', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(593, 539, 'ch', 0, 8, '經銷商管理', '', '', 1, '0', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(594, 540, 'ch', 1, 1, '經銷商資料', 'about.php?class=dealers&id=lang', '', 1, '539', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(595, 541, 'ch', 1, 6, '安裝主題', 'skin_setup.php', '', 1, '473', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');
INSERT INTO `datasetup_sysmenu` (`id`, `lv`, `lang`, `floor`, `sort`, `name`, `url`, `selector`, `ifview`, `parents`, `create_date`, `update_date`, `create_name`, `update_name`) VALUES(596, 542, 'ch', 1, 10, '前台選單群組設定', 'about.php?class=set_menu', '', 1, '293', '0000-00-00 00:00:00', '2017-02-21 10:22:55', '', 'vipadmin');






CREATE TABLE `datasetup_exampleban` (
  `id` int(11) NOT NULL,
  `type` varchar(50) DEFAULT NULL,
  `name` varchar(200) DEFAULT NULL,
  `b_name` text,
  `detail` longtext,
  `memo` longtext,
  `sort` double DEFAULT '0',
  `status` int(11) DEFAULT '1',
  `create_date` datetime DEFAULT NULL,
  `update_date` datetime DEFAULT NULL,
  `create_name` varchar(200) DEFAULT NULL,
  `update_name` varchar(200) DEFAULT NULL,
  `pic` text COMMENT '程式生成欄位',
  `incfile` text COMMENT '程式生成欄位',
  `ff` text COMMENT '程式生成欄位'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- 資料表的匯出資料 `datasetup_exampleban`
--

INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(3, 'set_about', '一般文章-About(單一文章)', 'detail', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">關於我們</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"co1-100 col-m\\">\r\n            <div class=\\"page-main\\">\r\n                ({$article.<~_mode~>[0].detail})\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\"><a href=\\"javascript:history.back();\\">回上一頁</a></div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n    </div>\r\n</div>', '[BLOB]', 2, 1, '2017-02-21 10:33:00', '2017-02-21 12:44:02', 'vipadmin', 'vipadmin', '36322100.jpg', '', '148764438036.jpg');
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(4, 'set_about', '與我聯絡-Contact', 'contact', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">聯絡我們</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"contact-left\\"><img src=\\"images/contactleft.jpg\\"></div>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n            <!-- 左欄 -->\r\n            <div class=\\"contact-body clearfix\\">\r\n                <div class=\\"contact\\">\r\n                    <ul>\r\n                        <li class=\\"clearfix\\">\r\n                            <span class=\\"left\\"><span class=\\"glyphicon glyphicon-phone-alt\\" aria-hidden=\\"true\\"></span></span>\r\n                            <span class=\\"right\\"><span class=\\"item\\">電話：</span>\r\n                            <br> ({$article.<~_mode~>[0].telephone})\r\n                            </span>\r\n                        </li>\r\n                        <li class=\\"clearfix\\"><span class=\\"left\\"><span class=\\"glyphicon glyphicon-print\\" aria-hidden=\\"true\\"></span></span>\r\n                            <span class=\\"right\\"><span class=\\"item\\">傳真：</span>\r\n                            <br> ({$article.<~_mode~>[0].fax})\r\n                            </span>\r\n                        </li>\r\n                        <li class=\\"clearfix\\">\r\n                            <span class=\\"left\\"><span class=\\"glyphicon glyphicon-home\\" aria-hidden=\\"true\\"></span></span>\r\n                            <span class=\\"right\\"><span class=\\"item\\">地址：</span>\r\n                            <br> ({$article.<~_mode~>[0].address})\r\n                            </span>\r\n                        </li>\r\n                        <li class=\\"clearfix\\">\r\n                            <span class=\\"left\\"><span class=\\"glyphicon glyphicon-road\\" aria-hidden=\\"true\\"></span></span>\r\n                            <span class=\\"right\\"><span class=\\"item\\">交通資訊：</span>\r\n                            <br> ({$article.<~_mode~>[0].traffic_info})\r\n                            </span>\r\n                        </li>\r\n                        <li class=\\"clearfix\\">\r\n                            <span class=\\"left\\"><span class=\\"glyphicon glyphicon-envelope\\" aria-hidden=\\"true\\"></span></span>\r\n                            <span class=\\"right\\"><span class=\\"item\\">E-mail：</span>\r\n                            <br>\r\n                            <a href=\\"mailto:({$article.<~_mode~>[0].email})\\">({$article.<~_mode~>[0].email})</a>\r\n                            </span>\r\n                        </li>\r\n                    </ul>\r\n                </div>\r\n                <div class=\\"map\\">\r\n                    ({$article.<~_mode~>[0].google_map})\r\n                </div>\r\n                <div class=\\"contact-note\\">* 為必填項目</div>\r\n                <div class=\\"form-box clearfix\\">\r\n                    <!-- 表單 -->\r\n                    <form action=\\"_form_mail.php?type=contant\\" method=\\"post\\">\r\n                        <div class=\\"opinion clearfix\\"> <span class=\\"opinion-left01\\">* 聯絡人</span>\r\n                            <input type=\\"text\\" name=\\"name\\" placeholder=\\"* 聯絡人\\" class=\\"input-main-style02\\" require tname=\\"聯絡人\\">\r\n                        </div>\r\n                        <div class=\\"opinion clearfix\\"> <span class=\\"opinion-left01\\">公司名稱</span>\r\n                            <input type=\\"text\\" name=\\"company\\" placeholder=\\"公司名稱\\" class=\\"input-main-style02\\">\r\n                        </div>\r\n                        <div class=\\"opinion clearfix\\"> <span class=\\"opinion-left01\\">統一編號</span>\r\n                            <input type=\\"text\\" name=\\"company_no\\" placeholder=\\"統一編號\\" class=\\"input-main-style02\\" isnum>\r\n                        </div>\r\n                        <div class=\\"opinion clearfix\\"> <span class=\\"opinion-left01\\">聯絡電話</span>\r\n                            <input type=\\"text\\" name=\\"phone\\" placeholder=\\"聯絡電話\\" class=\\"input-main-style02\\" isnum>\r\n                        </div>\r\n                        <div class=\\"opinion clearfix\\"> <span class=\\"opinion-left01\\">地址</span>\r\n                            <input type=\\"text\\" name=\\"address\\" placeholder=\\"地址\\" class=\\"input-main-style02\\">\r\n                        </div>\r\n                        <div class=\\"opinion clearfix\\"> <span class=\\"opinion-left01\\">* 行動電話</span>\r\n                            <input type=\\"text\\" name=\\"cellphone\\" placeholder=\\"* 行動電話\\" class=\\"input-main-style02\\" isnum require tname=\\"行動電話\\">\r\n                        </div>\r\n                        <div class=\\"opinion clearfix\\"> <span class=\\"opinion-left01\\">* 電子郵件</span>\r\n                            <input type=\\"text\\" name=\\"email\\" placeholder=\\"* 電子郵件\\" class=\\"input-main-style02\\" require tname=\\"電子郵件\\" regexp=\\"^\\\\w+((-\\\\w+)|(\\\\.\\\\w+))*\\\\@[A-Za-z0-9]+((\\\\.|-)[A-Za-z0-9]+)*\\\\.[A-Za-z]+$\\" regexp-msg=\\"電子郵件 欄位格式錯誤\\" require tname=\\"電子郵件\\">\r\n                        </div>\r\n                        <textarea rows=\\"5\\" class=\\"input-style01\\" type=\\"text\\" name=\\"msg\\" placeholder=\\"意見欄\\"></textarea>\r\n                        <div class=\\"opinion clearfix\\"> <span class=\\"opinion-left01\\">驗證碼</span>\r\n                            <input type=\\"text\\" name=\\"code\\" placeholder=\\"請輸入驗證碼\\" class=\\"input-main-style02 verifycode\\" size=\\"4\\" style=\\"width:20%;\\"><img src=\\"verifycode.php\\" width=\\"auto\\" height=\\"31\\" style=\\"margin-left:10px;\\" class=\\"code\\">\r\n                        </div>\r\n                        <div class=\\"cart-btn\\">\r\n                            <a href=\\"javascript:;\\" class=\\"btn-send\\" reset>重新填寫</a>\r\n                            <a href=\\"javascript:;\\" class=\\"btn-reset\\" submit>送出</a>\r\n                        </div>\r\n                    </form>\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <!-- 左欄 EDN -->\r\n    </div>\r\n</div>', '[BLOB]', 1, 1, '2017-02-21 10:56:08', '2017-02-21 12:41:26', 'vipadmin', 'vipadmin', '85107000.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(5, 'set_about', '一般文章-About(主題分類文章)', 'detail', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">關於我們</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                    <li><a href=\\"<~detail~>({$article.<~_mode~>[m0].main_url})\\" ({if $article.<~_mode~>[m0].id eq $data.one.id})class=\\"active\\"({/if})>({$article.<~_mode~>[m0].name})</a></li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n            <h3 class=\\"page-title\\">({$data.one.name})</h3>\r\n            <div class=\\"page-main\\">\r\n                ({$data.one.detail})\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\"><a href=\\"javascript:history.back();\\">回上一頁</a></div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n    </div>\r\n</div>', '[BLOB]', 3, 1, '2017-02-21 12:51:53', '2017-02-21 14:55:52', 'vipadmin', 'vipadmin', '67080900.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(6, 'set_about', '一般文章-About(多重主題分類文章)', 'detail', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">關於我們</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                        <li><a href=\\"javascript:;\\">({$article.<~_mode~>[m0].name})</a>\r\n                            <ul>\r\n                                ({section name=m1 loop=$article.<~_mode~>[m0].child})\r\n                                    <li><a href=\\"<~detail~>({$article.<~_mode~>[m0].child[m1].main_url})\\">({$article.<~_mode~>[m0].child[m1].name})</a></li>\r\n                                    ({/section})\r\n                            </ul>\r\n                        </li>\r\n                        ({/section})\r\n                </ul>\r\n            </div>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n            <h3 class=\\"page-title\\">({$data.one.name})</h3>\r\n            <div class=\\"page-main\\">\r\n                ({$data.one.detail})\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\"><a href=\\"javascript:history.back();\\">回上一頁</a></div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n    </div>\r\n    <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'menu1\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n                $(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass).parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n                    $(obj).show();\r\n                    if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n                });\r\n                $(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n</div>', '[BLOB]', 4, 1, '2017-02-21 15:05:39', '2017-02-22 17:45:36', 'vipadmin', 'vipadmin', '82654300.jpg', '', '148766073913.jpg');
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(7, 'set_about', '收合列表-Faq(單一列表)', 'detail', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">常見問答</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-100 col-m\\">\r\n            <!-- 右欄 -->\r\n            <div class=\\"faq\\" id=\\"qaContent\\">\r\n                <div class=\\"opacl\\"><a href=\\"#\\" class=\\"qa_showall\\">全部展開</a> | <a href=\\"#\\" class=\\"qa_hideall\\">全部收合</a></div>\r\n                <ul class=\\"accordionPart\\">\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                    <!-- 單筆消息 -->\r\n                    <li>\r\n                        <div class=\\"qa_title\\"><a href=\\"javascript:;\\">({$article.<~_mode~>[m0].name})</a></div>\r\n                        <div class=\\"qa_content\\">({$article.<~_mode~>[m0].detail})\r\n                            <div align=\\"right\\"><a href=\\"#\\" class=\\"close_qa\\">[ 關閉 ]</a></div>\r\n                        </div>\r\n                    </li>\r\n                    <!-- 單筆消息 END -->\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n    </div>\r\n\r\n    <script type=\\"text/javascript\\">\r\n    $(function() {\r\n        // 幫 div.qa_title 加上 hover 及 click 事件\r\n        // 同時把兄弟元素 div.qa_content 隱藏起來\r\n        $(\\\'#qaContent ul.accordionPart li div.qa_title\\\').hover(function() {\r\n            $(this).addClass(\\\'qa_title_on\\\');\r\n        }, function() {\r\n            $(this).removeClass(\\\'qa_title_on\\\');\r\n        }).click(function() {\r\n            // 當點到標題時，若答案是隱藏時則顯示它；反之則隱藏\r\n            $(this).next(\\\'div.qa_content\\\').slideToggle();\r\n        }).siblings(\\\'div.qa_content\\\').hide();\r\n        // 全部展開\r\n        $(\\\'#qaContent .qa_showall\\\').click(function() {\r\n            $(\\\'#qaContent ul.accordionPart li div.qa_content\\\').slideDown();\r\n            return false;\r\n        });\r\n        // 全部隱藏\r\n        $(\\\'#qaContent .qa_hideall\\\').click(function() {\r\n            $(\\\'#qaContent ul.accordionPart li div.qa_content\\\').slideUp();\r\n            return false;\r\n        });\r\n        // 關閉\r\n        $(\\\'#qaContent .close_qa\\\').click(function() {\r\n            $(this).parents(\\\'.qa_content\\\').prev().click();\r\n            return false;\r\n        });\r\n    });\r\n    </script>\r\n</div>', '[BLOB]', 5, 1, '2017-02-21 17:32:03', '2017-02-21 18:00:31', 'vipadmin', 'vipadmin', '75951500.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(8, 'set_about', '收合列表-Faq(分頁列表)', 'detail', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">常見問答</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-100 col-m\\">\r\n            <!-- 右欄 -->\r\n            <div class=\\"faq\\" id=\\"qaContent\\">\r\n                <div class=\\"opacl\\"><a href=\\"#\\" class=\\"qa_showall\\">全部展開</a> | <a href=\\"#\\" class=\\"qa_hideall\\">全部收合</a></div>\r\n                <ul class=\\"accordionPart\\">\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                        <!-- 單筆消息 -->\r\n                        <li>\r\n                            <div class=\\"qa_title\\"><a href=\\"javascript:;\\">({$article.<~_mode~>[m0].name})</a></div>\r\n                            <div class=\\"qa_content\\">({$article.<~_mode~>[m0].detail})\r\n                                    <div align=\\"right\\"><a href=\\"#\\" class=\\"close_qa\\">[ 關閉 ]</a></div>\r\n                            </div>\r\n                        </li>\r\n                        <!-- 單筆消息 END -->\r\n                        ({/section})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$article_page.<~_mode~>.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n    </div>\r\n    <script type=\\"text/javascript\\">\r\n    $(function() {\r\n        // 幫 div.qa_title 加上 hover 及 click 事件\r\n        // 同時把兄弟元素 div.qa_content 隱藏起來\r\n        $(\\\'#qaContent ul.accordionPart li div.qa_title\\\').hover(function() {\r\n            $(this).addClass(\\\'qa_title_on\\\');\r\n        }, function() {\r\n            $(this).removeClass(\\\'qa_title_on\\\');\r\n        }).click(function() {\r\n            // 當點到標題時，若答案是隱藏時則顯示它；反之則隱藏\r\n            $(this).next(\\\'div.qa_content\\\').slideToggle();\r\n        }).siblings(\\\'div.qa_content\\\').hide();\r\n        // 全部展開\r\n        $(\\\'#qaContent .qa_showall\\\').click(function() {\r\n            $(\\\'#qaContent ul.accordionPart li div.qa_content\\\').slideDown();\r\n            return false;\r\n        });\r\n        // 全部隱藏\r\n        $(\\\'#qaContent .qa_hideall\\\').click(function() {\r\n            $(\\\'#qaContent ul.accordionPart li div.qa_content\\\').slideUp();\r\n            return false;\r\n        });\r\n        // 關閉\r\n        $(\\\'#qaContent .close_qa\\\').click(function() {\r\n            $(this).parents(\\\'.qa_content\\\').prev().click();\r\n            return false;\r\n        });\r\n    });\r\n    </script>\r\n</div>', '[BLOB]', 6, 1, '2017-02-21 18:07:49', '2017-02-21 18:18:20', 'vipadmin', 'vipadmin', '67397800.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(9, 'set_about', '收合列表-Faq(分類分頁列表)', 'detail', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">常見問答</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                    <li><a href=\\"<~detail~>({$article.<~_mode~>[m0].parent_url})\\">({$article.<~_mode~>[m0].name})</a></li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">({if $_GET.parent_id==null})({$article.<~_mode~>[0].name})({else})({$article_main.name})({/if})</h3>\r\n            <div class=\\"faq\\" id=\\"qaContent\\">\r\n                <div class=\\"opacl\\"><a href=\\"#\\" class=\\"qa_showall\\">全部展開</a> | <a href=\\"#\\" class=\\"qa_hideall\\">全部收合</a></div>\r\n                <ul class=\\"accordionPart\\">\r\n                    ({if $_GET.parent_id==null})\r\n                  \r\n                  ({section name=m1 loop=$article.<~_mode~>[0].child})\r\n                  <li>\r\n                        <!-- 單筆消息 -->\r\n                        <div class=\\"qa_title\\"><a href=\\"javascript:;\\">({$article.<~_mode~>[0].child[m1].name})</a></div>\r\n                        <div class=\\"qa_content\\"> ({$article.<~_mode~>[0].child[m1].detail})\r\n                            <div align=\\"right\\"><a href=\\"#\\" class=\\"close_qa\\">[ 關閉 ]</a></div>\r\n                        </div>\r\n                    </li>\r\n                    <!-- 單筆消息 END -->\r\n                  ({/section})\r\n                  \r\n                 ({else})\r\n                  \r\n                  ({section name=m0 loop=$article_parent})\r\n                    <li>\r\n                        <!-- 單筆消息 -->\r\n                        <div class=\\"qa_title\\"><a href=\\"javascript:;\\">({$article_parent[m0].name})</a></div>\r\n                        <div class=\\"qa_content\\"> ({$article_parent[m0].detail})\r\n                            <div align=\\"right\\"><a href=\\"#\\" class=\\"close_qa\\">[ 關閉 ]</a></div>\r\n                        </div>\r\n                    </li>\r\n                    <!-- 單筆消息 END -->\r\n                    ({/section})\r\n                  \r\n                 ({/if})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$article_parent_page.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n    </div>\r\n\r\n    <script type=\\"text/javascript\\">\r\n    $(function() {\r\n        // 幫 div.qa_title 加上 hover 及 click 事件\r\n        // 同時把兄弟元素 div.qa_content 隱藏起來\r\n        $(\\\'#qaContent ul.accordionPart li div.qa_title\\\').hover(function() {\r\n            $(this).addClass(\\\'qa_title_on\\\');\r\n        }, function() {\r\n            $(this).removeClass(\\\'qa_title_on\\\');\r\n        }).click(function() {\r\n            // 當點到標題時，若答案是隱藏時則顯示它；反之則隱藏\r\n            $(this).next(\\\'div.qa_content\\\').slideToggle();\r\n        }).siblings(\\\'div.qa_content\\\').hide();\r\n        // 全部展開\r\n        $(\\\'#qaContent .qa_showall\\\').click(function() {\r\n            $(\\\'#qaContent ul.accordionPart li div.qa_content\\\').slideDown();\r\n            return false;\r\n        });\r\n        // 全部隱藏\r\n        $(\\\'#qaContent .qa_hideall\\\').click(function() {\r\n            $(\\\'#qaContent ul.accordionPart li div.qa_content\\\').slideUp();\r\n            return false;\r\n        });\r\n        // 關閉\r\n        $(\\\'#qaContent .close_qa\\\').click(function() {\r\n            $(this).parents(\\\'.qa_content\\\').prev().click();\r\n            return false;\r\n        });\r\n    });\r\n    </script>\r\n    \r\n    <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n          \r\n</div>', '[BLOB]', 7, 1, '2017-02-21 18:29:05', '2017-02-23 17:04:31', 'vipadmin', 'vipadmin', '80424300.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(10, 'set_about', '最新消息-News(無分類)', 'list|__|detail', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">最新消息</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-100 col-m\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">最新消息</h3>\r\n            <div class=\\"news\\">\r\n                <ul class=\\"news-list\\">\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                    <li>\r\n                        <!-- 單筆消息 -->\r\n                        <span>({$article.<~_mode~>[m0].post_date})</span>\r\n                        <div class=\\"news-lis-cont\\"><a href=\\"<~detail~>({$article.<~_mode~>[m0].main_url})\\">({$article.<~_mode~>[m0].name})</a></div>\r\n                    </li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$article_page.<~_mode~>.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 EDN -->\r\n    </div>\r\n</div>|__|<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">最新消息</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-100 col-m\\">\r\n            <h3 class=\\"page-title\\">({$data.one.name})</h3>\r\n            <div class=\\"time\\">({$data.one.post_date})</div>\r\n            <div class=\\"page-main\\">\r\n                ({$data.one.detail})\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\"><a href=\\"javascript:history.back();\\">回上一頁</a></div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n    </div>\r\n</div>', '[BLOB]', 8, 1, '2017-02-22 00:59:08', '2017-02-22 01:11:57', 'vipadmin', 'vipadmin', '77170500.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(11, 'set_about', '最新消息-News(有分類, 有分頁)', 'list|__|detail', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">最新消息</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$article.<~_mode~>[m0].parent_url})\\">({$article.<~_mode~>[m0].name})</a></li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">({$article_main.name})</h3>\r\n            <div class=\\"news\\">\r\n                <ul class=\\"news-list\\">\r\n                    ({section name=m0 loop=$article_parent})\r\n                    <li>\r\n                        <!-- 單筆消息 -->\r\n                        <span>({$article_parent[m0].post_date})</span>\r\n                        <div class=\\"news-lis-cont\\"><a href=\\"<~detail~>({$article_parent[m0].main_url})\\">({$article_parent[m0].name})</a></div>\r\n                    </li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$article_parent_page.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 EDN -->\r\n    </div>\r\n      \r\n      <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n</div>|__|<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">最新消息</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$article.<~_mode~>[m0].parent_url})\\">({$article.<~_mode~>[m0].name})</a></li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n            <h3 class=\\"page-title\\">({$data.one.name})</h3>\r\n            <div class=\\"time\\">({$data.one.post_date})</div>\r\n            <div class=\\"page-main\\">\r\n                ({$data.one.detail})\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\"><a href=\\"javascript:history.back();\\">回上一頁</a></div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n    </div>\r\n</div>', '[BLOB]', 9, 1, '2017-02-22 01:29:00', '2017-02-23 17:06:36', 'vipadmin', 'vipadmin', '51958200.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(12, 'set_pro', '產品介紹-Product(分類簡介+所有產品)', 'list|__|detail|__|search', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">產品介紹</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"left-menu-title\\">\r\n                <div class=\\"search\\">\r\n                    <div class=\\"search-input\\">\r\n                        <input type=\\"text\\" placeholder=\\"產品關鍵字搜尋\\" id=\\"keyword\\"><a href=\\"javascript:;\\" onclick=\\"window.location.href=\\\'<~search~>&amp;keyword=\\\'+document.getElementById(\\\'keyword\\\').value\\"><span class=\\"glyphicon glyphicon-search\\" aria-hidden=\\"true\\"></span></a> </div>\r\n                </div>\r\n            </div>\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                  	({section name=m0 loop=$product_menu.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].cate_url})\\">({$product_menu.<~_mode~>[m0].name})<span class=\\"badge\\">({$product_menu.<~_mode~>[m0].child|@count})</span></a>\r\n                      ({if $product_menu.<~_mode~>[m0].child})  \r\n                      <ul>\r\n                          	({section name=m1 loop=$product_menu.<~_mode~>[m0].child})\r\n                            <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].child[m1].cate_url})\\">({$product_menu.<~_mode~>[m0].child[m1].name})</a></li>\r\n                          	({/section})\r\n                        </ul>\r\n                      ({/if})\r\n                    </li>\r\n                  	({/section})\r\n                </ul>\r\n            </div>\r\n                      \r\n            <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n        </div>\r\n        <div class=\\"cor-075\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">({$product_cate.name})</h3>\r\n            <div class=\\"pro-store-info\\">({$product_cate.detail})</div>\r\n            <div class=\\"pro-list\\">\r\n                <ul class=\\"clearfix\\">\r\n                  ({section name=m0 loop=$product.<~_mode~>})\r\n                    <li class=\\"clearfix\\">\r\n                        <!--商品 -->\r\n                        <div class=\\"pro-photo\\">\r\n                            <a href=\\"<~detail~>({$product.<~_mode~>[m0].main_url})\\"><img src=\\"({$product.<~_mode~>[m0].pic.0})\\" class=\\"index-pro-img\\" border=\\"0\\"></a>\r\n                        </div>\r\n                        <h4>({$product.<~_mode~>[m0].name})</h4>\r\n                        <span class=\\"index-pro-store\\">NT. ({$product.<~_mode~>[m0].price2})</span> <span class=\\"index-pro-price\\">NT. ({$product.<~_mode~>[m0].price2})</span>\r\n                        <div> <a href=\\"index.php?ban=shop_step01({$product.<~_mode~>[0].size_addpro_msg.0})\\" class=\\"cart\\"> + 購物車</a> <a href=\\"index.php?ban=shop_step01({$product.<~_mode~>[m0].size_addpro_url.0})\\" class=\\"check\\"> 直接購買</a> </div>\r\n                    </li>\r\n                    <!-- 商品 END -->\r\n                  ({/section})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$product_page.<~_mode~>.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 EDN -->\r\n    </div>\r\n</div>|__|<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">產品介紹</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"left-menu-title\\">\r\n                <div class=\\"search\\">\r\n                    <div class=\\"search-input\\">\r\n                        <input type=\\"text\\" placeholder=\\"產品關鍵字搜尋\\" id=\\"keyword\\">\r\n                        <a href=\\"javascript:;\\" onclick=\\"window.location.href=\\\'<~search~>&amp;keyword=\\\'+document.getElementById(\\\'keyword\\\').value\\"><img src=\\"images/btn-search.png\\"><span class=\\"glyphicon glyphicon-search\\" aria-hidden=\\"true\\"></span></a>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$product_menu.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].cate_url})\\">({$product_menu.<~_mode~>[m0].name})<span class=\\"badge\\">({$product_menu.<~_mode~>[m0].child|@count})</span></a>\r\n                      ({if $product_menu.<~_mode~>[m0].child})  \r\n                      <ul>\r\n                            ({section name=m1 loop=$product_menu.<~_mode~>[m0].child})\r\n                            <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].child[m1].cate_url})\\">({$product_menu.<~_mode~>[m0].child[m1].name})</a></li>\r\n                            ({/section})\r\n                        </ul>\r\n                      ({/if})\r\n                    </li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n                      \r\n                      <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">({$product_cate.name})</h3>\r\n            <div class=\\"pro-detaile clearfix\\">\r\n                <!-- 產品明細 -->\r\n                <h3 class=\\"pro-detaile-title\\">({$data.one.name})</h3>\r\n                <!-- 產品標題 -->\r\n                <div class=\\"clearfix\\">\r\n                    <!-- 明細上半區塊 -->\r\n                    <div class=\\"col-050 col-m\\">\r\n                        <!-- 明細區塊左邊  -->\r\n                        <div class=\\"pro-photo slider-wrap clearfix\\">\r\n                            <!-- 產品大圖 -->\r\n                            <div id=\\"main-photo-slider\\" class=\\"csw\\">\r\n                                <div class=\\"panelContainer\\">\r\n                                    ({section name=m2 loop=$data.one.pic})\r\n                                    <div class=\\"panel\\" title=\\"Panel ({$smarty.section.m2.index + 1})\\">\r\n                                        <div class=\\"wrapper\\"><img src=\\"({$data.one.pic[m2]})\\"></div>\r\n                                    </div>\r\n                                    ({/section})\r\n                                </div>\r\n                            </div>\r\n                            <div id=\\"movers-row\\">\r\n                                ({section name=m2 loop=$data.one.pic})\r\n                                <div>\r\n                                    <A class=cross-link href=\\"#({$smarty.section.m2.index + 1})\\"><img class=nav-thumb src=\\"({$data.one.pic[m2]})\\"></A>\r\n                                </div>\r\n                                ({/section})\r\n                            </div>\r\n                        </div>\r\n                        <!-- 產品大圖 END -->\r\n                    </div>\r\n                    <!-- 產品明細左欄 EDN -->\r\n                    <div class=\\"cor-050 col-m\\">\r\n                        <!-- 明細區塊右邊  -->\r\n                        <div class=\\"pro-list-date\\">上架時間 ({$data.one.create_date})</div>\r\n                        <!-- 上架時間 -->\r\n                        <div class=\\"pro-specification\\">\r\n                            <!-- 簡介 -->\r\n                            ({$data.one.memo})\r\n                        </div>\r\n                        <div class=\\"cart-info\\">\r\n                            <!-- 售價與購物車按鈕 -->\r\n                            <span class=\\"quantity\\"> 購買數量 \r\n                            <select name=\\"count\\">\r\n                              ({section name=m loop=10 start=1})\r\n                               <option value=\\"({$smarty.section.m.index})\\">({$smarty.section.m.index})</option>\r\n                                ({/section})\r\n                            </select>\r\n                            <br>\r\n                            <div class=\\"size clearfix\\">\r\n                              尺寸\r\n                              <select name=\\"size\\">\r\n                                ({section name=m3 loop=$data.one.stock_no})\r\n                                <option value=\\"({$data.one.stock_no[m3]})\\" href=\\"index.php?ban=shop_step01({$data.one.size_addpro_url[m3]})\\" color=\\"({$data.one.color[m3]})\\" price=\\"({$data.one.stock_price[m3]})\\">({$data.one.size[m3]})</option>\r\n                                ({/section})\r\n                              </select>\r\n                            </div>\r\n                              顏色<div wd_pro_color style=\\"width:30px; height:30px; display:inline-block; margin: auto 5px; background:({$data.one.color.0});\\" wd_pro_color></div>\r\n                            </span>\r\n                            <span class=\\"price\\">NT <span wd_pro_price>({$data.one.price2})</span></span>\r\n                            <div> <a href=\\"index.php?ban=shop_step01({$data.one.size_addpro_msg.0})\\" class=\\"cart\\" addmsgbtn> + 購物車</a> <a href=\\"index.php?ban=shop_step01({$data.one.size_addpro_url.0})\\" class=\\"check\\" addcarbtn> 直接購買</a> </div>\r\n                            <script>\r\n                            $(document).ready(function() {\r\n                                //--加入購物車\r\n                                $(\\\'[name=\\"size\\"],[name=\\"count\\"]\\\').bind(\\\'change\\\', function() {\r\n                                    $(\\\'[addcarbtn]\\\').attr(\\\'href\\\', $(\\\'[name=\\"size\\"] option:selected\\\').attr(\\\'href\\\') + \\\'&count=\\\' + $(\\\'[name=\\"count\\"] option:selected\\\').val());\r\n                                    $(\\\'[addmsgbtn]\\\').attr(\\\'href\\\', $(\\\'[name=\\"size\\"] option:selected\\\').attr(\\\'href\\\') + \\\'&count=\\\' + $(\\\'[name=\\"count\\"] option:selected\\\').val() + \\\'&addmsg=\\\');\r\n                                    //--更換顏色\r\n                                    $(\\\'[wd_pro_color]\\\').css(\\\'background\\\', $(\\\'[name=\\"size\\"] option:selected\\\').attr(\\\'color\\\'));\r\n                                    //--更換金額顯示\r\n                                    $(\\\'[wd_pro_price]\\\').html($(\\\'[name=\\"size\\"] option:selected\\\').attr(\\\'price\\\') * $(\\\'[name=\\"count\\"] option:selected\\\').val());\r\n                                });\r\n                            });\r\n                            </script>\r\n                        </div>\r\n                    </div>\r\n                    <!-- 明細區塊右邊 END  -->\r\n                </div>\r\n                <!-- 產品明細上半區塊 -->\r\n                <h3 class=\\"pro-introduce\\">商品介紹</h3>\r\n                <div class=\\"pro-content\\">\r\n                    <!-- 產品內文 -->\r\n                    ({$data.one.detail})\r\n                </div>\r\n                <!-- 產品內文 END -->\r\n                <!-- 頁次模組 -->\r\n                <div class=\\"page\\"><a href=\\"javascript:history.back();\\">回上一頁</a></div>\r\n            </div>\r\n            <!-- 產品明細 END  -->\r\n        </div>\r\n        <!-- 右邊區塊 -->\r\n    </div>\r\n    <script src=\\"js/jquery-easingpack.js\\"></script>\r\n    <script src=\\"js/jquery-easing-compatibilitypack.js\\"></script>\r\n    <script src=\\"js/coda-sliderpack.js\\"></script>\r\n    <script type=text/javascript>\r\n    var theInt = null;\r\n    var $crosslink, $navthumb;\r\n    var curclicked = 0;\r\n\r\n    theInterval = function(cur) {\r\n        clearInterval(theInt);\r\n\r\n        if (typeof cur != \\\'undefined\\\')\r\n            curclicked = cur;\r\n\r\n        $crosslink.removeClass(\\"active-thumb\\");\r\n        $navthumb.eq(curclicked).parent().addClass(\\"active-thumb\\");\r\n        $(\\".stripNav ul li a\\").eq(curclicked).trigger(\\\'click\\\');\r\n\r\n        theInt = setInterval(function() {\r\n            $crosslink.removeClass(\\"active-thumb\\");\r\n            $navthumb.eq(curclicked).parent().addClass(\\"active-thumb\\");\r\n            $(\\".stripNav ul li a\\").eq(curclicked).trigger(\\\'click\\\');\r\n            curclicked++;\r\n            if (6 == curclicked)\r\n                curclicked = 0;\r\n\r\n        }, 30000);\r\n    };\r\n\r\n    $(function() {\r\n\r\n        $(\\"#main-photo-slider\\").codaSlider();\r\n\r\n        $navthumb = $(\\".nav-thumb\\");\r\n        $crosslink = $(\\".cross-link\\");\r\n\r\n        $navthumb\r\n            .click(function() {\r\n                var $this = $(this);\r\n                theInterval($this.parent().attr(\\\'href\\\').slice(1) - 1);\r\n                return false;\r\n            });\r\n\r\n        theInterval();\r\n    });\r\n    </script>\r\n</div>|__|<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">產品介紹</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"left-menu-title\\">\r\n                <div class=\\"search\\">\r\n                    <div class=\\"search-input\\" >\r\n                        <input type=\\"text\\" placeholder=\\"產品關鍵字搜尋\\" id=\\"keyword\\"><a href=\\"javascript:;\\" onclick=\\"window.location.href=\\\'<~search~>&amp;keyword=\\\'+document.getElementById(\\\'keyword\\\').value\\"><span class=\\"glyphicon glyphicon-search\\" aria-hidden=\\"true\\"></span></a> </div>\r\n                </div>\r\n            </div>\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$product_menu.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].cate_url})\\">({$product_menu.<~_mode~>[m0].name})<span class=\\"badge\\">({$product_menu.<~_mode~>[m0].child|@count})</span></a>\r\n                        ({if $product_menu.<~_mode~>[m0].child})\r\n                        <ul>\r\n                            ({section name=m1 loop=$product_menu.<~_mode~>[m0].child})\r\n                            <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].child[m1].cate_url})\\">({$product_menu.<~_mode~>[m0].child[m1].name})</a></li>\r\n                            ({/section})\r\n                        </ul>\r\n                        ({/if})\r\n                    </li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n                      \r\n                      <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n        </div>\r\n        <div class=\\"cor-075\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">產品搜尋結果</h3>\r\n            <div class=\\"pro-search-info\\">產品搜尋 \\" ({$product_search_keyword}) \\" 結果</div>\r\n            <div class=\\"pro-list\\">\r\n                <ul class=\\"clearfix\\">\r\n                    ({section name=m0 loop=$product.<~_mode~>})\r\n                    <li class=\\"clearfix\\">\r\n                        <!--商品 -->\r\n                        <div class=\\"pro-photo\\">\r\n                            <a href=\\"<~detail~>({$product.<~_mode~>[m0].main_url})\\"><img src=\\"({$product.<~_mode~>[m0].pic.0})\\" class=\\"index-pro-img\\" border=\\"0\\"></a>\r\n                        </div>\r\n                        <h4>({$product.<~_mode~>[m0].name})</h4>\r\n                        <span class=\\"index-pro-store\\">NT. ({$product.<~_mode~>[m0].price2})</span> <span class=\\"index-pro-price\\">NT. ({$product.<~_mode~>[m0].price2})</span>\r\n                        <div> <a href=\\"index.php?ban=shop_step01({$product.<~_mode~>[m0].size_addpro_msg.0})\\" class=\\"cart\\"> + 購物車</a> <a href=\\"index.php?ban=shop_step01({$product.<~_mode~>[m0].size_addpro_url.0})\\" class=\\"check\\"> 直接購買</a> </div>\r\n                    </li>\r\n                    <!-- 商品 END -->\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$product_page.<~_mode~>.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 EDN -->\r\n    </div>\r\n</div>', '[BLOB]', 10, 1, '2017-02-22 12:22:17', '2017-02-23 17:08:08', 'vipadmin', 'vipadmin', '64442100.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(13, 'set_pro', '產品介紹-Product(分類簡介+下層分類)', 'list|__|list_sub|__|detail|__|search', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">產品介紹</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"left-menu-title\\">\r\n                <div class=\\"search\\">\r\n                    <div class=\\"search-input\\">\r\n                        <input type=\\"text\\" placeholder=\\"產品關鍵字搜尋\\" id=\\"keyword\\"><a href=\\"javascript:;\\" onclick=\\"window.location.href=\\\'<~search~>&amp;keyword=\\\'+document.getElementById(\\\'keyword\\\').value\\"><span class=\\"glyphicon glyphicon-search\\" aria-hidden=\\"true\\"></span></a> </div>\r\n                </div>\r\n            </div>\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$product_menu.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].cate_url})\\">({$product_menu.<~_mode~>[m0].name})<span class=\\"badge\\">({$product_menu.<~_mode~>[m0].child|@count})</span></a>                      \r\n                    </li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n                      \r\n            <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n        </div>\r\n        <div class=\\"cor-075\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">({if $_GET.parent_id==null})({$product_menu.<~_mode~>[0].name})({else})({$product_cate.name})({/if})</h3>\r\n            <div class=\\"pro-store-info\\">({if $_GET.parent_id==null})({$product_menu.<~_mode~>[0].detail})({else})({$product_cate.detail})({/if})</div>\r\n            <div class=\\"pro-list\\">\r\n                <ul class=\\"clearfix\\">\r\n                  \r\n                  ({if $_GET.parent_id==null})\r\n                  \r\n                  ({section name=m1 loop=$product_menu.<~_mode~>[0].child})\r\n                  <li class=\\"clearfix\\">\r\n                        <!--商品 -->\r\n                        <div class=\\"pro-photo\\">\r\n                            <a href=\\"<~list_sub~>({$product_menu.<~_mode~>[0].child[m1].cate_url})\\"><img src=\\"({$product_menu.<~_mode~>[0].child[m1].pic.0}) \\" class=\\"index-pro-img\\" border=\\"0\\"></a>\r\n                        </div>\r\n                        <h4>({$product_menu.<~_mode~>[0].child[m1].name})</h4>\r\n                    </li>\r\n                    <!-- 商品 END -->\r\n                  ({/section})\r\n                  \r\n                  ({else})\r\n                  \r\n                   ({section name=m0 loop=$product_cate.child})\r\n                    <li class=\\"clearfix\\">\r\n                        <!--商品 -->\r\n                        <div class=\\"pro-photo\\">\r\n                            <a href=\\"<~list_sub~>({$product_cate.child[m0].cate_url})\\"><img src=\\"({$product_cate.child[m0].pic.0})\\" class=\\"index-pro-img\\" border=\\"0\\"></a>\r\n                        </div>\r\n                        <h4>({$product_cate.child[m0].name})</h4>\r\n                    </li>\r\n                    <!-- 商品 END -->\r\n                  ({/section})\r\n                  \r\n                 ({/if})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$product_page.product_cate.child.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 EDN -->\r\n    </div>\r\n</div>|__|<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">產品介紹</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"left-menu-title\\">\r\n                <div class=\\"search\\">\r\n                    <div class=\\"search-input\\">\r\n                        <input type=\\"text\\" placeholder=\\"產品關鍵字搜尋\\" id=\\"keyword\\"><a href=\\"javascript:;\\" onclick=\\"window.location.href=\\\'<~search~>&amp;keyword=\\\'+document.getElementById(\\\'keyword\\\').value\\"><span class=\\"glyphicon glyphicon-search\\" aria-hidden=\\"true\\"></span></a> </div>\r\n                </div>\r\n            </div>\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                  	({section name=m0 loop=$product_menu.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].cate_url})\\">({$product_menu.<~_mode~>[m0].name})<span class=\\"badge\\">({$product_menu.<~_mode~>[m0].child|@count})</span></a>                      \r\n                    </li>\r\n                  	({/section})\r\n                </ul>\r\n            </div>\r\n                      \r\n            <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n        </div>\r\n        <div class=\\"cor-075\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">({$product_cate.name})</h3>\r\n            <div class=\\"pro-store-info\\">({$product_cate.detail})</div>\r\n            <div class=\\"pro-list\\">\r\n                <ul class=\\"clearfix\\">\r\n                   ({section name=m0 loop=$product.<~_mode~>})\r\n                    <li class=\\"clearfix\\">\r\n                        <!--商品 -->\r\n                        <div class=\\"pro-photo\\">\r\n                            <a href=\\"<~detail~>({$product.<~_mode~>[m0].main_url})\\"><img src=\\"({$product.<~_mode~>[m0].pic.0})\\" class=\\"index-pro-img\\" border=\\"0\\"></a>\r\n                        </div>\r\n                        <h4>({$product.<~_mode~>[m0].name})</h4>\r\n                      	<span class=\\"index-pro-store\\">NT. ({$product.<~_mode~>[m0].price2})</span> <span class=\\"index-pro-price\\">NT. ({$product.<~_mode~>[m0].price2})</span>\r\n                        <div> <a href=\\"index.php?ban=shop_step01({$product.<~_mode~>[0].size_addpro_msg.0})\\" class=\\"cart\\"> + 購物車</a> <a href=\\"index.php?ban=shop_step01({$product.<~_mode~>[m0].size_addpro_url.0})\\" class=\\"check\\"> 直接購買</a> </div>\r\n                    </li>\r\n                    <!-- 商品 END -->\r\n                  ({/section})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$product_page.<~_mode~>.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 EDN -->\r\n    </div>\r\n</div>|__|<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">產品介紹</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"left-menu-title\\">\r\n                <div class=\\"search\\">\r\n                    <div class=\\"search-input\\">\r\n                        <input type=\\"text\\" placeholder=\\"產品關鍵字搜尋\\" id=\\"keyword\\">\r\n                        <a href=\\"javascript:;\\" onclick=\\"window.location.href=\\\'<~search~>&amp;keyword=\\\'+document.getElementById(\\\'keyword\\\').value\\"><img src=\\"images/btn-search.png\\"><span class=\\"glyphicon glyphicon-search\\" aria-hidden=\\"true\\"></span></a>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$product_menu.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].cate_url})\\">({$product_menu.<~_mode~>[m0].name})<span class=\\"badge\\">({$product_menu.<~_mode~>[m0].child|@count})</span></a>\r\n                    </li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n                      \r\n                      <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">({$product_cate.name})</h3>\r\n            <div class=\\"pro-detaile clearfix\\">\r\n                <!-- 產品明細 -->\r\n                <h3 class=\\"pro-detaile-title\\">({$data.one.name})</h3>\r\n                <!-- 產品標題 -->\r\n                <div class=\\"clearfix\\">\r\n                    <!-- 明細上半區塊 -->\r\n                    <div class=\\"col-050 col-m\\">\r\n                        <!-- 明細區塊左邊  -->\r\n                        <div class=\\"pro-photo slider-wrap clearfix\\">\r\n                            <!-- 產品大圖 -->\r\n                            <div id=\\"main-photo-slider\\" class=\\"csw\\">\r\n                                <div class=\\"panelContainer\\">\r\n                                    ({section name=m2 loop=$data.one.pic})\r\n                                    <div class=\\"panel\\" title=\\"Panel ({$smarty.section.m2.index + 1})\\">\r\n                                        <div class=\\"wrapper\\"><img src=\\"({$data.one.pic[m2]})\\"></div>\r\n                                    </div>\r\n                                    ({/section})\r\n                                </div>\r\n                            </div>\r\n                            <div id=\\"movers-row\\">\r\n                                ({section name=m2 loop=$data.one.pic})\r\n                                <div>\r\n                                    <A class=cross-link href=\\"#({$smarty.section.m2.index + 1})\\"><img class=nav-thumb src=\\"({$data.one.pic[m2]})\\"></A>\r\n                                </div>\r\n                                ({/section})\r\n                            </div>\r\n                        </div>\r\n                        <!-- 產品大圖 END -->\r\n                    </div>\r\n                    <!-- 產品明細左欄 EDN -->\r\n                    <div class=\\"cor-050 col-m\\">\r\n                        <!-- 明細區塊右邊  -->\r\n                        <div class=\\"pro-list-date\\">上架時間 ({$data.one.create_date})</div>\r\n                        <!-- 上架時間 -->\r\n                        <div class=\\"pro-specification\\">\r\n                            <!-- 簡介 -->\r\n                            ({$data.one.memo})\r\n                        </div>\r\n                        <div class=\\"cart-info\\">\r\n                            <!-- 售價與購物車按鈕 -->\r\n                            <span class=\\"quantity\\"> 購買數量 \r\n                            <select name=\\"count\\">\r\n                              ({section name=m loop=10 start=1})\r\n                               <option value=\\"({$smarty.section.m.index})\\">({$smarty.section.m.index})</option>\r\n                                ({/section})\r\n                            </select>\r\n                            <br>\r\n                            <div class=\\"size clearfix\\">\r\n                              尺寸\r\n                              <select name=\\"size\\">\r\n                                ({section name=m3 loop=$data.one.stock_no})\r\n                                <option value=\\"({$data.one.stock_no[m3]})\\" href=\\"index.php?ban=shop_step01({$data.one.size_addpro_url[m3]})\\" color=\\"({$data.one.color[m3]})\\" price=\\"({$data.one.stock_price[m3]})\\">({$data.one.size[m3]})</option>\r\n                                ({/section})\r\n                              </select>\r\n                            </div>\r\n                              顏色<div wd_pro_color style=\\"width:30px; height:30px; display:inline-block; margin: auto 5px; background:({$data.one.color.0});\\" wd_pro_color></div>\r\n                            </span>\r\n                            <span class=\\"price\\">NT <span wd_pro_price>({$data.one.price2})</span></span>\r\n                            <div> <a href=\\"index.php?ban=shop_step01({$data.one.size_addpro_msg.0})\\" class=\\"cart\\" addmsgbtn> + 購物車</a> <a href=\\"index.php?ban=shop_step01({$data.one.size_addpro_url.0})\\" class=\\"check\\" addcarbtn> 直接購買</a> </div>\r\n                            <script>\r\n                            $(document).ready(function() {\r\n                                //--加入購物車\r\n                                $(\\\'[name=\\"size\\"],[name=\\"count\\"]\\\').bind(\\\'change\\\', function() {\r\n                                    $(\\\'[addcarbtn]\\\').attr(\\\'href\\\', $(\\\'[name=\\"size\\"] option:selected\\\').attr(\\\'href\\\') + \\\'&count=\\\' + $(\\\'[name=\\"count\\"] option:selected\\\').val());\r\n                                    $(\\\'[addmsgbtn]\\\').attr(\\\'href\\\', $(\\\'[name=\\"size\\"] option:selected\\\').attr(\\\'href\\\') + \\\'&count=\\\' + $(\\\'[name=\\"count\\"] option:selected\\\').val() + \\\'&addmsg=\\\');\r\n                                    //--更換顏色\r\n                                    $(\\\'[wd_pro_color]\\\').css(\\\'background\\\', $(\\\'[name=\\"size\\"] option:selected\\\').attr(\\\'color\\\'));\r\n                                    //--更換金額顯示\r\n                                    $(\\\'[wd_pro_price]\\\').html($(\\\'[name=\\"size\\"] option:selected\\\').attr(\\\'price\\\') * $(\\\'[name=\\"count\\"] option:selected\\\').val());\r\n                                });\r\n                            });\r\n                            </script>\r\n                        </div>\r\n                    </div>\r\n                    <!-- 明細區塊右邊 END  -->\r\n                </div>\r\n                <!-- 產品明細上半區塊 -->\r\n                <h3 class=\\"pro-introduce\\">商品介紹</h3>\r\n                <div class=\\"pro-content\\">\r\n                    <!-- 產品內文 -->\r\n                    ({$data.one.detail})\r\n                </div>\r\n                <!-- 產品內文 END -->\r\n                <!-- 頁次模組 -->\r\n                <div class=\\"page\\"><a href=\\"javascript:history.back();\\">回上一頁</a></div>\r\n            </div>\r\n            <!-- 產品明細 END  -->\r\n        </div>\r\n        <!-- 右邊區塊 -->\r\n    </div>\r\n    <script src=\\"js/jquery-easingpack.js\\"></script>\r\n    <script src=\\"js/jquery-easing-compatibilitypack.js\\"></script>\r\n    <script src=\\"js/coda-sliderpack.js\\"></script>\r\n    <script type=text/javascript>\r\n    var theInt = null;\r\n    var $crosslink, $navthumb;\r\n    var curclicked = 0;\r\n\r\n    theInterval = function(cur) {\r\n        clearInterval(theInt);\r\n\r\n        if (typeof cur != \\\'undefined\\\')\r\n            curclicked = cur;\r\n\r\n        $crosslink.removeClass(\\"active-thumb\\");\r\n        $navthumb.eq(curclicked).parent().addClass(\\"active-thumb\\");\r\n        $(\\".stripNav ul li a\\").eq(curclicked).trigger(\\\'click\\\');\r\n\r\n        theInt = setInterval(function() {\r\n            $crosslink.removeClass(\\"active-thumb\\");\r\n            $navthumb.eq(curclicked).parent().addClass(\\"active-thumb\\");\r\n            $(\\".stripNav ul li a\\").eq(curclicked).trigger(\\\'click\\\');\r\n            curclicked++;\r\n            if (6 == curclicked)\r\n                curclicked = 0;\r\n\r\n        }, 30000);\r\n    };\r\n\r\n    $(function() {\r\n\r\n        $(\\"#main-photo-slider\\").codaSlider();\r\n\r\n        $navthumb = $(\\".nav-thumb\\");\r\n        $crosslink = $(\\".cross-link\\");\r\n\r\n        $navthumb\r\n            .click(function() {\r\n                var $this = $(this);\r\n                theInterval($this.parent().attr(\\\'href\\\').slice(1) - 1);\r\n                return false;\r\n            });\r\n\r\n        theInterval();\r\n    });\r\n    </script>\r\n</div>|__|<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">產品介紹</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"left-menu-title\\">\r\n                <div class=\\"search\\">\r\n                    <div class=\\"search-input\\" >\r\n                        <input type=\\"text\\" placeholder=\\"產品關鍵字搜尋\\" id=\\"keyword\\"><a href=\\"javascript:;\\" onclick=\\"window.location.href=\\\'<~search~>&amp;keyword=\\\'+document.getElementById(\\\'keyword\\\').value\\"><span class=\\"glyphicon glyphicon-search\\" aria-hidden=\\"true\\"></span></a> </div>\r\n                </div>\r\n            </div>\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$product_menu.<~_mode~>})\r\n                    <li><a href=\\"<~list~>({$product_menu.<~_mode~>[m0].cate_url})\\">({$product_menu.<~_mode~>[m0].name})<span class=\\"badge\\">({$product_menu.<~_mode~>[m0].child|@count})</span></a>\r\n                    </li>\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n                      \r\n                      <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n        </div>\r\n        <div class=\\"cor-075\\">\r\n            <!-- 右欄 -->\r\n            <h3 class=\\"page-title\\">產品搜尋結果</h3>\r\n            <div class=\\"pro-search-info\\">產品搜尋 \\" ({$product_search_keyword}) \\" 結果</div>\r\n            <div class=\\"pro-list\\">\r\n                <ul class=\\"clearfix\\">\r\n                    ({section name=m0 loop=$product.<~_mode~>})\r\n                    <li class=\\"clearfix\\">\r\n                        <!--商品 -->\r\n                        <div class=\\"pro-photo\\">\r\n                            <a href=\\"<~detail~>({$product.<~_mode~>[m0].main_url})\\"><img src=\\"({$product.<~_mode~>[m0].pic.0})\\" class=\\"index-pro-img\\" border=\\"0\\"></a>\r\n                        </div>\r\n                        <h4>({$product.<~_mode~>[m0].name})</h4>\r\n                        <span class=\\"index-pro-store\\">NT. ({$product.<~_mode~>[m0].price2})</span> <span class=\\"index-pro-price\\">NT. ({$product.<~_mode~>[m0].price2})</span>\r\n                        <div> <a href=\\"index.php?ban=shop_step01({$product.<~_mode~>[m0].size_addpro_msg.0})\\" class=\\"cart\\"> + 購物車</a> <a href=\\"index.php?ban=shop_step01({$product.<~_mode~>[m0].size_addpro_url.0})\\" class=\\"check\\"> 直接購買</a> </div>\r\n                    </li>\r\n                    <!-- 商品 END -->\r\n                    ({/section})\r\n                </ul>\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$product_page.<~_mode~>.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 EDN -->\r\n    </div>\r\n</div>', '[BLOB]', 11, 1, '2017-02-23 01:23:56', '2017-02-23 17:02:21', 'vipadmin', 'vipadmin', '87528900.jpg', '', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(14, 'set_about', '照片集-Photos(無分類, 多頁)', 'gallery', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">圖片集</div>\r\n  </div>\r\n\r\n  <div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n     \r\n      <script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox.js?v=2.1.5\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-buttons.js?v=1.0.5\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-thumbs.js?v=1.0.7\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-media.js?v=1.0.6\\"></script>\r\n	<script type=\\"text/javascript\\">\r\n		$(document).ready(function() {\r\n			/*\r\n			 *  Simple image gallery. Uses default settings\r\n			 */\r\n\r\n			$(\\\'.fancybox\\\').fancybox();\r\n\r\n			/*\r\n			 *  Different effects\r\n			 */\r\n\r\n			// Change title type, overlay closing speed\r\n			$(\\".fancybox-effects-a\\").fancybox({\r\n				helpers: {\r\n					title : {\r\n						type : \\\'outside\\\'\r\n					},\r\n					overlay : {\r\n						speedOut : 0\r\n					}\r\n				}\r\n			});\r\n\r\n			// Disable opening and closing animations, change title type\r\n			$(\\".fancybox-effects-b\\").fancybox({\r\n				openEffect  : \\\'none\\\',\r\n				closeEffect	: \\\'none\\\',\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'over\\\'\r\n					}\r\n				}\r\n			});\r\n\r\n			// Set custom style, close if clicked, change title type and overlay color\r\n			$(\\".fancybox-effects-c\\").fancybox({\r\n				wrapCSS    : \\\'fancybox-custom\\\',\r\n				closeClick : true,\r\n\r\n				openEffect : \\\'none\\\',\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'inside\\\'\r\n					},\r\n					overlay : {\r\n						css : {\r\n							\\\'background\\\' : \\\'rgba(238,238,238,0.85)\\\'\r\n						}\r\n					}\r\n				}\r\n			});\r\n\r\n			// Remove padding, set opening and closing animations, close if clicked and disable overlay\r\n			$(\\".fancybox-effects-d\\").fancybox({\r\n				padding: 0,\r\n\r\n				openEffect : \\\'elastic\\\',\r\n				openSpeed  : 150,\r\n\r\n				closeEffect : \\\'elastic\\\',\r\n				closeSpeed  : 150,\r\n\r\n				closeClick : true,\r\n\r\n				helpers : {\r\n					overlay : null\r\n				}\r\n			});\r\n\r\n			/*\r\n			 *  Button helper. Disable animations, hide close button, change title type and content\r\n			 */\r\n\r\n			$(\\\'.fancybox-buttons\\\').fancybox({\r\n				openEffect  : \\\'none\\\',\r\n				closeEffect : \\\'none\\\',\r\n\r\n				prevEffect : \\\'none\\\',\r\n				nextEffect : \\\'none\\\',\r\n\r\n				closeBtn  : false,\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'inside\\\'\r\n					},\r\n					buttons	: {}\r\n				},\r\n\r\n				afterLoad : function() {\r\n					this.title = \\\'Image \\\' + (this.index + 1) + \\\' of \\\' + this.group.length + (this.title ? \\\' - \\\' + this.title : \\\'\\\');\r\n				}\r\n			});\r\n\r\n\r\n			/*\r\n			 *  Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked\r\n			 */\r\n\r\n			$(\\\'.fancybox-thumbs\\\').fancybox({\r\n				prevEffect : \\\'none\\\',\r\n				nextEffect : \\\'none\\\',\r\n\r\n				closeBtn  : false,\r\n				arrows    : false,\r\n				nextClick : true,\r\n\r\n				helpers : {\r\n					thumbs : {\r\n						width  : 50,\r\n						height : 50\r\n					}\r\n				}\r\n			});\r\n\r\n			/*\r\n			 *  Media helper. Group items, disable animations, hide arrows, enable media and button helpers.\r\n			*/\r\n			$(\\\'.fancybox-media\\\')\r\n				.attr(\\\'rel\\\', \\\'media-gallery\\\')\r\n				.fancybox({\r\n					openEffect : \\\'none\\\',\r\n					closeEffect : \\\'none\\\',\r\n					prevEffect : \\\'none\\\',\r\n					nextEffect : \\\'none\\\',\r\n\r\n					arrows : false,\r\n					helpers : {\r\n						media : {},\r\n						buttons : {}\r\n					}\r\n				});\r\n\r\n			/*\r\n			 *  Open manually\r\n			 */\r\n\r\n			$(\\"#fancybox-manual-a\\").click(function() {\r\n				$.fancybox.open(\\\'1_b.jpg\\\');\r\n			});\r\n\r\n			$(\\"#fancybox-manual-b\\").click(function() {\r\n				$.fancybox.open({\r\n					href : \\\'iframe.html\\\',\r\n					type : \\\'iframe\\\',\r\n					padding : 5\r\n				});\r\n			});\r\n\r\n			$(\\"#fancybox-manual-c\\").click(function() {\r\n				$.fancybox.open([\r\n					{\r\n						href : \\\'1_b.jpg\\\',\r\n						title : \\\'My title\\\'\r\n					}, {\r\n						href : \\\'2_b.jpg\\\',\r\n						title : \\\'2nd title\\\'\r\n					}, {\r\n						href : \\\'3_b.jpg\\\'\r\n					}\r\n				], {\r\n					helpers : {\r\n						thumbs : {\r\n							width: 75,\r\n							height: 50\r\n						}\r\n					}\r\n				});\r\n			});\r\n		});\r\n	</script>\r\n     \r\n     <div class=\\"co1-100 col-m\\">\r\n          <div class=\\"photo-gallery\\">\r\n	<link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox.css?v=2.1.5\\" media=\\"screen\\" />\r\n	<link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox-buttons.css?v=1.0.5\\" />\r\n	<link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox-thumbs.css?v=1.0.7\\" />\r\n            \r\n    <link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/lightbox.css\\" />\r\n            \r\n	<style type=\\"text/css\\">\r\n		.fancybox-custom .fancybox-skin {\r\n			box-shadow: 0 0 50px #222;\r\n		}\r\n	</style>\r\n    ({section name=m0 loop=$article.<~_mode~>})\r\n          <div class=\\"lightbox\\">\r\n            <img src=\\" ({$article.<~_mode~>[m0].pic.0})\\" alt=\\"\\" />\r\n            <div class=\\"hover-overlay\\"></div>\r\n            <div class=\\"hover-icons\\"><a class=\\"fancybox\\" href=\\" ({$article.<~_mode~>[m0].pic.0})\\" data-fancybox-group=\\"gallery\\"><img src=\\"gallery_set/images/icon-zoom.png\\" title=\\"放大\\" alt=\\"放大\\" /></a></div>\r\n          </div>\r\n({/section})\r\n          \r\n        </div>\r\n     \r\n        <!-- 頁次模組 -->\r\n       <div class=\\"page\\">({$article_page.gallery.wd_rwd_page})</div>      \r\n      </div> <!-- 右欄 END -->\r\n      \r\n      \r\n    </div>\r\n  </div>', '[BLOB]', 12, 1, '2017-02-23 04:46:07', '2017-03-01 10:02:09', 'vipadmin', 'vipadmin', '43866700.jpg', 'exampleban/js/jquery.fancybox.jsexampleban|__|exampleban/js/jquery.fancybox-buttons.js|__|exampleban/js/jquery.fancybox-thumbs.js|__|exampleban/js/jquery.fancybox-media.js|__|exampleban/css/jquery.fancybox.css|__|exampleban/css/jquery.fancybox-buttons.css|__|exampleban/css/jquery.fancybox-thumbs.css|__|exampleban/css/lightbox.css|__|exampleban/images/icon-zoom.png|__|exampleban/images/fancybox/fancybox_sprite.png|__|exampleban/images/fancybox/fancybox_overlay.png', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(15, 'set_about', '照片集-Photos(無分類, 單頁)', 'gallery', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">圖片集</div>\r\n  </div>\r\n\r\n  <div class=\\"main clearfix\\">\r\n    <div class=\\"content-body\\">\r\n     \r\n      <script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox.js?v=2.1.5\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-buttons.js?v=1.0.5\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-thumbs.js?v=1.0.7\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-media.js?v=1.0.6\\"></script>\r\n	<script type=\\"text/javascript\\">\r\n		$(document).ready(function() {\r\n			/*\r\n			 *  Simple image gallery. Uses default settings\r\n			 */\r\n\r\n			$(\\\'.fancybox\\\').fancybox();\r\n\r\n			/*\r\n			 *  Different effects\r\n			 */\r\n\r\n			// Change title type, overlay closing speed\r\n			$(\\".fancybox-effects-a\\").fancybox({\r\n				helpers: {\r\n					title : {\r\n						type : \\\'outside\\\'\r\n					},\r\n					overlay : {\r\n						speedOut : 0\r\n					}\r\n				}\r\n			});\r\n\r\n			// Disable opening and closing animations, change title type\r\n			$(\\".fancybox-effects-b\\").fancybox({\r\n				openEffect  : \\\'none\\\',\r\n				closeEffect	: \\\'none\\\',\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'over\\\'\r\n					}\r\n				}\r\n			});\r\n\r\n			// Set custom style, close if clicked, change title type and overlay color\r\n			$(\\".fancybox-effects-c\\").fancybox({\r\n				wrapCSS    : \\\'fancybox-custom\\\',\r\n				closeClick : true,\r\n\r\n				openEffect : \\\'none\\\',\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'inside\\\'\r\n					},\r\n					overlay : {\r\n						css : {\r\n							\\\'background\\\' : \\\'rgba(238,238,238,0.85)\\\'\r\n						}\r\n					}\r\n				}\r\n			});\r\n\r\n			// Remove padding, set opening and closing animations, close if clicked and disable overlay\r\n			$(\\".fancybox-effects-d\\").fancybox({\r\n				padding: 0,\r\n\r\n				openEffect : \\\'elastic\\\',\r\n				openSpeed  : 150,\r\n\r\n				closeEffect : \\\'elastic\\\',\r\n				closeSpeed  : 150,\r\n\r\n				closeClick : true,\r\n\r\n				helpers : {\r\n					overlay : null\r\n				}\r\n			});\r\n\r\n			/*\r\n			 *  Button helper. Disable animations, hide close button, change title type and content\r\n			 */\r\n\r\n			$(\\\'.fancybox-buttons\\\').fancybox({\r\n				openEffect  : \\\'none\\\',\r\n				closeEffect : \\\'none\\\',\r\n\r\n				prevEffect : \\\'none\\\',\r\n				nextEffect : \\\'none\\\',\r\n\r\n				closeBtn  : false,\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'inside\\\'\r\n					},\r\n					buttons	: {}\r\n				},\r\n\r\n				afterLoad : function() {\r\n					this.title = \\\'Image \\\' + (this.index + 1) + \\\' of \\\' + this.group.length + (this.title ? \\\' - \\\' + this.title : \\\'\\\');\r\n				}\r\n			});\r\n\r\n\r\n			/*\r\n			 *  Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked\r\n			 */\r\n\r\n			$(\\\'.fancybox-thumbs\\\').fancybox({\r\n				prevEffect : \\\'none\\\',\r\n				nextEffect : \\\'none\\\',\r\n\r\n				closeBtn  : false,\r\n				arrows    : false,\r\n				nextClick : true,\r\n\r\n				helpers : {\r\n					thumbs : {\r\n						width  : 50,\r\n						height : 50\r\n					}\r\n				}\r\n			});\r\n\r\n			/*\r\n			 *  Media helper. Group items, disable animations, hide arrows, enable media and button helpers.\r\n			*/\r\n			$(\\\'.fancybox-media\\\')\r\n				.attr(\\\'rel\\\', \\\'media-gallery\\\')\r\n				.fancybox({\r\n					openEffect : \\\'none\\\',\r\n					closeEffect : \\\'none\\\',\r\n					prevEffect : \\\'none\\\',\r\n					nextEffect : \\\'none\\\',\r\n\r\n					arrows : false,\r\n					helpers : {\r\n						media : {},\r\n						buttons : {}\r\n					}\r\n				});\r\n\r\n			/*\r\n			 *  Open manually\r\n			 */\r\n\r\n			$(\\"#fancybox-manual-a\\").click(function() {\r\n				$.fancybox.open(\\\'1_b.jpg\\\');\r\n			});\r\n\r\n			$(\\"#fancybox-manual-b\\").click(function() {\r\n				$.fancybox.open({\r\n					href : \\\'iframe.html\\\',\r\n					type : \\\'iframe\\\',\r\n					padding : 5\r\n				});\r\n			});\r\n\r\n			$(\\"#fancybox-manual-c\\").click(function() {\r\n				$.fancybox.open([\r\n					{\r\n						href : \\\'1_b.jpg\\\',\r\n						title : \\\'My title\\\'\r\n					}, {\r\n						href : \\\'2_b.jpg\\\',\r\n						title : \\\'2nd title\\\'\r\n					}, {\r\n						href : \\\'3_b.jpg\\\'\r\n					}\r\n				], {\r\n					helpers : {\r\n						thumbs : {\r\n							width: 75,\r\n							height: 50\r\n						}\r\n					}\r\n				});\r\n			});\r\n		});\r\n	</script>\r\n     \r\n     <div class=\\"co1-100 col-m\\">\r\n          <div class=\\"photo-gallery\\">\r\n	<link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox.css?v=2.1.5\\" media=\\"screen\\" />\r\n	<link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox-buttons.css?v=1.0.5\\" />\r\n	<link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox-thumbs.css?v=1.0.7\\" />\r\n            \r\n    <link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/lightbox.css\\" />\r\n            \r\n	<style type=\\"text/css\\">\r\n		.fancybox-custom .fancybox-skin {\r\n			box-shadow: 0 0 50px #222;\r\n		}\r\n	</style>\r\n    ({section name=m0 loop=$article.<~_mode~>})\r\n          <div class=\\"lightbox\\">\r\n            <img src=\\" ({$article.<~_mode~>[m0].pic.0})\\" alt=\\"\\" />\r\n            <div class=\\"hover-overlay\\"></div>\r\n            <div class=\\"hover-icons\\"><a class=\\"fancybox\\" href=\\" ({$article.<~_mode~>[m0].pic.0})\\" data-fancybox-group=\\"gallery\\"><img src=\\"gallery_set/images/icon-zoom.png\\" title=\\"放大\\" alt=\\"放大\\" /></a></div>\r\n          </div>\r\n({/section})\r\n          \r\n        </div>\r\n     \r\n       <div class=\\"bn_more_extend\\"><a href=\\"#\\">更多照片</a></div>\r\n      </div> <!-- 右欄 END -->\r\n      \r\n      \r\n    </div>\r\n  </div>', '[BLOB]', 13, 1, '2017-02-23 04:53:03', '2017-03-01 10:01:43', 'vipadmin', 'vipadmin', '34865000.jpg', 'exampleban/js/jquery.fancybox.js|__|exampleban/js/jquery.fancybox-buttons.js|__|exampleban/js/jquery.fancybox-thumbs.js|__|exampleban/js/jquery.fancybox-media.js|__|exampleban/css/jquery.fancybox.css|__|exampleban/css/jquery.fancybox-buttons.css|__|exampleban/css/jquery.fancybox-thumbs.css|__|exampleban/css/lightbox.css|__|exampleban/images/icon-zoom.png|__|exampleban/images/fancybox/fancybox_sprite.png|__|exampleban/images/fancybox/fancybox_overlay.png', NULL);
INSERT INTO `datasetup_exampleban` (`id`, `type`, `name`, `b_name`, `detail`, `memo`, `sort`, `status`, `create_date`, `update_date`, `create_name`, `update_name`, `pic`, `incfile`, `ff`) VALUES(16, 'set_about', '照片集-Photos(分類, 多頁)', 'gallery', '<div class=\\"inside-banner\\">\r\n    <div class=\\"banner-title\\">圖片集</div>\r\n</div>\r\n<div class=\\"main clearfix\\">\r\n  \r\n  <script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox.js?v=2.1.5\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-buttons.js?v=1.0.5\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-thumbs.js?v=1.0.7\\"></script>\r\n	<script type=\\"text/javascript\\" src=\\"gallery_set/js/jquery.fancybox-media.js?v=1.0.6\\"></script>\r\n	<script type=\\"text/javascript\\">\r\n		$(document).ready(function() {\r\n			/*\r\n			 *  Simple image gallery. Uses default settings\r\n			 */\r\n\r\n			$(\\\'.fancybox\\\').fancybox();\r\n\r\n			/*\r\n			 *  Different effects\r\n			 */\r\n\r\n			// Change title type, overlay closing speed\r\n			$(\\".fancybox-effects-a\\").fancybox({\r\n				helpers: {\r\n					title : {\r\n						type : \\\'outside\\\'\r\n					},\r\n					overlay : {\r\n						speedOut : 0\r\n					}\r\n				}\r\n			});\r\n\r\n			// Disable opening and closing animations, change title type\r\n			$(\\".fancybox-effects-b\\").fancybox({\r\n				openEffect  : \\\'none\\\',\r\n				closeEffect	: \\\'none\\\',\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'over\\\'\r\n					}\r\n				}\r\n			});\r\n\r\n			// Set custom style, close if clicked, change title type and overlay color\r\n			$(\\".fancybox-effects-c\\").fancybox({\r\n				wrapCSS    : \\\'fancybox-custom\\\',\r\n				closeClick : true,\r\n\r\n				openEffect : \\\'none\\\',\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'inside\\\'\r\n					},\r\n					overlay : {\r\n						css : {\r\n							\\\'background\\\' : \\\'rgba(238,238,238,0.85)\\\'\r\n						}\r\n					}\r\n				}\r\n			});\r\n\r\n			// Remove padding, set opening and closing animations, close if clicked and disable overlay\r\n			$(\\".fancybox-effects-d\\").fancybox({\r\n				padding: 0,\r\n\r\n				openEffect : \\\'elastic\\\',\r\n				openSpeed  : 150,\r\n\r\n				closeEffect : \\\'elastic\\\',\r\n				closeSpeed  : 150,\r\n\r\n				closeClick : true,\r\n\r\n				helpers : {\r\n					overlay : null\r\n				}\r\n			});\r\n\r\n			/*\r\n			 *  Button helper. Disable animations, hide close button, change title type and content\r\n			 */\r\n\r\n			$(\\\'.fancybox-buttons\\\').fancybox({\r\n				openEffect  : \\\'none\\\',\r\n				closeEffect : \\\'none\\\',\r\n\r\n				prevEffect : \\\'none\\\',\r\n				nextEffect : \\\'none\\\',\r\n\r\n				closeBtn  : false,\r\n\r\n				helpers : {\r\n					title : {\r\n						type : \\\'inside\\\'\r\n					},\r\n					buttons	: {}\r\n				},\r\n\r\n				afterLoad : function() {\r\n					this.title = \\\'Image \\\' + (this.index + 1) + \\\' of \\\' + this.group.length + (this.title ? \\\' - \\\' + this.title : \\\'\\\');\r\n				}\r\n			});\r\n\r\n\r\n			/*\r\n			 *  Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked\r\n			 */\r\n\r\n			$(\\\'.fancybox-thumbs\\\').fancybox({\r\n				prevEffect : \\\'none\\\',\r\n				nextEffect : \\\'none\\\',\r\n\r\n				closeBtn  : false,\r\n				arrows    : false,\r\n				nextClick : true,\r\n\r\n				helpers : {\r\n					thumbs : {\r\n						width  : 50,\r\n						height : 50\r\n					}\r\n				}\r\n			});\r\n\r\n			/*\r\n			 *  Media helper. Group items, disable animations, hide arrows, enable media and button helpers.\r\n			*/\r\n			$(\\\'.fancybox-media\\\')\r\n				.attr(\\\'rel\\\', \\\'media-gallery\\\')\r\n				.fancybox({\r\n					openEffect : \\\'none\\\',\r\n					closeEffect : \\\'none\\\',\r\n					prevEffect : \\\'none\\\',\r\n					nextEffect : \\\'none\\\',\r\n\r\n					arrows : false,\r\n					helpers : {\r\n						media : {},\r\n						buttons : {}\r\n					}\r\n				});\r\n\r\n			/*\r\n			 *  Open manually\r\n			 */\r\n\r\n			$(\\"#fancybox-manual-a\\").click(function() {\r\n				$.fancybox.open(\\\'1_b.jpg\\\');\r\n			});\r\n\r\n			$(\\"#fancybox-manual-b\\").click(function() {\r\n				$.fancybox.open({\r\n					href : \\\'iframe.html\\\',\r\n					type : \\\'iframe\\\',\r\n					padding : 5\r\n				});\r\n			});\r\n\r\n			$(\\"#fancybox-manual-c\\").click(function() {\r\n				$.fancybox.open([\r\n					{\r\n						href : \\\'1_b.jpg\\\',\r\n						title : \\\'My title\\\'\r\n					}, {\r\n						href : \\\'2_b.jpg\\\',\r\n						title : \\\'2nd title\\\'\r\n					}, {\r\n						href : \\\'3_b.jpg\\\'\r\n					}\r\n				], {\r\n					helpers : {\r\n						thumbs : {\r\n							width: 75,\r\n							height: 50\r\n						}\r\n					}\r\n				});\r\n			});\r\n		});\r\n	</script>\r\n    <div class=\\"content-body\\">\r\n        <div class=\\"col-025 col-m\\">\r\n            <div class=\\"in-left-menu\\">\r\n                <ul>\r\n                    ({section name=m0 loop=$article.<~_mode~>})\r\n                        <li><a href=\\"<~gallery~>({$article.<~_mode~>[m0].parent_url})\\">({$article.<~_mode~>[m0].name})</a></li>\r\n                     ({/section})\r\n                </ul>\r\n            </div>\r\n        </div>\r\n        <div class=\\"cor-075 col-m\\">\r\n          <h3 class=\\"page-title\\">({$article_main.name})</h3>\r\n            <div class=\\"photo-gallery\\">\r\n                <link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox.css?v=2.1.5\\" media=\\"screen\\" />\r\n                <link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox-buttons.css?v=1.0.5\\" />\r\n                <link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/jquery.fancybox-thumbs.css?v=1.0.7\\" />\r\n              \r\n              	<link rel=\\"stylesheet\\" type=\\"text/css\\" href=\\"gallery_set/css/lightbox.css\\" />\r\n              \r\n                <style type=\\"text/css\\">\r\n                .fancybox-custom .fancybox-skin {\r\n                    box-shadow: 0 0 50px #222;\r\n                }\r\n                </style>\r\n              \r\n              	({if $_GET.parent_id==null})\r\n              \r\n              ({section name=m1 loop=$article.<~_mode~>[0].child})\r\n              <div class=\\"lightbox\\"> <img src=\\"({$article.<~_mode~>[0].child[m1].pic.0})\\" alt=\\"\\" />\r\n                    <div class=\\"hover-overlay\\"></div>\r\n                    <div class=\\"hover-icons\\">\r\n                        <a class=\\"fancybox\\" href=\\"({$article.<~_mode~>[0].child[m1].pic.0})\\" data-fancybox-group=\\"gallery\\"><img src=\\"gallery_set/images/icon-zoom.png\\" title=\\"放大\\" alt=\\"放大\\" /></a>\r\n                    </div>\r\n                </div>\r\n              ({/section})\r\n              \r\n              ({else})\r\n              \r\n                ({section name=m0 loop=$article_parent})\r\n                <div class=\\"lightbox\\"> <img src=\\"({$article_parent[m0].pic.0})\\" alt=\\"\\" />\r\n                    <div class=\\"hover-overlay\\"></div>\r\n                    <div class=\\"hover-icons\\">\r\n                        <a class=\\"fancybox\\" href=\\"({$article_parent[m0].pic.0})\\" data-fancybox-group=\\"gallery\\"><img src=\\"gallery_set/images/icon-zoom.png\\" title=\\"放大\\" alt=\\"放大\\" /></a>\r\n                    </div>\r\n                </div>\r\n                ({/section})\r\n              \r\n              ({/if})\r\n            </div>\r\n            <!-- 頁次模組 -->\r\n            <div class=\\"page\\">({$article_parent_page.wd_rwd_page})</div>\r\n        </div>\r\n        <!-- 右欄 END -->\r\n          \r\n          <script>\r\n    /*\r\n    選單點擊時焦點屬性自動添加\r\n    */\r\n    $(function() {\r\n        var j_setting = {\r\n            tag: \\\'<~_mode~>\\\', //-- *命名空間 不可重複使用\r\n            item: \\\'.in-left-menu>ul>li\\\', //-- *目標物件群 EX: \\\'.prolist ul>li\\\'\r\n            resetitem: \\\'#menu li:eq(1)\\\', //-- *重置物件 (通常放到上板選單)\r\n            addclass: \\\'active\\\', //-- *增加的class屬性\r\n            default: 0, //-- *預設第幾個為選取\r\n            action: {\r\n                main: \\\'\\\',\r\n                menu_child_body: \\\'ul\\\',\r\n                menu_child_list: \\\'li\\\'\r\n            } //-- 模式 類型  menu1收合式選單\r\n        }\r\n\r\n        function work(j_setting) {\r\n            sessionStorage[j_setting.tag] = (typeof(sessionStorage[j_setting.tag]) != \\"undefined\\" ? sessionStorage[j_setting.tag] : j_setting.default);\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).attr(\\\'jtagid\\\', idx);\r\n            }).bind(\\\'click\\\', function(event) {\r\n                sessionStorage[j_setting.tag] = $(event.target).attr(\\\'jtagid\\\');\r\n            });\r\n            $(j_setting.resetitem).bind(\\\'click\\\', function() {\r\n                sessionStorage[j_setting.tag] = j_setting.default;\r\n            });\r\n            $(j_setting.item).eq(sessionStorage[j_setting.tag]).addClass(j_setting.addclass);\r\n            if (typeof(j_setting.action) != \\"undefined\\") menu(j_setting)\r\n        }\r\n\r\n        section_back = function(e) {\r\n            var check_child = false;\r\n            sessionStorage[j_setting.tag] = ($(e.target).attr(\\\'jtagid\\\') ? $(e.target).attr(\\\'jtagid\\\') : $(e.target).parentsUntil(j_setting.action.menu_child_body).last().attr(\\\'jtagid\\\'));\r\n            $(j_setting.item).removeClass(j_setting.addclass).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').slideUp();\r\n            $(j_setting.item).find(j_setting.action.menu_child_list).removeClass(j_setting.addclass);\r\n            $(e.target).parentsUntil(j_setting.action.menu_child_body).each(function(idx, obj) {\r\n                if ($(obj).find(j_setting.action.menu_child_body).filter(\\\':visible\\\').length <= 0 && $(obj).find(j_setting.action.menu_child_body).length > 0 && $(obj).find(j_setting.action.menu_child_body)[0].tagName.toLowerCase() == j_setting.action.menu_child_body.toLowerCase()) {\r\n                    check_child = false;\r\n                    $(obj).addClass(j_setting.addclass).find(j_setting.action.menu_child_body).stop().slideDown();\r\n                } else if ($(obj).find(j_setting.action.menu_child_body).length <= 0) {\r\n                    check_child = true;\r\n                }\r\n            });\r\n            return check_child;\r\n        }\r\n\r\n        function menu(j_setting) {\r\n            $(j_setting.item).each(function(idx, obj) {\r\n                $(obj).on(\\\'click\\\', section_back);\r\n            });\r\n\r\n            switch (j_setting.action.main) {\r\n                case \\"menu1\\":\r\n                    $(j_setting.item).find(j_setting.action.menu_child_body).find(j_setting.action.menu_child_list).each(function(idx, obj) {\r\n                        $(obj).attr(\\\'jtagid\\\', $(j_setting.item).length + idx);\r\n                    }).on(\\\'click\\\', section_back);\r\n                    break;\r\n                default:\r\n                    break;\r\n            }\r\n\r\n            $(j_setting.item).find(j_setting.action.menu_child_body).hide();\r\n            if (sessionStorage[j_setting.tag]) {\r\n				$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').addClass(j_setting.addclass);\r\n				if ($(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').last()[0].tagName!=\\\'HTML\\\'){\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').each(function(idx, obj) {\r\n						$(obj).show();\r\n						if (j_setting.action.menu_child_list.toLowerCase() == $(obj)[0].tagName.toLowerCase()) $(obj).addClass(j_setting.addclass);\r\n					});\r\n					$(\\\'[jtagid=\\"\\\' + sessionStorage[j_setting.tag] + \\\'\\"]\\\').parentsUntil(\\\'[jtagid]\\\').parent().addClass(j_setting.addclass);\r\n                }\r\n            }\r\n        }\r\n\r\n        work(j_setting);\r\n    });\r\n    </script>\r\n    </div>\r\n</div>', '[BLOB]', 14, 1, '2017-02-23 05:12:08', '2017-03-01 10:02:33', 'vipadmin', 'vipadmin', '17020900.jpg', 'exampleban/js/jquery.fancybox.jsexampleban|__|exampleban/js/jquery.fancybox-buttons.js|__|exampleban/js/jquery.fancybox-thumbs.js|__|exampleban/js/jquery.fancybox-media.js|__|exampleban/css/jquery.fancybox.css|__|exampleban/css/jquery.fancybox-buttons.css|__|exampleban/css/jquery.fancybox-thumbs.css|__|exampleban/css/lightbox.css|__|exampleban/images/icon-zoom.png|__|exampleban/images/fancybox/fancybox_overlay.png', NULL);

--
-- 已匯出資料表的索引
--

--
-- 資料表索引 `datasetup_exampleban`
--
ALTER TABLE `datasetup_exampleban`
  ADD PRIMARY KEY (`id`);

--
-- 在匯出的資料表使用 AUTO_INCREMENT
--

--
-- 使用資料表 AUTO_INCREMENT `datasetup_exampleban`
--
ALTER TABLE `datasetup_exampleban`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;