2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
|
|
|
<vn-param id="user">
|
2015-07-28 19:14:26 +00:00
|
|
|
<vn-hash-param key="user"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</vn-param>
|
|
|
|
<db-form id="user-form">
|
2015-03-27 19:10:49 +00:00
|
|
|
<db-model>
|
2015-03-06 23:33:54 +00:00
|
|
|
SELECT Id_Cliente, Cliente, Telefono, movil
|
|
|
|
FROM vn2008.Clientes WHERE Id_Cliente = #user
|
|
|
|
<sql-batch property="batch">
|
|
|
|
<item name="user" param="user"/>
|
|
|
|
</sql-batch>
|
|
|
|
</db-model>
|
|
|
|
</db-form>
|
|
|
|
</vn-group>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>AccessLog</t></h1>
|
|
|
|
</div>
|
2015-03-06 23:33:54 +00:00
|
|
|
<div id="form" class="access-log">
|
|
|
|
<div class="box">
|
|
|
|
<table class="form">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="label">
|
|
|
|
<label><t>UserNumber:</t></label>
|
|
|
|
</td>
|
|
|
|
<td>
|
2015-03-27 19:10:49 +00:00
|
|
|
<htk-text column="Id_Cliente" form="user-form"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="label">
|
|
|
|
<label><t>User:</t></label>
|
|
|
|
</td>
|
|
|
|
<td>
|
2015-03-27 19:10:49 +00:00
|
|
|
<htk-text column="Cliente" form="user-form"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="label">
|
|
|
|
<label><t>Phone:</t></label>
|
|
|
|
</td>
|
|
|
|
<td>
|
2015-03-27 19:10:49 +00:00
|
|
|
<htk-text column="Telefono" form="user-form"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="label">
|
|
|
|
<label><t>Mobile:</t></label>
|
|
|
|
</td>
|
|
|
|
<td>
|
2015-03-27 19:10:49 +00:00
|
|
|
<htk-text column="movil" form="user-form"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div>
|
2015-03-27 19:10:49 +00:00
|
|
|
<htk-grid>
|
|
|
|
<db-model>
|
2015-03-06 23:33:54 +00:00
|
|
|
SELECT u.date_time, a.platform, a.browser, a.version, a.javascript, a.cookies
|
|
|
|
FROM visit_user u
|
|
|
|
JOIN visit_access c ON u.access_id = c.id
|
|
|
|
JOIN visit_agent a ON c.agent_id = a.id
|
|
|
|
WHERE u.user_id = #user
|
|
|
|
ORDER BY u.date_time DESC
|
|
|
|
LIMIT 30
|
|
|
|
<sql-batch property="batch">
|
|
|
|
<item name="user" param="user"/>
|
|
|
|
</sql-batch>
|
|
|
|
</db-model>
|
2015-03-09 08:36:54 +00:00
|
|
|
<htk-column-date title="_Access" column="date_time" format="_%a, %e %b %Y at %T"/>
|
|
|
|
<htk-column-text title="_SO" column="platform"/>
|
|
|
|
<htk-column-text title="_Browser" column="browser"/>
|
|
|
|
<htk-column-text title="_Version" column="version"/>
|
|
|
|
<htk-column-check title="_Javascript" column="javascript"/>
|
|
|
|
<htk-column-check title="_Cookies" column="cookies"/>
|
2015-03-06 23:33:54 +00:00
|
|
|
</htk-grid>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</vn>
|