MySql_InsertExampleFreesn.sql
23.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
--select "#### MySql_LOSP_MainDB ####";
\. MySql_LOSP_MainDB.sql
-- select "#### MySql_LOSP_SRequestDB ####";
-- \. MySql_LOSP_SRequestDB.sql
-- mensch.coop data
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName) VALUES ('1', 'Towns');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('100', 'Peking', '1');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('101', 'Shanghai', '1');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('102', 'Lagos', '1');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('103', 'Istanbul', '1');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('104', 'Karatschi', '1');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('105', 'Mumbai', '1');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('106', 'Sao Paulo', '1');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('107', 'Moskau', '1');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName) VALUES ('2', 'Rivers');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('200', 'Nil', '2');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('201', 'Amazonas', '2');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('202', 'Jangtsekiang', '2');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('203', 'Mississippi', '2');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('204', 'Jenissei', '2');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName) VALUES ('3', 'Mountains');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('300', 'Mount Everest', '3');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('301', 'Godwin Austen','3');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('302', 'Qogir','3');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('303', 'Kanchenjunga', '3');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('304', 'Kantschindschunga', '3');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName) VALUES ('4', 'local');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('400', 'fromhere', '4');
INSERT INTO losp_BasisElement_categorynamelist (BECategoryID, BECategoryName, BECategoryGroupID) VALUES ('401', 'forhere', '4');
INSERT INTO losp_BasisElement_categorylist (BECategoryListID, BECategoryID) VALUES ('1', '1');
INSERT INTO losp_BasisElement_categorylist (BECategoryListID, BECategoryID) VALUES ('2', '2');
INSERT INTO losp_BasisElement_categorylist (BECategoryListID, BECategoryID) VALUES ('3', '3');
INSERT INTO losp_BasisElement_categorylist (BECategoryListID, BECategoryID) VALUES ('4', '4');
INSERT INTO losp_BasisElement_categorylist (BECategoryListID, BECategoryID) VALUES ('10', '1');
INSERT INTO losp_BasisElement_categorylist (BECategoryListID, BECategoryID) VALUES ('10', '2');
INSERT INTO losp_BasisElement_categorylist (BECategoryListID, BECategoryID) VALUES ('10', '3');
INSERT INTO losp_BasisElement_tagnamelist (TagID, TagName) VALUES ('1', 'OpenSource');
INSERT INTO losp_BasisElement_tagnamelist (TagID, TagName) VALUES ('2', 'Web2null');
INSERT INTO losp_BasisElement_tagnamelist (TagID, TagName) VALUES ('3', 'Linux');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('1', 'unreaded');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('2', 'readed');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('3', 'confirmed');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('4', 'unconfirmed');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('100', 'outbox');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('101', 'notice');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('102', 'draft');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('103', 'child');
INSERT INTO losp_BasisClipboard_state (StateID, State) VALUES ('1000', 'trash');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('1', 'DateBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('2', 'Blog');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('3', 'ThreadMessageBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('4', 'InBox');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('5', 'OutBox');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('1005', 'DraftBox');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('6', 'FriendList');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('7', 'LinkList');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('8', 'ThreadBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('9', 'AspirantWriteRight');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('20', 'ProfileBC') ;
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('26', 'GroupProfileBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('27', 'MemberProfileBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('100', 'NewsfeedItemBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('101', 'NewsfeedBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('102', 'NewsfeedBEImages');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('107', 'Clipboard');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('110', 'TopicBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('130', 'FileBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('190', 'UrlBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('500', 'SubProfileManagement');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('501', 'GroupProfileManagement');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('201', 'ThreadMessageUnderBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('202', 'FileUnderBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('203', 'FileUnderImageBC');
INSERT INTO losp_BasisClipboard_objvar (PartOfObjVarID, PartOfObjVar) VALUES ('210', 'CampaignBC');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('1', 'Forum');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('2', 'SubPages');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('3', 'Guestbook');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('4', 'Blog');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('5', 'Paper');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('6', 'ProfilePage');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('7', 'private');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('8', 'business');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('9', 'public');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('10', 'Threads');
INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('11', 'Image');
-- INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('11', 'SubProfileManagement');
-- INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('12', 'GroupProfileManagement');
-- INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('13', '');
-- INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('14', '');
-- INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('15', '');
-- INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('16', '');
-- INSERT INTO losp_BasisClipboard_category (CategoryID, CategoryName) VALUES ('17', '');
-- example data
select 'generate Accounts';
/*
* accounts for the test system (password have to be test)
*/
-- insertProfile(param_NickName varchar(20), param_EMail varchar(256), param_Fingerprint varchar(42), param_Jabber varchar(256), param_Url varchar(2048), param_Subject varchar(512), param_Text text, param_Name varchar(20), param_private boolean, param_Avatar varchar(2048), param_Signature text(2048))
INSERT INTO losp_be_account (ID,Password,Firstname,SurName,ProfileID,EMail,Street,Streetnumber,City,ZipCode)
-- insertProfile( 'GroupProfileBE',param_NickName, param_EMail, param_Fingerprint, param_Jabber, param_Url, param_Subject, param_Text, param_LanguageCode, param_Name, param_private, param_Avatar, param_Signature))
VALUES ('1', SHA1('Passw0rd'), 'netz.coop', 'j', (SELECT insertProfile( 'Profile', 'netzcoop', 'kontakt@netz.coop', '', '', 'http://netz.coop','netz.coop e.G.','netz.coop Beschreibungstext', 'deu', 'liamPage', 0,'','')), 'netz@mensch.coop', 'Badeler Dorfstr.', '10', 'Kalbe M.', '39624');
INSERT INTO losp_be_account (ID,Password,Firstname,SurName,ProfileID,EMail,Street,Streetnumber,City,ZipCode)
VALUES ('2', SHA1('Passw0rd'), 'Erna', 'Testing.', (SELECT insertProfile('Profile','test1', 'test1@mensch.coop', '', '', '','Erna Testing. Profile Subject','erna bla bal bla text', 'deu', 'Test1Page', 0, '', '')), 'test1@mensch.coop', 'Teststr.', '212', 'Osnabrueck', '49088');
INSERT INTO losp_be_account (ID,Password,Firstname,SurName,ProfileID,EMail,Street,Streetnumber,City,ZipCode)
VALUES ('3', SHA1('Passw0rd'), 'Paul', 'Testing.', (SELECT insertProfile('Profile','test2', 'test2@mensch.coop', '', '', '','Paul Testing. Profile Subject','Paul bla bal bla Beschreibungstext', 'deu', 'Test2Page', 0,'','')), 'test2@mensch.coop', 'Newmanstr.', '21', 'Osnabrueck', '49088');
INSERT INTO losp_be_account (ID,Password,Firstname,SurName,ProfileID,EMail,Street,Streetnumber,City,ZipCode)
VALUES ('4', SHA1('Passw0rd'), 'Elfriede', 'Testing.', (SELECT insertProfile('Profile','test3','test3@mensch.coop', '', '', '','Elfriede Testing. Profile Subject','elfriede bla bal bla Beschreibungstext', 'deu', 'Test3Page', 0,'','' )), 'test3@mensch.coop', 'Newwomanstr.', '12', 'Hannover', '44023');
INSERT INTO losp_be_account (ID,Password,Firstname,SurName,ProfileID,EMail,Street,Streetnumber,City,ZipCode)
VALUES ('5', SHA1('Passw0rd'), 'Dietrich', 'Testing.', (SELECT insertProfile('Profile','test4','test4@mensch.coop', '', '', '','Dietrich Testing. Profile Subject','Dietrich bla bal bla Beschreibungstext', 'deu', 'Test4Page', 0,'','' )), 'test4@mensch.coop', 'Newwomanstr.', '12', 'Hannover', '44023');
INSERT INTO losp_BEBasisClipboardsRightManagement (
`PartOfID` ,
`PartOfObjVarID` ,
`CategoryID` ,
`WriteAuthorisaton` ,
`ReadAuthorisation`
)
VALUES
# netz.coop Profile
( '1', '110', '0', 'r', 'a' ), # TopicBC
( '1', '6', '0', 'u', 'a' ), # FriendList
( '1', '107', '0', 'r', 'a' ), # Clipboard
( '1', '500', '0', 'r', 'a' ), # SubProfileManagement
( '1', '2', '3', 'a', 'a' ), # Blog::Guestbook
( '1', '3', '4', 'r', 'a' ), # ThreadMessageBC::Blog
( '1', '3', '1', 'r', 'a' ), # ThreadMessageBC::Forum
( '1', '8', '0', 'r', 'a' ), # ThreadBC
( '1', '130', '0', 'r', 'a' ), # FileBC
( '1', '5', '0', 'r', 'r' ), # OutBox
( '1', '4', '0', 'u', 'r' ), # InBox
( '1', '1', '0', 'r', 'a' ), # DateBC
( '1', '101', '0', 'r', 'a' ), # NewsfeedBC
( '1', '190', '0', 'r', 'a' ), # UrlBC
( '1', '300', '0', 'r', 'a' ), # LocationBC
# test Profile 1
( '2', '110', '0', 'r', 'a' ), # TopicBC
( '2', '6', '0', 'u', 'a' ), # FriendList
( '2', '107', '0', 'r', 'a' ), # Clipboard
( '2', '500', '0', 'r', 'a' ), # SubProfileManagement
( '2', '2', '3', 'a', 'a' ), # Blog::Guestbook
( '2', '3', '4', 'r', 'a' ), # ThreadMessageBC::Blog
( '2', '3', '1', 'r', 'a' ), # ThreadMessageBC::Forum
( '2', '8', '0', 'r', 'a' ), # ThreadBC
( '2', '130', '0', 'r', 'a' ), # FileBC
( '2', '5', '0', 'r', 'r' ), # OutBox
( '2', '4', '0', 'u', 'r' ), # InBox
( '2', '1', '0', 'r', 'a' ), # DateBC
( '2', '101', '0', 'r', 'a' ), # NewsfeedBC
( '2', '190', '0', 'r', 'a' ), # UrlBC
( '2', '300', '0', 'r', 'a' ), # LocationBC
# test Profile 2
( '3', '110', '0', 'r', 'a' ), # TopicBC
( '3', '6', '0', 'u', 'a' ), # FriendList
( '3', '107', '0', 'r', 'a' ), # Clipboard
( '3', '500', '0', 'r', 'a' ), # SubProfileManagement
( '3', '2', '3', 'a', 'a' ), # Blog::Guestbook
( '3', '3', '4', 'r', 'a' ), # ThreadMessageBC::Blog
( '3', '3', '1', 'r', 'a' ), # ThreadMessageBC::Forum
( '3', '8', '0', 'r', 'a' ), # ThreadBC
( '3', '130', '0', 'r', 'a' ), # FileBC
( '3', '5', '0', 'r', 'r' ), # OutBox
( '3', '4', '0', 'u', 'r' ), # InBox
( '3', '1', '0', 'r', 'a' ), # DateBC
( '3', '101', '0', 'r', 'a' ), # NewsfeedBC
( '3', '190', '0', 'r', 'a' ), # UrlBC
( '3', '300', '0', 'r', 'a' ), # LocationBC
# test Profile 3
( '4', '110', '0', 'r', 'a' ), # TopicBC
( '4', '6', '0', 'u', 'a' ), # FriendList
( '4', '107', '0', 'r', 'a' ), # Clipboard
( '4', '500', '0', 'r', 'a' ), # SubProfileManagement
( '4', '2', '3', 'a', 'a' ), # Blog::Guestbook
( '4', '3', '4', 'r', 'a' ), # ThreadMessageBC::Blog
( '4', '3', '1', 'r', 'a' ), # ThreadMessageBC::Forum
( '4', '8', '0', 'r', 'a' ), # ThreadBC
( '4', '130', '0', 'r', 'a' ), # FileBC
( '4', '5', '0', 'r', 'r' ), # OutBox
( '4', '4', '0', 'u', 'r' ), # InBox
( '4', '1', '0', 'r', 'a' ), # DateBC
( '4', '101', '0', 'r', 'a' ), # NewsfeedBC
( '4', '190', '0', 'r', 'a' ), # UrlBC
( '4', '300', '0', 'r', 'a' ), # LocationBC
# test Profile 4
( '5', '110', '0', 'r', 'a' ), # TopicBC
( '5', '6', '0', 'u', 'a' ), # FriendList
( '5', '107', '0', 'r', 'a' ), # Clipboard
( '5', '500', '0', 'r', 'a' ), # SubProfileManagement
( '5', '2', '3', 'a', 'a' ), # Blog::Guestbook
( '5', '3', '4', 'r', 'a' ), # ThreadMessageBC::Blog
( '5', '3', '1', 'r', 'a' ), # ThreadMessageBC::Forum
( '5', '8', '0', 'r', 'a' ), # ThreadBC
( '5', '130', '0', 'r', 'a' ), # FileBC
( '5', '5', '0', 'r', 'r' ), # OutBox
( '5', '4', '0', 'u', 'r' ), # InBox
( '5', '1', '0', 'r', 'a' ), # DateBC
( '5', '101', '0', 'r', 'a' ), # NewsfeedBC
( '5', '190', '0', 'r', 'a' ), # UrlBC
( '5', '300', '0', 'r', 'a' ) # LocationBC
;
select 'end generate Accounts';
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (1, 'Profile', 1,'font-size:10;color:red;');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (1, 'cont_1','DateBC, ThreadMessageBC');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (1, 'cont_2','Menu, Sidebar');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (1, 'cont_3','');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (1, 'tmp','bla, blub');
update losp_BasisElement set BasisElementDesignID=1 where ID=1;
update losp_BasisElement set BasisElementDesignID=1 where ID=3;
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (2, 'TopicBE', 1,'div.TopicBE{color:#18181;background-color:#292928;display:block;float:left;}div.TopicBE a{color:#7c7b7b;}div.TopicBE a:hover{color:#000000;}div.cont_1{background-color:#f3f3f3;background-image:url("");background-repeat:repeat;background-position:top;width:778px;height:120px;}div.cont_2{background-color:#ffffff;background-image:url("");background-repeat:repeat-y;background-position:top;width:75%;float:left;min-height:500px;}div.cont_2 div.headMenu{background-color:#f3f3f3;background-image:url("");background-repeat:repeat-x;background-position:top;border-color:#d0d1d0;}div.cont_2 .Headline{background-color:#f3f3f3;background-image:url("");background-repeat:repeat-y;background-position:top;border-color:#d0d1d0;}div.cont_3{width:25%;float:left;}');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (2, 'cont_1','SiteHead');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (2, 'cont_2','Content');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (2, 'cont_3','SiteMenu');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (3, 'ProfilePreferenceManager', 1,'div.cont_1{}');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (3, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (4, 'PostingManager', 1,"div.cont_1{}");
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (4, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (5, 'FileManager', 1,'div.cont_1{}');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (5, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (6, 'ResourceManager', 1,'div.cont_1{}');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (6, 'cont_1','DateBC, ThreadMessageBC');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (7, 'NetworkManager', 1,'div.cont_1{}');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (7, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (8, 'PostOffice', 1,'div.cont_1{}');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (8, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (9, 'OfficeManager', 1,'div.cont_1{}');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (9, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (10, 'IndirectManager', 1,"div.cont_1{background-repeat:repeat;}div.cont_1 a{color:#ed9925;}");
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (10, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (11, 'DirectManager', 1,"div.cont_1{background-repeat:repeat;width:75%;float:left;min-height:500px;}div.cont_1 a{color:#ed9925;}div.cont_2{width:25%;float:left;}div.cont_2 a{color:#ed9925;}");
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (11, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (11, 'cont_2','Category');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (12, 'EconomyIndirectManager', 1,"div.cont_1{background-repeat:repeat;}div.cont_1 a{color:#9dc120;}");
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (12, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (13, 'EconomyDirectManager', 1,"div.cont_1{background-repeat:repeat;width:75%;float:left;min-height:500px;}div.cont_1 a{color:#9dc120;}div.cont_2{width:25%float:left;}div.cont_2 a{color:#9dc120;}");
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (13, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (13, 'cont_2','Category');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (14, 'CultureIndirectManager', 1,"div.cont_1{background-repeat:repeat;}div.cont_1 a{color:#227eba;}");
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (14, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign (ID, BEClassName, Author_ProfileID, CSS ) VALUES (15, 'CultureDirectManager', 1,"div.cont_1{background-repeat:repeat;width:75%;float:left;min-height:500px;}div.cont_1 a{color:#227eba;}div.cont_2{width:25%;float:left;}div.cont_2 a{color:#227eba;}");
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (15, 'cont_1','Content');
INSERT INTO losp_BasisElementDesign_values (ID, VKey, VValue ) VALUES (15, 'cont_2','Category');
-- insertTreepart(param_Name varchar(20), param_Author_ProfileID int, param_Subject varchar(512), param_Text text, param_LanguageCode varchar(3), param_BECategoryChoiceBEID int(11), param_BECategoryListID int(11), param_AuthReadListID int, param_AuthWriteListID int, param_PCAuthReadListID int, param_PCAuthWriteListID int)
SELECT insertTreepart('Towns', '1', 'Städte', 'Städte', 'deu', 1, 1, 0, 1, 0, 0);
UPDATE `losp_BasisElement` SET `BECategoryChoiceBEID` = '6' WHERE `losp_BasisElement`.`ID` =6 LIMIT 1 ;
SELECT insertTreepart('Rivers', '1', 'Flüsse', 'Flüsse und so weiter', 'deu', 2, 2, 0, 1, 0, 0);
UPDATE `losp_BasisElement` SET `BECategoryChoiceBEID` = '7' WHERE `losp_BasisElement`.`ID` =7 LIMIT 1 ;
SELECT insertTreepart('Mountains', '1', 'Berge', 'Berge ....', 'deu', 3, 3, 0, 1, 0, 0);
UPDATE `losp_BasisElement` SET `BECategoryChoiceBEID` = '8' WHERE `losp_BasisElement`.`ID` =8 LIMIT 1 ;
INSERT INTO `losp_BEBasisClipboardsRightManagement` (
`PartOfID` ,
`PartOfObjVarID` ,
`CategoryID` ,
`WriteAuthorisaton` ,
`ReadAuthorisation`
)
VALUES
# Towns
( '6', '3', '1', 'u', 'a' ), # ThreadMessageBC::Forum
( '6', '190', '0', 'u', 'a' ), # UrlBC
( '6', '101', '0', 'u', 'a' ), # NewsfeedBC
( '6', '3', '4', 'u', 'a' ), # ThreadMessageBC::Blog
( '6', '110', '0', 'u', 'a' ), # TopicBC
( '6', '1', '0', 'u', 'a' ), # DateBC
# Rivers
( '7', '3', '4', 'u', 'a' ), # ThreadMessageBC::Blog
( '7', '110', '0', 'u', 'a' ), # TopicBC
( '7', '1', '0', 'u', 'a' ), # DateBC
# Mountains
( '8', '3', '1', 'u', 'a' ), # ThreadMessageBC::Forum
( '8', '3', '4', 'u', 'a' ), # ThreadMessageBC::Blog
( '8', '110', '0', 'u', 'a' ), # TopicBC
( '8', '1', '0', 'u', 'a' ) # DateBC
;
# 'ProfileBC
insert into losp_BEBasisClipboardsRightManagement (PartOfID, PartOfObjVarID, CategoryID, WriteAuthorisaton, ReadAuthorisation) values(6, 20,0,'u','a') ;
insert into losp_BEBasisClipboardsRightManagement (PartOfID, PartOfObjVarID, CategoryID, WriteAuthorisaton, ReadAuthorisation) values(7, 20,0,'u','a') ;
insert into losp_BEBasisClipboardsRightManagement (PartOfID, PartOfObjVarID, CategoryID, WriteAuthorisaton, ReadAuthorisation) values(8, 20,0,'u','a') ;
select insertMultimediaText(1, 'SoftwareCategoryMText', 'param_Text', 'deu', '', 1,0,0,'MultimediaText');
update losp_BasisElement set BECategoryListID=10, BECategoryChoiceBEID=9 where ID=9;
-- search
select insertMultimediaText(1, 'Search', 'Search', 'deu', '', 1,0,0,'MultimediaText');
update losp_BasisElement set ClassID=22 where ID=10;
-- Logout Start
select insertMultimediaText(1, 'freesn', '<p>freesn: free Social Network </p>', 'deu', '', 1,0,0,'MultimediaText');
update losp_BasisElement set BECategoryListID=10, BECategoryChoiceBEID=9, ClassID=22 where ID=11;
-- Login Start
select insertMultimediaText(1, 'Wilkommen', '<p>freesn: free Social Network </p>', 'deu', '', 1,0,0,'MultimediaText');
update losp_BasisElement set BECategoryListID=10, BECategoryChoiceBEID=9, ClassID=22 where ID=12;
-- Help
select insertMultimediaText(1, 'Hilfe', '<p>Hilfe </p>', 'deu', '', 1,0,0,'MultimediaText');
update losp_BasisElement set BECategoryListID=10, BECategoryChoiceBEID=9, ClassID=22 where ID=13;