All Downloads are FREE. Search and download functionalities are using the official Maven repository.

serposcope.views.google.GoogleSearchController.search.ftl.html Maven / Gradle / Ivy

<#-- @ftlvariable name="serp" type="com.serphacker.serposcope.models.google.GoogleSerp" -->
<#import "../google.ftl.html" as layout>
<#function position current previous days>
    <#if previous != 0>
        <#assign class = "">
        
        <#if (previous > current) >
            <#assign class = 'class="diff-plus"'>
        <#elseif (previous <  current)>
            <#assign class = 'class="diff-minus"'>
        
        
        <#return '${previous}' >
    <#else>
    <#return '-' >
    

<@layout.googleLayout search.getKeyword()>

<#if user.isAdmin()>
<#if serp?? > <#list serp.entries as entry>
# URL [<#if serp??>${serp.getRunDay().toLocalDate()}] | TOP 10 | D-1 D-7 D-30 D-90
${entry_index + 1} <#assign foundTarget = false> <#list targets as target> <#if target.match(entry.url) > <#assign foundTarget = true > <#assign theTarget = target > <#break> <#if foundTarget > <#else> <#if user.isAdmin()> <#else> ${entry.getUnicodeUrl()} <#noescape>${position(entry_index + 1, entry.map?api.get(1), 1)} <#noescape>${position(entry_index + 1, entry.map?api.get(7), 7)} <#noescape>${position(entry_index + 1, entry.map?api.get(30), 30)} <#noescape>${position(entry_index + 1, entry.map?api.get(90), 90)} <#if foundTarget && bestRankings?api.get(theTarget.id)??> <#assign best = bestRankings?api.get(theTarget.id)> ${best.rank} <#else> -
<#include "../../helpers/new-target.ftl.html" /> <#include "../../helpers/add-event-modal.ftl.html" >




© 2015 - 2025 Weber Informatics LLC | Privacy Policy