Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*=================================================================
- _ ____ _____ __
- (_) _ \ ___ |_ _|__ __ _| \/ |
- | | |_) / __| | |/ _ \/ _` | |\/| |
- | | __/\__ \ | | __/ (_| | | | |
- |_|_| |___/ |_|\___|\__,_|_| |_|
- Criado Por SuYaNw Dácio
- www.ips-team.blogspot.com
- =================================================================*/
- $dir = opendir(".");
- $contar = 0;
- echo "<table border='0' cellspacing='0'><tr><Td>>Pasta:</b></tr>";
- while ($ei = readdir($dir))
- {
- if(!strstr($ei,'.exe'))
- {
- $cor = 0;
- if($contar % 2)
- $cor = "#9ACD32";
- else
- $cor = "#FFFF00";
- if(is_dir($ei))
- echo "<tr><td bgcolor='$cor'><img src='http://images-2.findicons.com/files/icons/765/xedia/128/folder.png' width='18'/><a href='$ei' > $ei</a>"."</td></tr><br>";
- else
- echo "<tr><td bgcolor='$cor'><img src='http://images-5.findicons.com/files/icons/2166/oxygen/48/document_import.png' width='18'/><a href='$ei' >$ei</a>"."<br></td></tr>";
- $contar++;
- }
- }
- echo "</table>";
- closedir($dir);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement