diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/account/49.php | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/pages/account/49.php b/pages/account/49.php index 3d2fd09..e9973f2 100644 --- a/pages/account/49.php +++ b/pages/account/49.php @@ -44,23 +44,22 @@ <tr> <td colspan="5" class="title"><?=_("Select Specific User Account Details")?></td> </tr> -<? - while($row = mysql_fetch_assoc($res)) - { ?> +<? while($row = mysql_fetch_assoc($res)) { ?> <tr> <td class="DataTD"><?=_("Domain")?>:</td> <td class="DataTD"><?=$row['domid']?></td> <td class="DataTD"><a href="account.php?id=43&userid=<?=$row['id']?>"><?=sanitizeHTML($row['domain'])?></a></td> </tr> -<? } if(mysql_num_rows($res) >= 100) { ?> +<? } + if(mysql_num_rows($res) >= 100) { ?> <tr> <td class="DataTD" colspan="3"><?=_("Only the first 100 rows are displayed.")?></td> </tr> -<? } else { ?> +<? } else { ?> <tr> <td class="DataTD" colspan="3"><? printf(_("%s rows displayed."), mysql_num_rows($res)); ?></td> </tr> -<? } ?> +<? } ?> </table><br><br> <? } elseif(mysql_num_rows($res) == 1) { $row = mysql_fetch_assoc($res); @@ -79,23 +78,22 @@ <tr> <td colspan="5" class="title"><?=_("Select Specific Organisation Account Details")?></td> </tr> -<? - while($row = mysql_fetch_assoc($res)) - { ?> +<? while($row = mysql_fetch_assoc($res)) { ?> <tr> <td class="DataTD"><?=_("Domain")?>:</td> <td class="DataTD"><?=$row['id']?></td> <td class="DataTD"><a href="account.php?id=26&orgid=<?=intval($row['orgid'])?>"><?=sanitizeHTML($row['domain'])?></a></td> </tr> -<? } if(mysql_num_rows($res) >= 100) { ?> +<? } + if(mysql_num_rows($res) >= 100) { ?> <tr> <td class="DataTD" colspan="3"><?=_("Only the first 100 rows are displayed.")?></td> </tr> -<? } else { ?> +<? } else { ?> <tr> <td class="DataTD" colspan="3"><? printf(_("%s rows displayed."), mysql_num_rows($res)); ?></td> </tr> -<? } ?> +<? } ?> </table><br><br> <? } elseif(mysql_num_rows($res) == 1) { $row = mysql_fetch_assoc($res); |