'id'); $DB_SCHEMA['_test2']['id']=array('def'=>'int not null auto_increment','type'=>'int'); $DB_SCHEMA['_test2']['test']=array('def'=>'int','type'=>'int'); $DB_DATA['_test2']['test=1']="(test) values (1)"; */ $DB_SCHEMA['_access']['user']=array('def'=>'int','type'=>'int'); $DB_SCHEMA['_access']['folder']=array('def'=>'int','type'=>'int'); $DB_SCHEMA['_acl']['user']=array('def'=>'int','type'=>'int'); $DB_SCHEMA['_acl']['privilege']=array('def'=>'varchar(64)','type'=>'varchar(64)'); $DB_SCHEMA['_acl']['level']=array('def'=>'int','type'=>'int'); $DB_SCHEMA['_conf']['_']=array('pk'=>'parm'); $DB_SCHEMA['_conf']['parm']=array('def'=>'varchar(64)','type'=>'varchar(64)'); $DB_SCHEMA['_conf']['val']=array('def'=>'longtext collate utf8_czech_ci','type'=>'longtext'); $DB_SCHEMA['_conf']['visible']=array('def'=>'tinyint','type'=>'tinyint'); $DB_SCHEMA['_conf']['comment']=array('def'=>'varchar(128)','type'=>'varchar(128)'); $DB_SCHEMA['_conf']['datatype']=array('def'=>'varchar(8) default \'RAW\'','type'=>'varchar(8)'); $DB_SCHEMA['_conf']['possible_vals']=array('def'=>'varchar(128)','type'=>'varchar(128)'); $DB_SCHEMA['_conf']['grp']=array('def'=>'varchar(64)','type'=>'varchar(64)'); $DB_DATA['_conf']['parm=\'titlepage\'']="(`parm`,`val`,`visible`,`comment`,`datatype`,`possible_vals`,`grp`) values ('titlepage','1',1,'ID úvodnej stránky','RAW',NULL,'Základné nastavenia')"; $DB_DATA['_conf']['parm=\'web_title\'']="(`parm`,`val`,`visible`,`comment`,`datatype`,`possible_vals`,`grp`) values ('web_title','NEW SITE',1,'Názov stránky','RAW',NULL,'Základné nastavenia')"; $DB_DATA['_conf']['parm=\'error_page\'']="(`parm`,`val`,`visible`,`comment`,`datatype`,`possible_vals`,`grp`) values ('error_page','5',1,'ID chybovej stránky (404)','RAW',NULL,'Základné nastavenia')"; $DB_DATA['_conf']['parm=\'editor\'']="(`parm`,`val`,`visible`,`comment`,`datatype`,`possible_vals`,`grp`) values ('editor','CK',1,'HTML editor','SEL','plain|MCE|CK','Nastavenia administrácie')"; $DB_DATA['_conf']['parm=\'counter_days\'']="(`parm`,`val`,`visible`,`comment`,`datatype`,`possible_vals`,`grp`) values ('counter_days','1,365',1,'Intervaly sledovania návštevnosti v dňoch','RAW',NULL,'Základné nastavenia')"; $DB_DATA['_conf']['parm=\'editor_gallery\'']="(`parm`,`val`,`visible`,`comment`,`datatype`,`possible_vals`,`grp`) values ('editor_gallery','0',1,'ID galérie na rýchly upload','RAW',NULL,'Nastavenia administrácie')"; $DB_SCHEMA['_kategorie']['_']=array('pk'=>'id'); $DB_SCHEMA['_kategorie']['id']=array('def'=>'int NOT NULL auto_increment','type'=>'int'); $DB_SCHEMA['_kategorie']['nlft']=array('def'=>'int','type'=>'int'); $DB_SCHEMA['_kategorie']['nrgt']=array('def'=>'int','type'=>'int'); $DB_SCHEMA['_kategorie']['nazov']=array('def'=>'varchar(64)','type'=>'varchar(64)'); $DB_SCHEMA['_kategorie']['comment']=array('def'=>'varchar(128)','type'=>'varchar(128)'); $DB_SCHEMA['_kategorie']['protected']=array('def'=>'tinyint(1) default 0','type'=>'tinyint'); $DB_SCHEMA['_kategorie']['system']=array('def'=>'tinyint(1) default 0','type'=>'tinyint'); $DB_SCHEMA['_kategorie']['preid']=array('def'=>'varchar(64)','type'=>'varchar(64)'); $DB_SCHEMA['_kategorie']['class']=array('def'=>'varchar(128)','type'=>'varchar(128)'); // Zakladne delenie $DB_DATA['_kategorie']['id=1']="(id,nlft,nrgt,nazov) values (1,1,20,'ROOT'),(2,18,19,'Sablony'),(3,16,17,'Stranky'),(4,14,15,'Obsahy stranok'),(5,12,13,'Dokumenty'),(6,6,11,'Fotogaleria'),(7,4,5,'Menu'),(8,2,3,'Formular'),(9,9,10,'Obrazky v stranke'),(10,7,8,'Slideshow')"; // $DB_DATA['_kategorie']['id=1']="(id,nlft,nrgt,nazov) values (1,1,2,'ROOT')"; $DB_DATA['_kategorie']['id=-1']="(id,nlft,nrgt,nazov,protected,system) values (-1,-2,-1,'SYSTEM',1,1)"; $DB_SCHEMA['_objects']['_']=array('pk'=>'id'); $DB_SCHEMA['_objects']['id']=array('def'=>'int NOT NULL auto_increment','type'=>'int'); $DB_SCHEMA['_objects']['folder']=array('def'=>'int','type'=>'int'); $DB_SCHEMA['_objects']['typ']=array('def'=>'varchar(32) collate utf8_czech_ci','type'=>'varchar(32)'); $DB_SCHEMA['_objects']['nazov']=array('def'=>'varchar(64) collate utf8_czech_ci','type'=>'varchar(64)'); $DB_SCHEMA['_objects']['popis']=array('def'=>'varchar(64) collate utf8_czech_ci','type'=>'varchar(64)'); $DB_SCHEMA['_objects']['ident']=array('def'=>'varchar(64) collate utf8_czech_ci','type'=>'varchar(64)'); $DB_SCHEMA['_objects']['xdata']=array('def'=>'longtext collate utf8_czech_ci','type'=>'longtext'); $DB_SCHEMA['_objects']['tdata']=array('def'=>'longtext collate utf8_czech_ci','type'=>'longtext'); $DB_SCHEMA['_objects']['bdata']=array('def'=>'longblob','type'=>'longblob'); $DB_INDEX['_objects']['idx_typ_ident'] = '`typ`,`ident`'; $DB_DATA['_objects']['id=1']="(id,folder,typ,nazov,popis,ident,xdata) values (1,7,'menu','Menu','',NULL,'".serialize(array())."')"; $DB_DATA['_objects']['id=2']="(id,folder,typ,nazov,popis,ident,xdata) values (2,8,'form','Kontaktný formulár','',NULL,'".addslashes(serialize(array( 'htmlform' => '2', 'redirect' => '3', 'submittext' => 'ODOSLAŤ SPRÁVU', 'req' => 'meno,email,text', 'captcha' => '1', 'processor' => 'default.php', 'approval' => '1', 'approval_text' => 'Oboznámil som sa so', 'presonal_info_page' => '2', 'link_text' => 'spracúvaním osobných údajov', 'approval_desc' => '', )))."')"; $DB_SCHEMA['_privilege_list']['_']=array('pk'=>'privilege'); $DB_SCHEMA['_privilege_list']['privilege']=array('def'=>'varchar(64) NOT NULL default \'\'','type'=>'varchar(64)'); $DB_SCHEMA['_privilege_list']['comment']=array('def'=>'varchar(256)','type'=>'varchar(256)'); $DB_SCHEMA['_privilege_list']['skratka']=array('def'=>'varchar(8)','type'=>'varchar(8)'); $DB_SCHEMA['_users']['_']=array('pk'=>'id'); $DB_SCHEMA['_users']['id']=array('def'=>'int NOT NULL auto_increment','type'=>'int'); $DB_SCHEMA['_users']['username']=array('def'=>'varchar(64)','type'=>'varchar(64)'); $DB_SCHEMA['_users']['pwd']=array('def'=>'varchar(64)','type'=>'varchar(64)'); $DB_SCHEMA['_users']['allow']=array('def'=>'tinyint default 1','type'=>'tinyint'); $DB_SCHEMA['_users']['fullname']=array('def'=>'varchar(64)','type'=>'varchar(64)'); ?> Starstyle.sk | Starstyle.cz | Starstyle.hu |