Esempio n. 1
0
                        }
                    }
                }
            }
        }
    }
    // Start main content
    draw_title_bar(prepare_breadcrumbs(array(_ACCOUNTS => '', _CUSTOMERS_MANAGEMENT => '', _CUSTOMER_GROUPS => '', ucfirst($action) => '')));
    //if($objSession->IsMessage('notice')) echo $objSession->GetMessage('notice');
    echo $msg;
    draw_content_start();
    if ($mode == 'view') {
        $objCustomerGroups->DrawViewMode();
    } else {
        if ($mode == 'add') {
            $objCustomerGroups->DrawAddMode();
        } else {
            if ($mode == 'edit') {
                $objCustomerGroups->DrawEditMode($rid);
            } else {
                if ($mode == 'details') {
                    $objCustomerGroups->DrawDetailsMode($rid);
                }
            }
        }
    }
    draw_content_end();
} else {
    draw_title_bar(_ADMIN);
    draw_important_message(_NOT_AUTHORIZED);
}