Exemple #1
0
$bx->box_end();
// News
$cnt = 0;
$query = newquery(0);
$db->query($query);
if ($db->num_rows() > 0) {
    while ($db->next_record()) {
        newshow($db, admin($db));
    }
}
?>

</td><td width=20%>
<?php 
// Recent News at the right column
newidx($config_showidx_newperpage);
entidx($config_showidx_entperpage);
conidx($config_showidx_conperpage);
svcidx($config_showidx_svcperpage);
proidx($config_showidx_properpage);
solidx($config_showidx_solperpage);
cusidx($config_showidx_cusperpage);
cmtidx($config_showidx_cmtperpage);
?>
</td></tr>
</table>
<!-- end content -->

<?php 
require "./include/footer.inc";
@page_close();
}
$next_cnt = $cnt + $config_showfull_solperpage;
if ($cnt >= $config_showfull_solperpage) {
    $prev_cnt = $cnt - $config_showfull_solperpage;
} else {
    $prev_cnt = 0;
}
$query = solquery(0);
$db->query($query);
solsort($db, 0);
if ($db->num_rows() > 0) {
    while ($db->next_record()) {
        solshow($db, admin($db));
    }
    solnav($db, 0);
} else {
    $be->box_full($t->translate("Attention!"), $t->translate("No more Solution exist") . ".");
}
?>
</td><td width=20%>
<?php 
// Recent Solutions at the right column
solidx($config_showshort_solperpage);
?>
</td></tr>
</table>
<!-- end content -->

<?php 
require "./include/footer.inc";
@page_close();