case DIALOG_CONFSERVER_1:
{
if(response)
{
new id = AdminsList[playerid][listitem];
PlayerSel[playerid] = id;
new Float:nota;
new dialogss[9000], titulo[3000];
format(dialogss, sizeof(dialogss), "{4290FE}Nome: {00FF00}%s\n", AdminInfo[id][admin_nome]);
strcat(dialogss, dialogss);
format(dialogss, sizeof(dialogss), "{4290FE}Função: {00FF00}%s\n", AdminInfo[id][admin_funcao]);
strcat(dialogss, dialogss);
format(dialogss, sizeof(dialogss), "{4290FE}Admin nível: {00FF00}%s(%d)\n", AccountRank(AdminInfo[id][admin_level]), AdminInfo[id][admin_level]);
strcat(dialogss, dialogss);
format(dialogss, sizeof(dialogss), "{4290FE}Admin há: {00FF00}%s\n", Convert(gettime()-AdminInfo[id][admin_data]));
strcat(dialogss, dialogss);
format(dialogss, sizeof(dialogss), "{4290FE}Promovido por: {00FF00}%s\n", AdminInfo[id][admin_setadopor]);
strcat(dialogss, dialogss);
format(dialogss, sizeof(dialogss), "{4290FE}Tempo desde sua ultima promoção: {00FF00}%s\n\n", AdminInfo[id][admin_ultimapromo] == 0 ? ("Nunca foi promovido") : (Convert(gettime()-AdminInfo[id][admin_ultimapromo])));
strcat(dialogss, dialogss);
nota = floatmul(floatdiv(Float:AdminInfo[id][admin_notatotal], floatadd(Float:AdminInfo[id][admin_notatotal], Float:AdminInfo[id][admin_atttotal])), 10.0);
if(nota >= 7)
{
format(dialogss, sizeof(dialogss), "{4290FE}Nota total: {00FF00}%.1f\n", nota);
strcat(dialogss, dialogss);
}
else
{
format(dialogss, sizeof(dialogss), "{4290FE}Nota total: {00FF00}%.1f\n", nota);
strcat(dialogss, dialogss);
}
format(dialogss, sizeof(dialogss), "{4290FE}Atendimentos totais: {FFFF00}%d\n\n", AdminInfo[id][admin_atttotal]);
strcat(dialogss, dialogss);
nota = floatmul(floatdiv(Float:AdminInfo[id][admin_notassp], floatadd(Float:AdminInfo[id][admin_notassp], Float:AdminInfo[id][admin_attsp])), 10.0);
if(nota >= 7)
{
format(dialogss, sizeof(dialogss), "{4290FE}Nota semana passada: {00FF00}%.1f\n", nota);
strcat(dialogss, dialogss);
}
else
{
format(dialogss, sizeof(dialogss), "{4290FE}Nota semana passada: {00FF00}%.1f\n", nota);
strcat(dialogss, dialogss);
}
format(dialogss, sizeof(dialogss), "{4290FE}Atendimentos semana passada: {FFFF00}%d\n\n", AdminInfo[id][admin_attsp]);
strcat(dialogss, dialogss);
nota = floatmul(floatdiv(Float:AdminInfo[id][admin_notas], floatadd(Float:AdminInfo[id][admin_notas], Float:AdminInfo[id][admin_att])), 10.0);
if(nota >= 7)
{
format(dialogss, sizeof(dialogss), "{4290FE}Nota parcial na semana: {00FF00}%.1f\n", nota);
strcat(dialogss, dialogss);
}
else
{
format(dialogss, sizeof(dialogss), "{4290FE}Nota parcial na semana: {00FF00}%.1f\n", nota);
strcat(dialogss, dialogss);
}
format(dialogss, sizeof(dialogss), "{4290FE}Atendimentos parcial na semana: {FFFF00}%d\n\n", AdminInfo[id][admin_att]);
strcat(dialogss, dialogss);
format(dialogss, sizeof(dialogss), "{4290FE}Tempo jogando: {00FF00}%s\n", Convert(AdminInfo[id][admin_tempojogo]));
strcat(dialogss, dialogss);
format(dialogss, sizeof(dialogss), "{4290FE}Tempo ausente: {00FF00}%s\n\n", Convert(AdminInfo[id][admin_tempoafk]));
strcat(dialogss, dialogss);
if(CheckPermFull(playerid) && AdminInfo[id][admin_level] < PlayerInfo[playerid][pAdmin])
{
format(dialogss, sizeof(dialogss), "{4290FE}Senha administrativa: {00FF00}%s", Convert(AdminInfo[id][admin_tempoafk]));
strcat(dialogss, dialogss);
}
format(titulo, sizeof(titulo), "» {1E90FF}Servidor »{FFFFFF} %s", AdminInfo[id][admin_nome]);
ShowPlayerDialog(playerid, DIALOG_CONFSERVER_2, DIALOG_STYLE_MSGBOX, titulo, dialogss, "Limpar vaga", "Voltar");
}
else ReturnCommand(configserver);
}