Quick Search:

View

Revision:

Diff

Diff from 1756 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/osCommerce/branches/frank/osc_trunk/install/oscommerce_sample_data.sql

Annotated File View

hpdl
366
1 $Idoscommerce_sample_data.sql 1498 2007-03-29 14:04:50Z hpdl $
hpdl
1
2 #
3 osCommerceOpen Source E-Commerce Solutions
4 http://www.oscommerce.com
5 #
hpdl
448
6 Copyright (c2006 osCommerce
hpdl
1
7 #
hpdl
1498
8 This program is free softwareyou can redistribute it and/or modify
9 it under the terms of the GNU General Public License v2 (1991)
10 as published by the Free Software Foundation.
hpdl
1
11 #
12 NOTE: * Please make any modifications to this file by hand!
13 #       * DO NOT use a mysqldump created file for new changes!
14 #       * Please take note of the table structureand use this
15 #         structure as a standard for future modifications!
16 #       * Any tables you add here should be added in admin/backup.php
17 #         and in catalog/install/includes/functions/database.php
18 #       * To see the 'diff'erence between MySQL databasesuse
19 #         the mysqldiff perl script located in the extras
20 #         directory of the 'catalog' module.
21 #       * Comments should be like thesefull line comments.
22 #         (don't use inline comments)
23
hpdl
951
24 INSERT INTO osc_categories VALUES (1'books.gif'00now(), null);
25 INSERT INTO osc_categories VALUES (2'php.gif'10now(), null);
hpdl
1
26
hpdl
608
27 INSERT INTO osc_categories_description VALUES (11'Books');
28 INSERT INTO osc_categories_description VALUES (21'PHP');
hpdl
1
29
hpdl
951
30 INSERT INTO osc_manufacturers VALUES (1'Apress''apress.gif'now(), null);
hpdl
1
31
hpdl
608
32 INSERT INTO osc_manufacturers_info VALUES (11'http://www.apress.com'0null);
hpdl
1
33
hpdl
608
34 INSERT INTO osc_products VALUES (11044.99now(), now(), null1.841110);
hpdl
1
35
hpdl
608
36 INSERT INTO osc_products_description VALUES (11'Pro PHP Security''<p><i>Pro PHP Security</i> is one of the first books devoted solely to PHP security. It will serve as your complete guide for taking defensive and proactive security measures within your PHP applications. (And the methods discussed are compatible with PHP versions 3, 4, and 5.)</p><p>The knowledge you\'ll gain from this comprehensive guide will help you prevent attackers from potentially disrupting site operation or destroying data. And you\'ll learn about various security measures, for example, creating and deploying "captchas," validating e-mail, fending off SQL injection attacks, and preventing cross-site scripting attempts.</p><h3>Author Information</h3><p align="justify"><h4>Chris Snyder</h4><p>Chris Snyder is a software engineer at Fund for the City of New York, where he helps develop next-generation websites and services for nonprofit organizations. He is a member of the Executive Board of New York PHP, and has been looking for new ways to build scriptable, linked, multimedia content since he saw his first Hypercard stack in 1988.</p></p><p align="justify"><h4>Michael Southwell</h4><p>Michael Southwell is a retired English professor who has been developing websites for more than 10 years in the small business, nonprofit, and educational areas, with special interest in problems of accessibility. He has authored and co-authored 8 books and numerous articles about writing, writing and computers, and writing education. He is a member of the Executive Board of New York PHP, and a Zend Certified Engineer.</p></p>''1590595084''pro_php_security''pro php security book apress'''0);
hpdl
1
37
hpdl
608
38 #INSERT INTO osc_products_attributes VALUES (1,1,4,1,0.00,'+');
39 #INSERT INTO osc_products_attributes VALUES (2,1,4,2,50.00,'+');
40 #INSERT INTO osc_products_attributes VALUES (3,1,4,3,70.00,'+');
41 #INSERT INTO osc_products_attributes VALUES (4,1,3,5,0.00,'+');
42 #INSERT INTO osc_products_attributes VALUES (5,1,3,6,100.00,'+');
43 #INSERT INTO osc_products_attributes VALUES (6,2,4,3,10.00,'-');
44 #INSERT INTO osc_products_attributes VALUES (7,2,4,4,0.00,'+');
45 #INSERT INTO osc_products_attributes VALUES (8,2,3,6,0.00,'+');
46 #INSERT INTO osc_products_attributes VALUES (9,2,3,7,120.00,'+');
47 #INSERT INTO osc_products_attributes VALUES (10,26,3,8,0.00,'+');
48 #INSERT INTO osc_products_attributes VALUES (11,26,3,9,6.00,'+');
49 #INSERT INTO osc_products_attributes VALUES (2622510'0.00''+');
50 #INSERT INTO osc_products_attributes VALUES (2722513'0.00''+');
hpdl
1
51
hpdl
608
52 #INSERT INTO osc_products_attributes_download VALUES (26'unreal.zip'73);
hpdl
1
53
hpdl
608
54 #INSERT INTO osc_products_options VALUES (1,1,'Color');
55 #INSERT INTO osc_products_options VALUES (2,1,'Size');
56 #INSERT INTO osc_products_options VALUES (3,1,'Model');
57 #INSERT INTO osc_products_options VALUES (4,1,'Memory');
58 #INSERT INTO osc_products_options VALUES (51'Version');
hpdl
1
59
hpdl
608
60 #INSERT INTO osc_products_options_values VALUES (1,1,'4 mb');
61 #INSERT INTO osc_products_options_values VALUES (2,1,'8 mb');
62 #INSERT INTO osc_products_options_values VALUES (3,1,'16 mb');
63 #INSERT INTO osc_products_options_values VALUES (4,1,'32 mb');
64 #INSERT INTO osc_products_options_values VALUES (5,1,'Value');
65 #INSERT INTO osc_products_options_values VALUES (6,1,'Premium');
66 #INSERT INTO osc_products_options_values VALUES (7,1,'Deluxe');
67 #INSERT INTO osc_products_options_values VALUES (8,1,'PS/2');
68 #INSERT INTO osc_products_options_values VALUES (9,1,'USB');
69 #INSERT INTO osc_products_options_values VALUES (101'Download: Windows - English');
70 #INSERT INTO osc_products_options_values VALUES (131'Box: Windows - English');
hpdl
1
71
hpdl
608
72 #INSERT INTO osc_products_options_values_to_products_options VALUES (1,4,1);
73 #INSERT INTO osc_products_options_values_to_products_options VALUES (2,4,2);
74 #INSERT INTO osc_products_options_values_to_products_options VALUES (3,4,3);
75 #INSERT INTO osc_products_options_values_to_products_options VALUES (4,4,4);
76 #INSERT INTO osc_products_options_values_to_products_options VALUES (5,3,5);
77 #INSERT INTO osc_products_options_values_to_products_options VALUES (6,3,6);
78 #INSERT INTO osc_products_options_values_to_products_options VALUES (7,3,7);
79 #INSERT INTO osc_products_options_values_to_products_options VALUES (8,3,8);
80 #INSERT INTO osc_products_options_values_to_products_options VALUES (9,3,9);
81 #INSERT INTO osc_products_options_values_to_products_options VALUES (10510);
82 #INSERT INTO osc_products_options_values_to_products_options VALUES (13513);
hpdl
1
83
hpdl
608
84 INSERT INTO osc_products_to_categories VALUES (12);
hpdl
1
85
hpdl
1109
86 INSERT INTO osc_products_images VALUES (11'pro_php_security.jpg'10now());
hpdl
1
87
hpdl
608
88 #INSERT INTO osc_reviews VALUES (1,19,0,'John doe',5,1,'this has to be one of the funniest movies released for 1999!',now(),null,0,1);
89
90 #INSERT INTO osc_specials VALUES (1,339.99now(), nullnullnullnull'1');
91 #INSERT INTO osc_specials VALUES (2,530.00now(), nullnullnullnull'1');
92 #INSERT INTO osc_specials VALUES (3,630.00now(), nullnullnullnull'1');
93 #INSERT INTO osc_specials VALUES (4,1629.99now(), nullnullnullnull'1');