home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 April
/
Chip_2003-04_cd1.bin
/
tema
/
krypta
/
server
/
features.php@version=1621
< prev
next >
Wrap
Text File
|
2003-02-02
|
47KB
|
870 lines
//
//<comentar>
//
EventsCount=0;
function TextEnd() {
o('<DIV Align=Right><i><FONT Size=2 Face=Arial Color=#000000><SPAN Style="font-size:90%"><br>'+AuthorName+'<br>'+AuthorDesc+'</SPAN></FONT></i></DIV><br>');
Blue=1;
o('<TR><TD>');
}
function Banner(Position, Style) {
}
function ArticleBanner_bigres(Style) {
}
function ArticleBanner_smallres(Style) {
}
function LinkBanner(Style) {
}
function OtherBanner(Style) {
}
//!--- <NOFRAMES>
// <SCRIPT>
o('<S'+'TYLE>');
o(' .SeeAlso {font-family:"Verdana","Verdana CE","Arial CE","Arial","Sans-Serif";font-size:80%;color:#004474;text-decoration:underline;}')
o(' .LinkItem {list-style-image: url(images/bull.gif);}')
o(' .ElementItem {list-style-type:circle; }')
o(' .TextOL {margin-top:-7px; color:#226694}')
o(' .LIText {color:#000000}')
o('.AuthorDesc {font-size:11px; color:#000000}');
o('.AuthorDesc A {Color:#000000}');
o(' samp {font-family:"Arial CE, Arial, Sans-Serif CE, Sans-Serif";Font-size:1em;font-weight:bold;}')
o(' .Cite {font-family:"Arial CE","Arial","Sans-Serif";font-size:110%;color:#bb0000;font-weight:bold;}')
o(' .Cite B {color:#000000;}')
o(' .AboutAuthor A {color:#000000;}')
o(' A Code {color:#990000;text-decoration:none;}')
o(' Strong { letter-spacing: 1px;font-family:"Arial CE", "Arial", "Sans-Serif CE"," Sans-Serif";font-weight:900;color:#404040}')
o(' .Strong { letter-spacing: 1px;font-family:"Arial CE", "Arial", "Sans-Serif CE"," Sans-Serif";font-weight:900;color:#404040}')
o(' .Small { letter-spacing: 0px;font-family:"Verdana CE", "Verdana", "Arial CE", "Arial", "Sans-Serif CE"," Sans-Serif";font-size:80%; color:#808080}')
if (Type != 'Pure') o(' .Paragraph { font-family :"Verdana CE", "Verdana", "Arial CE", "Arial", "Sans-Serif CE", "Sans-Serif";color:#000000;margin-top: 1em;}')
else o(' .Paragraph {font-family :"Verdana CE", "Verdana", "Arial CE", "Arial", "Sans-Serif CE", "Sans-Serif";color:#000000;margin-top: 1em;margin-right: 2em;}')
o(' .Intro A {font-family: "Verdana"," Verdana CE", "Arial CE", "Arial", "Sans Serif";color:#8C0010}')
o(' .Intro A:hover {font-family: "Verdana"," Verdana CE", "Arial CE", "Arial", "Sans Serif";color:#9C0020}')
o(' .Paragraph A {font-family: "Verdana"," Verdana CE", "Arial CE", "Arial", "Sans Serif";color:#004474;}')
o(' .Sign {font-family: "Verdana"," Verdana CE", "Arial CE", "Arial", "Sans Serif";color:#00000;}')
o(' .Sign A {font-family: "Verdana"," Verdana CE", "Arial CE", "Arial", "Sans Serif";color:#000000;}')
o(' .Paragraph Table {font-family: "Verdana"," Verdana CE", "Arial CE", "Arial", "Sans Serif";color:#004474; border: 0px; background-color:#226694; font-size:90%}')
o(' .Paragraph Table THead {font-family: "Verdana", "Arial CE", "Arial", "Sans Serif";color:#FFFFFF; text-weight:normal; border: 0px; background-color:#226694; font-size:100%}')
o(' .Paragraph Table THead TD {background-color:#226694;}')
o(' .Paragraph Table TD {background-color:#F9F9F9; margin-left:10px;margin-right:10px;}')
o(' .Paragraph PRE {font-size:100%; color:#440044;}')
o(' .Question {font-size:100%; color:#115584; font-style:italic;}')
o(' .Paragraph A:hover {font-family: "Verdana"," Verdana CE", "Arial CE", "Arial", "Sans Serif";color:#4387b4;}')
o(' .Intro { font-family: "Verdana"," Verdana CE", "Arial CE", "Arial", "Sans Serif";xfont-size:150%;xfont-weight:700;color:#004474;margin-top: 0em;margin-left: 2px;margin-bottom:-20px;}')
o(' .Comment {font-family: "Verdana, Arial CE, Arial, Sans-Serif CE, Sans-Serif", "Sans-Serif";font-size:12px;'+PR+';}')
o(' .Headline {font-family:"Arial CE", "Arial", "Sans-Serif CE"," Sans-Serif";margin-top: 1.4em;margin-bottom: 0.9em;remmargin-top: 27px;remmargin-bottom: 12px;color:#006A9B;font-weight:900;font-size:90%;}')
o(' .FolderHead {font-family:"Arial CE", "Arial", "Sans-Serif CE", "Sans-Serif";font-weight:bold;font-size:230%;color:#004474;margin-top: 0.5em;}')
o(' .Section {font-family:"Arial CE", "Arial", "Sans-Serif CE", "Sans-Serif";font-weight:normal;font-size:190%;color:#004474;margin-top: 0.5em;}')
o(' .FolderLinkTitle {font-family:"Arial CE", "Arial", "Sans-Serif CE", "Sans-Serif";font-weight:bold;font-size:95%;color:#004474;}')
o(' .Title {font-family:"Arial CE", "Arial", "Sans-Serif CE", "Sans-Serif";font-weight:900;color:#006A9B; font-size:150%; margin-bottom:10px;}')
o(' .Input {font-family:"Arial CE", "Arial", "Sans-Serif CE", "Sans-Serif";color:#000000;font-size:13px;}')
o(' .SystemFont {font-family: "Verdana CE, Verdana, Arial CE, Arial, Sans Serif", "Tahoma CE", "Arial CE, Arial, Sans-Serif CE, Sans-Serif", "Sans-Serif";font-size:100%;color:#F0000;}')
o(' .LighterLinkHead {font-family:"Arial CE, Arial, Sans-Serif CE, Sans-Serif";font-size:80%;color:#a9a9a9;}')
o(' .NaviInfo {font-family:"Arial CE" , "Arial", "Sans-Serif CE", "Sans-Serif";font-size:100%;color:#a0a0a0;margin-top: 0.5em;margin-bottom: 0.5em;}')
o(' .DownloadBox {background-color:#909090}')
o(' .DownloadBox TABLE {background-color:#e0e0e0}')
o(' .DownloadBox TABLE TD {font-family:"Verdana", "Arial CE", "Arial"; font-size:60%;}')
o(' .DownloadBox TABLE TD A {font-weight:bold; color:#000000}')
o(' .SectionsBox {background-color:#c0c0c0}')
o(' .SectionsBox TD {background-color:#FEFEE1}')
o('</STYLE>');
urlTop="";
bTop="";
ArticlesBarSize=176;
function Exec(ExecString) {
eval(ExecString);
}
function BottomBanner() {
/*o('
<TABLE ');
ie(' Align=Center ');
n(' ');
o(' '+B+' '+CP+' '+CS+'><TR><TD><img src=images/advert.gif><TD><a href='+urlBottom+' ><IMG Border=1 Class=Banner Width=468 Name=imgBottomBanner Height=60 Src='+bBottom+'></TABLE>');*/
}
function SquareBanner1() {
o('<CENTER><a href='+urlSquare1+' ><IMG Border=1 Class=Banner Name=imgSquareBanner1 Width=125 Height=125 Src='+bSquare1+'></CENTER>');
}
function Program(ID, Title, Comment, Date, Info, FileType, Respawn, Flags) {
DownloadTypes = new(Array);
DownloadTypes['']='Člßnek';
//if (isIE())
{
if ((ItemName != "Home") && (ItemName != "")) o('<LI><DIV style="margin-right:20px;">');
if (Title!="") {
o('<A Href="downloads.php@ID='+ID+'"><SPAN Class=ArticleLink>');
o(Title)
o('</b></SPAN></a>');
}
o('<TABLE Border=0 width=100% '+B+' '+CP+' '+CS+'><TR><TD>');
if (IsFlag(Flags,'TitleImage'))
{
o('<img Name=TitleImage'+ID+' style="matgin-top:10px;margin-left:15px;" height=75 width=100 align=right '+B+'>');
ToExecute=ToExecute+'document.TitleImage'+ID+'.src="file.php@ParentID='+ID+'&ParentType=7&Name=TitleImage&Rel=new";';
}
if (restype>=3) CommentSize='v100'; else CommentSize='v110';
//if (IsFlag(Flags,'Small'))
CommentSize='v100';
if (IsFlag(Flags,'FixedPos')) CommentColor="000000"; else CommentColor="707070";
if (Respawn!="") {
Comment=Comment+"<SPAN CLASS=RespawnAlert> DOPLNĚNO! </SPAN><SPAN Class=RespawnText>"+Respawn+"</SPAN>";
}
o('<DIV Align=Justify ><FONT Face=Arial, Arial CE, Sans-Serif CE, Sans-Serif Size=2 Color=#'+CommentColor+'><SPAN Class=LinkComment><SPAN Class='+CommentSize+'>'+Comment+'');
o('</SPAN></FONT></DIV>');
o('</TABLE>');
if ((ItemName != "Home") && (ItemName != "")) o('</DIV>');
//if (IsFlag(Flags,'NoEndMargin')==0) o('<IMG align=center Src=images/space.gif Height=18 '+B+'Width=120><br>');
DownloadsCount++;
//ArticlesCount++;
if (ItemName != 'Home') if (DownloadsCount==1) LinkBanner("margin-top:-5px;margin-bottom:10px;");
}}
function SquareBanner2() {
o('<CENTER><a href='+urlSquare2+' ><IMG Border=1 Name=imgSquareBanner2 Class=Banner Width=125 Height=125 Src='+bSquare2+'></CENTER>');
}
function AddCommentHead() {
o('<FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=5 Color=#00447>Komentß° ke Φlßnku</FONT><br><REM hr Color=#dbdbdb Noshade Size=2>');
}
function FolderHead(Title, Comment) {
o('<FONT Size=1><DIV Class=FolderHead>'+Title+'</DIV></FONT>');
if (document.title==WebName) document.title=Title;
if (ItemID != "") o('<TABLE '+CP+' '+CS+' style="'+PR+';left:'+sw(4,4)+'px;top:'+sw(11,11)+'px;" Align=right '+B+'><TR><TD width=10 xbgcolor=#E7E7E7><img width=14 height=18 src=images/greyleft.gif hspace=0 vspace=0 '+B+' align=right><TD bgcolor=#E0E0E0><a href=folders.php@ID='+Parent1ID+' style="font-size:12px;color:#000000;font-family:Verdana, Arial, Sans-Serif;"><IMG width=15 height=14 src=images/upfold.gif '+AL+' '+B+' vspace=2><SPAN style="font-size:12px;">'+ParentTitle+'</SPAN></a><TD xbgcolor=#E0E0E0 width=10><img src=images/greyright.gif width=17 height=18 hspace=0 vspace=0 '+B+' '+AL+'></TABLE>');
br();
hr();
o('<IMG src=images/wheel1.gif Name=wheel Style="position:absolute;left:175px;top:183px;z-index:-50;">');
o('<DIV Align=Justify><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#a8a8a8>'+Comment+'</FONT></DIV>');
}
function Section(Str,Comment,Flags) {
o('<FONT Size=1><DIV Class=Section>'+Str+'</DIV></FONT>');
if (Comment!="undefined") o('<DIV Align=Justify><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#a8a8a8>'+Comment+'</FONT></DIV>');
}
var TitleStr="";
function ArticleHead(Title, Author, AuthEMail, Date, Time, Type) {
if (ItemName != "P∙vodnφ Φlßnek") hr();
if (Date.charAt(0)=="0") Date=Date.substr(1);
if (Date.charAt(2)=="0") if (Date.charAt(1)==".") Date=Date.substr(0,2)+Date.substr(3);
if (Date.charAt(2)==".") if (Date.charAt(3)=="0") Date=Date.substr(0,3)+Date.substr(4);
//if (Type != "Pure")
if (InIFrame != "Yes") if (ItemID != "") o('<TABLE '+CP+' '+CS+' style="position:relative;top:-9px;'+sw('xright:153px;','xleft:430;')+'zindex:5" Align=right '+B+'><TR><TD width=10 xbgcolor=#E7E7E7><img HEIGHT=18 WIDTH=14 src=images/downgreyleft.gif hspace=0 vspace=0 '+B+' align=right><TD bgcolor=#E0E0E0><a href=folders.php@ID='+Parent1ID+' style="font-size:12px;color:#000000;font-family:Verdana, Arial, Sans-Serif;"><IMG src=images/upfold.gif '+AL+' '+B+' vspace=2>'+ParentTitle+'</font></a><SPAN Style="font-size:12px;color:#000000;font-family:Verdana, Arial, Sans-Serif;"> | '+Type+' | '+Author+' '+Date+'</SPAN><TD xbgcolor=#E0E0E0 width=10><img src=images/downgreyright.gif width=17 height=18 hspace=0 vspace=0 '+B+' '+AL+'></TABLE>');
//if (TextSpace<580) TitleStr=TitleStr+'margin-top:25px;margin-bottom:9px;';
//if (TextSpace>580) TitleStr=TitleStr+'margin-top:11px;margin-bottom:9px;';
TitleStr='<DIV Class=Title>'+Title+'</DIV>';
//if (Type=='Pure') if (isIE()) o(''+TitleStr)
if (document.title==WebName) document.title=Title;
}
function ArticleEnd()
{
o('<TR><TD>');
o('<TABLE border=0 width=100% '+CP+' '+CS+' '+B+'><TR><TD>');
if (Type != "Pure") {if (ItemID != "")
if (InIFrame != "Yes") o('<br><TABLE '+CP+' '+CS+' style="'+PR+';left:-3px;top:-7px;" Align=right '+B+'><TR><TD width=10 xbgcolor=#E7E7E7><img HEIGHT=18 WIDTH=14 src=images/greyleft.gif hspace=0 vspace=0 '+B+' align=right><TD bgcolor=#E0E0E0 valign=top><a style="'+PR+';xtop:-2px;font-size:12px;color:#000000;font-family:Verdana, Arial, Sans-Serif;" href=#top>Nahoru</a><SPAN Style="font-size:12px;color:#000000;font-family:Verdana, Arial, Sans-Serif;"> | </SPAN><TD bgcolor=#E0E0E0><a href=folders.php@ID='+Parent1ID+' style="font-size:12px;color:#000000;font-family:Verdana, Arial, Sans-Serif;"><IMG '+AL+' src=images/upfold.gif '+B+' vspace=2>'+ParentTitle+'</font></a><TD xbgcolor=#E0E0E0 width=10><img src=images/greyright.gif hspace=0 vspace=0 '+B+' '+AL+'></TABLE>');
if (InIFrame != "Yes") hr();
}
o('</TABLE>');
o('<TR><TD>');
CopyData();
}
function FoldersBegin(){
o('<TABLE width='+(TextSpace-20)+' '+B+'><TR><TD VAlign=Top Width=5><IMG Src="images/myfold.gif" '+AL+' VALign=Top><TD>');
o('<ul Class=LinkItem>');
}
var FoldersCount=0;
function Source() {
hr();
o('<TABLE '+CP+' '+CS+' style="position:relative;top:-7px;z-index:5" xAlign=left '+B+'><TR><TD width=10><img HEIGHT=18 WIDTH=14 src=images/downgreyleft.gif hspace=0 vspace=0 '+B+' align=right><TD bgcolor=#E0E0E0><SPAN Style=\"font-size:12px;color:#000000;font-family:Verdana, Arial, Sans-Serif;position:relative;top:-2px;\">Originßl a vφce informacφ</SPAN><TD width=10><img src=images/downgreyright.gif width=17 height=18 hspace=0 vspace=0 '+B+' '+AL+'></TABLE>');
o('<TABLE Border=0><TR><TD VAlign=Top><IMG Src=images/arrow.gif><TD> <TD>');
o('<a href='+SourceURL+'><FONT Face=Verdana Size=2 Color=#004474>'+SourceName+'</FONT></a><br>');
if (SourceURL != "") o('<a href='+SourceURL+'><FONT Face=Verdana Size=2 Color=#990000><SPAN Class=Code>'+SourceLink+'</SPAN></FONT></a>');
o('</TABLE>');
}
function Folder(ID, Title, Comment, SubItemsCount) {
o('<LI><A Href="folders.php@ID='+ID+'"><FONT Color=#004474 Size=3><SPAN Class=FolderLinkTitle>'+Title+'</SPAN></a> ');
o('<br></b><DIV Align=Justify><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#a0a0a0>'+Comment+'</FONT><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=1 Color=#d0d0d0></font></DIV>');
o('<IMG align=center Src=images/space.gif Height=6 '+B+' Width=120><br>');
FoldersCount++;
if (FoldersCount==1) LinkBanner("margin-top:0px;margin-bottom:10px;")
}
function FoldersEnd() {
if (FoldersCount !=0)
o('</TABLE>');
}
function ArticlesBegin(){
if (FoldersCount != 0) hr();
o('<TABLE '+CP+' '+B+' xWidth=100% '+CS+'><TR><TD>');
o('<TABLE xWidth=100% '+B+' '+CS+' '+CS+'><TR><TD VALign=Top><br><IMG Src=space.gif width=35 height=2><br><IMG Src="images/file.gif" '+AL+' VALign=Top></TD><TD>');
o('<ul Class=LinkItem style="margin-top:-20px;">');
}
function EventsBegin(){
if (FoldersCount != 0) hr();
o('<TABLE '+CP+' '+B+' xWidth=100% '+CS+'><TR><TD>');
o('<TABLE xWidth=100% '+B+' '+CS+' '+CS+'><TR><TD VALign=Top><rem IMG Src="images/file.gif" '+AL+' VALign=Top><br><IMG Src=space.gif width=38 height=2><TD>');
o('<ul Class=LinkItem style="margin-top:-20px;">');
}
function EventsEnd() {
o('</UL></DIV></TABLE>');
if (EventsCount==0) br();
o('</TABLE>');
hr('style="position:relative;top:-'+sw(0,10)+'px;"');
}
function Event(ID, Title, Comment, DateTime, Manager, Place, Respawn, Flags) {
EventTypes = new(Array);
EventTypes['']='Člßnek';
//if (isIE())
{
if ((ItemName != "Home") && (ItemName != "")) o('<LI><DIV style="margin-right:20px;">');
if (Title!="") {
o('<A Href="event.php@ID='+ID+'"><SPAN Class=ArticleLink>');
o(Title)
o('</b></SPAN></a>');
}
o('<TABLE Border=0 '+B+' '+CP+' '+CS+'><TR><TD>');
if (IsFlag(Flags,'TitleImage'))
{
o('<img Name=TitleImage'+ID+' style="matgin-top:10px;margin-left:15px;" height=75 width=100 align=right '+B+'>');
ToExecute=ToExecute+'document.TitleImage'+ID+'.src="file.php@ParentID='+ID+'&Name=TitleImage&Rel=new";';
}
if (restype>=3) CommentSize='v100'; else CommentSize='v110';
if (IsFlag(Flags,'Small')) CommentSize='v100';
if (IsFlag(Flags,'FixedPos')) CommentColor="000000"; else CommentColor="707070";
if (Respawn!="") {
Comment=Comment+"<SPAN CLASS=RespawnAlert> DOPLNĚNO! </SPAN><SPAN Class=RespawnText>"+Respawn+"</SPAN>";
}
o('<DIV Align=Justify ><FONT Face=Arial, Arial CE, Sans-Serif CE, Sans-Serif Size=2 Color=#'+CommentColor+'><SPAN Class=LinkComment><SPAN Class='+CommentSize+'>'+Comment+'');
o('</SPAN></FONT></DIV>');
o('</TABLE>');
if ((ItemName != "Home") && (ItemName != "")) o('</DIV>');
if (IsFlag(Flags,'NoEndMargin')==0) o('<IMG align=center Src=images/space.gif Height=18 '+B+'Width=120><br>');
EventsCount++;
//ArticlesCount++;
if (ItemName != 'Home') if (EventsCount==1) LinkBanner("margin-top:-5px;margin-bottom:10px;");
}}
function ElementsBegin(){
if (FoldersCount != 0) hr();
o('<TABLE '+CP+' border=0 '+B+' Width=100% '+CS+'><TR><TD>');
o('<TABLE Width=100% border=0 '+B+' '+CS+' '+CS+'><TR><TD VALign=Top width=40><IMG Src="images/element.gif" '+AL+' VALign=Top hspace=15 vspace=5><br><br><br><br><IMG Src=space.gif width=79 height=2><TD>');
o('<ul Class=LinkItem style="margin-top:-20px;margin-left:0px;">');
}
function DownloadsBegin(){
if (FoldersCount != 0) hr();
o('<TABLE '+CP+' border=0 '+B+' Width=100% '+CS+'><TR><TD>');
o('<TABLE Width=100% border=0 '+B+' '+CS+' '+CS+'><TR><TD VALign=Top width=40><IMG Src="images/download.gif" '+AL+' VALign=Top hspace=15 vspace=5><br><br><br><br><IMG Src=space.gif width=79 height=2><TD>');
o('<ul Class=LinkItem style="margin-top:-20px;margin-left:0px;">');
}
function NewArticlesBegin(){
o('<TABLE Border=1 '+CP+' '+CS+'><TR> <TD>');
o('<ul Class=LinkItem>');
}
function ElementsEnd() {
o('</UL></DIV></TABLE>');
if (ElementsCount==0) br();
o('</TABLE>');
hr('style="position:relative;top:-'+sw(0,10)+'px;"');
}
function DownloadsEnd() {
o('</UL></DIV></TABLE>');
if (DownloadsCount==0) br();
o('</TABLE>');
hr('style="position:relative;top:-'+sw(0,10)+'px;"');
}
function ArticlesEnd() {
if (ArticlesCount ==0) if (FoldersCount ==0) o('<FONT Face=Verdana Size=2 Color=#000000><br>'+NoArticles+'<br></FONT>');
if (ArticlesCount!=0) o('</DIV></TABLE>');
if (ArticlesCount==0) br();
if (ArticlesCount!=0) o('</TABLE>');
hr('style="position:relative;top:-'+sw(0,10)+'px;"');
}
function LinksBegin() {
o('<br><TABLE '+CS+' '+B+'><TR><TD VALign=Top><IMG Src="images/ifold.gif" '+AL+' VALign=Top><TD Width=500>');
o('<ul Class=LinkItem>');
}
function Link(ID,SiteTitle,SiteComment,URL){
o('<LI><A Href="links.php@ID='+ID+'"><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Color=#004474 Size=2>'+SiteTitle+'</a><br>');
o('<DIV Align=Justify><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#a0a0a0>'+SiteComment+'</FONT><br><rem a href="'+URL+'"><FONT Face=Arial Size=1 Color=#a0a0a0><SPAN Style="font-size:110%;'+PR+';left:1px;top:-2px;">'+URL+'</SPAN></font></a></DIV>');
LinksCount++;
}
function LinksEnd(){
if (LinksCount != 0) o('</TABLE><br>');
}
var CommentsNum=0;
function CommentsBegin(ArticleTitle,Count)
{
o('');
o('<TABLE Width=90% Align=Center BgColor=#C4C4C4 '+B+' '+CP+' CellSpacing='+sw(1,1)+' STYLE="x'+PR+';top:-17px;z-index:-1">');
o('<TR><TD BgColor=#E6E6E6>');
o('<FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=Comment><img src=images/forum.gif width=16 height=14 style="'+PR+';top:2px;margin-left:2px;margin-right:5px;"><b><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif">Diskuze: </b> "'+ArticleTitle+'"</span></font></font>');
o('');
o('<TR><TD BgColor=#E6E6E6>');
o('<FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=v90>');
if (Count>12) ie('<DIV STYLE="overflow:auto;float:left;width='+(TextSpace-50)+'px;height=250px;">');
o('<TABLE Width=100% '+B+' rHeight=100% '+CP+' '+CS+' BgCOlor=#F6F6F6>');
o('<Form Name="com" Style="margin-top:0px;margin-bottom:0px;" Action="comments.php" Method=POST>');
o('<INPUT Type=Hidden Name=ParentID Value='+ItemID+'>');
o('<INPUT Type=Hidden Name=TNum Value='+TableNum+'>');
}
function Download(ID, Size, Name, Description, Info, MIMEType, TimeStamp, Licence, Downloads, LastDownloads) {
o('<CENTER><br><TABLE Class=DownloadBOx Width=90% '+B+' CellPadding=0 CellSpacing='+sw(1,1)+' ><TR><TD Width=100%>');
o('<TABLE CellSpacing=5 Width=100% CellPadding=2><TR><TD width=10> </TD><TD>');
o('<b>'+Name+"</b><br>"+TimeStamp+"<br><br>"+Description+"<br><br><a href=getfile.php@ID="+ID+">Download</a> ("+Size+" MB) Stßhnuto "+Downloads+"x, poslednφ m∞sφc "+LastDownloads+"x.");
o('</TD></FONT></FORM></TABLE></TABLE></CENTER><br>');
}
function ShowSections(){
o('<TABLE Style="margin-bottom:0px;" Class=SectionsBox VAlign=Bottom '+B+' CellPadding=0 CellSpacing='+sw(1,1)+'><TR><TD Width=100% BgColor=#FFFFE1>');
o('<DIV Style="color:#FFFFE1; line-height:0px;font-size:5px;margin-left:100px;margin-right:100px;">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </DIV>');
o('<TABLE CellSpacing=0 Width=100% CellPadding=2><TR><TD Width=50><FONT Style="font-size:12px;" Color=#000000 Face=Verdana> Obsah</TD>');
BrothersCount = SectionTitles.length;
o('</FORM><FORM Method=Get Name=SectionsForm Action=articles.php><TD><SELECT Name=SectionSelect onchange=document.location="articles.php@ID="+document.SectionsForm.SectionSelect.value Style="Font-size:11px;width=100%;font-family:Arial">');
for (i=0;i<(BrothersCount);i++) {
o('<OPTION Value='+SectionURLs[i]+' ');
if (SectionTitles[i].indexOf('tento')>0) o(' Selected ');
if (SectionTitles[i].indexOf('Dφl')<0) {
SectionTitles[i]=" "+SectionTitles[i];
} else {
o(' ');
}
o(' ');
o(' >'+SectionTitles[i]+'</OPTION>');
}
o('</SELECT></TD></FONT></FORM></TABLE></TABLE>');
// }
}
function Comment(ID,Title,Author,NumSub)
{
Bg='';
if (NumSub==0) {
if (CommentsNum!=0) o('<TR><TD BgColor=#C4C4C4><IMG src=space.gif height=1 width=1><TD BgColor=#C4C4C4><IMG src=space.gif height=1 width=1><TD BgColor=#C4C4C4><IMG src=space.gif height=1 width=1></TR></TD>');
Bg=' bgcolor=#FFFFF6 ';
}
o('<TR><TD '+Bg+' Width=10 VAlign=Center><INPUT TYPE=CheckBox Name=ToView[] Value='+ID+';'+NumSub+'> </TD><TD '+Bg+' width=300 VAlign=Center><FONT Face=Arial Size=1 Color=#595959><SPAN Style="font-size:110%">'+Title+'</SPAN></FONT> <TD '+Bg+' Width=100 '+AL+' VAlign=Center><FONT Face=Arial Size=1 Color=#595959><SPAN Style="font-size:110%">'+Author+' </span></FONT>');
CommentsNum=CommentsNum+1;
}
function NoComments()
{
o('<TR Height=20><TD Width=10><rem INPUT TYPE=CheckBox Name=ToView[] Value=sd> <TD width=300 VAlign=Center><FONT Color=#000000 Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=Comment>Zatφm ₧ßdnΘ komentß°e.</i></span></FONT> <TD Width=150 '+AL+'><FONT Color=#000000 Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=Comment> </span></FONT>');
}
function CommentsEnd()
{
o('</FORM></TABLE>');
ie('</DIV>');
o('</span> </font>');
o('</FORM>');
o('</TABLE>');
ie('<DIV STYLE="'+PR+';top:-1px;">');
o('<TABLE Width=90% Border=0 Align=Center '+CP+' '+CS+' '+B+' style="font-size:13px;" ><TR><TD BgColor=#B9B9B9><IMG Src=images/space.gif height=1><TD BgColor=#B9B9B9><IMG Src=images/space.gif height=1><TR><TD Width=100% BgColor=#ffffff><IMG Src=images/space.gif height=20>');
o('<TD VAlign=Top BackGround=images/commentsbar.gif Width=1><SPAN style="font-family:arial;font-size:12px"> <A HREF="javascript: for (i=0;(i-1)<=(CommentsNum);i++) { document.com.elements[i].checked=true;} document.com.submit()"><FONT Color=#000000>');
if (CommentsNum == 0 )o('</a><FONT Face=Arial Color=#595959>');
o('<SPAN style="font-size:12px">Vypsat vÜe</a></span> <A HREF="javascript: ok=0;for (i=0;(i-1)<=(CommentsNum);i++) { if (document.com.elements[i].checked==true) ok=1;} if (ok==1) document.com.submit();if (ok==0) alert(\'ÄßdnΘ komentß°e nejsou oznaΦeny.\');"><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN style="font-size:12px">');
if (CommentsNum == 0 )o('</a><FONT Color=#595959><SPAN style="font-size:12px">');
o('<SPAN style="font-size:12px">Vypsat oznaΦenΘ</font></a> <A HREF=addcomment.php@ID='+ItemID+'&ParentTableNum='+TableNum+'&TextItemID='+ItemID+'&TextItemTabNum='+TableNum+'&ParentComment=0><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Color=#000000><SPAN style="font-size:12px"><b>P°idat komentß°</span></font></a><SPAN style="font-size:12px"> </SPAN>');
o('');
o('');
o('<TR><TD><TD><IMG Src=images/space.gif width=309 height=15></TABLE>');
ie('</DIV>');
}
function ViewComment(Name,Date, Time, Author,AuthEMail,Data,ID,Depth,Flags)
{
if (Depth>6) Depth=6;
for (i=1;i<=(Depth);i++) {
}
xWidth = '100% Align=Center';
if (Type != 'Pure') xWidth=(TextSpace-(Depth*40))+30;
if (IsFlag(Flags,'Full')==1) xWidth="100%";
o('<br><TABLE '+B+' c'+xWidth+'><TR><TD>');
for (i=1;i<=(Depth);i++) {
o(' ');
}
o('</TD><TD><DIV Style="color:#FFFFE1; line-height:0px;font-size:5px;margin-left:200px;margin-right:100px;">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </DIV>');
o('<TABLE Border=0 BgColor=#dbdbdb '+CP+' CEllSpacing='+sw(1,0)+' '+B+' Width=100%><TR><TD VAlign=Top BgColor=#e6e6e6><TABLE Align=right '+B+' VALign=Top '+CS+' '+CP+'><TR><TD> <FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2>'+Date+', '+Time+' <a href="mailto:'+AuthEMail+'"><FONT Color=#000000>'+Author+'</a> </TABLE><TABLE '+CP+' '+CS+' '+B+'><TR><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><b> '+Name+'</TABLE><TR><TD BgColor=#f8f8f8><TABLE '+B+' CellSpacing=5><TR><TD><FONT Face=Courier Size=2>'+Data+'</TABLE>');
o('</TABLE>');
if (Type != 'Pure')
if (IsFlag(Flags,'NoReply')==0)
o('<TABLE Align=Right '+B+' CEllPadding=2 '+CS+'><TR><TD Width=90%><TD '+AL+' VALign=Top Background=server/images/reply.gif><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN style="position:relative; top:-5px;" Class=v90> <a href=addcomment.php@ID='+ID+'&ParentTableNum=4&TextItemID='+ItemID+'&TextItemTabNum='+TableNum+'&ParentComment='+ID+'><FONT Color=#000000><rem b>Reagovat</a></b> | <INPUT Value='+ID+' Name=ReactionsTo'+ID+' Type=Checkbox Style="position:relative;top:2px;"> Odebφrat reakce </TD></TR><TR><TD></TD><TD><IMG Src=space.gif height=1 width=227></TD></TR></TABLE>');
o('</TABLE>');
}
function ViewForumNote(Name, ForumID, Date, Time, Author,AuthEMail,Data,ID,Depth,Flags)
{
if (Depth>6) Depth=6;
for (i=1;i<=(Depth);i++) {
}
xWidth = '100% Align=Center';
if (Type != 'Pure') xWidth=(TextSpace-(Depth*40))+30;
if (IsFlag(Flags,'Full')==1) xWidth="100%";
o('<br><TABLE '+B+' c'+xWidth+'><TR><TD>');
for (i=1;i<=(Depth);i++) {
o(' ');
}
o('</TD><TD><DIV Style="color:#FFFFE1; line-height:0px;font-size:5px;margin-left:200px;margin-right:100px;">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </DIV>');
o('<TABLE Border=0 BgColor=#dbdbdb '+CP+' CEllSpacing='+sw(1,0)+' '+B+' Width=100%><TR><TD VAlign=Top BgColor=#e6e6e6><TABLE Align=right '+B+' VALign=Top '+CS+' '+CP+'><TR><TD> <FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2>'+Date+', '+Time+' <a href="mailto:'+AuthEMail+'"><FONT Color=#000000>'+Author+'</a> </TABLE><TABLE '+CP+' '+CS+' '+B+'><TR><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><b> '+Name+'</TABLE><TR><TD BgColor=#f8f8f8><TABLE '+B+' CellSpacing=5><TR><TD><FONT Face=Courier Size=2>'+Data+'</TABLE>');
o('</TABLE>');
if (Type != 'Pure')
if (IsFlag(Flags,'NoReply')==0)
o('<TABLE Align=Right '+B+' CEllPadding=2 '+CS+'><TR><TD Width=90%><TD '+AL+' VALign=Top Background=server/images/reply.gif><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN style="position:relative; top:-5px;" Class=v90> <a href=addforumnote.php@ID='+ID+'&ParentTableNum=4&TextItemID='+ForumID+'&TextItemTabNum='+TableNum+'&ParentForumNote='+ID+'><FONT Color=#000000><rem b>Reagovat</a></b> | <INPUT Value='+ID+' Name=ReactionsTo'+ID+' Type=Checkbox Style="position:relative;top:2px;"> Odebφrat reakce </TD></TR><TR><TD></TD><TD><IMG Src=space.gif height=1 width=227></TD></TR></TABLE>');
o('</TABLE>');
}
function Message(Text)
{
P(Text);
}
function Error(Text)
{
P('Pozor!');
P(Text);
}
function FolderEnd()
{
}
function AdditionalTablesBegin()
{
}
function AdditionalTablesEnd()
{
}
function Vote(ID)
{
if (VotingAnswer[ID]==0) {
alert('Musφte vybrat odpov∞∩.');
} else {
VoteWindow='vote.php@VotingID='+ID+'&VotingAnswer='+VotingAnswer[ID];
var new_window = window.open(VoteWindow,null, "height=100,width=500,status=no,toolbar=no,menubar=no,location=no");
if (new_window != null)
window.status = new_window.document.title;
VotingAnswer[ID]=0;
}
}
function YesNoVoting(Question, YesAnswers, NoAnswers,ID, Possible)
{
DisableStr = '';
if (Possible==0) DisableStr=' DISABLED ';
VotingAnswer[ID] = 0;
TotalWidth=232;
TotalAnswers = YesAnswers + NoAnswers;
YesPercent=Math.round((YesAnswers/(TotalAnswers))*100);
NoPercent=Math.round((NoAnswers/(TotalAnswers))*100);
YesSize= Math.round((TotalWidth/(TotalAnswers))*YesAnswers);
NoSize= Math.round((TotalWidth/(TotalAnswers))*NoAnswers);
o('<CENTER><TABLE Align=Center '+CS+' '+CP+' Width=90% '+B+'><TR><TD>');
o('<TABLE Width=100% BgColor=#C4C4C4 '+B+' CellPadding=1 CellSpacing='+sw(1,0)+'><TR><FORM Name=Voting Action=vote.php Method=post><TD BgColor=#E6E6E6>');
o('<FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=px12> <b>Anketa: </b>'+Question+'</span> </font>');
o('<Font Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=1 Color=#a4a4a4> <SPAN Class=px11>(Ano: '+YesPercent+'%, Ne:'+NoPercent+'%, celkem '+TotalAnswers+' hlas∙)</SPAN></font><TR><TD BgColor=#F6F6F6><CENTER>');
o('<IMG VSpace=1 HSpace=3 Src=images/true.gif><INPUT Type=Button '+DisableStr+ ' onclick="javascript: VotingAnswer['+ID+']=1;Vote('+ID+')" Value=Ano> <IMG Src=images/blackbar.gif vspace=3>')
if (YesAnswers != 0) o('<IMG vspace=3 Src=images/truebar.gif height=12 width='+YesSize+'>');
o('<IMG Src=images/slider.gif '+B+'>');
if (NoAnswers != 0) o('<IMG VSpace=3 Src=images/falsebar.gif height=12 width='+NoSize+'>');
o('<IMG Src=images/blackbar.gif vspace=3> <INPUT Type=Button '+DisableStr+ ' onclick="javascript: VotingAnswer['+ID+']=2;Vote('+ID+')" Value=" Ne "><IMG HSpace=3 Src=images/false.gif>');
o('</CENTER>');
o('</TABLE></FORM></TABLE><br>');
}
function MultiVoting(Question, Answer1, Num1, Answer2, Num2, Answer3, Num3, Answer4, Num4, Answer5, Num5,ID, Possible)
{
VotingAnswer[ID] = 0;
DisableStr = '';
if (Possible==0) DisableStr=' DISABLED ';
TotalAnswers=Num1+Num2+Num3+Num4+Num5;
TotalWidth=200;
Width1=Math.round((TotalWidth/TotalAnswers)*Num1);
Percent1=Math.round((Num1/TotalAnswers)*100);
Width2=Math.round((TotalWidth/TotalAnswers)*Num2);
Percent2=Math.round((Num2/TotalAnswers)*100);
Width3=Math.round((TotalWidth/TotalAnswers)*Num3);
Percent3=Math.round((Num3/TotalAnswers)*100);
Width4=Math.round((TotalWidth/TotalAnswers)*Num4);
Percent4=Math.round((Num4/TotalAnswers)*100);
Width5=Math.round((TotalWidth/TotalAnswers)*Num5);
Percent5=Math.round((Num5/TotalAnswers)*100);
o('<TABLE Align=Center '+CS+' '+CP+' Width=90% '+B+'><TR><TD>');
o('<TABLE Width=100% BgColor=#C4C4C4 '+B+' CellPadding=1 CellSpacing='+sw(1,0)+'><TR><FORM Name=Voting><TD BgColor=#E6E6E6>');
o('<FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=v90> <b>Anketa: </b>'+Question+'</span> </font>');
o('<TR><TD BgColor=#F6F6F6>');
o('<TABLE '+CP+' '+CS+' '+B+' Width=100%><FORM Name=MultiVoting>');
if (Answer1 != "") o('<TR><TD><INPUT Type=Radio Name=Answer Value=1 onclick="javascript: VotingAnswer['+ID+']=1; "><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Answer1+'</span></font><TD><IMG Src=images/bar.gif height=12 width='+Width1+'><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Percent1+'%</span></font>');
if (Answer2 != "") o('<TR><TD><INPUT Type=Radio Name=Answer Value=2 onclick="javascript: VotingAnswer['+ID+']=2; "><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Answer2+'</span></font><TD><IMG Src=images/bar.gif height=12 width='+Width2+'><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Percent2+'%</span></font>');
if (Answer3 != "") o('<TR><TD><INPUT Type=Radio Name=Answer Value=3 onclick="javascript: VotingAnswer['+ID+']=3; "><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Answer3+'</span></font><TD><IMG Src=images/bar.gif height=12 width='+Width3+'><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Percent3+'%</span></font>');
if (Answer4 != "") o('<TR><TD><INPUT Type=Radio Name=Answer Value=4 onclick="javascript: VotingAnswer['+ID+']=4; "><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Answer4+'</span></font><TD><IMG Src=images/bar.gif height=12 width='+Width4+'><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Percent4+'%</span></font>');
if (Answer5 != "") o('<TR><TD><INPUT Type=Radio Name=Answer Value=5 onclick="javascript: VotingAnswer['+ID+']=5; "><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Answer5+'</span></font><TD><IMG Src=images/bar.gif height=12 width='+Width5+'><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90>'+Percent5+'%</span></font>');
o('</table>');
o('<TABLE '+B+' Align=Right><TR><TD><DIV Align=Right><INPUT Type=Button '+DisableStr+ 'onclick="javascript: Vote('+ID+');" Value=Hlasuj></DIV></form></TABLE><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#bdbdbd><SPAN Class=v90><br> Celkem hlasovalo '+TotalAnswers+' lidφ.</span></font>');
o('</FORM>');
o('</TABLE>');
o('</TABLE><br>');
}
function _Image(URL,Title,ID,Pos)
{
if (ItemName != "P∙vodnφ Φlßnek") {
Attachedi++;
if (Type != 'Pure')
{
if (Pos=="Left") ie('<TABLE '+B+' '+AL+' Width=1 style="'+PR+';margin-right:0.6em;left:-3 px;margin-top:-0px;margin-bottom:0px;"><TR><TD>');
if (Pos=="Right") ie('<TABLE '+B+' align=Right Width=1 style="'+PR+';left:+12 px;margin-top:-0px;margin-bottom:0px;"><TR><TD>');
if (Pos=="Center") ie('<TABLE '+B+' align=Center Width=1 style="'+PR+';left:0px;margin-top:-0px;margin-bottom:0px;"><TR><TD>');
if (Pos=="None") ie('<TABLE '+B+' Width=1 style="'+PR+';left:0px;margin-right:0.6em;margin-left:-7px;margin-bottom:0px;"><TR><TD>');
}
else
ie('<TABLE '+B+' '+AL+' Width=1 style="margin-top:-0px;margin-right:1em;margin-bottom:0px;"><TR><TD>');
n('<TABLE '+B+' Width=1 style="margin-top:-0px;margin-right:1em;margin-bottom:0px;"><TR><TD>');
hr();
o('<TR><TD>');
o('<IMG Alt="'+Title+'" Src='+URL+' xname=img3>');
o('<TR><TD ID=ImgDesc><FONT Face=Arial Size=1>');
o('<FONT Color=#000000>Obr. '+Attachedi+'</FONT> <FONT Color=#909090>');
o(Title);
o('</FONT> ');
hr();
o('</FONT></TABLE>');
if (Pos=="None") o('<br>');
nie('<br><br><br>');
}
}
function Cite(Text,Pos)
{
if (Pos=="Left") o('<TABLE '+B+' '+AL+' Width=30% style="'+PR+';left:-6 px;margin-top:-0px;margin-bottom:0px;"><TR><TD>');
if (Pos=="Right") o('<TABLE '+B+' align=Right Width=30% style="'+PR+';left:+12 px;margin-top:-0px;margin-bottom:0px;"><TR><TD>');
if (Pos=="Center") o('<TABLE '+B+' align=Center Width=30% style="'+PR+';left:0px;margin-top:-0px;margin-bottom:0px;"><TR><TD>');
if (Pos=="None") o('<TABLE '+B+' Width=30% style="'+PR+';left:0px;margin-left:-10px;margin-bottom:0px;"><TR><TD>');
hr();
o('<TR><TD>');
o('<FONT Size=2><SPAN Class=Cite><CENTER>'+Text+'</CENTER></SPAN></FONT>');
o('<TR><TD>');
hr();
o('</FONT></TABLE>');
if (Pos=="None") o('<br>');
}
function ArticleFunctions() {
Result = new Array(5);
Result[0]="";
Result[1]="<FONT Face=\"Wingdings\" Size=6>ü</FONT>";
Result[2]="<FONT Face=\"Wingdings\" Size=6>é</FONT>";
Result[3]="<FONT Face=\"Wingdings\" Size=6></FONT>";
Result[4]="<FONT Face=\"Wingdings\" Size=6>ä</FONT>";
Result[5]="<FONT Face=\"Wingdings\" Size=6>à</FONT>";
if (navigator.appName=="Netscape") {
Result[1]="<FONT Face=\"Arial\" Size=6>1</FONT>";
Result[2]="<FONT Face=\"Arial\" Size=6>2</FONT>";
Result[3]="<FONT Face=\"Arial\" Size=6>3</FONT>";
Result[4]="<FONT Face=\"Arial\" Size=6>4</FONT>";
Result[5]="<FONT Face=\"Arial\" Size=6>5</FONT>";
}
Name="";
o('<TABLE VAlign=Top '+CS+' '+CP+' Width=100% '+B+'><TR><TD>');
o('<TABLE Width=100% BgColor=#C4C4C4 Align=Right VAlign=Bottom '+B+' '+CP+' CellSpacing=1><TR><TD BgColor=#E6E6E6>');
o('<IMG Src=images/functions_img.gif '+B+' hspace=0 height=15 '+AL+'><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><TABLE '+B+' '+CP+' '+CS+'><TR><TD Width=95%><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=px12> <b>Funkce</b><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90></TABLE></span> </font>');
o('<TR><TD BgColor=#F6F6F6>');
o('<TABLE '+B+' Width=100% '+CS+' CellPadding=1><TR><TD><SPAN Class=px14>');
if (TableNum!=7) o(' <IMG Src=images/blackbull.gif height=5 width=5 vspace=2> <a href=articles.php@ID='+ItemID+'&Type=Pure><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=px12><b>Formßt pro tisk </span></a></b></font><br>');
// o(' <IMG Src=images/blackbull.gif height=5 width=5 vspace=2> <a href=mailarticle.php@ID='+ItemID+'><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=px12><b>Poslat člßnek</a></b><br></font>');
o('</SPAN></TABLE>');
o('');
o('</TABLE>');
o('');
o('</TABLE><br>');
if (Ref1URL != "") {
o('<TABLE Width=100% BgColor=#C4C4C4 '+B+' '+CP+' CellSpacing='+sw(1,1)+'><TR><TD BgColor=#E6E6E6>');
o('<IMG Src=images/references_img.gif height=15 '+B+' hspace=0 '+AL+'><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><TABLE '+B+' '+CP+' '+CS+'><TR><TD Width=95%><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=px12> <b>Reference</b><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90> </TABLE></span> </font>');
o('<TR><TD BgColor=#F6F6F6>');
o('<TABLE '+B+' '+CP+'>');
if (Ref1URL != "") { Reference(Ref1URL,Ref1Link,Ref1Desc);}
if (Ref2URL != "") { Reference(Ref2URL,Ref2Link,Ref2Desc);}
if (Ref3URL != "") { Reference(Ref3URL,Ref3Link,Ref3Desc);}
if (Ref4URL != "") { Reference(Ref4URL,Ref4Link,Ref4Desc);}
if (Ref5URL != "") { Reference(Ref5URL,Ref5Link,Ref5Desc);}
o('</TABLE>');
o('');
o('</TABLE><br>');}
if (Action!='press') {
o('<TABLE Width=100% BgColor=#C4C4C4 '+B+' '+CP+' CellSpacing='+sw(1,1)+'><TR><TD BgColor=#E6E6E6>');
o('<IMG height=15 Src=images/grading_img.gif '+B+' hspace=0 '+AL+'><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><TABLE '+B+' '+CP+' '+CS+'><TR><TD Width=95%><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=px12> <b>Hodnocenφ</b><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=v90> </TABLE></span> </font>');
o('<TR><TD BgColor=#F6F6F6>');
o('<TABLE '+B+' CellPadding=2><TR><TD>');
o('<FONT Size=2 Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Color=#a0a0a0><SPAN Class=px11>Jako ve Ükole: <b><A Href=javascript:grade(1)><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Color=#000000 Class=px12>1</a> | <A Href=javascript:grade(2)><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Color=#000000 Size=2><SPAN Class=px12>2</SPAN></a><SPAN Class=px12> | </SPAN><A Href=javascript:grade(3)><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Color=#000000 Size=2><SPAN Class=px12>3</SPAN></a><SPAN Class=px12><SPAN Class=px12> | </SPAN></SPAN><A Href=javascript:grade(4)><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Color=#000000 Size=2><SPAN Class=px12>4</SPAN></a><SPAN Class=px12> | </SPAN><A Href=javascript:grade(5)><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Color=#000000 Size=2><SPAN Class=px12>5</SPAN></a></b></font><br>');
if (NumVotes != 0) o('<TABLE><TR><TD VAlign=Top><FONT Size=2 Color=#000000><SPAN Class=px11>'+NumVotes+' z vßs hodnotφ průměrem '+Average+', tj. :</font><TD VAlign=Bottom><DIV Align=Right>'+Result[Math.round(Average)]+' </DIV></TABLE>');
else o('<TABLE><TR><TD VAlign=Top><FONT Size=2 Color=#000000><SPAN Class=px11>Zatφm nikdo nehodnotil.</font><TD VAlign=Bottom><DIV Align=Right> </DIV></TABLE>');
o('</TABLE>');
o('');
o('<TR><TD BGColor=#f6f6f6> <FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#b0b0b0><SPAN Class=px11> Celkem '+Views+' shlΘdnutφ.');
o('');
o('</TABLE><br>');
}
o('<TABLE Width=100% BgColor=#C4C4C4 '+B+' '+CP+' CellSpacing='+sw(1,1)+'><TR><TD BgColor=#E6E6E6>');
o('<IMG height=15 Src=images/author_img.gif '+B+' hspace=0 '+AL+'><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><TABLE '+B+' '+CP+' '+CS+'><TR><TD Width=95%><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Style="font-size:12px;"> <b>Autor</b><TD><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=px12>'+Name+' </TABLE></span> </font>');
o('<TR><TD BgColor=#F6F6F6>');
o('<TABLE '+B+' CellPadding=1><TR><TD>');
o('<FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=px12><b>'+AuthorName+'<br></b>');
o('<a href="mailto:'+AuthorEMail+'"><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#bdbdbd><SPAN Class=px11>'+AuthorEMail+'</a><br>');
o('<TR><TD>');
o('<FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=AuthorDesc>'+AuthorDesc+'</SPAN>');
o('<TR><TD><SPAN Class=px12>');
o(' <IMG Src=images/blackbull.gif height=5 width=5 vspace=2> <a href=author.php@ID='+AuthorID+'> <FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=px11><b>Vφce o autorovi</a></b><br></font>');
if (TableNum!=7) o(' <IMG Src=images/blackbull.gif height=5 width=5 vspace=2> <a href=all.php@ID='+AuthorID+'> <FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#000000><SPAN Class=px11><b>VÜechny člßnky autora</a></b><br></font>');
o('</TABLE>');
o('');
o('</TABLE>');
}
function grade(Num)
{
GradeWindow='grade.php@VotingID='+ItemID+'&VotingAnswer='+Num;
var new_window = window.open(GradeWindow,null, "height=100,width=500,status=no,toolbar=no,menubar=no,location=no");
if (new_window != null)
window.status = new_window.document.title;
}
function Reference(URL,Link, Desc) {
o('<TR><TD><IMG Src=images/blackbull.gif height=5 width=5 hspace=5>');
o('<TD><a href='+URL+'><FONT Color=#000000 Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=px11><b>'+Link+'</b></span><TR><TD><TD>');
o('<FONT Color=#a8a8a8 Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=px11>'+Desc+'</b></span>');
}
function Recommend(Article) {
if (Article[0] !=0) {
o('<TR><TD BgColor=#F6F6F6>');
o('<TABLE Width=100% '+B+'>');
o('<TR><TD VAlign=Top Width=10><IMG VSpace=2 Src=images/article.gif><TD VAlign=Top><DIV Style="width=100;overflow:clip;"><a href=articles.php@ID='+Article[0]+'><FONT Color=#000000 Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=px11><b>'+Article[1]+'</b></font></SPAN></a>');
if (Article[2] !=0) o('<TR><TD VAlign=Top Width=10><IMG VSpace=2 Src=images/morefiles.gif><TD VAlign=Top><a href=morefiles.php@ArticleID='+Article[0]+'><FONT Color=#000000 Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2><SPAN Class=px10><b>Cel² serißl</b></font></SPAN></a>');
o('</TABLE>');
}
}
function AuthorData()
{
Name="";
if ((Type != "Pure")){
if (restype==2) o('<TABLE xSTYLE="'+PR+';top:3px;margin-top:-30px;margin-bottom:5px;" ');
else o('<TABLE STYLE="'+PR+';top:3px;xmargin-top:-70px;margin-bottom:5px;" ');
o('VAlign=Top Align=Right '+CS+' '+CP+' Width='+ArticlesBarSize+' '+B+'><TR><TD><IMG src=images/space.gif width=15><TD>');
if (restype<=2) o('<TD><TD>');
ArticleFunctions();
if (isIE()) hr('style="margin-top:10px;margin-bottom:10px;"'); else o('<br>');
o('</TABLE>');
// ArticleBanner_bigres("margin-top:18px;margin-bottom:-5px;");
}
}
function Headline(text)
{
document.write('<b><SPAN Class=Headline>'+text+'</SPAN></font></b><br><br>');
}
function P(text)
{
if (text != "") document.write('<FONT Color=#000000 Face="Verdana CE, Verdana, Arial CE, Arial, Sans Serif" Size=2><DIV Align=Justify>'+text+'</DIV></font><br>');
}
function Intro(text)
{
if (InIFrame=="Yes") text=sw(text,text+"<br><br>");
o(TitleStr);
if (Type !='Pure')
{
o('<TABLE style="margin-bottom:6px;position:relative;top:-6px;" '+CS+' '+CP+' '+B+' Width=100%><TR><TD VAlign=Top Width=100%><FONT Size=2><P Class=Intro style="margin-bottom:3px;" Align=Justify><FONT Face=Arial Size=1><SPAN Style="font-family:Arial; font-size:7px;">');
o('</SPAN></FONT>'+text+'</P></FONT></TABLE>');
// ArticleBanner_smallres("margin-bottom:10px;");
}
else
P('<DIV Class=Intro Style="margin-right=2em" Align=Justify>'+text+'</DIV>');
}
function ShortLink(URL,Text)
{
o('<FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#bdbdbd><A HREF='+URL+'><FONT Face="Arial CE, Arial, Sans-Serif CE, Sans-Serif" Size=2 Color=#004474><b>'+Text+'</b></font></a></font>');
}
ElementsCount=0;
DownloadsCount=0;
function Element(ID, Title, Comment, DateTime, Manager, Place, Respawn, Flags) {
ElementTypes = new(Array);
ElementTypes['']='Člßnek';
//if (isIE())
{
if ((ItemName != "Home") && (ItemName != "")) o('<LI><DIV style="margin-right:20px;">');
if (Title!="") {
o('<A Href="element.php@ID='+ID+'"><SPAN Class=ArticleLink>');
o(Title)
o('</b></SPAN></a>');
}
o('<TABLE Border=0 '+B+' '+CP+' '+CS+'><TR><TD>');
if (IsFlag(Flags,'TitleImage'))
{
o('<img Name=TitleImage'+ID+' style="matgin-top:10px;margin-left:15px;" height=75 width=100 align=right '+B+'>');
ToExecute=ToExecute+'document.TitleImage'+ID+'.src="file.php@ParentID='+ID+'&Name=TitleImage&Rel=new";';
}
if (restype>=3) CommentSize='v100'; else CommentSize='v110';
//if (IsFlag(Flags,'Small'))
CommentSize='v100';
if (IsFlag(Flags,'FixedPos')) CommentColor="000000"; else CommentColor="707070";
if (Respawn!="") {
Comment=Comment+"<SPAN CLASS=RespawnAlert> DOPLNĚNO! </SPAN><SPAN Class=RespawnText>"+Respawn+"</SPAN>";
}
o('<DIV Align=Justify ><FONT Face=Arial, Arial CE, Sans-Serif CE, Sans-Serif Size=2 Color=#'+CommentColor+'><SPAN Class=LinkComment><SPAN Class='+CommentSize+'>'+Comment+'');
o('</SPAN></FONT></DIV>');
o('</TABLE>');
if ((ItemName != "Home") && (ItemName != "")) o('</DIV>');
if (IsFlag(Flags,'NoEndMargin')==0) o('<IMG align=center Src=images/space.gif Height=18 '+B+'Width=120><br>');
ElementsCount++;
//ArticlesCount++;
if (ItemName != 'Home') if (ElementsCount==1) LinkBanner("margin-top:-5px;margin-bottom:10px;");
}}