Changeset 146 for trunk/Modules/ZdechovNET/ModuleZdechovNET.pas
- Timestamp:
- Dec 29, 2023, 11:44:26 PM (11 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ZdechovNET/ModuleZdechovNET.pas
r145 r146 1 unit UModuleZdechovNET;1 unit ModuleZdechovNET; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, UModularSystem, UWebPage, URobotsPage,7 UWebSession, DateUtils, UModuleBase, UModuleUser, UIPTVPage,8 UInternetPage, UHostingPage, UHistoryPage, UDocumentsPage, UVoIPPage,9 ULinksPage, UPlansPage, UServerInfoPage, UWebCamPage, UUser,10 UNetworkPage, UAboutPage, UContactPage, UProjectsPage;6 Classes, SysUtils, UModularSystem, UWebPage, RobotsPage, 7 WebSession, DateUtils, ModuleBase, ModuleUser, IPTVPage, 8 InternetPage, HostingPage, HistoryPage, DocumentsPage, VoIPPage, 9 LinksPage, PlansPage, ServerInfoPage, WebCamPage, User, 10 NetworkPage, AboutPage, ContactPage, ProjectsPage; 11 11 12 12 type … … 49 49 50 50 uses 51 UCore, USqlDatabase, UXmlClasses, UHtmlClasses, UUtils;51 Core, USqlDatabase, UXmlClasses, UHtmlClasses, Utils; 52 52 53 53 { TModuleZdechovNET } … … 169 169 DbRows := TDbRows.Create; 170 170 171 Core.Co mmonDatabase.Query(DbRows,171 Core.Core.CommonDatabase.Query(DbRows, 172 172 'CREATE TABLE IF NOT EXISTS `VPSHosting` (' + 173 173 ' `Id` int(11) NOT NULL AUTO_INCREMENT,' + … … 181 181 ') ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'); 182 182 183 Core.Co mmonDatabase.Query(DbRows,183 Core.Core.CommonDatabase.Query(DbRows, 184 184 'CREATE TABLE IF NOT EXISTS `History` (' + 185 185 ' `Id` int(11) NOT NULL AUTO_INCREMENT,' + … … 189 189 ') ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ;'); 190 190 191 Core.Co mmonDatabase.Query(DbRows,191 Core.Core.CommonDatabase.Query(DbRows, 192 192 'CREATE TABLE IF NOT EXISTS `Webcam` (' + 193 193 ' `Id` int(11) NOT NULL AUTO_INCREMENT,' + … … 204 204 ') ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;'); 205 205 206 Core.Co mmonDatabase.Query(DbRows,206 Core.Core.CommonDatabase.Query(DbRows, 207 207 ' CREATE TABLE IF NOT EXISTS `Plans` (' + 208 208 ' `Id` int(11) NOT NULL AUTO_INCREMENT,' + … … 217 217 ') ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ;'); 218 218 219 Core.Co mmonDatabase.Query(DbRows,219 Core.Core.CommonDatabase.Query(DbRows, 220 220 'CREATE TABLE IF NOT EXISTS `HostedProject` (' + 221 221 ' `Id` int(11) NOT NULL AUTO_INCREMENT,' + … … 245 245 try 246 246 DbRows := TDbRows.Create; 247 Core.Co mmonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `HostedProject`');248 Core.Co mmonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Plans`');249 Core.Co mmonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Webcam`');250 Core.Co mmonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `VPSHosting`');251 Core.Co mmonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `History`');247 Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `HostedProject`'); 248 Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Plans`'); 249 Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Webcam`'); 250 Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `VPSHosting`'); 251 Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `History`'); 252 252 finally 253 253 DbRows.Free;
Note:
See TracChangeset
for help on using the changeset viewer.