<?
 
/*
 
* A part of the find class.
 
* This is the example page.
 
* By: Dan From AKA stoned_bush
 
* Mail: [email protected]
 
*/
 
ob_start();
 
session_start();
 
include 'find.class.php';
 
?>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 
 "http://www.w3.org/TR/html4/loose.dtd">
 
<html>
 
<head>
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
<meta http-equiv="Content-Language" content="en">
 
<title>PHP -> find</title>
 
<SCRIPT src="library.js" type=text/javascript></SCRIPT>
 
<link rel="stylesheet" type="text/css" href="style.css">
 
</head>
 
<body>
 
<table border="0" cellpadding="0" cellspacing="10">
 
    <tr>
 
        <td>
 
            Search in:
 
        </td>
 
        <td>
 
            File to find
 
        </td>
 
        <td>
 
            
 
        </td>
 
    </tr>
 
    <tr>
 
        <td>
 
            <select name="dir" id="dir">
 
            <option></option>
 
            <option value=".">.</option>
 
            <?
 
            $liste = new listAll('.');
 
            foreach ($liste->ex() AS $steder){
 
                echo '<option value="'.$steder.'">'.$steder.'</option>';
 
            }
 
            ?>
 
            </select>
 
        </td>
 
        <td>
 
            <input type="text" name="filnavn" id="filnavn">
 
        </td>
 
        <td>
 
            <button id="fisk" onclick="makeXml();">ok</button>
 
        </td>
 
    </tr>
 
</table>
 
 
 
<div id="filhvor" style="width: 500px; height: 500px;">
 
<div id="typetop">Type</div><div id="nametop">Name</div><div id="pathtop">Path</div>
 
</div>
 
</body>
 
</html>
 
<?
 
ob_end_flush();
 
?>
 
 |