// $sx .= '<TD align="center" width="100">[DIR]'; } else { $size = filesize($dir . $file); $dv = 0; while ($size >= 1024) { $size = $size / 1024; $dv++; } /* Valida idioma */ $linkf = '<a href="' . $dir . utf8_encode($file) . '" target="_new" class="link">'; if (strpos($file, $filter) > 0) { $id++; $sx .= '<TR valign="top">'; $sx .= '<TD>' . $linkf . utf8_encode($file) . '</A>'; $sx .= '<div id="fl' . $id . 'm" style="display: none;">'; $sx .= show_update_form($file); $sx .= '</div>'; $sx .= '<td align="right" width="150">' . number_format($size, 1) . $sigla[$dv] . ' byte'; $sx .= '<TD width="32">'; $sx .= '<img src="img/icone_data_transfer.png" width="24" id="fl' . $id . '" style="cursor: pointer;">'; $js .= '$("#fl' . $id . '").click(function() { $("#fl' . $id . 'm").toggle("slow"); }); ' . chr(13) . chr(10); } } if (substr($file, 0, 1) != '.' and !is_dir($dir . '/' . $file)) { //echo "<BR>==>$dir/$file\n"; //echo '<font class="blue">ok</font>'; array_push($css, $dir . '/' . $file); } } closedir($handle); $sx .= '</table>';
<?php if ($_SESSION['mobile'] != 1) { echo "<div id=\"banner\">\n" . "<a href=\"index.php\"><img src=\"images/banner_index2.jpg\" style=\"border:none\" alt=\"Scroll down...\" /></a>\n" . "<div id=\"banner_text_bg\" style=\"background: url(images/banner_text_bg2.jpg) no-repeat;\">Siskiyou Rappel Crew - Phonelist</div>\n" . "</div>\n"; include "../includes/menu.php"; } ?> <div id="content" style="text-align:center"> <br /> <?php make_year_dropdown(); echo "| <a href=\"admin/index.php\">Admin Home</a> |<br><br>\n\n"; switch ($cmd) { case "update_info": show_update_form($id); break; case "show_phonelist": default: show_phonelist($year); break; } // end 'switch' ?> </div> <!-- End 'content' --> </div><!-- end 'wrapper'--> <?php if ($_SESSION['mobile'] != 1) {