.












CREATE TABLE `shopcz_categories` (

`cid` int(11) NOT NULL auto_increment,

`title` varchar(255) NOT NULL default '',

`image` varchar(255) NOT NULL default '',

`parentid` int(11) NOT NULL default '0',

PRIMARY KEY (`cid`),

KEY `cid` (`cid`),

KEY `title` (`title`)

) ENGINE=MyISAM;







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




-- 

-- Struktura tabulky `shopcz_config`

-- 




CREATE TABLE `shopcz_config` (

`config_name` varchar(255) NOT NULL default '',

`config_value` varchar(255) NOT NULL default '',

PRIMARY KEY (`config_name`)

) ENGINE=MyISAM;




-- 

-- Vypisuji data pro tabulku `shopcz_config`

-- 




INSERT INTO `shopcz_config` VALUES ('salesmail', 'sale@sale.com');

INSERT INTO `shopcz_config` VALUES ('cat_image_path', 'data/shop');

INSERT INTO `shopcz_config` VALUES ('cat_image_size_w', '100');

INSERT INTO `shopcz_config` VALUES ('cat_image_size_h', '100');

INSERT INTO `shopcz_config` VALUES ('product_image_path', 'data/shop');

INSERT INTO `shopcz_config` VALUES ('product_image_size_w', '100');

INSERT INTO `shopcz_config` VALUES ('product_image_size_h', '75');

INSERT INTO `shopcz_config` VALUES ('currency', 'Kč (CZ)');

INSERT INTO `shopcz_config` VALUES ('perpage', '50');

INSERT INTO `shopcz_config` VALUES ('featured_num', '4');

INSERT INTO `shopcz_config` VALUES ('similar_num', '5');

INSERT INTO `shopcz_config` VALUES ('popular', '1000');

INSERT INTO `shopcz_config` VALUES ('anonwaitdays', '1');

INSERT INTO `shopcz_config` VALUES ('anonweight', '5');

INSERT INTO `shopcz_config` VALUES ('detailvotedecimal', '2');

INSERT INTO `shopcz_config` VALUES ('mainvotedecimal', '1');

INSERT INTO `shopcz_config` VALUES ('topproductspercentrigger', '0');

INSERT INTO `shopcz_config` VALUES ('topproducts', '25');

INSERT INTO `shopcz_config` VALUES ('mostpopproductspercentrigger', '0');

INSERT INTO `shopcz_config` VALUES ('mostpopproducts', '25');

INSERT INTO `shopcz_config` VALUES ('productvotemin', '1');

INSERT INTO `shopcz_config` VALUES ('show_products_num', '1');

INSERT INTO `shopcz_config` VALUES ('productresults', '50');

INSERT INTO `shopcz_config` VALUES ('ship_notify', '1');

INSERT INTO `shopcz_config` VALUES ('show_products_opt', '0');




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




-- 

-- Struktura tabulky `shopcz_orders`

-- 




CREATE TABLE `shopcz_orders` (

`lid` int(11) NOT NULL auto_increment,

`date` int(11) NOT NULL default '0',

`order_number` int(11) NOT NULL default '0',

`IP` varchar(255) NOT NULL default '',

`uname` varchar(255) NOT NULL default '',

`order_description` text,

`subtotal` double(10,2) NOT NULL default '0.00',

`ship_price` double(10,2) NOT NULL default '0.00',

`fee` double(6,4) NOT NULL default '0.0000',

`total` double(10,2) NOT NULL default '0.00',

`ship_date` datetime default NULL,

`order_status` int(11) NOT NULL default '0',

PRIMARY KEY (`lid`),

KEY `lid` (`lid`)

) ENGINE=MyISAM;




-- 

-- Vypisuji data pro tabulku `shopcz_orders`

-- 







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




-- 

-- Struktura tabulky `shopcz_preorder`

-- 




CREATE TABLE `shopcz_preorder` (

`lid` int(11) NOT NULL auto_increment,

`IP` text NOT NULL,

`uname` text NOT NULL,

`pid` int(11) NOT NULL default '0',

`option1` text NOT NULL,

`option2` text NOT NULL,

`option3` text NOT NULL,

`date` datetime default NULL,

`quantity` int(11) NOT NULL default '0',

PRIMARY KEY (`lid`),

KEY `lid` (`lid`)

) ENGINE=MyISAM;







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




-- 

-- Struktura tabulky `shopcz_productoptions`

-- 




CREATE TABLE `shopcz_productoptions` (

`oid` int(11) NOT NULL auto_increment,

`oname` varchar(255) NOT NULL default '',

`otitle` varchar(255) NOT NULL default '',

`option1` varchar(255) NOT NULL default '',

`option2` varchar(255) NOT NULL default '',

`option3` varchar(255) NOT NULL default '',

`option4` varchar(255) NOT NULL default '',

`option5` varchar(255) NOT NULL default '',

`option6` varchar(255) NOT NULL default '',

`option7` varchar(255) NOT NULL default '',

`option8` varchar(255) NOT NULL default '',

`option9` varchar(255) NOT NULL default '',

`option10` varchar(255) NOT NULL default '',

PRIMARY KEY (`oid`),

KEY `oname` (`oname`)

) ENGINE=MyISAM;




-- 

-- Vypisuji data pro tabulku `shopcz_productoptions`

-- 







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




-- 

-- Struktura tabulky `shopcz_products`

-- 




CREATE TABLE `shopcz_products` (

`lid` int(11) NOT NULL auto_increment,

`cid` int(11) NOT NULL default '0',

`sid` int(11) NOT NULL default '0',

`title` varchar(255) NOT NULL default '',

`image` varchar(255) NOT NULL default '',

`shortdescription` text,

`description` text,

`date` datetime default NULL,

`price` double(10,2) NOT NULL default '0.00',

`weight` varchar(100) NOT NULL default '',

`featured` int(11) NOT NULL default '0',

`option1` int(11) NOT NULL default '0',

`option2` int(11) NOT NULL default '0',

`option3` int(11) NOT NULL default '0',

`hits` int(11) NOT NULL default '0',

`buyratingsummary` double(6,4) NOT NULL default '0.0000',

`totalvotes` int(11) NOT NULL default '0',

`totalcomments` int(11) NOT NULL default '0',

PRIMARY KEY (`lid`),

KEY `lid` (`lid`),

KEY `cid` (`cid`),

KEY `sid` (`sid`),

KEY `title` (`title`)

) ENGINE=MyISAM;







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




-- 

-- Struktura tabulky `shopcz_products_votedata`

-- 




CREATE TABLE `shopcz_products_votedata` (

`ratingdbid` int(11) NOT NULL auto_increment,

`ratinglid` int(11) NOT NULL default '0',

`ratinguser` varchar(60) NOT NULL default '',

`rating` int(11) NOT NULL default '0',

`ratinghostname` varchar(60) NOT NULL default '',

`ratingcomments` text NOT NULL,

`ratingtimestamp` datetime NOT NULL default '0000-00-00 00:00:00',

PRIMARY KEY (`ratingdbid`),

KEY `ratingdbid` (`ratingdbid`)

) ENGINE=MyISAM;




-- 

-- Vypisuji data pro tabulku `shopcz_products_votedata`

-- 







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




-- 

-- Struktura tabulky `shopcz_shipoptions`

-- 




CREATE TABLE `shopcz_shipoptions` (

`sid` int(11) NOT NULL auto_increment,

`stitle` varchar(255) NOT NULL default '',

`soption` text,

PRIMARY KEY (`sid`),

KEY `oname` (`stitle`)

) ENGINE=MyISAM;




-- 

-- Vypisuji data pro tabulku `shopcz_shipoptions`

-- 







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




-- 

-- Struktura tabulky `shopcz_users`

-- 




CREATE TABLE `shopcz_users` (

`lid` int(11) NOT NULL auto_increment,

`IP` varchar(255) NOT NULL default '',

`uname` varchar(255) NOT NULL default '',

`email` varchar(255) NOT NULL default '',

`name` varchar(255) NOT NULL default '',

`street` varchar(255) NOT NULL default '',

`street1` varchar(255) NOT NULL default '',

`city` varchar(255) NOT NULL default '',

`state` varchar(255) NOT NULL default '',

`zip` varchar(255) NOT NULL default '',

`country` varchar(255) NOT NULL default '',

PRIMARY KEY (`lid`),

KEY `lid` (`lid`)

) ENGINE=MyISAM;




-- 

-- Vypisuji data pro tabulku `shopcz_users`

-- 








Obsah fóra BLASSENweb » Moduly
![]() |
|