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"'>
#if>
<#return '${previous}' >
<#else>
<#return '-' >
#if>
#function>
<@layout.googleLayout search.getKeyword()>
#
URL [<#if serp??>${serp.getRunDay().toLocalDate()}#if>]
|
TOP 10
|
D-1
D-7
D-30
D-90
<#if serp?? >
<#list serp.entries as entry>
${entry_index + 1}
<#noescape>${position(entry_index + 1, entry.map?api.get(1), 1)}#noescape>
<#noescape>${position(entry_index + 1, entry.map?api.get(7), 7)}#noescape>
<#noescape>${position(entry_index + 1, entry.map?api.get(30), 30)}#noescape>
<#noescape>${position(entry_index + 1, entry.map?api.get(90), 90)}#noescape>
<#if foundTarget && bestRankings?api.get(theTarget.id)??>
<#assign best = bestRankings?api.get(theTarget.id)>
${best.rank}
<#else>
-
#if>
#list>
#if>
<#include "../../helpers/new-target.ftl.html" />
<#include "../../helpers/add-event-modal.ftl.html" >
@>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy