<?php $u=user(); ?><div class="dashboard-layout"><aside class="sidebar"><div class="eyebrow">FUNDZ <?=e(strtoupper($u['role']))?></div><h4>Workspace</h4><a href="<?=url(role_home($u['role']))?>">Overview</a><?php if($u['role']==='business'):?><a href="<?=url('business/watchlist.php')?>">Watchlist & alerts</a><a href="<?=url('business/requests.php')?>">Quote requests</a><a href="<?=url('business/planner.php')?>">FX planner</a><a href="<?=url('business/history.php')?>">History & savings</a><?php elseif($u['role']==='provider'):?><a href="<?=url('provider/profile.php')?>">Provider profile</a><a href="<?=url('provider/rates.php')?>">Rates & availability</a><a href="<?=url('provider/leads.php')?>">Quote leads</a><a href="<?=url('provider/analytics.php')?>">Analytics</a><?php elseif($u['role']==='operator'):?><a href="<?=url('operations/capture.php')?>">Capture rates</a><a href="<?=url('operations/queue.php')?>">Validation queue</a><a href="<?=url('operations/sources.php')?>">Source health</a><?php elseif($u['role']==='admin'):?><a href="<?=url('admin/users.php')?>">Users</a><a href="<?=url('admin/providers.php')?>">Providers</a><a href="<?=url('admin/rates.php')?>">Rates & validation</a><a href="<?=url('admin/requests.php')?>">Requests & trackers</a><a href="<?=url('admin/scrapers.php')?>">Scraper control</a><a href="<?=url('admin/audit.php')?>">Audit log</a><?php endif;?><h4>Market</h4><a href="<?=url('compare/')?>">Public comparison</a><a href="<?=url('auth/logout.php')?>">Sign out</a></aside><section class="dash-main">