⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 visitdetail.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
字号:
<#-- *  Copyright (c) 2003 The Open For Business Project - www.ofbiz.org * *  Permission is hereby granted, free of charge, to any person obtaining a *  copy of this software and associated documentation files (the "Software"), *  to deal in the Software without restriction, including without limitation *  the rights to use, copy, modify, merge, publish, distribute, sublicense, *  and/or sell copies of the Software, and to permit persons to whom the *  Software is furnished to do so, subject to the following conditions: * *  The above copyright notice and this permission notice shall be included *  in all copies or substantial portions of the Software. * *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *  THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author     Andy Zeneski (jaz@ofbiz.org) *@author     Olivier Heintz (olivier.heintz@nereide.biz) *@version    $Rev: 5462 $ *@since      2.2-->  <div class="head1">${uiLabelMap.PartyVisitDetail}</div>  <br/>  <table width="90%" border="0" cellpadding="2" cellspacing="0">    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyVisitIDSessionID}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">${visit.visitId?if_exists} / ${visit.sessionId?if_exists}</div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">Visitor ID</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">          ${visit.visitorId?default("Not Found")}        </div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyPartyIDUserLoginID}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">          <a href="<@ofbizUrl>viewprofile?partyId=${visit.partyId?if_exists}</@ofbizUrl>" class="buttontext">${visit.partyId?if_exists}</a> / <a href="<@ofbizUrl>viewprofile?partyId=${visit.partyId?if_exists}</@ofbizUrl>" class="buttontext">${visit.userLoginId?if_exists}</a>        </div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyUserCreated}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">${visit.userCreated?if_exists}</div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyWebApp}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">${visit.webappName?if_exists}</div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyServer}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">          <a href="http://uptime.netcraft.com/up/graph/?site=${visit.serverIpAddress?if_exists}" class="buttontext" target="_blank">${visit.serverIpAddress?if_exists}</a> / <a href="http://uptime.netcraft.com/up/graph/?site=${visit.serverIpAddress?if_exists}" class="buttontext" target="_blank">${visit.serverHostName?if_exists}</a>        </div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyClient}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">          <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=${visit.clientIpAddress?if_exists}" class="buttontext" target="_blank">${visit.clientIpAddress?if_exists}</a> / <a href="http://www.networksolutions.com/cgi-bin/whois/whois?STRING=${visit.clientHostName?if_exists}&SearchType=do" class="buttontext" target="_blank">${visit.clientHostName?if_exists}</a>        </div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyClientUser}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">${visit.clientUser?if_exists}</div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyInitialLocale}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">${visit.initialLocale?if_exists}</div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyInitialRequest}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <a href="${visit.initialRequest?if_exists}" class="buttontext">${visit.initialRequest?if_exists}</a>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyInitialReferer}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <a href="${visit.initialReferrer?if_exists}" class="buttontext">${visit.initialReferrer?if_exists}</a>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyInitialUserAgent}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">${visit.initialUserAgent?if_exists}</div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.PartyCookie}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">${visit.cookie?if_exists}</div>      </td>    </tr>    <tr>      <td width="26%" align="right"><div class="tableheadtext">${uiLabelMap.CommonFromDateThruDate}</div></td>      <td width="5">:&nbsp;</td>      <td width="74%" align="left">        <div class="tabletext">${(visit.fromDate?string)?if_exists} / ${(visit.thruDate?string)?default("["+uiLabelMap.PartyStillActive+"]")}</div>      </td>    </tr>  </table>  <br/>  <div class="head1">${uiLabelMap.PartyHitTracker}</div>  <br/>  <#if serverHits?has_content>    <table border="0" width="100%" cellpadding="2">      <tr>        <td align="right">          <b>            <#if 0 < viewIndex>              <a href="<@ofbizUrl>visitdetail?visitId=${visitId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex-1}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonPrevious}]</a> |            </#if>            <#if 0 < listSize>              <span class="tabletext">${lowIndex+1} - ${highIndex} of ${listSize}</span>            </#if>            <#if highIndex < listSize>              | <a href="<@ofbizUrl>visitdetail?visitId=${visitId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex+1}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonNext}]</a>            </#if>          </b>        </td>      </tr>    </table>  </#if>  <table width="100%" border="0" cellpadding="2" cellspacing="0">    <tr>      <td><div class="tableheadtext">${uiLabelMap.PartyContentId}</div></td>      <td><div class="tableheadtext">${uiLabelMap.PartyType}</div></td>      <td><div class="tableheadtext">${uiLabelMap.PartySize}</div></td>      <td><div class="tableheadtext">${uiLabelMap.PartyStartTime}</div></td>      <td><div class="tableheadtext">${uiLabelMap.PartyTime}</div></td>      <td><div class="tableheadtext">${uiLabelMap.PartyURI}</div></td>    </tr>    <tr>      <td colspan="6"><hr class="sepbar"></td>    </tr>    <#-- set initial row color -->    <#assign rowClass = "viewManyTR2">    <#list serverHits[lowIndex..highIndex-1] as hit>      <tr class="${rowClass}">        <td><div class="tabletext">${hit.contentId?if_exists}</div></td>        <td><div class="tabletext">${hit.hitTypeId?if_exists}</div></td>        <td><div class="tabletext">&nbsp;&nbsp;${hit.numOfBytes?default("?")}</div></td>        <td><div class="tabletext">${hit.hitStartDateTime?string?if_exists}</div></td>        <td><div class="tabletext">&nbsp;&nbsp;${hit.runningTimeMillis?if_exists}</div></td>        <td>          <#assign url = (hit.requestUrl)?if_exists>          <#if url?exists>            <#assign len = url?length>            <#if 45 < len>              <#assign url = url[0..45] + "...">            </#if>          </#if>          <a href="${hit.requestUrl?if_exists}" class="buttontext" target="_blank">${url}</a>        </td>      </tr>      <#-- toggle the row color -->      <#if rowClass == "viewManyTR2">        <#assign rowClass = "viewManyTR1">      <#else>        <#assign rowClass = "viewManyTR2">      </#if>    </#list>  </table>  <#if serverHits?has_content>    <table border="0" width="100%" cellpadding="2">      <tr>        <td align="right">          <b>            <#if 0 < viewIndex>              <a href="<@ofbizUrl>visitdetail?visitId=${visitId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex-1}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonPrevious}]</a> |            </#if>            <#if 0 < listSize>              <span class="tabletext">${lowIndex+1} - ${highIndex} of ${listSize}</span>            </#if>            <#if highIndex < listSize>              | <a href="<@ofbizUrl>visitdetail?visitId=${visitId}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex+1}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonNext}]</a>            </#if>          </b>        </td>      </tr>    </table>  </#if>  <#if security.hasPermission("SEND_CONTROL_APPLET", session)>    <br/>    <div class="head1">${uiLabelMap.PartyPagePushFollowing}</div>    <br/>    <table border="0" cellpadding="5" cellspacing="5">      <form name="pushPage" method="get" action="<@ofbizUrl>pushPage</@ofbizUrl>">        <tr>          <td><div class="tableheadtext">${uiLabelMap.PartyPushURL}</div></td>          <td>            <input type="hidden" name="followerSid" value="${visit.sessionId}">            <input type="hidden" name="visitId" value="${visit.visitId}">            <input type="input" name="pageUrl" class="inputBox">          </td>          <td><input type="submit" value="${uiLabelMap.CommonSubmit}" class="smallSubmit"></td>        </tr>        <tr>          <td colspan="3"><hr class="sepbar"></td>        </tr>      </form>      <form name="setFollower" method="get" action="<@ofbizUrl>setAppletFollower</@ofbizUrl>">        <tr>          <td><div class="tableheadtext">${uiLabelMap.PartyFollowSession}</div></td>          <td>            <input type="hidden" name="followerSid" value="${visit.sessionId}">            <input type="hidden" name="visitId" value="${visit.visitId}">            <input type="text" name="followSid" class="inputBox">          </td>          <td><input type="submit" value="${uiLabelMap.CommonSubmit}" class="smallSubmit"></td>        </tr>      </form>    </table>  </#if>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -