require("header.php");
require("conectar.php");
?>
$resultados = mysqli_query($conn , "select * from catalog where parentid=1 order by catalogname ASC");
while($rs=mysqli_fetch_array($resultados)) {
?>

" alt="" width="8%" height="35px" />
}?>
$registros = 9;
if (!$pagina) {
$inicio = 0;
$pagina = 1;
}
else {
$inicio = ($pagina - 1) * $registros;
}
$resultados = mysqli_query("select * from news order by adddate DESC");
$total_registros = mysqli_num_rows($resultados);
$resultados = mysqli_query("select * from news order by adddate DESC limit $inicio,$registros");
$total_paginas = ceil($total_registros / $registros);
if($total_registros) {
while($rs=mysqli_fetch_array($resultados)) {
?>
}
}
//echo"