<?php  if (!defined('DASHBOARD_ROOT')) { http_response_code(403); exit; } function renderStateManager(int $userId): string { return "<div class=\"state-manager\"><select data-change=\"updateTicketState\" data-user=\"{$userId}\"><option>Open</option><option>Waiting</option><option>Escalated</option><option>Resolved</option><option>Closed</option></select></div>"; } 