Regalamiunsorriso/rus/admin/config/_inc_users_log.jsp
2026-03-14 20:04:39 +01:00

56 lines
2.2 KiB
Text

<%@ taglib uri="/WEB-INF/ablia.tld" prefix="ab" %>
<%@ page language="java" import="com.ablia.jsp.*" %>
<%-- DICHIARAZIONE BEAN --%>
<jsp:useBean id="nf" scope="request" type="java.text.NumberFormat" >
</jsp:useBean>
<jsp:useBean id="df" class="com.ablia.util.SimpleDateFormat" scope="request" type="com.ablia.util.SimpleDateFormat" >
</jsp:useBean>
<jsp:useBean id="bean" class="com.ablia.anag.Users" type="com.ablia.anag.Users" scope="request" >
</jsp:useBean>
<jsp:useBean id="utenteLogon" type="com.ablia.common.UsersI" class="com.ablia.common.Users" scope="session" >
</jsp:useBean>
<%-- FINE DICHIARAZIONE BEAN --%>
<ab:if wherecondition="<%=bean.getDBState()==0%>">
<h1>Per inserire gli allegati devi prima salvare il record principale</h1>
</ab:if>
<ab:else>
<div class="row">
<div class="col-lg-12">
<div class="box">
<div class="box-body">
<div class="row">
<div class="col-lg-3">
<ab:if wherecondition="<%=utenteLogon.getId_userProfile()==1%>"><a class="btn btn-success btn-associative" href="javascript:delLog();">Cancella Log</a></ab:if>
&nbsp;</div>
</div>
<div class="row">
<div class="col-lg-12">&nbsp;</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="table-responsive">
<table class="table table-bordered table-hover table-striped dataTable">
<thead>
<tr>
<th align="left" width="12%">Data</th>
<th align="left" width="65%">Descrizione</th>
<th width="23%">Indirizzo IP </th>
</tr>
</thead>
<ab:whilevec rowbeanclass="com.ablia.log.Log" vectumerator="listaLog">
<tr>
<td align="left" width="12%"><%=df.format(rowBean.getDataLog())%></td>
<td width="65%"><%=rowBean.getDescrizioneCompleta()%></td>
<td width="23%"><%=rowBean.getIpAddress()%></td>
</tr>
</ab:whilevec>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</ab:else>