{assign var="statistic_url" value="/direct/statistic/index/"}{assign var="statistic_name" value="Клики"} {if empty($DATA.PARAM.phrase)}

График ставок

{include file='statistic_price_filter.html'}
Необходимо выбрать клиента, кампанию, группу и фразу
{else}

График изменения ставок - №{$DATA.FILTER.SELECT.PHRASE.id} - {$DATA.FILTER.SELECT.PHRASE.name}

{include file='statistic_price_filter.html'}

Средние значения ставок - №{$DATA.FILTER.SELECT.PHRASE.id} - {$DATA.FILTER.SELECT.PHRASE.name}

Кол-во Ставка 1 2 3 4 5 6 7 Цена клика 1 2 3 4 5 6 7 Позиция
Avg {$DATA.ANALIZE.count} {$DATA.ANALIZE.price|round:2} {$DATA.ANALIZE.position1|round:2} {$DATA.ANALIZE.position2|round:2} {$DATA.ANALIZE.position3|round:2} {$DATA.ANALIZE.position4|round:2} {$DATA.ANALIZE.position5|round:2} {$DATA.ANALIZE.position6|round:2} {$DATA.ANALIZE.position7|round:2} {$DATA.ANALIZE.real_price|round:2} {$DATA.ANALIZE.price1|round:2} {$DATA.ANALIZE.price2|round:2} {$DATA.ANALIZE.price3|round:2} {$DATA.ANALIZE.price4|round:2} {$DATA.ANALIZE.price5|round:2} {$DATA.ANALIZE.price6|round:2} {$DATA.ANALIZE.price7|round:2} {if $DATA.ANALIZE.position>0 AND $DATA.ANALIZE.position<=3}{$DATA.ANALIZE.position}{elseif $DATA.ANALIZE.position>3}{$DATA.ANALIZE.position}{else}{$DATA.ANALIZE.position}{/if}
Max {$DATA.ANALIZE.MAX.price|round:2} {$DATA.ANALIZE.MAX.position1|round:2} {$DATA.ANALIZE.MAX.position2|round:2} {$DATA.ANALIZE.MAX.position3|round:2} {$DATA.ANALIZE.MAX.position4|round:2} {$DATA.ANALIZE.MAX.position5|round:2} {$DATA.ANALIZE.MAX.position6|round:2} {$DATA.ANALIZE.MAX.position7|round:2} {$DATA.ANALIZE.MAX.real_price|round:2} {$DATA.ANALIZE.MAX.price1|round:2} {$DATA.ANALIZE.MAX.price2|round:2} {$DATA.ANALIZE.MAX.price3|round:2} {$DATA.ANALIZE.MAX.price4|round:2} {$DATA.ANALIZE.MAX.price5|round:2} {$DATA.ANALIZE.MAX.price6|round:2} {$DATA.ANALIZE.MAX.price7|round:2} {if $DATA.ANALIZE.MAX.position>0 AND $DATA.ANALIZE.MAX.position<=3}{$DATA.ANALIZE.MAX.position}{elseif $DATA.ANALIZE.MAX.position>3}{$DATA.ANALIZE.MAX.position}{else}{$DATA.ANALIZE.MAX.position}{/if}
Min {$DATA.ANALIZE.MIN.price|round:2} {$DATA.ANALIZE.MIN.position1|round:2} {$DATA.ANALIZE.MIN.position2|round:2} {$DATA.ANALIZE.MIN.position3|round:2} {$DATA.ANALIZE.MIN.position4|round:2} {$DATA.ANALIZE.MIN.position5|round:2} {$DATA.ANALIZE.MIN.position6|round:2} {$DATA.ANALIZE.MIN.position7|round:2} {$DATA.ANALIZE.MIN.real_price|round:2} {$DATA.ANALIZE.MIN.price1|round:2} {$DATA.ANALIZE.MIN.price2|round:2} {$DATA.ANALIZE.MIN.price3|round:2} {$DATA.ANALIZE.MIN.price4|round:2} {$DATA.ANALIZE.MIN.price5|round:2} {$DATA.ANALIZE.MIN.price6|round:2} {$DATA.ANALIZE.MIN.price7|round:2} {if $DATA.ANALIZE.MIN.position>0 AND $DATA.ANALIZE.MIN.position<=3}{$DATA.ANALIZE.MIN.position}{elseif $DATA.ANALIZE.MIN.position>3}{$DATA.ANALIZE.MIN.position}{else}{$DATA.ANALIZE.MIN.position}{/if}

Лог ставок - №{$DATA.FILTER.SELECT.PHRASE.id} - {$DATA.FILTER.SELECT.PHRASE.name}

{include file='statistic_price_filter.html'}
{foreach from=$DATA.STATISTIC.ELEMENT item=ELEMENT} {/foreach}
Дата Ставка 1 2 3 4 5 6 7 Цена клика 1 2 3 4 5 6 7 Позиция
{$ELEMENT.datetime} {$ELEMENT.price|round:2} {$ELEMENT.position1|round:2} {$ELEMENT.position2|round:2} {$ELEMENT.position3|round:2} {$ELEMENT.position4|round:2} {$ELEMENT.position5|round:2} {$ELEMENT.position6|round:2} {$ELEMENT.position7|round:2} {$ELEMENT.real_price|round:2} {$ELEMENT.price1|round:2} {$ELEMENT.price2|round:2} {$ELEMENT.price3|round:2} {$ELEMENT.price4|round:2} {$ELEMENT.price5|round:2} {$ELEMENT.price6|round:2} {$ELEMENT.price7|round:2} {if $ELEMENT.position>0 AND $ELEMENT.position<=3}{$ELEMENT.position}{elseif $ELEMENT.position>3}{$ELEMENT.position}{else}{$ELEMENT.position}{/if}
{if !empty($DATA.STATISTIC.PAGE.pages) AND $DATA.STATISTIC.PAGE.pages>1}
{/if}
{include file='statistic_export_button.html'}

{/if}