home *** CD-ROM | disk | FTP | other *** search
/ MetaWorlds Beta 17 / MSQMW17.ZIP / DATA.Z / DBGEN_E.SQL < prev    next >
Encoding:
Text File  |  1997-02-05  |  3.1 KB  |  57 lines

  1. --***********************************************************************************************
  2.  
  3. Insert Into SubSysIn (id,typeid,instparam,descript) VALUES (0, 0, 'main.sht', 'Main');
  4. Insert Into SubSysIn (id,typeid,instparam,descript,bannergraphic) VALUES (1, 0, 'area.sht', 'New Users', 'newuser.gif');
  5. Insert Into SubSysIn (id,typeid,instparam,descript) VALUES (4, 2, '4&DOCUMENT=filelist.sht', 'Main Board: Files');
  6. Insert Into SubSysIn (id,typeid,instparam,descript) VALUES (6, 2, '6&DOCUMENT=filelist.sht', 'New User: Files');
  7.  
  8.  
  9. Insert Into SubSysTP (Id, Descript, QueryScript, TypeParam, Button) VALUES (0, 'Area','area','area?DOCUMENT=','subarea2.gif');
  10. Insert Into SubSysTP (Id, Descript, QueryScript, TypeParam, Button) VALUES (2, 'File Base','filebase','filebase?id=','filarea1.gif');
  11. Insert Into SubSysTP (Id, Descript, QueryScript, TypeParam, Button) VALUES (3, 'Configuration','','confcgi?','subarea2.gif');
  12. Insert Into SubSysTP (Id, Descript, QueryScript, TypeParam, Button) VALUES (6, 'PCBoard File Base','','filebase?fbtype=pcbfb&id=','filarea1.gif');
  13.  
  14.  
  15. --************************************************************************************************
  16. -- Configuration stuff
  17. --************************************************************************************************
  18. Insert Into SubSysIn (id,typeid,instparam,descript) VALUES (-1, 3, 'confmain.sht',   'Sysop Configuration');
  19. Insert Into SubSysIn (id,typeid,descript) VALUES (-2, 3, 'Modem Server Access');
  20. Insert Into SubSysIn (id,typeid,descript) VALUES (-3, 3, 'E-Mail Server Access');
  21. Insert Into SubSysIn (id,typeid,descript) VALUES (-4, 3, 'Read All Messages');
  22. Insert Into sub_prof (InstanceID, ProfileId) VALUES (-1, 1);
  23. Insert Into Area_Sub (AreaId, InstanceId) VALUES (0, -1);
  24. Insert Into Area_Sub (AreaId, InstanceId) VALUES (-1, -2);
  25. Insert Into Area_Sub (AreaId, InstanceId) VALUES (-1, -3);
  26. Insert Into Area_Sub (AreaId, InstanceId) VALUES (-1, -4);
  27.  
  28.  
  29. --************************************************************************************************
  30. -- Use this file to insert sample Data into the Users Table
  31. Insert Into Users (id,alias,passwd,account) VALUES (0, 'guest', 'guest', 0);
  32. Insert Into Users (id,alias,passwd,account) VALUES (1, 'user', 'user', 0);
  33. Insert Into Users (id,alias,passwd,account) VALUES (2, 'sysop', 'sysop', 0);
  34.  
  35.  
  36. Insert Into User_Profile (UserID, ProfileID ) VALUES (0, 2);
  37. Insert Into User_Profile (UserID, ProfileID ) VALUES (1, 0);
  38. Insert Into User_Profile (UserID, ProfileID ) VALUES (2, 1);
  39.  
  40.  
  41.  
  42. Insert Into Files(ID,URL,Descript) VALUES (0,'testfile.zip','MetaWorlds Test File');
  43.  
  44. Insert Into FLB_File(FbID,FID) VALUES (4,0);
  45. Insert Into FLB_File(FbID,FID) VALUES (6,0);
  46.  
  47.  
  48. Insert into cgi_path (cgi, location) values ('imagemap', '.\');
  49. Insert into cgi_path (cgi, location) values ('whocgi', '.\');
  50. Insert into cgi_path (cgi, location) values ('newuser', '.\');
  51. Insert into cgi_path (cgi, location) values ('filebase', '.\');
  52. Insert into cgi_path (cgi, location) values ('msgbase', '.\');
  53. Insert into cgi_path (cgi, location) values ('area', '.\');
  54.  
  55. commit work;
  56.  
  57.