Version Description
- Added Russian language.
- Fix problem in count views.
- Added more filter for check spider.
- Optimize plugin.
Download this release
Release Info
Developer | mostafa.s1990 |
Plugin | WP Statistics |
Version | 2.2.8 |
Comparing to | |
See all releases |
Code changes from version 2.2.7 to 2.2.8
- actions.php +1 -2
- langs/{wp_statistics-ar_AR.mo → wp_statistics-ar.mo} +0 -0
- langs/{wp_statistics-ar_AR.po → wp_statistics-ar.po} +0 -0
- langs/wp_statistics-fa_IR.mo +0 -0
- langs/wp_statistics-fa_IR.po +220 -201
- langs/wp_statistics-ru_RU.mo +0 -0
- langs/wp_statistics-ru_RU.po +674 -0
- readme.txt +15 -2
- report_problem.php → report-problem.php +9 -7
- setting/setting.php +362 -0
- setting/stats.php +52 -0
- setting/useronline.php +54 -0
- uninstall.php +1 -2
- widget.php +23 -44
- wp-statistics.php +108 -645
actions.php
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
<?php
|
2 |
require('../../../wp-load.php');
|
3 |
-
if(is_super_admin())
|
4 |
-
{
|
5 |
global $wpdb, $table_prefix;
|
6 |
|
7 |
$increase_value = $_REQUEST['increase_value'];
|
1 |
<?php
|
2 |
require('../../../wp-load.php');
|
3 |
+
if(is_super_admin()) {
|
|
|
4 |
global $wpdb, $table_prefix;
|
5 |
|
6 |
$increase_value = $_REQUEST['increase_value'];
|
langs/{wp_statistics-ar_AR.mo → wp_statistics-ar.mo}
RENAMED
File without changes
|
langs/{wp_statistics-ar_AR.po → wp_statistics-ar.po}
RENAMED
File without changes
|
langs/wp_statistics-fa_IR.mo
CHANGED
Binary file
|
langs/wp_statistics-fa_IR.po
CHANGED
@@ -2,9 +2,9 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wp-statistics\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-
|
6 |
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator: Mostafa
|
8 |
"Language-Team: <mat404@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -16,646 +16,665 @@ msgstr ""
|
|
16 |
"X-Poedit-SearchPath-0: F:\\Program Files\\xampp\\htdocs\\wordpress\\wp-content\\plugins\\wp-statistics\n"
|
17 |
|
18 |
#: F:\Program
|
19 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:
|
20 |
msgid "Added"
|
21 |
msgstr "مقدار"
|
22 |
|
23 |
#: F:\Program
|
24 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:
|
25 |
msgid "value"
|
26 |
msgstr "افزوده شد"
|
27 |
|
28 |
#: F:\Program
|
29 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:
|
30 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:
|
31 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
32 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
33 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
34 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
35 |
msgid "Total Visit"
|
36 |
msgstr "کل بازدیدها"
|
37 |
|
38 |
#: F:\Program
|
39 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:
|
40 |
msgid "Was"
|
41 |
msgstr "مقدار"
|
42 |
|
43 |
#: F:\Program
|
44 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:
|
45 |
msgid "low value"
|
46 |
msgstr "کم شد"
|
47 |
|
48 |
#: F:\Program
|
49 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:
|
50 |
msgid "Please Enter value!"
|
51 |
msgstr "لطفا مقداری را وارد کنید!"
|
52 |
|
53 |
#: F:\Program
|
54 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:
|
55 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
56 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:
|
57 |
msgid "Access is Denied!"
|
58 |
msgstr "دسترسی غیرمجاز!"
|
59 |
|
60 |
#: F:\Program
|
61 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
62 |
msgid "Thanks for your report!"
|
63 |
msgstr "با تشکر از گزارش شما!"
|
64 |
|
65 |
#: F:\Program
|
66 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
|
|
|
|
|
|
|
|
|
|
67 |
msgid "Error! Please Enter all field"
|
68 |
msgstr "خطا! لطفا همه فیلدها را پرکنید"
|
69 |
|
70 |
#: F:\Program
|
71 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:
|
72 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:
|
73 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:
|
74 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:
|
75 |
msgid "deleted!"
|
76 |
msgstr "پاکشد!"
|
77 |
|
78 |
#: F:\Program
|
79 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:
|
80 |
msgid "All plugin data is deleted"
|
81 |
msgstr "تمامی اطلاعات افزونه پاک شد"
|
82 |
|
83 |
#: F:\Program
|
84 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:
|
85 |
msgid "Disable plugin"
|
86 |
msgstr "افزونه را غیرفعال کنید."
|
87 |
|
88 |
#: F:\Program
|
89 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:
|
90 |
msgid "plugin options have been deleted"
|
91 |
msgstr "گزینههای افزونه قبلا پاک شدهاند"
|
92 |
|
93 |
#: F:\Program
|
94 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
95 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
96 |
msgid "WP-Statistics"
|
97 |
msgstr "آمارگیر"
|
98 |
|
99 |
#: F:\Program
|
100 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
101 |
msgid "Show site stats in sidebar"
|
102 |
msgstr "نمایش آمار سایت در ابزارک"
|
103 |
|
104 |
#: F:\Program
|
105 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
106 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
107 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
108 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
109 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
110 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:1020
|
111 |
msgid "User Online"
|
112 |
msgstr "کاربران حاضر"
|
113 |
|
114 |
#: F:\Program
|
115 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
116 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
117 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
118 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
119 |
msgid "Today Visit"
|
120 |
msgstr "بازدید امروز"
|
121 |
|
122 |
#: F:\Program
|
123 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
124 |
msgid "Yesterday Visit"
|
125 |
msgstr "بازدید دیروز"
|
126 |
|
127 |
#: F:\Program
|
128 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
129 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
130 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
131 |
msgid "Week Visit"
|
132 |
msgstr "بازدید هفته"
|
133 |
|
134 |
#: F:\Program
|
135 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
136 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
137 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
138 |
msgid "Month Visit"
|
139 |
msgstr "بازدید ماه"
|
140 |
|
141 |
#: F:\Program
|
142 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
143 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
144 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
145 |
msgid "Years Visit"
|
146 |
msgstr "بازدید سال"
|
147 |
|
148 |
#: F:\Program
|
149 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
150 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
151 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
152 |
msgid "Search Engine reffered"
|
153 |
msgstr "ورودی موتورهای جستجوگر"
|
154 |
|
155 |
#: F:\Program
|
156 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
157 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
158 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
159 |
msgid "Total Posts"
|
160 |
msgstr "کل نوشتهها"
|
161 |
|
162 |
#: F:\Program
|
163 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
164 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
165 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
166 |
msgid "Total Pages"
|
167 |
msgstr "کل برگهها"
|
168 |
|
169 |
#: F:\Program
|
170 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
171 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
172 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
173 |
msgid "Total Comments"
|
174 |
msgstr "کل دیدگاهها"
|
175 |
|
176 |
#: F:\Program
|
177 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
178 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
179 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
180 |
msgid "Total Spams"
|
181 |
msgstr "کل جفنگها"
|
182 |
|
183 |
#: F:\Program
|
184 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
185 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
186 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
187 |
msgid "Total Users"
|
188 |
msgstr "کل کاربرها"
|
189 |
|
190 |
#: F:\Program
|
191 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
192 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
193 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
194 |
msgid "Average Posts"
|
195 |
msgstr "میانگین نوشتهها"
|
196 |
|
197 |
#: F:\Program
|
198 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
199 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
200 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
201 |
msgid "Average Comments"
|
202 |
msgstr "میانگین دیدگاهها"
|
203 |
|
204 |
#: F:\Program
|
205 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
206 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
207 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
208 |
msgid "Average Users"
|
209 |
msgstr "میانگین کاربرها"
|
210 |
|
211 |
#: F:\Program
|
212 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
213 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
214 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
215 |
msgid "Last Post Date"
|
216 |
msgstr "تاریخ بهروزشدن سایت"
|
217 |
|
218 |
#: F:\Program
|
219 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
220 |
msgid "Name"
|
221 |
msgstr "نام"
|
222 |
|
223 |
#: F:\Program
|
224 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
225 |
msgid "Items"
|
226 |
msgstr "آیتمها"
|
227 |
|
228 |
#: F:\Program
|
229 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
230 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
231 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
232 |
msgid "Yesterday visit"
|
233 |
msgstr "بازدید دیروز"
|
234 |
|
235 |
#: F:\Program
|
236 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
237 |
msgid "Select type of search engine"
|
238 |
msgstr "انتخاب نوع موتورجستجو"
|
239 |
|
240 |
#: F:\Program
|
241 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
242 |
msgid "Google"
|
243 |
msgstr "گوگل"
|
244 |
|
245 |
#: F:\Program
|
246 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
247 |
msgid "Yahoo!"
|
248 |
msgstr "یاهو!"
|
249 |
|
250 |
#: F:\Program
|
251 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
252 |
msgid "Bing"
|
253 |
msgstr "بینگ"
|
254 |
|
255 |
#: F:\Program
|
256 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
257 |
msgid "All"
|
258 |
msgstr "همه"
|
259 |
|
260 |
#: F:\Program
|
261 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
262 |
msgid "Type date for last update"
|
263 |
msgstr "نوع تقویم برای آخرین بهروزرسانی"
|
264 |
|
265 |
#: F:\Program
|
266 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
267 |
msgid "English"
|
268 |
msgstr "میلادی"
|
269 |
|
270 |
#: F:\Program
|
271 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:
|
272 |
msgid "Persian"
|
273 |
msgstr "شمسی (فارسی)"
|
274 |
|
275 |
#: F:\Program
|
276 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
277 |
msgid "Plugin home page"
|
278 |
msgstr "خانهی افزونه"
|
279 |
|
280 |
#: F:\Program
|
281 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
282 |
#, php-format
|
283 |
msgid "WP-Statistics not enabled! Please go to <a href=\"%s\">setting page</a> and enable statistics"
|
284 |
msgstr "افزونه آمارگیر غیرفعال است! برای فعال کردن آن به <a href=\"%s\">صفحه تنظیمات</a> آمارگیر مراجعه کنید"
|
285 |
|
286 |
#: F:\Program
|
287 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
288 |
msgid "Statistics"
|
289 |
msgstr "آمار بازدید"
|
290 |
|
291 |
#: F:\Program
|
292 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
293 |
msgid "Settings"
|
294 |
msgstr "تنظیمات"
|
295 |
|
296 |
#: F:\Program
|
297 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
298 |
msgid "Stats Log"
|
299 |
msgstr "گزارش آمارها"
|
300 |
|
301 |
#: F:\Program
|
302 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
303 |
msgid "Users Online"
|
304 |
msgstr "کاربران حاضر"
|
305 |
|
306 |
#: F:\Program
|
307 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
308 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
309 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:
|
310 |
msgid "You do not have sufficient permissions to access this page."
|
311 |
msgstr "شما مجوز کافی برای مشاهدهی این قسمت را ندارید."
|
312 |
|
313 |
#: F:\Program
|
314 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
315 |
msgid "Are you sure?"
|
316 |
msgstr "آیا مطمئن هستید؟"
|
317 |
|
318 |
#: F:\Program
|
319 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
320 |
msgid "Configuration"
|
321 |
msgstr "پیکربندی"
|
322 |
|
323 |
#: F:\Program
|
324 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
325 |
msgid "Enable Statistics"
|
326 |
msgstr "آمارگیر فعال شود"
|
327 |
|
328 |
#: F:\Program
|
329 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
330 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
331 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
332 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
333 |
msgid "Yes"
|
334 |
msgstr "بله"
|
335 |
|
336 |
#: F:\Program
|
337 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
338 |
msgid "Statistics are enabled."
|
339 |
msgstr "آمارگیر فعال است."
|
340 |
|
341 |
#: F:\Program
|
342 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
343 |
msgid "Statistics are disabled!"
|
344 |
msgstr "آمارگیر غیرفعال است!"
|
345 |
|
346 |
#: F:\Program
|
347 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
348 |
msgid "General configuration"
|
349 |
msgstr "پیکربندی عمومی"
|
350 |
|
351 |
#: F:\Program
|
352 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
353 |
msgid "Show decimals number"
|
354 |
msgstr "نمایش اعداد بهصورت اعشاری"
|
355 |
|
356 |
#: F:\Program
|
357 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
358 |
msgid "Show number stats with decimal. For examle: 3,500"
|
359 |
msgstr "نمایش اعداد آمارگیر بهصورت اعشاری. برای مثال: 3،500"
|
360 |
|
361 |
#: F:\Program
|
362 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
363 |
msgid "Show stats in menu bar"
|
364 |
msgstr "نمایش آمار در منوبار"
|
365 |
|
366 |
#: F:\Program
|
367 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
368 |
msgid "Show stats in admin menu bar"
|
369 |
msgstr "نمایش آمار در منوبار مدیریت"
|
370 |
|
371 |
#: F:\Program
|
372 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
373 |
msgid "Daily referer of search engines"
|
374 |
msgstr "روزانه بودن ورودی موتورهای جستجو"
|
375 |
|
376 |
#: F:\Program
|
377 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
378 |
msgid "Can be calculated daily or total search engines"
|
379 |
msgstr "ورودی موتور جستجو را روزانه یا کلی محاسبه میکند"
|
380 |
|
381 |
#: F:\Program
|
382 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
383 |
msgid "Check for online users every"
|
384 |
msgstr "زمان بررسی برای محاسبه کاربران آنلاین هر"
|
385 |
|
386 |
#: F:\Program
|
387 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
388 |
msgid "Second"
|
389 |
msgstr "ثانیه"
|
390 |
|
391 |
#: F:\Program
|
392 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
393 |
-
|
394 |
-
|
|
|
395 |
|
396 |
#: F:\Program
|
397 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
398 |
msgid "Increase value of the total hits by"
|
399 |
msgstr "افزایش مقدار به بازدیدهای کل"
|
400 |
|
401 |
#: F:\Program
|
402 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
403 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
404 |
msgid "Done"
|
405 |
msgstr "انجام"
|
406 |
|
407 |
#: F:\Program
|
408 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
409 |
msgid "Your total visit sum with this value"
|
410 |
msgstr "کل بازدیدها با این مقدار جمع میشود"
|
411 |
|
412 |
#: F:\Program
|
413 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
414 |
msgid "Reduce value of the total hits by"
|
415 |
msgstr "کاهش مقدار از بازدیدهای کل"
|
416 |
|
417 |
#: F:\Program
|
418 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
419 |
msgid "Your total visit minus with this value"
|
420 |
msgstr "کل بازدیدها از این مقدار کم میشود"
|
421 |
|
422 |
#: F:\Program
|
423 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
424 |
msgid "Number item for show Statistics"
|
425 |
msgstr "تعداد آیتم برای نمایش آمار"
|
426 |
|
427 |
#: F:\Program
|
428 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
429 |
msgid "Default 5"
|
430 |
msgstr "پیشفرض 5 است"
|
431 |
|
432 |
#: F:\Program
|
433 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
434 |
msgid "Number for submit item in Database and show that"
|
435 |
msgstr "تعداد برای ثبت آیتمهای آمار در پایگاهداده و نمایش آن"
|
436 |
|
437 |
#: F:\Program
|
438 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
439 |
msgid "Coefficient per visitor"
|
440 |
msgstr "ضریب محاسبه هر بازدیدکننده"
|
441 |
|
442 |
#: F:\Program
|
443 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
444 |
msgid "Default 1"
|
445 |
msgstr "پیشفرض 1 است"
|
446 |
|
447 |
#: F:\Program
|
448 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
449 |
msgid "For each visitor to account for several hits."
|
450 |
msgstr "تعداد محاسبه برای هربازدیدکننده."
|
451 |
|
452 |
#: F:\Program
|
453 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
454 |
msgid "Live Statistics configuration"
|
455 |
msgstr "پیکربندی بازدید لحظهای"
|
456 |
|
457 |
#: F:\Program
|
458 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
459 |
msgid "Refresh Stats every"
|
460 |
msgstr "تازهکردن آمار هر"
|
461 |
|
462 |
#: F:\Program
|
463 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
464 |
msgid "Second(s)"
|
465 |
msgstr "ثانیه"
|
466 |
|
467 |
#: F:\Program
|
468 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
469 |
msgid "Recommended"
|
470 |
msgstr "پیشنهاد میشود"
|
471 |
|
472 |
#: F:\Program
|
473 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
474 |
msgid "To reduce pressure on the server, this defaults to 10 sec"
|
475 |
msgstr "بهدلیل فشار برروی سرور، پیشنهاد میشود برروی زمان بالا تعیین شود. پیشفرض 10 ثانیه است."
|
476 |
|
477 |
#: F:\Program
|
478 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
479 |
msgid "Pagerank configuration"
|
480 |
msgstr "تنظیمات رتبهبندی"
|
481 |
|
482 |
#: F:\Program
|
483 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
484 |
msgid "Your url for Google pagerank check"
|
485 |
msgstr "آدرس شما برای بررسی رتبهبندی گوگل"
|
486 |
|
487 |
#: F:\Program
|
488 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
489 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
490 |
msgid "If empty. you website url is used"
|
491 |
msgstr "اگراین قسمت خالی باشد، از آدرس اصلی سایت استفاده میکند"
|
492 |
|
493 |
#: F:\Program
|
494 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
495 |
msgid "Your url for Alexa pagerank check"
|
496 |
msgstr "آدرس شما برای بررسی رتبهبندی الکسا"
|
497 |
|
498 |
#: F:\Program
|
499 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
500 |
msgid "Update"
|
501 |
msgstr "بهروز رسانی"
|
502 |
|
503 |
#: F:\Program
|
504 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
#: F:\Program
|
509 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:779
|
510 |
-
msgid "from"
|
511 |
-
msgstr "از گروه"
|
512 |
-
|
513 |
-
#: F:\Program
|
514 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:779
|
515 |
-
msgid "group"
|
516 |
-
msgstr "ساخته شدهاست"
|
517 |
|
518 |
#: F:\Program
|
519 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
520 |
msgid "Plugin translators"
|
521 |
msgstr "مترجمهای افزونه"
|
522 |
|
523 |
#: F:\Program
|
524 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
525 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
526 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
527 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
528 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
529 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
530 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
|
|
531 |
msgid "Language"
|
532 |
msgstr "زبان"
|
533 |
|
534 |
#: F:\Program
|
535 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
536 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
537 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
538 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
539 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
540 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
541 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
|
|
542 |
msgid "by"
|
543 |
msgstr "توسط"
|
544 |
|
545 |
#: F:\Program
|
546 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
547 |
msgid "for translate language files. please send files for"
|
548 |
msgstr "لطفا فایلهای ترجمه را به ایمیل روبرو ارسال کنید"
|
549 |
|
550 |
#: F:\Program
|
551 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
552 |
msgid "Show Functions"
|
553 |
msgstr "نمایش تابعها"
|
554 |
|
555 |
#: F:\Program
|
556 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
557 |
msgid "Report Problem"
|
558 |
msgstr "گزارش مشکل"
|
559 |
|
560 |
#: F:\Program
|
561 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
562 |
msgid "User Online Live"
|
563 |
msgstr "کاربران آنلاین زنده"
|
564 |
|
565 |
#: F:\Program
|
566 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
567 |
msgid "Total Visit Live"
|
568 |
msgstr "کل بازدیدها زنده"
|
569 |
|
570 |
#: F:\Program
|
571 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
572 |
msgid "Total Feedburner Subscribe"
|
573 |
msgstr "تعداد مشترکهای فیدبرنر"
|
574 |
|
575 |
#: F:\Program
|
576 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
577 |
msgid "Google Pagerank"
|
578 |
msgstr "رتبه گوگل"
|
579 |
|
580 |
#: F:\Program
|
581 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
582 |
msgid "Alexa Pagerank"
|
583 |
msgstr "رتبه الکسا"
|
584 |
|
585 |
#: F:\Program
|
586 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
587 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
588 |
msgid "Hide"
|
589 |
msgstr "مخفی"
|
590 |
|
591 |
#: F:\Program
|
592 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
593 |
msgid "Your Name"
|
594 |
msgstr "نام شما"
|
595 |
|
596 |
#: F:\Program
|
597 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
598 |
msgid "Description Problem"
|
599 |
msgstr "توضیحات مشکل"
|
600 |
|
601 |
#: F:\Program
|
602 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
603 |
msgid "Send Problem"
|
604 |
msgstr "ارسال گزارش"
|
605 |
|
606 |
#: F:\Program
|
607 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
608 |
msgid "Unistall plugin"
|
609 |
msgstr "پاکسازی پلاگین"
|
610 |
|
611 |
#: F:\Program
|
612 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
613 |
msgid "Delete all data, including tables and plugin options"
|
614 |
msgstr "پاککردن تمامی اطلاعات از قبیل جدول افزونه در پایگاهداده و گزینههای افزونه"
|
615 |
|
616 |
#: F:\Program
|
617 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
618 |
msgid "Uninstall"
|
619 |
msgstr "پاککردن"
|
620 |
|
621 |
#: F:\Program
|
622 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
623 |
msgid "Stats weblog"
|
624 |
msgstr "آمار سایت"
|
625 |
|
626 |
#: F:\Program
|
627 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
628 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
|
|
|
|
629 |
msgid "No"
|
630 |
msgstr "شماره"
|
631 |
|
632 |
#: F:\Program
|
633 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
634 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
|
|
|
|
635 |
msgid "IP"
|
636 |
msgstr "آیپی"
|
637 |
|
638 |
#: F:\Program
|
639 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
640 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
|
|
|
|
641 |
msgid "Time"
|
642 |
msgstr "زمان"
|
643 |
|
644 |
#: F:\Program
|
645 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
|
|
|
|
|
|
646 |
msgid "Referred"
|
647 |
msgstr "هدایت شده"
|
648 |
|
649 |
#: F:\Program
|
650 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
651 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
|
|
|
|
652 |
msgid "Agent"
|
653 |
msgstr "مشخصات مرورگر"
|
654 |
|
655 |
#: F:\Program
|
656 |
-
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/
|
657 |
-
|
658 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
659 |
|
660 |
#~ msgid "The CSS Class for the containing widget"
|
661 |
#~ msgstr "کلاس CSS برای ابزارک"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wp-statistics\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-07-28 03:00+0330\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
+
"Last-Translator: Mostafa Soufo <mst404@gmail.com>\n"
|
8 |
"Language-Team: <mat404@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"X-Poedit-SearchPath-0: F:\\Program Files\\xampp\\htdocs\\wordpress\\wp-content\\plugins\\wp-statistics\n"
|
17 |
|
18 |
#: F:\Program
|
19 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:13
|
20 |
msgid "Added"
|
21 |
msgstr "مقدار"
|
22 |
|
23 |
#: F:\Program
|
24 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:13
|
25 |
msgid "value"
|
26 |
msgstr "افزوده شد"
|
27 |
|
28 |
#: F:\Program
|
29 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:14
|
30 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:21
|
31 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:58
|
32 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:198
|
33 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:71
|
34 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:276
|
35 |
msgid "Total Visit"
|
36 |
msgstr "کل بازدیدها"
|
37 |
|
38 |
#: F:\Program
|
39 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:20
|
40 |
msgid "Was"
|
41 |
msgstr "مقدار"
|
42 |
|
43 |
#: F:\Program
|
44 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:20
|
45 |
msgid "low value"
|
46 |
msgstr "کم شد"
|
47 |
|
48 |
#: F:\Program
|
49 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:24
|
50 |
msgid "Please Enter value!"
|
51 |
msgstr "لطفا مقداری را وارد کنید!"
|
52 |
|
53 |
#: F:\Program
|
54 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/actions.php:27
|
55 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/report-problem.php:27
|
56 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:64
|
57 |
msgid "Access is Denied!"
|
58 |
msgstr "دسترسی غیرمجاز!"
|
59 |
|
60 |
#: F:\Program
|
61 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/report-problem.php:19
|
62 |
msgid "Thanks for your report!"
|
63 |
msgstr "با تشکر از گزارش شما!"
|
64 |
|
65 |
#: F:\Program
|
66 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/report-problem.php:21
|
67 |
+
msgid "An error has occurred!"
|
68 |
+
msgstr "خطایی رخ داده است!"
|
69 |
+
|
70 |
+
#: F:\Program
|
71 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/report-problem.php:24
|
72 |
msgid "Error! Please Enter all field"
|
73 |
msgstr "خطا! لطفا همه فیلدها را پرکنید"
|
74 |
|
75 |
#: F:\Program
|
76 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:45
|
77 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:48
|
78 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:51
|
79 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:54
|
80 |
msgid "deleted!"
|
81 |
msgstr "پاکشد!"
|
82 |
|
83 |
#: F:\Program
|
84 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:58
|
85 |
msgid "All plugin data is deleted"
|
86 |
msgstr "تمامی اطلاعات افزونه پاک شد"
|
87 |
|
88 |
#: F:\Program
|
89 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:59
|
90 |
msgid "Disable plugin"
|
91 |
msgstr "افزونه را غیرفعال کنید."
|
92 |
|
93 |
#: F:\Program
|
94 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/uninstall.php:61
|
95 |
msgid "plugin options have been deleted"
|
96 |
msgstr "گزینههای افزونه قبلا پاک شدهاند"
|
97 |
|
98 |
#: F:\Program
|
99 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:3
|
100 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:5
|
101 |
msgid "WP-Statistics"
|
102 |
msgstr "آمارگیر"
|
103 |
|
104 |
#: F:\Program
|
105 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:4
|
106 |
msgid "Show site stats in sidebar"
|
107 |
msgstr "نمایش آمار سایت در ابزارک"
|
108 |
|
109 |
#: F:\Program
|
110 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:16
|
111 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:180
|
112 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:56
|
113 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:252
|
114 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:2
|
|
|
115 |
msgid "User Online"
|
116 |
msgstr "کاربران حاضر"
|
117 |
|
118 |
#: F:\Program
|
119 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:23
|
120 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:183
|
121 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:61
|
122 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:256
|
123 |
msgid "Today Visit"
|
124 |
msgstr "بازدید امروز"
|
125 |
|
126 |
#: F:\Program
|
127 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:30
|
128 |
msgid "Yesterday Visit"
|
129 |
msgstr "بازدید دیروز"
|
130 |
|
131 |
#: F:\Program
|
132 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:37
|
133 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:189
|
134 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:264
|
135 |
msgid "Week Visit"
|
136 |
msgstr "بازدید هفته"
|
137 |
|
138 |
#: F:\Program
|
139 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:44
|
140 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:192
|
141 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:268
|
142 |
msgid "Month Visit"
|
143 |
msgstr "بازدید ماه"
|
144 |
|
145 |
#: F:\Program
|
146 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:51
|
147 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:195
|
148 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:272
|
149 |
msgid "Years Visit"
|
150 |
msgstr "بازدید سال"
|
151 |
|
152 |
#: F:\Program
|
153 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:65
|
154 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:201
|
155 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:280
|
156 |
msgid "Search Engine reffered"
|
157 |
msgstr "ورودی موتورهای جستجوگر"
|
158 |
|
159 |
#: F:\Program
|
160 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:80
|
161 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:219
|
162 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:284
|
163 |
msgid "Total Posts"
|
164 |
msgstr "کل نوشتهها"
|
165 |
|
166 |
#: F:\Program
|
167 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:87
|
168 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:222
|
169 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:288
|
170 |
msgid "Total Pages"
|
171 |
msgstr "کل برگهها"
|
172 |
|
173 |
#: F:\Program
|
174 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:94
|
175 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:225
|
176 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:292
|
177 |
msgid "Total Comments"
|
178 |
msgstr "کل دیدگاهها"
|
179 |
|
180 |
#: F:\Program
|
181 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:101
|
182 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:228
|
183 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:296
|
184 |
msgid "Total Spams"
|
185 |
msgstr "کل جفنگها"
|
186 |
|
187 |
#: F:\Program
|
188 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:108
|
189 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:231
|
190 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:300
|
191 |
msgid "Total Users"
|
192 |
msgstr "کل کاربرها"
|
193 |
|
194 |
#: F:\Program
|
195 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:115
|
196 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:234
|
197 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:308
|
198 |
msgid "Average Posts"
|
199 |
msgstr "میانگین نوشتهها"
|
200 |
|
201 |
#: F:\Program
|
202 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:122
|
203 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:237
|
204 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:312
|
205 |
msgid "Average Comments"
|
206 |
msgstr "میانگین دیدگاهها"
|
207 |
|
208 |
#: F:\Program
|
209 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:129
|
210 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:240
|
211 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:316
|
212 |
msgid "Average Users"
|
213 |
msgstr "میانگین کاربرها"
|
214 |
|
215 |
#: F:\Program
|
216 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:136
|
217 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:243
|
218 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:304
|
219 |
msgid "Last Post Date"
|
220 |
msgstr "تاریخ بهروزشدن سایت"
|
221 |
|
222 |
#: F:\Program
|
223 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:173
|
224 |
msgid "Name"
|
225 |
msgstr "نام"
|
226 |
|
227 |
#: F:\Program
|
228 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:177
|
229 |
msgid "Items"
|
230 |
msgstr "آیتمها"
|
231 |
|
232 |
#: F:\Program
|
233 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:186
|
234 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:66
|
235 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:260
|
236 |
msgid "Yesterday visit"
|
237 |
msgstr "بازدید دیروز"
|
238 |
|
239 |
#: F:\Program
|
240 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:204
|
241 |
msgid "Select type of search engine"
|
242 |
msgstr "انتخاب نوع موتورجستجو"
|
243 |
|
244 |
#: F:\Program
|
245 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:206
|
246 |
msgid "Google"
|
247 |
msgstr "گوگل"
|
248 |
|
249 |
#: F:\Program
|
250 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:209
|
251 |
msgid "Yahoo!"
|
252 |
msgstr "یاهو!"
|
253 |
|
254 |
#: F:\Program
|
255 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:212
|
256 |
msgid "Bing"
|
257 |
msgstr "بینگ"
|
258 |
|
259 |
#: F:\Program
|
260 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:215
|
261 |
msgid "All"
|
262 |
msgstr "همه"
|
263 |
|
264 |
#: F:\Program
|
265 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:246
|
266 |
msgid "Type date for last update"
|
267 |
msgstr "نوع تقویم برای آخرین بهروزرسانی"
|
268 |
|
269 |
#: F:\Program
|
270 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:248
|
271 |
msgid "English"
|
272 |
msgstr "میلادی"
|
273 |
|
274 |
#: F:\Program
|
275 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/widget.php:251
|
276 |
msgid "Persian"
|
277 |
msgstr "شمسی (فارسی)"
|
278 |
|
279 |
#: F:\Program
|
280 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:76
|
281 |
msgid "Plugin home page"
|
282 |
msgstr "خانهی افزونه"
|
283 |
|
284 |
#: F:\Program
|
285 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:252
|
286 |
#, php-format
|
287 |
msgid "WP-Statistics not enabled! Please go to <a href=\"%s\">setting page</a> and enable statistics"
|
288 |
msgstr "افزونه آمارگیر غیرفعال است! برای فعال کردن آن به <a href=\"%s\">صفحه تنظیمات</a> آمارگیر مراجعه کنید"
|
289 |
|
290 |
#: F:\Program
|
291 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:490
|
292 |
msgid "Statistics"
|
293 |
msgstr "آمار بازدید"
|
294 |
|
295 |
#: F:\Program
|
296 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:491
|
297 |
msgid "Settings"
|
298 |
msgstr "تنظیمات"
|
299 |
|
300 |
#: F:\Program
|
301 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:492
|
302 |
msgid "Stats Log"
|
303 |
msgstr "گزارش آمارها"
|
304 |
|
305 |
#: F:\Program
|
306 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:493
|
307 |
msgid "Users Online"
|
308 |
msgstr "کاربران حاضر"
|
309 |
|
310 |
#: F:\Program
|
311 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:500
|
312 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:510
|
313 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:518
|
314 |
msgid "You do not have sufficient permissions to access this page."
|
315 |
msgstr "شما مجوز کافی برای مشاهدهی این قسمت را ندارید."
|
316 |
|
317 |
#: F:\Program
|
318 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:55
|
319 |
msgid "Are you sure?"
|
320 |
msgstr "آیا مطمئن هستید؟"
|
321 |
|
322 |
#: F:\Program
|
323 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:66
|
324 |
msgid "Configuration"
|
325 |
msgstr "پیکربندی"
|
326 |
|
327 |
#: F:\Program
|
328 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:71
|
329 |
msgid "Enable Statistics"
|
330 |
msgstr "آمارگیر فعال شود"
|
331 |
|
332 |
#: F:\Program
|
333 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:75
|
334 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:93
|
335 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:103
|
336 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:112
|
337 |
msgid "Yes"
|
338 |
msgstr "بله"
|
339 |
|
340 |
#: F:\Program
|
341 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:79
|
342 |
msgid "Statistics are enabled."
|
343 |
msgstr "آمارگیر فعال است."
|
344 |
|
345 |
#: F:\Program
|
346 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:81
|
347 |
msgid "Statistics are disabled!"
|
348 |
msgstr "آمارگیر غیرفعال است!"
|
349 |
|
350 |
#: F:\Program
|
351 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:86
|
352 |
msgid "General configuration"
|
353 |
msgstr "پیکربندی عمومی"
|
354 |
|
355 |
#: F:\Program
|
356 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:89
|
357 |
msgid "Show decimals number"
|
358 |
msgstr "نمایش اعداد بهصورت اعشاری"
|
359 |
|
360 |
#: F:\Program
|
361 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:95
|
362 |
msgid "Show number stats with decimal. For examle: 3,500"
|
363 |
msgstr "نمایش اعداد آمارگیر بهصورت اعشاری. برای مثال: 3،500"
|
364 |
|
365 |
#: F:\Program
|
366 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:99
|
367 |
msgid "Show stats in menu bar"
|
368 |
msgstr "نمایش آمار در منوبار"
|
369 |
|
370 |
#: F:\Program
|
371 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:105
|
372 |
msgid "Show stats in admin menu bar"
|
373 |
msgstr "نمایش آمار در منوبار مدیریت"
|
374 |
|
375 |
#: F:\Program
|
376 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:109
|
377 |
msgid "Daily referer of search engines"
|
378 |
msgstr "روزانه بودن ورودی موتورهای جستجو"
|
379 |
|
380 |
#: F:\Program
|
381 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:114
|
382 |
msgid "Can be calculated daily or total search engines"
|
383 |
msgstr "ورودی موتور جستجو را روزانه یا کلی محاسبه میکند"
|
384 |
|
385 |
#: F:\Program
|
386 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:118
|
387 |
msgid "Check for online users every"
|
388 |
msgstr "زمان بررسی برای محاسبه کاربران آنلاین هر"
|
389 |
|
390 |
#: F:\Program
|
391 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:121
|
392 |
msgid "Second"
|
393 |
msgstr "ثانیه"
|
394 |
|
395 |
#: F:\Program
|
396 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:123
|
397 |
+
#, php-format
|
398 |
+
msgid "Time for the check accurate online user in the site. Default: %s Second"
|
399 |
+
msgstr "زمان برای بررسی دقیق کاربران حاضر در سایت. پیشفرض %s ثانیه است"
|
400 |
|
401 |
#: F:\Program
|
402 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:127
|
403 |
msgid "Increase value of the total hits by"
|
404 |
msgstr "افزایش مقدار به بازدیدهای کل"
|
405 |
|
406 |
#: F:\Program
|
407 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:130
|
408 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:140
|
409 |
msgid "Done"
|
410 |
msgstr "انجام"
|
411 |
|
412 |
#: F:\Program
|
413 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:133
|
414 |
msgid "Your total visit sum with this value"
|
415 |
msgstr "کل بازدیدها با این مقدار جمع میشود"
|
416 |
|
417 |
#: F:\Program
|
418 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:137
|
419 |
msgid "Reduce value of the total hits by"
|
420 |
msgstr "کاهش مقدار از بازدیدهای کل"
|
421 |
|
422 |
#: F:\Program
|
423 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:143
|
424 |
msgid "Your total visit minus with this value"
|
425 |
msgstr "کل بازدیدها از این مقدار کم میشود"
|
426 |
|
427 |
#: F:\Program
|
428 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:147
|
429 |
msgid "Number item for show Statistics"
|
430 |
msgstr "تعداد آیتم برای نمایش آمار"
|
431 |
|
432 |
#: F:\Program
|
433 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:150
|
434 |
msgid "Default 5"
|
435 |
msgstr "پیشفرض 5 است"
|
436 |
|
437 |
#: F:\Program
|
438 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:152
|
439 |
msgid "Number for submit item in Database and show that"
|
440 |
msgstr "تعداد برای ثبت آیتمهای آمار در پایگاهداده و نمایش آن"
|
441 |
|
442 |
#: F:\Program
|
443 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:156
|
444 |
msgid "Coefficient per visitor"
|
445 |
msgstr "ضریب محاسبه هر بازدیدکننده"
|
446 |
|
447 |
#: F:\Program
|
448 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:159
|
449 |
msgid "Default 1"
|
450 |
msgstr "پیشفرض 1 است"
|
451 |
|
452 |
#: F:\Program
|
453 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:161
|
454 |
msgid "For each visitor to account for several hits."
|
455 |
msgstr "تعداد محاسبه برای هربازدیدکننده."
|
456 |
|
457 |
#: F:\Program
|
458 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:164
|
459 |
msgid "Live Statistics configuration"
|
460 |
msgstr "پیکربندی بازدید لحظهای"
|
461 |
|
462 |
#: F:\Program
|
463 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:167
|
464 |
msgid "Refresh Stats every"
|
465 |
msgstr "تازهکردن آمار هر"
|
466 |
|
467 |
#: F:\Program
|
468 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:170
|
469 |
msgid "Second(s)"
|
470 |
msgstr "ثانیه"
|
471 |
|
472 |
#: F:\Program
|
473 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:173
|
474 |
msgid "Recommended"
|
475 |
msgstr "پیشنهاد میشود"
|
476 |
|
477 |
#: F:\Program
|
478 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:174
|
479 |
msgid "To reduce pressure on the server, this defaults to 10 sec"
|
480 |
msgstr "بهدلیل فشار برروی سرور، پیشنهاد میشود برروی زمان بالا تعیین شود. پیشفرض 10 ثانیه است."
|
481 |
|
482 |
#: F:\Program
|
483 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:178
|
484 |
msgid "Pagerank configuration"
|
485 |
msgstr "تنظیمات رتبهبندی"
|
486 |
|
487 |
#: F:\Program
|
488 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:181
|
489 |
msgid "Your url for Google pagerank check"
|
490 |
msgstr "آدرس شما برای بررسی رتبهبندی گوگل"
|
491 |
|
492 |
#: F:\Program
|
493 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:186
|
494 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:196
|
495 |
msgid "If empty. you website url is used"
|
496 |
msgstr "اگراین قسمت خالی باشد، از آدرس اصلی سایت استفاده میکند"
|
497 |
|
498 |
#: F:\Program
|
499 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:191
|
500 |
msgid "Your url for Alexa pagerank check"
|
501 |
msgstr "آدرس شما برای بررسی رتبهبندی الکسا"
|
502 |
|
503 |
#: F:\Program
|
504 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:205
|
505 |
msgid "Update"
|
506 |
msgstr "بهروز رسانی"
|
507 |
|
508 |
#: F:\Program
|
509 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:212
|
510 |
+
#, php-format
|
511 |
+
msgid "This plugin created by %s from %s and %s."
|
512 |
+
msgstr "این افزونه توسط %s از گروه %s و %s ساخته شده است."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
513 |
|
514 |
#: F:\Program
|
515 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:214
|
516 |
msgid "Plugin translators"
|
517 |
msgstr "مترجمهای افزونه"
|
518 |
|
519 |
#: F:\Program
|
520 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:218
|
521 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:219
|
522 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:220
|
523 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:221
|
524 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:222
|
525 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:223
|
526 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:224
|
527 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:225
|
528 |
msgid "Language"
|
529 |
msgstr "زبان"
|
530 |
|
531 |
#: F:\Program
|
532 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:218
|
533 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:219
|
534 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:220
|
535 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:221
|
536 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:222
|
537 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:223
|
538 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:224
|
539 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:225
|
540 |
msgid "by"
|
541 |
msgstr "توسط"
|
542 |
|
543 |
#: F:\Program
|
544 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:227
|
545 |
msgid "for translate language files. please send files for"
|
546 |
msgstr "لطفا فایلهای ترجمه را به ایمیل روبرو ارسال کنید"
|
547 |
|
548 |
#: F:\Program
|
549 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:230
|
550 |
msgid "Show Functions"
|
551 |
msgstr "نمایش تابعها"
|
552 |
|
553 |
#: F:\Program
|
554 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:231
|
555 |
msgid "Report Problem"
|
556 |
msgstr "گزارش مشکل"
|
557 |
|
558 |
#: F:\Program
|
559 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:244
|
560 |
msgid "User Online Live"
|
561 |
msgstr "کاربران آنلاین زنده"
|
562 |
|
563 |
#: F:\Program
|
564 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:248
|
565 |
msgid "Total Visit Live"
|
566 |
msgstr "کل بازدیدها زنده"
|
567 |
|
568 |
#: F:\Program
|
569 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:320
|
570 |
msgid "Total Feedburner Subscribe"
|
571 |
msgstr "تعداد مشترکهای فیدبرنر"
|
572 |
|
573 |
#: F:\Program
|
574 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:324
|
575 |
msgid "Google Pagerank"
|
576 |
msgstr "رتبه گوگل"
|
577 |
|
578 |
#: F:\Program
|
579 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:328
|
580 |
msgid "Alexa Pagerank"
|
581 |
msgstr "رتبه الکسا"
|
582 |
|
583 |
#: F:\Program
|
584 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:332
|
585 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:342
|
586 |
msgid "Hide"
|
587 |
msgstr "مخفی"
|
588 |
|
589 |
#: F:\Program
|
590 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:336
|
591 |
msgid "Your Name"
|
592 |
msgstr "نام شما"
|
593 |
|
594 |
#: F:\Program
|
595 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:338
|
596 |
msgid "Description Problem"
|
597 |
msgstr "توضیحات مشکل"
|
598 |
|
599 |
#: F:\Program
|
600 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:341
|
601 |
msgid "Send Problem"
|
602 |
msgstr "ارسال گزارش"
|
603 |
|
604 |
#: F:\Program
|
605 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:349
|
606 |
msgid "Unistall plugin"
|
607 |
msgstr "پاکسازی پلاگین"
|
608 |
|
609 |
#: F:\Program
|
610 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:355
|
611 |
msgid "Delete all data, including tables and plugin options"
|
612 |
msgstr "پاککردن تمامی اطلاعات از قبیل جدول افزونه در پایگاهداده و گزینههای افزونه"
|
613 |
|
614 |
#: F:\Program
|
615 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/setting.php:356
|
616 |
msgid "Uninstall"
|
617 |
msgstr "پاککردن"
|
618 |
|
619 |
#: F:\Program
|
620 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:2
|
621 |
msgid "Stats weblog"
|
622 |
msgstr "آمار سایت"
|
623 |
|
624 |
#: F:\Program
|
625 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:7
|
626 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:44
|
627 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:7
|
628 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:46
|
629 |
msgid "No"
|
630 |
msgstr "شماره"
|
631 |
|
632 |
#: F:\Program
|
633 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:8
|
634 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:45
|
635 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:8
|
636 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:47
|
637 |
msgid "IP"
|
638 |
msgstr "آیپی"
|
639 |
|
640 |
#: F:\Program
|
641 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:9
|
642 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:46
|
643 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:9
|
644 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:48
|
645 |
msgid "Time"
|
646 |
msgstr "زمان"
|
647 |
|
648 |
#: F:\Program
|
649 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:10
|
650 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:47
|
651 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:10
|
652 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:49
|
653 |
msgid "Referred"
|
654 |
msgstr "هدایت شده"
|
655 |
|
656 |
#: F:\Program
|
657 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:11
|
658 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:48
|
659 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:11
|
660 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:50
|
661 |
msgid "Agent"
|
662 |
msgstr "مشخصات مرورگر"
|
663 |
|
664 |
#: F:\Program
|
665 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/stats.php:36
|
666 |
+
#: Files\xampp\htdocs\wordpress\wp-content\plugins\wp-statistics/setting/useronline.php:38
|
667 |
+
msgid "Not Found!"
|
668 |
+
msgstr "چیزی یافت نشد!"
|
669 |
+
|
670 |
+
#~ msgid "from"
|
671 |
+
#~ msgstr "از گروه"
|
672 |
+
|
673 |
+
#~ msgid "group"
|
674 |
+
#~ msgstr "ساخته شدهاست"
|
675 |
+
|
676 |
+
#~ msgid "Referrer"
|
677 |
+
#~ msgstr "هدایت شده"
|
678 |
|
679 |
#~ msgid "The CSS Class for the containing widget"
|
680 |
#~ msgstr "کلاس CSS برای ابزارک"
|
langs/wp_statistics-ru_RU.mo
ADDED
Binary file
|
langs/wp_statistics-ru_RU.po
ADDED
@@ -0,0 +1,674 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: WP-Statistics v2.2.7\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2012-06-28 16:04:17+0000\n"
|
7 |
+
"Last-Translator: Oleg Vlasov <ovlasov49@gmail.com>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-Language: Russian\n"
|
14 |
+
"X-Poedit-Country: RUSSIA\n"
|
15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
17 |
+
"X-Poedit-Basepath: ../\n"
|
18 |
+
"X-Poedit-Bookmarks: \n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
"X-Textdomain-Support: yes"
|
21 |
+
|
22 |
+
#: actions.php:14
|
23 |
+
#@ wp_statistics
|
24 |
+
msgid "Added"
|
25 |
+
msgstr "Добавить"
|
26 |
+
|
27 |
+
#: actions.php:14
|
28 |
+
#@ wp_statistics
|
29 |
+
msgid "value"
|
30 |
+
msgstr "значение"
|
31 |
+
|
32 |
+
#: actions.php:15
|
33 |
+
#: actions.php:22
|
34 |
+
#: widget.php:66
|
35 |
+
#: widget.php:219
|
36 |
+
#: wp-statistics.php:80
|
37 |
+
#: wp-statistics.php:842
|
38 |
+
#@ wp_statistics
|
39 |
+
msgid "Total Visit"
|
40 |
+
msgstr "Всего визитов"
|
41 |
+
|
42 |
+
#: actions.php:21
|
43 |
+
#@ wp_statistics
|
44 |
+
msgid "Was"
|
45 |
+
msgstr "Было"
|
46 |
+
|
47 |
+
#: actions.php:21
|
48 |
+
#@ wp_statistics
|
49 |
+
msgid "low value"
|
50 |
+
msgstr "верхнее значение"
|
51 |
+
|
52 |
+
#: actions.php:25
|
53 |
+
#@ wp_statistics
|
54 |
+
msgid "Please Enter value!"
|
55 |
+
msgstr "Напишите значение!"
|
56 |
+
|
57 |
+
#: actions.php:28
|
58 |
+
#: report_problem.php:25
|
59 |
+
#: uninstall.php:65
|
60 |
+
#@ wp_statistics
|
61 |
+
msgid "Access is Denied!"
|
62 |
+
msgstr "Отказано в доступе!"
|
63 |
+
|
64 |
+
#: report_problem.php:20
|
65 |
+
#@ wp_statistics
|
66 |
+
msgid "Thanks for your report!"
|
67 |
+
msgstr "Спасибо за ваше сообщение!"
|
68 |
+
|
69 |
+
#: report_problem.php:22
|
70 |
+
#@ wp_statistics
|
71 |
+
msgid "Error! Please Enter all field"
|
72 |
+
msgstr "Ошибка! Заполните все поля"
|
73 |
+
|
74 |
+
#: uninstall.php:46
|
75 |
+
#: uninstall.php:49
|
76 |
+
#: uninstall.php:52
|
77 |
+
#: uninstall.php:55
|
78 |
+
#@ wp_statistics
|
79 |
+
msgid "deleted!"
|
80 |
+
msgstr "удален!"
|
81 |
+
|
82 |
+
#: uninstall.php:59
|
83 |
+
#@ wp_statistics
|
84 |
+
msgid "All plugin data is deleted"
|
85 |
+
msgstr "Все данные удалены"
|
86 |
+
|
87 |
+
#: uninstall.php:60
|
88 |
+
#@ wp_statistics
|
89 |
+
msgid "Disable plugin"
|
90 |
+
msgstr "Отключить плагин"
|
91 |
+
|
92 |
+
#: uninstall.php:62
|
93 |
+
#@ wp_statistics
|
94 |
+
msgid "plugin options have been deleted"
|
95 |
+
msgstr "опции плагина удалены"
|
96 |
+
|
97 |
+
#: widget.php:4
|
98 |
+
#: widget.php:6
|
99 |
+
#@ wp_statistics
|
100 |
+
msgid "WP-Statistics"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: widget.php:5
|
104 |
+
#@ wp_statistics
|
105 |
+
msgid "Show site stats in sidebar"
|
106 |
+
msgstr "Показать статистику в сайдбаре"
|
107 |
+
|
108 |
+
#: widget.php:18
|
109 |
+
#: widget.php:201
|
110 |
+
#: wp-statistics.php:65
|
111 |
+
#: wp-statistics.php:818
|
112 |
+
#: wp-statistics.php:1005
|
113 |
+
#@ wp_statistics
|
114 |
+
msgid "User Online"
|
115 |
+
msgstr "Посетителей онлайн"
|
116 |
+
|
117 |
+
#: widget.php:26
|
118 |
+
#: widget.php:204
|
119 |
+
#: wp-statistics.php:70
|
120 |
+
#: wp-statistics.php:822
|
121 |
+
#@ wp_statistics
|
122 |
+
msgid "Today Visit"
|
123 |
+
msgstr "Сегодня посетителей"
|
124 |
+
|
125 |
+
#: widget.php:34
|
126 |
+
#@ wp_statistics
|
127 |
+
msgid "Yesterday Visit"
|
128 |
+
msgstr "Вчера посетителей"
|
129 |
+
|
130 |
+
#: widget.php:42
|
131 |
+
#: widget.php:210
|
132 |
+
#: wp-statistics.php:830
|
133 |
+
#@ wp_statistics
|
134 |
+
msgid "Week Visit"
|
135 |
+
msgstr "Посетителей за неделю"
|
136 |
+
|
137 |
+
#: widget.php:50
|
138 |
+
#: widget.php:213
|
139 |
+
#: wp-statistics.php:834
|
140 |
+
#@ wp_statistics
|
141 |
+
msgid "Month Visit"
|
142 |
+
msgstr "Посетителей за месяц"
|
143 |
+
|
144 |
+
#: widget.php:58
|
145 |
+
#: widget.php:216
|
146 |
+
#: wp-statistics.php:838
|
147 |
+
#@ wp_statistics
|
148 |
+
msgid "Years Visit"
|
149 |
+
msgstr "Посетителей за год"
|
150 |
+
|
151 |
+
#: widget.php:74
|
152 |
+
#: widget.php:222
|
153 |
+
#: wp-statistics.php:846
|
154 |
+
#@ wp_statistics
|
155 |
+
msgid "Search Engine reffered"
|
156 |
+
msgstr "Через какой поиск вы зашли"
|
157 |
+
|
158 |
+
#: widget.php:90
|
159 |
+
#: widget.php:240
|
160 |
+
#: wp-statistics.php:850
|
161 |
+
#@ wp_statistics
|
162 |
+
msgid "Total Posts"
|
163 |
+
msgstr "Всего записей"
|
164 |
+
|
165 |
+
#: widget.php:98
|
166 |
+
#: widget.php:243
|
167 |
+
#: wp-statistics.php:854
|
168 |
+
#@ wp_statistics
|
169 |
+
msgid "Total Pages"
|
170 |
+
msgstr "Всего страниц"
|
171 |
+
|
172 |
+
#: widget.php:106
|
173 |
+
#: widget.php:246
|
174 |
+
#: wp-statistics.php:858
|
175 |
+
#@ wp_statistics
|
176 |
+
msgid "Total Comments"
|
177 |
+
msgstr "Всего комментариев"
|
178 |
+
|
179 |
+
#: widget.php:114
|
180 |
+
#: widget.php:249
|
181 |
+
#: wp-statistics.php:862
|
182 |
+
#@ wp_statistics
|
183 |
+
msgid "Total Spams"
|
184 |
+
msgstr "Всего спама"
|
185 |
+
|
186 |
+
#: widget.php:122
|
187 |
+
#: widget.php:252
|
188 |
+
#: wp-statistics.php:866
|
189 |
+
#@ wp_statistics
|
190 |
+
msgid "Total Users"
|
191 |
+
msgstr "Всего участников"
|
192 |
+
|
193 |
+
#: widget.php:130
|
194 |
+
#: widget.php:255
|
195 |
+
#: wp-statistics.php:874
|
196 |
+
#@ wp_statistics
|
197 |
+
msgid "Average Posts"
|
198 |
+
msgstr "Среднее число записей"
|
199 |
+
|
200 |
+
#: widget.php:138
|
201 |
+
#: widget.php:258
|
202 |
+
#: wp-statistics.php:878
|
203 |
+
#@ wp_statistics
|
204 |
+
msgid "Average Comments"
|
205 |
+
msgstr "Среднее число комментариев"
|
206 |
+
|
207 |
+
#: widget.php:146
|
208 |
+
#: widget.php:261
|
209 |
+
#: wp-statistics.php:882
|
210 |
+
#@ wp_statistics
|
211 |
+
msgid "Average Users"
|
212 |
+
msgstr "Среднее число участников"
|
213 |
+
|
214 |
+
#: widget.php:154
|
215 |
+
#: widget.php:264
|
216 |
+
#: wp-statistics.php:870
|
217 |
+
#@ wp_statistics
|
218 |
+
msgid "Last Post Date"
|
219 |
+
msgstr "Последняя запись на сайте"
|
220 |
+
|
221 |
+
#: widget.php:194
|
222 |
+
#@ wp_statistics
|
223 |
+
msgid "Name"
|
224 |
+
msgstr "Имя"
|
225 |
+
|
226 |
+
#: widget.php:198
|
227 |
+
#@ wp_statistics
|
228 |
+
msgid "Items"
|
229 |
+
msgstr "Пункты"
|
230 |
+
|
231 |
+
#: widget.php:207
|
232 |
+
#: wp-statistics.php:75
|
233 |
+
#: wp-statistics.php:826
|
234 |
+
#@ wp_statistics
|
235 |
+
msgid "Yesterday visit"
|
236 |
+
msgstr "Вчера посетителей"
|
237 |
+
|
238 |
+
#: widget.php:225
|
239 |
+
#@ wp_statistics
|
240 |
+
msgid "Select type of search engine"
|
241 |
+
msgstr "Выберите тип поискового движка"
|
242 |
+
|
243 |
+
#: widget.php:227
|
244 |
+
#@ wp_statistics
|
245 |
+
msgid "Google"
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: widget.php:230
|
249 |
+
#@ wp_statistics
|
250 |
+
msgid "Yahoo!"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: widget.php:233
|
254 |
+
#@ wp_statistics
|
255 |
+
msgid "Bing"
|
256 |
+
msgstr ""
|
257 |
+
|
258 |
+
#: widget.php:236
|
259 |
+
#@ wp_statistics
|
260 |
+
msgid "All"
|
261 |
+
msgstr "Все"
|
262 |
+
|
263 |
+
#: widget.php:267
|
264 |
+
#@ wp_statistics
|
265 |
+
msgid "Type date for last update"
|
266 |
+
msgstr "Дата последнего обновления"
|
267 |
+
|
268 |
+
#: widget.php:269
|
269 |
+
#@ wp_statistics
|
270 |
+
msgid "English"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: widget.php:272
|
274 |
+
#@ wp_statistics
|
275 |
+
msgid "Persian"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: wp-statistics.php:85
|
279 |
+
#@ wp_statistics
|
280 |
+
msgid "Plugin home page"
|
281 |
+
msgstr "Домашняя страница плагина"
|
282 |
+
|
283 |
+
#: wp-statistics.php:266
|
284 |
+
#, php-format
|
285 |
+
#@ wp_statistics
|
286 |
+
msgid "WP-Statistics not enabled! Please go to <a href=\"%s\">setting page</a> and enable statistics"
|
287 |
+
msgstr "Плагин Статистики не включен! Пожалуйста, перейдите на <a href=\"%s\">страницу настроек</a> и включите статистику"
|
288 |
+
|
289 |
+
#: wp-statistics.php:531
|
290 |
+
#@ wp_statistics
|
291 |
+
msgid "Statistics"
|
292 |
+
msgstr "Статистика"
|
293 |
+
|
294 |
+
#: wp-statistics.php:532
|
295 |
+
#@ wp_statistics
|
296 |
+
msgid "Settings"
|
297 |
+
msgstr "Настройки"
|
298 |
+
|
299 |
+
#: wp-statistics.php:533
|
300 |
+
#@ wp_statistics
|
301 |
+
msgid "Stats Log"
|
302 |
+
msgstr "Логи статистики"
|
303 |
+
|
304 |
+
#: wp-statistics.php:534
|
305 |
+
#@ wp_statistics
|
306 |
+
msgid "Users Online"
|
307 |
+
msgstr "Посетителей онлайн"
|
308 |
+
|
309 |
+
#: wp-statistics.php:542
|
310 |
+
#: wp-statistics.php:936
|
311 |
+
#: wp-statistics.php:1001
|
312 |
+
#@ wp_statistics
|
313 |
+
msgid "You do not have sufficient permissions to access this page."
|
314 |
+
msgstr "У вас нет достаточных прав для доступа к этой странице."
|
315 |
+
|
316 |
+
#: wp-statistics.php:621
|
317 |
+
#@ wp_statistics
|
318 |
+
msgid "Are you sure?"
|
319 |
+
msgstr "Вы уверены?"
|
320 |
+
|
321 |
+
#: wp-statistics.php:633
|
322 |
+
#@ wp_statistics
|
323 |
+
msgid "Configuration"
|
324 |
+
msgstr "Конфигурация"
|
325 |
+
|
326 |
+
#: wp-statistics.php:638
|
327 |
+
#@ wp_statistics
|
328 |
+
msgid "Enable Statistics"
|
329 |
+
msgstr "Включить Статистику"
|
330 |
+
|
331 |
+
#: wp-statistics.php:642
|
332 |
+
#: wp-statistics.php:660
|
333 |
+
#: wp-statistics.php:670
|
334 |
+
#: wp-statistics.php:679
|
335 |
+
#@ wp_statistics
|
336 |
+
msgid "Yes"
|
337 |
+
msgstr "Да"
|
338 |
+
|
339 |
+
#: wp-statistics.php:646
|
340 |
+
#@ wp_statistics
|
341 |
+
msgid "Statistics are enabled."
|
342 |
+
msgstr "Статистика включена."
|
343 |
+
|
344 |
+
#: wp-statistics.php:648
|
345 |
+
#@ wp_statistics
|
346 |
+
msgid "Statistics are disabled!"
|
347 |
+
msgstr "Статистика не включена!"
|
348 |
+
|
349 |
+
#: wp-statistics.php:653
|
350 |
+
#@ wp_statistics
|
351 |
+
msgid "General configuration"
|
352 |
+
msgstr "Основные настройки"
|
353 |
+
|
354 |
+
#: wp-statistics.php:656
|
355 |
+
#@ wp_statistics
|
356 |
+
msgid "Show decimals number"
|
357 |
+
msgstr "Показать десятичные знаки"
|
358 |
+
|
359 |
+
#: wp-statistics.php:662
|
360 |
+
#@ wp_statistics
|
361 |
+
msgid "Show number stats with decimal. For examle: 3,500"
|
362 |
+
msgstr "Показывать число десятичных знаков. Пример: 3,500"
|
363 |
+
|
364 |
+
#: wp-statistics.php:666
|
365 |
+
#@ wp_statistics
|
366 |
+
msgid "Show stats in menu bar"
|
367 |
+
msgstr "Показать статистику в меню баре"
|
368 |
+
|
369 |
+
#: wp-statistics.php:672
|
370 |
+
#@ wp_statistics
|
371 |
+
msgid "Show stats in admin menu bar"
|
372 |
+
msgstr "Показать статистику в админ-баре"
|
373 |
+
|
374 |
+
#: wp-statistics.php:676
|
375 |
+
#@ wp_statistics
|
376 |
+
msgid "Daily referer of search engines"
|
377 |
+
msgstr "Ежедневных переходов из поисковых систем"
|
378 |
+
|
379 |
+
#: wp-statistics.php:681
|
380 |
+
#@ wp_statistics
|
381 |
+
msgid "Can be calculated daily or total search engines"
|
382 |
+
msgstr "Вы можете рассчитывать ежедневно или суммой все переходы из поисковых систем"
|
383 |
+
|
384 |
+
#: wp-statistics.php:685
|
385 |
+
#@ wp_statistics
|
386 |
+
msgid "Check for online users every"
|
387 |
+
msgstr "Отметить каждого юзера онлайн"
|
388 |
+
|
389 |
+
#: wp-statistics.php:688
|
390 |
+
#@ wp_statistics
|
391 |
+
msgid "Second"
|
392 |
+
msgstr "Второй"
|
393 |
+
|
394 |
+
#: wp-statistics.php:690
|
395 |
+
#@ wp_statistics
|
396 |
+
msgid "Time for the check accurate online user in the site. Default: 60 Second"
|
397 |
+
msgstr "Время для проверки точного количества онлайн посетителей. По умолчанию: 60 секунд"
|
398 |
+
|
399 |
+
#: wp-statistics.php:694
|
400 |
+
#@ wp_statistics
|
401 |
+
msgid "Increase value of the total hits by"
|
402 |
+
msgstr "Увеличение значения всего хитов"
|
403 |
+
|
404 |
+
#: wp-statistics.php:697
|
405 |
+
#: wp-statistics.php:707
|
406 |
+
#@ wp_statistics
|
407 |
+
msgid "Done"
|
408 |
+
msgstr "Сделано"
|
409 |
+
|
410 |
+
#: wp-statistics.php:700
|
411 |
+
#@ wp_statistics
|
412 |
+
msgid "Your total visit sum with this value"
|
413 |
+
msgstr "Общее число визитов с этим значением"
|
414 |
+
|
415 |
+
#: wp-statistics.php:704
|
416 |
+
#@ wp_statistics
|
417 |
+
msgid "Reduce value of the total hits by"
|
418 |
+
msgstr "Уменьшение значения всего хитов"
|
419 |
+
|
420 |
+
#: wp-statistics.php:710
|
421 |
+
#@ wp_statistics
|
422 |
+
msgid "Your total visit minus with this value"
|
423 |
+
msgstr "Общий минус визитов с этим значением"
|
424 |
+
|
425 |
+
#: wp-statistics.php:714
|
426 |
+
#@ wp_statistics
|
427 |
+
msgid "Number item for show Statistics"
|
428 |
+
msgstr "Количество элементов для показа в Статистике"
|
429 |
+
|
430 |
+
#: wp-statistics.php:717
|
431 |
+
#@ wp_statistics
|
432 |
+
msgid "Default 5"
|
433 |
+
msgstr "По умолчанию 5"
|
434 |
+
|
435 |
+
#: wp-statistics.php:719
|
436 |
+
#@ wp_statistics
|
437 |
+
msgid "Number for submit item in Database and show that"
|
438 |
+
msgstr "Число элементов в базе данных для показа"
|
439 |
+
|
440 |
+
#: wp-statistics.php:723
|
441 |
+
#@ wp_statistics
|
442 |
+
msgid "Coefficient per visitor"
|
443 |
+
msgstr "Коэффициент на посетителя"
|
444 |
+
|
445 |
+
#: wp-statistics.php:726
|
446 |
+
#@ wp_statistics
|
447 |
+
msgid "Default 1"
|
448 |
+
msgstr "По умолчанию 1"
|
449 |
+
|
450 |
+
#: wp-statistics.php:728
|
451 |
+
#@ wp_statistics
|
452 |
+
msgid "For each visitor to account for several hits."
|
453 |
+
msgstr "Для каждого посетителя приходится несколько хитов."
|
454 |
+
|
455 |
+
#: wp-statistics.php:731
|
456 |
+
#@ wp_statistics
|
457 |
+
msgid "Live Statistics configuration"
|
458 |
+
msgstr "Конфигурация живой статистики"
|
459 |
+
|
460 |
+
#: wp-statistics.php:734
|
461 |
+
#@ wp_statistics
|
462 |
+
msgid "Refresh Stats every"
|
463 |
+
msgstr "Обновлять статистику каждые"
|
464 |
+
|
465 |
+
#: wp-statistics.php:737
|
466 |
+
#@ wp_statistics
|
467 |
+
msgid "Second(s)"
|
468 |
+
msgstr "секунд"
|
469 |
+
|
470 |
+
#: wp-statistics.php:740
|
471 |
+
#@ wp_statistics
|
472 |
+
msgid "Recommended"
|
473 |
+
msgstr "Рекомендовано"
|
474 |
+
|
475 |
+
#: wp-statistics.php:741
|
476 |
+
#@ wp_statistics
|
477 |
+
msgid "To reduce pressure on the server, this defaults to 10 sec"
|
478 |
+
msgstr "Пожалейте свой сервер, не перегружайте его запросами, по умолчанию каждые 10 секунд"
|
479 |
+
|
480 |
+
#: wp-statistics.php:745
|
481 |
+
#@ wp_statistics
|
482 |
+
msgid "Pagerank configuration"
|
483 |
+
msgstr "Конфигурация PageRank"
|
484 |
+
|
485 |
+
#: wp-statistics.php:748
|
486 |
+
#@ wp_statistics
|
487 |
+
msgid "Your url for Google pagerank check"
|
488 |
+
msgstr "Ваш URL-адрес для проверки PageRank Google"
|
489 |
+
|
490 |
+
#: wp-statistics.php:753
|
491 |
+
#: wp-statistics.php:763
|
492 |
+
#@ wp_statistics
|
493 |
+
msgid "If empty. you website url is used"
|
494 |
+
msgstr "Если пусто, будет использоваться ваш основной адрес сайта"
|
495 |
+
|
496 |
+
#: wp-statistics.php:758
|
497 |
+
#@ wp_statistics
|
498 |
+
msgid "Your url for Alexa pagerank check"
|
499 |
+
msgstr "Ваш URL-адрес для проверки Alexa Rank"
|
500 |
+
|
501 |
+
#: wp-statistics.php:772
|
502 |
+
#@ wp_statistics
|
503 |
+
msgid "Update"
|
504 |
+
msgstr "Обновить"
|
505 |
+
|
506 |
+
#: wp-statistics.php:779
|
507 |
+
#@ wp_statistics
|
508 |
+
msgid "This plugin created by"
|
509 |
+
msgstr "Этот плагин разработан"
|
510 |
+
|
511 |
+
#: wp-statistics.php:779
|
512 |
+
#@ wp_statistics
|
513 |
+
msgid "from"
|
514 |
+
msgstr "от"
|
515 |
+
|
516 |
+
#: wp-statistics.php:779
|
517 |
+
#@ wp_statistics
|
518 |
+
msgid "group"
|
519 |
+
msgstr "группа"
|
520 |
+
|
521 |
+
#: wp-statistics.php:781
|
522 |
+
#@ wp_statistics
|
523 |
+
msgid "Plugin translators"
|
524 |
+
msgstr "Переводчики плагина"
|
525 |
+
|
526 |
+
#: wp-statistics.php:785
|
527 |
+
#: wp-statistics.php:786
|
528 |
+
#: wp-statistics.php:787
|
529 |
+
#: wp-statistics.php:788
|
530 |
+
#: wp-statistics.php:789
|
531 |
+
#: wp-statistics.php:790
|
532 |
+
#: wp-statistics.php:791
|
533 |
+
#@ wp_statistics
|
534 |
+
msgid "Language"
|
535 |
+
msgstr "Язык"
|
536 |
+
|
537 |
+
#: wp-statistics.php:785
|
538 |
+
#: wp-statistics.php:786
|
539 |
+
#: wp-statistics.php:787
|
540 |
+
#: wp-statistics.php:788
|
541 |
+
#: wp-statistics.php:789
|
542 |
+
#: wp-statistics.php:790
|
543 |
+
#: wp-statistics.php:791
|
544 |
+
#@ wp_statistics
|
545 |
+
msgid "by"
|
546 |
+
msgstr "от"
|
547 |
+
|
548 |
+
#: wp-statistics.php:793
|
549 |
+
#@ wp_statistics
|
550 |
+
msgid "for translate language files. please send files for"
|
551 |
+
msgstr "Для добавления языкового файла, пожалуйста, отправьте файлы на"
|
552 |
+
|
553 |
+
#: wp-statistics.php:796
|
554 |
+
#@ wp_statistics
|
555 |
+
msgid "Show Functions"
|
556 |
+
msgstr "Показать функции"
|
557 |
+
|
558 |
+
#: wp-statistics.php:797
|
559 |
+
#@ wp_statistics
|
560 |
+
msgid "Report Problem"
|
561 |
+
msgstr "Отчет по проблемам"
|
562 |
+
|
563 |
+
#: wp-statistics.php:810
|
564 |
+
#@ wp_statistics
|
565 |
+
msgid "User Online Live"
|
566 |
+
msgstr "Посетителей онлайн"
|
567 |
+
|
568 |
+
#: wp-statistics.php:814
|
569 |
+
#@ wp_statistics
|
570 |
+
msgid "Total Visit Live"
|
571 |
+
msgstr "Всего визитов"
|
572 |
+
|
573 |
+
#: wp-statistics.php:886
|
574 |
+
#@ wp_statistics
|
575 |
+
msgid "Total Feedburner Subscribe"
|
576 |
+
msgstr "Всего подписчиков"
|
577 |
+
|
578 |
+
#: wp-statistics.php:890
|
579 |
+
#@ wp_statistics
|
580 |
+
msgid "Google Pagerank"
|
581 |
+
msgstr ""
|
582 |
+
|
583 |
+
#: wp-statistics.php:894
|
584 |
+
#@ wp_statistics
|
585 |
+
msgid "Alexa Pagerank"
|
586 |
+
msgstr ""
|
587 |
+
|
588 |
+
#: wp-statistics.php:898
|
589 |
+
#: wp-statistics.php:908
|
590 |
+
#@ wp_statistics
|
591 |
+
msgid "Hide"
|
592 |
+
msgstr "Скрыть"
|
593 |
+
|
594 |
+
#: wp-statistics.php:902
|
595 |
+
#@ wp_statistics
|
596 |
+
msgid "Your Name"
|
597 |
+
msgstr "Ваше имя"
|
598 |
+
|
599 |
+
#: wp-statistics.php:904
|
600 |
+
#@ wp_statistics
|
601 |
+
msgid "Description Problem"
|
602 |
+
msgstr "Описание проблемы"
|
603 |
+
|
604 |
+
#: wp-statistics.php:907
|
605 |
+
#@ wp_statistics
|
606 |
+
msgid "Send Problem"
|
607 |
+
msgstr "Отправить проблему"
|
608 |
+
|
609 |
+
#: wp-statistics.php:915
|
610 |
+
#@ wp_statistics
|
611 |
+
msgid "Unistall plugin"
|
612 |
+
msgstr "Отключить плагин"
|
613 |
+
|
614 |
+
#: wp-statistics.php:921
|
615 |
+
#@ wp_statistics
|
616 |
+
msgid "Delete all data, including tables and plugin options"
|
617 |
+
msgstr "Удаление всех данных и настроек плагина из базы данных"
|
618 |
+
|
619 |
+
#: wp-statistics.php:922
|
620 |
+
#@ wp_statistics
|
621 |
+
msgid "Uninstall"
|
622 |
+
msgstr "Деактивировать"
|
623 |
+
|
624 |
+
#: wp-statistics.php:941
|
625 |
+
#@ wp_statistics
|
626 |
+
msgid "Stats weblog"
|
627 |
+
msgstr "Лог статистики"
|
628 |
+
|
629 |
+
#: wp-statistics.php:946
|
630 |
+
#: wp-statistics.php:985
|
631 |
+
#: wp-statistics.php:1010
|
632 |
+
#: wp-statistics.php:1049
|
633 |
+
#@ wp_statistics
|
634 |
+
msgid "No"
|
635 |
+
msgstr ""
|
636 |
+
|
637 |
+
#: wp-statistics.php:947
|
638 |
+
#: wp-statistics.php:986
|
639 |
+
#: wp-statistics.php:1011
|
640 |
+
#: wp-statistics.php:1050
|
641 |
+
#@ wp_statistics
|
642 |
+
msgid "IP"
|
643 |
+
msgstr ""
|
644 |
+
|
645 |
+
#: wp-statistics.php:948
|
646 |
+
#: wp-statistics.php:987
|
647 |
+
#: wp-statistics.php:1012
|
648 |
+
#: wp-statistics.php:1051
|
649 |
+
#@ wp_statistics
|
650 |
+
msgid "Time"
|
651 |
+
msgstr "Время"
|
652 |
+
|
653 |
+
#: wp-statistics.php:949
|
654 |
+
#: wp-statistics.php:988
|
655 |
+
#: wp-statistics.php:1013
|
656 |
+
#: wp-statistics.php:1052
|
657 |
+
#@ wp_statistics
|
658 |
+
msgid "Referred"
|
659 |
+
msgstr ""
|
660 |
+
|
661 |
+
#: wp-statistics.php:950
|
662 |
+
#: wp-statistics.php:989
|
663 |
+
#: wp-statistics.php:1014
|
664 |
+
#: wp-statistics.php:1053
|
665 |
+
#@ wp_statistics
|
666 |
+
msgid "Agent"
|
667 |
+
msgstr ""
|
668 |
+
|
669 |
+
#: wp-statistics.php:977
|
670 |
+
#: wp-statistics.php:1041
|
671 |
+
#@ wp_statistics
|
672 |
+
msgid "Not Found!"
|
673 |
+
msgstr "Не найдено!"
|
674 |
+
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mostafa.s1990
|
|
3 |
Donate link: http://iran98.org/
|
4 |
Tags: statistics, stats, blog, today, yesterday, week, month, yearl, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 2.2.
|
8 |
|
9 |
Summary statistics of blog.
|
10 |
|
@@ -55,6 +55,7 @@ Language Support:
|
|
55 |
* Turkish [Thanks aidinMC](http://www.artadl.ir/)
|
56 |
* Italian [Thanks Tony Bellardi](http://www.tonybellardi.com/)
|
57 |
* German [Thanks Andreas Martin](http://www.andreasmartin.com/)
|
|
|
58 |
|
59 |
Send email for Translation files: mst404[a]gmail[dot].com
|
60 |
for translate, please open langs/default.po by Poedit and translate strings.
|
@@ -123,6 +124,12 @@ a plugin for displaying Summary statistics of blog.
|
|
123 |
1. Screen shot (screenshot-2.png) in WP-Statistics Widget Page
|
124 |
|
125 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
= 2.2.7 =
|
127 |
* Fix problem in widget class.
|
128 |
* Redundancy in Arabic translation.
|
@@ -225,6 +232,12 @@ a plugin for displaying Summary statistics of blog.
|
|
225 |
* Start plugin
|
226 |
|
227 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
= 2.2.7 =
|
229 |
* Fix problem in widget class.
|
230 |
* Redundancy in Arabic translation.
|
3 |
Donate link: http://iran98.org/
|
4 |
Tags: statistics, stats, blog, today, yesterday, week, month, yearl, total, post, page, sidebar, summary, feedburner, hits, pagerank, google, alexa, live visit
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.4
|
7 |
+
Stable tag: 2.2.8
|
8 |
|
9 |
Summary statistics of blog.
|
10 |
|
55 |
* Turkish [Thanks aidinMC](http://www.artadl.ir/)
|
56 |
* Italian [Thanks Tony Bellardi](http://www.tonybellardi.com/)
|
57 |
* German [Thanks Andreas Martin](http://www.andreasmartin.com/)
|
58 |
+
* Russian [Thanks Oleg](http://www.bestplugins.ru/)
|
59 |
|
60 |
Send email for Translation files: mst404[a]gmail[dot].com
|
61 |
for translate, please open langs/default.po by Poedit and translate strings.
|
124 |
1. Screen shot (screenshot-2.png) in WP-Statistics Widget Page
|
125 |
|
126 |
== Upgrade Notice ==
|
127 |
+
= 2.2.8 =
|
128 |
+
* Added Russian language.
|
129 |
+
* Fix problem in count views.
|
130 |
+
* Added more filter for check spider.
|
131 |
+
* Optimize plugin.
|
132 |
+
|
133 |
= 2.2.7 =
|
134 |
* Fix problem in widget class.
|
135 |
* Redundancy in Arabic translation.
|
232 |
* Start plugin
|
233 |
|
234 |
== Changelog ==
|
235 |
+
= 2.2.8 =
|
236 |
+
* Added Russian language.
|
237 |
+
* Fix problem in count views.
|
238 |
+
* Added more filter for check spider.
|
239 |
+
* Optimize plugin.
|
240 |
+
|
241 |
= 2.2.7 =
|
242 |
* Fix problem in widget class.
|
243 |
* Redundancy in Arabic translation.
|
report_problem.php → report-problem.php
RENAMED
@@ -1,10 +1,8 @@
|
|
1 |
<?php
|
2 |
require('../../../wp-load.php');
|
3 |
-
if(is_super_admin())
|
4 |
-
{
|
5 |
global $user_email;
|
6 |
-
if($_REQUEST['y_name'] && $_REQUEST['d_report'])
|
7 |
-
{
|
8 |
$name = $_REQUEST['y_name'];
|
9 |
$email = $user_email;
|
10 |
$url = get_bloginfo('url');
|
@@ -15,9 +13,13 @@
|
|
15 |
$sender = get_option('blogname');
|
16 |
$headers = "MIME-Version: 1.0\r\n";
|
17 |
$headers = "Content-type: text/html; charset=utf-8\r\n";
|
18 |
-
$headers = "From: $email \r\nX-Mailer: $sender";
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
21 |
} else {
|
22 |
_e('Error! Please Enter all field', 'wp_statistics');
|
23 |
}
|
1 |
<?php
|
2 |
require('../../../wp-load.php');
|
3 |
+
if(is_super_admin()) {
|
|
|
4 |
global $user_email;
|
5 |
+
if($_REQUEST['y_name'] && $_REQUEST['d_report']) {
|
|
|
6 |
$name = $_REQUEST['y_name'];
|
7 |
$email = $user_email;
|
8 |
$url = get_bloginfo('url');
|
13 |
$sender = get_option('blogname');
|
14 |
$headers = "MIME-Version: 1.0\r\n";
|
15 |
$headers = "Content-type: text/html; charset=utf-8\r\n";
|
16 |
+
$headers = "From: $email \r\nX-Mailer: $sender";
|
17 |
+
|
18 |
+
if(wp_mail($to, $subject, $body, $headers)) {
|
19 |
+
_e('Thanks for your report!', 'wp_statistics');
|
20 |
+
} else {
|
21 |
+
_e('An error has occurred!', 'wp_statistics');
|
22 |
+
}
|
23 |
} else {
|
24 |
_e('Error! Please Enter all field', 'wp_statistics');
|
25 |
}
|
setting/setting.php
ADDED
@@ -0,0 +1,362 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<script type="text/javascript">
|
2 |
+
jQuery(document).ready(function(){
|
3 |
+
jQuery("span#increase_total_visit").click(function() {
|
4 |
+
var total_increase_value = jQuery("input#increase_total_visit").val();
|
5 |
+
jQuery("input#increase_total_visit").attr("disabled", "disabled");
|
6 |
+
jQuery("span#increase_total_visit").attr("disabled", "disabled");
|
7 |
+
jQuery("div#result_increase_total_visit").html("<img src='<?php echo plugins_url('wp-statistics/images/loading.gif');?>'/>");
|
8 |
+
jQuery.post("<?php echo plugins_url('wp-statistics/actions.php');?>",{increase_value:total_increase_value},function(result){
|
9 |
+
jQuery("div#result_increase_total_visit").html(result);
|
10 |
+
jQuery("input#increase_total_visit").removeAttr("disabled");
|
11 |
+
jQuery("span#increase_total_visit").removeAttr("disabled");
|
12 |
+
});
|
13 |
+
});
|
14 |
+
|
15 |
+
jQuery("span#reduction_total_visit").click(function() {
|
16 |
+
var total_reduction_value = jQuery("input#reduction_total_visit").val();
|
17 |
+
jQuery("input#reduction_total_visit").attr("disabled", "disabled");
|
18 |
+
jQuery("span#reduction_total_visit").attr("disabled", "disabled");
|
19 |
+
jQuery("div#result_reduction_total_visit").html("<img src='<?php echo plugins_url('wp-statistics/images/loading.gif');?>'/>");
|
20 |
+
jQuery.post("<?php echo plugins_url('wp-statistics/actions.php');?>",{reduction_value:total_reduction_value},function(result){
|
21 |
+
jQuery("div#result_reduction_total_visit").html(result);
|
22 |
+
jQuery("input#reduction_total_visit").removeAttr("disabled");
|
23 |
+
jQuery("span#reduction_total_visit").removeAttr("disabled");
|
24 |
+
});
|
25 |
+
});
|
26 |
+
|
27 |
+
jQuery("span#show_function").click(function() {
|
28 |
+
jQuery("div#report_problem").slideUp(1000);
|
29 |
+
jQuery("ul#functions_list").slideDown(1000, function() {
|
30 |
+
jQuery("ul#functions_list code").fadeIn(1000);
|
31 |
+
});
|
32 |
+
});
|
33 |
+
|
34 |
+
jQuery("span#hide_function").click(function() {
|
35 |
+
jQuery("ul#functions_list").slideUp(1000);
|
36 |
+
});
|
37 |
+
|
38 |
+
jQuery("span#hide_report").click(function() {
|
39 |
+
jQuery("div#report_problem").slideUp(1000);
|
40 |
+
});
|
41 |
+
|
42 |
+
jQuery("span#report_problem").click(function() {
|
43 |
+
jQuery("ul#functions_list").slideUp(1000);
|
44 |
+
jQuery("div#report_problem").slideDown(1000);
|
45 |
+
});
|
46 |
+
|
47 |
+
jQuery("span#send_report").click(function() {
|
48 |
+
var your_name = jQuery("input#your_name").val();
|
49 |
+
var your_report = jQuery("textarea#your_report").val();
|
50 |
+
jQuery("div#result_problem").html("<img src='<?php echo plugins_url('wp-statistics/images/loading.gif');?>'/>");
|
51 |
+
jQuery("div#result_problem").load("<?php echo plugins_url('wp-statistics/report-problem.php');?>", {y_name:your_name, d_report:your_report});
|
52 |
+
});
|
53 |
+
|
54 |
+
jQuery("span#uninstall").click(function() {
|
55 |
+
var uninstall = confirm("<?php _e('Are you sure?', 'wp_statistics'); ?>");
|
56 |
+
|
57 |
+
if(uninstall) {
|
58 |
+
jQuery("div#result_uninstall").html("<img src='<?php echo plugins_url('wp-statistics/images/loading.gif');?>'/>");
|
59 |
+
jQuery("div#result_uninstall").load('<?php echo plugins_url('wp-statistics/uninstall.php');?>');
|
60 |
+
}
|
61 |
+
});
|
62 |
+
});
|
63 |
+
</script>
|
64 |
+
|
65 |
+
<div class="wrap">
|
66 |
+
<h2><img src="<?php echo plugins_url('wp-statistics/images/icon_big.png');?>"/> <?php _e('Configuration', 'wp_statistics'); ?></h2>
|
67 |
+
<table class="form-table">
|
68 |
+
<form method="post" action="options.php">
|
69 |
+
<?php wp_nonce_field('update-options');?>
|
70 |
+
<tr style="background-color:#EEEEEE; border:1px solid #DDDDDD;">
|
71 |
+
<td width="250"><?php _e('Enable Statistics', 'wp_statistics'); ?>:</td>
|
72 |
+
<td width="200">
|
73 |
+
<?php $get_enable_stats = get_option('enable_stats'); ?>
|
74 |
+
<input type="checkbox" name="enable_stats" id="enable_stats" <?php echo $get_enable_stats==true? "checked='checked'" : '';?>/>
|
75 |
+
<label for="enable_stats"><?php _e('Yes', 'wp_statistics'); ?></label>
|
76 |
+
</td>
|
77 |
+
<td>
|
78 |
+
<?php if($get_enable_stats) { ?>
|
79 |
+
<span style="font-size:11px; color:#009900;">(<?php _e('Statistics are enabled.', 'wp_statistics'); ?>)</span>
|
80 |
+
<?php } else { ?>
|
81 |
+
<span style="font-size:11px; color:#FF0000;">(<?php _e('Statistics are disabled!', 'wp_statistics'); ?>)</span>
|
82 |
+
<?php } ?>
|
83 |
+
</td>
|
84 |
+
</tr>
|
85 |
+
|
86 |
+
<tr><th><h3><?php _e('General configuration', 'wp_statistics'); ?></h4></th></tr>
|
87 |
+
|
88 |
+
<tr>
|
89 |
+
<td><?php _e('Show decimals number', 'wp_statistics'); ?>:</td>
|
90 |
+
<td>
|
91 |
+
<?php $get_enable_stats = get_option('enable_decimals'); ?>
|
92 |
+
<input type="checkbox" name="enable_decimals" id="enable_decimals" <?php echo $get_enable_stats==true? "checked='checked'" : '';?>/>
|
93 |
+
<label for="enable_decimals"><?php _e('Yes', 'wp_statistics'); ?></label>
|
94 |
+
</td>
|
95 |
+
<td><span style="font-size:11px;">(<?php _e('Show number stats with decimal. For examle: 3,500', 'wp_statistics'); ?>)</span></td>
|
96 |
+
</tr>
|
97 |
+
|
98 |
+
<tr>
|
99 |
+
<td><?php _e('Show stats in menu bar', 'wp_statistics'); ?>:</td>
|
100 |
+
<td>
|
101 |
+
<?php $get_enable_wps_adminbar = get_option('enable_wps_adminbar'); ?>
|
102 |
+
<input type="checkbox" name="enable_wps_adminbar" id="enable_wps_adminbar" <?php echo $get_enable_wps_adminbar==true? "checked='checked'" : '';?>/>
|
103 |
+
<label for="enable_wps_adminbar"><?php _e('Yes', 'wp_statistics'); ?></label>
|
104 |
+
</td>
|
105 |
+
<td><span style="font-size:11px;">(<?php _e('Show stats in admin menu bar', 'wp_statistics'); ?>)</span></td>
|
106 |
+
</tr>
|
107 |
+
|
108 |
+
<tr>
|
109 |
+
<td><?php _e('Daily referer of search engines', 'wp_statistics'); ?>:</td>
|
110 |
+
<td>
|
111 |
+
<input type="checkbox" name="daily_referer" id="daily_referer" <?php echo get_option('daily_referer') == true ? "checked='checked'" : '';?>/>
|
112 |
+
<label for="daily_referer"><?php _e('Yes', 'wp_statistics'); ?></label>
|
113 |
+
</td>
|
114 |
+
<td><span style="font-size:11px;">(<?php _e('Can be calculated daily or total search engines', 'wp_statistics'); ?>)</span></td>
|
115 |
+
</tr>
|
116 |
+
|
117 |
+
<tr>
|
118 |
+
<td><?php _e('Check for online users every', 'wp_statistics'); ?>:</td>
|
119 |
+
<td>
|
120 |
+
<input type="text" name="time_useronline_s" style="direction:ltr; width:60px" maxlength="3" value="<?php echo get_option('time_useronline_s'); ?>"/>
|
121 |
+
<span style="font-size:10px;"><?php _e('Second', 'wp_statistics'); ?></span>
|
122 |
+
</td>
|
123 |
+
<td><span style="font-size:11px;">(<?php echo sprintf(__('Time for the check accurate online user in the site. Default: %s Second', 'wp_statistics'), 10); ?>)</span></td>
|
124 |
+
</tr>
|
125 |
+
|
126 |
+
<tr>
|
127 |
+
<td><?php _e('Increase value of the total hits by', 'wp_statistics'); ?>:</td>
|
128 |
+
<td>
|
129 |
+
<input type="text" name="increase_total_visit" id="increase_total_visit" style="direction:ltr; width:100px" maxlength="10"/>
|
130 |
+
<span class="button" id="increase_total_visit" style="width:50px;"><?php _e('Done', 'wp_statistics'); ?></span>
|
131 |
+
<div id="result_increase_total_visit" style="font-size:11px;"></div>
|
132 |
+
</td>
|
133 |
+
<td><span style="font-size:11px;">(<?php _e('Your total visit sum with this value', 'wp_statistics'); ?>)</span></td>
|
134 |
+
</tr>
|
135 |
+
|
136 |
+
<tr>
|
137 |
+
<td><?php _e('Reduce value of the total hits by', 'wp_statistics'); ?>:</td>
|
138 |
+
<td>
|
139 |
+
<input type="text" name="reduction_total_visit" id="reduction_total_visit" style="direction:ltr; width:100px" maxlength="10"/>
|
140 |
+
<span class="button" id="reduction_total_visit" style="width:50px;"><?php _e('Done', 'wp_statistics'); ?></span>
|
141 |
+
<div id="result_reduction_total_visit" style="font-size:11px;"></div>
|
142 |
+
</td>
|
143 |
+
<td><span style="font-size:11px;">(<?php _e('Your total visit minus with this value', 'wp_statistics'); ?>)</span></td>
|
144 |
+
</tr>
|
145 |
+
|
146 |
+
<tr>
|
147 |
+
<td><?php _e('Number item for show Statistics', 'wp_statistics'); ?>:</td>
|
148 |
+
<td>
|
149 |
+
<input type="text" name="items_statistics" style="direction:ltr; width:70px" maxlength="3" value="<?php echo get_option('items_statistics'); ?>"/>
|
150 |
+
<span style="font-size:10px;"><?php _e('Default 5', 'wp_statistics'); ?></span>
|
151 |
+
</td>
|
152 |
+
<td><span style="font-size:11px;">(<?php _e('Number for submit item in Database and show that', 'wp_statistics'); ?>)</span></td>
|
153 |
+
</tr>
|
154 |
+
|
155 |
+
<tr>
|
156 |
+
<td><?php _e('Coefficient per visitor', 'wp_statistics'); ?>:</td>
|
157 |
+
<td>
|
158 |
+
<input type="text" name="coefficient_visitor" style="direction:ltr; width:70px" maxlength="3" value="<?php echo get_option('coefficient_visitor'); ?>"/>
|
159 |
+
<span style="font-size:10px;"><?php _e('Default 1', 'wp_statistics'); ?></span>
|
160 |
+
</td>
|
161 |
+
<td><span style="font-size:11px;">(<?php _e('For each visitor to account for several hits.', 'wp_statistics'); ?>)</span></td>
|
162 |
+
</tr>
|
163 |
+
|
164 |
+
<tr><th><h3><?php _e('Live Statistics configuration', 'wp_statistics'); ?></h4></th></tr>
|
165 |
+
|
166 |
+
<tr>
|
167 |
+
<td><?php _e('Refresh Stats every', 'wp_statistics'); ?>:</td>
|
168 |
+
<td>
|
169 |
+
<input type="text" name="database_checktime" style="direction:ltr; width:60px" maxlength="3" value="<?php echo get_option('database_checktime'); ?>"/>
|
170 |
+
<span style="font-size:10px;"><?php _e('Second(s)', 'wp_statistics'); ?></span>
|
171 |
+
</td>
|
172 |
+
<td>
|
173 |
+
<span style="font-size:11px; color:#FF0000;"><?php _e('Recommended', 'wp_statistics'); ?></span>
|
174 |
+
<span style="font-size:11px;">(<?php _e('To reduce pressure on the server, this defaults to 10 sec', 'wp_statistics'); ?>.)</span>
|
175 |
+
</td>
|
176 |
+
</tr>
|
177 |
+
|
178 |
+
<tr><th><h3><?php _e('Pagerank configuration', 'wp_statistics'); ?></h4></th></tr>
|
179 |
+
|
180 |
+
<tr>
|
181 |
+
<td><?php _e('Your url for Google pagerank check', 'wp_statistics'); ?>:</td>
|
182 |
+
<td>
|
183 |
+
<input type="text" name="pagerank_google_url" style="direction:ltr; width:200px" value="<?php echo get_option('pagerank_google_url'); ?>"/>
|
184 |
+
</td>
|
185 |
+
<td>
|
186 |
+
<span style="font-size:11px;">(<?php _e('If empty. you website url is used', 'wp_statistics'); ?>)</span>
|
187 |
+
</td>
|
188 |
+
</tr>
|
189 |
+
|
190 |
+
<tr>
|
191 |
+
<td><?php _e('Your url for Alexa pagerank check', 'wp_statistics'); ?>:</td>
|
192 |
+
<td>
|
193 |
+
<input type="text" name="pagerank_alexa_url" style="direction:ltr; width:200px" value="<?php echo get_option('pagerank_alexa_url'); ?>"/>
|
194 |
+
</td>
|
195 |
+
<td>
|
196 |
+
<span style="font-size:11px;">(<?php _e('If empty. you website url is used', 'wp_statistics'); ?>)</span>
|
197 |
+
</td>
|
198 |
+
</tr>
|
199 |
+
|
200 |
+
<tr>
|
201 |
+
<td>
|
202 |
+
<p class="submit">
|
203 |
+
<input type="hidden" name="action" value="update" />
|
204 |
+
<input type="hidden" name="page_options" value="enable_stats,enable_decimals,enable_wps_adminbar,daily_referer,time_useronline_s,items_statistics,coefficient_visitor,database_checktime,pagerank_google_url,pagerank_alexa_url" />
|
205 |
+
<input type="submit" class="button-primary" name="Submit" value="<?php _e('Update', 'wp_statistics'); ?>" />
|
206 |
+
</p>
|
207 |
+
</td>
|
208 |
+
</tr>
|
209 |
+
|
210 |
+
<tr>
|
211 |
+
<th colspan="3">
|
212 |
+
<?php echo sprintf(__('This plugin created by %s from %s and %s.', 'wp_statistics'), '<a href="http://design.iran98.org/">Mostafa Soufi</a>', '<a href="http://forum.wp-parsi.com/">WP Parsi</a>', '<a href="http://wpbazar.com/">WP Bazar</a>'); ?>
|
213 |
+
|
214 |
+
<h3><?php _e('Plugin translators', 'wp_statistics'); ?></h3>
|
215 |
+
<ul>
|
216 |
+
|
217 |
+
<ul>
|
218 |
+
<li><?php _e('Language', 'wp_statistics'); ?> Portuguese <?php _e('by', 'wp_statistics'); ?><a a href="http://www.musicalmente.info/"> musicalmente</a></li>
|
219 |
+
<li><?php _e('Language', 'wp_statistics'); ?> Romanian <?php _e('by', 'wp_statistics'); ?> <a href="http://www.nobelcom.com/">Luke Tyler</a></li>
|
220 |
+
<li><?php _e('Language', 'wp_statistics'); ?> French <?php _e('by', 'wp_statistics'); ?> <a href="mailto:gnanice@gmail.com">Anice Gnampa</a></li>
|
221 |
+
<li><?php _e('Language', 'wp_statistics'); ?> Russian <?php _e('by', 'wp_statistics'); ?> <a href="http://www.iflexion.com/">Igor Dubilej</a></li>
|
222 |
+
<li><?php _e('Language', 'wp_statistics'); ?> Spanish <?php _e('by', 'wp_statistics'); ?> <a href="mailto:joanfusan@gmail.com">jose</a></li>
|
223 |
+
<li><?php _e('Language', 'wp_statistics'); ?> Arabic <?php _e('by', 'wp_statistics'); ?> <a href="http://www.facebook.com/aboHatim">Hammad Shammari</a></li>
|
224 |
+
<li><?php _e('Language', 'wp_statistics'); ?> German <?php _e('by', 'wp_statistics'); ?> <a href="http://www.andreasmartin.com/">Andreas Martin</a></li>
|
225 |
+
<li><?php _e('Language', 'wp_statistics'); ?> Russian <?php _e('by', 'wp_statistics'); ?> <a href="http://www.bestplugins.ru/">Oleg Martin</a></li>
|
226 |
+
</ul>
|
227 |
+
<?php _e('for translate language files. please send files for', 'wp_statistics'); ?> <code>mst404@gmail.com</code>
|
228 |
+
|
229 |
+
<p style="padding-top: 5px;">
|
230 |
+
<span class="button" id="show_function"><?php _e('Show Functions', 'wp_statistics'); ?></span>
|
231 |
+
<span class="button" id="report_problem"><?php _e('Report Problem', 'wp_statistics'); ?></span>
|
232 |
+
</p>
|
233 |
+
|
234 |
+
<style>
|
235 |
+
a{text-decoration: none}
|
236 |
+
ul#functions_list code{border-radius:5px; padding:5px; display:none; width:400px; text-align:left; float:left; direction:ltr;}
|
237 |
+
ul#functions_list{list-style-type: decimal; margin: 20px; display:none;}
|
238 |
+
ul#functions_list li{line-height: 25px; width: 200px;}
|
239 |
+
div#report_problem{display: none;}
|
240 |
+
</style>
|
241 |
+
<ul id="functions_list">
|
242 |
+
<table>
|
243 |
+
<tr>
|
244 |
+
<td><?php _e('User Online Live', 'wp_statistics'); ?></td>
|
245 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_useronline_live(); ?>'); ?></code></td>
|
246 |
+
</tr>
|
247 |
+
<tr>
|
248 |
+
<td><?php _e('Total Visit Live', 'wp_statistics'); ?></td>
|
249 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_total_live(); ?>'); ?></code></td>
|
250 |
+
</tr>
|
251 |
+
<tr>
|
252 |
+
<td><?php _e('User Online', 'wp_statistics'); ?></td>
|
253 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_useronline(); ?>'); ?></code></td>
|
254 |
+
</tr>
|
255 |
+
<tr>
|
256 |
+
<td><?php _e('Today Visit', 'wp_statistics'); ?></td>
|
257 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_today(); ?>'); ?></code></td>
|
258 |
+
</tr>
|
259 |
+
<tr>
|
260 |
+
<td><?php _e('Yesterday visit', 'wp_statistics'); ?></td>
|
261 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_yesterday(); ?>'); ?></code></td>
|
262 |
+
</tr>
|
263 |
+
<tr>
|
264 |
+
<td><?php _e('Week Visit', 'wp_statistics'); ?></td>
|
265 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_week(); ?>'); ?></code></td>
|
266 |
+
</tr>
|
267 |
+
<tr>
|
268 |
+
<td><?php _e('Month Visit', 'wp_statistics'); ?></td>
|
269 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_month(); ?>'); ?></code></td>
|
270 |
+
</tr>
|
271 |
+
<tr>
|
272 |
+
<td><?php _e('Years Visit', 'wp_statistics'); ?></td>
|
273 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_year(); ?>'); ?></code></td>
|
274 |
+
</tr>
|
275 |
+
<tr>
|
276 |
+
<td><?php _e('Total Visit', 'wp_statistics'); ?></td>
|
277 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_total(); ?>'); ?></code></td>
|
278 |
+
</tr>
|
279 |
+
<tr>
|
280 |
+
<td><?php _e('Search Engine reffered', 'wp_statistics'); ?></td>
|
281 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_searchengine(); ?>'); ?></code></td>
|
282 |
+
</tr>
|
283 |
+
<tr>
|
284 |
+
<td><?php _e('Total Posts', 'wp_statistics'); ?></td>
|
285 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_countposts(); ?>'); ?></code></td>
|
286 |
+
</tr>
|
287 |
+
<tr>
|
288 |
+
<td><?php _e('Total Pages', 'wp_statistics'); ?></td>
|
289 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_countpages(); ?>'); ?></code></td>
|
290 |
+
</tr>
|
291 |
+
<tr>
|
292 |
+
<td><?php _e('Total Comments', 'wp_statistics'); ?></td>
|
293 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_countcomment(); ?>'); ?></code></td>
|
294 |
+
</tr>
|
295 |
+
<tr>
|
296 |
+
<td><?php _e('Total Spams', 'wp_statistics'); ?></td>
|
297 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_countspam(); ?>'); ?></code></td>
|
298 |
+
</tr>
|
299 |
+
<tr>
|
300 |
+
<td><?php _e('Total Users', 'wp_statistics'); ?></td>
|
301 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_countusers(); ?>'); ?></code></td>
|
302 |
+
</tr>
|
303 |
+
<tr>
|
304 |
+
<td><?php _e('Last Post Date', 'wp_statistics'); ?></td>
|
305 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_lastpostdate(); ?>'); ?></code></td>
|
306 |
+
</tr>
|
307 |
+
<tr>
|
308 |
+
<td><?php _e('Average Posts', 'wp_statistics'); ?></td>
|
309 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_average_post(); ?>'); ?></code></td>
|
310 |
+
</tr>
|
311 |
+
<tr>
|
312 |
+
<td><?php _e('Average Comments', 'wp_statistics'); ?></td>
|
313 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_average_comment(); ?>'); ?></code></td>
|
314 |
+
</tr>
|
315 |
+
<tr>
|
316 |
+
<td><?php _e('Average Users', 'wp_statistics'); ?></td>
|
317 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_average_registeruser(); ?>'); ?></code></td>
|
318 |
+
</tr>
|
319 |
+
<tr>
|
320 |
+
<td><?php _e('Total Feedburner Subscribe', 'wp_statistics'); ?></td>
|
321 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_countsubscrib("feedburneraddress"); ?>'); ?></code></td>
|
322 |
+
</tr>
|
323 |
+
<tr>
|
324 |
+
<td><?php _e('Google Pagerank', 'wp_statistics'); ?></td>
|
325 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_google_page_rank(); ?>'); ?></code></td>
|
326 |
+
</tr>
|
327 |
+
<tr>
|
328 |
+
<td><?php _e('Alexa Pagerank', 'wp_statistics'); ?></td>
|
329 |
+
<td><code><?php highlight_string('<?php echo wp_statistics_alexaRank(); ?>'); ?></code></td>
|
330 |
+
</tr>
|
331 |
+
</table>
|
332 |
+
<br /><span class="button" id="hide_function"><?php _e('Hide', 'wp_statistics'); ?></span>
|
333 |
+
</ul>
|
334 |
+
|
335 |
+
<div id="report_problem">
|
336 |
+
<p><?php _e('Your Name', 'wp_statistics'); ?>:<br /><input type="text" name="your_name" id="your_name"/></p>
|
337 |
+
|
338 |
+
<p><?php _e('Description Problem', 'wp_statistics'); ?>:<br /><textarea name="your_report" id="your_report"/></textarea></p>
|
339 |
+
<div id="result_problem"></div>
|
340 |
+
<br />
|
341 |
+
<span class="button" id="send_report"><?php _e('Send Problem', 'wp_statistics'); ?></span>
|
342 |
+
<span class="button" id="hide_report"><?php _e('Hide', 'wp_statistics'); ?></span>
|
343 |
+
</div>
|
344 |
+
</th>
|
345 |
+
</tr>
|
346 |
+
|
347 |
+
<tr>
|
348 |
+
<th>
|
349 |
+
<h3><?php _e('Unistall plugin', 'wp_statistics'); ?></h4>
|
350 |
+
</th>
|
351 |
+
</tr>
|
352 |
+
|
353 |
+
<tr>
|
354 |
+
<th colspan="3">
|
355 |
+
<?php _e('Delete all data, including tables and plugin options', 'wp_statistics'); ?>
|
356 |
+
<span class="button" id="uninstall"><?php _e('Uninstall', 'wp_statistics'); ?></span>
|
357 |
+
<div id="result_uninstall"></div>
|
358 |
+
</th>
|
359 |
+
</tr>
|
360 |
+
</form>
|
361 |
+
</table>
|
362 |
+
</div>
|
setting/stats.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="wrap">
|
2 |
+
<h2><img src="<?php echo plugins_url('wp-statistics/images/icon_big.png');?>"/> <?php _e('Stats weblog', 'wp_statistics'); ?></h2>
|
3 |
+
<table class="widefat fixed" cellspacing="0">
|
4 |
+
<thead>
|
5 |
+
<tr>
|
6 |
+
<th id="cb" scope="col" class="manage-column column-cb check-column"></th>
|
7 |
+
<th scope="col" class="manage-column column-name" width="5%"><?php _e('No', 'wp_statistics'); ?></th>
|
8 |
+
<th scope="col" class="manage-column column-name" width="10%"><?php _e('IP', 'wp_statistics'); ?></th>
|
9 |
+
<th scope="col" class="manage-column column-name" width="10%"><?php _e('Time', 'wp_statistics'); ?></th>
|
10 |
+
<th scope="col" class="manage-column column-name" width="40%"><?php _e('Referred', 'wp_statistics'); ?></th>
|
11 |
+
<th scope="col" class="manage-column column-name" width="30%"><?php _e('Agent', 'wp_statistics'); ?></th>
|
12 |
+
</tr>
|
13 |
+
</thead>
|
14 |
+
|
15 |
+
<tbody>
|
16 |
+
<?php
|
17 |
+
global $wpdb, $table_prefix;
|
18 |
+
$get_result = $wpdb->get_results("SELECT * FROM {$table_prefix}statistics_reffered");
|
19 |
+
|
20 |
+
if(count($get_result ) > 0) {
|
21 |
+
foreach($get_result as $gets) {
|
22 |
+
$i++;
|
23 |
+
?>
|
24 |
+
<tr class="<?php echo $i % 2 == 0 ? 'alternate':'author-self'; ?>" valign="middle" id="link-2">
|
25 |
+
<th class="check-column" scope="row"></th>
|
26 |
+
<td class="column-name"><?php echo $i; ?></td>
|
27 |
+
<td class="column-name"><?php echo $gets->ip; ?></td>
|
28 |
+
<td class="column-name"><?php echo $gets->time; ?></td>
|
29 |
+
<td class="column-name"><a href="<?php echo $gets->referred; ?>" target="_blank"><?php echo $gets->referred; ?></a></td>
|
30 |
+
<td class="column-name"><?php echo $gets->agent; ?></td>
|
31 |
+
</tr>
|
32 |
+
<?php
|
33 |
+
}
|
34 |
+
} else { ?>
|
35 |
+
<tr>
|
36 |
+
<td colspan="6"><?php _e('Not Found!', 'wp_statistics'); ?></td>
|
37 |
+
</tr>
|
38 |
+
<?php } ?>
|
39 |
+
</tbody>
|
40 |
+
|
41 |
+
<tfoot>
|
42 |
+
<tr>
|
43 |
+
<th id="cb" scope="col" class="manage-column column-cb check-column"></th>
|
44 |
+
<th scope="col" class="manage-column column-name" width="5%"><?php _e('No', 'wp_statistics'); ?></th>
|
45 |
+
<th scope="col" class="manage-column column-name" width="10%"><?php _e('IP', 'wp_statistics'); ?></th>
|
46 |
+
<th scope="col" class="manage-column column-name" width="10%"><?php _e('Time', 'wp_statistics'); ?></th>
|
47 |
+
<th scope="col" class="manage-column column-name" width="40%"><?php _e('Referred', 'wp_statistics'); ?></th>
|
48 |
+
<th scope="col" class="manage-column column-name" width="30%"><?php _e('Agent', 'wp_statistics'); ?></th>
|
49 |
+
</tr>
|
50 |
+
</tfoot>
|
51 |
+
</table>
|
52 |
+
</div>
|
setting/useronline.php
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="wrap">
|
2 |
+
<h2><img src="<?php echo plugins_url('wp-statistics/images/icon_big.png');?>"/> <?php _e('User Online', 'wp_statistics'); ?></h2>
|
3 |
+
<table class="widefat fixed" cellspacing="0">
|
4 |
+
<thead>
|
5 |
+
<tr>
|
6 |
+
<th id="cb" scope="col" class="manage-column column-cb check-column"></th>
|
7 |
+
<th scope="col" class="manage-column column-name" width="5%"><?php _e('No', 'wp_statistics'); ?></th>
|
8 |
+
<th scope="col" class="manage-column column-name" width="10%"><?php _e('IP', 'wp_statistics'); ?></th>
|
9 |
+
<th scope="col" class="manage-column column-name" width="10%"><?php _e('Time', 'wp_statistics'); ?></th>
|
10 |
+
<th scope="col" class="manage-column column-name" width="40%"><?php _e('Referred', 'wp_statistics'); ?></th>
|
11 |
+
<th scope="col" class="manage-column column-name" width="30%"><?php _e('Agent', 'wp_statistics'); ?></th>
|
12 |
+
</tr>
|
13 |
+
</thead>
|
14 |
+
|
15 |
+
<tbody>
|
16 |
+
<?php
|
17 |
+
global $wpdb, $table_prefix;
|
18 |
+
$get_result = $wpdb->get_results("SELECT * FROM {$table_prefix}statistics_useronline");
|
19 |
+
|
20 |
+
if(count($get_result ) > 0)
|
21 |
+
{
|
22 |
+
foreach($get_result as $gets)
|
23 |
+
{
|
24 |
+
$i++;
|
25 |
+
?>
|
26 |
+
<tr class="<?php echo $i % 2 == 0 ? 'alternate':'author-self'; ?>" valign="middle" id="link-2">
|
27 |
+
<th class="check-column" scope="row"></th>
|
28 |
+
<td class="column-name"><?php echo $i; ?></td>
|
29 |
+
<td class="column-name"><?php echo $gets->ip; ?></td>
|
30 |
+
<td class="column-name"><?php echo $gets->time; ?></td>
|
31 |
+
<td class="column-name"><a href="<?php echo $gets->referred; ?>" target="_blank"><?php echo $gets->referred; ?></a></td>
|
32 |
+
<td class="column-name"><?php echo $gets->agent; ?></td>
|
33 |
+
</tr>
|
34 |
+
<?php
|
35 |
+
}
|
36 |
+
} else { ?>
|
37 |
+
<tr>
|
38 |
+
<td colspan="6"><?php _e('Not Found!', 'wp_statistics'); ?></td>
|
39 |
+
</tr>
|
40 |
+
<?php } ?>
|
41 |
+
</tbody>
|
42 |
+
|
43 |
+
<tfoot>
|
44 |
+
<tr>
|
45 |
+
<th id="cb" scope="col" class="manage-column column-cb check-column"></th>
|
46 |
+
<th scope="col" class="manage-column column-name" width="5%"><?php _e('No', 'wp_statistics'); ?></th>
|
47 |
+
<th scope="col" class="manage-column column-name" width="10%"><?php _e('IP', 'wp_statistics'); ?></th>
|
48 |
+
<th scope="col" class="manage-column column-name" width="10%"><?php _e('Time', 'wp_statistics'); ?></th>
|
49 |
+
<th scope="col" class="manage-column column-name" width="40%"><?php _e('Referred', 'wp_statistics'); ?></th>
|
50 |
+
<th scope="col" class="manage-column column-name" width="30%"><?php _e('Agent', 'wp_statistics'); ?></th>
|
51 |
+
</tr>
|
52 |
+
</tfoot>
|
53 |
+
</table>
|
54 |
+
</div>
|
uninstall.php
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
<?php
|
2 |
require('../../../wp-load.php');
|
3 |
-
if(is_super_admin())
|
4 |
-
{
|
5 |
global $wpdb, $table_prefix;
|
6 |
|
7 |
// Database
|
1 |
<?php
|
2 |
require('../../../wp-load.php');
|
3 |
+
if(is_super_admin()) {
|
|
|
4 |
global $wpdb, $table_prefix;
|
5 |
|
6 |
// Database
|
widget.php
CHANGED
@@ -1,75 +1,66 @@
|
|
1 |
<?php
|
2 |
-
function wp_statistics_widget()
|
3 |
-
{
|
4 |
wp_register_sidebar_widget('wp_statistics_widget', __('WP-Statistics', 'wp_statistics'), 'wp_statistics_show_widget', array(
|
5 |
'description' => __('Show site stats in sidebar', 'wp_statistics')));
|
6 |
wp_register_widget_control('wp_statistics_widget', __('WP-Statistics', 'wp_statistics'), 'wp_statistics_control_widget');
|
7 |
}
|
|
|
8 |
|
9 |
-
function wp_statistics_show_widget($args)
|
10 |
-
{
|
11 |
extract($args);
|
12 |
echo $before_widget;
|
13 |
echo $before_title . get_option('name_widget') . $after_title ;
|
14 |
echo "<ul>";
|
15 |
-
if(get_option('useronline_widget'))
|
16 |
-
{
|
17 |
echo "<li>";
|
18 |
echo __('User Online', 'wp_statistics'). ": ";
|
19 |
echo wp_statistics_useronline();
|
20 |
echo "</li>";
|
21 |
}
|
22 |
|
23 |
-
if(get_option('tvisit_widget'))
|
24 |
-
{
|
25 |
echo "<li>";
|
26 |
echo __('Today Visit', 'wp_statistics'). ": ";
|
27 |
echo wp_statistics_today();
|
28 |
echo "</li>";
|
29 |
}
|
30 |
|
31 |
-
if(get_option('yvisit_widget'))
|
32 |
-
{
|
33 |
echo "<li>";
|
34 |
echo __('Yesterday Visit', 'wp_statistics'). ": ";
|
35 |
echo wp_statistics_yesterday();
|
36 |
echo "</li>";
|
37 |
}
|
38 |
|
39 |
-
if(get_option('wvisit_widget'))
|
40 |
-
{
|
41 |
echo "<li>";
|
42 |
echo __('Week Visit', 'wp_statistics'). ": ";
|
43 |
echo wp_statistics_week();
|
44 |
echo "</li>";
|
45 |
}
|
46 |
|
47 |
-
if(get_option('mvisit_widget'))
|
48 |
-
{
|
49 |
echo "<li>";
|
50 |
echo __('Month Visit', 'wp_statistics'). ": ";
|
51 |
echo wp_statistics_month();
|
52 |
echo "</li>";
|
53 |
}
|
54 |
|
55 |
-
if(get_option('ysvisit_widget'))
|
56 |
-
{
|
57 |
echo "<li>";
|
58 |
echo __('Years Visit', 'wp_statistics'). ": ";
|
59 |
echo wp_statistics_year();
|
60 |
echo "</li>";
|
61 |
}
|
62 |
|
63 |
-
if(get_option('ttvisit_widget'))
|
64 |
-
{
|
65 |
echo "<li>";
|
66 |
echo __('Total Visit', 'wp_statistics'). ": ";
|
67 |
echo wp_statistics_total();
|
68 |
echo "</li>";
|
69 |
}
|
70 |
|
71 |
-
if(get_option('ser_widget'))
|
72 |
-
{
|
73 |
echo "<li>";
|
74 |
echo __('Search Engine reffered', 'wp_statistics'). ": ";
|
75 |
if(get_option('select_se') == "google"){
|
@@ -84,76 +75,66 @@ function wp_statistics_show_widget($args)
|
|
84 |
echo "</li>";
|
85 |
}
|
86 |
|
87 |
-
if(get_option('tp_widget'))
|
88 |
-
{
|
89 |
echo "<li>";
|
90 |
echo __('Total Posts', 'wp_statistics'). ": ";
|
91 |
echo wp_statistics_countposts();
|
92 |
echo "</li>";
|
93 |
}
|
94 |
|
95 |
-
if(get_option('tpg_widget'))
|
96 |
-
{
|
97 |
echo "<li>";
|
98 |
echo __('Total Pages', 'wp_statistics'). ": ";
|
99 |
echo wp_statistics_countpages();
|
100 |
echo "</li>";
|
101 |
}
|
102 |
|
103 |
-
if(get_option('tc_widget'))
|
104 |
-
{
|
105 |
echo "<li>";
|
106 |
echo __('Total Comments', 'wp_statistics'). ": ";
|
107 |
echo wp_statistics_countcomment();
|
108 |
echo "</li>";
|
109 |
}
|
110 |
|
111 |
-
if(get_option('ts_widget'))
|
112 |
-
{
|
113 |
echo "<li>";
|
114 |
echo __('Total Spams', 'wp_statistics'). ": ";
|
115 |
echo wp_statistics_countspam();
|
116 |
echo "</li>";
|
117 |
}
|
118 |
|
119 |
-
if(get_option('tu_widget'))
|
120 |
-
{
|
121 |
echo "<li>";
|
122 |
echo __('Total Users', 'wp_statistics'). ": ";
|
123 |
echo wp_statistics_countusers();
|
124 |
echo "</li>";
|
125 |
}
|
126 |
|
127 |
-
if(get_option('ap_widget'))
|
128 |
-
{
|
129 |
echo "<li>";
|
130 |
echo __('Average Posts', 'wp_statistics'). ": ";
|
131 |
echo wp_statistics_average_post();
|
132 |
echo "</li>";
|
133 |
}
|
134 |
|
135 |
-
if(get_option('ac_widget'))
|
136 |
-
{
|
137 |
echo "<li>";
|
138 |
echo __('Average Comments', 'wp_statistics'). ": ";
|
139 |
echo wp_statistics_average_comment();
|
140 |
echo "</li>";
|
141 |
}
|
142 |
|
143 |
-
if(get_option('au_widget'))
|
144 |
-
{
|
145 |
echo "<li>";
|
146 |
echo __('Average Users', 'wp_statistics'). ": ";
|
147 |
echo wp_statistics_average_registeruser();
|
148 |
echo "</li>";
|
149 |
}
|
150 |
|
151 |
-
if(get_option('lpd_widget'))
|
152 |
-
{
|
153 |
echo "<li>";
|
154 |
echo __('Last Post Date', 'wp_statistics'). ": ";
|
155 |
-
if(get_option('select_lps') == "farsi")
|
156 |
-
{
|
157 |
echo wp_statistics_lastpostdate("farsi");
|
158 |
} else {
|
159 |
echo wp_statistics_lastpostdate();
|
@@ -164,10 +145,8 @@ function wp_statistics_show_widget($args)
|
|
164 |
echo $after_widget;
|
165 |
}
|
166 |
|
167 |
-
function wp_statistics_control_widget()
|
168 |
-
|
169 |
-
if ($_POST['wp_statistics_control_widget_submit'])
|
170 |
-
{
|
171 |
update_option('name_widget', $_POST['name_widget']);
|
172 |
update_option('useronline_widget', $_POST['useronline_widget']);
|
173 |
update_option('tvisit_widget', $_POST['tvisit_widget']);
|
1 |
<?php
|
2 |
+
function wp_statistics_widget() {
|
|
|
3 |
wp_register_sidebar_widget('wp_statistics_widget', __('WP-Statistics', 'wp_statistics'), 'wp_statistics_show_widget', array(
|
4 |
'description' => __('Show site stats in sidebar', 'wp_statistics')));
|
5 |
wp_register_widget_control('wp_statistics_widget', __('WP-Statistics', 'wp_statistics'), 'wp_statistics_control_widget');
|
6 |
}
|
7 |
+
add_action("plugins_loaded", "wp_statistics_widget");
|
8 |
|
9 |
+
function wp_statistics_show_widget($args) {
|
|
|
10 |
extract($args);
|
11 |
echo $before_widget;
|
12 |
echo $before_title . get_option('name_widget') . $after_title ;
|
13 |
echo "<ul>";
|
14 |
+
if(get_option('useronline_widget')) {
|
|
|
15 |
echo "<li>";
|
16 |
echo __('User Online', 'wp_statistics'). ": ";
|
17 |
echo wp_statistics_useronline();
|
18 |
echo "</li>";
|
19 |
}
|
20 |
|
21 |
+
if(get_option('tvisit_widget')) {
|
|
|
22 |
echo "<li>";
|
23 |
echo __('Today Visit', 'wp_statistics'). ": ";
|
24 |
echo wp_statistics_today();
|
25 |
echo "</li>";
|
26 |
}
|
27 |
|
28 |
+
if(get_option('yvisit_widget')) {
|
|
|
29 |
echo "<li>";
|
30 |
echo __('Yesterday Visit', 'wp_statistics'). ": ";
|
31 |
echo wp_statistics_yesterday();
|
32 |
echo "</li>";
|
33 |
}
|
34 |
|
35 |
+
if(get_option('wvisit_widget')) {
|
|
|
36 |
echo "<li>";
|
37 |
echo __('Week Visit', 'wp_statistics'). ": ";
|
38 |
echo wp_statistics_week();
|
39 |
echo "</li>";
|
40 |
}
|
41 |
|
42 |
+
if(get_option('mvisit_widget')) {
|
|
|
43 |
echo "<li>";
|
44 |
echo __('Month Visit', 'wp_statistics'). ": ";
|
45 |
echo wp_statistics_month();
|
46 |
echo "</li>";
|
47 |
}
|
48 |
|
49 |
+
if(get_option('ysvisit_widget')) {
|
|
|
50 |
echo "<li>";
|
51 |
echo __('Years Visit', 'wp_statistics'). ": ";
|
52 |
echo wp_statistics_year();
|
53 |
echo "</li>";
|
54 |
}
|
55 |
|
56 |
+
if(get_option('ttvisit_widget')) {
|
|
|
57 |
echo "<li>";
|
58 |
echo __('Total Visit', 'wp_statistics'). ": ";
|
59 |
echo wp_statistics_total();
|
60 |
echo "</li>";
|
61 |
}
|
62 |
|
63 |
+
if(get_option('ser_widget')) {
|
|
|
64 |
echo "<li>";
|
65 |
echo __('Search Engine reffered', 'wp_statistics'). ": ";
|
66 |
if(get_option('select_se') == "google"){
|
75 |
echo "</li>";
|
76 |
}
|
77 |
|
78 |
+
if(get_option('tp_widget')) {
|
|
|
79 |
echo "<li>";
|
80 |
echo __('Total Posts', 'wp_statistics'). ": ";
|
81 |
echo wp_statistics_countposts();
|
82 |
echo "</li>";
|
83 |
}
|
84 |
|
85 |
+
if(get_option('tpg_widget')) {
|
|
|
86 |
echo "<li>";
|
87 |
echo __('Total Pages', 'wp_statistics'). ": ";
|
88 |
echo wp_statistics_countpages();
|
89 |
echo "</li>";
|
90 |
}
|
91 |
|
92 |
+
if(get_option('tc_widget')) {
|
|
|
93 |
echo "<li>";
|
94 |
echo __('Total Comments', 'wp_statistics'). ": ";
|
95 |
echo wp_statistics_countcomment();
|
96 |
echo "</li>";
|
97 |
}
|
98 |
|
99 |
+
if(get_option('ts_widget')) {
|
|
|
100 |
echo "<li>";
|
101 |
echo __('Total Spams', 'wp_statistics'). ": ";
|
102 |
echo wp_statistics_countspam();
|
103 |
echo "</li>";
|
104 |
}
|
105 |
|
106 |
+
if(get_option('tu_widget')) {
|
|
|
107 |
echo "<li>";
|
108 |
echo __('Total Users', 'wp_statistics'). ": ";
|
109 |
echo wp_statistics_countusers();
|
110 |
echo "</li>";
|
111 |
}
|
112 |
|
113 |
+
if(get_option('ap_widget')) {
|
|
|
114 |
echo "<li>";
|
115 |
echo __('Average Posts', 'wp_statistics'). ": ";
|
116 |
echo wp_statistics_average_post();
|
117 |
echo "</li>";
|
118 |
}
|
119 |
|
120 |
+
if(get_option('ac_widget')) {
|
|
|
121 |
echo "<li>";
|
122 |
echo __('Average Comments', 'wp_statistics'). ": ";
|
123 |
echo wp_statistics_average_comment();
|
124 |
echo "</li>";
|
125 |
}
|
126 |
|
127 |
+
if(get_option('au_widget')) {
|
|
|
128 |
echo "<li>";
|
129 |
echo __('Average Users', 'wp_statistics'). ": ";
|
130 |
echo wp_statistics_average_registeruser();
|
131 |
echo "</li>";
|
132 |
}
|
133 |
|
134 |
+
if(get_option('lpd_widget')) {
|
|
|
135 |
echo "<li>";
|
136 |
echo __('Last Post Date', 'wp_statistics'). ": ";
|
137 |
+
if(get_option('select_lps') == "farsi") {
|
|
|
138 |
echo wp_statistics_lastpostdate("farsi");
|
139 |
} else {
|
140 |
echo wp_statistics_lastpostdate();
|
145 |
echo $after_widget;
|
146 |
}
|
147 |
|
148 |
+
function wp_statistics_control_widget() {
|
149 |
+
if ($_POST['wp_statistics_control_widget_submit']) {
|
|
|
|
|
150 |
update_option('name_widget', $_POST['name_widget']);
|
151 |
update_option('useronline_widget', $_POST['useronline_widget']);
|
152 |
update_option('tvisit_widget', $_POST['tvisit_widget']);
|
wp-statistics.php
CHANGED
@@ -3,22 +3,17 @@
|
|
3 |
Plugin Name: WP-Statistics
|
4 |
Plugin URI: http://iran98.org/category/wordpress/wp-statistics/
|
5 |
Description: Summary statistics of blog.
|
6 |
-
Version: 2.2.
|
7 |
Author: Mostafa Soufi
|
8 |
Author URI: http://iran98.org/
|
9 |
License: GPL2
|
10 |
*/
|
|
|
|
|
11 |
include_once("widget.php");
|
12 |
|
13 |
load_plugin_textdomain('wp_statistics','wp-content/plugins/wp-statistics/langs');
|
14 |
|
15 |
-
add_action('admin_bar_menu', 'wp_statistics_menubar', 20);
|
16 |
-
add_action('admin_menu', 'wp_statistics_menu');
|
17 |
-
add_action("plugins_loaded", "wp_statistics_widget");
|
18 |
-
|
19 |
-
register_activation_hook(__FILE__,'wp_statistics_install');
|
20 |
-
register_activation_hook(__FILE__,'wp_statistics_options');
|
21 |
-
|
22 |
global $wp_statistics_db_version, $wpdb;
|
23 |
$wp_statistics_db_version = "1.0";
|
24 |
|
@@ -36,23 +31,19 @@ License: GPL2
|
|
36 |
|
37 |
/* Live Statistics Varieble */
|
38 |
$database_checktime = get_option('database_checktime');
|
39 |
-
if(!$database_checktime)
|
40 |
-
{
|
41 |
$database_checktime = "10";
|
42 |
}
|
43 |
|
44 |
/* Coefficient Visitor */
|
45 |
$get_coefficient = get_option('coefficient_visitor');
|
46 |
-
if(!$get_coefficient)
|
47 |
-
{
|
48 |
$get_coefficient = "1";
|
49 |
}
|
50 |
|
51 |
-
function wp_statistics_menubar()
|
52 |
-
{
|
53 |
global $wp_admin_bar;
|
54 |
-
if (!is_super_admin() || !is_admin_bar_showing() || !get_option('enable_wps_adminbar'))
|
55 |
-
{
|
56 |
return;
|
57 |
} else {
|
58 |
$wp_admin_bar->add_menu( array(
|
@@ -87,15 +78,16 @@ License: GPL2
|
|
87 |
));
|
88 |
}
|
89 |
}
|
|
|
90 |
|
91 |
-
function wp_statistics_options()
|
92 |
-
{
|
93 |
update_option('enable_wps_adminbar', true);
|
94 |
}
|
|
|
95 |
|
96 |
-
function wp_statistics_install()
|
97 |
-
{
|
98 |
global $wp_statistics_db_version, $table_prefix;
|
|
|
99 |
$table_visit = $table_prefix."statistics_visits";
|
100 |
$table_visitors = $table_prefix."statistics_visitors";
|
101 |
$table_profile = $table_prefix."statistics_profile";
|
@@ -105,85 +97,85 @@ License: GPL2
|
|
105 |
$time_1 = date('i');
|
106 |
|
107 |
$create_visit_table = ("CREATE TABLE ".$table_visit."
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
|
118 |
$create_dates_table = ("CREATE TABLE ".$table_dates."
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
|
126 |
$create_users_table = ("CREATE TABLE ".$table_users."
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
$
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
|
139 |
$primary_visit_value = ("INSERT INTO ".$table_visit."
|
140 |
-
|
141 |
-
|
142 |
|
143 |
$primary_date_value = ("INSERT INTO ".$table_dates."
|
144 |
-
|
145 |
-
|
146 |
|
147 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
148 |
|
149 |
dbDelta($create_visit_table);
|
150 |
dbDelta($create_dates_table);
|
151 |
dbDelta($create_users_table);
|
152 |
-
dbDelta($
|
153 |
|
154 |
dbDelta($primary_visit_value);
|
155 |
dbDelta($primary_date_value);
|
156 |
|
157 |
-
add_option('wp_statistics_db_version', '
|
158 |
}
|
|
|
159 |
|
160 |
-
function wp_check_spider()
|
161 |
-
{
|
162 |
$spiders = array("Teoma", "alexa", "froogle", "Gigabot", "inktomi",
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
|
|
|
|
174 |
return true;
|
175 |
}
|
176 |
return false;
|
177 |
}
|
178 |
|
179 |
-
function wp_statistics()
|
180 |
-
{
|
181 |
global $wpdb, $table_prefix, $get_date, $get_now, $get_week, $get_month, $get_year, $get_referred, $get_userip, $get_useragent, $get_coefficient;
|
182 |
|
183 |
$get_dates_row = $wpdb->get_row("SELECT * FROM {$table_prefix}statistics_date");
|
184 |
|
185 |
-
if( ($get_dates_row->last_visit) != $get_date && !is_admin() && !wp_check_spider())
|
186 |
-
{
|
187 |
if( ($get_dates_row->last_counter) == $get_now ) {
|
188 |
$wpdb->query("UPDATE {$table_prefix}statistics_visits SET today = today+'".$get_coefficient."', total = total+'".$get_coefficient."'");
|
189 |
$wpdb->query("UPDATE {$table_prefix}statistics_date SET last_visit = '".$get_date."'");
|
@@ -215,12 +207,9 @@ License: GPL2
|
|
215 |
}
|
216 |
}
|
217 |
|
218 |
-
if(get_option('daily_referer'))
|
219 |
-
|
220 |
-
|
221 |
-
{
|
222 |
-
if(strstr($get_referred, 'google.com'))
|
223 |
-
{
|
224 |
$wpdb->query("UPDATE {$table_prefix}statistics_visits SET google = google+1");
|
225 |
} else if(strstr($get_referred, 'yahoo.com')) {
|
226 |
$wpdb->query("UPDATE {$table_prefix}statistics_visits SET yahoo = yahoo+1");
|
@@ -244,14 +233,12 @@ License: GPL2
|
|
244 |
}
|
245 |
|
246 |
$get_items_statistics = get_option('items_statistics');
|
247 |
-
if(!$get_items_statistics)
|
248 |
-
{
|
249 |
$get_items_statistics = '5';
|
250 |
}
|
251 |
|
252 |
$get_num_reffered = $wpdb->get_var("SELECT COUNT(*) FROM {$table_prefix}statistics_reffered");
|
253 |
-
if($get_num_reffered < $get_items_statistics)
|
254 |
-
{
|
255 |
$get_var_ip = $wpdb->get_var("SELECT ip FROM {$table_prefix}statistics_reffered WHERE ip = '".$get_userip."'");
|
256 |
if(!$get_var_ip)
|
257 |
{
|
@@ -260,35 +247,30 @@ License: GPL2
|
|
260 |
}
|
261 |
}
|
262 |
|
263 |
-
function wp_statistics_not_enable()
|
264 |
-
{
|
265 |
$get_bloginfo_url = get_admin_url() . "admin.php?page=wp-statistics";
|
266 |
echo '<div class="error"><p>'.sprintf(__('WP-Statistics not enabled! Please go to <a href="%s">setting page</a> and enable statistics', 'wp_statistics'), $get_bloginfo_url).'</p></div>';
|
267 |
}
|
268 |
|
269 |
-
if(get_option('enable_stats'))
|
270 |
-
|
271 |
-
add_action('wp_head', 'wp_statistics');
|
272 |
} else {
|
273 |
add_action('admin_notices', 'wp_statistics_not_enable');
|
274 |
}
|
275 |
|
276 |
/* Start: functions for user in theme */
|
277 |
-
function wp_statistics_useronline()
|
278 |
-
{
|
279 |
global $wpdb, $table_prefix, $get_date, $get_referred, $get_useragent, $get_userip;
|
280 |
$timestamp = date("U");
|
281 |
|
282 |
$get_time_useronline_s = get_option('time_useronline_s');
|
283 |
|
284 |
-
if(!$get_time_useronline_s)
|
285 |
-
|
286 |
-
$get_time_useronline_s = '60'; // Default value for check accurate user online
|
287 |
}
|
288 |
|
289 |
$get_ip = $wpdb->get_var("SELECT * FROM {$table_prefix}statistics_useronline WHERE ip = '".$get_userip."'");
|
290 |
-
if($get_ip)
|
291 |
-
{
|
292 |
$wpdb->query("UPDATE {$table_prefix}statistics_useronline SET timestamp = '".$timestamp."', time = '".$get_date."', referred = '".$get_referred."', agent = '".$get_useragent."' WHERE ip = '".$get_ip."'");
|
293 |
} else {
|
294 |
$wpdb->query("INSERT INTO {$table_prefix}statistics_useronline(ip, timestamp, time, referred, agent) VALUES ('".$get_userip."', '".$timestamp."', '".$get_date."', '".$get_referred."', '".$get_useragent."')");
|
@@ -301,8 +283,7 @@ License: GPL2
|
|
301 |
return $get_users;
|
302 |
}
|
303 |
|
304 |
-
function wp_statistics_today()
|
305 |
-
{
|
306 |
global $wpdb, $table_prefix, $get_enable_stats;
|
307 |
$get_var = $wpdb->get_var("SELECT today FROM {$table_prefix}statistics_visits");
|
308 |
|
@@ -314,8 +295,7 @@ License: GPL2
|
|
314 |
}
|
315 |
}
|
316 |
|
317 |
-
function wp_statistics_yesterday()
|
318 |
-
{
|
319 |
global $wpdb, $table_prefix, $get_enable_stats;
|
320 |
$get_var = $wpdb->get_var("SELECT yesterday FROM {$table_prefix}statistics_visits");
|
321 |
|
@@ -327,8 +307,7 @@ License: GPL2
|
|
327 |
}
|
328 |
}
|
329 |
|
330 |
-
function wp_statistics_week()
|
331 |
-
{
|
332 |
global $wpdb, $table_prefix, $get_enable_stats;
|
333 |
$get_var = $wpdb->get_var("SELECT week FROM {$table_prefix}statistics_visits");
|
334 |
|
@@ -340,8 +319,7 @@ License: GPL2
|
|
340 |
}
|
341 |
}
|
342 |
|
343 |
-
function wp_statistics_month()
|
344 |
-
{
|
345 |
global $wpdb, $table_prefix, $get_enable_stats;
|
346 |
$get_var = $wpdb->get_var("SELECT month FROM {$table_prefix}statistics_visits");
|
347 |
|
@@ -353,8 +331,7 @@ License: GPL2
|
|
353 |
}
|
354 |
}
|
355 |
|
356 |
-
function wp_statistics_year()
|
357 |
-
{
|
358 |
global $wpdb, $table_prefix, $get_enable_stats;
|
359 |
$get_var = $wpdb->get_var("SELECT year FROM {$table_prefix}statistics_visits");
|
360 |
|
@@ -366,8 +343,7 @@ License: GPL2
|
|
366 |
}
|
367 |
}
|
368 |
|
369 |
-
function wp_statistics_total()
|
370 |
-
{
|
371 |
global $wpdb, $table_prefix, $get_enable_stats;
|
372 |
$get_var = $wpdb->get_var("SELECT total FROM {$table_prefix}statistics_visits");
|
373 |
|
@@ -379,8 +355,7 @@ License: GPL2
|
|
379 |
}
|
380 |
}
|
381 |
|
382 |
-
function wp_statistics_searchengine($referred='')
|
383 |
-
{
|
384 |
global $wpdb, $table_prefix;
|
385 |
if($referred == 'google') {
|
386 |
return $wpdb->get_var("SELECT google FROM {$table_prefix}statistics_visits");
|
@@ -424,52 +399,44 @@ License: GPL2
|
|
424 |
<span id="show_totalvisit_live"></span>
|
425 |
<?php }
|
426 |
|
427 |
-
function wp_statistics_countposts()
|
428 |
-
{
|
429 |
$count_posts = wp_count_posts('post');
|
430 |
return $count_posts->publish;
|
431 |
}
|
432 |
|
433 |
-
function wp_statistics_countpages()
|
434 |
-
{
|
435 |
$count_pages = wp_count_posts('page');
|
436 |
return $count_pages->publish;
|
437 |
}
|
438 |
|
439 |
-
function wp_statistics_countcomment()
|
440 |
-
{
|
441 |
global $wpdb;
|
442 |
$countcomms = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'");
|
443 |
if (0 < $countcomms) $countcomms = number_format($countcomms);
|
444 |
return $countcomms;
|
445 |
}
|
446 |
|
447 |
-
function wp_statistics_countspam()
|
448 |
-
{
|
449 |
return number_format_i18n(get_option('akismet_spam_count'));
|
450 |
}
|
451 |
|
452 |
-
function wp_statistics_countusers()
|
453 |
-
{
|
454 |
$result = count_users();
|
455 |
return $result['total_users'];
|
456 |
}
|
457 |
|
458 |
-
function wp_statistics_lastpostdate($type=english)
|
459 |
-
{
|
460 |
global $wpdb;
|
461 |
$db_date = $wpdb->get_var("SELECT post_date FROM $wpdb->posts WHERE post_type='post' AND post_status='publish' ORDER BY ID DESC LIMIT 1");
|
462 |
$date_format = get_option('date_format');
|
463 |
-
if ( $type == 'farsi' )
|
464 |
-
{
|
465 |
return jdate($date_format, strtotime($db_date));
|
466 |
} else {
|
467 |
return date($date_format, strtotime($db_date));
|
468 |
}
|
469 |
}
|
470 |
|
471 |
-
function wp_statistics_average_post()
|
472 |
-
{
|
473 |
global $wpdb;
|
474 |
$get_first_post = $wpdb->get_var("SELECT post_date FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date LIMIT 1");
|
475 |
$get_total_post = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post'");
|
@@ -478,8 +445,7 @@ License: GPL2
|
|
478 |
return round($get_total_post / $days_spend, 2);
|
479 |
}
|
480 |
|
481 |
-
function wp_statistics_average_comment()
|
482 |
-
{
|
483 |
global $wpdb;
|
484 |
$get_first_comment = $wpdb->get_var("SELECT comment_date FROM $wpdb->comments ORDER BY comment_date LIMIT 1");
|
485 |
$get_total_comment = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'");
|
@@ -488,8 +454,7 @@ License: GPL2
|
|
488 |
return round($get_total_comment / $days_spend, 2);
|
489 |
}
|
490 |
|
491 |
-
function wp_statistics_average_registeruser()
|
492 |
-
{
|
493 |
global $wpdb;
|
494 |
$get_first_user = $wpdb->get_var("SELECT user_registered FROM $wpdb->users ORDER BY user_registered LIMIT 1");
|
495 |
$get_total_user = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->users");
|
@@ -499,11 +464,9 @@ License: GPL2
|
|
499 |
}
|
500 |
|
501 |
// Show Count Feedburner Subscribe by Affiliate Marketer
|
502 |
-
function wp_statistics_countsubscrib($feed_url)
|
503 |
-
{
|
504 |
$feedcount = get_option("feedrsscount");
|
505 |
-
if ($feedcount['lastcheck'] < (mktime()-3600))
|
506 |
-
{
|
507 |
$whaturl='https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri='.$feed_url;
|
508 |
$ch = curl_init();
|
509 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
@@ -519,543 +482,43 @@ License: GPL2
|
|
519 |
return $feedcount['count'];
|
520 |
}
|
521 |
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
/* End: functions for user in theme */
|
526 |
|
527 |
-
function wp_statistics_menu()
|
528 |
-
|
529 |
-
if (function_exists('add_options_page'))
|
530 |
-
{
|
531 |
add_menu_page(__('Statistics', 'wp_statistics'), __('Statistics', 'wp_statistics'), 'manage_options', 'wp-statistics', 'wp_statistics_config_permission', plugin_dir_url( __FILE__ ).'/images/icon.png');
|
532 |
add_submenu_page( 'wp-statistics', __('Settings', 'wp_statistics'), __('Settings', 'wp_statistics'), 'manage_options', 'wp-statistics', 'wp_statistics_config_permission');
|
533 |
add_submenu_page( 'wp-statistics', __('Stats Log', 'wp_statistics'), __('Stats Log', 'wp_statistics'), 'manage_options', 'wp-statistics/stats', 'wp_statistics_stats_permission');
|
534 |
add_submenu_page( 'wp-statistics', __('Users Online', 'wp_statistics'), __('Users Online', 'wp_statistics'), 'manage_options', 'wp-statistics/online', 'wp_statistics_online_permission');
|
535 |
}
|
536 |
}
|
|
|
537 |
|
538 |
-
function wp_statistics_config_permission()
|
539 |
-
|
540 |
-
if (!current_user_can('manage_options'))
|
541 |
-
{
|
542 |
wp_die( __('You do not have sufficient permissions to access this page.', 'wp_statistics') );
|
543 |
|
544 |
settings_fields( 'wp_statistics_options' );
|
545 |
-
|
546 |
-
{
|
547 |
-
register_setting('wp_statistics_options', 'enable_stats');
|
548 |
-
register_setting('wp_statistics_options', 'enable_decimals');
|
549 |
-
register_setting('wp_statistics_options', 'enable_wps_adminbar');
|
550 |
-
register_setting('wp_statistics_options', 'time_useronline_s');
|
551 |
-
register_setting('wp_statistics_options', 'items_statistics');
|
552 |
-
register_setting('wp_statistics_options', 'coefficient_visitor');
|
553 |
-
register_setting('wp_statistics_options', 'pagerank_google_url');
|
554 |
-
register_setting('wp_statistics_options', 'pagerank_alexa_url');
|
555 |
-
}
|
556 |
-
}?>
|
557 |
-
|
558 |
-
<script type="text/javascript">
|
559 |
-
jQuery(document).ready(function(){
|
560 |
-
jQuery("span#increase_total_visit").click(function()
|
561 |
-
{
|
562 |
-
var total_increase_value = jQuery("input#increase_total_visit").val();
|
563 |
-
jQuery("input#increase_total_visit").attr("disabled", "disabled");
|
564 |
-
jQuery("span#increase_total_visit").attr("disabled", "disabled");
|
565 |
-
jQuery("div#result_increase_total_visit").html("<img src='<?php echo plugin_dir_url( __FILE__ ); ?>images/loading.gif'/>");
|
566 |
-
jQuery.post("<?php echo plugin_dir_url( __FILE__ );?>/actions.php",{increase_value:total_increase_value},function(result){
|
567 |
-
jQuery("div#result_increase_total_visit").html(result);
|
568 |
-
jQuery("input#increase_total_visit").removeAttr("disabled");
|
569 |
-
jQuery("span#increase_total_visit").removeAttr("disabled");
|
570 |
-
});
|
571 |
-
});
|
572 |
-
|
573 |
-
jQuery("span#reduction_total_visit").click(function()
|
574 |
-
{
|
575 |
-
var total_reduction_value = jQuery("input#reduction_total_visit").val();
|
576 |
-
jQuery("input#reduction_total_visit").attr("disabled", "disabled");
|
577 |
-
jQuery("span#reduction_total_visit").attr("disabled", "disabled");
|
578 |
-
jQuery("div#result_reduction_total_visit").html("<img src='<?php echo plugin_dir_url( __FILE__ ); ?>images/loading.gif'/>");
|
579 |
-
jQuery.post("<?php echo plugin_dir_url( __FILE__ );?>/actions.php",{reduction_value:total_reduction_value},function(result){
|
580 |
-
jQuery("div#result_reduction_total_visit").html(result);
|
581 |
-
jQuery("input#reduction_total_visit").removeAttr("disabled");
|
582 |
-
jQuery("span#reduction_total_visit").removeAttr("disabled");
|
583 |
-
});
|
584 |
-
});
|
585 |
-
|
586 |
-
jQuery("span#show_function").click(function()
|
587 |
-
{
|
588 |
-
jQuery("div#report_problem").slideUp(1000);
|
589 |
-
jQuery("ul#functions_list").slideDown(1000, function()
|
590 |
-
{
|
591 |
-
jQuery("ul#functions_list code").fadeIn(1000);
|
592 |
-
});
|
593 |
-
});
|
594 |
-
|
595 |
-
jQuery("span#hide_function").click(function()
|
596 |
-
{
|
597 |
-
jQuery("ul#functions_list").slideUp(1000);
|
598 |
-
});
|
599 |
-
|
600 |
-
jQuery("span#hide_report").click(function()
|
601 |
-
{
|
602 |
-
jQuery("div#report_problem").slideUp(1000);
|
603 |
-
});
|
604 |
-
|
605 |
-
jQuery("span#report_problem").click(function()
|
606 |
-
{
|
607 |
-
jQuery("ul#functions_list").slideUp(1000);
|
608 |
-
jQuery("div#report_problem").slideDown(1000);
|
609 |
-
});
|
610 |
-
|
611 |
-
jQuery("span#send_report").click(function()
|
612 |
-
{
|
613 |
-
var your_name = jQuery("input#your_name").val();
|
614 |
-
var your_report = jQuery("textarea#your_report").val();
|
615 |
-
jQuery("div#result_problem").html("<img src='<?php echo plugin_dir_url( __FILE__ ); ?>images/loading.gif'/>");
|
616 |
-
jQuery("div#result_problem").load("<?php echo plugin_dir_url( __FILE__ );?>/report_problem.php", {y_name:your_name, d_report:your_report});
|
617 |
-
});
|
618 |
-
|
619 |
-
jQuery("span#uninstall").click(function()
|
620 |
-
{
|
621 |
-
var uninstall = confirm("<?php _e('Are you sure?', 'wp_statistics'); ?>");
|
622 |
-
|
623 |
-
if(uninstall)
|
624 |
-
{
|
625 |
-
jQuery("div#result_uninstall").html("<img src='<?php echo plugin_dir_url( __FILE__ ); ?>images/loading.gif'/>");
|
626 |
-
jQuery("div#result_uninstall").load('<?php echo plugin_dir_url(__FILE__); ?>/uninstall.php');
|
627 |
-
}
|
628 |
-
});
|
629 |
-
});
|
630 |
-
</script>
|
631 |
|
632 |
-
|
633 |
-
<h2><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/images/icon_big.png"/> <?php _e('Configuration', 'wp_statistics'); ?></h2>
|
634 |
-
<table class="form-table">
|
635 |
-
<form method="post" action="options.php">
|
636 |
-
<?php wp_nonce_field('update-options');?>
|
637 |
-
<tr style="background-color:#EEEEEE; border:1px solid #DDDDDD;">
|
638 |
-
<td width="250"><?php _e('Enable Statistics', 'wp_statistics'); ?>:</td>
|
639 |
-
<td width="200">
|
640 |
-
<?php $get_enable_stats = get_option('enable_stats'); ?>
|
641 |
-
<input type="checkbox" name="enable_stats" id="enable_stats" <?php echo $get_enable_stats==true? "checked='checked'" : '';?>/>
|
642 |
-
<label for="enable_stats"><?php _e('Yes', 'wp_statistics'); ?></label>
|
643 |
-
</td>
|
644 |
-
<td>
|
645 |
-
<?php if($get_enable_stats) { ?>
|
646 |
-
<span style="font-size:11px; color:#009900;">(<?php _e('Statistics are enabled.', 'wp_statistics'); ?>)</span>
|
647 |
-
<?php } else { ?>
|
648 |
-
<span style="font-size:11px; color:#FF0000;">(<?php _e('Statistics are disabled!', 'wp_statistics'); ?>)</span>
|
649 |
-
<?php } ?>
|
650 |
-
</td>
|
651 |
-
</tr>
|
652 |
-
|
653 |
-
<tr><th><h3><?php _e('General configuration', 'wp_statistics'); ?></h4></th></tr>
|
654 |
-
|
655 |
-
<tr>
|
656 |
-
<td><?php _e('Show decimals number', 'wp_statistics'); ?>:</td>
|
657 |
-
<td>
|
658 |
-
<?php $get_enable_stats = get_option('enable_decimals'); ?>
|
659 |
-
<input type="checkbox" name="enable_decimals" id="enable_decimals" <?php echo $get_enable_stats==true? "checked='checked'" : '';?>/>
|
660 |
-
<label for="enable_decimals"><?php _e('Yes', 'wp_statistics'); ?></label>
|
661 |
-
</td>
|
662 |
-
<td><span style="font-size:11px;">(<?php _e('Show number stats with decimal. For examle: 3,500', 'wp_statistics'); ?>)</span></td>
|
663 |
-
</tr>
|
664 |
-
|
665 |
-
<tr>
|
666 |
-
<td><?php _e('Show stats in menu bar', 'wp_statistics'); ?>:</td>
|
667 |
-
<td>
|
668 |
-
<?php $get_enable_wps_adminbar = get_option('enable_wps_adminbar'); ?>
|
669 |
-
<input type="checkbox" name="enable_wps_adminbar" id="enable_wps_adminbar" <?php echo $get_enable_wps_adminbar==true? "checked='checked'" : '';?>/>
|
670 |
-
<label for="enable_wps_adminbar"><?php _e('Yes', 'wp_statistics'); ?></label>
|
671 |
-
</td>
|
672 |
-
<td><span style="font-size:11px;">(<?php _e('Show stats in admin menu bar', 'wp_statistics'); ?>)</span></td>
|
673 |
-
</tr>
|
674 |
-
|
675 |
-
<tr>
|
676 |
-
<td><?php _e('Daily referer of search engines', 'wp_statistics'); ?>:</td>
|
677 |
-
<td>
|
678 |
-
<input type="checkbox" name="daily_referer" id="daily_referer" <?php echo get_option('daily_referer') == true ? "checked='checked'" : '';?>/>
|
679 |
-
<label for="daily_referer"><?php _e('Yes', 'wp_statistics'); ?></label>
|
680 |
-
</td>
|
681 |
-
<td><span style="font-size:11px;">(<?php _e('Can be calculated daily or total search engines', 'wp_statistics'); ?>)</span></td>
|
682 |
-
</tr>
|
683 |
-
|
684 |
-
<tr>
|
685 |
-
<td><?php _e('Check for online users every', 'wp_statistics'); ?>:</td>
|
686 |
-
<td>
|
687 |
-
<input type="text" name="time_useronline_s" style="direction:ltr; width:60px" maxlength="3" value="<?php echo get_option('time_useronline_s'); ?>"/>
|
688 |
-
<span style="font-size:10px;"><?php _e('Second', 'wp_statistics'); ?></span>
|
689 |
-
</td>
|
690 |
-
<td><span style="font-size:11px;">(<?php _e('Time for the check accurate online user in the site. Default: 60 Second', 'wp_statistics'); ?>)</span></td>
|
691 |
-
</tr>
|
692 |
-
|
693 |
-
<tr>
|
694 |
-
<td><?php _e('Increase value of the total hits by', 'wp_statistics'); ?>:</td>
|
695 |
-
<td>
|
696 |
-
<input type="text" name="increase_total_visit" id="increase_total_visit" style="direction:ltr; width:100px" maxlength="10"/>
|
697 |
-
<span class="button" id="increase_total_visit" style="width:50px;"><?php _e('Done', 'wp_statistics'); ?></span>
|
698 |
-
<div id="result_increase_total_visit" style="font-size:11px;"></div>
|
699 |
-
</td>
|
700 |
-
<td><span style="font-size:11px;">(<?php _e('Your total visit sum with this value', 'wp_statistics'); ?>)</span></td>
|
701 |
-
</tr>
|
702 |
-
|
703 |
-
<tr>
|
704 |
-
<td><?php _e('Reduce value of the total hits by', 'wp_statistics'); ?>:</td>
|
705 |
-
<td>
|
706 |
-
<input type="text" name="reduction_total_visit" id="reduction_total_visit" style="direction:ltr; width:100px" maxlength="10"/>
|
707 |
-
<span class="button" id="reduction_total_visit" style="width:50px;"><?php _e('Done', 'wp_statistics'); ?></span>
|
708 |
-
<div id="result_reduction_total_visit" style="font-size:11px;"></div>
|
709 |
-
</td>
|
710 |
-
<td><span style="font-size:11px;">(<?php _e('Your total visit minus with this value', 'wp_statistics'); ?>)</span></td>
|
711 |
-
</tr>
|
712 |
-
|
713 |
-
<tr>
|
714 |
-
<td><?php _e('Number item for show Statistics', 'wp_statistics'); ?>:</td>
|
715 |
-
<td>
|
716 |
-
<input type="text" name="items_statistics" style="direction:ltr; width:70px" maxlength="3" value="<?php echo get_option('items_statistics'); ?>"/>
|
717 |
-
<span style="font-size:10px;"><?php _e('Default 5', 'wp_statistics'); ?></span>
|
718 |
-
</td>
|
719 |
-
<td><span style="font-size:11px;">(<?php _e('Number for submit item in Database and show that', 'wp_statistics'); ?>)</span></td>
|
720 |
-
</tr>
|
721 |
-
|
722 |
-
<tr>
|
723 |
-
<td><?php _e('Coefficient per visitor', 'wp_statistics'); ?>:</td>
|
724 |
-
<td>
|
725 |
-
<input type="text" name="coefficient_visitor" style="direction:ltr; width:70px" maxlength="3" value="<?php echo get_option('coefficient_visitor'); ?>"/>
|
726 |
-
<span style="font-size:10px;"><?php _e('Default 1', 'wp_statistics'); ?></span>
|
727 |
-
</td>
|
728 |
-
<td><span style="font-size:11px;">(<?php _e('For each visitor to account for several hits.', 'wp_statistics'); ?>)</span></td>
|
729 |
-
</tr>
|
730 |
-
|
731 |
-
<tr><th><h3><?php _e('Live Statistics configuration', 'wp_statistics'); ?></h4></th></tr>
|
732 |
-
|
733 |
-
<tr>
|
734 |
-
<td><?php _e('Refresh Stats every', 'wp_statistics'); ?>:</td>
|
735 |
-
<td>
|
736 |
-
<input type="text" name="database_checktime" style="direction:ltr; width:60px" maxlength="3" value="<?php echo get_option('database_checktime'); ?>"/>
|
737 |
-
<span style="font-size:10px;"><?php _e('Second(s)', 'wp_statistics'); ?></span>
|
738 |
-
</td>
|
739 |
-
<td>
|
740 |
-
<span style="font-size:11px; color:#FF0000;"><?php _e('Recommended', 'wp_statistics'); ?></span>
|
741 |
-
<span style="font-size:11px;">(<?php _e('To reduce pressure on the server, this defaults to 10 sec', 'wp_statistics'); ?>.)</span>
|
742 |
-
</td>
|
743 |
-
</tr>
|
744 |
-
|
745 |
-
<tr><th><h3><?php _e('Pagerank configuration', 'wp_statistics'); ?></h4></th></tr>
|
746 |
-
|
747 |
-
<tr>
|
748 |
-
<td><?php _e('Your url for Google pagerank check', 'wp_statistics'); ?>:</td>
|
749 |
-
<td>
|
750 |
-
<input type="text" name="pagerank_google_url" style="direction:ltr; width:200px" value="<?php echo get_option('pagerank_google_url'); ?>"/>
|
751 |
-
</td>
|
752 |
-
<td>
|
753 |
-
<span style="font-size:11px;">(<?php _e('If empty. you website url is used', 'wp_statistics'); ?>)</span>
|
754 |
-
</td>
|
755 |
-
</tr>
|
756 |
-
|
757 |
-
<tr>
|
758 |
-
<td><?php _e('Your url for Alexa pagerank check', 'wp_statistics'); ?>:</td>
|
759 |
-
<td>
|
760 |
-
<input type="text" name="pagerank_alexa_url" style="direction:ltr; width:200px" value="<?php echo get_option('pagerank_alexa_url'); ?>"/>
|
761 |
-
</td>
|
762 |
-
<td>
|
763 |
-
<span style="font-size:11px;">(<?php _e('If empty. you website url is used', 'wp_statistics'); ?>)</span>
|
764 |
-
</td>
|
765 |
-
</tr>
|
766 |
-
|
767 |
-
<tr>
|
768 |
-
<td>
|
769 |
-
<p class="submit">
|
770 |
-
<input type="hidden" name="action" value="update" />
|
771 |
-
<input type="hidden" name="page_options" value="enable_stats,enable_decimals,enable_wps_adminbar,daily_referer,time_useronline_s,items_statistics,coefficient_visitor,database_checktime,pagerank_google_url,pagerank_alexa_url" />
|
772 |
-
<input type="submit" class="button-primary" name="Submit" value="<?php _e('Update', 'wp_statistics'); ?>" />
|
773 |
-
</p>
|
774 |
-
</td>
|
775 |
-
</tr>
|
776 |
-
|
777 |
-
<tr>
|
778 |
-
<th colspan="3">
|
779 |
-
<?php _e('This plugin created by', 'wp_statistics'); ?> <a href="http://profiles.wordpress.org/mostafa.s1990/">Mostafa Soufi</a> <?php _e('from', 'wp_statistics'); ?> <a href="http://www.webstudio.ir">Web Studio</a> & <a href="http://wpbazar.com">WPBazar</a> <?php _e('group', 'wp_statistics'); ?>.
|
780 |
-
|
781 |
-
<h3><?php _e('Plugin translators', 'wp_statistics'); ?></h3>
|
782 |
-
<ul>
|
783 |
-
|
784 |
-
<ul>
|
785 |
-
<li><?php _e('Language', 'wp_statistics'); ?> Portuguese <?php _e('by', 'wp_statistics'); ?><a a href="http://www.musicalmente.info/"> musicalmente</a></li>
|
786 |
-
<li><?php _e('Language', 'wp_statistics'); ?> Romanian <?php _e('by', 'wp_statistics'); ?> <a href="http://www.nobelcom.com/">Luke Tyler</a></li>
|
787 |
-
<li><?php _e('Language', 'wp_statistics'); ?> French <?php _e('by', 'wp_statistics'); ?> <a href="mailto:gnanice@gmail.com">Anice Gnampa</a></li>
|
788 |
-
<li><?php _e('Language', 'wp_statistics'); ?> Russian <?php _e('by', 'wp_statistics'); ?> <a href="http://www.iflexion.com/">Igor Dubilej</a></li>
|
789 |
-
<li><?php _e('Language', 'wp_statistics'); ?> Spanish <?php _e('by', 'wp_statistics'); ?> <a href="mailto:joanfusan@gmail.com">jose</a></li>
|
790 |
-
<li><?php _e('Language', 'wp_statistics'); ?> Arabic <?php _e('by', 'wp_statistics'); ?> <a href="http://www.facebook.com/aboHatim">Hammad Shammari</a></li>
|
791 |
-
<li><?php _e('Language', 'wp_statistics'); ?> German <?php _e('by', 'wp_statistics'); ?> <a href="http://www.andreasmartin.com/">Andreas Martin</a></li>
|
792 |
-
</ul>
|
793 |
-
<?php _e('for translate language files. please send files for', 'wp_statistics'); ?> <code>mst404@gmail.com</code>
|
794 |
-
|
795 |
-
<p style="padding-top: 5px;">
|
796 |
-
<span class="button" id="show_function"><?php _e('Show Functions', 'wp_statistics'); ?></span>
|
797 |
-
<span class="button" id="report_problem"><?php _e('Report Problem', 'wp_statistics'); ?></span>
|
798 |
-
</p>
|
799 |
-
|
800 |
-
<style>
|
801 |
-
a{text-decoration: none}
|
802 |
-
ul#functions_list code{border-radius:5px; padding:5px; display:none; width:400px; text-align:left; float:left; direction:ltr;}
|
803 |
-
ul#functions_list{list-style-type: decimal; margin: 20px; display:none;}
|
804 |
-
ul#functions_list li{line-height: 25px; width: 200px;}
|
805 |
-
div#report_problem{display: none;}
|
806 |
-
</style>
|
807 |
-
<ul id="functions_list">
|
808 |
-
<table>
|
809 |
-
<tr>
|
810 |
-
<td><?php _e('User Online Live', 'wp_statistics'); ?></td>
|
811 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_useronline_live(); ?>'); ?></code></td>
|
812 |
-
</tr>
|
813 |
-
<tr>
|
814 |
-
<td><?php _e('Total Visit Live', 'wp_statistics'); ?></td>
|
815 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_total_live(); ?>'); ?></code></td>
|
816 |
-
</tr>
|
817 |
-
<tr>
|
818 |
-
<td><?php _e('User Online', 'wp_statistics'); ?></td>
|
819 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_useronline(); ?>'); ?></code></td>
|
820 |
-
</tr>
|
821 |
-
<tr>
|
822 |
-
<td><?php _e('Today Visit', 'wp_statistics'); ?></td>
|
823 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_today(); ?>'); ?></code></td>
|
824 |
-
</tr>
|
825 |
-
<tr>
|
826 |
-
<td><?php _e('Yesterday visit', 'wp_statistics'); ?></td>
|
827 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_yesterday(); ?>'); ?></code></td>
|
828 |
-
</tr>
|
829 |
-
<tr>
|
830 |
-
<td><?php _e('Week Visit', 'wp_statistics'); ?></td>
|
831 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_week(); ?>'); ?></code></td>
|
832 |
-
</tr>
|
833 |
-
<tr>
|
834 |
-
<td><?php _e('Month Visit', 'wp_statistics'); ?></td>
|
835 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_month(); ?>'); ?></code></td>
|
836 |
-
</tr>
|
837 |
-
<tr>
|
838 |
-
<td><?php _e('Years Visit', 'wp_statistics'); ?></td>
|
839 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_year(); ?>'); ?></code></td>
|
840 |
-
</tr>
|
841 |
-
<tr>
|
842 |
-
<td><?php _e('Total Visit', 'wp_statistics'); ?></td>
|
843 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_total(); ?>'); ?></code></td>
|
844 |
-
</tr>
|
845 |
-
<tr>
|
846 |
-
<td><?php _e('Search Engine reffered', 'wp_statistics'); ?></td>
|
847 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_searchengine(); ?>'); ?></code></td>
|
848 |
-
</tr>
|
849 |
-
<tr>
|
850 |
-
<td><?php _e('Total Posts', 'wp_statistics'); ?></td>
|
851 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_countposts(); ?>'); ?></code></td>
|
852 |
-
</tr>
|
853 |
-
<tr>
|
854 |
-
<td><?php _e('Total Pages', 'wp_statistics'); ?></td>
|
855 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_countpages(); ?>'); ?></code></td>
|
856 |
-
</tr>
|
857 |
-
<tr>
|
858 |
-
<td><?php _e('Total Comments', 'wp_statistics'); ?></td>
|
859 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_countcomment(); ?>'); ?></code></td>
|
860 |
-
</tr>
|
861 |
-
<tr>
|
862 |
-
<td><?php _e('Total Spams', 'wp_statistics'); ?></td>
|
863 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_countspam(); ?>'); ?></code></td>
|
864 |
-
</tr>
|
865 |
-
<tr>
|
866 |
-
<td><?php _e('Total Users', 'wp_statistics'); ?></td>
|
867 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_countusers(); ?>'); ?></code></td>
|
868 |
-
</tr>
|
869 |
-
<tr>
|
870 |
-
<td><?php _e('Last Post Date', 'wp_statistics'); ?></td>
|
871 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_lastpostdate(); ?>'); ?></code></td>
|
872 |
-
</tr>
|
873 |
-
<tr>
|
874 |
-
<td><?php _e('Average Posts', 'wp_statistics'); ?></td>
|
875 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_average_post(); ?>'); ?></code></td>
|
876 |
-
</tr>
|
877 |
-
<tr>
|
878 |
-
<td><?php _e('Average Comments', 'wp_statistics'); ?></td>
|
879 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_average_comment(); ?>'); ?></code></td>
|
880 |
-
</tr>
|
881 |
-
<tr>
|
882 |
-
<td><?php _e('Average Users', 'wp_statistics'); ?></td>
|
883 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_average_registeruser(); ?>'); ?></code></td>
|
884 |
-
</tr>
|
885 |
-
<tr>
|
886 |
-
<td><?php _e('Total Feedburner Subscribe', 'wp_statistics'); ?></td>
|
887 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_countsubscrib("feedburneraddress"); ?>'); ?></code></td>
|
888 |
-
</tr>
|
889 |
-
<tr>
|
890 |
-
<td><?php _e('Google Pagerank', 'wp_statistics'); ?></td>
|
891 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_google_page_rank(); ?>'); ?></code></td>
|
892 |
-
</tr>
|
893 |
-
<tr>
|
894 |
-
<td><?php _e('Alexa Pagerank', 'wp_statistics'); ?></td>
|
895 |
-
<td><code><?php highlight_string('<?php echo wp_statistics_alexaRank(); ?>'); ?></code></td>
|
896 |
-
</tr>
|
897 |
-
</table>
|
898 |
-
<br /><span class="button" id="hide_function"><?php _e('Hide', 'wp_statistics'); ?></span>
|
899 |
-
</ul>
|
900 |
-
|
901 |
-
<div id="report_problem">
|
902 |
-
<p><?php _e('Your Name', 'wp_statistics'); ?>:<br /><input type="text" name="your_name" id="your_name"/></p>
|
903 |
-
|
904 |
-
<p><?php _e('Description Problem', 'wp_statistics'); ?>:<br /><textarea name="your_report" id="your_report"/></textarea></p>
|
905 |
-
<div id="result_problem"></div>
|
906 |
-
<br />
|
907 |
-
<span class="button" id="send_report"><?php _e('Send Problem', 'wp_statistics'); ?></span>
|
908 |
-
<span class="button" id="hide_report"><?php _e('Hide', 'wp_statistics'); ?></span>
|
909 |
-
</div>
|
910 |
-
</th>
|
911 |
-
</tr>
|
912 |
-
|
913 |
-
<tr>
|
914 |
-
<th>
|
915 |
-
<h3><?php _e('Unistall plugin', 'wp_statistics'); ?></h4>
|
916 |
-
</th>
|
917 |
-
</tr>
|
918 |
-
|
919 |
-
<tr>
|
920 |
-
<th colspan="3">
|
921 |
-
<?php _e('Delete all data, including tables and plugin options', 'wp_statistics'); ?>
|
922 |
-
<span class="button" id="uninstall"><?php _e('Uninstall', 'wp_statistics'); ?></span>
|
923 |
-
<div id="result_uninstall"></div>
|
924 |
-
</th>
|
925 |
-
</tr>
|
926 |
-
</form>
|
927 |
-
</table>
|
928 |
-
</div>
|
929 |
-
<?php
|
930 |
}
|
931 |
|
932 |
-
function wp_statistics_stats_permission()
|
933 |
-
|
934 |
-
if (!current_user_can('manage_options'))
|
935 |
-
{
|
936 |
wp_die( __('You do not have sufficient permissions to access this page.', 'wp_statistics') );
|
937 |
}
|
938 |
|
939 |
-
|
940 |
-
<div class="wrap">
|
941 |
-
<h2><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/images/icon_big.png"/> <?php _e('Stats weblog', 'wp_statistics'); ?></h2>
|
942 |
-
<table class="widefat fixed" cellspacing="0">
|
943 |
-
<thead>
|
944 |
-
<tr>
|
945 |
-
<th id="cb" scope="col" class="manage-column column-cb check-column"></th>
|
946 |
-
<th scope="col" class="manage-column column-name" width="5%"><?php _e('No', 'wp_statistics'); ?></th>
|
947 |
-
<th scope="col" class="manage-column column-name" width="10%"><?php _e('IP', 'wp_statistics'); ?></th>
|
948 |
-
<th scope="col" class="manage-column column-name" width="10%"><?php _e('Time', 'wp_statistics'); ?></th>
|
949 |
-
<th scope="col" class="manage-column column-name" width="40%"><?php _e('Referred', 'wp_statistics'); ?></th>
|
950 |
-
<th scope="col" class="manage-column column-name" width="30%"><?php _e('Agent', 'wp_statistics'); ?></th>
|
951 |
-
</tr>
|
952 |
-
</thead>
|
953 |
-
|
954 |
-
<tbody>
|
955 |
-
<?php
|
956 |
-
global $wpdb, $table_prefix;
|
957 |
-
$get_result = $wpdb->get_results("SELECT * FROM {$table_prefix}statistics_reffered");
|
958 |
-
|
959 |
-
if(count($get_result ) > 0)
|
960 |
-
{
|
961 |
-
foreach($get_result as $gets)
|
962 |
-
{
|
963 |
-
$i++;
|
964 |
-
?>
|
965 |
-
<tr class="<?php echo $i % 2 == 0 ? 'alternate':'author-self'; ?>" valign="middle" id="link-2">
|
966 |
-
<th class="check-column" scope="row"></th>
|
967 |
-
<td class="column-name"><?php echo $i; ?></td>
|
968 |
-
<td class="column-name"><?php echo $gets->ip; ?></td>
|
969 |
-
<td class="column-name"><?php echo $gets->time; ?></td>
|
970 |
-
<td class="column-name"><a href="<?php echo $gets->referred; ?>" target="_blank"><?php echo $gets->referred; ?></a></td>
|
971 |
-
<td class="column-name"><?php echo $gets->agent; ?></td>
|
972 |
-
</tr>
|
973 |
-
<?php
|
974 |
-
}
|
975 |
-
} else { ?>
|
976 |
-
<tr>
|
977 |
-
<td colspan="6"><?php _e('Not Found!', 'wp_statistics'); ?></td>
|
978 |
-
</tr>
|
979 |
-
<?php } ?>
|
980 |
-
</tbody>
|
981 |
-
|
982 |
-
<tfoot>
|
983 |
-
<tr>
|
984 |
-
<th id="cb" scope="col" class="manage-column column-cb check-column"></th>
|
985 |
-
<th scope="col" class="manage-column column-name" width="5%"><?php _e('No', 'wp_statistics'); ?></th>
|
986 |
-
<th scope="col" class="manage-column column-name" width="10%"><?php _e('IP', 'wp_statistics'); ?></th>
|
987 |
-
<th scope="col" class="manage-column column-name" width="10%"><?php _e('Time', 'wp_statistics'); ?></th>
|
988 |
-
<th scope="col" class="manage-column column-name" width="40%"><?php _e('Referred', 'wp_statistics'); ?></th>
|
989 |
-
<th scope="col" class="manage-column column-name" width="30%"><?php _e('Agent', 'wp_statistics'); ?></th>
|
990 |
-
</tr>
|
991 |
-
</tfoot>
|
992 |
-
</table>
|
993 |
-
</div>
|
994 |
-
<?php
|
995 |
}
|
996 |
|
997 |
-
function wp_statistics_online_permission()
|
998 |
-
|
999 |
-
if (!current_user_can('manage_options'))
|
1000 |
-
{
|
1001 |
wp_die( __('You do not have sufficient permissions to access this page.', 'wp_statistics') );
|
1002 |
}
|
1003 |
-
|
1004 |
-
|
1005 |
-
<h2><img src="<?php echo plugin_dir_url( __FILE__ ); ?>/images/icon_big.png"/> <?php _e('User Online', 'wp_statistics'); ?></h2>
|
1006 |
-
<table class="widefat fixed" cellspacing="0">
|
1007 |
-
<thead>
|
1008 |
-
<tr>
|
1009 |
-
<th id="cb" scope="col" class="manage-column column-cb check-column"></th>
|
1010 |
-
<th scope="col" class="manage-column column-name" width="5%"><?php _e('No', 'wp_statistics'); ?></th>
|
1011 |
-
<th scope="col" class="manage-column column-name" width="10%"><?php _e('IP', 'wp_statistics'); ?></th>
|
1012 |
-
<th scope="col" class="manage-column column-name" width="10%"><?php _e('Time', 'wp_statistics'); ?></th>
|
1013 |
-
<th scope="col" class="manage-column column-name" width="40%"><?php _e('Referred', 'wp_statistics'); ?></th>
|
1014 |
-
<th scope="col" class="manage-column column-name" width="30%"><?php _e('Agent', 'wp_statistics'); ?></th>
|
1015 |
-
</tr>
|
1016 |
-
</thead>
|
1017 |
-
|
1018 |
-
<tbody>
|
1019 |
-
<?php
|
1020 |
-
global $wpdb, $table_prefix;
|
1021 |
-
$get_result = $wpdb->get_results("SELECT * FROM {$table_prefix}statistics_useronline");
|
1022 |
-
|
1023 |
-
if(count($get_result ) > 0)
|
1024 |
-
{
|
1025 |
-
foreach($get_result as $gets)
|
1026 |
-
{
|
1027 |
-
$i++;
|
1028 |
-
?>
|
1029 |
-
<tr class="<?php echo $i % 2 == 0 ? 'alternate':'author-self'; ?>" valign="middle" id="link-2">
|
1030 |
-
<th class="check-column" scope="row"></th>
|
1031 |
-
<td class="column-name"><?php echo $i; ?></td>
|
1032 |
-
<td class="column-name"><?php echo $gets->ip; ?></td>
|
1033 |
-
<td class="column-name"><?php echo $gets->time; ?></td>
|
1034 |
-
<td class="column-name"><a href="<?php echo $gets->referred; ?>" target="_blank"><?php echo $gets->referred; ?></a></td>
|
1035 |
-
<td class="column-name"><?php echo $gets->agent; ?></td>
|
1036 |
-
</tr>
|
1037 |
-
<?php
|
1038 |
-
}
|
1039 |
-
} else { ?>
|
1040 |
-
<tr>
|
1041 |
-
<td colspan="6"><?php _e('Not Found!', 'wp_statistics'); ?></td>
|
1042 |
-
</tr>
|
1043 |
-
<?php } ?>
|
1044 |
-
</tbody>
|
1045 |
-
|
1046 |
-
<tfoot>
|
1047 |
-
<tr>
|
1048 |
-
<th id="cb" scope="col" class="manage-column column-cb check-column"></th>
|
1049 |
-
<th scope="col" class="manage-column column-name" width="5%"><?php _e('No', 'wp_statistics'); ?></th>
|
1050 |
-
<th scope="col" class="manage-column column-name" width="10%"><?php _e('IP', 'wp_statistics'); ?></th>
|
1051 |
-
<th scope="col" class="manage-column column-name" width="10%"><?php _e('Time', 'wp_statistics'); ?></th>
|
1052 |
-
<th scope="col" class="manage-column column-name" width="40%"><?php _e('Referred', 'wp_statistics'); ?></th>
|
1053 |
-
<th scope="col" class="manage-column column-name" width="30%"><?php _e('Agent', 'wp_statistics'); ?></th>
|
1054 |
-
</tr>
|
1055 |
-
</tfoot>
|
1056 |
-
</table>
|
1057 |
-
</div>
|
1058 |
-
<?php
|
1059 |
}
|
1060 |
|
1061 |
add_shortcode('useronline', 'wp_statistics_useronline');
|
3 |
Plugin Name: WP-Statistics
|
4 |
Plugin URI: http://iran98.org/category/wordpress/wp-statistics/
|
5 |
Description: Summary statistics of blog.
|
6 |
+
Version: 2.2.8
|
7 |
Author: Mostafa Soufi
|
8 |
Author URI: http://iran98.org/
|
9 |
License: GPL2
|
10 |
*/
|
11 |
+
define('WP_STATISTICS_VERSION', '2.2.8');
|
12 |
+
|
13 |
include_once("widget.php");
|
14 |
|
15 |
load_plugin_textdomain('wp_statistics','wp-content/plugins/wp-statistics/langs');
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
global $wp_statistics_db_version, $wpdb;
|
18 |
$wp_statistics_db_version = "1.0";
|
19 |
|
31 |
|
32 |
/* Live Statistics Varieble */
|
33 |
$database_checktime = get_option('database_checktime');
|
34 |
+
if(!$database_checktime) {
|
|
|
35 |
$database_checktime = "10";
|
36 |
}
|
37 |
|
38 |
/* Coefficient Visitor */
|
39 |
$get_coefficient = get_option('coefficient_visitor');
|
40 |
+
if(!$get_coefficient) {
|
|
|
41 |
$get_coefficient = "1";
|
42 |
}
|
43 |
|
44 |
+
function wp_statistics_menubar() {
|
|
|
45 |
global $wp_admin_bar;
|
46 |
+
if (!is_super_admin() || !is_admin_bar_showing() || !get_option('enable_wps_adminbar')) {
|
|
|
47 |
return;
|
48 |
} else {
|
49 |
$wp_admin_bar->add_menu( array(
|
78 |
));
|
79 |
}
|
80 |
}
|
81 |
+
add_action('admin_bar_menu', 'wp_statistics_menubar', 20);
|
82 |
|
83 |
+
function wp_statistics_options() {
|
|
|
84 |
update_option('enable_wps_adminbar', true);
|
85 |
}
|
86 |
+
register_activation_hook(__FILE__,'wp_statistics_options');
|
87 |
|
88 |
+
function wp_statistics_install() {
|
|
|
89 |
global $wp_statistics_db_version, $table_prefix;
|
90 |
+
|
91 |
$table_visit = $table_prefix."statistics_visits";
|
92 |
$table_visitors = $table_prefix."statistics_visitors";
|
93 |
$table_profile = $table_prefix."statistics_profile";
|
97 |
$time_1 = date('i');
|
98 |
|
99 |
$create_visit_table = ("CREATE TABLE ".$table_visit."
|
100 |
+
(today int(10),
|
101 |
+
yesterday int(10),
|
102 |
+
week int(20),
|
103 |
+
month int(20),
|
104 |
+
year int (20),
|
105 |
+
total int(20),
|
106 |
+
google int(10),
|
107 |
+
yahoo int (10),
|
108 |
+
bing int (10)) CHARSET=utf8");
|
109 |
|
110 |
$create_dates_table = ("CREATE TABLE ".$table_dates."
|
111 |
+
(last_counter DATE,
|
112 |
+
last_week int(2),
|
113 |
+
last_month int(2),
|
114 |
+
last_year int(5),
|
115 |
+
timestamp int(10),
|
116 |
+
last_visit DATETIME) CHARSET=utf8");
|
117 |
|
118 |
$create_users_table = ("CREATE TABLE ".$table_users."
|
119 |
+
(ip char(20),
|
120 |
+
timestamp int(10),
|
121 |
+
time DATETIME,
|
122 |
+
referred text,
|
123 |
+
agent char(255))");
|
124 |
+
|
125 |
+
$create_referred_table = ("CREATE TABLE ".$table_referred."
|
126 |
+
(referred text,
|
127 |
+
ip char(20),
|
128 |
+
time DATETIME,
|
129 |
+
agent char(255))");
|
130 |
|
131 |
$primary_visit_value = ("INSERT INTO ".$table_visit."
|
132 |
+
(today, yesterday, week, month, year, total, google, yahoo, bing) VALUES
|
133 |
+
(0, 0, 0, 0, 0, 0, 0, 0, 0)");
|
134 |
|
135 |
$primary_date_value = ("INSERT INTO ".$table_dates."
|
136 |
+
(last_counter, last_week, last_month, last_year, timestamp, last_visit) VALUES
|
137 |
+
('00-00-00', '".$get_week."', '".$get_month."', '".$get_year."', '".$time_1."', '".$get_date."')");
|
138 |
|
139 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
140 |
|
141 |
dbDelta($create_visit_table);
|
142 |
dbDelta($create_dates_table);
|
143 |
dbDelta($create_users_table);
|
144 |
+
dbDelta($create_referred_table);
|
145 |
|
146 |
dbDelta($primary_visit_value);
|
147 |
dbDelta($primary_date_value);
|
148 |
|
149 |
+
add_option('wp_statistics_db_version', '2.2.8');
|
150 |
}
|
151 |
+
register_activation_hook(__FILE__,'wp_statistics_install');
|
152 |
|
153 |
+
function wp_check_spider() {
|
|
|
154 |
$spiders = array("Teoma", "alexa", "froogle", "Gigabot", "inktomi",
|
155 |
+
"looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory",
|
156 |
+
"Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot",
|
157 |
+
"crawler", "www.galaxy.com", "Googlebot", "googlebot", "Scooter", "Slurp",
|
158 |
+
"msnbot", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz",
|
159 |
+
"Baiduspider", "Feedfetcher-Google", "TechnoratiSnoop", "Rankivabot",
|
160 |
+
"Mediapartners-Google", "Sogou web spider", "WebAlta Crawler","TweetmemeBot",
|
161 |
+
"Butterfly","Twitturls","Me.dium","Twiceler", "Yammybot", "Openbot", "Yahoo",
|
162 |
+
"ia_archiver", "Lycos", "AltaVista", "Googlebot-Mobile", "Rambler", "AbachoBOT",
|
163 |
+
"accoona", "AcoiRobot", "ASPSeek", "CrocCrawler", "Dumbot", "FAST-WebCrawler",
|
164 |
+
"GeonaBot", "MSRBOT", "IDBot", "eStyle", "Scrubby");
|
165 |
+
|
166 |
+
foreach($spiders as $spider) {
|
167 |
+
if(strpos($_SERVER['HTTP_USER_AGENT'], $spider) == true)
|
168 |
return true;
|
169 |
}
|
170 |
return false;
|
171 |
}
|
172 |
|
173 |
+
function wp_statistics() {
|
|
|
174 |
global $wpdb, $table_prefix, $get_date, $get_now, $get_week, $get_month, $get_year, $get_referred, $get_userip, $get_useragent, $get_coefficient;
|
175 |
|
176 |
$get_dates_row = $wpdb->get_row("SELECT * FROM {$table_prefix}statistics_date");
|
177 |
|
178 |
+
if( ($get_dates_row->last_visit) != $get_date && !is_admin() && !wp_check_spider()) {
|
|
|
179 |
if( ($get_dates_row->last_counter) == $get_now ) {
|
180 |
$wpdb->query("UPDATE {$table_prefix}statistics_visits SET today = today+'".$get_coefficient."', total = total+'".$get_coefficient."'");
|
181 |
$wpdb->query("UPDATE {$table_prefix}statistics_date SET last_visit = '".$get_date."'");
|
207 |
}
|
208 |
}
|
209 |
|
210 |
+
if(get_option('daily_referer')) {
|
211 |
+
if( ($get_dates_row->last_counter) == $get_now ) {
|
212 |
+
if(strstr($get_referred, 'google.com')) {
|
|
|
|
|
|
|
213 |
$wpdb->query("UPDATE {$table_prefix}statistics_visits SET google = google+1");
|
214 |
} else if(strstr($get_referred, 'yahoo.com')) {
|
215 |
$wpdb->query("UPDATE {$table_prefix}statistics_visits SET yahoo = yahoo+1");
|
233 |
}
|
234 |
|
235 |
$get_items_statistics = get_option('items_statistics');
|
236 |
+
if(!$get_items_statistics) {
|
|
|
237 |
$get_items_statistics = '5';
|
238 |
}
|
239 |
|
240 |
$get_num_reffered = $wpdb->get_var("SELECT COUNT(*) FROM {$table_prefix}statistics_reffered");
|
241 |
+
if($get_num_reffered < $get_items_statistics) {
|
|
|
242 |
$get_var_ip = $wpdb->get_var("SELECT ip FROM {$table_prefix}statistics_reffered WHERE ip = '".$get_userip."'");
|
243 |
if(!$get_var_ip)
|
244 |
{
|
247 |
}
|
248 |
}
|
249 |
|
250 |
+
function wp_statistics_not_enable() {
|
|
|
251 |
$get_bloginfo_url = get_admin_url() . "admin.php?page=wp-statistics";
|
252 |
echo '<div class="error"><p>'.sprintf(__('WP-Statistics not enabled! Please go to <a href="%s">setting page</a> and enable statistics', 'wp_statistics'), $get_bloginfo_url).'</p></div>';
|
253 |
}
|
254 |
|
255 |
+
if(get_option('enable_stats')) {
|
256 |
+
wp_statistics();
|
|
|
257 |
} else {
|
258 |
add_action('admin_notices', 'wp_statistics_not_enable');
|
259 |
}
|
260 |
|
261 |
/* Start: functions for user in theme */
|
262 |
+
function wp_statistics_useronline() {
|
|
|
263 |
global $wpdb, $table_prefix, $get_date, $get_referred, $get_useragent, $get_userip;
|
264 |
$timestamp = date("U");
|
265 |
|
266 |
$get_time_useronline_s = get_option('time_useronline_s');
|
267 |
|
268 |
+
if(!$get_time_useronline_s) {
|
269 |
+
$get_time_useronline_s = '10'; // Default value for check accurate user online
|
|
|
270 |
}
|
271 |
|
272 |
$get_ip = $wpdb->get_var("SELECT * FROM {$table_prefix}statistics_useronline WHERE ip = '".$get_userip."'");
|
273 |
+
if($get_ip) {
|
|
|
274 |
$wpdb->query("UPDATE {$table_prefix}statistics_useronline SET timestamp = '".$timestamp."', time = '".$get_date."', referred = '".$get_referred."', agent = '".$get_useragent."' WHERE ip = '".$get_ip."'");
|
275 |
} else {
|
276 |
$wpdb->query("INSERT INTO {$table_prefix}statistics_useronline(ip, timestamp, time, referred, agent) VALUES ('".$get_userip."', '".$timestamp."', '".$get_date."', '".$get_referred."', '".$get_useragent."')");
|
283 |
return $get_users;
|
284 |
}
|
285 |
|
286 |
+
function wp_statistics_today() {
|
|
|
287 |
global $wpdb, $table_prefix, $get_enable_stats;
|
288 |
$get_var = $wpdb->get_var("SELECT today FROM {$table_prefix}statistics_visits");
|
289 |
|
295 |
}
|
296 |
}
|
297 |
|
298 |
+
function wp_statistics_yesterday() {
|
|
|
299 |
global $wpdb, $table_prefix, $get_enable_stats;
|
300 |
$get_var = $wpdb->get_var("SELECT yesterday FROM {$table_prefix}statistics_visits");
|
301 |
|
307 |
}
|
308 |
}
|
309 |
|
310 |
+
function wp_statistics_week() {
|
|
|
311 |
global $wpdb, $table_prefix, $get_enable_stats;
|
312 |
$get_var = $wpdb->get_var("SELECT week FROM {$table_prefix}statistics_visits");
|
313 |
|
319 |
}
|
320 |
}
|
321 |
|
322 |
+
function wp_statistics_month() {
|
|
|
323 |
global $wpdb, $table_prefix, $get_enable_stats;
|
324 |
$get_var = $wpdb->get_var("SELECT month FROM {$table_prefix}statistics_visits");
|
325 |
|
331 |
}
|
332 |
}
|
333 |
|
334 |
+
function wp_statistics_year() {
|
|
|
335 |
global $wpdb, $table_prefix, $get_enable_stats;
|
336 |
$get_var = $wpdb->get_var("SELECT year FROM {$table_prefix}statistics_visits");
|
337 |
|
343 |
}
|
344 |
}
|
345 |
|
346 |
+
function wp_statistics_total() {
|
|
|
347 |
global $wpdb, $table_prefix, $get_enable_stats;
|
348 |
$get_var = $wpdb->get_var("SELECT total FROM {$table_prefix}statistics_visits");
|
349 |
|
355 |
}
|
356 |
}
|
357 |
|
358 |
+
function wp_statistics_searchengine($referred='') {
|
|
|
359 |
global $wpdb, $table_prefix;
|
360 |
if($referred == 'google') {
|
361 |
return $wpdb->get_var("SELECT google FROM {$table_prefix}statistics_visits");
|
399 |
<span id="show_totalvisit_live"></span>
|
400 |
<?php }
|
401 |
|
402 |
+
function wp_statistics_countposts() {
|
|
|
403 |
$count_posts = wp_count_posts('post');
|
404 |
return $count_posts->publish;
|
405 |
}
|
406 |
|
407 |
+
function wp_statistics_countpages() {
|
|
|
408 |
$count_pages = wp_count_posts('page');
|
409 |
return $count_pages->publish;
|
410 |
}
|
411 |
|
412 |
+
function wp_statistics_countcomment() {
|
|
|
413 |
global $wpdb;
|
414 |
$countcomms = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'");
|
415 |
if (0 < $countcomms) $countcomms = number_format($countcomms);
|
416 |
return $countcomms;
|
417 |
}
|
418 |
|
419 |
+
function wp_statistics_countspam() {
|
|
|
420 |
return number_format_i18n(get_option('akismet_spam_count'));
|
421 |
}
|
422 |
|
423 |
+
function wp_statistics_countusers() {
|
|
|
424 |
$result = count_users();
|
425 |
return $result['total_users'];
|
426 |
}
|
427 |
|
428 |
+
function wp_statistics_lastpostdate($type=english) {
|
|
|
429 |
global $wpdb;
|
430 |
$db_date = $wpdb->get_var("SELECT post_date FROM $wpdb->posts WHERE post_type='post' AND post_status='publish' ORDER BY ID DESC LIMIT 1");
|
431 |
$date_format = get_option('date_format');
|
432 |
+
if ( $type == 'farsi' ) {
|
|
|
433 |
return jdate($date_format, strtotime($db_date));
|
434 |
} else {
|
435 |
return date($date_format, strtotime($db_date));
|
436 |
}
|
437 |
}
|
438 |
|
439 |
+
function wp_statistics_average_post() {
|
|
|
440 |
global $wpdb;
|
441 |
$get_first_post = $wpdb->get_var("SELECT post_date FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date LIMIT 1");
|
442 |
$get_total_post = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post'");
|
445 |
return round($get_total_post / $days_spend, 2);
|
446 |
}
|
447 |
|
448 |
+
function wp_statistics_average_comment() {
|
|
|
449 |
global $wpdb;
|
450 |
$get_first_comment = $wpdb->get_var("SELECT comment_date FROM $wpdb->comments ORDER BY comment_date LIMIT 1");
|
451 |
$get_total_comment = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'");
|
454 |
return round($get_total_comment / $days_spend, 2);
|
455 |
}
|
456 |
|
457 |
+
function wp_statistics_average_registeruser() {
|
|
|
458 |
global $wpdb;
|
459 |
$get_first_user = $wpdb->get_var("SELECT user_registered FROM $wpdb->users ORDER BY user_registered LIMIT 1");
|
460 |
$get_total_user = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->users");
|
464 |
}
|
465 |
|
466 |
// Show Count Feedburner Subscribe by Affiliate Marketer
|
467 |
+
function wp_statistics_countsubscrib($feed_url) {
|
|
|
468 |
$feedcount = get_option("feedrsscount");
|
469 |
+
if ($feedcount['lastcheck'] < (mktime()-3600)) {
|
|
|
470 |
$whaturl='https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri='.$feed_url;
|
471 |
$ch = curl_init();
|
472 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
482 |
return $feedcount['count'];
|
483 |
}
|
484 |
|
485 |
+
include_once("include/google_pagerank.php");
|
486 |
+
include_once("include/alexa_pagerank.php");
|
|
|
|
|
487 |
|
488 |
+
function wp_statistics_menu() {
|
489 |
+
if (function_exists('add_options_page')) {
|
|
|
|
|
490 |
add_menu_page(__('Statistics', 'wp_statistics'), __('Statistics', 'wp_statistics'), 'manage_options', 'wp-statistics', 'wp_statistics_config_permission', plugin_dir_url( __FILE__ ).'/images/icon.png');
|
491 |
add_submenu_page( 'wp-statistics', __('Settings', 'wp_statistics'), __('Settings', 'wp_statistics'), 'manage_options', 'wp-statistics', 'wp_statistics_config_permission');
|
492 |
add_submenu_page( 'wp-statistics', __('Stats Log', 'wp_statistics'), __('Stats Log', 'wp_statistics'), 'manage_options', 'wp-statistics/stats', 'wp_statistics_stats_permission');
|
493 |
add_submenu_page( 'wp-statistics', __('Users Online', 'wp_statistics'), __('Users Online', 'wp_statistics'), 'manage_options', 'wp-statistics/online', 'wp_statistics_online_permission');
|
494 |
}
|
495 |
}
|
496 |
+
add_action('admin_menu', 'wp_statistics_menu');
|
497 |
|
498 |
+
function wp_statistics_config_permission() {
|
499 |
+
if (!current_user_can('manage_options')) {
|
|
|
|
|
500 |
wp_die( __('You do not have sufficient permissions to access this page.', 'wp_statistics') );
|
501 |
|
502 |
settings_fields( 'wp_statistics_options' );
|
503 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
|
505 |
+
include_once('setting/setting.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
}
|
507 |
|
508 |
+
function wp_statistics_stats_permission() {
|
509 |
+
if (!current_user_can('manage_options')) {
|
|
|
|
|
510 |
wp_die( __('You do not have sufficient permissions to access this page.', 'wp_statistics') );
|
511 |
}
|
512 |
|
513 |
+
include_once('setting/stats.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
514 |
}
|
515 |
|
516 |
+
function wp_statistics_online_permission() {
|
517 |
+
if (!current_user_can('manage_options')) {
|
|
|
|
|
518 |
wp_die( __('You do not have sufficient permissions to access this page.', 'wp_statistics') );
|
519 |
}
|
520 |
+
|
521 |
+
include_once('setting/useronline.php');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
522 |
}
|
523 |
|
524 |
add_shortcode('useronline', 'wp_statistics_useronline');
|