40 lines
1.5 KiB
PHP
40 lines
1.5 KiB
PHP
|
<? /*
|
||
|
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.
|
||
|
*/ ?>
|
||
|
<?
|
||
|
$query = "select * from `orginfo` where `id`='".$_SESSION[_config][orgid]."'";
|
||
|
$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>
|
||
|
<?
|
||
|
$query = "select * from `orgdomains` where `orgid`='".$_SESSION[_config][orgid]."'";
|
||
|
$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>
|