-
Notifications
You must be signed in to change notification settings - Fork 5
/
sitebanner_ad.php
executable file
·163 lines (108 loc) · 2.68 KB
/
sitebanner_ad.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
; <?php /*
[Collection]
name = sitebanner_ad
app = sitebanner
display = Banner Ads
singular = Banner Ad
key_field = id
title_field = name
[Source]
name = Database
[Store]
name = Blank
[browse:stats]
header = ""
width = 5%
align = center
filter_import = sitebanner.Filters
virtual = sitebanner_virtual_stats
[browse:name]
header = Name
width = 18%
[browse:client]
header = Client
width = 25%
filter_import = sitebanner.Filters
filter = sitebanner_filter_client
[browse:impressions]
header = Impressions
width = 8%
align = right
filter_import = sitebanner.Filters
filter = sitebanner_filter_impressions
[browse:purchased]
header = Remaining
width = 8%
align = right
filter_import = sitebanner.Filters
filter = sitebanner_filter_purchased
[browse:clicks]
header = Clicks
width = 8%
align = right
filter_import = sitebanner.Filters
virtual = sitebanner_virtual_clicks
[browse:clicks_percent]
header = %
width = 8%
align = right
filter_import = sitebanner.Filters
virtual = sitebanner_virtual_clicks_percent
[browse:active]
header = Active
width = 8%
filter = ucwords
[facet:client]
type = select
display = Client
values = "db_shift_array ('select distinct client from sitebanner_ad order by client asc')"
[facet:active]
type = select
display = Active
values = "array ('yes' => 'Yes', 'no' => 'No')"
[facet:section]
type = select
display = Section
values = "loader_call ('sitebanner.MenuSections', 'menu_get_sections')"
[hint:name]
alt = Ad Name
rule 1 = not empty, You must enter a name for your ad.
[hint:purchased]
type = text
alt = "Purchased Impressions (-1 for unlimited)"
[hint:impressions]
type = hidden
[hint:url]
alt = URL
extra = "size='40'"
[hint:description]
type = textarea
cols = 40
rows = 2
labelPosition = left
[hint:client]
type = select
setValues = "eval: db_pairs ('select username, concat(role, ` - `, lastname, ` `, firstname, ` (`, username, `)`) as name from sitellite_user order by name asc')"
[hint:display_url]
alt = Alternate Text
extra = "size='40'"
[hint:file]
type = sitebanner.Widgets.Shapeshifter
[hint:section]
type = multiple
size = 5
alt = Display in Sections
setValues = "eval: array_merge (array ('' => '- ALL -'), loader_call ('sitebanner.MenuSections', 'menu_get_sections'))"
[hint:position]
type = selector
alt = Screen Position
table = sitebanner_position
key = name
[hint:active]
alt = "Is Active?"
[hint:format]
setValues = "eval: array ('external' => 'External Link', 'adsense' => 'Google(TM) AdSense', 'html' => 'HTML', 'image' => 'Image', 'text' => 'Text')"
extra = "onchange='this.form.submit ()'";
[hint:target]
setValues = "eval: array ('blank' => 'New Window', 'parent' => 'Parent Frame', 'self' => 'Same Frame', 'top' => 'Top Frame')"
; */ ?>