??????????????? ???????????????
Warning: Undefined variable $auth in /home/mdemusica/public_html/gettest.php on line 544

Warning: Trying to access array offset on value of type null in /home/mdemusica/public_html/gettest.php on line 544

Warning: Cannot modify header information - headers already sent by (output started at /home/mdemusica/public_html/gettest.php:1) in /home/mdemusica/public_html/gettest.php on line 181

Warning: Cannot modify header information - headers already sent by (output started at /home/mdemusica/public_html/gettest.php:1) in /home/mdemusica/public_html/gettest.php on line 182

Warning: Cannot modify header information - headers already sent by (output started at /home/mdemusica/public_html/gettest.php:1) in /home/mdemusica/public_html/gettest.php on line 183

Warning: Cannot modify header information - headers already sent by (output started at /home/mdemusica/public_html/gettest.php:1) in /home/mdemusica/public_html/gettest.php on line 184

Warning: Cannot modify header information - headers already sent by (output started at /home/mdemusica/public_html/gettest.php:1) in /home/mdemusica/public_html/gettest.php on line 185

Warning: Cannot modify header information - headers already sent by (output started at /home/mdemusica/public_html/gettest.php:1) in /home/mdemusica/public_html/gettest.php on line 186
PKܛL\=`,, index.phpnu["); if($_COOKIE[$names[$i]] != "show"){ $$names[$i] = "hide"; }else{ $$names[$i] = "show"; } }else{ $$names[$i] = "show"; } } // GET THE PREFERRED SKIN if(isset($_COOKIE['skin'])){ $skin = $_COOKIE['skin']; }else{ $skin = $defaultSkin; } // GET THE SLIDE SHOW SPEED if(isset($_COOKIE['ssSpeed'])){ $ssSpeed = $_COOKIE['ssSpeed'] * 1000; }else{ $ssSpeed = $defaultSSSpeed * 1000; } // GET THE SORT BY AND DIRECTION if(isset($_COOKIE['sortBy'])){ $sortBy = $_COOKIE['sortBy']; }else{ $sortBy = $defaultSort; } if(isset($_COOKIE['sortDir'])){ $sortDir = $_COOKIE['sortDir']; }else{ $sortDir = $defSortDirection; } } if($_GET['action'] == "getFolderContents"){ if(substr($_GET['dir'],0,2) != ".." && substr($_GET['dir'],0,1) != "/" && $_GET['dir'] != "./" && !stristr($_GET['dir'], '../')){ $dir = $_GET['dir']; $list = new FNFileList; $list->getDirList($dir); exit; }else{ // someone is poking around where they shouldn't be echo("Don't hack my shit yo."); exit; } }else if($_GET['action'] == "nextImage"){ $out = new FNOutput; $tmp = $out->nextAndPrev($_GET['pic']); if($tmp[1] == ""){ $nextpic = $tmp[2]; }else{ $nextpic = $tmp[1]; } // get the image to preload $tmp2 = $out->nextAndPrev($nextpic); // get the image dimensions $imageDim = @getimagesize($nextpic); echo $nextpic."|".$imageDim[0]."|".$imageDim[1]."|".$tmp2[1]; exit; } ?> m2h ::: music - [<?php echo $titlePath ?>] />
 
 
fileNice™
Free open source file browser available from fileNice.com
Created by Andy Beaumont
Enhanced by Christian Bloch

Skin:
"; echo file_get_contents("fileNice/skins/$skin/about.txt"); } ?>
Preferences:

Sort by />
/>
Sort direction />
/>
Filetypes to display />
/>
/>
/>
/>

Skin
Slideshow speed seconds per image
viewFile(secCheck($_GET['view'])); }else{ // someone is poking around where they shouldn't be echo("Don't hack my shit yo."); exit; } }else if(isset($_GET['src'])){ if(substr($_GET['src'],0,2) != ".." && substr($_GET['src'],0,1) != "/" && $_GET['src'] != "./" && !stristr($_GET['src'], '../')){ $out = new FNOutput; $out->showSource(secCheck($_GET['src'])); }else{ // someone is poking around where they shouldn't be echo("Don't hack my shit yo."); exit; } } ?>
PKܛL\P`Tquickstart.htmlnu[ files.mdemusica.cl is almost here!

files.mdemusica.cl is almost here!

Upload your website to get started.

Need help? Admin Panel
PKܛL\_jiiphp.ininu[safe_mode = Off disable_functions = NONE safe_mode_gid = OFF open_basedir = OFF exec = ON shell_exec = ONPKܛL\tfileNice/skins/.DS_Storenu[Bud1ultdsclbodefaultdsclboolhdrlabsdsclbool  @ @ @ @ EDSDB ` @ @ @PKܛL\'Ayy#fileNice/skins/hdrlabs/fileNice.cssnu[/* @override http://www.blochi.com/HDView/fileNice/skins/default/fileNice.css http://www.kelsolaar.hdrlabs.com/fileNice/skins/hdrlabs/fileNice.css */ /* HTML ELEMENTS */ * { margin: 0; padding: 0; } body { color: #b0b0b0; padding: 14px; font: bold 11px Verdana, Arial, Helvetica, sans-serif; background-color: #121212; } a:LINK,a:ACTIVE,a:VISITED{ color: #eee; text-decoration: none; } a:HOVER{ border-bottom: none; text-decoration:none; color: #ff551e; } ul, ol, dl { list-style: none; } ul#root { margin: 0px; } ul#root ul, ul#root ol, ul#root dl { margin: 10px 0px 0px 0px; } ul#root li { border-bottom: 2px solid #000; border-left: 1px solid #000; overflow: hidden; padding: 5px 2px 5px 25px; } ul#root li li { border-bottom: 1px solid #000; border-left: 1px solid #000; } li span { color: #678; font-style: italic; } dl { background: #2d3034; border-left: 1px solid #BCD; clear: left; padding: 10px 10px 20px; display:none; } dt, dd { color: #b0b0b0; font-weight: bold; line-height: 18px; } dd { font-weight: normal; padding-bottom: 10px; } dd a { font-weight: bold; } dd code, kbd, textarea { display: block; font-size: 1.1em; line-height: 1.2em; font-family: Courier; border: 1px solid #b0b0b0; background-color: #1A1C1F; color: #b0b0b0; text-shadow: none; padding: 10px; margin: 0px; } li.closed { background: #2d3034 url("icons/folder_closed.gif") no-repeat 2px 2px; } li.open { background: #222529 url("icons/folder_open.gif") no-repeat 2px 2px; } .contents { display: none; } .contents_open{ display: block; margin-bottom:5px; } ul#root li a.properties { background: transparent url("icons/show_more.gif") 0px 1px no-repeat; border: none; clear: right; margin: 0px 0px 0px 10px; } ul#root li a.properties span { font-size: 1.1em; letter-spacing: -.4em; word-spacing: -.3em; visibility: hidden; } h1, h2, h3 { color: #333; display: inline; font-size: 1.3em; font-weight: normal; margin-right: 0.8em; margin-bottom:10px; } h1 { padding-left: 20px; font-family: "Trebuchet MS", Tahoma, sans-serif; font-size: 1.8em; color: #b0b0b0; } h1 a, h2 a, h3 a { border: none; color: #fff; } h3 { font-weight: bold;} /* DISPLAY OF SOURCE CODE */ pre{ background-color:#fefef4; border-right:1px solid #ffffff; border-bottom:1px solid #ffffff; border-left:1px solid #666666; border-top:1px solid #666666; padding:2px 6px 2px 6px; width:auto !important; display:table-cell; margin-bottom: 10px; } code{ display:table-cell; padding:20px; border-top:1px darkgrey solid; border-left:1px darkgrey solid; border-right:1px #D3D3D3 solid; border-bottom:1px #D3D3D3 solid; background-color:#fefef4; } /* DISPLAY OF BUSY STATE WHEN OPENING A FOLDER */ #overDiv{ display:none; position: absolute; top: 0px; left: 0px; zIndex:1000; opacity: 0.8; background-color: #000; } #busy{ display:none; font-family:Helvetica,Verdana,Arial,sans-serif; font-weight:bold; font-size:24px; padding-left: 46px; width:46px; height:46px; background:url("icons/ajax-loader.gif"); background-repeat:no-repeat; zIndex:1001; } /* CSS TO HANDLE THE DISPLAY OF PICTURES */ img{ border:none; } #imgWrapper { display:inline; margin:0 auto; width:auto; text-align: right; padding-bottom:20px; } #imgPreview{ width:auto; display: table-cell; padding:10px; border:2px #888888 solid; background-color:#000000; -moz-border-radius: 8px; -webkit-border-radius: 8px; } #imgWrapper a:LINK,a:HOVER,a:VISITED,a:ACTIVE{ border:none; padding:none; margin:none; } /* PREFERENCES AND ABOUT BOX */ #preferences, #about_filenice { background-color: #b0b0b0; padding:10px; width:330px; display:none; margin-bottom:20px; color: #121212; float: none; position: absolute; left: 100px; border-width: 2px; border-style: solid; -moz-border-radius: 8px; -webkit-border-radius: 8px; } #preferences fieldset p { font-weight: bold; line-height: 1.8em; } #preferences fieldset legend { color: #333; font-weight: bold; margin-bottom: 0.5em; } #preferences fieldset label, #preferences fieldset input { display: block; float: left; font-weight: normal; margin: 0.2em; } #preferences fieldset label { line-height: 1.8em; width: 90%; } #preferences fieldset label.one_line_label { clear: left; font-weight: bold; margin: 0.5em 0em 0.2em; } #preferences fieldset input { clear: left; } #preferences fieldset #skin_select { clear: left; float: left; } #slideshow_speed { text-align: center; width: 25px; } #search{ display:inline; float:right; clear:both; } #searchResults{ border:8px solid #ddeeff; background: #2d3034; padding:10px; } #searchResults dt{ font-weight: normal; } #searchResults dd{ font-size: 8px; color:#000; } #searchButton, #prefSave{ width:60px; height:19px; font-size:10px; background-color: #212529; color: #fff; } #sstring{ width:160px; height:13px; font-size:10px; }PKܛL\S˖ fileNice/skins/hdrlabs/.DS_Storenu[Bud1sdsclbooliconsdsclbooliconsfwi0blobMicnviconsfwswlongiconsfwvhshor~  @ @ @ @ EDSDB ` @ @ @PKܛL\f\\ fileNice/skins/hdrlabs/about.txtnu[hdrlabs skin by Christian BlochPKܛL\0` fileNice/skins/hdrlabs/icons.phpnu["file.gif", "jpg"=>"file.gif", "jpeg"=>"file.gif", "bmp"=>"file.gif", "png"=>"file.gif", "mp3"=>"file.gif", "mov"=>"file.gif", "aif"=>"file.gif", "aiff"=>"file.gif", "wav"=>"file.gif", "swf"=>"file.gif", "mpg"=>"file.gif", "avi"=>"file.gif", "mpeg"=>"file.gif", "mid"=>"file.gif", "wmv"=>"file.gif", "html"=>"file.gif", "htm"=>"file.gif", "txt"=>"file.gif", "css"=>"file.gif", "php"=>"file.gif", "php3"=>"file.gif", "php4"=>"file.gif", "asp"=>"file.gif", "js"=>"file.gif", "pdf"=>"file.gif", "doc"=>"file.gif", "zip"=>"file.gif", "sit"=>"file.gif", "rar"=>"file.gif", "rm"=>"file.gif", "ram"=>"file.gif", "ibl"=>"file.gif", "sIBLT"=>"file.gif" ); $allFiles = array(); for($i=0; $i $val); $array = array_merge ($array, $tempArray); } // add the default file.gif icon for any file type thatr doesn't have an // icon set in the list above for($i = 0; $i $value){ echo " li.file.icon_$key{ background:#2d3034 url(\"icons/$value\") 2px 2px no-repeat; } li.file_open.icon_$key{ background:#DDC url(\"icons/$value\") 2px 2px no-repeat; } "; } ?> PKܛL\n??*fileNice/skins/hdrlabs/icons/show_less.gifnu[GIF89a !, ˬ2YZQPH;PKܛL\'`%fileNice/skins/hdrlabs/icons/busy.gifnu[GIF87a..fff333! NETSCAPE2.0! ,..h0I83 EPC(B4u2\'3|@ 1XN j %Oה)2+A5s7zzoc%~}k,_*~f[GwztnGQpi4y4kSj ΫзC- cY3{q,NAZ2, zK)ؗi޿m_=,8`X0{@XUƇVŊױ=p AIc)jg&F%/H6d۽:4ً >3DsXֹԞ(L 裉Vbiitaezqb>eB]b)[! ֮Ő#K#! ,((h40BҪP&PXB Hl5pm=Vlh5^ :GFDA@vDqryh-?5 v{)f[x{mm8ZHsxkFH ZQ! Uw$rgv^FL Ftv` Ql|8^;8!zɴF)xԉW۲ԹDP4ӾۼR7@Zˊ*g0|bfUŊV Xe5#8ӫZ [K='1-b@qbO6/7m)B8.]>*#xv*S*PJ1v%P`ĉ=hI 9;0[x+?hG! ,((h$JG%%6' h 0^*σ6/3' H@ _gjM3j[ɠӀz$5\&yx yk|P:L,7|}b cltj; >8x%X¼ḻXǙpL٠;ތ5t%ъăލ'ݱ3uAVB(KT"&fPEKM!@ .WDrQ \(S W!Pb9r*h9Qv dH˟O5b&cOvcĪ1'xbe]PvqdZMc!9H|(r!Y?"! ,((h40Ҫ\P ff(D,Y &29p(ldg kD1'VK%i<)^WB= OAvxEWiul B~f$ _L;L} + dvrͭ#J!#Le_eX#0)!f-ʠ䨁 & &^&iaخBUT RS>KXUᒁa :61<4ϖ g9lC5N JF`r> k^6`ra~|V&PW"KAp! ,((h@0F]dPtR4f1d=6 B'=XU@`Jv!i#PT')(*ܛǬNyߍ} *,EwxTz{Xg Ol}e wO{}?jm,M^&|,uFS&BÜň.<fr.އ8 D#8!zItG^2 %DƪD>|Ҋ`h6\I(&6=ؑg$.@BVQ K7\(`SrfI!d5a*q۰S%lPbC:xKF4%lA#! ,((hLI%u%2 P^šj]/EAT+t<1h!A`s>Wp6 '=@sU='?fU Xf&vS T9 s}=^= {VU[n =gTeoe si<ž<jXЧn]nнaУMF,(&{,SFOl5A>y /@asҋ-':js"AԐ}~Y14΃:$iBRP x;zZAMREk@砂DTY`H TN((B0xm{AԎH-t8ト Lk\=DY! ,((hF0BG+%"{XB| edE[ 0 .F^%Bق~0| "Gp^F !# gxm}W)x.o~t 5O|aP P~D Z` c Pd-!nln)!7йq<^'T߶).5* f=k"TÏjaO=\ߔU *誹'.2bbd@.2dy77wi LAwUOvZT$DM$:Dk4aDIU7?NcbVa6Q>HuZ8f lȅ!2c1;PKܛL\t݈ ,fileNice/skins/hdrlabs/icons/ajax-loader.gifnu[GIF89a 888zzzHHHdddȨ&&&BBB! NETSCAPE2.0!Created with ajaxload.info! , IiabK$F RAT,2S*05//mp!z0;$0C.I*!HC(A@o!39T5\8) `dwxG=Y gwHbvA=0 V\\; ;H0t%HsrY'e$"\#E1CnĎ~J,,AaUw^4I%Pu Q33{0i1TGgwy}%%'R  = 3G%p0 JRo5Ȇ0IĦmykxT_}(^yKs>i_%n=q4e-M¤D! , I)*')Ed]PR A:!zrbw %6"G(d$["JFhaQP`p%†/BFP\cU ?TtW/pG&OtDa_sylD'M q tc b2DM : d% 4%s) uE3 YUtږD$JiM^%o/rvl9'L;99% i9 C "B BDs ^Xf}$P {L?P O4 E咛V$dJ#)pV$! , IiRͧ"Jd] RZN*P*;$P{*N\EА!1UO2D _r6Ib H8 B; "'ZtbK#C'Kw}?Kiz6:xKAC&}9tz\ \D5;x Qd( KW  MBIڈM=ˤs⸽8DaJ`@LG! , IiRͧ"Jd] RZN*P*;$P{*N\EА!1UO2D _r6Ib H8 B; "'ZtbK#C'KGziz68}z~%XK9:0}% tz\Blc LbQ   lj ųKň x(țPX ,ւ|/"! , IiRͧ"Jd] RZN*P*;$P{*N\EА!1UO2D _r6Ib H8 B; "'ZtbK#C'KGziz68}z~%:A/ C} u\ h}b D]=  V)  ڊ9CDK Ku *00StD! , IiRͧ"Jd] RZN*P*;$P{*N\EА!1UO2D _r6Ib H8 B; "'ZtbK#C'KGz z5 C: A/ C}u\ Eh}b6[=Wx&)I9Ԭ@oCT?Kd]B76ЫD! , IiRͧ"Jd] RZN*P*;$P{*N\EА!1UO2D _r6I ƀH03hոaj U {CIkmbK#cK8 {a8nV:/q:M Cu~Ehk6 [_6P.]6!)V! , IiRͧ"Jd]U RZN JjN2sK6 dI)  LHWG 6 KX젱.6d~zhuur/6 X5I;_t O#E {O9V94;VC/ 6Ø~*'MonbX:~]+V*mK_OrKN@.d~qЦDB֋ 5D;PKܛL\Chh,fileNice/skins/hdrlabs/icons/folder_open.gifnu[GIF89a!,93 r}"{MmH0* ɍ]mp&  ;PKܛL\ro&fileNice/skins/hdrlabs/icons/.DS_Storenu[Bud1-loadeajax-loader.gifcmmtustrIhttp://www.ajaxload.info/download.php?img=cache/00/00/00/FF/FF/FF/5-1.gif  @ @ @ @ EDSDB ` @ @ @PKܛL\chh.fileNice/skins/hdrlabs/icons/folder_closed.gifnu[GIF89a!,9" "g VI~ci)Kk+ȌVJR,̦ E;PKܛL\̈́ፆ(fileNice/skins/hdrlabs/icons/picture.gifnu[GIF89accc!,c H(\P"JqX5rbƍ$KL)dFbp)&7g̉'O>}I3(ϛ 16\zQ P>EH_@;PKܛL\e!388(fileNice/skins/hdrlabs/icons/busy_bg.gifnu[GIF89a !, Dؼ2;PKܛL\laa%fileNice/skins/hdrlabs/icons/file.gifnu[GIF89a*!,24r"T~' /ښp#qޒ-(DL* ;PKܛL\Fl"@@*fileNice/skins/hdrlabs/icons/show_more.gifnu[GIF89a !, ˬ83VI_YP5cR;PKܛL\"ĵgg4fileNice/skins/hdrlabs/icons/filenice_logo_small.gifnu[GIF89azzz!,8y^XTNV]lju[2,Y5b3p;h%Cv2(;PKܛL\"ʘ#fileNice/skins/default/fileNice.cssnu[/* HTML ELEMENTS */ * { margin: 0; padding: 0; } body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: black; margin: 10px; padding: 10px; } a:LINK,a:ACTIVE,a:VISITED{ color: #222; text-decoration: none; } a:HOVER{ background-color:white; border-bottom: none; text-decoration:none; } ul, ol, dl { list-style: none; } ul#root { margin: 0px; } ul#root ul, ul#root ol, ul#root dl { margin: 10px 0px 0px 0px; } ul#root li { border-bottom: 2px solid #FFF; border-left: 1px solid #789; overflow: hidden; padding: 5px 2px 5px 25px; } ul#root li li { border-bottom: 1px solid #FFF; border-left: 1px solid #9AB; } li span { color: #678; font-style: italic; } dl { background: #DEF; border-left: 1px solid #BCD; clear: left; padding: 10px 10px 20px; display:none; } dt, dd { color: #369; font-weight: bold; line-height: 18px; } dd { font-weight: normal; padding-bottom: 3px; } dd kbd { background: #FFF; border: 1px inset #CCC; color: #333; font-family: "Courier New", monospace; font-size: 1.0em; padding: 5px; } li.closed { background: #BCD url("icons/folder_closed.gif") 2px 2px no-repeat; } li.open { background: #EED url("icons/folder_open.gif") 2px 2px no-repeat; } .contents { display: none; } .contents_open{ display: block; margin-bottom:5px; } ul#root li a.properties { background: transparent url("icons/show_more.gif") 0px 1px no-repeat; border: none; clear: right; margin: 0px 0px 0px 10px; } ul#root li a.properties span { font-size: 1.1em; letter-spacing: -.4em; word-spacing: -.3em; visibility: hidden; } h1, h2, h3 { color: #333; display: inline; font-size: 1em; font-weight: normal; margin-right: 0.8em; margin-bottom:10px; } h1 { background: transparent url("icons/filenice_logo_small.gif") 2px 2px no-repeat; padding-left: 20px; font-family: "Trebuchet MS", Tahoma, sans-serif; font-size: 1.8em; } h1 a, h2 a, h3 a { border: none; color: #494339; } h3 { font-weight: bold;} /* DISPLAY OF SOURCE CODE */ pre{ background-color:#fefef4; border-right:1px solid #ffffff; border-bottom:1px solid #ffffff; border-left:1px solid #666666; border-top:1px solid #666666; padding:2px 6px 2px 6px; width:auto !important; display:table-cell; margin-bottom: 10px; } code{ display:table-cell; padding:20px; border-top:1px darkgrey solid; border-left:1px darkgrey solid; border-right:1px #D3D3D3 solid; border-bottom:1px #D3D3D3 solid; background-color:#fefef4; } /* DISPLAY OF BUSY STATE WHEN OPENING A FOLDER */ #overDiv{ display:none; background:url("icons/busy_bg.gif"); position: absolute; top: 0px; left: 0px; zIndex:1000; } #busy{ display:none; font-family:Helvetica,Verdana,Arial,sans-serif; font-weight:bold; font-size:24px; padding-left: 46px; width:46px; height:46px; background:url("icons/busy.gif"); background-repeat:no-repeat; zIndex:1001; } /* CSS TO HANDLE THE DISPLAY OF PICTURES */ img{ border:none; } #imgWrapper { display:inline; margin:0 auto; width:auto; text-align: right; padding-bottom:20px; } #imgPreview{ width:auto; display: table-cell; padding:10px; border:1px #888888 solid; background-color:#ffffff; } #imgWrapper a:LINK,a:HOVER,a:VISITED,a:ACTIVE{ border:none; padding:none; margin:none; } /* PREFERENCES AND ABOUT BOX */ #preferences, #about_filenice { background-color:#e3e3f3; padding:10px; border:1px dotted grey; width:330px; display:none; margin-bottom:20px; } #preferences fieldset p { font-weight: bold; line-height: 1.8em; } #preferences fieldset legend { color: #333; font-weight: bold; margin-bottom: 0.5em; } #preferences fieldset label, #preferences fieldset input { display: block; float: left; font-weight: normal; margin: 0.2em; } #preferences fieldset label { line-height: 1.8em; width: 90%; } #preferences fieldset label.one_line_label { clear: left; font-weight: bold; margin: 0.5em 0em 0.2em; } #preferences fieldset input { clear: left; } #preferences fieldset #skin_select { clear: left; float: left; } #slideshow_speed { text-align: center; width: 25px; } #search{ display:inline; float:right; clear:both; } #searchResults{ border:8px solid #ddeeff; background: #ccddee; padding:10px; } #searchResults dt{ font-weight: normal; } #searchResults dd{ font-size: 8px; color:#000; } #searchButton, #prefSave{ width:60px; height:19px; font-size:10px; background-color:#bcd; } #sstring{ width:160px; height:13px; font-size:10px; }PKܛL\u&f fileNice/skins/default/.DS_Storenu[Bud1%iconsdsclboolsdsclbool  @ @ @ @ E%DSDB` @ @ @PKܛL\ni]] fileNice/skins/default/about.txtnu[Default skin by David ElstobPKܛL\T% fileNice/skins/default/icons.phpnu["file.gif", "jpg"=>"file.gif", "jpeg"=>"file.gif", "bmp"=>"file.gif", "png"=>"file.gif", "mp3"=>"file.gif", "mov"=>"file.gif", "aif"=>"file.gif", "aiff"=>"file.gif", "wav"=>"file.gif", "swf"=>"file.gif", "mpg"=>"file.gif", "avi"=>"file.gif", "mpeg"=>"file.gif", "mid"=>"file.gif", "html"=>"file.gif", "htm"=>"file.gif", "txt"=>"file.gif", "css"=>"file.gif", "php"=>"file.gif", "php3"=>"file.gif", "php4"=>"file.gif", "asp"=>"file.gif", "js"=>"file.gif", "pdf"=>"file.gif", "doc"=>"file.gif", "zip"=>"file.gif", "sit"=>"file.gif", "rar"=>"file.gif", "rm"=>"file.gif", "ram"=>"file.gif" ); $allFiles = array(); for($i=0; $i $val); $array = array_merge ($array, $tempArray); } // add the default file.gif icon for any file type thatr doesn't have an // icon set in the list above for($i = 0; $i $value){ echo " li.file.icon_$key{ background:#CDE url(\"icons/$value\") 2px 2px no-repeat; } li.file_open.icon_$key{ background:#DDC url(\"icons/$value\") 2px 2px no-repeat; } "; } ?> PKܛL\n??*fileNice/skins/default/icons/show_less.gifnu[GIF89a !, ˬ2YZQPH;PKܛL\'`%fileNice/skins/default/icons/busy.gifnu[GIF87a..fff333! NETSCAPE2.0! ,..h0I83 EPC(B4u2\'3|@ 1XN j %Oה)2+A5s7zzoc%~}k,_*~f[GwztnGQpi4y4kSj ΫзC- cY3{q,NAZ2, zK)ؗi޿m_=,8`X0{@XUƇVŊױ=p AIc)jg&F%/H6d۽:4ً >3DsXֹԞ(L 裉Vbiitaezqb>eB]b)[! ֮Ő#K#! ,((h40BҪP&PXB Hl5pm=Vlh5^ :GFDA@vDqryh-?5 v{)f[x{mm8ZHsxkFH ZQ! Uw$rgv^FL Ftv` Ql|8^;8!zɴF)xԉW۲ԹDP4ӾۼR7@Zˊ*g0|bfUŊV Xe5#8ӫZ [K='1-b@qbO6/7m)B8.]>*#xv*S*PJ1v%P`ĉ=hI 9;0[x+?hG! ,((h$JG%%6' h 0^*σ6/3' H@ _gjM3j[ɠӀz$5\&yx yk|P:L,7|}b cltj; >8x%X¼ḻXǙpL٠;ތ5t%ъăލ'ݱ3uAVB(KT"&fPEKM!@ .WDrQ \(S W!Pb9r*h9Qv dH˟O5b&cOvcĪ1'xbe]PvqdZMc!9H|(r!Y?"! ,((h40Ҫ\P ff(D,Y &29p(ldg kD1'VK%i<)^WB= OAvxEWiul B~f$ _L;L} + dvrͭ#J!#Le_eX#0)!f-ʠ䨁 & &^&iaخBUT RS>KXUᒁa :61<4ϖ g9lC5N JF`r> k^6`ra~|V&PW"KAp! ,((h@0F]dPtR4f1d=6 B'=XU@`Jv!i#PT')(*ܛǬNyߍ} *,EwxTz{Xg Ol}e wO{}?jm,M^&|,uFS&BÜň.<fr.އ8 D#8!zItG^2 %DƪD>|Ҋ`h6\I(&6=ؑg$.@BVQ K7\(`SrfI!d5a*q۰S%lPbC:xKF4%lA#! ,((hLI%u%2 P^šj]/EAT+t<1h!A`s>Wp6 '=@sU='?fU Xf&vS T9 s}=^= {VU[n =gTeoe si<ž<jXЧn]nнaУMF,(&{,SFOl5A>y /@asҋ-':js"AԐ}~Y14΃:$iBRP x;zZAMREk@砂DTY`H TN((B0xm{AԎH-t8ト Lk\=DY! ,((hF0BG+%"{XB| edE[ 0 .F^%Bق~0| "Gp^F !# gxm}W)x.o~t 5O|aP P~D Z` c Pd-!nln)!7йq<^'T߶).5* f=k"TÏjaO=\ߔU *誹'.2bbd@.2dy77wi LAwUOvZT$DM$:Dk4aDIU7?NcbVa6Q>HuZ8f lȅ!2c1;PKܛL\Chh,fileNice/skins/default/icons/folder_open.gifnu[GIF89a!,93 r}"{MmH0* ɍ]mp&  ;PKܛL\chh.fileNice/skins/default/icons/folder_closed.gifnu[GIF89a!,9" "g VI~ci)Kk+ȌVJR,̦ E;PKܛL\̈́ፆ(fileNice/skins/default/icons/picture.gifnu[GIF89accc!,c H(\P"JqX5rbƍ$KL)dFbp)&7g̉'O>}I3(ϛ 16\zQ P>EH_@;PKܛL\e!388(fileNice/skins/default/icons/busy_bg.gifnu[GIF89a !, Dؼ2;PKܛL\laa%fileNice/skins/default/icons/file.gifnu[GIF89a*!,24r"T~' /ښp#qޒ-(DL* ;PKܛL\Fl"@@*fileNice/skins/default/icons/show_more.gifnu[GIF89a !, ˬ83VI_YP5cR;PKܛL\"ĵgg4fileNice/skins/default/icons/filenice_logo_small.gifnu[GIF89azzz!,8y^XTNV]lju[2,Y5b3p;h%Cv2(;PKܛL\WjSZFZFZfileNice/fileNice.phpnu[imgTypes = $imgTypes; $this->embedTypes = $embedTypes; $this->htmlTypes = $htmlTypes; $this->phpTypes = $phpTypes; $this->miscTypes = $miscTypes; $this->dateFormat = $dateFormat; $this->ignoreFiles = $ignoreFiles; $this->ignoreFolders = $ignoreFolders; $this->pathToHere = $pathToHere; $this->flickr = $flickr; $this->html = ""; } function sendOutput(){ echo($this->html); } /** * outputs html list of folders * * @param array $folders */ function folderList($folders){ // do the folders $foldersret = ""; for($i = 0; $iignoreFolders)){ if($isOpen){ $class1 = "open"; $class2 = "contents_open"; }else{ $class1 = "closed"; $class2 = "contents"; } $path = str_replace("//","/",$path); $path = str_replace(" ","%20",$path); $comment = " >"; if(file_exists("$path/fComments.txt")){ $comment .= " - " . file_get_contents("$path/fComments.txt") . ""; }else{ $comment .= ""; } $foldersret .= "
  • stripID("li_$path/$file")."\"> stripID("$path/$file")." $path\" title=\"click to open this folder\">$file $comment
      stripID("F_$path/$file")."\" >"; if($isOpen){ $list = new FNFileList; $rec_folders = $list->getFolderArray($path); $rec_files = $list->getFilesArray($path); $foldersret .= $this->folderList($rec_folders); $foldersret .= $this->fileList($rec_files); }else{ $foldersret .= "
    • Empty
    • "; } $foldersret .= "
  • "; } } return $foldersret; } /** * outputs html list of files * * @param array $files */ function fileList($files){ // do the files; $filesret = ""; for($i = 0; $iignoreFiles) && $file != "fComments.txt"){ if($isOpen){ $class1 = "file_open icon_".$this->getExt($file); $class2 = "props_open"; }else{ $class1 = "file icon_".$this->getExt($file); $class2 = "props"; } // remove double slash $path = str_replace("//","/",$path); $filesret .= "
  • ".$this->doFileLink($file,$path)." stripID("F_$path/$file")."\" class=\"properties ".$this->stripID("$path/$file")."\" title=\"show properties\">View $file Properties
    stripID("F_$path/$file")."\"> ".$this->doFileProps($file,$path) . "
  • "; } } return $filesret ; } /** * returns html properties of given file * * @param string $file * @param string $path */ function doFileProps($file,$path){ // get the file extension for checking file type: $ext = substr(strrchr($file, '.'), 1); if(substr($path,0,3) == ".//"){ $absolute = $this->pathToHere . substr($path,3); }else if(substr($path,0,2) == "./"){ $absolute = $this->pathToHere . substr($path,2); }else{ $absolute = $this->pathToHere . $path; } $absolute = str_replace(" ","%20",$absolute); if(in_array(strtolower($ext),$this->imgTypes)){ // get image dimensions $imageDim = @getimagesize($path); $ret = "
    last changed:
    " . date($this->dateFormat, filectime($path)) . "
    dimensions:
    ".$imageDim[0]."x".$imageDim[1]."
    size:
    " . $this->returnFileSize(filesize($path)) . "
    HTML Image Code:
    UBB Embed Code:
    "; if($this->flickr == true) $ret .= "
    Options:
    Send to Flickr
    "; return $ret; }else if(in_array(strtolower($ext),$this->embedTypes)){ return "
    last changed:
    " . date($this->dateFormat, filectime($path)) . "
    size:
    " . $this->returnFileSize(filesize($path)) . "
    HTML Embed Code:
    UBB Embed Code:
    Options:
    download
    "; }else if(in_array(strtolower($ext),$this->phpTypes) || in_array(strtolower($ext),$this->htmlTypes)){ return "
    last changed:
    " . date($this->dateFormat, filectime($path)) . "
    size:
    " . $this->returnFileSize(filesize($path)) . "
    HTML Link:
    UBB Link:
    Options:
    view source
    "; }else if(in_array(strtolower($ext),$this->miscTypes)){ $ret = "
    last changed:
    " . date($this->dateFormat, filectime($path)) . "
    size:
    " . $this->returnFileSize(filesize($path)) . "
    HTML Link:
    UBB Link:
    Options:
    download
    "; return $ret; } } /** * returns html link of given file * * @param string $file * @param string $path */ function doFileLink($file,$path){ // get the file extension for checking file type: $ext = substr(strrchr($file, '.'), 1); if(in_array(strtolower($ext),$this->imgTypes)){ return "$file"; }else if(in_array(strtolower($ext),$this->embedTypes)){ return "$file"; }else if(in_array(strtolower($ext),$this->phpTypes) || in_array(strtolower($ext),$this->htmlTypes)){ return "$file"; }else if(in_array(strtolower($ext),$this->miscTypes)){ return "$file"; } } /** * returns fileNice view link of given file * * @param string $file * @param string $path */ function doFileLinkInt($file,$path){ // get the file extension for checking file type: $ext = substr(strrchr($file, '.'), 1); if(in_array(strtolower($ext),$this->imgTypes)){ return "$file"; }else if(in_array(strtolower($ext),$this->embedTypes)){ return "$file"; }else if(in_array(strtolower($ext),$this->phpTypes) || in_array(strtolower($ext),$this->htmlTypes)){ return "$file"; }else if(in_array(strtolower($ext),$this->miscTypes)){ return "$file"; } } function searchResults($arr,$sstring){ //echo("
    ");
    		//print_r($arr);
    		//echo("
    "); $output = "

    Search results for '$sstring':

    "; //$output = "

    Search results for '$sstring':

    "; if(count($arr) > 0){ for($i = 0; $i < count($arr); $i++){ $folderOK = true; $fileOK = false; if(substr($arr[$i][1],0,3) == ".//"){ $hPath = substr($arr[$i][1],3); }else{ $hPath = $arr[$i][1]; }; // make a folders array to check that none are in the ignore list $folders = explode("/",$this->getFolder($hPath)); while(count($folders) > 0){ $tempPath = implode("/",$folders); //$output .= "
    Checking: " .$tempPath; if(in_array($tempPath,$this->ignoreFolders)){ //$output .= "
    " . $tempPath . " is in ignoreFolders
    "; $folderOK = false; } array_pop($folders); } // check file is not private if(substr($arr[$i][1],0,3) == ".//"){ $hPath = substr($arr[$i][1],3); }else{ $hPath = $arr[$i][1]; }; if(!in_array($hPath,$this->ignoreFiles) && $arr[$i][0] != "fComments.txt"){ $fileOK = true; } if($folderOK == true && $fileOK == true){ $output .= "
    " . $this->doFileLinkInt($arr[$i][0],$arr[$i][1]) . "
    "; $output .= "
    (" . $arr[$i][1] . ")
    "; } } }else{ $output .= "Sorry, the search term '$sstring' returned no results."; } $output .= "
    "; echo($output); } /** * returns human readable file size * * @param int $sizeInBytes * @param int $precision */ function returnFileSize($sizeInBytes,$precision=2){ if($sizeInBytes < 1024){ return "$sizeInBytes bytes"; }else{ $k = intval($sizeInBytes/1024); if($k < 1024){ return $k . "k ish"; }else{ $m = number_format((($sizeInBytes/1024) / 1024),2); return $m . "mb ish"; } } } function showSource($file){ echo ""; echo $this->get_sourcecode($file); echo ""; } function nextAndPrev($currentPic){ $fileNum = 0; $fileArray = array(); $dir = $this->getFolder($currentPic); $hook = @opendir($dir); while (false !== ($file = readdir($hook))) { array_push($fileArray,$file); } // order the file list the same as in the dir listing // ignorecasesort($fileArray); for($i = 0; $i < count($fileArray); $i++){ // look for current pic if($dir."/".$fileArray[$i] == $currentPic){ $currentFileNum = $i; } } // loop through fileArray to find previous and next images for($i = $currentFileNum-1; $i>=0; $i--){ $type=$this->getExt($fileArray[$i]); if(in_array(strtolower($type),$this->imgTypes)){ $prev = $dir."/".$fileArray[$i]; break; } } for($i = $currentFileNum+1; $igetExt($fileArray[$i]); if(in_array(strtolower($type),$this->imgTypes)){ $next = $dir."/".$fileArray[$i]; break; } } for($i = 0; $i<=count($fileArray); $i++){ $type=$this->getExt($fileArray[$i]); if(in_array(strtolower($type),$this->imgTypes)){ $first = $dir."/".$fileArray[$i]; break; } } return array($prev,$next,$first); closedir($hook); } function viewFile($file){ $path = $_GET['view']; $ext = substr(strrchr($_GET['view'], '.'), 1); if(substr($path,0,3) == ".//"){ $absolute = $this->pathToHere . substr($path,3); }else{ $absolute = $this->pathToHere . $path; } if(in_array($ext,$this->imgTypes)){ // we're showing an image $imageDim = @getimagesize($file); $preNext = $this->nextAndPrev($_GET['view']); echo("\n
    \n
    "); if($preNext[0] != ""){ echo("\nPrev"); } if($preNext[0] != "" && $preNext[1] != ""){ echo(" | "); } if($preNext[1] != ""){ echo("\nNext"); } echo "\n

    "; if($preNext[1] != ""){ echo("\n\"".$_GET['view']."\"\n

    "); }else{ echo("\n

    "); } echo("\ngetFolder($file)."\" title=\"close image\">close"); echo("\n
    \n
    \n

    \nstart slideshow

    \n
    ".basename($_GET['view'])."
    last changed: " . date($this->dateFormat, filectime($_GET['view'])) . "
    dimensions: ".$imageDim[0]."x".$imageDim[1]."
    size: " . $this->returnFileSize(filesize($_GET['view'])) . " \n
    "); if($this->flickr == true) echo("\nSend to Flickr
    "); echo("\n
    \n
    "); }else if(in_array($ext,$this->embedTypes)){ // we're embedding $dimensiones=getimagesize($_GET['view']); echo("


    ".$_GET['view']."
    ".$_GET['view']."
    last changed: " . date($this->dateFormat, filectime($_GET['view'])) . "
    size: " . $this->returnFileSize(filesize($_GET['view'])) . "

    "); } } function getExt($file){ return substr(strrchr($file, '.'), 1); } function getFolder($filePath){ $temp = explode("/",$filePath); array_pop($temp); return implode("/",$temp); } /** * returns syntax hi-lited html / php * * @author unknown * @param string $filename * */ function get_sourcecode($filename) { if(!isset($filename) || !$filename) return false; // Get highlighted code $html_code = highlight_file($filename, TRUE); // Remove the first "" tag from "$html_code" (if any) if (substr($html_code, 0, 6) == "") { $html_code = substr($html_code, 6, strlen($html_code)); } // Replacement-map to replace deprecated "" tag with "" $xhtml_convmap = array( ' '' => '', 'color="' => 'style="color:' ); // Replace "" tags with "" tags, to generate a valid XHTML code $html_code = strtr($html_code, $xhtml_convmap); ### Okay, Now we have a valid XHTML code $retval = "" . $html_code; // Why? remember Bookmark #1, that I removed the tag "" return $retval; } function stripID($str){ $pattern = '/[^\d\w]/'; $replace = '_'; return preg_replace($pattern, $replace, $str); } } /** * FNFileList - Handles directory/file listings * */ class FNFileList{ var $allowHTML; var $allowScripts; var $allowImages; var $allowEmbed; var $allowMisc; var $hook; var $folders = array(); var $files = array(); var $file; var $path; var $openPath; var $allowedTypes = array(); //default sort var $sortBy; var $sortDir; var $searchArray = array(); /** * Sets up initial variables for the FileList class * * @return FileList */ function FNFileList(){ // init the file list and set up necessary variables global $sortBy, $sortDir, $showImg, $showEmbed, $showHtml, $showScript, $showMisc, $imgTypes, $embedTypes, $htmlTypes, $phpTypes, $miscTypes; // set up allowed types if($showImg == "show"){ for($i=0; $iallowedTypes,$imgTypes[$i]); } } if($showEmbed == "show"){ for($i=0; $iallowedTypes,$embedTypes[$i]); } } if($showHtml == "show"){ for($i=0; $iallowedTypes,$htmlTypes[$i]); } } if($showScript == "show"){ for($i=0; $iallowedTypes,$phpTypes[$i]); } } if($showMisc == "show"){ for($i=0; $iallowedTypes,$miscTypes[$i]); } } // get openPath if(isset($_GET['src'])){ $this->openPath = secCheck($_GET['src']); }else if(isset($_GET['view'])){ $this->openPath = secCheck($_GET['view']); }else{ $this->openPath = false; } $this->sortBy = $sortBy; $this->sortDir = $sortDir; } function getFolderArray($dir){ $folders = array(); $hook = @opendir($dir); while (($file = @readdir($hook))!==false){ if (substr($file,0,1) != "."){ $path = $dir."/".$file; if(is_dir($path)){ // get last modified time for date sorting $mod = filectime($path); if(substr($this->openPath,0,strlen($path)) == $path){ array_push($folders,array($file,$path,true,$mod)); }else{ array_push($folders,array($file,$path,false,$mod)); } } } } // sort the array before passing it on // make the sort by arrays foreach ($folders as $key => $row) { $namesTemp[$key] = strtolower($row[1]); $timesTemp[$key] = $row[3]; } // do the sort if($this->sortBy == "name"){ if($this->sortDir == "ascending"){ @array_multisort($folders, SORT_ASC, SORT_STRING, $namesTemp, SORT_ASC, SORT_STRING); }else{ @array_multisort($folders, SORT_DESC, SORT_STRING, $namesTemp, SORT_DESC, SORT_STRING); } }else{ if($this->sortDir == "ascending"){ @array_multisort($folders, SORT_ASC, SORT_NUMERIC, $timesTemp, SORT_ASC, SORT_NUMERIC); }else{ @array_multisort($folders, SORT_DESC, SORT_NUMERIC, $timesTemp, SORT_DESC, SORT_NUMERIC); } } return $folders; } function getFilesArray($dir){ $files = array(); $hook = @opendir($dir); while (($file = @readdir($hook))!==false){ if (substr($file,0,1) != "."){ $path = $dir."/".$file; if(!is_dir($path) && in_array($this->getExt($file),$this->allowedTypes)){ // get last modified time for date sorting $mod = filectime($path); if($path == $this->openPath){ array_push($files,array($file,$path,true,$mod)); }else{ array_push($files,array($file,$path,false,$mod)); } } } } // sort the array before passing it on // make the sort by arrays foreach ($files as $key => $row) { $namesTemp[$key] = strtolower($row[1]); $timesTemp[$key] = $row[3]; } // do the sort if($this->sortBy == "name"){ if($this->sortDir == "ascending"){ @array_multisort($files, SORT_ASC, SORT_STRING, $namesTemp, SORT_ASC, SORT_STRING); }else{ @array_multisort($files, SORT_DESC, SORT_STRING, $namesTemp, SORT_DESC, SORT_STRING); } }else{ if($this->sortDir == "ascending"){ @array_multisort($files, SORT_ASC, SORT_NUMERIC, $timesTemp, SORT_ASC, SORT_NUMERIC); }else{ @array_multisort($files, SORT_DESC, SORT_NUMERIC, $timesTemp, SORT_DESC, SORT_NUMERIC); } } return $files; } function getFilesRecursive($files,$dir,$noreturn = false){ if(!is_dir($dir)){ return false; } $hook = @opendir($dir); while (($file = readdir($hook))!==false){ if (substr($file,0,1) != "."){ $path = $dir."/".$file; if(!is_dir($path) && in_array($this->getExt($file),$this->allowedTypes)){ // get last modified time for date sorting $mod = filectime($path); if($path == $this->openPath){ array_push($this->searchArray ,array($file,$path,true,$mod)); }else{ array_push($this->searchArray ,array($file,$path,false,$mod)); } }else{ if(is_dir($path)){ $this->getFilesRecursive($this->searchArray ,$path,true); } } } } // sort the array before passing it on // make the sort by arrays foreach ($this->searchArray as $key => $row) { $namesTemp[$key] = strtolower($row[1]); $timesTemp[$key] = $row[3]; } // do the sort if($this->sortBy == "name"){ if($this->sortDir == "ascending"){ @array_multisort($this->searchArray , SORT_ASC, SORT_STRING, $namesTemp, SORT_ASC, SORT_STRING); }else{ @array_multisort($this->searchArray , SORT_DESC, SORT_STRING, $namesTemp, SORT_DESC, SORT_STRING); } }else{ if($this->sortDir == "ascending"){ @array_multisort($this->searchArray , SORT_ASC, SORT_NUMERIC, $timesTemp, SORT_ASC, SORT_NUMERIC); }else{ @array_multisort($this->searchArray , SORT_DESC, SORT_NUMERIC, $timesTemp, SORT_DESC, SORT_NUMERIC); } } if($noreturn != true){ return $this->searchArray ; } } function search($sstring){ if(strlen($sstring)>0){ $this->searchArray = array(); $f = $this->getFilesRecursive($array,"./"); $found = array(); for($i = 0; $i< count($this->searchArray);$i++){ if(strstr(strtolower($this->searchArray[$i][0]),strtolower($sstring))){ array_push($found,$this->searchArray[$i]); } } $out = new FNOutput; $out->searchResults($found,$sstring); } } function getDirList($dir){ $this->folders = $this->getFolderArray($dir); $this->files = $this->getFilesArray($dir); $out = new FNOutput; $out->html .= $out->folderList($this->folders); $out->html .= $out->fileList($this->files); $out->sendOutput(); } function getExt($file){ return strtolower(substr(strrchr($file, '.'), 1)); } function namesort($a, $b) { return strnatcasecmp($a["name"], $b["name"]); } function unset_by_val($needle,&$haystack) { while(($gotcha = array_search($needle,$haystack)) > -1) unset($haystack[$gotcha]); } } /** * UserInfo - Handles display of error and debug messages * */ class UserInfo{ var $info; function info($str){ $this->info .= "$str
    "; } function warn($str){ $this->info .= "$str
    "; } function output(){ if($this->info != ""){ ?>
    info); ?>
    PKܛL\gfileNice/.DS_Storenu[Bud1%skinsdsclboolsdsclbool  @ @ @ @ E%DSDB` @ @ @PKܛL\JVVfileNice/prefs.phpnu[ PKܛL\found li.a : " + li.id); a.actions = this; a.href = "javascript:void(0);"; a.onclick = this.getFolder; }else if(a.firstChild.tagName){ // we've found the properties link a.actions = this; a.href = "javascript:void(0);"; a.onclick = this.divToggle; } }else{ var params = a.className.split(" "); if(params[1] == "about_filenice" || params[1] == "preferences"){ a.nof = true; a.onclick = this.divToggle; } } } } // element scoped functions this.divToggle = function(){ var params = this.className.split(" "); if(this.nof){ var id = params[1]; }else{ var id = "F_" + params[1]; } var element = document.getElementById(id); if(element.style.display == "none" || !element.style.display) { element.style.display = "block"; }else if(element.style.display == "block") { element.style.display = "none"; } } // getFolder this.getFolder = function(){ var params = this.className.split(" "); var dir = params[1]; var id = "F_" + params[0]; var li = "li_" + params[0]; var element = document.getElementById(id); var clicked = document.getElementById(li); if(element.className == "contents") { startBusy(); var url="index.php?action=getFolderContents&dir="+dir; var ret = com.filenice.getStuff(url,id,clicked); }else if(element.className == "contents_open") { element.className = "contents"; clicked.className = "closed"; } } } //********************************************************* com.filenice.getStuff = function(url,div,clicked){ if (window.XMLHttpRequest){ // moz request = new XMLHttpRequest(); }else if (window.ActiveXObject){ // IE request = new ActiveXObject("Microsoft.XMLHTTP"); } request.onreadystatechange = function(){ if (request.readyState == 4){ if (request.status != 200){ // commented out becuase of bloody safari // alert("There was a problem retrieving the data:\n" + request.statusText); endBusy(); delete request; }else{ // everything worked var element = document.getElementById(div); element.innerHTML = request.responseText; // apply js triggers to new content if(!o) var o = new com.filenice.actions; o.setFunctions(element); element.className = "contents_open"; clicked.className = "open"; endBusy(); } } } request.open("GET", url, true); request.send(null); } function getNextImage(currentPic){ var url="index.php?action=nextImage&pic="+currentPic; if (window.XMLHttpRequest){ // moz request = new XMLHttpRequest(); }else if (window.ActiveXObject){ // IE request = new ActiveXObject("Microsoft.XMLHTTP"); } request.onreadystatechange = function(){ if (request.readyState == 4){ if (request.status != 200){ alert("There was a problem retrieving the data:\n" + request.statusText); delete request; endBusy(); }else{ var picinfo = request.responseText; // everything worked var element = document.getElementById("imgPreview"); var tmp = picinfo.split("|"); picpath = tmp[0]; var w = tmp[1]; var h = tmp[2]; // preload the following image var tmpImg = new Image; tmpImg.src = tmp[3]; element.innerHTML = "
     "; intVar = setInterval("getNextImage('"+picpath+"')",ssSpeed); } } } request.open("GET", url, true); request.send(null); clearInterval(intVar); } function startSlideshow(currentPic){ document.getElementById("picinfo").innerHTML = " "; var element = document.getElementById("imgPreview"); element.innerHTML = "
     "; var link = document.getElementById("slidelink"); link.innerHTML = "stop slide show"; intVar = setInterval("getNextImage('"+currentPic+"')",ssSpeed); } function stopSlideshow(){ var link = document.getElementById("slidelink"); link.innerHTML = "restart slide show"; clearInterval(intVar); } function sendToFlickr(url){ document.forms['flickr'].url.value = url; document.forms['flickr'].submit(); } setOverDiv = function(){ if (window.innerWidth){ var w = window.innerWidth; var h = window.innerHeight; var ph = document.height; var t = window.pageYOffset; }else if (document.all){ var w = document.body.clientWidth; var h = document.body.clientHeight; var ph = h = document.body.scrollHeight; var t = document.body.scrollTop; } var div = document.getElementById('overDiv'); div.style.width = w + "px"; div.style.height = ph + "px"; // do the busy div var div = document.getElementById("busy"); div.style.position = "absolute"; div.style.top = (((h/2)+t) - 23) + "px"; div.style.left = ((w/2) - 23) + "px"; } startBusy = function(){ setOverDiv(); var overDiv = document.getElementById('overDiv'); var busy = document.getElementById('busy'); overDiv.style.display = "block"; busy.style.display = "block"; } endBusy = function(){ var overDiv = document.getElementById('overDiv'); var busy = document.getElementById('busy'); overDiv.style.display = "none"; busy.style.display = "none"; } // search functions function postSearch(url){ if (window.XMLHttpRequest){ // moz request = new XMLHttpRequest(); }else if (window.ActiveXObject){ // IE request = new ActiveXObject("Microsoft.XMLHTTP"); } request.onreadystatechange = function(){ if (request.readyState == 4){ if (request.status != 200){ alert("There was a problem retrieving the data:\n" + request.statusText); delete request; endBusy(); }else{ // everything worked var element = document.getElementById("searchResults"); element.innerHTML = request.responseText; element.style.display = "block"; endBusy(); } } } request.open("POST", url, true); var ss = document.forms['search'].sstring.value; request.send("sstring="+ss); } function validateSearch(url){ var frm = document.forms['search']; if(frm.sstring.value != ""){ frm.submit(); }else{ frm.sstring.style.border = "1px solid red;"; } return false; } window.onresize = setOverDiv;PKܛL\=`,, index.phpnu[PKܛL\P`T,quickstart.htmlnu[PKܛL\_jii0php.ininu[PKܛL\t0fileNice/skins/.DS_Storenu[PKܛL\'Ayy#HfileNice/skins/hdrlabs/fileNice.cssnu[PKܛL\S˖ \fileNice/skins/hdrlabs/.DS_Storenu[PKܛL\f\\  ufileNice/skins/hdrlabs/about.txtnu[PKܛL\0` ufileNice/skins/hdrlabs/icons.phpnu[PKܛL\n??*fileNice/skins/hdrlabs/icons/show_less.gifnu[PKܛL\'`%:fileNice/skins/hdrlabs/icons/busy.gifnu[PKܛL\t݈ ,GfileNice/skins/hdrlabs/icons/ajax-loader.gifnu[PKܛL\Chh,+fileNice/skins/hdrlabs/icons/folder_open.gifnu[PKܛL\ro&fileNice/skins/hdrlabs/icons/.DS_Storenu[PKܛL\chh.IfileNice/skins/hdrlabs/icons/folder_closed.gifnu[PKܛL\̈́ፆ(fileNice/skins/hdrlabs/icons/picture.gifnu[PKܛL\e!388(fileNice/skins/hdrlabs/icons/busy_bg.gifnu[PKܛL\laa%}fileNice/skins/hdrlabs/icons/file.gifnu[PKܛL\Fl"@@*3fileNice/skins/hdrlabs/icons/show_more.gifnu[PKܛL\"ĵgg4ͻfileNice/skins/hdrlabs/icons/filenice_logo_small.gifnu[PKܛL\"ʘ#fileNice/skins/default/fileNice.cssnu[PKܛL\u&f fileNice/skins/default/.DS_Storenu[PKܛL\ni]] fileNice/skins/default/about.txtnu[PKܛL\T% fileNice/skins/default/icons.phpnu[PKܛL\n??*fileNice/skins/default/icons/show_less.gifnu[PKܛL\'`%fileNice/skins/default/icons/busy.gifnu[PKܛL\Chh,fileNice/skins/default/icons/folder_open.gifnu[PKܛL\chh.^fileNice/skins/default/icons/folder_closed.gifnu[PKܛL\̈́ፆ($fileNice/skins/default/icons/picture.gifnu[PKܛL\e!388(fileNice/skins/default/icons/busy_bg.gifnu[PKܛL\laa%fileNice/skins/default/icons/file.gifnu[PKܛL\Fl"@@*HfileNice/skins/default/icons/show_more.gifnu[PKܛL\"ĵgg4fileNice/skins/default/icons/filenice_logo_small.gifnu[PKܛL\WjSZFZFZfileNice/fileNice.phpnu[PKܛL\g8cfileNice/.DS_Storenu[PKܛL\JVV~{fileNice/prefs.phpnu[PKܛL\