$H = date('H'); if($H >= 7 <= 11){echo 'bom dia';}else if($H >= 12 <= 18){echo 'boa tarde';}else if($H >= 19 <= 23){echo 'boa noite';}else if($H >= 0 <= 6){echo 'boa madrugada';}else
ai vc coloca as imagens e textos e tal, saco?
There have been 137 items by yZarc (Search limited from 27/05/2023)
Posted by yZarc on 05/12/2003, 17:27 in PHP
Posted by yZarc on 25/11/2003, 19:01 in PHP
Posted by yZarc on 25/11/2003, 19:00 in PHP
Posted by yZarc on 16/11/2003, 11:13 in PHP
Posted by yZarc on 14/11/2003, 09:20 in PHP
if($handle = opendir('/var/www/html/supertools/lang')) { $listDir = array(); while(false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") {array_push ($listDir,$file);} } closedir($handle); } print_r($listDir);
if(in_array($lang,$lista)) {$Var = $lang;} else{$Var = $LnDef;} return $dir.$Var;
//===================================\\ function ListaDir($dir) { if($handle = opendir($dir)) { $listDir = array(); while(false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") {array_push ($listDir,$file);} } closedir($handle); } return $listDir; } //===================================\\ function LngInc($lang = FALSE,$dir) { $LnDef ='pt_BR'; if(empty($lang)) {$lang = $LnDef;} $lista = ListaDir($dir); if(in_array($lang,$lista)) {$Var = $lang;} else{$Var = $LnDef;} return $dir.$Var; } //===================================\\
Community Forum Software by IP.Board
Licensed to: Webmasters Online