Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
addcpm-json
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Александр Чаплыгин
addcpm-json
Commits
b45dd1fa
Commit
b45dd1fa
authored
Apr 07, 2020
by
Александр Чаплыгин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавил поля Заказы и Доход в данные статистик
parent
152e37c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
campaign_item.phtml
src/templates/app/user/campaign_item.phtml
+6
-2
campaigns_list.phtml
src/templates/app/user/campaigns_list.phtml
+9
-3
No files found.
src/templates/app/user/campaign_item.phtml
View file @
b45dd1fa
...
@@ -343,9 +343,11 @@ if (!$error) {
...
@@ -343,9 +343,11 @@ if (!$error) {
<th><span
class=
"sort"
>
Показы
</span></th>
<th><span
class=
"sort"
>
Показы
</span></th>
<th><span
class=
"sort"
>
Клики
</span></th>
<th><span
class=
"sort"
>
Клики
</span></th>
<th><span
class=
"sort"
>
CTR
</span></th>
<th><span
class=
"sort"
>
CTR
</span></th>
<th><span
class=
"sort"
>
Расход
</span></th>
<th><span
class=
"sort"
>
eCPM
</span></th>
<th><span
class=
"sort"
>
eCPM
</span></th>
<th><span
class=
"sort"
>
eCPC
</span></th>
<th><span
class=
"sort"
>
eCPC
</span></th>
<th><span
class=
"sort"
>
Расход
</span></th>
<th><span
class=
"sort"
>
Заказы
</span></th>
<th><span
class=
"sort"
>
Доход
</span></th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -359,9 +361,11 @@ if (!$error) {
...
@@ -359,9 +361,11 @@ if (!$error) {
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'views'
]
?>
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'views'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'clicks'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'clicks'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'ctr'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'ctr'
]
?>
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
formatMoney
(
$stat
[
'money'
])
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpm'
]
?>
₴
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpm'
]
?>
₴
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpc'
]
?>
₴
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpc'
]
?>
₴
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
formatMoney
(
$stat
[
'money'
])
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'order_cnt'
]
?>
</td>
<td
class=
"stat"
>
<?=
formatMoney
(
$stat
[
'order_money'
])
?>
</td>
</tr>
</tr>
<?php
endforeach
?>
<?php
endforeach
?>
<?php
endif
?>
<?php
endif
?>
...
...
src/templates/app/user/campaigns_list.phtml
View file @
b45dd1fa
...
@@ -83,10 +83,12 @@ $error = $this->error;
...
@@ -83,10 +83,12 @@ $error = $this->error;
<th
class=
"stat"
>
Показы
</th>
<th
class=
"stat"
>
Показы
</th>
<th
class=
"stat"
>
Клики
</th>
<th
class=
"stat"
>
Клики
</th>
<th
class=
"stat"
>
CTR
</th>
<th
class=
"stat"
>
CTR
</th>
<th
class=
"stat"
>
Расход
</th>
<th
class=
"stat"
>
Охват
</th>
<th
class=
"stat"
>
Охват
</th>
<th
class=
"stat"
>
eCPM
</th>
<th
class=
"stat"
>
eCPM
</th>
<th
class=
"stat"
>
eCPC
</th>
<th
class=
"stat"
>
eCPC
</th>
<th
class=
"stat"
>
Расход
</th>
<th
class=
"stat"
>
Заказы
</th>
<th
class=
"stat"
>
Доход
</th>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -114,10 +116,12 @@ $error = $this->error;
...
@@ -114,10 +116,12 @@ $error = $this->error;
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'views'
]
?>
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'views'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'clicks'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'clicks'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'ctr'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'ctr'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'money'
]
?>
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'reach'
]
?>
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'reach'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpm'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpm'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpc'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpc'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'money'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'order_cnt'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'order_money'
]
?>
</td>
</tr>
</tr>
<?php
if
(
$groups_campaigns
[
$group_id
])
:
?>
<?php
if
(
$groups_campaigns
[
$group_id
])
:
?>
...
@@ -172,10 +176,12 @@ $error = $this->error;
...
@@ -172,10 +176,12 @@ $error = $this->error;
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'views'
]
?>
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'views'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'clicks'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'clicks'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'ctr'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'ctr'
]
?>
</td>
<td
class=
"stat"
>
<?=
formatMoney
(
$stat
[
'money'
])
?>
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'reach'
]
?>
</td>
<td
class=
"stat
<?=
$target_class
?>
"
>
<?=
$stat
[
'reach'
]
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpm'
]
?>
₴
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpm'
]
?>
₴
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpc'
]
?>
₴
</td>
<td
class=
"stat"
>
<?=
$stat
[
'cpc'
]
?>
₴
</td>
<td
class=
"stat"
>
<?=
formatMoney
(
$stat
[
'money'
])
?>
</td>
<td
class=
"stat"
>
<?=
$stat
[
'order_cnt'
]
?>
</td>
<td
class=
"stat"
>
<?=
formatMoney
(
$stat
[
'order_money'
])
?>
</td>
</tr>
</tr>
<?php
endforeach
;
?>
<?php
endforeach
;
?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment