2022-01-13 18:55:13 +05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<%- include("includes/head") %>
|
|
|
|
|
|
|
|
<body class="hold-transition skin-red sidebar-mini">
|
|
|
|
|
|
|
|
<div class="wrapper">
|
|
|
|
|
|
|
|
<!-- The header is the topbar -->
|
|
|
|
<%- include("includes/header") %>
|
|
|
|
|
|
|
|
<!-- The sidebar includes the menu -->
|
|
|
|
<%- include("includes/sidebar") %>
|
|
|
|
|
|
|
|
<!-- Content Wrapper. Contains page content -->
|
|
|
|
<div class="content-wrapper">
|
|
|
|
|
|
|
|
<!-- Content Header (Page header) -->
|
|
|
|
<section class="content-header">
|
2022-02-07 00:30:08 +05:00
|
|
|
<h1> <%= userInfos.username %> <small> Dashboard v1.1 </small> </h1>
|
2022-01-13 18:55:13 +05:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="content">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<!-- Widget: user widget style 1 -->
|
|
|
|
<div class="box box-widget widget-user">
|
|
|
|
<!-- Add the bg color to the header using any of the bg-* classes -->
|
|
|
|
<div class="widget-user-header bg-red">
|
2022-02-07 00:30:08 +05:00
|
|
|
<h3 class="widget-user-username"><%= userInfos.tag %> (<%= userInfos.id %>)</h3>
|
|
|
|
<i><%= bot.guilds.cache.get(guild.id).name %> (<%= guild.id %>)</i>
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
<div class="widget-user-image">
|
2022-01-13 22:53:33 +05:00
|
|
|
<img class="img-circle" src="<%= userInfos.displayAvatarURL %>" alt="User Avatar">
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<div class="description-block">
|
|
|
|
<span
|
2022-01-13 22:53:33 +05:00
|
|
|
class="description-text"><%= userInfos.bio || translate("economy/profile:NO_BIO") %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-4 border-right">
|
|
|
|
<div class="description-block">
|
|
|
|
<h5 class="description-header">
|
|
|
|
<%= translate("economy/profile:BIRTHDATE").substr(2) %></h5>
|
|
|
|
<span
|
2022-01-13 22:53:33 +05:00
|
|
|
class="description-text"><%= userInfos.birthdate ? printDate(new Date(userInfos.birthdate)) : translate("economy/profile:NO_BIRTHDATE") %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
<!-- /.description-block -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
<div class="col-sm-4 border-right">
|
|
|
|
<div class="description-block">
|
2022-01-30 17:40:06 +05:00
|
|
|
<h5 class="description-header">
|
|
|
|
<%= translate("economy/profile:REGISTERED").substr(2) %></h5>
|
2022-01-13 18:55:13 +05:00
|
|
|
<span
|
2022-01-13 22:53:33 +05:00
|
|
|
class="description-text"><%= printDate(new Date(userInfos.registeredAt)) %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
<!-- /.description-block -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
<div class="col-sm-4">
|
|
|
|
<div class="description-block">
|
|
|
|
<h5 class="description-header">
|
|
|
|
<%= translate("economy/profile:LOVER").substr(2) %></h5>
|
|
|
|
<span
|
2022-01-13 22:53:33 +05:00
|
|
|
class="description-text"><%= !userInfos.lover ? translate("economy/profile:NO_LOVER") : bot.users.cache.get(userInfos.lover).tag %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
<!-- /.description-block -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
</div>
|
|
|
|
<!-- /.row -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- /.widget-user -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
|
|
|
<div class="info-box">
|
|
|
|
<span class="info-box-icon bg-red"><i class="fa fa-area-chart"></i></span>
|
|
|
|
|
|
|
|
<div class="info-box-content">
|
2022-01-30 17:40:06 +05:00
|
|
|
<span class="info-box-text"><%= translate("economy/profile:LEVEL").substr(2) %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
<span
|
2022-01-30 17:40:06 +05:00
|
|
|
class="info-box-number"><%= guild.members.find(u => u.id === userInfos.id).level %></span>
|
|
|
|
</div>
|
|
|
|
<!-- /.info-box-content -->
|
|
|
|
</div>
|
|
|
|
<!-- /.info-box -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
|
|
|
<div class="info-box">
|
|
|
|
<span class="info-box-icon bg-red"><i class="fa fa-area-chart"></i></span>
|
|
|
|
|
|
|
|
<div class="info-box-content">
|
|
|
|
<span class="info-box-text"><%= translate("economy/profile:EXP").substr(2) %></span>
|
2022-01-30 17:42:00 +05:00
|
|
|
<span class="info-box-number"><%= guild.members.find(u => u.id === userInfos.id).exp %> / <%= 5 * (guild.members.find(u => u.id === userInfos.id).level * guild.members.find(u => u.id === userInfos.id).level) + 80 * guild.members.find(u => u.id === userInfos.id).level + 100 %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
<!-- /.info-box-content -->
|
|
|
|
</div>
|
|
|
|
<!-- /.info-box -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
|
|
|
<div class="info-box">
|
|
|
|
<span class="info-box-icon bg-green"><i class="fa fa-money"></i></span>
|
|
|
|
|
|
|
|
<div class="info-box-content">
|
2022-01-30 17:40:06 +05:00
|
|
|
<span class="info-box-text"><%= translate("economy/profile:CASH").substr(2) %> /
|
|
|
|
<%= translate("economy/profile:BANK").substr(2) %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
<span
|
2022-01-30 17:40:06 +05:00
|
|
|
class="info-box-number"><%= guild.members.find(u => u.id === userInfos.id).money %>
|
|
|
|
/ <%= guild.members.find(u => u.id === userInfos.id).bankSold %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
<!-- /.info-box-content -->
|
|
|
|
</div>
|
|
|
|
<!-- /.info-box -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
|
|
|
<div class="info-box">
|
|
|
|
<span class="info-box-icon bg-yellow"><i class="fa fa-star-o"></i></span>
|
|
|
|
|
|
|
|
<div class="info-box-content">
|
2022-01-30 17:40:06 +05:00
|
|
|
<span
|
|
|
|
class="info-box-text"><%= translate("economy/profile:REPUTATION").substr(2) %></span>
|
2022-01-13 22:53:33 +05:00
|
|
|
<span class="info-box-number"><%= userInfos.rep %></span>
|
2022-01-13 18:55:13 +05:00
|
|
|
</div>
|
|
|
|
<!-- /.info-box-content -->
|
|
|
|
</div>
|
|
|
|
<!-- /.info-box -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<!-- /.content-wrapper -->
|
|
|
|
|
|
|
|
<!-- Footer includes credits and version -->
|
|
|
|
<%- include("includes/footer") %>
|
|
|
|
</div>
|
|
|
|
<!-- ./wrapper -->
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|