Changeset 10
- Timestamp:
- Oct 12, 2008, 8:43:23 PM (16 years ago)
- Files:
-
- 4 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
base.php
r9 r10 12 12 include('types/Float.php'); 13 13 include('types/Hyperlink.php'); 14 include('types/Hidden.php'); 15 16 // Include list events definitions 17 include('lists/SystemList.php'); 18 include('lists/SystemListItem.php'); 14 19 15 20 function ShowList($List, $Column = '', $ColumnValue = 0, $Title = '') … … 73 78 if($Item['VisibleInList'] == 1) 74 79 { 75 $ItemType = explode(':', $Item['Type']);76 $Type = $Types[$ItemType[0]];77 80 $ItemDefinition = array('Name' => $Index, 'Value' => $DbRow[$Index], 'SourceTable' => $List['TableName'], 'SourceItemId' => $DbRow['Id'], 'Type' => $Item['Type']); 78 if(is_callable($Type['CallbackView'])) $Value = $Type['CallbackView']($Type, $ItemDefinition); 79 else $Value = $Type['CallbackView']; 80 $Output .= '<td>'.$Value.'</td>'; 81 $Output .= '<td>'.ExecuteTypeEvent($Item['Type'], 'OnView', $ItemDefinition).'</td>'; 81 82 } 82 83 } … … 101 102 $Output .= '<th><a href="?OrderColumn='.$Item['Name'].'">'.$Item['TextBefore'].'</a></th>'; 102 103 } 103 $Output .= '<th> Akce</th></tr>';104 $Output .= '<th><a href="?OrderColumn=Author">Autor</a></th><th><a href="?OrderColumn=CreationTime">Čas vytvoření</a></th><th>Akce</th></tr>'; 104 105 105 106 $Where = ' AND (ItemId='.$Id.')'; … … 129 130 $TotalItemCount = $DbRow[0]; 130 131 131 $DbResult = $Database->query('SELECT * FROM `'.$List['TableName'].'` WHERE 1'.$Where.' LIMIT '.($Page * $Config['Web']['ItemsPerPage']).', '.$Config['Web']['ItemsPerPage']);132 $DbResult = $Database->query('SELECT * FROM `'.$List['TableName'].'` AS t1 WHERE 1'.$Where.' LIMIT '.($Page * $Config['Web']['ItemsPerPage']).', '.$Config['Web']['ItemsPerPage']); 132 133 //echo($Database->LastQuery.'<br>'); 133 134 while($DbRow = $DbResult->fetch_array()) 134 135 { 135 136 $Output .= '<tr>'; 136 foreach($List['Items'] as $I ndex => $Item)137 foreach($List['Items'] as $Item) 137 138 { 138 139 if($Item['VisibleInList'] == 1) 139 140 { 140 $ItemType = explode(':', $Item['Type']); 141 $Type = $Types[$ItemType[0]]; 142 $ItemDefinition = array('Name' => $Index, 'Value' => $DbRow[$Index], 'SourceTable' => $List['TableName'], 'SourceItemId' => $DbRow['Id'], 'Type' => $Item['Type']); 143 if(is_callable($Type['CallbackView'])) $Value = $Type['CallbackView']($Type, $ItemDefinition); 144 else $Value = $Type['CallbackView']; 145 $Output .= '<td>'.$Value.'</td>'; 146 } 147 } 141 $ItemDefinition = array('Name' => $Item['Name'], 'Value' => $DbRow[$Item['Name']], 'SourceTable' => $List['TableName'], 'SourceItemId' => $DbRow['Id'], 'Type' => $Item['Type']); 142 $Output .= '<td>'.ExecuteTypeEvent($Item['Type'], 'OnView', $ItemDefinition).'</td>'; 143 } 144 } 145 $Item = array('Name' => 'Author', 'Type' => 'PointerOneToOne:User'); 146 $ItemType = explode(':', $Item['Type']); 147 $Type = $Types[$ItemType[0]]; 148 $ItemDefinition = array('Name' => $Item['Name'], 'Value' => $DbRow[$Item['Name']], 'SourceTable' => $List['TableName'], 'SourceItemId' => $DbRow['Id'], 'Type' => $Item['Type']); 149 if(is_callable($Type['CallbackView'])) $Value = $Type['CallbackView']($Type, $ItemDefinition); 150 else $Value = $Type['CallbackView']; 151 $Output .= '<td>'.$Value.'</td>'; 152 153 $Output .= '<td>'.$DbRow['CreationTime'].'</td>'; 148 154 $Output .= '<td><a href="?Action=ViewItem&Table='.$List['TableName'].'&Item='.$DbRow['Id'].'">Zobrazit</a> </td></tr>'; 149 155 } 150 156 $Output .= '</table>'; 151 157 $Output .= PagesList($Page, $TotalItemCount); 152 $Output .= '<a href="?Action= AddItem&Table='.$List['TableName'].$ColumnSelection.'">Přidat</a> '.$FullListLink;158 $Output .= '<a href="?Action=ShowList&Table='.$List['TableName'].'">Celkový seznam</a>'; 153 159 return($Output); 154 160 } … … 164 170 foreach($List['Items'] as $Index => $Item) 165 171 { 166 $ItemType = explode(':', $Item['Type']); 167 if($ItemType[0] != 'PointerOneToMany') 172 if($Types[$Item['Type']]['BaseType'] != 'PointerOneToMany') 168 173 { 169 174 $DefinitionItems[] = array('Name' => $Index, 'Caption' => $Item['TextBefore'].$Required, 'Value' => $DbRow[$Index], 'SourceTable' => $List['TableName'], 'SourceItemId' => $DbRow['Id'], 'Type' => $Item['Type']); … … 197 202 foreach($List['Items'] as $Index => $Item) 198 203 { 199 $ItemType = explode(':', $Item['Type']); 200 if($ItemType[0] != 'PointerOneToMany') 204 if($Types[$Item['Type']]['BaseType'] != 'PointerOneToMany') 201 205 { 202 206 $Values[$Index] = $_POST[$Index]; … … 222 226 $DefinitionItems = array(); 223 227 $AfterTableOutput = ''; 224 foreach($List['Items'] as $I ndex => $Item)225 { 226 $ItemType = explode(':', $Item['Type']);227 if(($ ItemType[0] != 'PointerOneToMany') and ($Item['Name'] != $Column))228 foreach($List['Items'] as $Item) 229 { 230 //echo($Item['Name'].','); 231 if(($Types[$Item['Type']]['BaseType'] != 'PointerOneToMany') and ($Item['Name'] != $Column)) 228 232 { 229 233 if($Item['Required'] == 1) $Required = '*'; else $Required = ''; 230 $DefinitionItems[] = array('Name' => $I ndex, 'Type' => $Item['Type'], 'Caption' => $Item['TextBefore'].$Required, 'Value' => '', 'SourceTable' => $List['TableName'], 'SourceItemId' => 0);234 $DefinitionItems[] = array('Name' => $Item['Name'], 'Type' => $Item['Type'], 'Caption' => $Item['TextBefore'].$Required, 'Value' => '', 'SourceTable' => $List['TableName'], 'SourceItemId' => 0); 231 235 } else 232 236 if($Item['Name'] == $Column) 233 237 { 234 $DefinitionItems[] = array('Name' => $Column, 'Type' => 'String', 'Caption' => '', 'Value' => $ColumnValue); 235 } 236 } 238 $DefinitionItems[] = array('Name' => $Column, 'Type' => 'Hidden', 'Caption' => '', 'Value' => $ColumnValue); 239 } 240 } 241 $DefinitionItems[] = array('Name' => 'Column', 'Type' => 'Hidden', 'Caption' => '', 'Value' => $Column); 242 237 243 $Form = new Form(); 238 244 $Form->Definition = array … … 261 267 foreach($List['Items'] as $Index => $Item) 262 268 { 263 $ItemType = explode(':', $Item['Type']); 264 if($ItemType[0] != 'PointerOneToMany') 269 if($Types[$Item['Type']]['BaseType'] != 'PointerOneToMany') 265 270 { 266 271 $Values[$Index] = $_POST[$Index]; … … 278 283 $Output = 'Položka přidána'; 279 284 $Output .= ShowViewItem($List, $Database->insert_id); 285 $Values['Column'] = $_POST['Column']; 286 ExecuteListEvent($List['TableName'], 'OnAdd', $Values); 280 287 return($Output); 281 288 } … … 292 299 foreach($List['Items'] as $Index => $Item) 293 300 { 294 $ItemType = explode(':', $Item['Type']); 295 if($ItemType[0] != 'PointerOneToMany') 301 if($Types[$Item['Type']]['BaseType'] != 'PointerOneToMany') 296 302 { 297 303 $DefinitionItems[] = array('Name' => $Index, 'Type' => $Item['Type'], 'Caption' => $Item['TextBefore'].$Required, 'Value' => $DbRow[$Index], 'SourceTable' => $List['TableName'], 'SourceItemId' => 0); … … 318 324 foreach($List['Items'] as $Index => $Item) 319 325 { 320 $ItemType = explode(':', $Item['Type']); 321 if($ItemType[0] == 'PointerOneToMany') 322 { 323 $SubList = $Lists[$ItemType[1]]; 324 $Output .= ShowList($SubList, $ItemType[2], $DbRow['Id'], $Item['TextBefore']).'<br /><br />'; 326 if($Types[$Item['Type']]['BaseType'] == 'PointerOneToMany') 327 { 328 $SubList = $Lists[$Types[$Item['Type']]['Parameters'][0]]; 329 $Output .= ShowList($SubList, $Types[$Item['Type']]['Parameters'][1], $DbRow['Id'], $Item['TextBefore']).'<br /><br />'; 325 330 } 326 331 } … … 362 367 if(array_key_exists($Var, $_GET)) $_SESSION[$Var] = $_GET[$Var]; 363 368 } 364 365 369 $Output = ''; 366 370 if(array_key_exists('Table', $_SESSION) and array_key_exists($_SESSION['Table'], $Lists)) … … 434 438 { 435 439 $DbRow['Parameters'] = explode('|', $DbRow['Parameters']); 436 $Types[$DbRow['Name']] = $DbRow; 440 $DbRow['BaseType'] = $DbRow['Name']; 441 $Types[$DbRow['Id']] = $DbRow; 437 442 } 438 443 … … 440 445 foreach($Types as $Index => $Type) 441 446 { 442 if($Type['ParentType'] != '')447 if($Type['ParentType'] != 0) 443 448 { 444 449 foreach($Type as $Index2 => $Item) … … 447 452 $Types[$Index][$Index2] = $Types[$Type['ParentType']][$Index2]; 448 453 } 454 $Types[$Index]['BaseType'] = $Types[$Type['ParentType']]['Name']; 449 455 } 450 456 } … … 452 458 } 453 459 460 function ExecuteListEvent($Table, $Event, $Parameters) 461 { 462 $Callback = 'List'.$Table.$Event; 463 if(is_callable($Callback)) $Callback($Parameters); 464 } 465 466 function ExecuteTypeEvent($Type, $Event, $Parameters) 467 { 468 global $Types; 469 470 $Callback = 'Type'.$Types[$Type]['BaseType'].$Event; 471 //echo($Callback.','); 472 if(is_callable($Callback)) return($Callback($Parameters)); 473 else return($Callback); 474 } 475 454 476 ?> -
forms.php
r9 r10 13 13 $Output = '<center><form action="'.$this->OnSubmit.'" method="post"><div align="center">'; 14 14 $Table = $this->ShowEditBlock(); 15 $Output .= $this->Definition['Title'].Table($Table). '<input type="submit" value="'.$this->Definition['SubmitBuffonText'].'"></div></form>';15 $Output .= $this->Definition['Title'].Table($Table).$this->ShowHiddenBlock().'<input type="submit" value="'.$this->Definition['SubmitBuffonText'].'"></div></form>'; 16 16 return($Output); 17 17 } … … 28 28 foreach($this->Definition['Items'] as $Item) 29 29 { 30 $ItemType = explode(':', $Item['Type']); 31 $Index = $Item['Name']; 32 $Type = $Types[$ItemType[0]]; 33 if(!array_key_exists($Index, $this->Values) and isset($Item['Value'])) $this->Values[$Index] = $Item['Value']; 34 if(is_callable($Type['CallbackEdit'])) $Edit = $Type['CallbackEdit']($Type, $Item); 35 else $Edit = $Type['CallbackEdit']; 36 array_push($Table['Rows'], array($Item['Caption'].':', $Edit)); 30 if($Item['Type'] != 'Hidden') 31 { 32 if(!array_key_exists($Index, $this->Values) and isset($Item['Value'])) $this->Values[$Index] = $Item['Value']; 33 $Edit = ExecuteTypeEvent($Item['Type'], 'OnEdit', $Item); 34 array_push($Table['Rows'], array($Item['Caption'].':', $Edit)); 35 } 37 36 } 38 37 return($Table); 38 } 39 40 function ShowHiddenBlock($Context = '') 41 { 42 global $Database, $Types; 43 44 $Output = ''; 45 if($Context != '') $Context = $Context.'-'; 46 foreach($this->Definition['Items'] as $Item) 47 { 48 if($Item['Type'] == 'Hidden') 49 { 50 if(!array_key_exists($Item['Name'], $this->Values) and isset($Item['Value'])) $this->Values[$Item['Name']] = $Item['Value']; 51 $Edit = ExecuteTypeEvent($Item['Type'], 'OnEdit', $Item); 52 $Output .= $Edit; 53 } 54 } 55 return($Output); 39 56 } 40 57 … … 58 75 foreach($this->Definition['Items'] as $Item) 59 76 { 60 $ItemType = explode(':', $Item['Type']); 61 $Index = $Item['Name']; 62 $Type = $Types[$ItemType[0]]; 63 if(!array_key_exists($Index, $this->Values) and isset($Item['Value'])) $this->Values[$Index] = $Item['Value']; 64 if(is_callable($Type['CallbackView'])) $Edit = $Type['CallbackView']($Type, $Item); 65 else $Edit = $Type['CallbackView']; 77 if(!array_key_exists($Item['Name'], $this->Values) and isset($Item['Value'])) $this->Values[$Item['Name']] = $Item['Value']; 78 $Edit = ExecuteTypeEvent($Item['Type'], 'OnView', $Item); 66 79 array_push($Table['Rows'], array($Item['Caption'].':', $Edit)); 67 80 } -
sql/demo_database.sql
r8 r10 1 1 -- phpMyAdmin SQL Dump 2 -- version 2.11.9. 12 -- version 2.11.9.2 3 3 -- http://www.phpmyadmin.net 4 4 -- 5 5 -- Počítač: localhost 6 -- Vygenerováno: Pondělí 29. září 2008, 14:316 -- Vygenerováno: Neděle 12. října 2008, 20:37 7 7 -- Verze MySQL: 5.0.51 8 8 -- Verze PHP: 5.2.6 … … 22 22 CREATE TABLE IF NOT EXISTS `Area` ( 23 23 `Id` int(11) NOT NULL auto_increment, 24 `ItemId` int(11) NOT NULL, 25 `Author` int(11) NOT NULL, 26 `ValidTimeFrom` datetime default NULL, 27 `ValidTimeTo` datetime default NULL, 28 `CreationTime` datetime NOT NULL, 24 29 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 25 30 `NetworkIPAddress` varchar(255) collate utf8_czech_ci NOT NULL, … … 33 38 `HostList` int(11) NOT NULL, 34 39 PRIMARY KEY (`Id`) 35 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT= 5;40 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=9 ; 36 41 37 42 -- … … 39 44 -- 40 45 41 INSERT INTO `Area` (`Id`, `Name`, `NetworkIPAddress`, `IPAddressMask`, `DNSPrimary`, `DNSSecondary`, `DHCP`, `Domain`, `Workgroup`, `WINS`, `HostList`) VALUES 42 (1, 'Bytovky dolní konec', '192.168.12.0', '255.255.255.0', '192.168.0.22', '46.33.1.2', '192.168.12.1', 'freenet.cz', 'FREENET', '192.168.0.23', 0), 43 (2, 'Centrum Komořany', '192.168.10.0', '255.255.255.0', '192.168.0.22', '', '192.168.10.1', 'centrum.freenet.cz', 'CENTRUM', '192.168.0.23', 0), 44 (3, 'Serverovna', '192.168.0.0', '255.255.255.0', '192.168.0.22', '44.55.22.34', '19ě.168.0.1', 'freenet.cz', 'FREENET', '192.168.0.23', 0), 45 (4, 'Kůlna', '10.198.0.0', '255.255.0.0', '192.168.0.1', '129.168.0.22', '10.198.0.1', 'kulna.freenet.cz', 'KULNA', '192.168.0.23', 0); 46 INSERT INTO `Area` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Name`, `NetworkIPAddress`, `IPAddressMask`, `DNSPrimary`, `DNSSecondary`, `DHCP`, `Domain`, `Workgroup`, `WINS`, `HostList`) VALUES 47 (1, 4, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Bytovky dolní konec', '192.168.12.0', '255.255.255.0', '192.168.0.22', '46.33.1.2', '192.168.12.1', 'freenet.cz', 'FREENET', '192.168.0.23', 0), 48 (2, 3, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Centrum Komořany', '192.168.10.0', '255.255.255.0', '192.168.0.22', '', '192.168.10.1', 'centrum.freenet.cz', 'CENTRUM', '192.168.0.23', 0), 49 (3, 4, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Serverovna', '192.168.0.0', '255.255.255.0', '192.168.0.22', '44.55.22.34', '19ě.168.0.1', 'freenet.cz', 'FREENET', '192.168.0.23', 0), 50 (4, 4, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Kůlna', '10.198.0.0', '255.255.0.0', '192.168.0.1', '129.168.0.22', '10.198.0.1', 'kulna.freenet.cz', 'KULNA', '192.168.0.23', 0), 51 (5, 1, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-09 14:02:11', 'ss', 'ss', 'ss', '', '', '', '', '', '', 0), 52 (6, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-09 14:04:59', 'kk', '', '', '', '', '', '', '', '', 0), 53 (7, 2, 0, '2008-10-09 14:09:48', NULL, '2008-10-09 14:09:48', 'kk', 'sss', '', '', '', '', '', '', '', 0), 54 (8, 2, 5, '2008-10-09 14:43:13', NULL, '2008-10-09 14:43:13', 'Ahoj', 'sss', '', '', '', '', '', '', '', 0); 46 55 47 56 -- -------------------------------------------------------- … … 53 62 CREATE TABLE IF NOT EXISTS `Asset` ( 54 63 `Id` int(11) NOT NULL auto_increment, 64 `ItemId` int(11) NOT NULL, 65 `Author` int(11) NOT NULL, 66 `ValidTimeFrom` datetime NOT NULL, 67 `ValidTimeTo` datetime NOT NULL, 68 `CreationTime` datetime NOT NULL, 55 69 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 56 70 `TimeEnlistment` datetime NOT NULL, … … 67 81 -- 68 82 69 INSERT INTO `Asset` (`Id`, ` Name`, `TimeEnlistment`, `TimeElimination`, `Price`, `State`, `SerialNumber`, `PurcheasedFrom`) VALUES70 (1, 'Ovislink WL-1120AP', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 563, 2, 'WL1120AP111353', 2),71 (2, 'Routerboard RB-433', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 3200, 1, 'RB433-3366264', 9),72 (3, 'Ovislink WL-5460AP', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 800, 3, 'WL5460A-4372-333362', 9),73 (4, 'StraightCore WRT-312', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1110, 0, 'SC-WRT312-112', 7),74 (5, 'UTP kabel 100 m', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 600, 2, '', 7),75 (6, 'Anténa UNIMAX 12 dBi 2,4 GHz', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 600, 2, '4234234234', 7),76 (7, 'UTP kabel Belden CAT-5 305 m ', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1766, 1, '', 9),77 (8, 'Paměť DDR2 2 GB 800 MHz', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 734, 2, 'DDR2422622a', 9),78 (9, 'Všesměrová anténa Omni 10 dBi', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1043, 2, 'OMNI123533', 9),79 (10, 'Notebook Asus EEE PC 901', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 6232, 2, 'ASUSEEE901-2414aa53', 9),80 (11, '10x UTP konektory drát', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 30, 1, '', 9),81 (12, 'Edimax gigabit switch 8-port', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 750, 2, 'EDW8-423423-333', 9),82 (13, 'VoIP adaptér Zyxel VO-112', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1342, 2, 'ZXS422Z33', 9),83 (14, 'IP kamera Vivotek IP-224', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 3744, 2, 'VOWW623335', 9);83 INSERT INTO `Asset` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Name`, `TimeEnlistment`, `TimeElimination`, `Price`, `State`, `SerialNumber`, `PurcheasedFrom`) VALUES 84 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Ovislink WL-1120AP', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 563, 2, 'WL1120AP111353', 2), 85 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Routerboard RB-433', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 3200, 1, 'RB433-3366264', 9), 86 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Ovislink WL-5460AP', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 800, 3, 'WL5460A-4372-333362', 9), 87 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'StraightCore WRT-312', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1110, 0, 'SC-WRT312-112', 7), 88 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'UTP kabel 100 m', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 600, 2, '', 7), 89 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Anténa UNIMAX 12 dBi 2,4 GHz', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 600, 2, '4234234234', 7), 90 (7, 7, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'UTP kabel Belden CAT-5 305 m ', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1766, 1, '', 9), 91 (8, 8, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Paměť DDR2 2 GB 800 MHz', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 734, 2, 'DDR2422622a', 9), 92 (9, 9, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Všesměrová anténa Omni 10 dBi', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1043, 2, 'OMNI123533', 9), 93 (10, 10, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Notebook Asus EEE PC 901', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 6232, 2, 'ASUSEEE901-2414aa53', 9), 94 (11, 11, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '10x UTP konektory drát', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 30, 1, '', 9), 95 (12, 12, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Edimax gigabit switch 8-port', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 750, 2, 'EDW8-423423-333', 9), 96 (13, 13, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'VoIP adaptér Zyxel VO-112', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1342, 2, 'ZXS422Z33', 9), 97 (14, 14, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'IP kamera Vivotek IP-224', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 3744, 2, 'VOWW623335', 9); 84 98 85 99 -- -------------------------------------------------------- … … 91 105 CREATE TABLE IF NOT EXISTS `BankAccount` ( 92 106 `Id` int(11) NOT NULL auto_increment, 107 `ItemId` int(11) NOT NULL, 108 `Author` int(11) NOT NULL, 109 `ValidTimeFrom` datetime NOT NULL, 110 `ValidTimeTo` datetime NOT NULL, 111 `CreationTime` datetime NOT NULL, 93 112 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 94 113 `BankName` varchar(255) collate utf8_czech_ci NOT NULL, … … 104 123 -- 105 124 106 INSERT INTO `BankAccount` (`Id`, ` Name`, `BankName`, `Number`, `BankCode`, `Type`, `User`) VALUES107 (1, 'Hlavní účet', 'Poštovní spořitelna', '22653446', '0200', 1, 1),108 (2, 'Vedlejší účet', 'Komerční banka', '5543332', '0400', 2, 2),109 (3, 'Pomocný - vedení zdarma', 'Mbank', '24522266', '0156', 1, 2);125 INSERT INTO `BankAccount` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Name`, `BankName`, `Number`, `BankCode`, `Type`, `User`) VALUES 126 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Hlavní účet', 'Poštovní spořitelna', '22653446', '0200', 1, 1), 127 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Vedlejší účet', 'Komerční banka', '5543332', '0400', 2, 2), 128 (3, 3, 4, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Pomocný - vedení zdarma', 'Mbank', '24522266', '0156', 1, 2); 110 129 111 130 -- -------------------------------------------------------- … … 117 136 CREATE TABLE IF NOT EXISTS `FinanceTransaction` ( 118 137 `Id` int(11) NOT NULL auto_increment, 138 `ItemId` int(11) NOT NULL, 139 `Author` int(11) NOT NULL, 140 `ValidTimeFrom` datetime NOT NULL, 141 `ValidTimeTo` datetime NOT NULL, 142 `CreationTime` datetime NOT NULL, 119 143 `Description` varchar(255) collate utf8_czech_ci NOT NULL, 120 144 `Amount` float NOT NULL, … … 131 155 -- 132 156 133 INSERT INTO `FinanceTransaction` (`Id`, `Description`, `Amount`, `SourceSubject`, `TargetSubject`, `Time`, `Type`, `InsertedByUser`) VALUES 134 (1, 'Internet 2 Mbit 2008/05', 360, 2, 11, '0000-00-00 00:00:00', 0, 1), 135 (2, 'Zřízení přípojky', 4300, 10, 11, '0000-00-00 00:00:00', 1, 11), 136 (3, 'Internet 8 Mbit 2008/05', 750, 8, 11, '0000-00-00 00:00:00', 0, 11), 137 (4, 'Vrácení přeplatku', 231, 11, 8, '0000-00-00 00:00:00', 0, 11); 138 139 -- -------------------------------------------------------- 140 141 -- 142 -- Struktura tabulky `History` 143 -- 144 145 CREATE TABLE IF NOT EXISTS `History` ( 146 `Id` int(11) NOT NULL auto_increment, 147 `Author` int(11) NOT NULL, 148 `TimeValidFrom` datetime NOT NULL, 149 `TimeValidTo` datetime NOT NULL, 150 `PermanentId` int(11) NOT NULL, 151 `ListId` int(11) NOT NULL, 152 `TimeCreation` datetime NOT NULL, 153 PRIMARY KEY (`Id`) 154 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ; 155 156 -- 157 -- Vypisuji data pro tabulku `History` 158 -- 159 157 INSERT INTO `FinanceTransaction` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Description`, `Amount`, `SourceSubject`, `TargetSubject`, `Time`, `Type`, `InsertedByUser`) VALUES 158 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Internet 2 Mbit 2008/05', 360, 2, 11, '0000-00-00 00:00:00', 0, 1), 159 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Zřízení přípojky', 4300, 10, 11, '0000-00-00 00:00:00', 1, 11), 160 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Internet 8 Mbit 2008/05', 750, 8, 11, '0000-00-00 00:00:00', 0, 11), 161 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Vrácení přeplatku', 231, 11, 8, '0000-00-00 00:00:00', 0, 11); 160 162 161 163 -- -------------------------------------------------------- … … 167 169 CREATE TABLE IF NOT EXISTS `Host` ( 168 170 `Id` int(11) NOT NULL auto_increment, 171 `ItemId` int(11) NOT NULL, 172 `Author` int(11) NOT NULL, 173 `ValidTimeFrom` datetime NOT NULL, 174 `ValidTimeTo` datetime NOT NULL, 175 `CreationTime` datetime NOT NULL, 169 176 `DomainName` varchar(225) character set latin1 NOT NULL, 170 177 `NetBIOSName` varchar(255) character set latin1 NOT NULL, … … 184 191 -- 185 192 186 INSERT INTO `Host` (`Id`, ` DomainName`, `NetBIOSName`, `LocalIPAddress`, `PublicIPAddress`, `LastOnlineDate`, `Type`, `Interface`, `ParentHost`, `Member`, `Area`) VALUES187 (1, 'george', 'GEORGE', '192.168.0.23', '', '0000-00-00', 1, 0, 4, 0, 0),188 (2, 'stroj', 'STROJ', '192.168.1.44', '33.66.44.77', '0000-00-00', 5, 0, 0, 0, 0),189 (3, 'telefon', 'TELEFON', '192.168.1.45', '', '0000-00-00', 2, 0, 4, 1, 2),190 (4, 'router-inet', 'ROUTER-INET', '192.168.0.2', '77.33.55.12', '0000-00-00', 4, 0, 1, 1, 4),191 (5, 'muhehe', 'MUHEHE', '192.168.0.4', '', '0000-00-00', 1, 0, 1, 1, 2),192 (6, 'jonny', 'JONNY', '192.168.0.6', '', '0000-00-00', 1, 0, 1, 1, 1),193 (7, 'laserovka-samsung', 'LASEROVKA-SAMSUNG', '192.168.12.4', '', '0000-00-00', 6, 0, 0, 0, 0),194 (8, 'www', 'WWW', '192.168.0.7', '34.22.1.4', '0000-00-00', 5, 0, 0, 0, 0),195 (9, 'peklo', 'PEKLO', '192.168.66.66', '', '0000-00-00', 7, 0, 4, 2, 0);193 INSERT INTO `Host` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `DomainName`, `NetBIOSName`, `LocalIPAddress`, `PublicIPAddress`, `LastOnlineDate`, `Type`, `Interface`, `ParentHost`, `Member`, `Area`) VALUES 194 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'george', 'GEORGE', '192.168.0.23', '', '0000-00-00', 1, 0, 4, 0, 0), 195 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'stroj', 'STROJ', '192.168.1.44', '33.66.44.77', '0000-00-00', 5, 0, 0, 0, 0), 196 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'telefon', 'TELEFON', '192.168.1.45', '', '0000-00-00', 2, 0, 4, 1, 2), 197 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'router-inet', 'ROUTER-INET', '192.168.0.2', '77.33.55.12', '0000-00-00', 4, 0, 1, 1, 4), 198 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'muhehe', 'MUHEHE', '192.168.0.4', '', '0000-00-00', 1, 0, 1, 1, 2), 199 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'jonny', 'JONNY', '192.168.0.6', '', '0000-00-00', 1, 0, 1, 1, 1), 200 (7, 7, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'laserovka-samsung', 'LASEROVKA-SAMSUNG', '192.168.12.4', '', '0000-00-00', 6, 0, 0, 0, 0), 201 (8, 8, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'www', 'WWW', '192.168.0.7', '34.22.1.4', '0000-00-00', 5, 0, 0, 0, 0), 202 (9, 9, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'peklo', 'PEKLO', '192.168.66.66', '', '0000-00-00', 7, 0, 4, 2, 0); 196 203 197 204 -- -------------------------------------------------------- … … 203 210 CREATE TABLE IF NOT EXISTS `Interface` ( 204 211 `Id` int(11) NOT NULL auto_increment, 212 `ItemId` int(11) NOT NULL, 213 `Author` int(11) NOT NULL, 214 `ValidTimeFrom` datetime NOT NULL, 215 `ValidTimeTo` datetime NOT NULL, 216 `CreationTime` datetime NOT NULL, 205 217 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 206 218 `Type` int(11) NOT NULL, … … 215 227 -- 216 228 217 INSERT INTO `Interface` (`Id`, ` Name`, `Type`, `Area`, `Host`, `MAC`) VALUES218 (1, 'Kabel', 2, 0, 1, '00:00:00:00:00:00'),219 (2, 'eth0', 3, 0, 3, 'A5:00:00:11:CD:2F'),220 (3, 'Bezdrát', 0, 0, 5, '00:00:00:A5:53:26'),221 (4, 'eth0', 2, 0, 6, '45:00:12:54:FE:C2');229 INSERT INTO `Interface` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Name`, `Type`, `Area`, `Host`, `MAC`) VALUES 230 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Kabel', 2, 0, 1, '00:00:00:00:00:00'), 231 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'eth0', 3, 0, 3, 'A5:00:00:11:CD:2F'), 232 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Bezdrát', 0, 0, 5, '00:00:00:A5:53:26'), 233 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'eth0', 2, 0, 6, '45:00:12:54:FE:C2'); 222 234 223 235 -- -------------------------------------------------------- … … 229 241 CREATE TABLE IF NOT EXISTS `Member` ( 230 242 `Id` int(11) NOT NULL auto_increment, 243 `ItemId` int(11) NOT NULL, 244 `Author` int(11) NOT NULL, 245 `ValidTimeFrom` datetime NOT NULL, 246 `ValidTimeTo` datetime NOT NULL, 247 `CreationTime` datetime NOT NULL, 231 248 `Subject` int(11) NOT NULL, 232 249 `ResponsibleUser` int(11) NOT NULL, … … 239 256 `Tariff` int(11) NOT NULL, 240 257 `UserList` int(11) NOT NULL, 241 `ValidFromTime` datetime default NULL,242 `ValidToTime` datetime default NULL,243 258 PRIMARY KEY (`Id`) 244 259 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=7 ; … … 248 263 -- 249 264 250 INSERT INTO `Member` (`Id`, ` Subject`, `ResponsibleUser`, `MapPositionX`, `MapPositionY`, `FamilyMemberCount`, `MembershipDate`, `MemberState`, `HostList`, `Tariff`, `UserList`, `ValidFromTime`, `ValidToTime`) VALUES251 (1, 2, 1, 123, 567, 3, '0000-00-00', 2, 0, 3, 0, '2008-09-01 00:00:00', NULL),252 (2, 3, 6, 123, 123, 2, '0000-00-00', 2, 0, 4, 0, '2008-09-01 00:00:00', NULL),253 (3, 7, 8, 0, 0, 0, '0000-00-00', 2, 0, 2, 0, '2008-09-01 00:00:00', NULL),254 (4, 8, 11, 0, 0, 0, '0000-00-00', 2, 0, 3, 0, '2008-09-01 00:00:00', NULL),255 (5, 10, 1, 32423, 21, 2, '0000-00-00', 1, 0, 3, 0, '2008-09-01 00:00:00', NULL),256 (6, 12, 12, 12, 2, 1, '0000-00-00', 3, 0, 1, 0, '2008-09-01 00:00:00', NULL);265 INSERT INTO `Member` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Subject`, `ResponsibleUser`, `MapPositionX`, `MapPositionY`, `FamilyMemberCount`, `MembershipDate`, `MemberState`, `HostList`, `Tariff`, `UserList`) VALUES 266 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 2, 1, 123, 567, 3, '0000-00-00', 2, 0, 3, 0), 267 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 3, 6, 123, 123, 2, '0000-00-00', 2, 0, 4, 0), 268 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 7, 8, 0, 0, 0, '0000-00-00', 2, 0, 2, 0), 269 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 8, 11, 0, 0, 0, '0000-00-00', 2, 0, 3, 0), 270 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 10, 1, 32423, 21, 2, '0000-00-00', 1, 0, 3, 0), 271 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 12, 12, 12, 2, 1, '0000-00-00', 3, 0, 1, 0); 257 272 258 273 -- -------------------------------------------------------- … … 264 279 CREATE TABLE IF NOT EXISTS `MemberReport` ( 265 280 `Id` int(11) NOT NULL auto_increment, 281 `ItemId` int(11) NOT NULL, 282 `Author` int(11) NOT NULL, 283 `ValidTimeFrom` datetime NOT NULL, 284 `ValidTimeTo` datetime NOT NULL, 285 `CreationTime` datetime NOT NULL, 266 286 `Member` int(11) NOT NULL, 267 287 `Text` varchar(255) collate utf8_czech_ci NOT NULL, … … 276 296 -- 277 297 278 INSERT INTO `MemberReport` (`Id`, ` Member`, `Text`, `Date`, `Type`, `Creator`) VALUES279 (1, 1, 'Nefunguje mi internet', '0000-00-00', 1, 11),280 (2, 1, 'Poslední dobu jede internet nějak pomalu. Podívejte se na to prosím.', '0000-00-00', 1, 7),281 (3, 1, 'Uživatel se přestěhoval mimo dosah sítě', '0000-00-00', 3, 11),282 (4, 4, 'Během bouřky spadl strom na vedení a roztrhl jej. Bylo nutno natáhnout kabel znova.', '0000-00-00', 3, 2),283 (5, 2, 'Nefunguje odesílání pošty.', '0000-00-00', 1, 10),284 (6, 1, 'Změna tarifu na Internet 2 Mbit', '0000-00-00', 2, 11),285 (7, 2, 'Chce se stát správcem tamního úseku.', '0000-00-00', 3, 11);298 INSERT INTO `MemberReport` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Member`, `Text`, `Date`, `Type`, `Creator`) VALUES 299 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 'Nefunguje mi internet', '0000-00-00', 1, 11), 300 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 'Poslední dobu jede internet nějak pomalu. Podívejte se na to prosím.', '0000-00-00', 1, 7), 301 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 'Uživatel se přestěhoval mimo dosah sítě', '0000-00-00', 3, 11), 302 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 4, 'Během bouřky spadl strom na vedení a roztrhl jej. Bylo nutno natáhnout kabel znova.', '0000-00-00', 3, 2), 303 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 2, 'Nefunguje odesílání pošty.', '0000-00-00', 1, 10), 304 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 'Změna tarifu na Internet 2 Mbit', '0000-00-00', 2, 11), 305 (7, 7, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 2, 'Chce se stát správcem tamního úseku.', '0000-00-00', 3, 11); 286 306 287 307 -- -------------------------------------------------------- … … 293 313 CREATE TABLE IF NOT EXISTS `Subject` ( 294 314 `Id` int(11) NOT NULL auto_increment, 315 `ItemId` int(11) NOT NULL, 316 `Author` int(11) NOT NULL, 317 `ValidTimeFrom` datetime NOT NULL, 318 `ValidTimeTo` datetime NOT NULL, 319 `CreationTime` datetime NOT NULL, 295 320 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 296 321 `AddressStreet` varchar(255) collate utf8_czech_ci NOT NULL, … … 305 330 `MemberList` int(11) NOT NULL, 306 331 PRIMARY KEY (`Id`) 307 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 4;332 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=18 ; 308 333 309 334 -- … … 311 336 -- 312 337 313 INSERT INTO `Subject` (`Id`, `Name`, `AddressStreet`, `AddressTown`, `AddressZIP`, `IC`, `DIC`, `Notice`, `PurcheasedAsset`, `UserList`, `WWW`, `MemberList`) VALUES 314 (2, 'Ing. Karel Milosrdný', 'Na ústraní 302', 'Otrokovice', '45667', '', '', 'Dodavatel wifi techniky', 0, 0, '', 0), 315 (3, 'Poskytovatel', 'Těsná 23', 'Prachatice', '56678', '33445633', '', '', 0, 0, '', 0), 316 (4, 'Finanční úřad Brno', 'Brněnská 1', 'Brno', '44134', '45773325', 'CZ44337778', '', 0, 0, '', 0), 317 (5, 'GTS Novera', 'U skládky 9', 'Kladno', '47353', '3216346365', '423432', 'Hlavní dodavatel internetu', 0, 0, 'http://www.gtsnovera.cz', 0), 318 (6, 'České radiokomunikace', 'Na rozcestí 5', 'Ostrava', '12445', '23132312', 'CZ342342342', 'Záložní linka', 0, 0, '', 0), 319 (7, 'Lucie Dobrovolná', 'Čajkovského 3', 'Pardubice', '73322', '', '', 'Neplatí včas', 0, 0, '', 0), 320 (8, 'Obecní úřad Nové Milošice', 'Nové Milošice 24', 'Nové Milošice', '44222', '31231312312', 'CZ31231231', '', 0, 0, '', 0), 321 (9, 'SOFTCOM', 'Pod vodou 9', 'Praha', '42044', '2323324234234', 'CZ6565622', 'Prodej výpočetní techniky', 0, 0, 'http://www.softcom.cz/', 0), 322 (10, 'Honza Procházka', 'Za bukem 3', 'Chvojkovice', '44332', '', '', '', 0, 0, '', 0), 323 (11, 'Freenet s.r.o.', 'Bezdrátová 11', 'Nové síťovice', '434223', '43423423423', 'CZ42423423', 'Hlavní kontakt na tuto síť', 0, 0, '', 0), 324 (12, 'Fantomas', 'Tajná 10', 'Pod vodou', '11223', '', '', '', 0, 0, '', 0), 325 (13, 'Czech computer', 'Pod disketou 44', 'Mechanika', '35555', '424234234', 'CZ423423423', 'Prodejce výpočetní techniky', 0, 0, 'http://www.czechcomputer.cz/', 0); 338 INSERT INTO `Subject` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Name`, `AddressStreet`, `AddressTown`, `AddressZIP`, `IC`, `DIC`, `Notice`, `PurcheasedAsset`, `UserList`, `WWW`, `MemberList`) VALUES 339 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Ing. Karel Milosrdný', 'Na ústraní 302', 'Otrokovice', '45667', '', '', 'Dodavatel wifi techniky', 0, 0, '', 0), 340 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Poskytovatel', 'Těsná 23', 'Prachatice', '56678', '33445633', '', '', 0, 0, '', 0), 341 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Finanční úřad Brno', 'Brněnská 1', 'Brno', '44134', '45773325', 'CZ44337778', '', 0, 0, '', 0), 342 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'GTS Novera', 'U skládky 9', 'Kladno', '47353', '3216346365', '423432', 'Hlavní dodavatel internetu', 0, 0, 'http://www.gtsnovera.cz', 0), 343 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'České radiokomunikace', 'Na rozcestí 5', 'Ostrava', '12445', '23132312', 'CZ342342342', 'Záložní linka', 0, 0, '', 0), 344 (7, 7, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Lucie Dobrovolná', 'Čajkovského 3', 'Pardubice', '73322', '', '', 'Neplatí včas', 0, 0, '', 0), 345 (8, 8, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Obecní úřad Nové Milošice', 'Nové Milošice 24', 'Nové Milošice', '44222', '31231312312', 'CZ31231231', '', 0, 0, '', 0), 346 (9, 9, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SOFTCOM', 'Pod vodou 9', 'Praha', '42044', '2323324234234', 'CZ6565622', 'Prodej výpočetní techniky', 0, 0, 'http://www.softcom.cz/', 0), 347 (10, 10, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Honza Procházka', 'Za bukem 3', 'Chvojkovice', '44332', '', '', '', 0, 0, '', 0), 348 (11, 11, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Freenet s.r.o.', 'Bezdrátová 11', 'Nové síťovice', '434223', '43423423423', 'CZ42423423', 'Hlavní kontakt na tuto síť', 0, 0, '', 0), 349 (12, 12, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Fantomas', 'Tajná 10', 'Pod vodou', '11223', '', '', '', 0, 0, '', 0), 350 (13, 13, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Czech computer', 'Pod disketou 44', 'Mechanika', '35555', '424234234', 'CZ423423423', 'Prodejce výpočetní techniky', 0, 0, 'http://www.czechcomputer.cz/', 0), 351 (14, 14, 5, '2008-10-11 22:38:49', '0000-00-00 00:00:00', '2008-10-11 22:38:49', 'Czech computer', 'Pod disketou 44', 'Mechanika', '35555', '424234234', 'CZ423423423', 'Prodejce výpočetní techniky', 0, 0, '', 0), 352 (15, 15, 5, '2008-10-11 22:41:56', '0000-00-00 00:00:00', '2008-10-11 22:41:56', 'Czech computer', 'Pod disketou 44', 'Mechanika', '35555', '424234234', 'CZ423423423', 'Prodejce výpočetní techniky', 0, 0, '', 0), 353 (16, 16, 5, '2008-10-11 22:46:30', '0000-00-00 00:00:00', '2008-10-11 22:46:30', 'Czech computer', 'Pod disketou 44', 'Mechanika', '35555', '424234234', 'CZ423423423', 'Prodejce výpočetní techniky', 0, 0, 'http://www.czechcomputer.cz/', 0), 354 (17, 17, 5, '2008-10-11 22:47:36', '0000-00-00 00:00:00', '2008-10-11 22:47:36', 'Czech computer', 'Pod disketou 44', 'Mechanika', '35555', '424234234', 'CZ423423423', 'Prodejce výpočetní techniky', 0, 0, 'http://www.czechcomputer.cz/', 0); 326 355 327 356 -- -------------------------------------------------------- … … 333 362 CREATE TABLE IF NOT EXISTS `SystemList` ( 334 363 `Id` int(11) NOT NULL auto_increment, 364 `ItemId` int(11) NOT NULL, 365 `Author` int(11) NOT NULL, 366 `ValidTimeFrom` datetime NOT NULL, 367 `ValidTimeTo` datetime NOT NULL, 368 `CreationTime` datetime NOT NULL, 335 369 `TableName` varchar(255) collate utf8_czech_ci NOT NULL, 336 370 `Title` varchar(255) collate utf8_czech_ci NOT NULL, … … 339 373 `VisibleInMenu` int(11) NOT NULL default '1', 340 374 PRIMARY KEY (`Id`) 341 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT= 17 ;375 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=27 ; 342 376 343 377 -- … … 345 379 -- 346 380 347 INSERT INTO `SystemList` (`Id`, `TableName`, `Title`, `System`, `Items`, `VisibleInMenu`) VALUES 348 (1, 'User', 'Uživatelé', 0, '', 1), 349 (2, 'Host', 'Zařízení', 0, '', 1), 350 (3, 'Subject', 'Finanční subjekty', 0, '', 1), 351 (4, 'Member', 'Členové sítě', 0, '', 1), 352 (5, 'Area', 'Oblasti', 0, '', 1), 353 (6, 'Interface', 'Rozhraní zařízení', 0, '', 1), 354 (7, 'Asset', 'Majetek', 0, '', 1), 355 (8, 'Tariff', 'Tarify', 0, '', 1), 356 (9, 'MemberReport', 'Hlášení členů', 0, '', 1), 357 (10, 'BankAccount', 'Bankovní účty', 0, '', 1), 358 (11, 'SystemType', 'Definice typů', 1, '', 1), 359 (12, 'FinanceTransaction', 'Platební operace', 0, '', 1), 360 (13, 'SystemList', 'Definice tabulek', 1, '', 1), 361 (14, 'SystemListItem', 'Definice položek formulářů', 1, '', 0), 362 (15, 'UserOnline', 'Přihlášení uživatelé', 1, '', 1), 363 (16, 'History', 'Historie záznamů', 1, '', 0); 381 INSERT INTO `SystemList` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `TableName`, `Title`, `System`, `Items`, `VisibleInMenu`) VALUES 382 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'User', 'Uživatelé', 0, '', 1), 383 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Host', 'Zařízení', 0, '', 1), 384 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Subject', 'Finanční subjekty', 0, '', 1), 385 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Member', 'Členové sítě', 0, '', 1), 386 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Area', 'Oblasti', 0, '', 1), 387 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Interface', 'Rozhraní zařízení', 0, '', 1), 388 (7, 7, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Asset', 'Majetek', 0, '', 1), 389 (8, 8, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Tariff', 'Tarify', 0, '', 1), 390 (9, 9, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MemberReport', 'Hlášení členů', 0, '', 1), 391 (10, 10, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'BankAccount', 'Bankovní účty', 0, '', 1), 392 (11, 11, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SystemType', 'Definice typů', 1, '', 1), 393 (12, 12, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'FinanceTransaction', 'Platební operace', 0, '', 1), 394 (13, 13, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SystemList', 'Definice tabulek', 1, '', 1), 395 (14, 14, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SystemListItem', 'Definice položek formulářů', 1, '', 0), 396 (15, 15, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'UserOnline', 'Přihlášení uživatelé', 1, '', 1), 397 (16, 16, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'History', 'Historie záznamů', 1, '', 0), 398 (26, 17, 5, '2008-10-12 18:38:17', '0000-00-00 00:00:00', '2008-10-12 18:38:17', 'Test', 'Testovací tabulka', 0, '', 1); 364 399 365 400 -- -------------------------------------------------------- … … 371 406 CREATE TABLE IF NOT EXISTS `SystemListItem` ( 372 407 `Id` int(11) NOT NULL auto_increment, 408 `ItemId` int(11) NOT NULL, 409 `Author` int(11) NOT NULL, 410 `ValidTimeFrom` datetime NOT NULL, 411 `ValidTimeTo` datetime NOT NULL, 412 `CreationTime` datetime NOT NULL, 373 413 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 374 414 `TextBefore` varchar(255) collate utf8_czech_ci NOT NULL, … … 383 423 `List` int(11) NOT NULL, 384 424 PRIMARY KEY (`Id`) 385 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 31;425 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=143 ; 386 426 387 427 -- … … 389 429 -- 390 430 391 INSERT INTO `SystemListItem` (`Id`, `Name`, `TextBefore`, `TextAfter`, `Type`, `Help`, `Default`, `Required`, `Editable`, `VisibleInList`, `VisibleInPointer`, `List`) VALUES 392 (1, 'FirstName', 'Jméno', '', 'String', 'Zadejte jméno', '', 1, 1, 1, 1, 1), 393 (2, 'SecondName', 'Příjmení', '', 'String', 'Zadejte příjmení', '', 1, 1, 1, 1, 1), 394 (3, 'Email', 'E-mail', '', 'String', 'Zadejte emailovou adresu', '', 1, 1, 1, 0, 1), 395 (4, 'ICQ', 'ICQ', '', 'Integer', 'Zadejte kontaktní číslo textového komunikačního programu ICQ.', '', 0, 1, 0, 0, 1), 396 (5, 'Sex', 'Pohlaví', '', 'Sex', 'Vyberte pohlaví osoby', '', 0, 1, 0, 0, 1), 397 (6, 'BirthDay', 'Datum narození', '', 'Date', 'Vyberte datum narození', '', 0, 1, 0, 0, 1), 398 (7, 'DomainName', 'Doménové jméno', '', 'String', 'Zadejte jméno počítače v doméně', '', 1, 1, 1, 1, 2), 399 (8, 'NetBIOSName', 'NetBIOSové jméno', '', 'String', 'Zadejte jméno počítače v rámci protokolů NetBIOS a sdílení souborů', '', 0, 1, 0, 0, 2), 400 (9, 'LocalIPAddress', 'Místní IP adresa', '', 'String', 'Zadejte síťovou adresu používanou v rámci místní sítě', '', 1, 1, 1, 0, 2), 401 (10, 'PublicIPAddress', 'Veřejná IP adresa', '', 'String', 'Zadejte síťovou adresu používanou v rámci Internetu', '', 0, 1, 1, 0, 2), 402 (11, 'LastOnlineDate', 'Naposledy online', '', 'Date', 'Čas posledního úspěšného měření dostupnosti počítače', '', 0, 0, 0, 0, 2), 403 (12, 'Name', 'Jméno', '', 'String', 'Jméno subjektu', '', 1, 1, 1, 1, 3), 404 (13, 'AddressStreet', 'Ulice', '', 'String', 'Ulice', '', 1, 1, 1, 0, 3), 405 (14, 'AddressTown', 'Město', '', 'String', 'Město', '', 1, 1, 1, 0, 3), 406 (15, 'AddressZIP', 'PSČ', '', 'String', '', '', 1, 1, 1, 0, 3), 407 (16, 'IC', 'IČ', '', 'String', 'Identifikační číslo subjektu', '', 0, 1, 0, 0, 3), 408 (17, 'DIC', 'DIČ', '', 'String', 'Daňové identifikační číslo', '', 0, 1, 0, 0, 3), 409 (18, 'MapPositionX', 'Horizontálně pozice', '', 'Integer', 'Vodorovná pozice na mapě', '', 0, 1, 0, 0, 4), 410 (19, 'MapPositionY', 'Vertikální pozice', '', 'Integer', 'Svislá pozice na mapě', '', 0, 1, 0, 0, 4), 411 (20, 'MembershipDate', 'Začátek členství', '', 'Date', 'Datum přípojení do sítě', '', 0, 1, 0, 0, 4), 412 (21, 'FamilyMemberCount', 'Osob v rodině', '', 'Integer', 'Počet osob v připojené domácnosti', '', 0, 1, 0, 0, 4), 413 (22, 'ResponsibleUser', 'Zodpovědný uživatel', '', 'PointerOneToOne:User', '', '', 1, 1, 1, 1, 4), 414 (23, 'Subject', 'Subjekt', '', 'PointerOneToOne:Subject', '', '', 1, 1, 0, 0, 4), 415 (24, 'Type', 'Druh', '', 'HostType', '', '1', 0, 1, 1, 0, 2), 416 (25, 'Phone', 'Telefón', '', 'String', '', '', 0, 1, 0, 0, 1), 417 (26, 'Notice', 'Poznámka', '', 'String', '', '', 0, 1, 0, 0, 3), 418 (27, 'MemberState', 'Stav připojení', '', 'MemberState', '', '', 1, 1, 1, 0, 4), 419 (28, 'HostList', 'Registrované zařízení', '', 'PointerOneToMany:Host:Member', '', '', 0, 1, 0, 0, 4), 420 (29, 'Name', 'Označení', '', 'String', '', '', 1, 1, 1, 1, 5), 421 (30, 'NetworkIPAddress', 'Adresa sítě', '', 'String', '', '', 1, 1, 1, 0, 5), 422 (31, 'IPAddressMask', 'Maska sítě', '', 'String', '', '', 1, 1, 1, 0, 5), 423 (32, 'DNSPrimary', 'Primární DNS server', '', 'String', '', '', 0, 1, 0, 0, 5), 424 (33, 'DNSSecondary', 'Sukundární DNS server', '', 'String', '', '', 0, 1, 0, 0, 5), 425 (34, 'DHCP', 'DHCP server', '', 'String', '', '', 0, 1, 0, 0, 5), 426 (35, 'Domain', 'Doména', '', 'String', '', '', 0, 1, 0, 0, 5), 427 (36, 'Workgroup', 'Pracovní skupina', '', 'String', '', '', 0, 1, 0, 0, 5), 428 (37, 'WINS', 'WINS server', '', 'String', '', '', 0, 1, 0, 0, 5), 429 (38, 'Name', 'Označení', '', 'String', '', '', 1, 1, 1, 1, 6), 430 (39, 'Type', 'Typ', '', 'InterfaceType', '', '', 1, 1, 1, 0, 6), 431 (40, 'Host', 'Zařízení', '', 'PointerOneToOne:Host', 'Vyberte zařízení, ke kterému patří toto rozhraní.', '', 1, 1, 1, 0, 6), 432 (41, 'ParentHost', 'Připojeno k bodu', '', 'PointerOneToOne:Host', '', '', 1, 1, 1, 0, 6), 433 (42, 'Interface', 'Rozhraní', '', 'PointerOneToMany:Interface:Host', '', '', 0, 1, 0, 0, 2), 434 (43, 'MAC', 'Fyzická adresa', '', 'String', 'Zadejte fyzickou adresu síťové karty též nazývanou MAC adresa.', '', 1, 1, 0, 0, 6), 435 (44, 'ParentHost', 'Nadřazený uzel', '', 'PointerOneToOne:Host', '', '', 0, 1, 0, 0, 2), 436 (45, 'SubHostList', 'Připojené zařízení', '', 'PointerOneToMany:Host:ParentHost', 'Seznam podřízených zařízení ve virtuálním stromu propojení.', '', 0, 1, 0, 0, 2), 437 (46, 'Name', 'Označení', '', 'String', '', '', 1, 1, 1, 1, 7), 438 (47, 'TimeEnlistment', 'Čas zařazení', '', 'Date', '', '', 1, 1, 0, 0, 7), 439 (48, 'TimeElimination', 'Čas vyřazení', '', 'Date', '', '', 0, 1, 0, 0, 7), 440 (49, 'Price', 'Pořizovací cena', '', 'Integer', '', '', 1, 1, 1, 0, 7), 441 (50, 'State', 'Stav', '', 'AssetState', '', '', 1, 1, 1, 0, 7), 442 (51, 'SerialNumber', 'Sériové číslo', '', 'String', '', '', 0, 1, 0, 0, 7), 443 (52, 'PurcheasedFrom', 'Zakoupeno od', '', 'PointerOneToOne:Subject', '', '', 0, 1, 0, 0, 7), 444 (53, 'PurcheasedAsset', 'Nakoupené zboží', '', 'PointerOneToMany:Asset:PurcheasedFrom', '', '', 0, 1, 0, 0, 3), 445 (54, 'Member', 'Člen', '', 'PointerOneToOne:Member', '', '', 0, 1, 0, 0, 1), 446 (113, 'ValidFromTime', 'Platnost od', '', 'Date', '', '', 1, 1, 0, 0, 4), 447 (57, 'Price', 'Cena', '', 'Integer', '', '', 1, 1, 1, 0, 8), 448 (56, 'Name', 'Označení', '', 'String', '', '', 1, 1, 1, 1, 8), 449 (58, 'MinUploadSpeed', 'Minimální odchozí rychlost', '', 'Integer', '', '', 1, 1, 0, 0, 8), 450 (59, 'MaxUploadSpeed', 'Maximální odchozí rychlost', '', 'Integer', '', '', 1, 1, 1, 0, 8), 451 (60, 'MinDownloadSpeed', 'Minimální příchozí rychlost', '', 'Integer', '', '', 1, 1, 0, 0, 8), 452 (61, 'MaxDownloadSpeed', 'Max příchozí rychlost', '', 'Integer', '', '', 1, 1, 1, 0, 8), 453 (62, 'UserName', 'Uživatelské jméno', '', 'String:4:30', '', '', 1, 1, 0, 0, 1), 454 (63, 'Password', 'Heslo', '', 'Password:4:20', '', '', 1, 1, 0, 0, 1), 455 (64, 'Member', 'Členové', '', 'PointerOneToMany:Member:Tariff', '', '', 0, 1, 0, 0, 8), 456 (65, 'Tariff', 'Tarif', '', 'PointerOneToOne:Tariff', '', '', 1, 1, 1, 0, 4), 457 (66, 'Member', 'Vlastník', '', 'PointerOneToOne:Member', '', '', 0, 1, 0, 0, 2), 458 (67, 'WWW', 'Internetové stránky', '', 'Hyperlink', '', '', 0, 1, 0, 0, 3), 459 (68, 'Text', 'Text zprávy', '', 'String', '', '', 1, 1, 1, 1, 9), 460 (69, 'Date', 'Datum', '', 'Date', '', '', 1, 1, 1, 0, 9), 461 (70, 'Member', 'Člen', '', 'PointerOneToOne:Member', '', '', 1, 1, 1, 0, 9), 462 (71, 'Type', 'Typ zprávy', '', 'MemberReportType', '', '', 1, 1, 1, 0, 9), 463 (72, 'ReportList', 'Záznamy', '', 'PointerOneToMany:MemberReport:Member', '', '', 0, 1, 0, 0, 4), 464 (73, 'Creator', 'Vložil', '', 'PointerOneToOne:User', '', '', 1, 1, 0, 0, 9), 465 (74, 'Name', 'Označení', '', 'String', '', '', 1, 1, 1, 1, 10), 466 (75, 'BankName', 'Jméno banky', '', 'String', '', '', 1, 1, 0, 0, 10), 467 (76, 'Number', 'Identifikační číslo', '', 'String', '', '', 1, 1, 1, 0, 10), 468 (77, 'BankCode', 'Kód banky', '', 'String', '', '', 1, 1, 1, 0, 10), 469 (78, 'User', 'Registroval', '', 'PointerOneToOne:User', '', '', 0, 1, 0, 0, 10), 470 (79, 'Type', 'Typ', '', 'BankAccountType', '', '', 1, 1, 1, 0, 10), 471 (80, 'MemberList', 'Členství', '', 'PointerOneToMany:Member:Subject', '', '', 0, 1, 0, 0, 3), 472 (81, 'Name', 'Systémové jméno typu', '', 'String', 'Jméno by mělo obsahovat pouze velké a malé písmena. V podsložece types projektu jsou umístěny výkonné soubory pro jednotlivé typy.', 'Name', 1, 1, 1, 1, 11), 473 (82, 'ParentType', 'Rodičovský typ', '', 'String', '', '', 1, 1, 1, 0, 11), 474 (83, 'Parameters', 'Parametry typu', '', 'String', '', 'Parametry zadávejte jako řetězce oddělené symblem "|".', 0, 1, 0, 0, 11), 475 (84, 'System', 'Systémový', '', 'Boolean', '', '0', 1, 1, 0, 0, 11), 476 (85, 'CallbackView', 'Funkce pro generování zobrazení', '', 'String', '', '', 0, 1, 0, 0, 11), 477 (86, 'CallbackEdit', 'Funkce pro generování editace', '', 'String', '', '', 0, 1, 0, 0, 11), 478 (87, 'CallbackCheck', 'Funkce pro kontrolu vstupních dat', '', 'String', '', '', 0, 1, 0, 0, 11), 479 (88, 'Description', 'Popis', '', 'String', '', '', 1, 1, 1, 0, 11), 480 (89, 'Description', 'Popis', '', 'String', '', '', 1, 1, 1, 0, 12), 481 (90, 'Amount', 'Částka', '', 'Float', '', '', 1, 1, 1, 0, 12), 482 (91, 'Time', 'Čas', '', 'DateTime', '', '', 1, 1, 1, 0, 12), 483 (92, 'SourceSubject', 'Zdrojový subjekt', '', 'PointerOneToOne:Subject', '', '', 1, 1, 1, 0, 12), 484 (93, 'TargetSubject', 'Cílový subjekt', '', 'PointerOneToOne:Subject', '', '', 1, 1, 1, 0, 12), 485 (94, 'Type', 'Type', '', 'FinanceTransactionType', '', '', 1, 1, 0, 0, 12), 486 (95, 'InsertedByUser', 'Vložil', '', 'PointerOneToOne:User', '', '', 0, 0, 0, 0, 12), 487 (96, 'DbDataType', 'Datový typ v databázi', '', 'String', '', '', 1, 1, 0, 0, 11), 488 (97, 'TableName', 'Jméno tabulky', '', 'String', 'Zadejte jméno tabulky v databázi, která bude použita pro uchování informací.', '', 1, 1, 1, 0, 13), 489 (98, 'Title', 'Název seznamu', '', 'String', 'Zadejte nadpis seznamu.', '', 1, 1, 1, 1, 13), 490 (99, 'VisibleInMenu', 'Viditelné v menu', '', 'Boolean', 'Zobrazovat tuto tabulku v hlavním menu', '', 1, 1, 0, 0, 13), 491 (100, 'Items', 'Položky', '', 'PointerOneToMany:SystemListItem:List', 'Definujte potřebné položky pro seznam.', '', 1, 1, 0, 0, 13), 492 (101, 'Name', 'Jméno sloupce', '', 'String', 'Jméno sloupce tabulky v databázi', '', 1, 1, 1, 0, 14), 493 (102, 'TextBefore', 'Text před hodnotou', '', 'String', 'Oznčení položky umístěné před zobrazenou hodnotou.', '', 1, 1, 1, 1, 14), 494 (103, 'TextAfter', 'Text za hodnotou', '', 'String', 'Tento text většinou obsahuje jednotky použité veličiny.', '', 1, 1, 0, 0, 14), 495 (104, 'Type', 'Type', '', 'PointerOneToOne:SystemType', 'Typ dat položky', '', 1, 1, 1, 0, 14), 496 (105, 'Help', 'Nápověda', '', 'String', 'Textová nápověda zobrazovaná jako pomůcka při editaci hodnoty.', '', 1, 1, 0, 0, 14), 497 (106, 'Required', 'Požadováno', '', 'Boolean', 'Určuje zda je nutné danou položku vyplnit.', '', 1, 1, 0, 0, 14), 498 (107, 'Editable', 'Editovatelné', '', 'Boolean', 'Určuje zda je možné danou položku ručně editovat nebo zda je měněna automaticky systémem.', '', 1, 1, 0, 0, 14), 499 (108, 'VisibleInList', 'Viditelné v seznamu', '', 'Boolean', 'Určuje viditelnost této položky v seznamu', '', 1, 1, 0, 0, 14), 500 (109, 'VisibleInPointer', 'Viditelné v odkazech', '', 'Boolean', 'Určuje viditelnost této položky v názvech odkazů na tuto položku', '', 1, 1, 0, 0, 14), 501 (110, 'Area', 'Umístění', '', 'PointerOneToOne:Area', 'Vyberte oblast, do které toto zařízení patří.', '', 0, 1, 0, 0, 2), 502 (111, 'HostList', 'Seznam zařízení', '', 'PointerOneToMany:Host:Area', '', '', 0, 1, 0, 0, 5), 503 (112, 'UserList', 'Uživatelů', '', 'PointerOneToMany:User:Member', '', '', 0, 1, 0, 0, 4), 504 (114, 'ValidToTime', 'Platnost do', '', 'Date', '', '', 1, 1, 0, 0, 4), 505 (115, 'User', 'Uživatel', '', 'PointerOneToOne:User', '', '', 1, 0, 1, 1, 15), 506 (116, 'LoginTime', 'Čas přihlášení', '', 'Date', '', '', 0, 0, 0, 0, 15), 507 (117, 'ActivityTime', 'Naposledy aktivní', '', 'Date', '', '', 0, 0, 0, 0, 15), 508 (118, 'SessionId', 'Identifikace spojení', '', 'String', '', '', 0, 0, 0, 0, 15), 509 (119, 'IpAddress', 'IP adresa', '', 'String', '', '', 0, 0, 0, 0, 15), 510 (120, 'HostName', 'Jméno počítače', '', 'String', '', '', 0, 0, 1, 0, 15), 511 (121, 'Locked', 'Zamčeno', '', 'Boolean', '', '', 0, 0, 0, 0, 1), 512 (122, 'RegistrationTime', 'Čas registrace', '', 'Date', '', '', 0, 0, 0, 0, 1), 513 (123, 'LastLoginTime', 'Čas posledního přihlášení', '', 'Date', '', '', 0, 0, 0, 0, 1), 514 (124, 'LastIpAddress', 'Poslední IP adresa', '', 'String', '', '', 0, 0, 0, 0, 1), 515 (125, 'Author', 'Autor', '', 'PointerOneToOne:User', '', '', 1, 0, 0, 0, 16), 516 (126, 'TimeCreation', 'Čas vytvoření', '', 'Date', '', '', 1, 0, 0, 0, 16), 517 (127, 'TimeValidFrom', 'Platnost od', '', 'Date', '', '', 1, 1, 0, 0, 16), 518 (128, 'TimeValidTo', 'Platnost do', '', 'Date', '', '', 1, 1, 0, 0, 16), 519 (129, 'ListId', 'Odkazovaná tabulka', '', 'PointerOneToOne:SystemList', '', '', 1, 1, 0, 0, 16), 520 (130, 'PermanentId', 'Trvalá identifikace', '', 'Integer', '', '', 1, 1, 0, 0, 16); 431 INSERT INTO `SystemListItem` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Name`, `TextBefore`, `TextAfter`, `Type`, `Help`, `Default`, `Required`, `Editable`, `VisibleInList`, `VisibleInPointer`, `List`) VALUES 432 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'FirstName', 'Jméno', '', '3', 'Zadejte jméno', '', 1, 1, 1, 1, 1), 433 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SecondName', 'Příjmení', '', '3', 'Zadejte příjmení', '', 1, 1, 1, 1, 1), 434 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Email', 'E-mail', '', '3', 'Zadejte emailovou adresu', '', 1, 1, 1, 0, 1), 435 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ICQ', 'ICQ', '', '1', 'Zadejte kontaktní číslo textového komunikačního programu ICQ.', '', 0, 1, 0, 0, 1), 436 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Sex', 'Pohlaví', '', '5', 'Vyberte pohlaví osoby', '', 0, 1, 0, 0, 1), 437 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'BirthDay', 'Datum narození', '', '2', 'Vyberte datum narození', '', 0, 1, 0, 0, 1), 438 (7, 7, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'DomainName', 'Doménové jméno', '', '3', 'Zadejte jméno počítače v doméně', '', 1, 1, 1, 1, 2), 439 (8, 8, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'NetBIOSName', 'NetBIOSové jméno', '', '3', 'Zadejte jméno počítače v rámci protokolů NetBIOS a sdílení souborů', '', 0, 1, 0, 0, 2), 440 (9, 9, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'LocalIPAddress', 'Místní IP adresa', '', '3', 'Zadejte síťovou adresu používanou v rámci místní sítě', '', 1, 1, 1, 0, 2), 441 (10, 10, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PublicIPAddress', 'Veřejná IP adresa', '', '3', 'Zadejte síťovou adresu používanou v rámci Internetu', '', 0, 1, 1, 0, 2), 442 (11, 11, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'LastOnlineDate', 'Naposledy online', '', '2', 'Čas posledního úspěšného měření dostupnosti počítače', '', 0, 0, 0, 0, 2), 443 (12, 12, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Name', 'Jméno', '', '3', 'Jméno subjektu', '', 1, 1, 1, 1, 3), 444 (13, 13, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'AddressStreet', 'Ulice', '', '3', 'Ulice', '', 1, 1, 1, 0, 3), 445 (14, 14, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'AddressTown', 'Město', '', '3', 'Město', '', 1, 1, 1, 0, 3), 446 (15, 15, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'AddressZIP', 'PSČ', '', '3', '', '', 1, 1, 1, 0, 3), 447 (16, 16, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'IC', 'IČ', '', '3', 'Identifikační číslo subjektu', '', 0, 1, 0, 0, 3), 448 (17, 17, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'DIC', 'DIČ', '', '3', 'Daňové identifikační číslo', '', 0, 1, 0, 0, 3), 449 (18, 18, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MapPositionX', 'Horizontálně pozice', '', '1', 'Vodorovná pozice na mapě', '', 0, 1, 0, 0, 4), 450 (19, 19, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MapPositionY', 'Vertikální pozice', '', '1', 'Svislá pozice na mapě', '', 0, 1, 0, 0, 4), 451 (20, 20, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MembershipDate', 'Začátek členství', '', '2', 'Datum přípojení do sítě', '', 0, 1, 0, 0, 4), 452 (21, 21, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'FamilyMemberCount', 'Osob v rodině', '', '1', 'Počet osob v připojené domácnosti', '', 0, 1, 0, 0, 4), 453 (22, 22, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ResponsibleUser', 'Zodpovědný uživatel', '', '37', '', '', 1, 1, 1, 1, 4), 454 (23, 23, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Subject', 'Subjekt', '', '33', '', '', 1, 1, 0, 0, 4), 455 (24, 24, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Type', 'Druh', '', '7', '', '1', 0, 1, 1, 0, 2), 456 (25, 25, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Phone', 'Telefón', '', '3', '', '', 0, 1, 0, 0, 1), 457 (26, 26, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Notice', 'Poznámka', '', '3', '', '', 0, 1, 0, 0, 3), 458 (27, 27, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MemberState', 'Stav připojení', '', '6', '', '', 1, 1, 1, 0, 4), 459 (28, 28, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'HostList', 'Registrované zařízení', '', '23', '', '', 0, 1, 0, 0, 4), 460 (29, 29, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Name', 'Označení', '', '3', '', '', 1, 1, 1, 1, 5), 461 (30, 30, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'NetworkIPAddress', 'Adresa sítě', '', '3', '', '', 1, 1, 1, 0, 5), 462 (31, 31, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'IPAddressMask', 'Maska sítě', '', '3', '', '', 1, 1, 1, 0, 5), 463 (32, 32, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'DNSPrimary', 'Primární DNS server', '', '3', '', '', 0, 1, 0, 0, 5), 464 (33, 33, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'DNSSecondary', 'Sukundární DNS server', '', '3', '', '', 0, 1, 0, 0, 5), 465 (34, 34, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'DHCP', 'DHCP server', '', '3', '', '', 0, 1, 0, 0, 5), 466 (35, 35, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Domain', 'Doména', '', '3', '', '', 0, 1, 0, 0, 5), 467 (36, 36, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Workgroup', 'Pracovní skupina', '', '3', '', '', 0, 1, 0, 0, 5), 468 (37, 37, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'WINS', 'WINS server', '', '3', '', '', 0, 1, 0, 0, 5), 469 (38, 38, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Name', 'Označení', '', '3', '', '', 1, 1, 1, 1, 6), 470 (39, 39, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Type', 'Typ', '', '8', '', '', 1, 1, 1, 0, 6), 471 (40, 40, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Host', 'Zařízení', '', '31', 'Vyberte zařízení, ke kterému patří toto rozhraní.', '', 1, 1, 1, 0, 6), 472 (41, 41, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ParentHost', 'Připojeno k bodu', '', '31', '', '', 1, 1, 1, 0, 6), 473 (42, 42, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Interface', 'Rozhraní', '', '24', '', '', 0, 1, 0, 0, 2), 474 (43, 43, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MAC', 'Fyzická adresa', '', '3', 'Zadejte fyzickou adresu síťové karty též nazývanou MAC adresa.', '', 1, 1, 0, 0, 6), 475 (44, 44, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ParentHost', 'Nadřazený uzel', '', '31', '', '', 0, 1, 0, 0, 2), 476 (45, 45, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SubHostList', 'Připojené zařízení', '', '38', 'Seznam podřízených zařízení ve virtuálním stromu propojení.', '', 0, 1, 0, 0, 2), 477 (46, 46, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Name', 'Označení', '', '3', '', '', 1, 1, 1, 1, 7), 478 (47, 47, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TimeEnlistment', 'Čas zařazení', '', '2', '', '', 1, 1, 0, 0, 7), 479 (48, 48, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TimeElimination', 'Čas vyřazení', '', '2', '', '', 0, 1, 0, 0, 7), 480 (49, 49, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Price', 'Pořizovací cena', '', '1', '', '', 1, 1, 1, 0, 7), 481 (50, 50, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'State', 'Stav', '', '9', '', '', 1, 1, 1, 0, 7), 482 (51, 51, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SerialNumber', 'Sériové číslo', '', '3', '', '', 0, 1, 0, 0, 7), 483 (52, 52, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PurcheasedFrom', 'Zakoupeno od', '', '33', '', '', 0, 1, 0, 0, 7), 484 (53, 53, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PurcheasedAsset', 'Nakoupené zboží', '', '21', '', '', 0, 1, 0, 0, 3), 485 (54, 54, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Member', 'Člen', '', '32', '', '', 0, 1, 0, 0, 1), 486 (113, 113, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ValidFromTime', 'Platnost od', '', '2', '', '', 1, 1, 0, 0, 4), 487 (57, 57, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Price', 'Cena', '', '1', '', '', 1, 1, 1, 0, 8), 488 (56, 56, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Name', 'Označení', '', '3', '', '', 1, 1, 1, 1, 8), 489 (58, 58, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MinUploadSpeed', 'Minimální odchozí rychlost', '', '1', '', '', 1, 1, 0, 0, 8), 490 (59, 59, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MaxUploadSpeed', 'Maximální odchozí rychlost', '', '1', '', '', 1, 1, 1, 0, 8), 491 (60, 60, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MinDownloadSpeed', 'Minimální příchozí rychlost', '', '1', '', '', 1, 1, 0, 0, 8), 492 (61, 61, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MaxDownloadSpeed', 'Max příchozí rychlost', '', '1', '', '', 1, 1, 1, 0, 8), 493 (62, 62, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'UserName', 'Uživatelské jméno', '', '3', '', '', 1, 1, 0, 0, 1), 494 (63, 63, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Password', 'Heslo', '', '15', '', '', 1, 1, 0, 0, 1), 495 (64, 64, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Member', 'Členové', '', '26', '', '', 0, 1, 0, 0, 8), 496 (65, 65, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Tariff', 'Tarif', '', '36', '', '', 1, 1, 1, 0, 4), 497 (66, 66, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Member', 'Vlastník', '', '32', '', '', 0, 1, 0, 0, 2), 498 (67, 67, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'WWW', 'Internetové stránky', '', '18', '', '', 0, 1, 0, 0, 3), 499 (68, 68, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Text', 'Text zprávy', '', '3', '', '', 1, 1, 1, 1, 9), 500 (69, 69, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Date', 'Datum', '', '2', '', '', 1, 1, 1, 0, 9), 501 (70, 70, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Member', 'Člen', '', '32', '', '', 1, 1, 1, 0, 9), 502 (71, 71, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Type', 'Typ zprávy', '', '10', '', '', 1, 1, 1, 0, 9), 503 (72, 72, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ReportList', 'Záznamy', '', '27', '', '', 0, 1, 0, 0, 4), 504 (73, 73, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Creator', 'Vložil', '', '37', '', '', 1, 1, 0, 0, 9), 505 (74, 74, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Name', 'Označení', '', '3', '', '', 1, 1, 1, 1, 10), 506 (75, 75, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'BankName', 'Jméno banky', '', '3', '', '', 1, 1, 0, 0, 10), 507 (76, 76, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Number', 'Identifikační číslo', '', '3', '', '', 1, 1, 1, 0, 10), 508 (77, 77, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'BankCode', 'Kód banky', '', '3', '', '', 1, 1, 1, 0, 10), 509 (78, 78, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'User', 'Registroval', '', '37', '', '', 0, 1, 0, 0, 10), 510 (79, 79, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Type', 'Typ', '', '11', '', '', 1, 1, 1, 0, 10), 511 (80, 80, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MemberList', 'Členství', '', '25', '', '', 0, 1, 0, 0, 3), 512 (81, 81, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Name', 'Systémové jméno typu', '', '3', 'Jméno by mělo obsahovat pouze velké a malé písmena. V podsložece types projektu jsou umístěny výkonné soubory pro jednotlivé typy.', 'Name', 1, 1, 1, 1, 11), 513 (82, 82, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ParentType', 'Rodičovský typ', '', '35', '', '', 1, 1, 1, 0, 11), 514 (83, 83, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Parameters', 'Parametry typu', '', '3', '', 'Parametry zadávejte jako řetězce oddělené symblem "|".', 0, 1, 0, 0, 11), 515 (84, 84, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'System', 'Systémový', '', '4', '', '0', 1, 1, 0, 0, 11), 516 (88, 88, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Description', 'Popis', '', '3', '', '', 1, 1, 1, 0, 11), 517 (89, 89, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Description', 'Popis', '', '3', '', '', 1, 1, 1, 0, 12), 518 (90, 90, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Amount', 'Částka', '', '16', '', '', 1, 1, 1, 0, 12), 519 (91, 91, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Time', 'Čas', '', '2', '', '', 1, 1, 1, 0, 12), 520 (92, 92, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SourceSubject', 'Zdrojový subjekt', '', '33', '', '', 1, 1, 1, 0, 12), 521 (93, 93, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TargetSubject', 'Cílový subjekt', '', '33', '', '', 1, 1, 1, 0, 12), 522 (94, 94, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Type', 'Type', '', '15', '', '', 1, 1, 0, 0, 12), 523 (95, 95, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'InsertedByUser', 'Vložil', '', '37', '', '', 0, 0, 0, 0, 12), 524 (96, 96, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'DbDataType', 'Datový typ v databázi', '', '3', '', '', 1, 1, 0, 0, 11), 525 (97, 97, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TableName', 'Jméno tabulky', '', '3', 'Zadejte jméno tabulky v databázi, která bude použita pro uchování informací.', '', 1, 1, 1, 0, 13), 526 (98, 98, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Title', 'Název seznamu', '', '3', 'Zadejte nadpis seznamu.', '', 1, 1, 1, 1, 13), 527 (99, 99, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'VisibleInMenu', 'Viditelné v menu', '', '4', 'Zobrazovat tuto tabulku v hlavním menu', '', 1, 1, 0, 0, 13), 528 (100, 100, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Items', 'Položky', '', '28', 'Definujte potřebné položky pro seznam.', '', 1, 1, 0, 0, 13), 529 (101, 101, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Name', 'Jméno sloupce', '', '3', 'Jméno sloupce tabulky v databázi', '', 1, 1, 1, 0, 14), 530 (102, 102, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TextBefore', 'Text před hodnotou', '', '3', 'Oznčení položky umístěné před zobrazenou hodnotou.', '', 1, 1, 1, 1, 14), 531 (103, 103, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TextAfter', 'Text za hodnotou', '', '3', 'Tento text většinou obsahuje jednotky použité veličiny.', '', 1, 1, 0, 0, 14), 532 (104, 104, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Type', 'Type', '', '35', 'Typ dat položky', '', 1, 1, 1, 0, 14), 533 (105, 105, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Help', 'Nápověda', '', '3', 'Textová nápověda zobrazovaná jako pomůcka při editaci hodnoty.', '', 1, 1, 0, 0, 14), 534 (106, 106, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Required', 'Požadováno', '', '4', 'Určuje zda je nutné danou položku vyplnit.', '', 1, 1, 0, 0, 14), 535 (107, 107, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Editable', 'Editovatelné', '', '4', 'Určuje zda je možné danou položku ručně editovat nebo zda je měněna automaticky systémem.', '', 1, 1, 0, 0, 14), 536 (108, 108, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'VisibleInList', 'Viditelné v seznamu', '', '4', 'Určuje viditelnost této položky v seznamu', '', 1, 1, 0, 0, 14), 537 (109, 109, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'VisibleInPointer', 'Viditelné v odkazech', '', '4', 'Určuje viditelnost této položky v názvech odkazů na tuto položku', '', 1, 1, 0, 0, 14), 538 (110, 110, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Area', 'Umístění', '', '30', 'Vyberte oblast, do které toto zařízení patří.', '', 0, 1, 0, 0, 2), 539 (111, 111, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'HostList', 'Seznam zařízení', '', '22', '', '', 0, 1, 0, 0, 5), 540 (112, 112, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'UserList', 'Uživatelů', '', '29', '', '', 0, 1, 0, 0, 4), 541 (114, 114, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ValidToTime', 'Platnost do', '', '2', '', '', 1, 1, 0, 0, 4), 542 (115, 115, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'User', 'Uživatel', '', '37', '', '', 1, 0, 1, 1, 15), 543 (116, 116, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'LoginTime', 'Čas přihlášení', '', '2', '', '', 0, 0, 0, 0, 15), 544 (117, 117, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ActivityTime', 'Naposledy aktivní', '', '2', '', '', 0, 0, 0, 0, 15), 545 (118, 118, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'SessionId', 'Identifikace spojení', '', '3', '', '', 0, 0, 0, 0, 15), 546 (119, 119, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'IpAddress', 'IP adresa', '', '3', '', '', 0, 0, 0, 0, 15), 547 (120, 120, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'HostName', 'Jméno počítače', '', '3', '', '', 0, 0, 1, 0, 15), 548 (121, 121, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Locked', 'Zamčeno', '', '4', '', '', 0, 0, 0, 0, 1), 549 (122, 122, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'RegistrationTime', 'Čas registrace', '', '2', '', '', 0, 0, 0, 0, 1), 550 (123, 123, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'LastLoginTime', 'Čas posledního přihlášení', '', '2', '', '', 0, 0, 0, 0, 1), 551 (124, 124, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'LastIpAddress', 'Poslední IP adresa', '', '3', '', '', 0, 0, 0, 0, 1), 552 (125, 125, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Author', 'Autor', '', '37', '', '', 1, 0, 0, 0, 16), 553 (126, 126, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TimeCreation', 'Čas vytvoření', '', '2', '', '', 1, 0, 0, 0, 16), 554 (127, 127, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TimeValidFrom', 'Platnost od', '', '2', '', '', 1, 1, 0, 0, 16), 555 (128, 128, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'TimeValidTo', 'Platnost do', '', '2', '', '', 1, 1, 0, 0, 16), 556 (129, 129, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ListId', 'Odkazovaná tabulka', '', '34', '', '', 1, 1, 0, 0, 16), 557 (130, 130, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PermanentId', 'Trvalá identifikace', '', '1', '', '', 1, 1, 0, 0, 16), 558 (133, 132, 5, '2008-10-12 17:48:27', '0000-00-00 00:00:00', '2008-10-12 17:48:27', 'List', 'Rodičovský seznam', '', '34', '', '', 1, 0, 0, 0, 14), 559 (142, 133, 5, '2008-10-12 18:39:09', '0000-00-00 00:00:00', '2008-10-12 18:39:09', 'Name', 'Jméno', '', '3', '', '', 1, 1, 1, 1, 26); 521 560 522 561 -- -------------------------------------------------------- … … 528 567 CREATE TABLE IF NOT EXISTS `SystemType` ( 529 568 `Id` int(11) NOT NULL auto_increment, 569 `ItemId` int(11) NOT NULL, 570 `Author` int(11) NOT NULL, 571 `ValidTimeFrom` datetime NOT NULL, 572 `ValidTimeTo` datetime NOT NULL, 573 `CreationTime` datetime NOT NULL, 530 574 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 531 575 `Description` varchar(255) collate utf8_czech_ci NOT NULL, 532 `ParentType` varchar(255) collate utf8_czech_ciNOT NULL,576 `ParentType` int(255) NOT NULL, 533 577 `Parameters` varchar(255) collate utf8_czech_ci NOT NULL, 534 578 `System` tinyint(1) NOT NULL default '0', 535 579 `DbDataType` varchar(255) collate utf8_czech_ci NOT NULL, 536 `CallbackView` varchar(255) collate utf8_czech_ci NOT NULL,537 `CallbackEdit` varchar(255) collate utf8_czech_ci NOT NULL,538 `CallbackCheck` varchar(255) collate utf8_czech_ci NOT NULL,539 580 PRIMARY KEY (`Id`), 540 581 UNIQUE KEY `Name` (`Name`) 541 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT= 20;582 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=39 ; 542 583 543 584 -- … … 545 586 -- 546 587 547 INSERT INTO `SystemType` (`Id`, `Name`, `Description`, `ParentType`, `Parameters`, `System`, `DbDataType`, `CallbackView`, `CallbackEdit`, `CallbackCheck`) VALUES 548 (1, 'Integer', 'Číslo', '', '', 1, 'INT', 'TypeIntegerViewHtml', 'TypeIntegerEditHtml', ''), 549 (2, 'Date', 'Datum', '', '', 1, 'DATE', 'TypeDateViewHtml', 'TypeDateEditHtml', ''), 550 (3, 'String', 'Řetězec', '', '', 1, 'VARCHAR(255)', 'TypeStringViewHtml', 'TypeStringEditHtml', ''), 551 (4, 'Boolean', 'Logická hodnota', '', '', 1, 'BOOL', 'TypeBooleanViewHtml', 'TypeBooleanEditHtml', ''), 552 (5, 'Sex', 'Pohlaví', 'Enumeration', 'Muž|Žena', 0, '', '', '', ''), 553 (6, 'MemberState', 'Stav člena', 'Enumeration', 'Neznámý stav|Zájemce o připojení|Připojen|Trvale odpojen', 0, '', '', '', ''), 554 (7, 'HostType', 'Typ zařízení', 'Enumeration', 'Nezařazeno|Osobní počítač|VoIP zařízení|IPTV zařízení|Směrovač|Server|Tiskárna/Skener/Kopírka|Jiné', 0, '', '', '', ''), 555 (8, 'InterfaceType', 'Typ rozhraní', 'Enumeration', 'Jiný|Ethernet 10 Mbit/s|Ethernet 100 Mbit/s|Ethernet 1 Gbit/s|Wifi 2,4 GHz 802.11b 11 Mbit/s|Wifi 2,4 GHz 802.11g 54 Mbit/s|Wifi 5 GHz 802.11a 54 Mbit/s|Optika 100 Mbit/s|Optika 1 Gbit/s', 0, '', '', '', ''), 556 (9, 'AssetState', 'Stav majetku', 'Enumeration', 'Neznámý|Na skladě|Používáno|V reklamaci|Vyřazeno', 0, '', '', '', ''), 557 (10, 'MemberReportType', 'Typ hlášení člena', 'Enumeration', 'Jiné|Hlášení závady|Požadavek na změnu|Poznámka správce', 0, '', '', '', ''), 558 (11, 'BankAccountType', 'Typ účtu', 'Enumeration', 'Neurčeno|Běžný účet|Spořící účet', 0, '', '', '', ''), 559 (12, 'PointerOneToOne', 'Ukazatel na jednu položku', '', '', 1, 'INT', 'TypePointerOneToOneViewHtml', 'TypePointerOneToOneEditHtml', ''), 560 (13, 'PointerOneToMany', 'Ukazatel na více položek', '', '', 1, 'INT', 'TypePointerOneToManyViewHtml', 'TypePointerOneToManyEditHtml', ''), 561 (14, 'Enumeration', 'Výčet', '', '', 0, 'INT', 'TypeEnumerationViewHtml', 'TypeEnumerationEditHtml', ''), 562 (15, 'Password', 'Heslo', '', '', 1, '', 'TypePasswordViewHtml', 'TypePasswordEditHtml', ''), 563 (16, 'Float', 'Desetinné číslo', '', '', 1, 'FLOAT', 'TypeFloatViewHtml', 'TypeFloatEditHtml', ''), 564 (17, 'FinanceTransactionType', 'Typ finanční transakce', 'Enumeration', 'Bankovní převod|Osobní platba', 0, '', '', '', ''), 565 (18, 'Hyperlink', 'Internetový odkaz', '', '', 0, 'VARCHAR(255)', 'TypeHyperlinkViewHtml', 'TypeHyperlinkEditHtml', ''), 566 (19, 'IPv4Address', 'IP adresa v4', '', '', 0, 'VARCHAR(16)', 'TypeIPv4AddressView', 'TypeIPv4AddressEdit', 'TypeIPv4AddressCheck'); 588 INSERT INTO `SystemType` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Name`, `Description`, `ParentType`, `Parameters`, `System`, `DbDataType`) VALUES 589 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Integer', 'Číslo', 0, '', 1, 'INT'), 590 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Date', 'Datum', 0, '', 1, 'DATE'), 591 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'String', 'Řetězec', 0, '', 1, 'VARCHAR(255)'), 592 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Boolean', 'Logická hodnota', 0, '', 1, 'BOOL'), 593 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Sex', 'Pohlaví', 14, 'Muž|Žena', 0, ''), 594 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MemberState', 'Stav člena', 14, 'Neznámý stav|Zájemce o připojení|Připojen|Trvale odpojen', 0, ''), 595 (7, 7, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'HostType', 'Typ zařízení', 14, 'Nezařazeno|Osobní počítač|VoIP zařízení|IPTV zařízení|Směrovač|Server|Tiskárna/Skener/Kopírka|Jiné', 0, ''), 596 (8, 8, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'InterfaceType', 'Typ rozhraní', 14, 'Jiný|Ethernet 10 Mbit/s|Ethernet 100 Mbit/s|Ethernet 1 Gbit/s|Wifi 2,4 GHz 802.11b 11 Mbit/s|Wifi 2,4 GHz 802.11g 54 Mbit/s|Wifi 5 GHz 802.11a 54 Mbit/s|Optika 100 Mbit/s|Optika 1 Gbit/s', 0, ''), 597 (9, 9, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'AssetState', 'Stav majetku', 14, 'Neznámý|Na skladě|Používáno|V reklamaci|Vyřazeno', 0, ''), 598 (10, 10, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'MemberReportType', 'Typ hlášení člena', 14, 'Jiné|Hlášení závady|Požadavek na změnu|Poznámka správce', 0, ''), 599 (11, 11, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'BankAccountType', 'Typ účtu', 14, 'Neurčeno|Běžný účet|Spořící účet', 0, ''), 600 (12, 12, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PointerOneToOne', 'Ukazatel na jednu položku', 0, '', 1, 'INT'), 601 (13, 13, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PointerOneToMany', 'Ukazatel na více položek', 0, '', 1, 'INT'), 602 (14, 14, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Enumeration', 'Výčet', 0, '', 0, 'INT'), 603 (15, 15, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Password', 'Heslo', 0, '', 1, ''), 604 (16, 16, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Float', 'Desetinné číslo', 0, '', 1, 'FLOAT'), 605 (17, 17, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'FinanceTransactionType', 'Typ finanční transakce', 14, 'Bankovní převod|Osobní platba', 0, ''), 606 (18, 18, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Hyperlink', 'Internetový odkaz', 0, '', 0, 'VARCHAR(255)'), 607 (19, 19, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'IPv4Address', 'IP adresa v4', 0, '', 0, 'VARCHAR(16)'), 608 (20, 20, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Hidden', 'Skrytá položka formuláře', 0, '', 1, 'VARCHAR(255)'), 609 (21, 21, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:01:23', 'PointerToAssetPurcheasedFrom', '', 13, 'Asset|PurcheasedFrom', 0, ''), 610 (22, 22, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:02:00', 'PointerToHostArea', '', 13, 'Host|Area', 0, ''), 611 (23, 23, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:04:28', 'PointerToHostMember', '', 13, 'Host|Member', 0, ''), 612 (24, 24, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:05:47', 'PointerToInterfaceHost', '', 13, 'Interface|Host', 0, ''), 613 (25, 25, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:07:15', 'PointerToMemberSubject', '', 13, 'Member|Subject', 0, ''), 614 (26, 26, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:07:15', 'PointerToMemberTariff', '', 13, 'Member|Tariff', 0, ''), 615 (27, 27, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PointerToMemberReportMember', '', 13, 'MemberReport|Member ', 0, ''), 616 (28, 28, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PointerToSystemListItemList', '', 13, 'SystemListItem|List', 0, ''), 617 (29, 29, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:09:55', 'PointerToUserMember', '', 13, 'User|Member', 0, ''), 618 (30, 30, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:09:55', 'PointerToArea', '', 12, 'Area', 0, ''), 619 (31, 31, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PointerOneToHost', '', 12, 'Host', 0, ''), 620 (32, 32, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PointerToMember', '', 12, 'Member', 0, ''), 621 (33, 33, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:11:14', 'PointerToSubject', '', 12, 'Subject', 0, ''), 622 (34, 34, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:12:37', 'PointerToSystemList', '', 12, 'SystemList', 0, ''), 623 (35, 35, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PointerToSystemType', '', 12, 'SystemType', 0, ''), 624 (36, 36, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:13:41', 'PointerToTariff', '', 12, 'Tariff', 0, ''), 625 (37, 37, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '2008-10-12 19:13:41', 'PointerToUser', '', 12, 'User', 0, ''), 626 (38, 38, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'PointerToHostParentHost', '', 13, 'Host|ParentHost', 0, ''); 567 627 568 628 -- -------------------------------------------------------- … … 574 634 CREATE TABLE IF NOT EXISTS `Tariff` ( 575 635 `Id` int(11) NOT NULL auto_increment, 636 `ItemId` int(11) NOT NULL, 637 `Author` int(11) NOT NULL, 638 `ValidTimeFrom` datetime NOT NULL, 639 `ValidTimeTo` datetime NOT NULL, 640 `CreationTime` datetime NOT NULL, 576 641 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 577 642 `Price` float NOT NULL, … … 588 653 -- 589 654 590 INSERT INTO `Tariff` (`Id`, `Name`, `Price`, `MinUploadSpeed`, `MaxUploadSpeed`, `MinDownloadSpeed`, `MaxDownloadSpeed`, `MemberList`) VALUES 591 (1, 'Internet 512 kbit', 190, 31, 512, 31, 512, 0), 592 (2, 'Internet 1 Mbit', 260, 62, 1024, 62, 1024, 0), 593 (3, 'Internet 2 Mbit', 360, 124, 2048, 124, 2048, 0), 594 (4, 'Internet 4 Mbit', 520, 249, 4096, 249, 4096, 0), 595 (5, 'Internet 8 Mbit', 750, 497, 8192, 497, 8192, 0); 655 INSERT INTO `Tariff` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `Name`, `Price`, `MinUploadSpeed`, `MaxUploadSpeed`, `MinDownloadSpeed`, `MaxDownloadSpeed`, `MemberList`) VALUES 656 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Internet 512 kbit', 190, 31, 512, 31, 512, 0), 657 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Internet 1 Mbit', 260, 62, 1024, 62, 1024, 0), 658 (3, 3, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Internet 2 Mbit', 360, 124, 2048, 124, 2048, 0), 659 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Internet 4 Mbit', 520, 249, 4096, 249, 4096, 0), 660 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Internet 8 Mbit', 750, 497, 8192, 497, 8192, 0); 661 662 -- -------------------------------------------------------- 663 664 -- 665 -- Struktura tabulky `Test` 666 -- 667 668 CREATE TABLE IF NOT EXISTS `Test` ( 669 `Id` int(11) NOT NULL auto_increment, 670 `ItemId` int(11) NOT NULL, 671 `Author` int(11) NOT NULL, 672 `ValidTimeFrom` datetime NOT NULL, 673 `ValidTimeTo` datetime NOT NULL, 674 `CreationTime` datetime NOT NULL, 675 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 676 PRIMARY KEY (`Id`) 677 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ; 678 679 -- 680 -- Vypisuji data pro tabulku `Test` 681 -- 682 596 683 597 684 -- -------------------------------------------------------- … … 603 690 CREATE TABLE IF NOT EXISTS `User` ( 604 691 `Id` int(11) NOT NULL auto_increment, 692 `ItemId` int(11) NOT NULL, 693 `Author` int(11) NOT NULL, 694 `ValidTimeFrom` datetime NOT NULL, 695 `ValidTimeTo` datetime NOT NULL, 696 `CreationTime` datetime NOT NULL, 605 697 `UserName` varchar(255) collate utf8_czech_ci NOT NULL, 606 698 `Password` varchar(255) collate utf8_czech_ci NOT NULL, … … 624 716 -- 625 717 626 INSERT INTO `User` (`Id`, ` UserName`, `Password`, `FirstName`, `SecondName`, `Email`, `ICQ`, `Sex`, `BirthDay`, `Phone`, `Member`, `RegistrationTime`, `LastLoginTime`, `Locked`, `LastIpAddress`) VALUES627 (1, '', 'fdsfsdfsd', 'Alfons', 'Much', 'mucha@all.cz', 89, 0, '0000-00-00', '', 7, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),628 (2, '', '', 'Petr', 'Hrubý', 'hrubos@nevim.cz', 23, 0, '0000-00-00', '123456789', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),629 (4, 'ferda', '123', 'Ferda', 'Mravenec', 'ferda@mraveniste.cz', 1, 0, '0000-00-00', '', 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),630 (5, 'obivan', '4217be89cdd8f9dbb59fa5851dd3a0408b9a5a81', 'Obivan', 'Kenoby', 'kenoby@mail.universe', 233, 0, '0000-00-00', '', 6, '0000-00-00 00:00:00', '2008-09-29 12:50:38', 0, ''),631 (6, '', '', 'Mistr', 'Joda', 'joda@mistr.shadow', 300, 0, '0000-00-00', '', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),632 (7, '', '', 'Petr', 'Slovák', 'slovak@zdarma.cz', 34, 0, '0000-00-00', '', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),633 (8, '', '', 'Alena', 'Kocourková', 'alena.kocourkova@centrum.cz', 32, 1, '0000-00-00', '223344556', 7, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),634 (9, '', '', 'Jonny', 'Hurikán', 'storm@atlas.cz', 16, 0, '0000-00-00', '224556778', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),635 (10, '', '', 'Smrťák', 'Krutý', 'smrt@peklo.cz', 111222333, 0, '0000-00-00', '', 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),636 (11, '', '', 'Karel', 'Nejedlý', 'starosta@obec-milosice.cz', 0, 0, '0000-00-00', '443666333', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''),637 (12, 'fantomas', 'dsds', 'Fantomas', 'Tajemný', 'fantom@fantom.com', 0, 0, '0000-00-00', '', 12, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, '');718 INSERT INTO `User` (`Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`, `UserName`, `Password`, `FirstName`, `SecondName`, `Email`, `ICQ`, `Sex`, `BirthDay`, `Phone`, `Member`, `RegistrationTime`, `LastLoginTime`, `Locked`, `LastIpAddress`) VALUES 719 (1, 1, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', 'fdsfsdfsd', 'Alfons', 'Much', 'mucha@all.cz', 89, 0, '0000-00-00', '', 7, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 720 (2, 2, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', '', 'Petr', 'Hrubý', 'hrubos@nevim.cz', 23, 0, '0000-00-00', '123456789', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 721 (4, 4, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ferda', '123', 'Ferda', 'Mravenec', 'ferda@mraveniste.cz', 1, 0, '0000-00-00', '', 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 722 (5, 5, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'obivan', '4217be89cdd8f9dbb59fa5851dd3a0408b9a5a81', 'Obivan', 'Kenoby', 'kenoby@mail.universe', 233, 0, '0000-00-00', '', 6, '0000-00-00 00:00:00', '2008-10-11 19:11:56', 0, ''), 723 (6, 6, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', '', 'Mistr', 'Joda', 'joda@mistr.shadow', 300, 0, '0000-00-00', '', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 724 (7, 7, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', '', 'Petr', 'Slovák', 'slovak@zdarma.cz', 34, 0, '0000-00-00', '', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 725 (8, 8, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', '', 'Alena', 'Kocourková', 'alena.kocourkova@centrum.cz', 32, 1, '0000-00-00', '223344556', 7, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 726 (9, 9, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', '', 'Jonny', 'Hurikán', 'storm@atlas.cz', 16, 0, '0000-00-00', '224556778', 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 727 (10, 10, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', '', 'Smrťák', 'Krutý', 'smrt@peklo.cz', 111222333, 0, '0000-00-00', '', 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 728 (11, 11, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', '', 'Karel', 'Nejedlý', 'starosta@obec-milosice.cz', 0, 0, '0000-00-00', '443666333', 1, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''), 729 (12, 12, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'fantomas', 'dsds', 'Fantomas', 'Tajemný', 'fantom@fantom.com', 0, 0, '0000-00-00', '', 12, '0000-00-00 00:00:00', '0000-00-00 00:00:00', 0, ''); 638 730 639 731 -- -------------------------------------------------------- … … 651 743 `HostName` varchar(255) collate utf8_czech_ci NOT NULL, 652 744 `Id` int(11) NOT NULL auto_increment, 745 `ItemId` int(11) NOT NULL, 746 `Author` int(11) NOT NULL, 747 `ValidTimeFrom` datetime NOT NULL, 748 `ValidTimeTo` datetime NOT NULL, 749 `CreationTime` datetime NOT NULL, 653 750 PRIMARY KEY (`Id`), 654 751 KEY `User` (`User`) 655 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT= 3;752 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=11 ; 656 753 657 754 -- … … 659 756 -- 660 757 661 INSERT INTO `UserOnline` (`User`, `LoginTime`, `ActivityTime`, `SessionId`, `IpAddress`, `HostName`, `Id`) VALUES 662 (0, '2008-09-29 09:33:17', '2008-09-29 11:07:24', '96bhsqoheu6feqh7rmpa30ak92', '192.168.0.23', 'george-nb.zdechov.net', 1), 663 (5, '2008-09-29 11:07:29', '2008-09-29 14:29:45', 'ectsef5epcsgtcb4mpscq3kk84', '192.168.0.23', 'george-nb.zdechov.net', 2); 758 INSERT INTO `UserOnline` (`User`, `LoginTime`, `ActivityTime`, `SessionId`, `IpAddress`, `HostName`, `Id`, `ItemId`, `Author`, `ValidTimeFrom`, `ValidTimeTo`, `CreationTime`) VALUES 759 (5, '2008-10-11 19:11:48', '2008-10-12 20:36:20', 'h10jgvuaueeqe09je1ataith80', '192.168.0.23', 'george-nb.zdechov.net', 10, 10, 5, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '0000-00-00 00:00:00'); -
sql/system_structure.sql
r7 r10 1 1 -- phpMyAdmin SQL Dump 2 -- version 2.11.9 2 -- version 2.11.9.2 3 3 -- http://www.phpmyadmin.net 4 4 -- 5 5 -- Počítač: localhost 6 -- Vygenerováno: Úterý 16. září 2008, 09:156 -- Vygenerováno: Neděle 12. října 2008, 20:38 7 7 -- Verze MySQL: 5.0.51 8 8 -- Verze PHP: 5.2.6 … … 22 22 CREATE TABLE IF NOT EXISTS `SystemList` ( 23 23 `Id` int(11) NOT NULL auto_increment, 24 `ItemId` int(11) NOT NULL, 25 `Author` int(11) NOT NULL, 26 `ValidTimeFrom` datetime NOT NULL, 27 `ValidTimeTo` datetime NOT NULL, 28 `CreationTime` datetime NOT NULL, 24 29 `TableName` varchar(255) collate utf8_czech_ci NOT NULL, 25 30 `Title` varchar(255) collate utf8_czech_ci NOT NULL, … … 28 33 `VisibleInMenu` int(11) NOT NULL default '1', 29 34 PRIMARY KEY (`Id`) 30 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT= 15;35 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=27 ; 31 36 32 37 -- -------------------------------------------------------- … … 38 43 CREATE TABLE IF NOT EXISTS `SystemListItem` ( 39 44 `Id` int(11) NOT NULL auto_increment, 45 `ItemId` int(11) NOT NULL, 46 `Author` int(11) NOT NULL, 47 `ValidTimeFrom` datetime NOT NULL, 48 `ValidTimeTo` datetime NOT NULL, 49 `CreationTime` datetime NOT NULL, 40 50 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 41 51 `TextBefore` varchar(255) collate utf8_czech_ci NOT NULL, … … 50 60 `List` int(11) NOT NULL, 51 61 PRIMARY KEY (`Id`) 52 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 10;62 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=143 ; 53 63 54 64 -- -------------------------------------------------------- … … 60 70 CREATE TABLE IF NOT EXISTS `SystemType` ( 61 71 `Id` int(11) NOT NULL auto_increment, 72 `ItemId` int(11) NOT NULL, 73 `Author` int(11) NOT NULL, 74 `ValidTimeFrom` datetime NOT NULL, 75 `ValidTimeTo` datetime NOT NULL, 76 `CreationTime` datetime NOT NULL, 62 77 `Name` varchar(255) collate utf8_czech_ci NOT NULL, 63 78 `Description` varchar(255) collate utf8_czech_ci NOT NULL, 64 `ParentType` varchar(255) collate utf8_czech_ciNOT NULL,79 `ParentType` int(255) NOT NULL, 65 80 `Parameters` varchar(255) collate utf8_czech_ci NOT NULL, 66 81 `System` tinyint(1) NOT NULL default '0', 67 82 `DbDataType` varchar(255) collate utf8_czech_ci NOT NULL, 68 `CallbackView` varchar(255) collate utf8_czech_ci NOT NULL,69 `CallbackEdit` varchar(255) collate utf8_czech_ci NOT NULL,70 `CallbackCheck` varchar(255) collate utf8_czech_ci NOT NULL,71 83 PRIMARY KEY (`Id`), 72 84 UNIQUE KEY `Name` (`Name`) 73 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT= 19 ;85 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=39 ; -
types/Boolean.php
r8 r10 1 1 <?php 2 2 3 function TypeBoolean ViewHtml($Type,$Item)3 function TypeBooleanOnView($Item) 4 4 { 5 5 return('<input type="checkbox" name="'.$Item['Name'].'" value="'.$Item['Value'].'" disabled="1">'); 6 6 } 7 7 8 function TypeBoolean EditHtml($Type,$Item)8 function TypeBooleanOnEdit($Item) 9 9 { 10 10 return('<input type="checkbox" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'); -
types/Date.php
r8 r10 3 3 $MonthList = array('0', 'Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'); 4 4 5 function TypeDate ViewHtml($Type,$Item)5 function TypeDateOnView($Item) 6 6 { 7 7 global $MonthList; … … 13 13 } 14 14 15 function TypeDate EditHtml($Type,$Item)15 function TypeDateOnEdit($Item) 16 16 { 17 17 global $MonthList; -
types/Enumeration.php
r8 r10 1 1 <?php 2 2 3 function TypeEnumeration ViewHtml($Type,$Item)3 function TypeEnumerationOnView($Item) 4 4 { 5 $Output = $Type['Parameters'][$Item['Value']]; 5 global $Types; 6 7 $Output = $Types[$Item['Type']]['Parameters'][$Item['Value']]; 6 8 return($Output); 7 9 } 8 10 9 function TypeEnumeration EditHtml($Type,$Item)11 function TypeEnumerationOnEdit($Item) 10 12 { 13 global $Types; 14 11 15 $Output = '<select name="'.$Item['Name'].'">'; 12 foreach($Type ['Parameters'] as $Index => $StateName)16 foreach($Types[$Item['Type']]['Parameters'] as $Index => $StateName) 13 17 { 14 18 if($Parameter == $Index) $Selected = ' selected="1"'; else $Selected = ''; -
types/Float.php
r8 r10 1 1 <?php 2 2 3 function TypeFloat ViewHtml($Type,$Item)3 function TypeFloatOnView($Item) 4 4 { 5 5 $Output = $Item['Value']; … … 7 7 } 8 8 9 function TypeFloatEditHtml($ Type, $Item)9 function TypeFloatEditHtml($Item) 10 10 { 11 11 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; -
types/Hyperlink.php
r9 r10 1 1 <?php 2 2 3 function TypeHyperlink ViewHtml($Type,$Item)3 function TypeHyperlinkOnView($Item) 4 4 { 5 5 $Output = '<a href="'.$Item['Value'].'">'.$Item['Value'].'</a>'; … … 7 7 } 8 8 9 function TypeHyperlink EditHtml($Type,$Item)9 function TypeHyperlinkOnEdit($Item) 10 10 { 11 11 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; -
types/IPv4Address.php
r8 r10 1 1 <?php 2 2 3 function TypeIPv4Address View($Type,$Item)3 function TypeIPv4AddressOnView($Item) 4 4 { 5 5 $Output = $Item['Value']; … … 7 7 } 8 8 9 function TypeIPv4Address Edit($Type,$Item)9 function TypeIPv4AddressOnEdit($Item) 10 10 { 11 11 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; … … 13 13 } 14 14 15 function TypeIPv4Address Check($Type,$Parameter, $Table, $Id)15 function TypeIPv4AddressOnCheck($Parameter, $Table, $Id) 16 16 { 17 17 return(true); -
types/Integer.php
r8 r10 1 1 <?php 2 2 3 function TypeInteger ViewHtml($Type,$Item)3 function TypeIntegerOnView($Item) 4 4 { 5 5 $Output = $Item['Value']; … … 7 7 } 8 8 9 function TypeInteger EditHtml($Type,$Item)9 function TypeIntegerOnEdit($Item) 10 10 { 11 11 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; -
types/Password.php
r9 r10 1 1 <?php 2 2 3 function TypePassword ViewHtml($Type,$Item)3 function TypePasswordOnView($Item) 4 4 { 5 5 $Output = ''; … … 9 9 } 10 10 11 function TypePassword EditHtml($Type,$Item)11 function TypePasswordOnEdit($Item) 12 12 { 13 13 $Output = '<input type="password" name="'.$Item['Name'].'" value="'.$Item['Value'].'">'; -
types/PointerOneToMany.php
r8 r10 1 1 <?php 2 2 3 function TypePointerOneToMany ViewHtml($Type,$Item)3 function TypePointerOneToManyOnView($Item) 4 4 { 5 5 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; … … 7 7 } 8 8 9 function TypePointerOneToMany EditHtml($Type,$Item)9 function TypePointerOneToManyOnEdit($Item) 10 10 { 11 11 $Output = '<a href="?Action=ShowList&TableId='.$Type['TypeDefinition'].'&ParentTable='.$Item['SourceTable'].'&ParentColumn='.$Item['SourceItemId'].'">Seznam</a>'; -
types/PointerOneToOne.php
r9 r10 6 6 7 7 $Columns = ''; 8 $ItemType = explode(':', $Item['Type']); 9 $TargetTable = $ItemType[1]; 8 $TargetTable = $Type['Parameters'][0]; 10 9 11 10 foreach($Lists[$TargetTable]['Items'] as $ListItem) … … 25 24 26 25 $Columns = ''; 27 $ItemType = explode(':', $Item['Type']); 28 $TargetTable = $ItemType[1]; 26 $TargetTable = $Type['Parameters'][0]; 29 27 30 28 foreach($Lists[$TargetTable]['Items'] as $ListItem) … … 42 40 } 43 41 44 function TypePointerOneToOne ViewHtml($Type,$Item)42 function TypePointerOneToOneOnView($Item) 45 43 { 46 global $Database, $Lists ;44 global $Database, $Lists, $Types; 47 45 48 $ ItemType = explode(':', $Item['Type']);49 $TargetTable = $ ItemType[1];46 $Type = $Types[$Item['Type']]; 47 $TargetTable = $Type['Parameters'][0]; 50 48 $TargetName = GetTablePointerName($Type, $Item); 51 49 $Output = '<a href="?Action=ViewItem&Table='.$TargetTable.'&Item='.$TargetName['Id'].'">'.$TargetName['Name'].'</a>'; … … 53 51 } 54 52 55 function TypePointerOneToOne EditHtml($Type,$Item)53 function TypePointerOneToOneOnEdit($Item) 56 54 { 57 global $Database, $Lists ;55 global $Database, $Lists, $Types; 58 56 57 $Type = $Types[$Item['Type']]; 59 58 $Output = '<select name="'.$Item['Name'].'">'; 60 59 $TargetNameList = GetTablePointerNameList($Type, $Item); -
types/String.php
r8 r10 1 1 <?php 2 2 3 function TypeString ViewHtml($Type,$Item)3 function TypeStringOnView($Item) 4 4 { 5 5 $Output = $Item['Value']; … … 7 7 } 8 8 9 function TypeString EditHtml($Type,$Item)9 function TypeStringOnEdit($Item) 10 10 { 11 11 $Output = '<input type="text" name="'.$Item['Name'].'" value="'.$Item['Value'].'">';
Note:
See TracChangeset
for help on using the changeset viewer.