Code: Select all
<?php
$dir = "./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p&111;pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p>";
}
else {
echo "<p>Didn't found any webpages.</p>";
}
?>
Hope;0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < /";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamep;quote;htm" );
// the title
// [pagename] => їname]
$titles = Array( "e;index.php"e;=>"e;startsidan"e;, "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
echo "e;</p>"e;;
}
else {
echo &q;./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "&am
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titlenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p>";
}
else {
echo "<p>Didn't found any webpages.</p>";
}
?>
Hope this works.te;php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"e;startsidan"e;, "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
echo "e;</p>"e;;
}
else {
echo &amquote;,"htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"e;startsidan"e;, "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i])).
<?php
$dir = "./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$p
$dir = "./";
// searching of filetypes
$filetypes = Array( "e;php"e;,"e;htm"e; );
// the title
// їpagename] => їname]
$titles = Array( "e;index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
ray( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )&amamp;gt; [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updat
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p>";
}
else {
echo "<p>Didn't found any webpages.</p>";
}
?>
Hope this works.quote;index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;&am$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "e;index.php"e;=>"e;startsidan"e;, "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
echo &
<?php
$dir = "./";
// searching of filetypes
$filetypes = Array( "php","e;htm"e; );
// the title
// їpagename] => їname]
$titles = Array( "e;index.php"e;=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $t$dir = "./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\=> [name]
$titles = Array( "index.php"=>"e;startsidan", "heja.php"=>"hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>& "./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visasuote;, "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p>";
}
else {
echo "<p>Didn't found any webpages.</p>";
}
?>
Hope this works.ote;;
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
echop;quote;php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"e;=>"e;hejsidan"e; );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p>";
}
else {
echo "<p>Didn't found any webpages.</p>";
}
?>
Hope this works.
<?php
$dir = "./";
// searching of filetypes
$filetypes = Array( "php"e;,"e;htm"e; );
// the title
// їpagename] => їname]
$titles = Array( "e;index.php"e;=>"e;startsidan"e;, "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
echo "e;</p>"e;;
}
else {
echo "e;<p>Didn't found any webpages.</p>"e;;
}
?>es
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )&aetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
echo &ray( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count >
<?php
$dir = "./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $t
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a&
<?php
$dir = "./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"e;startsidan"e;, "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
echo &quofiletypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"e;startsidan"e;, "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br&g"./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p>";
}
else {
echo "<p>Didn't found any webpages.</p>";
}
?>
Hope this works.uote; );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p>";
}
else {
echo "<p>Didn't found any webpages.</p>";
}
?>
Hope this works.;quote;, "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. /";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($ searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => їname]
$titles = Array( "e;index.php"e;=>"e;startsidan"e;, "e;heja.php"e;=>"e;hejsidan"e; );
$foundtype = "e;"e;;
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode("e;."e;,$file);
if ( ($file != "e;."e; && $file != "e;.."e; && $fileї0] != '.') && array_key_exists($file, $titles)) {
$filenamesї] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "e;$count recent updated pages:<p>"e;;
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "e;Untitled"e;;
if ( array_key_exists($filenamesї$i], $titles) ) {
$tmp = $titlesї$filenamesї$i]];
}
echo ($i+1)."e;. <a href=\"e;$filenamesї$i]\"e;>"e;.$tmp."e;</a> ( "e;.date("e;Y-m-d H:i:s"e;, filemtime($filenamesї$i]))."e; )<br>"e;;
}
echo "e;</p&
<?php
$dir = "./";
// searching of filetypes
$filetypes = Array( "php","htm" );
// the title
// [pagename] => [name]
$titles = Array( "index.php"=>"startsidan", "heja.php"=>"hejsidan" );
$foundtype = "";
if ( is_dir($dir) ) {
if ( $dh = opendir($dir) ) {
$filenames = Array();
while ( ($file = readdir($dh) ) != false) {
$foundtype = explode(".",$file);
if ( ($file != "." && $file != ".." && $file[0] != '.') && array_key_exists($file, $titles)) {
$filenames[] = $file;
}
}
closedir($dh);
}
}
foreach($filenames as $files)
{
include $file;
}
//
// What is all this stuff for?
//
$maxnum = 10;
$count = count( $filenames );
if ( $count > 10 )
$count = $maxnum;
if ( $count > 0 ) {
echo "$count recent updated pages:<p>";
for ($i = 0; $i < $count; $i++) {
// namn som visas om inte filen finns med i listan
$tmp = "Untitled";
if ( array_key_exists($filenames[$i], $titles) ) {
$tmp = $titles[$filenames[$i]];
}
echo ($i+1).". <a href=\"$filenames[$i]\">".$tmp."</a> ( ".date("Y-m-d H:i:s", filemtime($filenames[$i]))." )<br>";
}
echo "</p>";
}
else {
echo "<p>Didn't found any webpages.</p>";
}
?>
Hope this works.