|
|
|
|
|
|
fetchRow(DB_FETCHMODE_ASSOC, $i);
$allowed_domains=$row['domain_name'];
// print "DEBUG: Allowed Domains".$allowed_domains;
$query.="$allowed_domains' OR domain_name='";
}
$query .= "' ORDER BY domain_name";
// print $query;
}
$handle = DB::connect($DB['DSN'], true);
if (DB::isError($handle)) {
die (_("Database error"));
}
$result = $handle->query($query);
$cnt = $result->numRows($result);
$b = 0;
for ($c=0; $c < $cnt; $c++){
if ($b==0){
$cssrow="row1";
$b=1;
} else {
$cssrow="row2";
$b=0;
}
$row = $result->fetchRow($result,$c,'domain_name');
//$domain = $row[0];
$domain = isset($row[0]) ? $row[0] : $row['domain_name'];
?>
_("Edit Domain"),
'deletedomain' => _("Delete Domain"),
'accounts' => _("accounts"),
'aliases' => _("Aliases")
);
foreach ($_cols as $_action => $_txt){
?>
%s',
$_action, $domain, $_txt);
?>
|
|
| ";
}
?>
|
|
|