- Timestamp:
- Apr 8, 2010, 8:31:45 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r428 r429 41 41 while($DbRow = $DbResult->fetch_assoc()) 42 42 { 43 $Output .= '<strong>'.HumanDate($DbRow['ModifyTime']).' '.$DbRow['UserName'].'</strong> přeložil text <a href="form.php?group='.$DbRow['Group'].'&ID='.$DbRow['ID'].'">'.$DbRow['ID'].'</a> převzatý z textu <a href="form.php?group='.$DbRow['Group'].'&ID='.$DbRow['Take'].'">'.$DbRow['Take'].'</a> ve skupině <a href="T anslationList.php?group='.$DbRow['Group'].'&action=filter">'.$DbRow['GroupName'].'</a><br />';43 $Output .= '<strong>'.HumanDate($DbRow['ModifyTime']).' '.$DbRow['UserName'].'</strong> přeložil text <a href="form.php?group='.$DbRow['Group'].'&ID='.$DbRow['ID'].'">'.$DbRow['ID'].'</a> převzatý z textu <a href="form.php?group='.$DbRow['Group'].'&ID='.$DbRow['Take'].'">'.$DbRow['Take'].'</a> ve skupině <a href="TranslationList.php?group='.$DbRow['Group'].'&action=filter">'.$DbRow['GroupName'].'</a><br />'; 44 44 } 45 45 return($Output); -
trunk/save.php
r428 r429 114 114 $Values .= ', "'.$_POST[$GroupItem['Column']].'"'; 115 115 $CompleteParts |= (1 << ($GroupItem['Sequence'] - 1)); 116 } else $Values .= ', "'. $EnglishFound[$GroupItem['Column']].'"';117 } else $Values .= ', "'. $EnglishFound[$GroupItem['Column']].'"';116 } else $Values .= ', "'.addslashes($EnglishFound[$GroupItem['Column']]).'"'; 117 } else $Values .= ', "'.addslashes($EnglishFound[$GroupItem['Column']]).'"'; 118 118 if((($CompleteParts & (1 << ($GroupItem['Sequence'] - 1))) == 0) and ($EnglishFound[$GroupItem['Column']] != '')) $Completable = false; 119 119 } else -
trunk/sql/structure.sql
r416 r429 4 4 -- 5 5 -- Počítač: localhost 6 -- Vygenerováno: Úterý 06. dubna 2010, 06:556 -- Vygenerováno: Čtvrtek 08. dubna 2010, 20:17 7 7 -- Verze MySQL: 5.1.44 8 8 -- Verze PHP: 5.3.1 … … 111 111 112 112 -- 113 -- Struktura tabulky `DbVersion` 114 -- 115 116 CREATE TABLE IF NOT EXISTS `DbVersion` ( 117 `Id` int(11) NOT NULL AUTO_INCREMENT, 118 `Version` varchar(255) NOT NULL, 119 `Require_426` int(255) DEFAULT NULL, 120 PRIMARY KEY (`Id`), 121 UNIQUE KEY `Name` (`Version`) 122 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 123 124 -- -------------------------------------------------------- 125 126 -- 113 127 -- Struktura tabulky `Dictionary` 114 128 -- … … 267 281 `Id` int(11) NOT NULL AUTO_INCREMENT, 268 282 `Group` int(11) NOT NULL, 283 `Sequence` int(11) NOT NULL, 269 284 `Name` varchar(255) COLLATE utf8_czech_ci NOT NULL, 270 285 `Column` varchar(255) COLLATE utf8_czech_ci NOT NULL, … … 386 401 `User` int(11) NOT NULL, 387 402 `Complete` int(11) NOT NULL, 403 `CompleteParts` int(11) NOT NULL, 388 404 `Take` int(11) NOT NULL, 389 405 `Name` text NOT NULL, … … 392 408 `VersionStart` int(11) NOT NULL DEFAULT '8606', 393 409 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 394 PRIMARY KEY (`ID`), 395 KEY `entry` (`Entry`), 396 KEY `User` (`User`), 397 KEY `Take` (`Take`), 398 KEY `Language` (`Language`), 399 KEY `Complete` (`Complete`), 400 KEY `VersionStart` (`VersionStart`), 401 KEY `VersionEnd` (`VersionEnd`) 410 `ModifyTime` datetime NOT NULL, 411 PRIMARY KEY (`ID`), 412 KEY `entry` (`Entry`), 413 KEY `User` (`User`), 414 KEY `Take` (`Take`), 415 KEY `Language` (`Language`), 416 KEY `Complete` (`Complete`), 417 KEY `VersionStart` (`VersionStart`), 418 KEY `VersionEnd` (`VersionEnd`), 419 KEY `ModifyTime` (`ModifyTime`) 402 420 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 403 421 … … 414 432 `User` int(11) NOT NULL, 415 433 `Complete` int(11) NOT NULL, 434 `CompleteParts` int(11) NOT NULL, 416 435 `Take` int(11) NOT NULL, 417 436 `Name` text NOT NULL, 418 437 `VersionStart` int(11) NOT NULL DEFAULT '8606', 419 438 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 420 PRIMARY KEY (`ID`), 421 KEY `entry` (`Entry`), 422 KEY `User` (`User`), 423 KEY `Take` (`Take`), 424 KEY `Language` (`Language`), 425 KEY `Complete` (`Complete`), 426 KEY `VersionStart` (`VersionStart`), 427 KEY `VersionEnd` (`VersionEnd`) 439 `ModifyTime` datetime NOT NULL, 440 PRIMARY KEY (`ID`), 441 KEY `entry` (`Entry`), 442 KEY `User` (`User`), 443 KEY `Take` (`Take`), 444 KEY `Language` (`Language`), 445 KEY `Complete` (`Complete`), 446 KEY `VersionStart` (`VersionStart`), 447 KEY `VersionEnd` (`VersionEnd`), 448 KEY `ModifyTime` (`ModifyTime`) 428 449 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 429 450 … … 440 461 `User` int(11) NOT NULL, 441 462 `Complete` int(11) NOT NULL, 463 `CompleteParts` int(11) NOT NULL, 442 464 `Take` int(11) NOT NULL, 443 465 `Text` text NOT NULL, 444 466 `VersionStart` int(11) NOT NULL DEFAULT '8606', 445 467 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 446 PRIMARY KEY (`ID`), 447 KEY `entry` (`Entry`), 448 KEY `User` (`User`), 449 KEY `Take` (`Take`), 450 KEY `Language` (`Language`), 451 KEY `Complete` (`Complete`), 452 KEY `VersionStart` (`VersionStart`), 453 KEY `VersionEnd` (`VersionEnd`) 468 `ModifyTime` datetime NOT NULL, 469 PRIMARY KEY (`ID`), 470 KEY `entry` (`Entry`), 471 KEY `User` (`User`), 472 KEY `Take` (`Take`), 473 KEY `Language` (`Language`), 474 KEY `Complete` (`Complete`), 475 KEY `VersionStart` (`VersionStart`), 476 KEY `VersionEnd` (`VersionEnd`), 477 KEY `ModifyTime` (`ModifyTime`) 454 478 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 455 479 … … 466 490 `User` int(11) NOT NULL, 467 491 `Complete` int(11) NOT NULL, 492 `CompleteParts` int(11) NOT NULL, 468 493 `Take` int(11) NOT NULL, 469 494 `Name` text NOT NULL, 470 495 `VersionStart` int(11) NOT NULL DEFAULT '8606', 471 496 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 472 PRIMARY KEY (`ID`), 473 KEY `entry` (`Entry`), 474 KEY `User` (`User`), 475 KEY `Take` (`Take`), 476 KEY `Language` (`Language`), 477 KEY `Complete` (`Complete`), 478 KEY `VersionStart` (`VersionStart`), 479 KEY `VersionEnd` (`VersionEnd`) 497 `ModifyTime` datetime NOT NULL, 498 PRIMARY KEY (`ID`), 499 KEY `entry` (`Entry`), 500 KEY `User` (`User`), 501 KEY `Take` (`Take`), 502 KEY `Language` (`Language`), 503 KEY `Complete` (`Complete`), 504 KEY `VersionStart` (`VersionStart`), 505 KEY `VersionEnd` (`VersionEnd`), 506 KEY `ModifyTime` (`ModifyTime`) 480 507 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 481 508 … … 492 519 `User` int(11) NOT NULL, 493 520 `Complete` int(11) NOT NULL, 521 `CompleteParts` int(11) NOT NULL, 494 522 `Take` int(11) NOT NULL, 495 523 `Name` text NOT NULL, 496 524 `VersionStart` int(11) NOT NULL DEFAULT '8606', 497 525 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 498 PRIMARY KEY (`ID`), 499 KEY `entry` (`Entry`), 500 KEY `User` (`User`), 501 KEY `Take` (`Take`), 502 KEY `Language` (`Language`), 503 KEY `Complete` (`Complete`), 504 KEY `VersionStart` (`VersionStart`), 505 KEY `VersionEnd` (`VersionEnd`) 526 `ModifyTime` datetime NOT NULL, 527 PRIMARY KEY (`ID`), 528 KEY `entry` (`Entry`), 529 KEY `User` (`User`), 530 KEY `Take` (`Take`), 531 KEY `Language` (`Language`), 532 KEY `Complete` (`Complete`), 533 KEY `VersionStart` (`VersionStart`), 534 KEY `VersionEnd` (`VersionEnd`), 535 KEY `ModifyTime` (`ModifyTime`) 506 536 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 507 537 … … 515 545 `ID` int(11) unsigned NOT NULL AUTO_INCREMENT, 516 546 `Entry` int(11) NOT NULL, 517 `name` text NOT NULL, 518 `subname` text NOT NULL, 519 `Language` int(11) NOT NULL DEFAULT '0', 520 `User` int(11) NOT NULL, 521 `Complete` int(11) NOT NULL, 522 `Take` int(11) NOT NULL, 523 `VersionStart` int(11) NOT NULL DEFAULT '8606', 524 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 525 PRIMARY KEY (`ID`), 526 KEY `entry` (`Entry`), 527 KEY `User` (`User`), 528 KEY `Take` (`Take`), 529 KEY `Complete` (`Complete`), 530 KEY `Language` (`Language`), 531 KEY `VersionStart` (`VersionStart`), 532 KEY `VersionEnd` (`VersionEnd`) 547 `Name` text NOT NULL, 548 `SubName` text NOT NULL, 549 `Language` int(11) NOT NULL DEFAULT '0', 550 `User` int(11) NOT NULL, 551 `Complete` int(11) NOT NULL, 552 `CompleteParts` int(11) NOT NULL, 553 `Take` int(11) NOT NULL, 554 `VersionStart` int(11) NOT NULL DEFAULT '8606', 555 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 556 `ModifyTime` datetime NOT NULL, 557 PRIMARY KEY (`ID`), 558 KEY `entry` (`Entry`), 559 KEY `User` (`User`), 560 KEY `Take` (`Take`), 561 KEY `Complete` (`Complete`), 562 KEY `Language` (`Language`), 563 KEY `VersionStart` (`VersionStart`), 564 KEY `VersionEnd` (`VersionEnd`), 565 KEY `ModifyTime` (`ModifyTime`) 533 566 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 534 567 … … 543 576 `Entry` int(11) NOT NULL, 544 577 `Name` text NOT NULL, 545 `castbarcaption` text NOT NULL, 546 `Language` int(11) NOT NULL DEFAULT '0', 547 `User` int(11) NOT NULL, 548 `Complete` int(11) NOT NULL, 549 `Take` int(11) NOT NULL, 550 `VersionStart` int(11) NOT NULL DEFAULT '8606', 551 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 552 PRIMARY KEY (`ID`), 553 KEY `entry` (`Entry`), 554 KEY `User` (`User`), 555 KEY `Take` (`Take`), 556 KEY `Complete` (`Complete`), 557 KEY `Language` (`Language`), 558 KEY `VersionStart` (`VersionStart`), 559 KEY `VersionEnd` (`VersionEnd`) 578 `CastBarCaption` text NOT NULL, 579 `Language` int(11) NOT NULL DEFAULT '0', 580 `User` int(11) NOT NULL, 581 `Complete` int(11) NOT NULL, 582 `CompleteParts` int(11) NOT NULL, 583 `Take` int(11) NOT NULL, 584 `VersionStart` int(11) NOT NULL DEFAULT '8606', 585 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 586 `ModifyTime` datetime NOT NULL, 587 PRIMARY KEY (`ID`), 588 KEY `entry` (`Entry`), 589 KEY `User` (`User`), 590 KEY `Take` (`Take`), 591 KEY `Complete` (`Complete`), 592 KEY `Language` (`Language`), 593 KEY `VersionStart` (`VersionStart`), 594 KEY `VersionEnd` (`VersionEnd`), 595 KEY `ModifyTime` (`ModifyTime`) 560 596 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 561 597 … … 573 609 `User` int(11) NOT NULL, 574 610 `Complete` int(11) NOT NULL, 575 `Take` int(11) NOT NULL, 576 `VersionStart` int(11) NOT NULL DEFAULT '8606', 577 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 578 PRIMARY KEY (`ID`), 579 KEY `entry` (`Entry`), 580 KEY `User` (`User`), 581 KEY `Take` (`Take`), 582 KEY `Language` (`Language`), 583 KEY `Complete` (`Complete`), 584 KEY `VersionStart` (`VersionStart`), 585 KEY `VersionEnd` (`VersionEnd`) 611 `CompleteParts` int(11) NOT NULL, 612 `Take` int(11) NOT NULL, 613 `VersionStart` int(11) NOT NULL DEFAULT '8606', 614 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 615 `ModifyTime` datetime NOT NULL, 616 PRIMARY KEY (`ID`), 617 KEY `entry` (`Entry`), 618 KEY `User` (`User`), 619 KEY `Take` (`Take`), 620 KEY `Language` (`Language`), 621 KEY `Complete` (`Complete`), 622 KEY `VersionStart` (`VersionStart`), 623 KEY `VersionEnd` (`VersionEnd`), 624 KEY `ModifyTime` (`ModifyTime`) 586 625 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 587 626 … … 598 637 `User` int(11) NOT NULL, 599 638 `Complete` int(11) NOT NULL, 639 `CompleteParts` int(11) NOT NULL, 600 640 `Take` int(11) NOT NULL, 601 641 `ShortCut` varchar(255) NOT NULL, … … 604 644 `VersionStart` int(11) NOT NULL DEFAULT '8606', 605 645 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 646 `ModifyTime` datetime NOT NULL, 606 647 PRIMARY KEY (`ID`), 607 648 KEY `entry` (`Entry`), … … 612 653 KEY `ShortCut` (`ShortCut`), 613 654 KEY `VersionStart` (`VersionStart`), 614 KEY `VersionEnd` (`VersionEnd`) 655 KEY `VersionEnd` (`VersionEnd`), 656 KEY `ModifyTime` (`ModifyTime`) 615 657 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 616 658 … … 627 669 `User` int(11) NOT NULL, 628 670 `Complete` int(11) NOT NULL, 671 `CompleteParts` int(11) NOT NULL, 629 672 `Take` int(11) NOT NULL, 630 673 `ShortCut` varchar(255) NOT NULL, … … 633 676 `VersionStart` int(11) NOT NULL DEFAULT '8606', 634 677 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 678 `ModifyTime` datetime NOT NULL, 635 679 PRIMARY KEY (`ID`), 636 680 KEY `entry` (`Entry`), … … 641 685 KEY `ShortCut` (`ShortCut`), 642 686 KEY `VersionStart` (`VersionStart`), 643 KEY `VersionEnd` (`VersionEnd`) 687 KEY `VersionEnd` (`VersionEnd`), 688 KEY `ModifyTime` (`ModifyTime`) 644 689 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 645 690 … … 656 701 `User` int(11) NOT NULL, 657 702 `Complete` int(11) NOT NULL, 703 `CompleteParts` int(11) NOT NULL, 658 704 `Take` int(11) NOT NULL, 659 705 `ShortCut` varchar(255) NOT NULL, … … 662 708 `VersionStart` int(11) NOT NULL DEFAULT '8606', 663 709 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 710 `ModifyTime` datetime NOT NULL, 664 711 PRIMARY KEY (`ID`), 665 712 KEY `entry` (`Entry`), … … 670 717 KEY `ShortCut` (`ShortCut`), 671 718 KEY `VersionStart` (`VersionStart`), 672 KEY `VersionEnd` (`VersionEnd`) 719 KEY `VersionEnd` (`VersionEnd`), 720 KEY `ModifyTime` (`ModifyTime`) 673 721 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 674 722 … … 687 735 `User` int(11) NOT NULL, 688 736 `Complete` int(11) NOT NULL, 689 `Take` int(11) NOT NULL, 690 `VersionStart` int(11) NOT NULL DEFAULT '8606', 691 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 692 PRIMARY KEY (`ID`), 693 KEY `entry` (`Entry`), 694 KEY `User` (`User`), 695 KEY `Take` (`Take`), 696 KEY `Complete` (`Complete`), 697 KEY `Language` (`Language`), 698 KEY `VersionStart` (`VersionStart`), 699 KEY `VersionEnd` (`VersionEnd`) 737 `CompleteParts` int(11) NOT NULL, 738 `Take` int(11) NOT NULL, 739 `VersionStart` int(11) NOT NULL DEFAULT '8606', 740 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 741 `ModifyTime` datetime NOT NULL, 742 PRIMARY KEY (`ID`), 743 KEY `entry` (`Entry`), 744 KEY `User` (`User`), 745 KEY `Take` (`Take`), 746 KEY `Complete` (`Complete`), 747 KEY `Language` (`Language`), 748 KEY `VersionStart` (`VersionStart`), 749 KEY `VersionEnd` (`VersionEnd`), 750 KEY `ModifyTime` (`ModifyTime`) 700 751 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 701 752 … … 709 760 `ID` int(11) unsigned NOT NULL AUTO_INCREMENT, 710 761 `Entry` int(11) NOT NULL, 711 `help` text NOT NULL, 712 `Language` int(11) NOT NULL DEFAULT '0', 713 `User` int(11) NOT NULL, 714 `Complete` int(11) NOT NULL, 762 `Help` text NOT NULL, 763 `Language` int(11) NOT NULL DEFAULT '0', 764 `User` int(11) NOT NULL, 765 `Complete` int(11) NOT NULL, 766 `CompleteParts` int(11) NOT NULL, 715 767 `Take` int(11) NOT NULL, 716 768 `Name` varchar(255) NOT NULL, 717 769 `VersionStart` int(11) NOT NULL DEFAULT '8606', 718 770 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 771 `ModifyTime` datetime NOT NULL, 719 772 PRIMARY KEY (`ID`), 720 773 KEY `entry` (`Entry`), … … 725 778 KEY `Name` (`Name`), 726 779 KEY `VersionStart` (`VersionStart`), 727 KEY `VersionEnd` (`VersionEnd`) 780 KEY `VersionEnd` (`VersionEnd`), 781 KEY `ModifyTime` (`ModifyTime`) 728 782 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 729 783 … … 737 791 `ID` int(11) unsigned NOT NULL AUTO_INCREMENT, 738 792 `Entry` int(11) NOT NULL, 739 `content_default` text NOT NULL, 740 `Language` int(11) NOT NULL DEFAULT '0', 741 `User` int(11) NOT NULL, 742 `Complete` int(11) NOT NULL, 743 `Take` int(11) NOT NULL, 744 `VersionStart` int(11) NOT NULL DEFAULT '8606', 745 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 746 PRIMARY KEY (`ID`), 747 KEY `entry` (`Entry`), 748 KEY `User` (`User`), 749 KEY `Take` (`Take`), 750 KEY `Complete` (`Complete`), 751 KEY `Language` (`Language`), 752 KEY `VersionStart` (`VersionStart`), 753 KEY `VersionEnd` (`VersionEnd`) 793 `ContentDefault` text NOT NULL, 794 `Language` int(11) NOT NULL DEFAULT '0', 795 `User` int(11) NOT NULL, 796 `Complete` int(11) NOT NULL, 797 `CompleteParts` int(11) NOT NULL, 798 `Take` int(11) NOT NULL, 799 `VersionStart` int(11) NOT NULL DEFAULT '8606', 800 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 801 `ModifyTime` datetime NOT NULL, 802 PRIMARY KEY (`ID`), 803 KEY `entry` (`Entry`), 804 KEY `User` (`User`), 805 KEY `Take` (`Take`), 806 KEY `Complete` (`Complete`), 807 KEY `Language` (`Language`), 808 KEY `VersionStart` (`VersionStart`), 809 KEY `VersionEnd` (`VersionEnd`), 810 KEY `ModifyTime` (`ModifyTime`) 754 811 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 755 812 … … 782 839 `User` int(11) NOT NULL, 783 840 `Complete` int(11) NOT NULL, 784 `Take` int(11) NOT NULL, 785 `VersionStart` int(11) NOT NULL DEFAULT '8606', 786 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 787 PRIMARY KEY (`ID`), 788 KEY `entry` (`Entry`), 789 KEY `User` (`User`), 790 KEY `Take` (`Take`), 791 KEY `Complete` (`Complete`), 792 KEY `Language` (`Language`), 793 KEY `VersionStart` (`VersionStart`), 794 KEY `VersionEnd` (`VersionEnd`) 841 `CompleteParts` int(11) NOT NULL, 842 `Take` int(11) NOT NULL, 843 `VersionStart` int(11) NOT NULL DEFAULT '8606', 844 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 845 `ModifyTime` datetime NOT NULL, 846 PRIMARY KEY (`ID`), 847 KEY `entry` (`Entry`), 848 KEY `User` (`User`), 849 KEY `Take` (`Take`), 850 KEY `Complete` (`Complete`), 851 KEY `Language` (`Language`), 852 KEY `VersionStart` (`VersionStart`), 853 KEY `VersionEnd` (`VersionEnd`), 854 KEY `ModifyTime` (`ModifyTime`) 795 855 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 796 856 … … 807 867 `User` int(11) NOT NULL, 808 868 `Complete` int(11) NOT NULL, 869 `CompleteParts` int(11) NOT NULL, 809 870 `Take` int(11) NOT NULL, 810 871 `Index` varchar(255) NOT NULL, … … 812 873 `VersionStart` int(11) NOT NULL DEFAULT '8606', 813 874 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 814 PRIMARY KEY (`ID`), 815 KEY `entry` (`Entry`), 816 KEY `User` (`User`), 817 KEY `Take` (`Take`), 818 KEY `Language` (`Language`), 819 KEY `Complete` (`Complete`), 820 KEY `VersionStart` (`VersionStart`), 821 KEY `VersionEnd` (`VersionEnd`) 875 `ModifyTime` datetime NOT NULL, 876 PRIMARY KEY (`ID`), 877 KEY `entry` (`Entry`), 878 KEY `User` (`User`), 879 KEY `Take` (`Take`), 880 KEY `Language` (`Language`), 881 KEY `Complete` (`Complete`), 882 KEY `VersionStart` (`VersionStart`), 883 KEY `VersionEnd` (`VersionEnd`), 884 KEY `ModifyTime` (`ModifyTime`) 822 885 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 823 886 … … 835 898 `User` int(11) NOT NULL, 836 899 `Complete` int(11) NOT NULL, 837 `Take` int(11) NOT NULL, 838 `VersionStart` int(11) NOT NULL DEFAULT '8606', 839 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 840 PRIMARY KEY (`ID`), 841 KEY `entry` (`Entry`), 842 KEY `User` (`User`), 843 KEY `Take` (`Take`), 844 KEY `Complete` (`Complete`), 845 KEY `Language` (`Language`), 846 KEY `VersionStart` (`VersionStart`), 847 KEY `VersionEnd` (`VersionEnd`) 900 `CompleteParts` int(11) NOT NULL, 901 `Take` int(11) NOT NULL, 902 `VersionStart` int(11) NOT NULL DEFAULT '8606', 903 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 904 `ModifyTime` datetime NOT NULL, 905 PRIMARY KEY (`ID`), 906 KEY `entry` (`Entry`), 907 KEY `User` (`User`), 908 KEY `Take` (`Take`), 909 KEY `Complete` (`Complete`), 910 KEY `Language` (`Language`), 911 KEY `VersionStart` (`VersionStart`), 912 KEY `VersionEnd` (`VersionEnd`), 913 KEY `ModifyTime` (`ModifyTime`) 848 914 ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System'; 849 915 … … 870 936 `User` int(11) NOT NULL, 871 937 `Complete` int(11) NOT NULL DEFAULT '1', 872 `Take` int(11) NOT NULL, 873 `VersionStart` int(11) NOT NULL DEFAULT '8606', 874 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 938 `CompleteParts` int(11) NOT NULL, 939 `Take` int(11) NOT NULL, 940 `VersionStart` int(11) NOT NULL DEFAULT '8606', 941 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 942 `ModifyTime` datetime NOT NULL, 875 943 PRIMARY KEY (`ID`), 876 944 KEY `entry` (`Entry`), … … 879 947 KEY `Language` (`Language`), 880 948 KEY `VersionStart` (`VersionStart`), 881 KEY `VersionEnd` (`VersionEnd`) 882 ) ENGINE=MyISAM DEFAULT CHARSET=latin1; 949 KEY `VersionEnd` (`VersionEnd`), 950 KEY `ModifyTime` (`ModifyTime`) 951 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 883 952 884 953 -- -------------------------------------------------------- … … 891 960 `ID` int(11) unsigned NOT NULL AUTO_INCREMENT, 892 961 `Entry` int(11) NOT NULL, 893 `content_default` text NOT NULL, 894 `comment` text NOT NULL, 895 `Language` int(11) NOT NULL DEFAULT '0', 896 `User` int(11) NOT NULL, 897 `Complete` int(11) NOT NULL, 898 `Take` int(11) NOT NULL, 899 `VersionStart` int(11) NOT NULL DEFAULT '8606', 900 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 901 PRIMARY KEY (`ID`), 902 KEY `entry` (`Entry`), 903 KEY `User` (`User`), 904 KEY `Take` (`Take`), 905 KEY `Complete` (`Complete`), 906 KEY `Language` (`Language`), 907 KEY `VersionStart` (`VersionStart`), 908 KEY `VersionEnd` (`VersionEnd`) 962 `ContentDefault` text NOT NULL, 963 `Comment` text NOT NULL, 964 `Language` int(11) NOT NULL DEFAULT '0', 965 `User` int(11) NOT NULL, 966 `Complete` int(11) NOT NULL, 967 `CompleteParts` int(11) NOT NULL, 968 `Take` int(11) NOT NULL, 969 `VersionStart` int(11) NOT NULL DEFAULT '8606', 970 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 971 `ModifyTime` datetime NOT NULL, 972 PRIMARY KEY (`ID`), 973 KEY `entry` (`Entry`), 974 KEY `User` (`User`), 975 KEY `Take` (`Take`), 976 KEY `Complete` (`Complete`), 977 KEY `Language` (`Language`), 978 KEY `VersionStart` (`VersionStart`), 979 KEY `VersionEnd` (`VersionEnd`), 980 KEY `ModifyTime` (`ModifyTime`) 909 981 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 910 982 … … 918 990 `ID` int(11) unsigned NOT NULL AUTO_INCREMENT, 919 991 `Entry` int(11) NOT NULL, 920 `content_default` text NOT NULL, 921 `comment` text NOT NULL, 922 `Language` int(11) NOT NULL DEFAULT '0', 923 `User` int(11) NOT NULL, 924 `Complete` int(11) NOT NULL, 925 `Take` int(11) NOT NULL, 926 `VersionStart` int(11) NOT NULL DEFAULT '8606', 927 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 928 PRIMARY KEY (`ID`), 929 KEY `entry` (`Entry`), 930 KEY `User` (`User`), 931 KEY `Take` (`Take`), 932 KEY `Complete` (`Complete`), 933 KEY `Language` (`Language`), 934 KEY `VersionStart` (`VersionStart`), 935 KEY `VersionEnd` (`VersionEnd`) 992 `ContentDefault` text NOT NULL, 993 `Comment` text NOT NULL, 994 `Language` int(11) NOT NULL DEFAULT '0', 995 `User` int(11) NOT NULL, 996 `Complete` int(11) NOT NULL, 997 `CompleteParts` int(11) NOT NULL, 998 `Take` int(11) NOT NULL, 999 `VersionStart` int(11) NOT NULL DEFAULT '8606', 1000 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 1001 `ModifyTime` datetime NOT NULL, 1002 PRIMARY KEY (`ID`), 1003 KEY `entry` (`Entry`), 1004 KEY `User` (`User`), 1005 KEY `Take` (`Take`), 1006 KEY `Complete` (`Complete`), 1007 KEY `Language` (`Language`), 1008 KEY `VersionStart` (`VersionStart`), 1009 KEY `VersionEnd` (`VersionEnd`), 1010 KEY `ModifyTime` (`ModifyTime`) 936 1011 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 937 1012 … … 952 1027 `User` int(11) NOT NULL, 953 1028 `Complete` int(11) NOT NULL, 954 `Take` int(11) NOT NULL, 955 `VersionStart` int(11) NOT NULL DEFAULT '8606', 956 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 957 PRIMARY KEY (`ID`), 958 KEY `entry` (`Entry`), 959 KEY `User` (`User`), 960 KEY `Take` (`Take`), 961 KEY `Language` (`Language`), 962 KEY `Complete` (`Complete`), 963 KEY `VersionStart` (`VersionStart`), 964 KEY `VersionEnd` (`VersionEnd`) 1029 `CompleteParts` int(11) NOT NULL, 1030 `Take` int(11) NOT NULL, 1031 `VersionStart` int(11) NOT NULL DEFAULT '8606', 1032 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 1033 `ModifyTime` datetime NOT NULL, 1034 PRIMARY KEY (`ID`), 1035 KEY `entry` (`Entry`), 1036 KEY `User` (`User`), 1037 KEY `Take` (`Take`), 1038 KEY `Language` (`Language`), 1039 KEY `Complete` (`Complete`), 1040 KEY `VersionStart` (`VersionStart`), 1041 KEY `VersionEnd` (`VersionEnd`), 1042 KEY `ModifyTime` (`ModifyTime`) 965 1043 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 966 1044 … … 977 1055 `User` int(11) NOT NULL, 978 1056 `Complete` int(11) NOT NULL, 1057 `CompleteParts` int(11) NOT NULL, 979 1058 `Take` int(11) NOT NULL, 980 1059 `Name` text NOT NULL, 981 1060 `VersionStart` int(11) NOT NULL DEFAULT '8606', 982 1061 `VersionEnd` int(11) NOT NULL DEFAULT '8606', 983 PRIMARY KEY (`ID`), 984 KEY `entry` (`Entry`), 985 KEY `User` (`User`), 986 KEY `Take` (`Take`), 987 KEY `Language` (`Language`), 988 KEY `Complete` (`Complete`), 989 KEY `VersionStart` (`VersionStart`), 990 KEY `VersionEnd` (`VersionEnd`) 1062 `ModifyTime` datetime NOT NULL, 1063 PRIMARY KEY (`ID`), 1064 KEY `entry` (`Entry`), 1065 KEY `User` (`User`), 1066 KEY `Take` (`Take`), 1067 KEY `Language` (`Language`), 1068 KEY `Complete` (`Complete`), 1069 KEY `VersionStart` (`VersionStart`), 1070 KEY `VersionEnd` (`VersionEnd`), 1071 KEY `ModifyTime` (`ModifyTime`) 991 1072 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; 992 1073 -
trunk/sql/updates/426.php
r426 r429 20 20 $Lines[] = 'ALTER TABLE `'.$Group['TablePrefix'].'` ADD `CompleteParts` INT NOT NULL AFTER `Complete`;'; 21 21 $Lines[] = 'ALTER TABLE `'.$Group['TablePrefix'].'` ADD `ModifyTime` DATETIME NOT NULL;'; 22 $Lines[] = 'ALTER TABLE `'.$Group['TablePrefix'].'` INDEX ( `ModifyTime` );';22 $Lines[] = 'ALTER TABLE `'.$Group['TablePrefix'].'` ADD INDEX ( `ModifyTime` );'; 23 23 $Lines[] = 'UPDATE `'.$Group['TablePrefix'].'` SET `ModifyTime` = NOW();'; 24 24 $Lines[] = 'UPDATE `'.$Group['TablePrefix'].'` SET `CompleteParts` = '.((1 << $Group['ItemsCount']) - 1).' WHERE `Complete`=1;'; -
trunk/sql/updates/426.sql
r426 r429 133 133 ALTER TABLE `TextQuest` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 134 134 ALTER TABLE `TextQuest` ADD `ModifyTime` DATETIME NOT NULL; 135 ALTER TABLE `TextQuest` INDEX ( `ModifyTime` );135 ALTER TABLE `TextQuest` ADD INDEX ( `ModifyTime` ); 136 136 UPDATE `TextQuest` SET `ModifyTime` = NOW(); 137 137 UPDATE `TextQuest` SET `CompleteParts` = 1023 WHERE `Complete`=1; 138 138 ALTER TABLE `TextPage` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 139 139 ALTER TABLE `TextPage` ADD `ModifyTime` DATETIME NOT NULL; 140 ALTER TABLE `TextPage` INDEX ( `ModifyTime` );140 ALTER TABLE `TextPage` ADD INDEX ( `ModifyTime` ); 141 141 UPDATE `TextPage` SET `ModifyTime` = NOW(); 142 142 UPDATE `TextPage` SET `CompleteParts` = 1 WHERE `Complete`=1; 143 143 ALTER TABLE `TextNPC` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 144 144 ALTER TABLE `TextNPC` ADD `ModifyTime` DATETIME NOT NULL; 145 ALTER TABLE `TextNPC` INDEX ( `ModifyTime` );145 ALTER TABLE `TextNPC` ADD INDEX ( `ModifyTime` ); 146 146 UPDATE `TextNPC` SET `ModifyTime` = NOW(); 147 147 UPDATE `TextNPC` SET `CompleteParts` = 65535 WHERE `Complete`=1; 148 148 ALTER TABLE `TextItem` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 149 149 ALTER TABLE `TextItem` ADD `ModifyTime` DATETIME NOT NULL; 150 ALTER TABLE `TextItem` INDEX ( `ModifyTime` );150 ALTER TABLE `TextItem` ADD INDEX ( `ModifyTime` ); 151 151 UPDATE `TextItem` SET `ModifyTime` = NOW(); 152 152 UPDATE `TextItem` SET `CompleteParts` = 3 WHERE `Complete`=1; 153 153 ALTER TABLE `TextGameObject` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 154 154 ALTER TABLE `TextGameObject` ADD `ModifyTime` DATETIME NOT NULL; 155 ALTER TABLE `TextGameObject` INDEX ( `ModifyTime` );155 ALTER TABLE `TextGameObject` ADD INDEX ( `ModifyTime` ); 156 156 UPDATE `TextGameObject` SET `ModifyTime` = NOW(); 157 157 UPDATE `TextGameObject` SET `CompleteParts` = 3 WHERE `Complete`=1; 158 158 ALTER TABLE `TextCreature` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 159 159 ALTER TABLE `TextCreature` ADD `ModifyTime` DATETIME NOT NULL; 160 ALTER TABLE `TextCreature` INDEX ( `ModifyTime` );160 ALTER TABLE `TextCreature` ADD INDEX ( `ModifyTime` ); 161 161 UPDATE `TextCreature` SET `ModifyTime` = NOW(); 162 162 UPDATE `TextCreature` SET `CompleteParts` = 3 WHERE `Complete`=1; 163 163 ALTER TABLE `TextMangosString` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 164 164 ALTER TABLE `TextMangosString` ADD `ModifyTime` DATETIME NOT NULL; 165 ALTER TABLE `TextMangosString` INDEX ( `ModifyTime` );165 ALTER TABLE `TextMangosString` ADD INDEX ( `ModifyTime` ); 166 166 UPDATE `TextMangosString` SET `ModifyTime` = NOW(); 167 167 UPDATE `TextMangosString` SET `CompleteParts` = 1 WHERE `Complete`=1; 168 168 ALTER TABLE `TextMangosCommand` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 169 169 ALTER TABLE `TextMangosCommand` ADD `ModifyTime` DATETIME NOT NULL; 170 ALTER TABLE `TextMangosCommand` INDEX ( `ModifyTime` );170 ALTER TABLE `TextMangosCommand` ADD INDEX ( `ModifyTime` ); 171 171 UPDATE `TextMangosCommand` SET `ModifyTime` = NOW(); 172 172 UPDATE `TextMangosCommand` SET `CompleteParts` = 3 WHERE `Complete`=1; 173 173 ALTER TABLE `TextSD2Script` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 174 174 ALTER TABLE `TextSD2Script` ADD `ModifyTime` DATETIME NOT NULL; 175 ALTER TABLE `TextSD2Script` INDEX ( `ModifyTime` );175 ALTER TABLE `TextSD2Script` ADD INDEX ( `ModifyTime` ); 176 176 UPDATE `TextSD2Script` SET `ModifyTime` = NOW(); 177 177 UPDATE `TextSD2Script` SET `CompleteParts` = 3 WHERE `Complete`=1; 178 178 ALTER TABLE `TextSD2EventAI` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 179 179 ALTER TABLE `TextSD2EventAI` ADD `ModifyTime` DATETIME NOT NULL; 180 ALTER TABLE `TextSD2EventAI` INDEX ( `ModifyTime` );180 ALTER TABLE `TextSD2EventAI` ADD INDEX ( `ModifyTime` ); 181 181 UPDATE `TextSD2EventAI` SET `ModifyTime` = NOW(); 182 182 UPDATE `TextSD2EventAI` SET `CompleteParts` = 3 WHERE `Complete`=1; 183 183 ALTER TABLE `TextGameTip` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 184 184 ALTER TABLE `TextGameTip` ADD `ModifyTime` DATETIME NOT NULL; 185 ALTER TABLE `TextGameTip` INDEX ( `ModifyTime` );185 ALTER TABLE `TextGameTip` ADD INDEX ( `ModifyTime` ); 186 186 UPDATE `TextGameTip` SET `ModifyTime` = NOW(); 187 187 UPDATE `TextGameTip` SET `CompleteParts` = 1 WHERE `Complete`=1; 188 188 ALTER TABLE `TextSpell` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 189 189 ALTER TABLE `TextSpell` ADD `ModifyTime` DATETIME NOT NULL; 190 ALTER TABLE `TextSpell` INDEX ( `ModifyTime` );190 ALTER TABLE `TextSpell` ADD INDEX ( `ModifyTime` ); 191 191 UPDATE `TextSpell` SET `ModifyTime` = NOW(); 192 192 UPDATE `TextSpell` SET `CompleteParts` = 15 WHERE `Complete`=1; 193 193 ALTER TABLE `TextGlobalString` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 194 194 ALTER TABLE `TextGlobalString` ADD `ModifyTime` DATETIME NOT NULL; 195 ALTER TABLE `TextGlobalString` INDEX ( `ModifyTime` );195 ALTER TABLE `TextGlobalString` ADD INDEX ( `ModifyTime` ); 196 196 UPDATE `TextGlobalString` SET `ModifyTime` = NOW(); 197 197 UPDATE `TextGlobalString` SET `CompleteParts` = 7 WHERE `Complete`=1; 198 198 ALTER TABLE `TextGlueString` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 199 199 ALTER TABLE `TextGlueString` ADD `ModifyTime` DATETIME NOT NULL; 200 ALTER TABLE `TextGlueString` INDEX ( `ModifyTime` );200 ALTER TABLE `TextGlueString` ADD INDEX ( `ModifyTime` ); 201 201 UPDATE `TextGlueString` SET `ModifyTime` = NOW(); 202 202 UPDATE `TextGlueString` SET `CompleteParts` = 7 WHERE `Complete`=1; 203 203 ALTER TABLE `TextNPCOption` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 204 204 ALTER TABLE `TextNPCOption` ADD `ModifyTime` DATETIME NOT NULL; 205 ALTER TABLE `TextNPCOption` INDEX ( `ModifyTime` );205 ALTER TABLE `TextNPCOption` ADD INDEX ( `ModifyTime` ); 206 206 UPDATE `TextNPCOption` SET `ModifyTime` = NOW(); 207 207 UPDATE `TextNPCOption` SET `CompleteParts` = 3 WHERE `Complete`=1; 208 208 ALTER TABLE `TextTransport` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 209 209 ALTER TABLE `TextTransport` ADD `ModifyTime` DATETIME NOT NULL; 210 ALTER TABLE `TextTransport` INDEX ( `ModifyTime` );210 ALTER TABLE `TextTransport` ADD INDEX ( `ModifyTime` ); 211 211 UPDATE `TextTransport` SET `ModifyTime` = NOW(); 212 212 UPDATE `TextTransport` SET `CompleteParts` = 1 WHERE `Complete`=1; 213 213 ALTER TABLE `TextAreaTriggerTavern` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 214 214 ALTER TABLE `TextAreaTriggerTavern` ADD `ModifyTime` DATETIME NOT NULL; 215 ALTER TABLE `TextAreaTriggerTavern` INDEX ( `ModifyTime` );215 ALTER TABLE `TextAreaTriggerTavern` ADD INDEX ( `ModifyTime` ); 216 216 UPDATE `TextAreaTriggerTavern` SET `ModifyTime` = NOW(); 217 217 UPDATE `TextAreaTriggerTavern` SET `CompleteParts` = 1 WHERE `Complete`=1; 218 218 ALTER TABLE `TextAreaTriggerTeleport` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 219 219 ALTER TABLE `TextAreaTriggerTeleport` ADD `ModifyTime` DATETIME NOT NULL; 220 ALTER TABLE `TextAreaTriggerTeleport` INDEX ( `ModifyTime` );220 ALTER TABLE `TextAreaTriggerTeleport` ADD INDEX ( `ModifyTime` ); 221 221 UPDATE `TextAreaTriggerTeleport` SET `ModifyTime` = NOW(); 222 222 UPDATE `TextAreaTriggerTeleport` SET `CompleteParts` = 1 WHERE `Complete`=1; 223 223 ALTER TABLE `TextAchievement` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 224 224 ALTER TABLE `TextAchievement` ADD `ModifyTime` DATETIME NOT NULL; 225 ALTER TABLE `TextAchievement` INDEX ( `ModifyTime` );225 ALTER TABLE `TextAchievement` ADD INDEX ( `ModifyTime` ); 226 226 UPDATE `TextAchievement` SET `ModifyTime` = NOW(); 227 227 UPDATE `TextAchievement` SET `CompleteParts` = 7 WHERE `Complete`=1; 228 228 ALTER TABLE `TextAchievementCategory` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 229 229 ALTER TABLE `TextAchievementCategory` ADD `ModifyTime` DATETIME NOT NULL; 230 ALTER TABLE `TextAchievementCategory` INDEX ( `ModifyTime` );230 ALTER TABLE `TextAchievementCategory` ADD INDEX ( `ModifyTime` ); 231 231 UPDATE `TextAchievementCategory` SET `ModifyTime` = NOW(); 232 232 UPDATE `TextAchievementCategory` SET `CompleteParts` = 1 WHERE `Complete`=1; 233 233 ALTER TABLE `TextAchievementCriteria` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 234 234 ALTER TABLE `TextAchievementCriteria` ADD `ModifyTime` DATETIME NOT NULL; 235 ALTER TABLE `TextAchievementCriteria` INDEX ( `ModifyTime` );235 ALTER TABLE `TextAchievementCriteria` ADD INDEX ( `ModifyTime` ); 236 236 UPDATE `TextAchievementCriteria` SET `ModifyTime` = NOW(); 237 237 UPDATE `TextAchievementCriteria` SET `CompleteParts` = 1 WHERE `Complete`=1; 238 238 ALTER TABLE `TextGlueLocalization` ADD `CompleteParts` INT NOT NULL AFTER `Complete`; 239 239 ALTER TABLE `TextGlueLocalization` ADD `ModifyTime` DATETIME NOT NULL; 240 ALTER TABLE `TextGlueLocalization` INDEX ( `ModifyTime` );240 ALTER TABLE `TextGlueLocalization` ADD INDEX ( `ModifyTime` ); 241 241 UPDATE `TextGlueLocalization` SET `ModifyTime` = NOW(); 242 242 UPDATE `TextGlueLocalization` SET `CompleteParts` = 7 WHERE `Complete`=1; 243 243 244 CREATE TABLE IF NOT EXISTS `DbVersion` ( 244 245 `Id` int(11) NOT NULL AUTO_INCREMENT,
Note:
See TracChangeset
for help on using the changeset viewer.