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:licitacoes:pregao-presencial:emandamento [24/05/2020 17:13] edcaraujo a revisão anterior foi restaurada (16/05/2019 15:19) |
arquivo:documentos:licitacoes:pregao-presencial:emandamento [29/05/2020 10:48] (atual) edcaraujo ↷ Page moved from documentos:licitacoes:pregao-presencial:emandamento to arquivo:documentos:licitacoes:pregao-presencial:emandamento |
||
---|---|---|---|
Linha 1: | Linha 1: | ||
+ | ====== Pregão Presencial › Em andamento ====== | ||
+ | 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~~ |