WP Statistics - Version 2.1.1

Version Description

  • Complete files
Download this release

Release Info

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

Code changes from version 2.1 to 2.1.1

actions.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
Binary file
images/icon_big.png ADDED
Binary file
images/loading.gif ADDED
Binary file
include/alexa_pagerank.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
Binary file
langs/wp_statistics-fa_IR.po ADDED
@@ -0,0 +1,519 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wp-statistics\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-09-25 19:58+0330\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Mostafa <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\\wamp\\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\\wamp\\www\\wordpress\\wp-content\\plugins\\wp-statistics\n"
17
+
18
+ #: F:\Program
19
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/actions.php:7
20
+ #: Files\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/actions.php:11
26
+ msgid "Please Enter value!"
27
+ msgstr "لطفا مقداری را وارد کنید!"
28
+
29
+ #: F:\Program
30
+ #: Files\wamp\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\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:194
41
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:209
42
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:224
43
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:239
44
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:254
45
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:269
46
+ msgid "(Disable)"
47
+ msgstr "(غیرفعال)"
48
+
49
+ #: F:\Program
50
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:376
51
+ msgid "Statistics"
52
+ msgstr "آماره"
53
+
54
+ #: F:\Program
55
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:377
56
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:637
57
+ msgid "Stats weblog"
58
+ msgstr "آمار سایت"
59
+
60
+ #: F:\Program
61
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:378
62
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:585
63
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:673
64
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:709
65
+ msgid "User Online"
66
+ msgstr "کاربران حاضر"
67
+
68
+ #: F:\Program
69
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:384
70
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:635
71
+ #: Files\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:453
77
+ msgid "Configuration"
78
+ msgstr "پیکربندی"
79
+
80
+ #: F:\Program
81
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:458
82
+ msgid "Enable Statistics"
83
+ msgstr "آمارگیر فعال شود"
84
+
85
+ #: F:\Program
86
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:462
87
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:480
88
+ msgid "Yes"
89
+ msgstr "بله"
90
+
91
+ #: F:\Program
92
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:466
93
+ msgid "Statistics are disabled."
94
+ msgstr "آمارگیر فعال است."
95
+
96
+ #: F:\Program
97
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:468
98
+ msgid "Statistics are disabled!"
99
+ msgstr "آمارگیر غیرفعال است!"
100
+
101
+ #: F:\Program
102
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:473
103
+ msgid "General configuration"
104
+ msgstr "پیکربندی عمومی"
105
+
106
+ #: F:\Program
107
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:476
108
+ msgid "Show decimals number"
109
+ msgstr "نمایش اعداد به‌صورت اعشاری"
110
+
111
+ #: F:\Program
112
+ #: Files\wamp\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\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:488
123
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:529
124
+ msgid "Each"
125
+ msgstr "هر"
126
+
127
+ #: F:\Program
128
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:490
129
+ msgid "Compute min"
130
+ msgstr "دقیقه محاسبه کن"
131
+
132
+ #: F:\Program
133
+ #: Files\wamp\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\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:499
144
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:509
145
+ msgid "Done"
146
+ msgstr "انجام"
147
+
148
+ #: F:\Program
149
+ #: Files\wamp\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\wamp\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\wamp\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\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:519
170
+ msgid "Default 5"
171
+ msgstr "پیش‌فرض 5 است"
172
+
173
+ #: F:\Program
174
+ #: Files\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:524
180
+ msgid "Live Statistics configuration"
181
+ msgstr "پیکربندی بازدید لحظه‌ای"
182
+
183
+ #: F:\Program
184
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:527
185
+ msgid "Database check time"
186
+ msgstr "زمان بررسی پایگاه‌داده"
187
+
188
+ #: F:\Program
189
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:531
190
+ msgid "Minute updates"
191
+ msgstr "دقیقه به‌روز کن"
192
+
193
+ #: F:\Program
194
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:534
195
+ msgid "Recommended"
196
+ msgstr "پیشنهاد میشود"
197
+
198
+ #: F:\Program
199
+ #: Files\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:539
205
+ msgid "Pagerank configuration"
206
+ msgstr "تنظیمات رتبه‌بندی"
207
+
208
+ #: F:\Program
209
+ #: Files\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:547
215
+ #: Files\wamp\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\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:563
226
+ msgid "About plugin"
227
+ msgstr "درباره‌ی افزونه"
228
+
229
+ #: F:\Program
230
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:564
231
+ msgid "Plugin Version"
232
+ msgstr "نسخه افزونه"
233
+
234
+ #: F:\Program
235
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:564
236
+ msgid "Free!"
237
+ msgstr "رایگان!"
238
+
239
+ #: F:\Program
240
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:565
241
+ msgid "Get Premium version"
242
+ msgstr "دریافت نسخه‌ی ویژه"
243
+
244
+ #: F:\Program
245
+ #: Files\wamp\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\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:570
251
+ msgid "from"
252
+ msgstr "از گروه"
253
+
254
+ #: F:\Program
255
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:571
256
+ msgid "for translate language files. please send files for"
257
+ msgstr "لطفا فایل‌های ترجمه را به ایمیل روبرو ارسال کنید"
258
+
259
+ #: F:\Program
260
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:573
261
+ msgid "Show Functions"
262
+ msgstr "نمایش تابع‌ها"
263
+
264
+ #: F:\Program
265
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:574
266
+ msgid "Report Problem"
267
+ msgstr "گزارش مشکل"
268
+
269
+ #: F:\Program
270
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:586
271
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:714
272
+ msgid "Today Visit"
273
+ msgstr "بازدید امروز"
274
+
275
+ #: F:\Program
276
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:587
277
+ msgid "Yesterday visit"
278
+ msgstr "بازدید دیروز"
279
+
280
+ #: F:\Program
281
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:588
282
+ msgid "Week Visit"
283
+ msgstr "بازدید هفته"
284
+
285
+ #: F:\Program
286
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:589
287
+ msgid "Month Visit"
288
+ msgstr "بازدید ماه"
289
+
290
+ #: F:\Program
291
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:590
292
+ msgid "Years Visit"
293
+ msgstr "بازدید سال"
294
+
295
+ #: F:\Program
296
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:591
297
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:724
298
+ msgid "Total Visit"
299
+ msgstr "کل بازدیدها"
300
+
301
+ #: F:\Program
302
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:592
303
+ msgid "Search Engine reffered"
304
+ msgstr "ورودی موتورهای جستجوگر"
305
+
306
+ #: F:\Program
307
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:593
308
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:729
309
+ msgid "Total Posts"
310
+ msgstr "کل نوشته‌ها"
311
+
312
+ #: F:\Program
313
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:594
314
+ msgid "Total Pages"
315
+ msgstr "کل برگه‌ها"
316
+
317
+ #: F:\Program
318
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:595
319
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:734
320
+ msgid "Total Comments"
321
+ msgstr "کل دیدگاه‌ها"
322
+
323
+ #: F:\Program
324
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:596
325
+ msgid "Total Spams"
326
+ msgstr "کل جفنگ‌ها"
327
+
328
+ #: F:\Program
329
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:597
330
+ msgid "Total Users"
331
+ msgstr "کل کاربرها"
332
+
333
+ #: F:\Program
334
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:598
335
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:739
336
+ msgid "Last Post Date"
337
+ msgstr "تاریخ به‌روزشدن سایت"
338
+
339
+ #: F:\Program
340
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:599
341
+ msgid "Average Posts"
342
+ msgstr "میانگین نوشته‌ها"
343
+
344
+ #: F:\Program
345
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:600
346
+ msgid "Average Comments"
347
+ msgstr "میانگین دیدگاه‌ها"
348
+
349
+ #: F:\Program
350
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:601
351
+ msgid "Average Users"
352
+ msgstr "میانگین کاربرها"
353
+
354
+ #: F:\Program
355
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:602
356
+ msgid "Total Feedburner Subscribe"
357
+ msgstr "تعداد مشترک‌های فیدبرنر"
358
+
359
+ #: F:\Program
360
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:603
361
+ msgid "Google Pagerank"
362
+ msgstr "رتبه گوگل"
363
+
364
+ #: F:\Program
365
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:604
366
+ msgid "Alexa Pagerank"
367
+ msgstr "رتبه الکسا"
368
+
369
+ #: F:\Program
370
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:605
371
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:615
372
+ msgid "Hide"
373
+ msgstr "مخفی"
374
+
375
+ #: F:\Program
376
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:609
377
+ msgid "Your Name"
378
+ msgstr "نام شما"
379
+
380
+ #: F:\Program
381
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:611
382
+ msgid "Description Problem"
383
+ msgstr "توضیحات مشکل"
384
+
385
+ #: F:\Program
386
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:614
387
+ msgid "Send Problem"
388
+ msgstr "ارسال گزارش"
389
+
390
+ #: F:\Program
391
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:624
392
+ msgid "Update"
393
+ msgstr "به‌روز رسانی"
394
+
395
+ #: F:\Program
396
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:648
397
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:684
398
+ msgid "No"
399
+ msgstr "شماره"
400
+
401
+ #: F:\Program
402
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:649
403
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:685
404
+ msgid "IP"
405
+ msgstr "آی‌پی"
406
+
407
+ #: F:\Program
408
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:650
409
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:686
410
+ msgid "Time"
411
+ msgstr "زمان"
412
+
413
+ #: F:\Program
414
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:651
415
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:687
416
+ msgid "Referred"
417
+ msgstr "هدایت شده"
418
+
419
+ #: F:\Program
420
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:652
421
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:688
422
+ msgid "Agent"
423
+ msgstr "مشخصات مرورگر"
424
+
425
+ #: F:\Program
426
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:719
427
+ msgid "Yesterday Visit"
428
+ msgstr "بازدید دیروز"
429
+
430
+ #: F:\Program
431
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:759
432
+ msgid "Name"
433
+ msgstr "نام"
434
+
435
+ #: F:\Program
436
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:764
437
+ msgid "Type date for last update"
438
+ msgstr "نوع تقویم برای آخرین به‌روزرسانی"
439
+
440
+ #: F:\Program
441
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:766
442
+ msgid "English"
443
+ msgstr "میلادی"
444
+
445
+ #: F:\Program
446
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:769
447
+ msgid "Persian"
448
+ msgstr "شمسی (فارسی)"
449
+
450
+ #: F:\Program
451
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:798
452
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:800
453
+ msgid "WP-Statistics"
454
+ msgstr "آمارگیر"
455
+
456
+ #: F:\Program
457
+ #: Files\wamp\www\wordpress\wp-content\plugins\wp-statistics/wp-statistics.php:799
458
+ msgid "Show site stats in sidebar"
459
+ msgstr "نمایش آمار سایت در ابزارک"
460
+
461
+ #~ msgid "and"
462
+ #~ msgstr "و"
463
+ #~ msgid "group"
464
+ #~ msgstr "ساخته شده‌است"
465
+ #~ msgid "User Online Live"
466
+ #~ msgstr "کاربران آنلاین زنده"
467
+ #~ msgid "Total Visit Live"
468
+ #~ msgstr "کل بازدیدها زنده"
469
+ #~ msgid "Added"
470
+ #~ msgstr "مقدار"
471
+ #~ msgid "value"
472
+ #~ msgstr "افزوده شد"
473
+ #~ msgid "Was"
474
+ #~ msgstr "مقدار"
475
+ #~ msgid "low value"
476
+ #~ msgstr "کم شد"
477
+ #~ msgid "d"
478
+ #~ msgstr "ططظط"
479
+ #~ msgid ""
480
+ #~ "This plugin created by <a href=\"http://profile.wordpress.org/mostafa."
481
+ #~ "s1990\">Mostafa Soufi</a> from <a href=\"http://wpbazar.com\">WPBazar</a> "
482
+ #~ "and <a href=\"http://wp-persian.com\">WP-Persian</a> group.\n"
483
+ #~ "\t\t\tfor translate language files. please send files for mst404@gmail.com"
484
+ #~ msgstr "یبیبیب"
485
+ #~ msgid "Your Report"
486
+ #~ msgstr "گزارش شما"
487
+ #~ msgid "About Author"
488
+ #~ msgstr "درباره‌ی نویسنده"
489
+ #~ msgid "Hide Functions"
490
+ #~ msgstr "مخفی‌کردن تابع‌ها"
491
+ #~ msgid "Title Widget"
492
+ #~ msgstr "عنوان ابزارک"
493
+ #~ msgid "Show items"
494
+ #~ msgstr "نمایش عناوین"
495
+ #~ msgid "Total Blog Hits: "
496
+ #~ msgstr "Total Blog Hits: "
497
+ #~ msgid "Summary statistics of blog"
498
+ #~ msgstr "Summary statistics of blog"
499
+ #~ msgid "Be set up on time"
500
+ #~ msgstr "برروی زمان بالا محاسبه شود"
501
+ #~ msgid "Updates to"
502
+ #~ msgstr "دقیقه"
503
+ #~ msgid "Live Statistics"
504
+ #~ msgstr "بازدید لحظه‌ای"
505
+ #~ msgid "Visitor"
506
+ #~ msgstr "بازدیدکننده"
507
+ #~ msgid "Ban IP"
508
+ #~ msgstr "محروم کردن آی‌پی"
509
+ #~ msgid "Add"
510
+ #~ msgstr "افزودن"
511
+ #~ msgid "Stats"
512
+ #~ msgstr "آمار"
513
+ #~ msgid "Enable"
514
+ #~ msgstr "آمارگیر فعال شود"
515
+ #~ msgid "Latest posts in wpdelicious"
516
+ #~ msgstr "آخرین ارسالی های وردپرس"
517
+ #~ msgid "Latest Delicious"
518
+ #~ msgstr "آخرین ارسالی ها"
519
+
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.1
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.1 =
113
  * Edit string
114
 
@@ -136,6 +139,9 @@ a plugin for displaying Summary statistics of blog.
136
  * Start plugin
137
 
138
  == Changelog ==
 
 
 
139
  = 2.1 =
140
  * Edit string
141
 
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.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.1 =
113
+ * Complete files
114
+
115
  = 2.1 =
116
  * Edit string
117
 
139
  * Start plugin
140
 
141
  == Changelog ==
142
+ = 2.1.1 =
143
+ * Complete files
144
+
145
  = 2.1 =
146
  * Edit string
147
 
report_problem.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
Binary file
wp-statistics-totalvisit-live.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
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.1
7
  Author: Mostafa Soufi
8
  Author URI: http://iran98.org/
9
  License: GPL2
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.1
7
  Author: Mostafa Soufi
8
  Author URI: http://iran98.org/
9
  License: GPL2