WP Statistics - Version 2.1

Version Description

  • Edit string
Download this release

Release Info

Developer mostafa.s1990
Plugin Icon 128x128 WP Statistics
Version 2.1
Comparing to
See all releases

Code changes from version 2.0 to 2.1

actions.php DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- require('../../../wp-blog-header.php');
3
- $increase_value = $_REQUEST['increase_value'];
4
- $reduction_value = $_REQUEST['reduction_value'];
5
-
6
- if($increase_value) {
7
- echo __('Sorry! this feature is for Premium version', 'wp_statistics');
8
- } else if($reduction_value) {
9
- echo __('Sorry! this feature is for Premium version', 'wp_statistics');
10
- } else {
11
- _e('Please Enter value!', 'wp_statistics');
12
- }
13
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
images/icon.png DELETED
Binary file
images/icon_big.png DELETED
Binary file
images/loading.gif DELETED
Binary file
include/alexa_pagerank.php DELETED
@@ -1,33 +0,0 @@
1
- <?php
2
- /* Alexa Pagerank checker function
3
- /* Source: http://abcoder.com/php/get-google-page-rank-and-alexa-rank-of-a-domain-using-php/
4
- */
5
- function wp_statistics_alexaRank(){
6
- $get_pagerank_alexa_url = get_option('pagerank_alexa_url');
7
- if(!$get_pagerank_alexa_url) {
8
- $domain = get_bloginfo('url');
9
- } else {
10
- $domain = get_option('pagerank_alexa_url');
11
- }
12
-
13
- $remote_url = 'http://data.alexa.com/data?cli=10&dat=snbamz&url='.trim($domain);
14
- $search_for = '<POPULARITY URL';
15
- if ($handle = @fopen($remote_url, "r")) {
16
- while (!feof($handle)) {
17
- $part .= fread($handle, 100);
18
- $pos = strpos($part, $search_for);
19
- if ($pos === false)
20
- continue;
21
- else
22
- break;
23
- }
24
- $part .= fread($handle, 100);
25
- fclose($handle);
26
- }
27
- $str = explode($search_for, $part);
28
- $str = array_shift(explode('"/>', $str[1]));
29
- $str = explode('TEXT="', $str);
30
-
31
- return $str[1];
32
- }
33
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
include/google_pagerank.php DELETED
@@ -1,97 +0,0 @@
1
- <?php
2
- /* Google Pagerank checker function
3
- /* Source: http://abcoder.com/php/get-google-page-rank-and-alexa-rank-of-a-domain-using-php/
4
- */
5
- function wp_statistics_google_page_rank() {
6
- $get_pagerank_google_url = get_option('pagerank_google_url');
7
- if(!$get_pagerank_google_url) {
8
- $url = get_bloginfo('url');
9
- } else {
10
- $url = get_option('pagerank_google_url');
11
- }
12
-
13
- if (strlen(trim($url))>0) {
14
- $_url = eregi("http://",$url)? $url:"http://".$url;
15
- $pagerank = trim(wp_statistics_GooglePageRank($_url));
16
- if (empty($pagerank)) $pagerank = 0;
17
- return (int)($pagerank);
18
- }
19
- return 0;
20
- }
21
-
22
- function wp_statistics_GooglePageRank($url) {
23
- $fp = fsockopen("toolbarqueries.google.com", 80, $errno, $errstr, 30);
24
- if (!$fp) {
25
- echo "$errstr ($errno)<br />\n";
26
- } else {
27
- $out = "GET /search?client=navclient-auto&ch=".wp_statistics_CheckHash(wp_statistics_HashURL($url))."&features=Rank&q=info:".$url."&num=100&filter=0 HTTP/1.1\r\n";
28
- $out .= "Host: toolbarqueries.google.com\r\n";
29
- $out .= "User-Agent: Mozilla/4.0 (compatible; GoogleToolbar 2.0.114-big; Windows XP 5.1)\r\n";
30
- $out .= "Connection: Close\r\n\r\n";
31
- fwrite($fp, $out);
32
-
33
- while (!feof($fp)) {
34
- $data = fgets($fp, 128);
35
- $pos = strpos($data, "Rank_");
36
- if($pos === false){} else{
37
- $pagerank = substr($data, $pos + 9);
38
- }
39
- }
40
- fclose($fp);
41
- return $pagerank;
42
- }
43
- }
44
-
45
- function wp_statistics_StrToNum($Str, $Check, $Magic) {
46
- $Int32Unit = 4294967296; // 2^32
47
- $length = strlen($Str);
48
- for ($i = 0; $i < $length; $i++) {
49
- $Check *= $Magic;
50
- if ($Check >= $Int32Unit) {
51
- $Check = ($Check - $Int32Unit * (int) ($Check / $Int32Unit));
52
- $Check = ($Check < -2147483648)? ($Check + $Int32Unit) : $Check;
53
- }
54
- $Check += ord($Str{$i});
55
- }
56
- return $Check;
57
- }
58
-
59
- function wp_statistics_HashURL($String) {
60
- $Check1 = wp_statistics_StrToNum($String, 0x1505, 0x21);
61
- $Check2 = wp_statistics_StrToNum($String, 0, 0x1003F);
62
- $Check1 >>= 2;
63
- $Check1 = (($Check1 >> 4) & 0x3FFFFC0 ) | ($Check1 & 0x3F);
64
- $Check1 = (($Check1 >> 4) & 0x3FFC00 ) | ($Check1 & 0x3FF);
65
- $Check1 = (($Check1 >> 4) & 0x3C000 ) | ($Check1 & 0x3FFF);
66
- $T1 = (((($Check1 & 0x3C0) << 4) | ($Check1 & 0x3C)) << 2 ) | ($Check2 & 0xF0F );
67
- $T2 = (((($Check1 & 0xFFFFC000) << 4) | ($Check1 & 0x3C00)) << 0xA) | ($Check2 & 0xF0F0000 );
68
- return ($T1 | $T2);
69
- }
70
-
71
- function wp_statistics_CheckHash($Hashnum) {
72
- $CheckByte = 0;
73
- $Flag = 0;
74
- $HashStr = sprintf('%u', $Hashnum) ;
75
- $length = strlen($HashStr);
76
- for ($i = $length - 1; $i >= 0; $i --) {
77
- $Re = $HashStr{$i};
78
- if (1 === ($Flag % 2)) {
79
- $Re += $Re;
80
- $Re = (int)($Re / 10) + ($Re % 10);
81
- }
82
- $CheckByte += $Re;
83
- $Flag ++;
84
- }
85
- $CheckByte %= 10;
86
- if (0!== $CheckByte) {
87
- $CheckByte = 10 - $CheckByte;
88
- if (1 === ($Flag % 2) ) {
89
- if (1 === ($CheckByte % 2)) {
90
- $CheckByte += 9;
91
- }
92
- $CheckByte >>= 1;
93
- }
94
- }
95
- return '7'.$CheckByte.$HashStr;
96
- }
97
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
langs/wp_statistics-fa_IR.mo DELETED
Binary file
langs/wp_statistics-fa_IR.po DELETED
@@ -1,548 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: wp-statistics\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2011-09-19 13:03+0330\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Mostafa Soufi <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"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: __;_e\n"
13
- "X-Poedit-Basepath: F:\\Program Files\\Apserv\\AppServ\\www\\wordpress\\wp-content\\plugins\\wp-statistics\n"
14
- "X-Poedit-Language: Persian\n"
15
- "X-Poedit-Country: IRAN, ISLAMIC REPUBLIC OF\n"
16
- "X-Poedit-SearchPath-0: F:\\Program Files\\Apserv\\AppServ\\www\\wordpress\\wp-content\\plugins\\wp-statistics\n"
17
-
18
- #: F:\Program
19
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/actions.php:7
20
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/actions.php:9
21
- msgid "Sorry! this feature is for Premium version"
22
- msgstr "متاسفم! این امکان برای نسخه‌ی ویژه است."
23
-
24
- #: F:\Program
25
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/actions.php:11
26
- msgid "Please Enter value!"
27
- msgstr "لطفا مقداری را وارد کنید!"
28
-
29
- #: F:\Program
30
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/report_problem.php:17
31
- msgid "Thanks for your report!"
32
- msgstr "با تشکر از گزارش شما!"
33
-
34
- #: F:\Program
35
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/report_problem.php:19
36
- msgid "Error! Please Enter all field"
37
- msgstr "خطا! لطفا همه فیلدها را پرکنید"
38
-
39
- #: F:\Program
40
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:194
41
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:209
42
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:224
43
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:239
44
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:254
45
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:269
46
- msgid "(Disable)"
47
- msgstr "(غیرفعال)"
48
-
49
- #: F:\Program
50
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:376
51
- msgid "Statistics"
52
- msgstr "آماره"
53
-
54
- #: F:\Program
55
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:377
56
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:637
57
- msgid "Stats weblog"
58
- msgstr "آمار سایت"
59
-
60
- #: F:\Program
61
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:378
62
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:585
63
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:673
64
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:709
65
- msgid "User Online"
66
- msgstr "کاربران حاضر"
67
-
68
- #: F:\Program
69
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:384
70
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:635
71
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:671
72
- msgid "You do not have sufficient permissions to access this page."
73
- msgstr "شما مجوز کافی برای مشاهده‌ی این قسمت را ندارید."
74
-
75
- #: F:\Program
76
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:453
77
- msgid "Configuration"
78
- msgstr "پیکربندی"
79
-
80
- #: F:\Program
81
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:458
82
- msgid "Enable Statistics"
83
- msgstr "آمارگیر فعال شود"
84
-
85
- #: F:\Program
86
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:462
87
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:480
88
- msgid "Yes"
89
- msgstr "بله"
90
-
91
- #: F:\Program
92
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:466
93
- msgid "Statistics are disabled."
94
- msgstr "آمارگیر فعال است."
95
-
96
- #: F:\Program
97
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:468
98
- msgid "Statistics are disabled!"
99
- msgstr "آمارگیر غیرفعال است!"
100
-
101
- #: F:\Program
102
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:473
103
- msgid "General configuration"
104
- msgstr "پیکربندی عمومی"
105
-
106
- #: F:\Program
107
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:476
108
- msgid "Show decimals number"
109
- msgstr "نمایش اعداد به‌صورت اعشاری"
110
-
111
- #: F:\Program
112
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:482
113
- msgid "Show number stats with decimal. For examle: 3,500"
114
- msgstr "نمایش اعداد آمارگیر به‌صورت اعشاری. برای مثال: 3،500"
115
-
116
- #: F:\Program
117
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:486
118
- msgid "Online user check time"
119
- msgstr "زمان بررسی کاربران آنلاین"
120
-
121
- #: F:\Program
122
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:488
123
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:529
124
- msgid "Each"
125
- msgstr "هر"
126
-
127
- #: F:\Program
128
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:490
129
- msgid "Compute min"
130
- msgstr "دقیقه محاسبه کن"
131
-
132
- #: F:\Program
133
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:492
134
- msgid "Time for the check accurate online user in the site. Default: 5 Minutes"
135
- msgstr "زمان برای بررسی دقیق کاربران حاضر در سایت. پیش‌فرض 5 دقیقه است"
136
-
137
- #: F:\Program
138
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:496
139
- msgid "Increase value of the total hits"
140
- msgstr "افزایش مقدار به بازدید‌های کل"
141
-
142
- #: F:\Program
143
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:499
144
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:509
145
- msgid "Done"
146
- msgstr "انجام"
147
-
148
- #: F:\Program
149
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:502
150
- msgid "Your total visit sum with this value"
151
- msgstr "کل بازدیدها با این مقدار جمع می‌شود"
152
-
153
- #: F:\Program
154
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:506
155
- msgid "Reduction value of the total hits"
156
- msgstr "کاهش مقدار از بازدید‌های کل"
157
-
158
- #: F:\Program
159
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:512
160
- msgid "Your total visit minus with this value"
161
- msgstr "کل بازدیدها از این مقدار کم می‌شود"
162
-
163
- #: F:\Program
164
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:516
165
- msgid "Number item for show Statistics"
166
- msgstr "تعداد آیتم برای نمایش آمار"
167
-
168
- #: F:\Program
169
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:519
170
- msgid "Default 5"
171
- msgstr "پیش‌فرض 5 است"
172
-
173
- #: F:\Program
174
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:521
175
- msgid "Number for submit item in Database and show that"
176
- msgstr "تعداد برای ثبت آیتم‌های آمار در پایگاه‌داده و نمایش آن"
177
-
178
- #: F:\Program
179
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:524
180
- msgid "Live Statistics configuration"
181
- msgstr "پیکربندی بازدید لحظه‌ای"
182
-
183
- #: F:\Program
184
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:527
185
- msgid "Database check time"
186
- msgstr "زمان بررسی پایگاه‌داده"
187
-
188
- #: F:\Program
189
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:531
190
- msgid "Minute updates"
191
- msgstr "دقیقه به‌روز کن"
192
-
193
- #: F:\Program
194
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:534
195
- msgid "Recommended"
196
- msgstr "پیشنهاد میشود"
197
-
198
- #: F:\Program
199
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:535
200
- msgid "Due to pressure on the server, Be set up on time. Default 1 min."
201
- msgstr "به‌دلیل فشار برروی سرور، پیشنهاد می‌شود برروی زمان بالا تعیین شود. پیش‌فرض 1 دقیقه است."
202
-
203
- #: F:\Program
204
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:539
205
- msgid "Pagerank configuration"
206
- msgstr "تنظیمات رتبه‌بندی"
207
-
208
- #: F:\Program
209
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:542
210
- msgid "Your url for Google pagerank check"
211
- msgstr "آدرس شما برای بررسی رتبه‌بندی گوگل"
212
-
213
- #: F:\Program
214
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:547
215
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:557
216
- msgid "If this input is empty, The website url uses"
217
- msgstr "اگراین قسمت خالی باشد، از آدرس اصلی سایت استفاده می‌کند"
218
-
219
- #: F:\Program
220
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:552
221
- msgid "Your url for Alexa pagerank check"
222
- msgstr "آدرس شما برای بررسی رتبه‌بندی الکسا"
223
-
224
- #: F:\Program
225
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:563
226
- msgid "About plugin"
227
- msgstr "درباره‌ی افزونه"
228
-
229
- #: F:\Program
230
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:564
231
- msgid "Plugin Version"
232
- msgstr "نسخه افزونه"
233
-
234
- #: F:\Program
235
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:564
236
- msgid "Free!"
237
- msgstr "رایگان!"
238
-
239
- #: F:\Program
240
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:565
241
- msgid "Get Premium version"
242
- msgstr "دریافت نسخه‌ی ویژه"
243
-
244
- #: F:\Program
245
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:570
246
- msgid "This plugin created by"
247
- msgstr "این افزونه توسط"
248
-
249
- #: F:\Program
250
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:570
251
- msgid "from"
252
- msgstr "از گروه"
253
-
254
- #: F:\Program
255
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:570
256
- msgid "and"
257
- msgstr "و"
258
-
259
- #: F:\Program
260
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:570
261
- msgid "group"
262
- msgstr "ساخته شده‌است"
263
-
264
- #: F:\Program
265
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:571
266
- msgid "for translate language files. please send files for"
267
- msgstr "لطفا فایل‌های ترجمه را به ایمیل روبرو ارسال کنید"
268
-
269
- #: F:\Program
270
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:573
271
- msgid "Show Functions"
272
- msgstr "نمایش تابع‌ها"
273
-
274
- #: F:\Program
275
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:574
276
- msgid "Report Problem"
277
- msgstr "گزارش مشکل"
278
-
279
- #: F:\Program
280
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:586
281
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:714
282
- msgid "Today Visit"
283
- msgstr "بازدید امروز"
284
-
285
- #: F:\Program
286
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:587
287
- msgid "Yesterday visit"
288
- msgstr "بازدید دیروز"
289
-
290
- #: F:\Program
291
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:588
292
- msgid "Week Visit"
293
- msgstr "بازدید هفته"
294
-
295
- #: F:\Program
296
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:589
297
- msgid "Month Visit"
298
- msgstr "بازدید ماه"
299
-
300
- #: F:\Program
301
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:590
302
- msgid "Years Visit"
303
- msgstr "بازدید سال"
304
-
305
- #: F:\Program
306
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:591
307
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:724
308
- msgid "Total Visit"
309
- msgstr "کل بازدیدها"
310
-
311
- #: F:\Program
312
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:592
313
- msgid "Search Engine reffered"
314
- msgstr "ورودی موتورهای جستجوگر"
315
-
316
- #: F:\Program
317
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:593
318
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:729
319
- msgid "Total Posts"
320
- msgstr "کل نوشته‌ها"
321
-
322
- #: F:\Program
323
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:594
324
- msgid "Total Pages"
325
- msgstr "کل برگه‌ها"
326
-
327
- #: F:\Program
328
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:595
329
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:734
330
- msgid "Total Comments"
331
- msgstr "کل دیدگاه‌ها"
332
-
333
- #: F:\Program
334
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:596
335
- msgid "Total Spams"
336
- msgstr "کل جفنگ‌ها"
337
-
338
- #: F:\Program
339
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:597
340
- msgid "Total Users"
341
- msgstr "کل کاربرها"
342
-
343
- #: F:\Program
344
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:598
345
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:739
346
- msgid "Last Post Date"
347
- msgstr "تاریخ به‌روزشدن سایت"
348
-
349
- #: F:\Program
350
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:599
351
- msgid "Average Posts"
352
- msgstr "میانگین نوشته‌ها"
353
-
354
- #: F:\Program
355
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:600
356
- msgid "Average Comments"
357
- msgstr "میانگین دیدگاه‌ها"
358
-
359
- #: F:\Program
360
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:601
361
- msgid "Average Users"
362
- msgstr "میانگین کاربرها"
363
-
364
- #: F:\Program
365
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:602
366
- msgid "Total Feedburner Subscribe"
367
- msgstr "تعداد مشترک‌های فیدبرنر"
368
-
369
- #: F:\Program
370
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:603
371
- msgid "Google Pagerank"
372
- msgstr "رتبه گوگل"
373
-
374
- #: F:\Program
375
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:604
376
- msgid "Alexa Pagerank"
377
- msgstr "رتبه الکسا"
378
-
379
- #: F:\Program
380
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:605
381
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:615
382
- msgid "Hide"
383
- msgstr "مخفی"
384
-
385
- #: F:\Program
386
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:609
387
- msgid "Your Name"
388
- msgstr "نام شما"
389
-
390
- #: F:\Program
391
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:611
392
- msgid "Description Problem"
393
- msgstr "توضیحات مشکل"
394
-
395
- #: F:\Program
396
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:614
397
- msgid "Send Problem"
398
- msgstr "ارسال گزارش"
399
-
400
- #: F:\Program
401
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:624
402
- msgid "Update"
403
- msgstr "به‌روز رسانی"
404
-
405
- #: F:\Program
406
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:648
407
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:684
408
- msgid "No"
409
- msgstr "شماره"
410
-
411
- #: F:\Program
412
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:649
413
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:685
414
- msgid "IP"
415
- msgstr "آی‌پی"
416
-
417
- #: F:\Program
418
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:650
419
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:686
420
- msgid "Time"
421
- msgstr "زمان"
422
-
423
- #: F:\Program
424
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:651
425
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:687
426
- msgid "Referred"
427
- msgstr "هدایت شده"
428
-
429
- #: F:\Program
430
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:652
431
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:688
432
- msgid "Agent"
433
- msgstr "مشخصات مرورگر"
434
-
435
- #: F:\Program
436
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:719
437
- msgid "Yesterday Visit"
438
- msgstr "بازدید دیروز"
439
-
440
- #: F:\Program
441
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:759
442
- msgid "Name"
443
- msgstr "نام"
444
-
445
- #: F:\Program
446
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:764
447
- msgid "Type date for last update"
448
- msgstr "نوع تقویم برای آخرین به‌روزرسانی"
449
-
450
- #: F:\Program
451
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:766
452
- msgid "English"
453
- msgstr "میلادی"
454
-
455
- #: F:\Program
456
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:769
457
- msgid "Persian"
458
- msgstr "شمسی (فارسی)"
459
-
460
- #: F:\Program
461
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:779
462
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:781
463
- msgid "WP-Statistics"
464
- msgstr "آمارگیر"
465
-
466
- #: F:\Program
467
- #: Files\Apserv\AppServ\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:780
468
- msgid "Show site stats in sidebar"
469
- msgstr "نمایش آمار سایت در ابزارک"
470
-
471
- #~ msgid "User Online Live"
472
- #~ msgstr "کاربران آنلاین زنده"
473
-
474
- #~ msgid "Total Visit Live"
475
- #~ msgstr "کل بازدیدها زنده"
476
-
477
- #~ msgid "Added"
478
- #~ msgstr "مقدار"
479
-
480
- #~ msgid "value"
481
- #~ msgstr "افزوده شد"
482
-
483
- #~ msgid "Was"
484
- #~ msgstr "مقدار"
485
-
486
- #~ msgid "low value"
487
- #~ msgstr "کم شد"
488
-
489
- #~ msgid "d"
490
- #~ msgstr "ططظط"
491
-
492
- #~ msgid ""
493
- #~ "This plugin created by <a href=\"http://profile.wordpress.org/mostafa."
494
- #~ "s1990\">Mostafa Soufi</a> from <a href=\"http://wpbazar.com\">WPBazar</a> "
495
- #~ "and <a href=\"http://wp-persian.com\">WP-Persian</a> group.\n"
496
- #~ "\t\t\tfor translate language files. please send files for mst404@gmail.com"
497
- #~ msgstr "یبیبیب"
498
-
499
- #~ msgid "Your Report"
500
- #~ msgstr "گزارش شما"
501
-
502
- #~ msgid "About Author"
503
- #~ msgstr "درباره‌ی نویسنده"
504
-
505
- #~ msgid "Hide Functions"
506
- #~ msgstr "مخفی‌کردن تابع‌ها"
507
-
508
- #~ msgid "Title Widget"
509
- #~ msgstr "عنوان ابزارک"
510
-
511
- #~ msgid "Show items"
512
- #~ msgstr "نمایش عناوین"
513
-
514
- #~ msgid "Total Blog Hits: "
515
- #~ msgstr "Total Blog Hits: "
516
-
517
- #~ msgid "Summary statistics of blog"
518
- #~ msgstr "Summary statistics of blog"
519
-
520
- #~ msgid "Be set up on time"
521
- #~ msgstr "برروی زمان بالا محاسبه شود"
522
-
523
- #~ msgid "Updates to"
524
- #~ msgstr "دقیقه"
525
-
526
- #~ msgid "Live Statistics"
527
- #~ msgstr "بازدید لحظه‌ای"
528
-
529
- #~ msgid "Visitor"
530
- #~ msgstr "بازدیدکننده"
531
-
532
- #~ msgid "Ban IP"
533
- #~ msgstr "محروم کردن آی‌پی"
534
-
535
- #~ msgid "Add"
536
- #~ msgstr "افزودن"
537
-
538
- #~ msgid "Stats"
539
- #~ msgstr "آمار"
540
-
541
- #~ msgid "Enable"
542
- #~ msgstr "آمارگیر فعال شود"
543
-
544
- #~ msgid "Latest posts in wpdelicious"
545
- #~ msgstr "آخرین ارسالی های وردپرس"
546
-
547
- #~ msgid "Latest Delicious"
548
- #~ msgstr "آخرین ارسالی ها"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.2.1
7
- Stable tag: 2.0
8
 
9
  Summary statistics of blog.
10
 
@@ -109,6 +109,9 @@ a plugin for displaying Summary statistics of blog.
109
  1. Screen shot (screenshot-1.png) in WP-Statistics Setting Page
110
 
111
  == Upgrade Notice ==
 
 
 
112
  = 2.0 =
113
  * Support from Database
114
  * Added Setting Page
@@ -133,6 +136,9 @@ a plugin for displaying Summary statistics of blog.
133
  * Start plugin
134
 
135
  == Changelog ==
 
 
 
136
  = 2.0 =
137
  * Support from Database
138
  * Added Setting Page
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.2.1
7
+ Stable tag: 2.1
8
 
9
  Summary statistics of blog.
10
 
109
  1. Screen shot (screenshot-1.png) in WP-Statistics Setting Page
110
 
111
  == Upgrade Notice ==
112
+ = 2.1 =
113
+ * Edit string
114
+
115
  = 2.0 =
116
  * Support from Database
117
  * Added Setting Page
136
  * Start plugin
137
 
138
  == Changelog ==
139
+ = 2.1 =
140
+ * Edit string
141
+
142
  = 2.0 =
143
  * Support from Database
144
  * Added Setting Page
report_problem.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- require('../../../wp-blog-header.php');
3
- global $user_email;
4
- if($_REQUEST['y_name'] && $_REQUEST['d_report']) {
5
- $name = $_REQUEST['y_name'];
6
- $email = $user_email;
7
- $url = get_bloginfo('url');
8
- $subject = "Report for WP Statistics";
9
- $body0 = $_REQUEST['d_report'];
10
- $body = "Name: $name \n\n Email: $email \n\n Blog: $url \n\n Description Problem: $body0";
11
- $to = "mst404@gmail.com";
12
- $sender = get_option('blogname');
13
- $headers = "MIME-Version: 1.0\r\n";
14
- $headers = "Content-type: text/html; charset=utf-8\r\n";
15
- $headers = "From: $email \r\nX-Mailer: $sender";
16
- mail($to, $subject, $body, $headers);
17
- echo __('Thanks for your report!', 'wp_statistics');
18
- } else {
19
- _e('Error! Please Enter all field', 'wp_statistics');
20
- }
21
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
screenshot-1.png DELETED
Binary file
wp-statistics-totalvisit-live.php DELETED
@@ -1,7 +0,0 @@
1
- <?php
2
- require('../../../wp-blog-header.php');
3
- global $wpdb, $table_prefix;
4
-
5
- $count_total = $wpdb->get_var("SELECT total FROM {$table_prefix}statistics_visits");
6
- echo $count_total;
7
- ?>
 
 
 
 
 
 
 
wp-statistics-useronline-live.php DELETED
@@ -1,7 +0,0 @@
1
- <?php
2
- require('../../../wp-blog-header.php');
3
- global $wpdb, $table_prefix;
4
-
5
- $get_users = $wpdb->get_var("SELECT COUNT(ip) FROM {$table_prefix}statistics_useronline");
6
- echo $get_users;
7
- ?>
 
 
 
 
 
 
 
wp-statistics.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP-Statistics
4
  Plugin URI: http://iran98.org/category/wordpress/wp-statistics/
5
  Description: Summary statistics of blog.
6
- Version: 2.0
7
  Author: Mostafa Soufi
8
  Author URI: http://iran98.org/
9
  License: GPL2
@@ -567,7 +567,7 @@ License: GPL2
567
  </tr>
568
 
569
  <td colspan="3">
570
- <?php _e('This plugin created by', 'wp_statistics'); ?> <a href="http://profile.wordpress.org/mostafa.s1990">Mostafa Soufi</a> <?php _e('from', 'wp_statistics'); ?> <a href="http://wpbazar.com">WPBazar</a> <?php _e('and', 'wp_statistics'); ?> <a href="http://wp-persian.com">WP-Persian</a> <?php _e('group', 'wp_statistics'); ?>.
571
  <?php _e('for translate language files. please send files for', 'wp_statistics'); ?> <code>mst404@gmail.com</code>
572
  <p style="padding-top: 5px;">
573
  <span class="button" id="show_function"><?php _e('Show Functions', 'wp_statistics'); ?></span>
3
  Plugin Name: WP-Statistics
4
  Plugin URI: http://iran98.org/category/wordpress/wp-statistics/
5
  Description: Summary statistics of blog.
6
+ Version: 2.1
7
  Author: Mostafa Soufi
8
  Author URI: http://iran98.org/
9
  License: GPL2
567
  </tr>
568
 
569
  <td colspan="3">
570
+ <?php _e('This plugin created by', 'wp_statistics'); ?> <a href="http://profile.wordpress.org/mostafa.s1990">Mostafa Soufi</a> <?php _e('from', 'wp_statistics'); ?> <a href="http://wpbazar.com">WPBazar</a>.
571
  <?php _e('for translate language files. please send files for', 'wp_statistics'); ?> <code>mst404@gmail.com</code>
572
  <p style="padding-top: 5px;">
573
  <span class="button" id="show_function"><?php _e('Show Functions', 'wp_statistics'); ?></span>