Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anterior Revisão anterior | |||
arquivo:documentos:credenciamento:instituicoes-financeiras [14/04/2019 22:40] edcaraujo |
arquivo:documentos:credenciamento:instituicoes-financeiras [29/05/2020 10:48] edcaraujo ↷ Page moved from documentos:credenciamento:instituicoes-financeiras to arquivo:documentos:credenciamento:instituicoes-financeiras |
||
---|---|---|---|
Linha 1: | Linha 1: | ||
- | ====== Credenciamento › Instituições Financeiras ====== | ||
- | Para saber **qual** processo foi **atualizado recentemente** (último 7 dias), basta **procurar** pelo **rótulo** <wrap em> | ||
- | |||
- | <php> | ||
- | |||
- | function p($d){ | ||
- | $path = " | ||
- | |||
- | if(file_exists($path) && is_dir($path)){ | ||
- | |||
- | $rd = array_diff(scandir($path, | ||
- | | ||
- | if(count($rd) > 0){ | ||
- | |||
- | foreach($rd as $dname){ | ||
- | |||
- | $dpath = $path.'/' | ||
- | |||
- | if(is_dir($dpath)){ | ||
- | $rf = array_diff(scandir($dpath, | ||
- | |||
- | if(count($rf) > 0){ | ||
- | echo '< | ||
- | |||
- | echo '< | ||
- | |||
- | foreach($rf as $fname){ | ||
- | |||
- | $fpath = $path.'/' | ||
- | |||
- | if(is_file($fpath)){ | ||
- | $ftime = filemtime($fpath); | ||
- | $ctime = time(); | ||
- | $rtime = round(($ctime-$ftime) / (60 * 60 * 24)); | ||
- | |||
- | $fbase = basename($fname,' | ||
- | |||
- | echo '< | ||
- | } | ||
- | } | ||
- | |||
- | echo '</ | ||
- | } | ||
- | } | ||
- | } | ||
- | } | ||
- | } | ||
- | } | ||
- | |||
- | p(" | ||
- | |||
- | </ | ||
- | |||
- | ~~NOCACHE~~ | ||
- | |