{ $method->exe("campaign","view") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else} {literal} {/literal} {foreach from=$campaign item=campaign}

{if $form_validation} { $block->display("core:alert_fields") } {/if}

{if $campaign.served1 != 0 || $campaign.clicked1 != 0 || $campaign.file1 != ""} {/if} {if $campaign.served2 != 0 || $campaign.clicked2 != 0 || $campaign.file2 != ""} {/if} {if $campaign.served3 != 0 || $campaign.clicked3 != 0 || $campaign.file3 != ""} {/if} {if $campaign.served4 != 0 || $campaign.clicked4 != 0 || $campaign.file4 != ""} {/if} {if $campaign.served5 != 0 || $campaign.clicked5 != 0 || $campaign.file5 != ""} {/if} {if $campaign.served6 != 0 || $campaign.clicked6 != 0 || $campaign.file6 != ""} {/if} {if $campaign.served7 != 0 || $campaign.clicked7 != 0 || $campaign.file7 != ""} {/if} {if $campaign.served8 != 0 || $campaign.clicked8 != 0 || $campaign.file8 != ""} {/if} {if $campaign.served9 != 0 || $campaign.clicked9 != 0 || $campaign.file9 != ""} {/if} {if $campaign.served10 != 0 || $campaign.clicked10 != 0 || $campaign.file10 != ""} {/if} {if $campaign.served11 != 0 || $campaign.clicked11 != 0 || $campaign.file11 != ""} {/if} {if $campaign.served12 != 0 || $campaign.clicked12 != 0 || $campaign.file12 != ""} {/if}
{translate module=campaign} impressions {/translate}
{translate module=campaign} clicks {/translate}
{translate module=campaign} cost {/translate}
{translate module=campaign} conversion {/translate}
{translate module=campaign} add_one {/translate} {$campaign.served1|number_format} {$campaign.impressions_percentage1} {$campaign.clicked1|number_format} {$campaign.clicks_percentage1} {$list->format_currency_num($campaign.cost1,"")} {$campaign.ctr1}
{translate module=campaign} add_two {/translate} {$campaign.served2|number_format} {$campaign.impressions_percentage2} {$campaign.clicked2|number_format} {$campaign.clicks_percentage2} {$list->format_currency_num($campaign.cost2,"")} {$campaign.ctr2}
{translate module=campaign} add_three {/translate} {$campaign.served3|number_format} {$campaign.impressions_percentage3} {$campaign.clicked3|number_format} {$campaign.clicks_percentage3} {$list->format_currency_num($campaign.cost3,"")} {$campaign.ctr3}
{translate module=campaign} add_four {/translate} {$campaign.served4|number_format} {$campaign.impressions_percentage4} {$campaign.clicked4|number_format} {$campaign.clicks_percentage4} {$list->format_currency_num($campaign.cost4,"")} {$campaign.ctr4}
{translate module=campaign} add_five {/translate} {$campaign.served5|number_format} {$campaign.impressions_percentage5} {$campaign.clicked5|number_format} {$campaign.clicks_percentage5} {$list->format_currency_num($campaign.cost5,"")} {$campaign.ctr5}
{translate module=campaign} add_six {/translate} {$campaign.served6|number_format} {$campaign.impressions_percentage6} {$campaign.clicked6|number_format} {$campaign.clicks_percentage6} {$list->format_currency_num($campaign.cost6,"")} {$campaign.ctr6}
{translate module=campaign} add_seven {/translate} {$campaign.served7|number_format} {$campaign.impressions_percentage7} {$campaign.clicked7|number_format} {$campaign.clicks_percentage7} {$list->format_currency_num($campaign.cost7,"")} {$campaign.ctr7}
{translate module=campaign} add_eight {/translate} {$campaign.served8|number_format} {$campaign.impressions_percentage8} {$campaign.clicked8|number_format} {$campaign.clicks_percentage8} {$list->format_currency_num($campaign.cost8,"")} {$campaign.ctr8}
{translate module=campaign} add_nine {/translate} {$campaign.served9|number_format} {$campaign.impressions_percentage9} {$campaign.clicked9|number_format} {$campaign.clicks_percentage9} {$list->format_currency_num($campaign.cost9,"")} {$campaign.ctr9}
{translate module=campaign} add_ten {/translate} {$campaign.served10|number_format} {$campaign.impressions_percentage10} {$campaign.clicked10|number_format} {$campaign.clicks_percentage10} {$list->format_currency_num($campaign.cost10,"")} {$campaign.ctr10}
{translate module=campaign} add_eleven {/translate} {$campaign.served11|number_format} {$campaign.impressions_percentage11} {$campaign.clicked11|number_format} {$campaign.clicks_percentage11} {$list->format_currency_num($campaign.cost11,"")} {$campaign.ctr11}
{translate module=campaign} add_twelve {/translate} {$campaign.served12|number_format} {$campaign.impressions_percentage12} {$campaign.clicked12|number_format} {$campaign.clicks_percentage12} {$list->format_currency_num($campaign.cost12,"")} {$campaign.ctr12}
{$campaign.impressions_total|number_format} {$campaign.clicks_total|number_format} {$campaign.clicks_percentage3} {$list->format_currency_num($campaign.budget,"")} {$campaign.ctr_avg}
{translate module=campaign}referred_invoices{/translate} {$campaign.invoices_referred} {translate module=campaign} referred_accounts {/translate} {$campaign.accounts_referred}
{translate module=campaign} revenue_generated {/translate} {$list->format_currency_num($campaign.invoices_revenue, "")} {translate module=campaign} avg_cpi {/translate} {$list->format_currency_num($campaign.cpi_avg, "")}
{translate module=campaign} avg_cost_conversion {/translate} {$list->format_currency_num($campaign.conversion_cost,"")} {translate module=campaign} avg_cpc {/translate} {$list->format_currency_num($campaign.cpc_avg,"")}
{translate module=campaign} avg_sale {/translate} {$list->format_currency_num($campaign.invoice_avg,"")} {translate module=campaign} impr_to_buy {/translate} {$campaign.impr_to_buy}
{translate module=campaign} roi {/translate} {$campaign.roi} {translate module=campaign} click_to_buy {/translate} {$campaign.click_to_buy}


{translate module=campaign} title_view {/translate}
{translate module=campaign} field_date_orig {/translate} {$list->date_time($campaign.date_orig)}
{translate module=campaign} field_date_last {/translate} {$list->date_time($campaign.date_last)}
{translate module=campaign} field_date_start {/translate} { $list->calender_view("campaign_date_start", $campaign.date_start, "form_field", $campaign.id) }
{translate module=campaign} field_date_expire {/translate} { $list->calender_view("campaign_date_expire", $campaign.date_expire, "form_field", $campaign.id) }
{translate module=campaign} field_status {/translate} { $list->bool("campaign_status", $campaign.status, "form_menu") }
{translate module=campaign} field_name {/translate}
{translate module=campaign} field_description {/translate}
{translate module=campaign} field_budget {/translate}
{translate module=campaign} field_url {/translate}
 

{if $campaign.file1 != ""} {/if}
{translate module=campaign} add_one {/translate}




{if $campaign.file2 != ""} {/if}
{translate module=campaign} add_two {/translate}

{translate module=campaign} delete_file {/translate}


{if $campaign.file3 != ""} {/if}
{translate module=campaign} add_three {/translate}

{translate module=campaign} delete_file {/translate}


{if $campaign.file4 != ""} {/if}
{translate module=campaign} add_four {/translate}

{translate module=campaign} delete_file {/translate}



{if $campaign.file5 != ""} {/if}
{translate module=campaign} add_five {/translate}


{translate module=campaign} delete_file {/translate}


{if $campaign.file6 != ""} {/if}
{translate module=campaign} add_six {/translate}


{translate module=campaign} delete_file {/translate}


{if $campaign.file7 != ""} {/if}
{translate module=campaign} add_seven {/translate}


{translate module=campaign} delete_file {/translate}


{if $campaign.file8 != ""} {/if}
{translate module=campaign} add_eight {/translate}


{translate module=campaign} delete_file {/translate}


{if $campaign.file9 != ""} {/if}
{translate module=campaign} add_nine {/translate}


{translate module=campaign} delete_file {/translate}


{if $campaign.file10 != ""} {/if}
{translate module=campaign} add_ten {/translate}


{translate module=campaign} delete_file {/translate}


{if $campaign.file11 != ""} {/if}
{translate module=campaign} add_eleven {/translate}


{translate module=campaign} delete_file {/translate}


{if $campaign.file12 != ""} {/if}
{translate module=campaign} add_twelve {/translate}

{translate module=campaign} delete_file {/translate}


 


{translate module=campaign} random_code {/translate}


 

{/foreach} {/if}