RodG:
If lat9 is correct, the code mod you'll need is quite simple:
load /YOURADMIN/index.php into a text editor then look for the <div class=reportBox sections that you wish to hide.. , for example, NEW_CUSTOMERS.
<div class="reportBox">
<?php if (zen_is_superuser()) { ?>
<div class="header"><?php echo BOX_ENTRY_NEW_CUSTOMERS; ?> </div>
<?php $customers = $db->Execute("select c.customers_id as customers_id, c.customers_firstname as customers_firstname,
c.customers_lastname as customers_lastname, a.customers_info_date_account_created as customers_info_date_account_created,
a.customers_info_id from " . TABLE_CUSTOMERS . " c left join " . TABLE_CUSTOMERS_INFO . " a on c.customers_id = a.custom
ers_info_id order by a.customers_info_date_account_created DESC limit 5");
while (!$customers->EOF) {
$customers->fields['customers_firstname'] = zen_output_string_protected($customers->fields['customers_firstname']);
$customers->fields['customers_lastname'] = zen_output_string_protected($customers->fields['customers_lastname']);
echo ' <div class="row"><span class="left"><a href="' . zen_href_link(FILENAME_CUSTOMERS, 'search=' . $c
ustomers->fields['customers_lastname'] . '&origin=' . FILENAME_DEFAULT, 'NONSSL') . '" class="contentlink">'. $customers-
fields['customers_firstname'] . ' ' . $customers->fields['customers_lastname'] . '</a></span><span class="rigth">' . "\n
";
echo zen_date_short($customers->fields['customers_info_date_account_created']);
echo ' </span></div>' . "\n";
$customers->MoveNext();
}
} // Not Superusrer
?>
</div>
```
>
> Add the lines in
red
>
> Repeat for any other 'Boxes'
>
> Cheers
> RodG
>
> ps. I just happen to be doing some work of my own on this page, so figuring this it was quite convenient/good timing.
YOu are superB :laugh:
Thanks a lot... iTs worked .. m really happy :)
God bless you... :)