{include file="header.html"}
{if ConfigHelper::getConfig('userpanel.data_consent_text') && !$userinfo.consentdate}
	{include file="module:consentbox.html"}
{/if}
<ul class="nav nav-tabs mb-1" role="tablist">
	<li class="nav-item">
		<a class="nav-link{if !isset($passwd_change_required)} active{/if}" data-toggle="tab" href="#userinfobox" role="tab">{trans("Information about the subscriber")}</a>
	</li>
	{if (is_array($usernodes) && count($usernodes)) && !ConfigHelper::checkConfig('userpanel.hide_nodesbox')}
		<li class="nav-item">
			<a class="nav-link" data-toggle="tab" href="#usernodesbox" role="tab">{trans("Your computers")}</a>
		</li>
	{/if}
	<li class="nav-item">
		<a class="nav-link{if isset($passwd_change_required)} active{/if}" data-toggle="tab" href="#userloginbox" role="tab">{trans("Login data")}</a>
	</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
	<div class="tab-pane{if !isset($passwd_change_required)} active{/if}" id="userinfobox" role="tabpanel">
		{include file="module:userinfobox.html"}
	</div>
	{if (is_array($usernodes) && count($usernodes)) && !ConfigHelper::checkConfig('userpanel.hide_nodesbox')}
		<div class="tab-pane" id="usernodesbox" role="tabpanel">
			{include file="module:usernodesbox.html"}
		</div>
	{/if}
	<div class="tab-pane{if isset($passwd_change_required)} active{/if}" id="userloginbox" role="tabpanel">
		{include file="module:userloginbox.html"}
	</div>
</div>
{include file="footer.html"}
