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.
|
|
|
|
*/ ?>
|
|
|
|
<?
|
2007-03-26 19:49:01 +00:00
|
|
|
$query = "select * from `orginfo` where `id`='".intval($_REQUEST['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>
|
2007-03-26 19:49:01 +00:00
|
|
|
<td colspan="3" class="title"><? printf(_("%s's Domains"), $row[O]); ?> (<a href="account.php?id=28&orgid=<?=$row['id']?>"><?=_("Add")?></a>)</td>
|
2004-10-16 00:28:17 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="DataTD"><?=_("Domain")?></td>
|
|
|
|
<td class="DataTD"><?=_("Edit")?></td>
|
|
|
|
<td class="DataTD"><?=_("Delete")?></td>
|
|
|
|
</tr>
|
|
|
|
<?
|
2007-03-26 19:49:01 +00:00
|
|
|
$query = "select * from `orgdomains` where `orgid`='".intval($_REQUEST['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>
|
2007-03-26 19:49:01 +00:00
|
|
|
<td class="DataTD"><a href="account.php?id=29&orgid=<?=$row[orgid]?>&domid=<?=$row[id]?>"><?=_("Edit")?></a></td>
|
|
|
|
<td class="DataTD"><a href="account.php?id=30&orgid=<?=$row[orgid]?>&domid=<?=$row[id]?>"><?=_("Delete")?></a></td>
|
2004-10-16 00:28:17 +00:00
|
|
|
</tr>
|
|
|
|
<? } ?>
|
|
|
|
</table>
|