示例#1
0
<!-- content -->
<table BORDER=0 CELLSPACING=10 CELLPADDING=0 WIDTH=100% >
<tr width=80% valign=top><td>
<?php 
if (!isset($cnt)) {
    $cnt = 0;
}
$next_cnt = $cnt + $config_showfull_conperpage;
if ($cnt >= $config_showfull_conperpage) {
    $prev_cnt = $cnt - $config_showfull_conperpage;
} else {
    $prev_cnt = 0;
}
$query = conquery(0);
$db->query($query);
consort($db, 0);
if ($db->num_rows() > 0) {
    while ($db->next_record()) {
        conshow($db, admin($db));
    }
    connav($db, 0);
} else {
    $be->box_full($t->translate("Attention!"), $t->translate("No more Contact exist") . ".");
}
?>
</td><td width=20%>
<?php 
// Recent Contacts at the right column
conidx($config_showshort_conperpage);
?>
</td></tr>
示例#2
0
}
if (!isset($category)) {
    $category = "%";
}
if (!isset($state)) {
    $state = "%";
}
if (!isset($country)) {
    $country = "%";
}
if (!isset($city)) {
    $city = "%";
}
$query = conquery();
$db->query($query);
consort($db);
if ($db->num_rows() > 0) {
    while ($db->next_record()) {
        conshow($db, admin($db));
    }
    connav($db);
} else {
    $be->box_full($t->translate("Attention!"), $t->translate("No more Contact exist") . ".");
}
?>
</td><td width=20%>
<?php 
// Recent Contacts at the right column
conidx($config_showshort_conperpage);
?>
</td></tr>