2004-10-16 00:28:17 +00:00
|
|
|
<? /*
|
|
|
|
Copyright (C) 2004 by Duane Groth <duane_at_CAcert_dot_org>
|
|
|
|
|
|
|
|
This file is part of CAcert.
|
|
|
|
|
|
|
|
CAcert has been released under the CAcert Source License
|
|
|
|
which can be found included with these source files or can
|
|
|
|
be downloaded from the internet from the following address:
|
|
|
|
http://www.cacert.org/src-lic.php
|
|
|
|
|
|
|
|
CAcert is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
PARTICULAR PURPOSE. See the License for more details.
|
|
|
|
*/ ?>
|
|
|
|
<?
|
2006-11-27 00:52:11 +00:00
|
|
|
$query = "select * from `orginfo` where `id`='".intval($_SESSION['_config']['orgid'])."'";
|
2004-10-16 00:28:17 +00:00
|
|
|
$row = mysql_fetch_assoc(mysql_query($query));
|
|
|
|
?>
|
|
|
|
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper" width="400">
|
|
|
|
<tr>
|
|
|
|
<td colspan="3" class="title"><? printf(_("%s's Domains"), $row[O]); ?> (<a href="account.php?id=28"><?=_("Add")?></a>)</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Domain")?></td>
|
|
|
|
<td class="DataTD"><?=_("Edit")?></td>
|
|
|
|
<td class="DataTD"><?=_("Delete")?></td>
|
|
|
|
</tr>
|
|
|
|
<?
|
2006-11-27 00:52:11 +00:00
|
|
|
$query = "select * from `orgdomains` where `orgid`='".intval($_SESSION['_config']['orgid'])."'";
|
2004-10-16 00:28:17 +00:00
|
|
|
$res = mysql_query($query);
|
|
|
|
while($row = mysql_fetch_assoc($res))
|
|
|
|
{ ?>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=$row[domain]?></a></td>
|
|
|
|
<td class="DataTD"><a href="account.php?id=29&domid=<?=$row[id]?>"><?=_("Edit")?></a></td>
|
|
|
|
<td class="DataTD"><a href="account.php?id=30&domid=<?=$row[id]?>"><?=_("Delete")?></a></td>
|
|
|
|
</tr>
|
|
|
|
<? } ?>
|
|
|
|
</table>
|