$StrHeaderPageTitle = "Clube de Serviços";
include($_SERVER['DOCUMENT_ROOT']."/inc/cab.php");
$StrTable = "servicos";
$objPaginacao=new Paginacao($StrTable, 15);
$StrOrder = "nome ASC ".$objPaginacao->retornarSqlLimit();
$StrSQLSelect = $ObjQuery->ListRecords($StrTable,"","",$StrOrder);
$ArrList = $ObjMySQL->RetResultArray($StrSQLSelect);
?>
$StrTable = "textos";
$StrWhere = "seccao=21";
$StrSQLSelect = $ObjQuery->ListRecords($StrTable,"",$StrWhere,"",false);
$ArrText = $ObjMySQL->RetResultArray($StrSQLSelect);
if (strlen($ArrText[1]['foto']) > 0)
{
?>
}
?>
echo $StrHeaderPageTitle ?>
echo $ArrText[1]['texto']; ?>
for ($i = 1; $i <= $ArrList[0]; $i++)
{
?>
echo substr($ArrList[$i]['descricao'],0,150)."..."; ?>
Local: echo $ArrList[$i]['local']; ?> • Preço: echo $ArrList[$i]['preco']; ?>
}
?>
$objPaginacao->gerarHtmlPaginas("","",'Páginas', ': ','textoPaginacao','activa','inativo') ?>
include($_SERVER['DOCUMENT_ROOT']."/inc/rod.php");
?>