<?php
$subModules=array('settings'=>'settings.php','prizes'=>'prizes.php','presets'=>'presets.php','poolstudio'=>'poolstudio.php','appearance'=>'appearance.php','progression'=>'progression.php','exchange'=>'exchange.php','identity'=>'identity.php','economy'=>'economy.php','claims'=>'claims.php','logs'=>'logs.php');
$page=isset($_REQUEST['page'])?(string)$_REQUEST['page']:'settings';
if(!isset($subModules[$page])) { message('error','Sección de Ruleta Nexora inválida.'); return; }
$file=__PATH_ADMINCP_MODULES__.'nexoraroulette/'.$subModules[$page];
if(!is_file($file)) { message('error','No se encontró el submódulo solicitado.'); return; }
try { include $file; } catch(Throwable $ex) { message('error',$ex->getMessage()); }
