oidinfo_new_design
alarming
autosfx
aysalia
calllib
checksum-tools
colormanager
cryptochat
currency_converter
decoder
delphiutils
distributed
dpcstudio
dpg2
fastphp
fileformats
filter_foundry
forest
gridgame
ht46f47_simulator
indexer_suite
ipe_artfile_utils
javautils
jumper
lightgame
logviewer
musikbox
mystic_house
oidconverter
oidinfo_api
oidplus
personal-webbase
php_antispam
php_clientchallenge
php_guestbook
php_utils
plumbers
prepend
recyclebinunit
simple_log_event
sokoban
spacemission
stackman
userdetect2
uuid_mac_utils
vgwhois
vnag
webcounter
winbugtracker
yt_downloader
BlueGrey
calm
Elegant
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
oidinfo_new_design
oidinfo_new_design
/
trunk
/
daniel_internal
/
create_sitemap.php
@ 22
– Rev
Rev
Rev 2
|
Blame
|
Last modification
|
View Log
|
RSS feed
<?php
$files
=
glob
(
__DIR__
.
'/../*.htm'
)
;
$files
=
array_merge
(
$files
,
glob
(
__DIR__
.
'/../doc/*.htm'
)
)
;
$files
=
array_merge
(
$files
,
glob
(
__DIR__
.
'/../gestion/*.htm'
)
)
;
$files
=
array_merge
(
$files
,
glob
(
__DIR__
.
'/../errors/*.htm'
)
)
;
file_put_contents
(
'../test_sitemap.htm'
,
''
)
;
foreach
(
$files
as
$file
)
{
$file
=
substr
(
$file
,
strlen
(
__DIR__
.
'/../'
)
)
;
if
(
strpos
(
$file
,
'__'
)
===
0
)
continue
;
if
(
strpos
(
$file
,
".raw."
)
!==
false
)
continue
;
file_put_contents
(
'../test_sitemap.htm'
,
'<a href="'
.
$file
.
'">'
.
$file
.
'</a><br>'
.
"
\n
"
,
FILE_APPEND
)
;
}
echo
"Done.
\n
"
;