@session_start();
// $CfgServers["host"] ='localhost';
// $CfgServers["user"] ='root';
// $CfgServers["password"] ='root';
// $CfgServers["db"] ='habitacon';
$CfgServers["host"] ='www.habitacon.com.br';
$CfgServers["user"] ='n4web';
$CfgServers["password"] ='dbadm@hab*%!2005.ck';
$CfgServers["db"] ='habitacon';
//$CfgServers['path'] = 'files';
//$PathFiles="files";
//$Path = "";
$Open=mysql_connect($CfgServers["host"],$CfgServers["user"],$CfgServers["password"]) or die (mysql_error());
$Gett=mysql_select_db($CfgServers["db"],$Open) or die (mysql_error());
function saveDate($st){
return (substr($st,6,4)."-".substr($st,3,2)."-".substr($st,0,2));
}
function stampDateTime($st){
return (substr($st,8,2)."-".substr($st,5,2)."-".substr($st,0,4)." ".substr($st,11,8));
}
function stampDate($st){
return (substr($st,8,2)."-".substr($st,5,2)."-".substr($st,0,4));
}
function datarHoje(){
$DiasSemana=array("Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado");
$MesesAno=array("janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro");
return $DiasSemana[date("w")].", ".date("d")." de ".$MesesAno[date("n")-1]." de ".date("Y").".";
}
?>
Habitacon
 |
 |
 |
" width="162" height="257" name="changeimg" id="changeimg" alt="">}?> |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
}?>
|
 |