Page Visit Counter - Version 2.0.4

Version Description

Automatic updates should work great for you. As always, though, we recommend backing up your site prior to making any updates just to be sure nothing goes wrong.

Download this release

Release Info

Developer dots
Plugin Icon 128x128 Page Visit Counter
Version 2.0.4
Comparing to
See all releases

Code changes from version 2.0.3 to 2.0.4

README.txt CHANGED
@@ -4,7 +4,7 @@ Plugin URI: http://multidots.com/
4
  Author: Multidots
5
  Author URI: http://multidots.com/
6
  Contributors: dots
7
- Stable tag: 2.0.3
8
  Tags: page counter,page visit
9
  Requires at least: 2.1
10
  Tested up to: 4.4.2
@@ -25,10 +25,12 @@ This Plugin use for front side post and pages counter. After activation of plugi
25
  * Exclude IPs (Ip Address): Enter the IP addresses which you want to be excluded from post views count.
26
  * Exclude Users: Select users from your project/system to be excluded from post view count.
27
  * Show front view counter: Check the box if you want to display counter view on front end.
 
28
 
29
 
30
  = Page Visit Counter: =
31
  In this option you can see all pages listing within Page ID, Page Title and Total Count. It will display all pages of your site. If you excluded particular post type from page visit counter then also it will display that post type, posts pages on table but it will not count those pages and "total count" will be "0" for excluded post type, post pages.
 
32
  * Search facility: This provides you the extra facility to search pages by title and search page by its crated date.
33
 
34
  = Example: =
@@ -37,8 +39,23 @@ In this option you can see all pages listing within Page ID, Page Title and Tota
37
  3. If you want that pages visit/hits from Specific IP not include in page counter then you can add that Specific id to "Exclude IPs (Ip Address)" on setting of page counter and then page request comes from that Specific IP is not included in page visit counter.
38
  4. If you want that specific hits/visits of pages comes from register users of your site that is not include in page counter then you can add name of that Specific register user of your site on "Exclude Users" and then page request comes from that Specific register user is not included in page visit counter.
39
 
 
 
 
 
 
 
 
 
 
 
 
40
  We always welcome user suggestions. Let us know what you think about this plugin you liked or may have disliked. User’s feedback is important for us to improve more our plugins.
41
 
 
 
 
 
42
  == Installation ==
43
 
44
  = Minimum Requirements =
@@ -113,4 +130,10 @@ Automatic updates should work great for you. As always, though, we recommend ba
113
  * Fixies - PHP error notice handled.
114
  * Fixies - Set the global visible NO to display counter view on front end.
115
 
 
 
 
 
 
 
116
 
4
  Author: Multidots
5
  Author URI: http://multidots.com/
6
  Contributors: dots
7
+ Stable tag: 2.0.4
8
  Tags: page counter,page visit
9
  Requires at least: 2.1
10
  Tested up to: 4.4.2
25
  * Exclude IPs (Ip Address): Enter the IP addresses which you want to be excluded from post views count.
26
  * Exclude Users: Select users from your project/system to be excluded from post view count.
27
  * Show front view counter: Check the box if you want to display counter view on front end.
28
+ * Choose color for the front end view: select color from color picker to choose the color for display visit pages text on front side as well as in the shortcode.
29
 
30
 
31
  = Page Visit Counter: =
32
  In this option you can see all pages listing within Page ID, Page Title and Total Count. It will display all pages of your site. If you excluded particular post type from page visit counter then also it will display that post type, posts pages on table but it will not count those pages and "total count" will be "0" for excluded post type, post pages.
33
+
34
  * Search facility: This provides you the extra facility to search pages by title and search page by its crated date.
35
 
36
  = Example: =
39
  3. If you want that pages visit/hits from Specific IP not include in page counter then you can add that Specific id to "Exclude IPs (Ip Address)" on setting of page counter and then page request comes from that Specific IP is not included in page visit counter.
40
  4. If you want that specific hits/visits of pages comes from register users of your site that is not include in page counter then you can add name of that Specific register user of your site on "Exclude Users" and then page request comes from that Specific register user is not included in page visit counter.
41
 
42
+ = Localization: =
43
+ * Croation
44
+ * French
45
+ * Hebrew
46
+ * Italian
47
+ * Polish
48
+ * Russian
49
+ * Spanish
50
+ * Dutch
51
+ * Indonesian
52
+
53
  We always welcome user suggestions. Let us know what you think about this plugin you liked or may have disliked. User’s feedback is important for us to improve more our plugins.
54
 
55
+ = You can check our other plugin: =
56
+
57
+ 1. <a href ="http://codecanyon.net/item/advance-menu-manager/15275037?s_rank=1">Advance Menu Manager</a>
58
+
59
  == Installation ==
60
 
61
  = Minimum Requirements =
130
  * Fixies - PHP error notice handled.
131
  * Fixies - Set the global visible NO to display counter view on front end.
132
 
133
+ = 2.0.4 - 17.03.2016 =
134
+ * Fixies - PHP error notice handled.
135
+ * New - Added social sharing on Facebbok, Twitter and Google plus for the admin in backend.
136
+ * New - Added color options to choose the color for display visit pages text on front side as well as in the shortcode.
137
+ * New - Added different 9(nine) languages all are supported wordpress.
138
+
139
 
admin/class-page-visit-counter-admin.php CHANGED
@@ -76,7 +76,8 @@ class page_visit_counter_Admin {
76
  wp_enqueue_style('datatable-style', plugin_dir_url( __FILE__ ) . 'css/jquery.dataTables.css');
77
  wp_enqueue_style('jquery-style', plugin_dir_url( __FILE__ ) . 'css/jquery-ui.css');
78
  wp_enqueue_style('chosen-style', plugin_dir_url( __FILE__ ) . 'css/chosen.css');
79
-
 
80
  }
81
 
82
  /**
@@ -105,6 +106,13 @@ class page_visit_counter_Admin {
105
  wp_enqueue_script('chosen-jquery', plugin_dir_url( __FILE__ ) . 'js/chosen.jquery.js', array( 'jquery' ), $this->version, false );
106
  wp_enqueue_script('chosen-proto', plugin_dir_url( __FILE__ ) . 'js/chosen.proto.js', array( 'jquery' ), $this->version, false );
107
 
 
 
 
 
 
 
 
108
  wp_localize_script( 'one', 'pagevisit', array('ajaxurl' => admin_url( 'admin-ajax.php')));
109
 
110
  $fetchSelecetedPostTypes = get_option('wfap_post_type');
@@ -128,8 +136,8 @@ class page_visit_counter_Admin {
128
  *
129
  */
130
  public function page_visit_counter_menu() {
131
- add_menu_page( 'Page-Visit-Counter','PageVisitCounter', 'manage_options','page_visit_counter', 'extra_page_visit_function_custom',plugins_url('page-visit-counter/admin/images/icon.png'));
132
- add_submenu_page('page_visit_counter','Counter-Settings','Settings','manage_options','page_visit_settings','custom_page_visit_settings');
133
  /**
134
  * extra_page_visit_function_custom use the menu callback function
135
  * $name pass the arguments
@@ -139,7 +147,7 @@ class page_visit_counter_Admin {
139
  $table_name = $wpdb->prefix."page_visit";
140
  $html ='';
141
  $html .='<div class="main-page-visit">';
142
- $html .='<div class="page-title"><h1>Page Visit Counter</h1></div>';
143
  $temp = array();
144
 
145
  $postperpage = -1;
@@ -164,17 +172,18 @@ class page_visit_counter_Admin {
164
 
165
  $html .='<div class="page-input-text">';
166
  $html .='<form method="POST">';
167
- $html .='<input type="text" name="pagesearchtext" id="page-search-text" placeholder="Search by page title"><input type="text" id="MyDate" class="pagedateselect" name="MyDate" value="" placeholder="Search by page date"/><a href="javascript:void(0);" id="search-submit" class="button">Search Page</a>';
168
  $html .='</form>';
169
  $html .='</div>';
170
  $html .='<div class="page-visit-summery">';
171
  $html .='<table id="example" class="display" cellpadding="0" cellspacing="0">
172
  <thead>
173
  <tr>
174
- <th width="10%">No</th>
175
- <th width="10%">Page ID</th>
176
- <th>Page Title</th>
177
- <th width="20%">Total Count</th>
 
178
  </tr></thead><tbody>';
179
 
180
  $counter = 0;
@@ -184,27 +193,54 @@ class page_visit_counter_Admin {
184
  $html .='<tr>';
185
  $html .='<td>'.$counter.'</td>';
186
  $html .='<td>'.$results->ID.'</td>';
187
- $html .='<td><a href="'.get_admin_url().'post.php?post='.$results->ID.'&action=edit">'.$results->post_title.'</a></td>';
188
 
189
  $pageCount = $wpdb->get_results("SELECT SUM(page_visit) as total FROM $table_name WHERE `page_id` = $results->ID");
190
 
191
  $total = (int) $pageCount[0]->total;
192
-
193
-
194
  $html .='<td>'.$total.'</td>';
 
 
 
 
195
  $html .='</tr>';
196
  }
197
  }
198
  $html .='</tbody><tfoot>
199
  <tr>
200
- <th width="10%">No</th>
201
- <th width="10%">Page ID</th>
202
- <th>Page Title</th>
203
- <th width="20%">Total Count</th>
 
204
  </tr></tfoot><tbody></table>';
205
  $html .='</div>';
206
  $html .='</div>';
207
- echo $html;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  }
209
  /**
210
  * function use to page settings
@@ -222,12 +258,17 @@ class page_visit_counter_Admin {
222
  $post = json_decode(get_option('wfap_post_type'));
223
  $post_list = $post;
224
 
 
 
 
 
 
 
225
 
226
 
227
  $html ='';
228
  $html .='<div class="main-page-visit-settings">';
229
- $html .='<div class="page-title-settings"><h1>Page Counter Settings</h1></div>';
230
-
231
  $html .='<div class="page-settings-summery">';
232
  $html .='<form method="POST">';
233
  $get_option_value = json_decode(get_option( 'page_count_settings' ));
@@ -235,9 +276,9 @@ class page_visit_counter_Admin {
235
  $select_values = isset($get_option_value[0] ) ? $get_option_value[0] : array();
236
  $html .='<table border="0" cellpadding="10" cellspacing="0">';
237
  $html .='<tr>
238
- <td>Post Type</td>
239
  <td>
240
- <select id="post_type" data-placeholder="Add Page/Post Type" name="post_ty[]" multiple="true" class="chosen-select-post category-select chosen-rtl validate_field1">
241
  <option value=""></option>';
242
  if (isset($post_types) && !empty($post_types)) {
243
  foreach ($post_types as $cpost) {
@@ -246,13 +287,13 @@ class page_visit_counter_Admin {
246
  }
247
  }
248
  }
249
- $html .='</select><span class="information">(Select post types for which post views will be counted.)<br>(<b>Note: If you leave the blank then it will count for all the post/page registered in your theme.</b>)</span>
250
  </td>';
251
  $html .='</tr>';
252
  $html .='<tr class="ipaddress">
253
- <td>Exclude IPs (Ip Address)</td>
254
  <td>
255
- <select id="ip_address" data-placeholder="Add IP Address in comma seprated" name="ip-basic[]" multiple="true" class="chosen-select-ip category-select chosen-rtl validate_field1">
256
  <option value=""></option>';
257
  $get_option_value_ip = json_decode(get_option( 'ipaddress_visit' ));
258
  if (isset($get_option_value_ip) && !empty($get_option_value_ip)) {
@@ -260,14 +301,14 @@ class page_visit_counter_Admin {
260
  $html .='<option value="'.$ip.'">'.$ip.'</option>';
261
  }
262
  }
263
- $html .='</select><span class="information">(Enter the IP addresses to be excluded from post views count.)</span>
264
  </td>';
265
  $html .='</tr>';
266
  $html .='<tr>';
267
  $html .='<tr class="users">
268
- <td>Exclude Users</td>
269
  <td>
270
- <select id="users_list" data-placeholder="Select Registerd Users" name="user-basic[]" multiple="true" class="chosen-select category-select chosen-rtl validate_field1">
271
  <option value=""></option>';
272
  $query = "SELECT * FROM $wpdb->users";
273
  $resultSetsArr = $wpdb->get_results($query);
@@ -276,30 +317,46 @@ class page_visit_counter_Admin {
276
  $html .='<option value="'.$value->ID.'">'.$value->user_email.'</option>';
277
  }
278
  }
279
- $html .='</select><span class="information">(Select the users to be excluded from post views count.)</span>
280
  </td>';
281
  $html .='</tr>';
282
  $html .='<tr class="hidefront">';
283
- $html .='<td>Show front view counter</td>';
284
  $hide_show_option = get_option('counter_hide_show_front_vew');
285
  if($hide_show_option == 1){
286
  $cheked = 'checked';
287
  } else {
288
  $cheked = '';
289
  }
290
- $html .='<td class="information"><input type="checkbox" name="hidefrontview" id="hide_front_view" '.$cheked.' >Check the box if you want to display counter view on front end.</td>';
 
 
 
 
291
  $html .='</tr>';
 
 
 
 
 
 
 
 
 
 
 
 
292
  $html .='<tr>';
293
- $html .='<td><input type="button" name="submit" class="pagecountsubmit button" value="Save"></td>';
294
- $html .='<td class="record-mesage"></td>';
295
  $html .='</tr>';
296
  $html .='<table>';
297
  $html .='</form>';
298
  $html .='<div style="float:left;width:100%">
299
- <h2>Short Code</h2>
300
- <p> There are two shortcodes that you can use to manually add page view count to any content on admin or post/page template created by your theme or plugin thats create it\'s own display content in page/post.</p>
301
- <p style="width: 28%;float: left;">Use this shortcode to add admin side content on page/post:<pre style="margin-top: 14px;float: left;">'.htmlspecialchars('[page_visit_counter_md id="<page_id/post_id>"]').'</pre><br></p>
302
- <p style="width: 28%;float: left;clear:both;">Use this shortcode to add page/post template (.php) file of your own template:<pre style="margin-top: 14px;float: left;">'.htmlspecialchars('<?php echo do_shortcode("[page_visit_counter_md id="<page_id/post_id>"]"); ?>').'</pre></p>
303
  </div>';
304
  $html .='</div>';
305
  $html .="<br>";
@@ -315,7 +372,7 @@ class page_visit_counter_Admin {
315
  */
316
  function my_custom_dashboard_widgets() {
317
  global $wp_meta_boxes;
318
- wp_add_dashboard_widget('custom_help_widget', 'Most Visited Page', 'custom_dashboard_help');
319
  function custom_dashboard_help() {
320
  global $wpdb;
321
  $table_name = $wpdb->prefix."page_visit";
@@ -325,16 +382,16 @@ class page_visit_counter_Admin {
325
  if (!empty($count_visit) && isset($count_visit)) {
326
  $html .='<table border="0" cellpadding="5" cellspacing="10">';
327
  $html .='<tr>';
328
- $html .='<th>Page id</th>';
329
- $html .='<th>Page Name</th>';
330
- $html .='<th>Total Count</th>';
331
  $html .='</tr>';
332
 
333
  foreach ($count_visit as $visitpage ){
334
  $page = get_post($visitpage->page_id);
335
  $html .='<tr>';
336
  $html .='<td>'.$page->ID.'</td>';
337
- $html .='<td><a href="'.get_admin_url().'post.php?post='.$page->ID.'&action=edit">'.$page->post_title.'</a></td>';
338
  $html .='<td>'.$visitpage->c.'</td>';
339
  $html .='</tr>';
340
  }
@@ -360,7 +417,12 @@ class page_visit_counter_Admin {
360
  $type = isset($_POST['selected_posttype']) ? $_POST['selected_posttype'] : '';
361
  $ipAddress = isset($_POST['ipaddress']) ? $_POST['ipaddress'] : '';
362
  $userList = isset($_POST['userlist']) ? $_POST['userlist'] : '';
363
- $hidefrontview = isset($_POST['hidefrontview']) ? $_POST['hidefrontview'] :'';
 
 
 
 
 
364
 
365
  delete_option('wfap_post_type');
366
  if (isset($type) && $type != null) {
@@ -376,10 +438,27 @@ class page_visit_counter_Admin {
376
  if (isset($userList) && $userList != null) {
377
  update_option('userlist_visit',json_encode(array_values($userList)));
378
  }
 
379
  if( isset($hidefrontview) && $hidefrontview != null ){
380
  update_option('counter_hide_show_front_vew',$hidefrontview);
381
  }
382
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
383
  echo $type;
384
 
385
  die();
@@ -401,10 +480,10 @@ class page_visit_counter_Admin {
401
  $html .='<table id="example" class="display" cellpadding="0" cellspacing="0">
402
  <thead>
403
  <tr>
404
- <th width="10%">No</th>
405
- <th width="10%">Page ID</th>
406
- <th>Page Title</th>
407
- <th width="20%">Total Count</th>
408
  </tr>
409
  </thead>
410
  <tbody>';
@@ -431,7 +510,7 @@ class page_visit_counter_Admin {
431
  $html .='<tr>';
432
  $html .='<td>'.$counter.'</td>';
433
  $html .='<td>'.$results->ID.'</td>';
434
- $html .='<td><a href="'.get_admin_url().'post.php?post='.$results->ID.'&action=edit">'.$results->post_title.'</a></td>';
435
  $count_visit = $wpdb->get_results("SELECT SUM(page_visit) as page_visit from $table_name where page_id ='".$results->ID."'");
436
  $count = 0;
437
  foreach ( $count_visit as $countval){
@@ -448,10 +527,10 @@ class page_visit_counter_Admin {
448
  }
449
  $html .='</tbody>
450
  <tfoot><tr>
451
- <th width="10%">No</th>
452
- <th width="10%">Page ID</th>
453
- <th>Page Title</th>
454
- <th width="20%">Total Count</th>
455
  </tr></tfoot></table>';
456
  echo $html;
457
  } else {
@@ -471,7 +550,6 @@ class page_visit_counter_Admin {
471
  }
472
  $clean = rtrim($string," AND ");
473
  $querySet = "SELECT DISTINCT wposts.* FROM $table_post wposts INNER JOIN $table_name ON (wposts.ID = $table_name.page_id) WHERE $clean";
474
- //$querySet = "SELECT DISTINCT wposts.* FROM $table_post wposts WHERE $clean AND post_status='publish'";
475
  $dataquery =$wpdb->get_results($querySet);
476
  if(empty( $dataquery ) || $dataquery == ''){
477
  $QUERY = "SELECT * from $table_post where post_title LIKE '$page_title%' AND post_status='publish'";
@@ -479,10 +557,10 @@ class page_visit_counter_Admin {
479
  $html .='<table id="example" class="display" cellpadding="0" cellspacing="0">
480
  <thead>
481
  <tr>
482
- <th width="10%">No</th>
483
- <th width="10%">Page ID</th>
484
- <th>Page Title</th>
485
- <th width="20%">Total Count</th>
486
  </tr></thead><tbody>';
487
  $counter = 0;
488
  foreach ( $notvisit as $results ){
@@ -490,26 +568,26 @@ class page_visit_counter_Admin {
490
  $html .='<tr>';
491
  $html .='<td>'.$counter.'</td>';
492
  $html .='<td>'.$results->ID.'</td>';
493
- $html .='<td><a href="'.get_admin_url().'post.php?post='.$results->ID.'&action=edit">'.$results->post_title.'</a></td>';
494
  $html .='<td> 0 </td>';
495
  $html .='</tr>';
496
  }
497
  $html .='</tbody><tfoot>
498
  <tr>
499
- <th width="10%">No</th>
500
- <th width="10%">Page ID</th>
501
- <th>Page Title</th>
502
- <th width="20%">Total Count</th>
503
  </tr></tfoot></table>';
504
  echo $html;
505
  }else if( $dataquery != '' ){
506
  $html .='<table id="example" class="display" cellpadding="0" cellspacing="0">
507
  <thead>
508
  <tr>
509
- <th width="10%">No</th>
510
- <th width="10%">Page ID</th>
511
- <th>Page Title</th>
512
- <th width="20%">Total Count</th>
513
  </tr></thead><tbody>';
514
  $counter = 0;
515
  foreach ( $dataquery as $results ){
@@ -517,7 +595,7 @@ class page_visit_counter_Admin {
517
  $html .='<tr>';
518
  $html .='<td>'.$counter.'</td>';
519
  $html .='<td>'.$results->ID.'</td>';
520
- $html .='<td><a href="'.get_admin_url().'post.php?post='.$results->ID.'&action=edit">'.$results->post_title.'</a></td>';
521
  $str ='';
522
  if( $page_title != '' ){
523
  if( $page_date != '' ){
@@ -553,10 +631,10 @@ class page_visit_counter_Admin {
553
  }
554
  $html .='</tbody><tfoot>
555
  <tr>
556
- <th width="10%">No</th>
557
- <th width="10%">Page ID</th>
558
- <th>Page Title</th>
559
- <th width="20%">Total Count</th>
560
  </tr></tfoot</table>';
561
  echo $html;
562
  }
@@ -615,16 +693,16 @@ class page_visit_counter_Admin {
615
  $total = (int) $pageCount[0]->total;
616
  ?>
617
  <input name="pageidvisit" type="hidden" value="<?php echo $post_id; ?>">
618
- <p>Do you want to enable page visits count for this page?</p>
619
  <p>
620
  <?php if ($facebook_auto == '') { ?>
621
- <input type="radio" checked ="checked" name="autoupdate_page_visit" id="autoupdate_page1" value="yes"> Yes
622
- <input type="radio" name="autoupdate_page_visit" id="autoupdate_page2" value="no">No</p>
623
  <?php } else { ?>
624
  <input type="radio" <?php if($facebook_auto=='yes'){ ?> checked ="checked" <?php } ?> name="autoupdate_page_visit" id="autoupdate_page1" value="yes"> Yes
625
  <input type="radio" <?php if($facebook_auto=='no'){ ?> checked ="checked" <?php } ?> name="autoupdate_page_visit" id="autoupdate_page2" value="no">No</p><?php
626
  } ?>
627
- <p>Total visits: <?php echo $total; ?></p>
628
  <?php
629
  }
630
  }
@@ -634,20 +712,46 @@ class page_visit_counter_Admin {
634
  function save_custom_meta_box_page_visit($post_id) {
635
  global $wp, $wpdb, $post;
636
 
637
- if(!current_user_can("edit_post", $post->ID)) {
638
- return $post->ID;
639
  }
640
 
641
  if(defined("DOING_AUTOSAVE") && DOING_AUTOSAVE) {
642
- return $post->ID;
643
  }
644
 
645
  if(isset($_POST["autoupdate_page_visit"]))
646
  {
647
- update_post_meta($post->ID, "get_page_count",$_POST["autoupdate_page_visit"]);
648
  }
649
 
650
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
651
 
652
  }
653
 
76
  wp_enqueue_style('datatable-style', plugin_dir_url( __FILE__ ) . 'css/jquery.dataTables.css');
77
  wp_enqueue_style('jquery-style', plugin_dir_url( __FILE__ ) . 'css/jquery-ui.css');
78
  wp_enqueue_style('chosen-style', plugin_dir_url( __FILE__ ) . 'css/chosen.css');
79
+ //wp_enqueue_style('color-picker', plugin_dir_url( __FILE__ ) . 'css/color-picker.min.css');
80
+ wp_enqueue_style( 'wp-color-picker' );
81
  }
82
 
83
  /**
106
  wp_enqueue_script('chosen-jquery', plugin_dir_url( __FILE__ ) . 'js/chosen.jquery.js', array( 'jquery' ), $this->version, false );
107
  wp_enqueue_script('chosen-proto', plugin_dir_url( __FILE__ ) . 'js/chosen.proto.js', array( 'jquery' ), $this->version, false );
108
 
109
+ //wp_enqueue_script('color-picker', plugin_dir_url( __FILE__ ) . 'js/color-picker.min.js', array( 'jquery' ), $this->version, false );
110
+ wp_enqueue_script('iris', admin_url('js/iris.min.js'),array('jquery-ui-draggable', 'jquery-ui-slider', 'jquery-touch-punch'), false, 1);
111
+ wp_enqueue_script('wp-color-picker', admin_url('js/color-picker.min.js'), array('iris'), false,1);
112
+
113
+ $colorpicker_l10n = array('clear' => __('Clear'), 'defaultString' => __('Default'), 'pick' => __('Select Color'));
114
+ wp_localize_script( 'wp-color-picker', 'wpColorPickerL10n', $colorpicker_l10n );
115
+
116
  wp_localize_script( 'one', 'pagevisit', array('ajaxurl' => admin_url( 'admin-ajax.php')));
117
 
118
  $fetchSelecetedPostTypes = get_option('wfap_post_type');
136
  *
137
  */
138
  public function page_visit_counter_menu() {
139
+ add_menu_page( __('Page-Visit-Counter','page-visit-counter'),__('PageVisitCounter','page-visit-counter'), 'manage_options','page_visit_counter', 'extra_page_visit_function_custom',plugins_url('page-visit-counter/admin/images/icon.png'));
140
+ add_submenu_page('page_visit_counter',__('Counter-Settings','page-visit-counter'),__('Settings','page-visit-counter'),'manage_options','page_visit_settings','custom_page_visit_settings');
141
  /**
142
  * extra_page_visit_function_custom use the menu callback function
143
  * $name pass the arguments
147
  $table_name = $wpdb->prefix."page_visit";
148
  $html ='';
149
  $html .='<div class="main-page-visit">';
150
+ $html .='<div class="page-title"><h1>'.__('Page Visit Counter', 'page-visit-counter').'</h1></div>';
151
  $temp = array();
152
 
153
  $postperpage = -1;
172
 
173
  $html .='<div class="page-input-text">';
174
  $html .='<form method="POST">';
175
+ $html .='<input type="text" name="pagesearchtext" id="page-search-text" placeholder="'.__('Search by page title', 'page-visit-counter').'"><input type="text" id="MyDate" class="pagedateselect" name="MyDate" value="" placeholder="'.__('Search by page date', 'page-visit-counter').'"/><a href="javascript:void(0);" id="search-submit" class="button">'.__('Search Page', 'page-visit-counter').'</a>';
176
  $html .='</form>';
177
  $html .='</div>';
178
  $html .='<div class="page-visit-summery">';
179
  $html .='<table id="example" class="display" cellpadding="0" cellspacing="0">
180
  <thead>
181
  <tr>
182
+ <th width="10%">'.__('No', 'page-visit-counter').'</th>
183
+ <th width="10%">'.__('Page ID', 'page-visit-counter').'</th>
184
+ <th>'.__('Page Title', 'page-visit-counter').'</th>
185
+ <th width="20%">'.__('Total Count', 'page-visit-counter').'</th>
186
+ <th width="20%">'.__('Share', 'page-visit-counter').'</th>
187
  </tr></thead><tbody>';
188
 
189
  $counter = 0;
193
  $html .='<tr>';
194
  $html .='<td>'.$counter.'</td>';
195
  $html .='<td>'.$results->ID.'</td>';
196
+ $html .='<td><a href="'.get_admin_url().'post.php?post='.$results->ID.'&action=edit">'.__($results->post_title,'page-visit-counter').'</a></td>';
197
 
198
  $pageCount = $wpdb->get_results("SELECT SUM(page_visit) as total FROM $table_name WHERE `page_id` = $results->ID");
199
 
200
  $total = (int) $pageCount[0]->total;
201
+ $site_title = get_bloginfo( 'name' );
202
+ $page_social_content = $results->post_title.' - Total Visits '.$total.' - '.$site_title;
203
  $html .='<td>'.$total.'</td>';
204
+ $html .='<td>
205
+ <a target="_blank" style="margin-right: 5px;" href="https://www.facebook.com/sharer/sharer.php?u='.esc_url( get_permalink($results->ID) ).'"><img src="' . plugins_url( 'images/Facebook.png', dirname(__FILE__) ) . '" /></a>
206
+ <a target="_blank" style="margin-right: 5px;" href="https://twitter.com/intent/tweet?text='.$page_social_content.'&url='.esc_url( get_permalink($results->ID) ).'"><img src="' . plugins_url( 'images/twitter.png', dirname(__FILE__) ) . '" /></a>
207
+ <a target="_blank" href="https://plus.google.com/share?url='.esc_url( get_permalink($results->ID) ).'"><img src="' . plugins_url( 'images/Google_Plus.png', dirname(__FILE__) ) . '" /></a></td>';
208
  $html .='</tr>';
209
  }
210
  }
211
  $html .='</tbody><tfoot>
212
  <tr>
213
+ <th width="10%">'.__('No', 'page-visit-counter').'</th>
214
+ <th width="10%">'.__('Page ID', 'page-visit-counter').'</th>
215
+ <th>'.__('Page Title', 'page-visit-counter', 'page-visit-counter').'</th>
216
+ <th width="20%">'.__('Total Count', 'page-visit-counter').'</th>
217
+ <th width="20%">'.__('Share', 'page-visit-counter').'</th>
218
  </tr></tfoot><tbody></table>';
219
  $html .='</div>';
220
  $html .='</div>';
221
+ echo $html; ?>
222
+ <!-- Twitter -->
223
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
224
+
225
+ <!-- Facebook -->
226
+ <script>(function(d, s, id) {
227
+ var js, fjs = d.getElementsByTagName(s)[0];
228
+ if (d.getElementById(id)) return;
229
+ js = d.createElement(s); js.id = id;
230
+ js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
231
+ fjs.parentNode.insertBefore(js, fjs);
232
+ }(document, 'script', 'facebook-jssdk'));</script>
233
+
234
+ <!-- Google+ -->
235
+ <script type="text/javascript">
236
+ (function() {
237
+ var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
238
+ po.src = 'https://apis.google.com/js/platform.js';
239
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
240
+ })();
241
+ </script>
242
+
243
+ <?php
244
  }
245
  /**
246
  * function use to page settings
258
  $post = json_decode(get_option('wfap_post_type'));
259
  $post_list = $post;
260
 
261
+ $text_color_page_visit = get_option('text_color_page_visit');
262
+ if (isset($text_color_page_visit) && $text_color_page_visit != null) {
263
+ $text_color_page_visit = $text_color_page_visit;
264
+ } else {
265
+ $text_color_page_visit = '#000000';
266
+ }
267
 
268
 
269
  $html ='';
270
  $html .='<div class="main-page-visit-settings">';
271
+ $html .='<div class="page-title-settings"><h1>'. __( 'Page Counter Settings', 'page-visit-counter' ) .'</h1></div>';
 
272
  $html .='<div class="page-settings-summery">';
273
  $html .='<form method="POST">';
274
  $get_option_value = json_decode(get_option( 'page_count_settings' ));
276
  $select_values = isset($get_option_value[0] ) ? $get_option_value[0] : array();
277
  $html .='<table border="0" cellpadding="10" cellspacing="0">';
278
  $html .='<tr>
279
+ <td>'. __( 'Post Type', 'page-visit-counter' ) .'</td>
280
  <td>
281
+ <select id="post_type" data-placeholder="'.__('Add Page/Post Type', 'page-visit-counter').'" name="post_ty[]" multiple="true" class="chosen-select-post category-select chosen-rtl validate_field1">
282
  <option value=""></option>';
283
  if (isset($post_types) && !empty($post_types)) {
284
  foreach ($post_types as $cpost) {
287
  }
288
  }
289
  }
290
+ $html .='</select><span class="information">'.__('(Select post types for which post views will be counted.)', 'page-visit-counter').'<br>(<b>'.__('Note: If you leave the blank then it will count for all the post/page registered in your theme.', 'page-visit-counter').'</b>)</span>
291
  </td>';
292
  $html .='</tr>';
293
  $html .='<tr class="ipaddress">
294
+ <td>'. __( 'Exclude IPs (Ip Address)', 'page-visit-counter' ) .'</td>
295
  <td>
296
+ <select id="ip_address" data-placeholder="'.__('Add IP Address in comma seprated', 'page-visit-counter').'" name="ip-basic[]" multiple="true" class="chosen-select-ip category-select chosen-rtl validate_field1">
297
  <option value=""></option>';
298
  $get_option_value_ip = json_decode(get_option( 'ipaddress_visit' ));
299
  if (isset($get_option_value_ip) && !empty($get_option_value_ip)) {
301
  $html .='<option value="'.$ip.'">'.$ip.'</option>';
302
  }
303
  }
304
+ $html .='</select><span class="information">'.__('(Enter the IP addresses to be excluded from post views count.)','page-visit-counter').'</span>
305
  </td>';
306
  $html .='</tr>';
307
  $html .='<tr>';
308
  $html .='<tr class="users">
309
+ <td>'. __( 'Exclude Users', 'page-visit-counter' ) .'</td>
310
  <td>
311
+ <select id="users_list" data-placeholder="'.__('Select Registerd Users', 'page-visit-counter').'" name="user-basic[]" multiple="true" class="chosen-select category-select chosen-rtl validate_field1">
312
  <option value=""></option>';
313
  $query = "SELECT * FROM $wpdb->users";
314
  $resultSetsArr = $wpdb->get_results($query);
317
  $html .='<option value="'.$value->ID.'">'.$value->user_email.'</option>';
318
  }
319
  }
320
+ $html .='</select><span class="information">'.__('(Select the users to be excluded from post views count.)', 'page-visit-counter').'</span>
321
  </td>';
322
  $html .='</tr>';
323
  $html .='<tr class="hidefront">';
324
+ $html .='<td>'.__('Show front view counter', 'page-visit-counter').'</td>';
325
  $hide_show_option = get_option('counter_hide_show_front_vew');
326
  if($hide_show_option == 1){
327
  $cheked = 'checked';
328
  } else {
329
  $cheked = '';
330
  }
331
+ $html .='<td class="information"><input type="checkbox" name="hidefrontview" id="hide_front_view" '.$cheked.' >'.__('Check the box if you want to display counter view on front end.', 'page-visit-counter').'</td>';
332
+ $html .='</tr>';
333
+ $html .='<tr class="">';
334
+ $html .='<td>'.__('Choose color for the front end view', 'page-visit-counter').'</td>';
335
+ $html .='<td class="information"><input id="text_color_page_visit" type="text" value="'.$text_color_page_visit.'" class="my-color-field" data-default-color="'.$text_color_page_visit.'" /></td>';
336
  $html .='</tr>';
337
+ /*$html .='<tr class="">';
338
+ $html .='<td>'.__('Facebook icon URL:', 'page-visit-counter').'</td>';
339
+ $html .='<td class="information"><input id="fb_url_page_visit" type="text" value="" class="" /></td>';
340
+ $html .='</tr>';
341
+ $html .='<tr class="">';
342
+ $html .='<td>'.__('Google+ icon URL:', 'page-visit-counter').'</td>';
343
+ $html .='<td class="information"><input id="gplus_url_page_visit" type="text" value="" class="" /></td>';
344
+ $html .='</tr>';
345
+ $html .='<tr class="">';
346
+ $html .='<td>'.__('Twitter icon URL:', 'page-visit-counter').'</td>';
347
+ $html .='<td class="information"><input id="twitter_url_page_visit" type="text" value="" class="" /></td>';
348
+ $html .='</tr>';*/
349
  $html .='<tr>';
350
+ $html .='<td><input type="button" name="submit" class="pagecountsubmit button" value="'.__('Save','page-visit-counter').'"></td>';
351
+ $html .='<td class="record-mesage" style="display:none;"><h4 style="color:#075F0E;">'.__('Settings saved Sucessfully.','page-visit-counter').'</h4></td>';
352
  $html .='</tr>';
353
  $html .='<table>';
354
  $html .='</form>';
355
  $html .='<div style="float:left;width:100%">
356
+ <h2>'.__('Short Code', 'page-visit-counter', 'page-visit-counter').'</h2>
357
+ <p>'.__('There are two shortcodes that you can use to manually add page view count to any content on admin or post/page template created by your theme or plugin thats create it\'s own display content in page/post.', 'page-visit-counter').'</p>
358
+ <p style="width: 28%;float: left;">'.__('Use this shortcode to add admin side content on page/post:', 'page-visit-counter').'<pre style="margin-top: 14px;float: left;">'.__(htmlspecialchars('[page_visit_counter_md id="<page_id/post_id>"]'),'page-visit-counter').'</pre><br></p>
359
+ <p style="width: 28%;float: left;clear:both;">'.__('Use this shortcode to add page/post template (.php) file of your own template:','page-visit-counter').'<pre style="margin-top: 14px;float: left;">'.__(htmlspecialchars('<?php echo do_shortcode("[page_visit_counter_md id="<page_id/post_id>"]"); ?>'), 'page-visit-counter').'</pre></p>
360
  </div>';
361
  $html .='</div>';
362
  $html .="<br>";
372
  */
373
  function my_custom_dashboard_widgets() {
374
  global $wp_meta_boxes;
375
+ wp_add_dashboard_widget('custom_help_widget', __('Most Visited Page', 'page-visit-counter'), 'custom_dashboard_help');
376
  function custom_dashboard_help() {
377
  global $wpdb;
378
  $table_name = $wpdb->prefix."page_visit";
382
  if (!empty($count_visit) && isset($count_visit)) {
383
  $html .='<table border="0" cellpadding="5" cellspacing="10">';
384
  $html .='<tr>';
385
+ $html .='<th>'.__('Page id', 'page-visit-counter').'</th>';
386
+ $html .='<th>'.__('Page Name', 'page-visit-counter').'</th>';
387
+ $html .='<th>'.__('Total Count', 'page-visit-counter').'</th>';
388
  $html .='</tr>';
389
 
390
  foreach ($count_visit as $visitpage ){
391
  $page = get_post($visitpage->page_id);
392
  $html .='<tr>';
393
  $html .='<td>'.$page->ID.'</td>';
394
+ $html .='<td><a href="'.get_admin_url().'post.php?post='.$page->ID.'&action=edit">'.__($page->post_title,'page-visit-counter').'</a></td>';
395
  $html .='<td>'.$visitpage->c.'</td>';
396
  $html .='</tr>';
397
  }
417
  $type = isset($_POST['selected_posttype']) ? $_POST['selected_posttype'] : '';
418
  $ipAddress = isset($_POST['ipaddress']) ? $_POST['ipaddress'] : '';
419
  $userList = isset($_POST['userlist']) ? $_POST['userlist'] : '';
420
+ $hidefrontview = isset($_POST['hidefrontview']) ? $_POST['hidefrontview'] : '';
421
+ $text_color_page_visit = isset($_POST['text_color_page_visit']) ? $_POST['text_color_page_visit'] : '';
422
+
423
+ $twitter_url_page_visit = isset($_POST['twitter_url_page_visit']) ? $_POST['twitter_url_page_visit'] : '';
424
+ $gplus_url_page_visit = isset($_POST['gplus_url_page_visit']) ? $_POST['gplus_url_page_visit'] : '';
425
+ $fb_url_page_visit = isset($_POST['fb_url_page_visit']) ? $_POST['fb_url_page_visit'] : '';
426
 
427
  delete_option('wfap_post_type');
428
  if (isset($type) && $type != null) {
438
  if (isset($userList) && $userList != null) {
439
  update_option('userlist_visit',json_encode(array_values($userList)));
440
  }
441
+
442
  if( isset($hidefrontview) && $hidefrontview != null ){
443
  update_option('counter_hide_show_front_vew',$hidefrontview);
444
  }
445
 
446
+ if( isset($text_color_page_visit) && $text_color_page_visit != null ){
447
+ update_option('text_color_page_visit',$text_color_page_visit);
448
+ }
449
+
450
+ if( isset($twitter_url_page_visit) && $twitter_url_page_visit != null ){
451
+ update_option('twitter_url_page_visit',$twitter_url_page_visit);
452
+ }
453
+
454
+ if( isset($gplus_url_page_visit) && $gplus_url_page_visit != null ){
455
+ update_option('gplus_url_page_visit',$gplus_url_page_visit);
456
+ }
457
+
458
+ if( isset($fb_url_page_visit) && $fb_url_page_visit != null ){
459
+ update_option('fb_url_page_visit',$fb_url_page_visit);
460
+ }
461
+
462
  echo $type;
463
 
464
  die();
480
  $html .='<table id="example" class="display" cellpadding="0" cellspacing="0">
481
  <thead>
482
  <tr>
483
+ <th width="10%">'.__('No', 'page-visit-counter').'</th>
484
+ <th width="10%">'.__('Page ID', 'page-visit-counter').'</th>
485
+ <th>'.__('Page Title', 'page-visit-counter').'</th>
486
+ <th width="20%">'.__('Total Count', 'page-visit-counter').'</th>
487
  </tr>
488
  </thead>
489
  <tbody>';
510
  $html .='<tr>';
511
  $html .='<td>'.$counter.'</td>';
512
  $html .='<td>'.$results->ID.'</td>';
513
+ $html .='<td><a href="'.get_admin_url().'post.php?post='.$results->ID.'&action=edit">'.__($results->post_title,'page-visit-counter').'</a></td>';
514
  $count_visit = $wpdb->get_results("SELECT SUM(page_visit) as page_visit from $table_name where page_id ='".$results->ID."'");
515
  $count = 0;
516
  foreach ( $count_visit as $countval){
527
  }
528
  $html .='</tbody>
529
  <tfoot><tr>
530
+ <th width="10%">'.__('No', 'page-visit-counter').'</th>
531
+ <th width="10%">'.__('Page ID', 'page-visit-counter').'</th>
532
+ <th>'.__('Page Title', 'page-visit-counter').'</th>
533
+ <th width="20%">'.__('Total Count', 'page-visit-counter').'</th>
534
  </tr></tfoot></table>';
535
  echo $html;
536
  } else {
550
  }
551
  $clean = rtrim($string," AND ");
552
  $querySet = "SELECT DISTINCT wposts.* FROM $table_post wposts INNER JOIN $table_name ON (wposts.ID = $table_name.page_id) WHERE $clean";
 
553
  $dataquery =$wpdb->get_results($querySet);
554
  if(empty( $dataquery ) || $dataquery == ''){
555
  $QUERY = "SELECT * from $table_post where post_title LIKE '$page_title%' AND post_status='publish'";
557
  $html .='<table id="example" class="display" cellpadding="0" cellspacing="0">
558
  <thead>
559
  <tr>
560
+ <th width="10%">'.__('No', 'page-visit-counter').'</th>
561
+ <th width="10%">'.__('Page ID', 'page-visit-counter').'</th>
562
+ <th>'.__('Page Title', 'page-visit-counter').'</th>
563
+ <th width="20%">'.__('Total Count', 'page-visit-counter').'</th>
564
  </tr></thead><tbody>';
565
  $counter = 0;
566
  foreach ( $notvisit as $results ){
568
  $html .='<tr>';
569
  $html .='<td>'.$counter.'</td>';
570
  $html .='<td>'.$results->ID.'</td>';
571
+ $html .='<td><a href="'.get_admin_url().'post.php?post='.$results->ID.'&action=edit">'.__($results->post_title,'page-visit-counter').'</a></td>';
572
  $html .='<td> 0 </td>';
573
  $html .='</tr>';
574
  }
575
  $html .='</tbody><tfoot>
576
  <tr>
577
+ <th width="10%">'.__('No', 'page-visit-counter').'</th>
578
+ <th width="10%">'.__('Page ID', 'page-visit-counter').'</th>
579
+ <th>'.__('Page Title', 'page-visit-counter').'</th>
580
+ <th width="20%">'.__('Total Count', 'page-visit-counter').'</th>
581
  </tr></tfoot></table>';
582
  echo $html;
583
  }else if( $dataquery != '' ){
584
  $html .='<table id="example" class="display" cellpadding="0" cellspacing="0">
585
  <thead>
586
  <tr>
587
+ <th width="10%">'.__('No', 'page-visit-counter').'</th>
588
+ <th width="10%">'.__('Page ID', 'page-visit-counter').'</th>
589
+ <th>'.__('Page Title', 'page-visit-counter').'</th>
590
+ <th width="20%">'.__('Total Count', 'page-visit-counter').'</th>
591
  </tr></thead><tbody>';
592
  $counter = 0;
593
  foreach ( $dataquery as $results ){
595
  $html .='<tr>';
596
  $html .='<td>'.$counter.'</td>';
597
  $html .='<td>'.$results->ID.'</td>';
598
+ $html .='<td><a href="'.get_admin_url().'post.php?post='.$results->ID.'&action=edit">'.__($results->post_title,'page-visit-counter').'</a></td>';
599
  $str ='';
600
  if( $page_title != '' ){
601
  if( $page_date != '' ){
631
  }
632
  $html .='</tbody><tfoot>
633
  <tr>
634
+ <th width="10%">'.__('No', 'page-visit-counter').'</th>
635
+ <th width="10%">'.__('Page ID', 'page-visit-counter').'</th>
636
+ <th>'.__('Page Title', 'page-visit-counter').'</th>
637
+ <th width="20%">'.__('Total Count', 'page-visit-counter').'</th>
638
  </tr></tfoot</table>';
639
  echo $html;
640
  }
693
  $total = (int) $pageCount[0]->total;
694
  ?>
695
  <input name="pageidvisit" type="hidden" value="<?php echo $post_id; ?>">
696
+ <p><?php echo __('Do you want to enable page visits count for this page?', 'page-visit-counter'); ?></p>
697
  <p>
698
  <?php if ($facebook_auto == '') { ?>
699
+ <input type="radio" checked ="checked" name="autoupdate_page_visit" id="autoupdate_page1" value="yes"><?php echo __('Yes', 'page-visit-counter'); ?>
700
+ <input type="radio" name="autoupdate_page_visit" id="autoupdate_page2" value="no"><?php echo __('No', 'page-visit-counter'); ?></p>
701
  <?php } else { ?>
702
  <input type="radio" <?php if($facebook_auto=='yes'){ ?> checked ="checked" <?php } ?> name="autoupdate_page_visit" id="autoupdate_page1" value="yes"> Yes
703
  <input type="radio" <?php if($facebook_auto=='no'){ ?> checked ="checked" <?php } ?> name="autoupdate_page_visit" id="autoupdate_page2" value="no">No</p><?php
704
  } ?>
705
+ <p><?php echo __('Total visits:','page-visit-counter'); ?> <?php echo $total; ?></p>
706
  <?php
707
  }
708
  }
712
  function save_custom_meta_box_page_visit($post_id) {
713
  global $wp, $wpdb, $post;
714
 
715
+ if(!current_user_can("edit_post", $post_id)) {
716
+ return $post_id;
717
  }
718
 
719
  if(defined("DOING_AUTOSAVE") && DOING_AUTOSAVE) {
720
+ return $post_id;
721
  }
722
 
723
  if(isset($_POST["autoupdate_page_visit"]))
724
  {
725
+ update_post_meta($post_id, "get_page_count",$_POST["autoupdate_page_visit"]);
726
  }
727
 
728
+ }
729
+
730
+
731
+ function check_page_visit_history_table_exisit() {
732
+ global $wpdb, $wp;
733
+
734
+ $table_name = $wpdb->prefix . "page_visit_history";
735
+ if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name) {
736
+ $sql = "CREATE TABLE $table_name (
737
+ id int(11) unsigned NOT NULL AUTO_INCREMENT,
738
+ page_id int(11) NOT NULL,
739
+ date date NOT NULL,
740
+ lastdate date NOT NULL,
741
+ ipaddress varchar(255) NOT NULL,
742
+ browser_full_name varchar(255) NOT NULL,
743
+ browser_short_name varchar(255) NOT NULL,
744
+ browser_version varchar(255) NOT NULL,
745
+ os varchar(255) NOT NULL,
746
+ http_referer varchar(255) NOT NULL,
747
+ PRIMARY KEY (id)
748
+ );";
749
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
750
+ dbDelta( $sql );
751
+ //add_option( 'contact_db_version', $contact_db_version );
752
+ }
753
+
754
+ }
755
 
756
  }
757
 
admin/css/color-picker.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff}.wp-color-result:hover{background:#fafafa;border-color:#999;color:#222}.wp-color-result:hover:after{color:#222;border-color:#aaa;border-left:1px solid #999}.wp-color-result{top:0}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#888;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 1px 2px rgba(0,0,0,.2)}.wp-color-result:focus:after{border-color:#888}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#dfdfdf;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;text-align:center;line-height:16px;margin:0}.wp-picker-container input[type=text].wp-color-picker:focus::-webkit-input-placeholder{color:transparent}.wp-picker-container input[type=text].wp-color-picker:-moz-placeholder{color:#999}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}
admin/images/Facebook.png ADDED
Binary file
admin/images/Google_Plus.png ADDED
Binary file
admin/images/twitter.png ADDED
Binary file
admin/js/color-picker.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(a,b){var c,d='<a tabindex="0" class="wp-color-result" />',e='<div class="wp-picker-holder" />',f='<div class="wp-picker-container" />',g='<input type="button" class="button button-small hidden" />';c={options:{defaultColor:!1,change:!1,clear:!1,hide:!0,palettes:!0},_create:function(){if(a.support.iris){var b=this,c=b.element;a.extend(b.options,c.data()),b.initialValue=c.val(),c.addClass("wp-color-picker").hide().wrap(f),b.wrap=c.parent(),b.toggler=a(d).insertBefore(c).css({backgroundColor:b.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),b.pickerContainer=a(e).insertAfter(c),b.button=a(g),b.options.defaultColor?b.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString):b.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),c.wrap('<span class="wp-picker-input-wrap" />').after(b.button),c.iris({target:b.pickerContainer,hide:!0,width:255,mode:"hsv",palettes:b.options.palettes,change:function(c,d){b.toggler.css({backgroundColor:d.color.toString()}),a.isFunction(b.options.change)&&b.options.change.call(this,c,d)}}),c.val(b.initialValue),b._addListeners(),b.options.hide||b.toggler.click()}},_addListeners:function(){var b=this;b.toggler.click(function(c){c.stopPropagation(),b.element.toggle().iris("toggle"),b.button.toggleClass("hidden"),b.toggler.toggleClass("wp-picker-open"),b.toggler.hasClass("wp-picker-open")?a("body").on("click",{wrap:b.wrap,toggler:b.toggler},b._bodyListener):a("body").off("click",b._bodyListener)}),b.element.change(function(c){var d=a(this),e=d.val();(""===e||"#"===e)&&(b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c))}),b.toggler.on("keyup",function(a){(13===a.keyCode||32===a.keyCode)&&(a.preventDefault(),b.toggler.trigger("click").next().focus())}),b.button.click(function(c){var d=a(this);d.hasClass("wp-picker-clear")?(b.element.val(""),b.toggler.css("backgroundColor",""),a.isFunction(b.options.clear)&&b.options.clear.call(this,c)):d.hasClass("wp-picker-default")&&b.element.val(b.options.defaultColor).change()})},_bodyListener:function(a){a.data.wrap.find(a.target).length||a.data.toggler.click()},color:function(a){return a===b?this.element.iris("option","color"):void this.element.iris("option","color",a)},defaultColor:function(a){return a===b?this.options.defaultColor:void(this.options.defaultColor=a)}},a.widget("wp.wpColorPicker",c)}(jQuery);
admin/js/custom.js CHANGED
@@ -170,6 +170,7 @@
170
  var userlist = [];
171
  var postlist = [];
172
  var hidefrontview ='';
 
173
  $('body').on('click',".pagecountsubmit",function() {
174
 
175
  if($("#ip_address").val()) {
@@ -193,7 +194,31 @@
193
  var checked_val = '1';
194
  } else {
195
  var checked_val = '0';
196
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
 
198
  $.ajax({
199
  type: "POST",
@@ -204,17 +229,27 @@
204
  selected_posttype:unique(postlist),
205
  ipaddress:unique(ipaddress),
206
  userlist:unique(userlist),
207
- hidefrontview:checked_val
 
 
 
 
208
  }),
209
  success: function(data) {
210
- $("td.record-mesage").empty();
211
- $("td.record-mesage").html("<h4 style='color:#075F0E;'>Settings saved Sucessfully.</h4>");
 
 
212
  }
213
  });
214
  });
215
 
216
  });
217
 
 
 
 
 
218
  function unique(globalarr) {
219
  var result = [];
220
  $.each(globalarr, function(i, e) {
@@ -232,4 +267,5 @@
232
  return 'no';
233
  }
234
  }
 
235
  })( jQuery );
170
  var userlist = [];
171
  var postlist = [];
172
  var hidefrontview ='';
173
+ var text_color_page_visit ='';
174
  $('body').on('click',".pagecountsubmit",function() {
175
 
176
  if($("#ip_address").val()) {
194
  var checked_val = '1';
195
  } else {
196
  var checked_val = '0';
197
+ }
198
+
199
+ if($("#text_color_page_visit").val()) {
200
+ text_color_page_visit = $("#text_color_page_visit").val();
201
+ } else {
202
+ text_color_page_visit = '';
203
+ }
204
+
205
+ if($("#fb_url_page_visit").val()) {
206
+ fb_url_page_visit = $("#fb_url_page_visit").val();
207
+ } else {
208
+ fb_url_page_visit = '';
209
+ }
210
+
211
+ if($("#gplus_url_page_visit").val()) {
212
+ gplus_url_page_visit = $("#gplus_url_page_visit").val();
213
+ } else {
214
+ gplus_url_page_visit = '';
215
+ }
216
+
217
+ if($("#twitter_url_page_visit").val()) {
218
+ twitter_url_page_visit = $("#twitter_url_page_visit").val();
219
+ } else {
220
+ twitter_url_page_visit = '';
221
+ }
222
 
223
  $.ajax({
224
  type: "POST",
229
  selected_posttype:unique(postlist),
230
  ipaddress:unique(ipaddress),
231
  userlist:unique(userlist),
232
+ hidefrontview:checked_val,
233
+ text_color_page_visit:text_color_page_visit,
234
+ twitter_url_page_visit:twitter_url_page_visit,
235
+ gplus_url_page_visit:gplus_url_page_visit,
236
+ fb_url_page_visit:fb_url_page_visit
237
  }),
238
  success: function(data) {
239
+ //$("td.record-mesage").empty();
240
+ //$("td.record-mesage").html("<h4 style='color:#075F0E;'>Settings saved Sucessfully.</h4>");
241
+ $("td.record-mesage").css('display','block');
242
+ setInterval(function(){ $("td.record-mesage").fadeOut(); }, 3000);
243
  }
244
  });
245
  });
246
 
247
  });
248
 
249
+ $(document).ready(function(){
250
+ $('.my-color-field').wpColorPicker();
251
+ });
252
+
253
  function unique(globalarr) {
254
  var result = [];
255
  $.each(globalarr, function(i, e) {
267
  return 'no';
268
  }
269
  }
270
+
271
  })( jQuery );
images/Facebook.png ADDED
Binary file
images/Google_Plus.png ADDED
Binary file
images/twitter.png ADDED
Binary file
includes/class-page-visit-counter-activator.php CHANGED
@@ -45,6 +45,7 @@ class class_Page_Visit_Activator {
45
  }
46
 
47
  update_option('counter_hide_show_front_vew','');
 
48
 
49
  if( in_array( 'woocommerce/woocommerce.php',apply_filters('active_plugins',get_option('active_plugins'))) && !is_plugin_active_for_network( 'woocommerce/woocommerce.php' ) ) {
50
  $flag = '1';
45
  }
46
 
47
  update_option('counter_hide_show_front_vew','');
48
+ update_option("text_color_page_visit","#000000");
49
 
50
  if( in_array( 'woocommerce/woocommerce.php',apply_filters('active_plugins',get_option('active_plugins'))) && !is_plugin_active_for_network( 'woocommerce/woocommerce.php' ) ) {
51
  $flag = '1';
includes/class-page-visit-counter-i18n.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Define the internationalization functionality.
4
+ *
5
+ * Loads and defines the internationalization files for this plugin
6
+ * so that it is ready for translation.
7
+ *
8
+ * @since 1.0.0
9
+ * @package Page_Visit_Counter
10
+ * @subpackage Page_Visit_Counter/includes
11
+ * @author Multidots <wordpress@multidots.com>
12
+ */
13
+ class Page_Visit_Counter_i18n {
14
+
15
+ /**
16
+ * The domain specified for this plugin.
17
+ *
18
+ * @since 1.0.0
19
+ * @access private
20
+ * @var string $domain The domain identifier for this plugin.
21
+ */
22
+ private $domain;
23
+
24
+ /**
25
+ * Load the plugin text domain for translation.
26
+ *
27
+ * @since 1.0.0
28
+ */
29
+ public function load_plugin_textdomain() {
30
+ $locale = apply_filters( 'plugin_locale', get_locale(), $this->domain );
31
+ $mofile = $this->domain . '-' . $locale . '.mo';
32
+ $path = WP_PLUGIN_DIR . '/' . trim( $this->domain.'/languages', '/' );
33
+ load_textdomain( $this->domain, $path . '/'. $mofile );
34
+ $plugin_rel_path = apply_filters( 'woocommerce_page_visit_translation_file_rel_path', $this->domain.'/languages' );
35
+ load_plugin_textdomain( $this->domain, false, $plugin_rel_path );
36
+ }
37
+
38
+ /**
39
+ * Set the domain equal to that of the specified domain.
40
+ *
41
+ * @since 1.0.0
42
+ * @param string $domain The domain that represents the locale of this plugin.
43
+ */
44
+ public function set_domain( $domain ) {
45
+ $this->domain = $domain;
46
+ }
47
+
48
+ }
includes/class-page-visit-counter.php CHANGED
@@ -68,9 +68,10 @@ class page_visit_counter {
68
 
69
  public function __construct() {
70
 
71
- $this->plugin_name = 'Page Visit Counter';
72
  $this->version = '1.0.0';
73
  $this->load_dependencies();
 
74
  $this->define_admin_hooks();
75
  $this->define_public_hooks();
76
 
@@ -91,9 +92,30 @@ class page_visit_counter {
91
  * The class responsible for defining all actions that occur in the admin area.
92
  */
93
  require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-page-visit-counter-public.php';
 
 
 
 
94
 
95
  $this->loader = new page_visit_counter_Loader();
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  }
98
 
99
  /**
@@ -123,6 +145,8 @@ class page_visit_counter {
123
 
124
  $this->loader->add_action( 'save_post', $plugin_admin, 'save_custom_meta_box_page_visit' );
125
 
 
 
126
  add_action( 'wp_loaded', function ()
127
  {
128
  $fetchSelecetedPostTypes = json_decode(get_option('wfap_post_type'));
@@ -179,6 +203,9 @@ class page_visit_counter {
179
  $this->loader->add_action( 'the_content', $plugin_public, 'insert_page_visit_counter_total_block',99 );
180
  //$this->loader->add_action( 'get_footer', $plugin_public, 'insert_page_visit_counter_total_block',99 );
181
 
 
 
 
182
  if (in_array( 'woocommerce/woocommerce.php',apply_filters('active_plugins',get_option('active_plugins')))) {
183
  $this->loader->add_filter( 'woocommerce_paypal_args', $plugin_public, 'paypal_bn_code_filter',99,1 );
184
  }
68
 
69
  public function __construct() {
70
 
71
+ $this->plugin_name = 'page-visit-counter';
72
  $this->version = '1.0.0';
73
  $this->load_dependencies();
74
+ $this->set_locale();
75
  $this->define_admin_hooks();
76
  $this->define_public_hooks();
77
 
92
  * The class responsible for defining all actions that occur in the admin area.
93
  */
94
  require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-page-visit-counter-public.php';
95
+ /**
96
+ * The class responsible for defining all actions that occur in the admin area.
97
+ */
98
+ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-page-visit-counter-i18n.php';
99
 
100
  $this->loader = new page_visit_counter_Loader();
101
 
102
+ }
103
+ /**
104
+ * Define the locale for this plugin for internationalization.
105
+ *
106
+ * Uses the Woo_Extra_Cost_i18n class in order to set the domain and to register the hook
107
+ * with WordPress.
108
+ *
109
+ * @since 1.0.0
110
+ * @access private
111
+ */
112
+ private function set_locale() {
113
+
114
+ $plugin_i18n = new Page_Visit_Counter_i18n();
115
+ $plugin_i18n->set_domain( $this->get_plugin_name() );
116
+
117
+ $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );
118
+
119
  }
120
 
121
  /**
145
 
146
  $this->loader->add_action( 'save_post', $plugin_admin, 'save_custom_meta_box_page_visit' );
147
 
148
+ $this->loader->add_action( 'plugins_loaded', $plugin_admin, 'check_page_visit_history_table_exisit' );
149
+
150
  add_action( 'wp_loaded', function ()
151
  {
152
  $fetchSelecetedPostTypes = json_decode(get_option('wfap_post_type'));
203
  $this->loader->add_action( 'the_content', $plugin_public, 'insert_page_visit_counter_total_block',99 );
204
  //$this->loader->add_action( 'get_footer', $plugin_public, 'insert_page_visit_counter_total_block',99 );
205
 
206
+ $this->loader->add_action( 'wp_head', $plugin_public, 'add_meta_tags_page_visit',10);
207
+ //add_action( 'wp_head', 'add_meta_tags_page_visit',1);
208
+
209
  if (in_array( 'woocommerce/woocommerce.php',apply_filters('active_plugins',get_option('active_plugins')))) {
210
  $this->loader->add_filter( 'woocommerce_paypal_args', $plugin_public, 'paypal_bn_code_filter',99,1 );
211
  }
languages/page-visit-counter-es.mo ADDED
Binary file
languages/page-visit-counter-es.po ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit counter\n"
4
+ "POT-Creation-Date: 2016-03-15 19:46+0530\n"
5
+ "PO-Revision-Date: 2016-03-15 19:55+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: es\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: admin/class-page-visit-counter-admin.php:113
19
+ msgid "Clear"
20
+ msgstr "Claro"
21
+
22
+ #: admin/class-page-visit-counter-admin.php:113
23
+ msgid "Default"
24
+ msgstr "Defecto"
25
+
26
+ #: admin/class-page-visit-counter-admin.php:113
27
+ msgid "Select Color"
28
+ msgstr "Select Color"
29
+
30
+ #: admin/class-page-visit-counter-admin.php:139
31
+ msgid "Page-Visit-Counter"
32
+ msgstr "Visita la página - venta libre"
33
+
34
+ #: admin/class-page-visit-counter-admin.php:139
35
+ msgid "PageVisitCounter"
36
+ msgstr "Visita el sitio de Contador"
37
+
38
+ #: admin/class-page-visit-counter-admin.php:140
39
+ msgid "Counter-Settings"
40
+ msgstr "Counter- Ajustes"
41
+
42
+ #: admin/class-page-visit-counter-admin.php:140
43
+ msgid "Settings"
44
+ msgstr "ajustes"
45
+
46
+ #: admin/class-page-visit-counter-admin.php:150
47
+ msgid "Page Visit Counter"
48
+ msgstr "Visita SettinPage Countergs"
49
+
50
+ #: admin/class-page-visit-counter-admin.php:175
51
+ msgid "Search by page title"
52
+ msgstr "Búsqueda por título de la página"
53
+
54
+ #: admin/class-page-visit-counter-admin.php:175
55
+ msgid "Search by page date"
56
+ msgstr "Búsqueda por página fecha"
57
+
58
+ #: admin/class-page-visit-counter-admin.php:175
59
+ msgid "Search Page"
60
+ msgstr "Página de búsqueda"
61
+
62
+ #: admin/class-page-visit-counter-admin.php:182
63
+ #: admin/class-page-visit-counter-admin.php:213
64
+ #: admin/class-page-visit-counter-admin.php:483
65
+ #: admin/class-page-visit-counter-admin.php:530
66
+ #: admin/class-page-visit-counter-admin.php:560
67
+ #: admin/class-page-visit-counter-admin.php:577
68
+ #: admin/class-page-visit-counter-admin.php:587
69
+ #: admin/class-page-visit-counter-admin.php:634
70
+ #: admin/class-page-visit-counter-admin.php:700
71
+ msgid "No"
72
+ msgstr "No"
73
+
74
+ #: admin/class-page-visit-counter-admin.php:183
75
+ #: admin/class-page-visit-counter-admin.php:214
76
+ #: admin/class-page-visit-counter-admin.php:484
77
+ #: admin/class-page-visit-counter-admin.php:531
78
+ #: admin/class-page-visit-counter-admin.php:561
79
+ #: admin/class-page-visit-counter-admin.php:578
80
+ #: admin/class-page-visit-counter-admin.php:588
81
+ #: admin/class-page-visit-counter-admin.php:635
82
+ msgid "Page ID"
83
+ msgstr "ID de página"
84
+
85
+ #: admin/class-page-visit-counter-admin.php:184
86
+ #: admin/class-page-visit-counter-admin.php:215
87
+ #: admin/class-page-visit-counter-admin.php:485
88
+ #: admin/class-page-visit-counter-admin.php:532
89
+ #: admin/class-page-visit-counter-admin.php:562
90
+ #: admin/class-page-visit-counter-admin.php:579
91
+ #: admin/class-page-visit-counter-admin.php:589
92
+ #: admin/class-page-visit-counter-admin.php:636
93
+ msgid "Page Title"
94
+ msgstr "Título de la página"
95
+
96
+ #: admin/class-page-visit-counter-admin.php:185
97
+ #: admin/class-page-visit-counter-admin.php:216
98
+ #: admin/class-page-visit-counter-admin.php:387
99
+ #: admin/class-page-visit-counter-admin.php:486
100
+ #: admin/class-page-visit-counter-admin.php:533
101
+ #: admin/class-page-visit-counter-admin.php:563
102
+ #: admin/class-page-visit-counter-admin.php:580
103
+ #: admin/class-page-visit-counter-admin.php:590
104
+ #: admin/class-page-visit-counter-admin.php:637
105
+ msgid "Total Count"
106
+ msgstr "Cuenta total"
107
+
108
+ #: admin/class-page-visit-counter-admin.php:186
109
+ #: admin/class-page-visit-counter-admin.php:217
110
+ msgid "Share"
111
+ msgstr "Compartir"
112
+
113
+ #: admin/class-page-visit-counter-admin.php:271
114
+ msgid "Page Counter Settings"
115
+ msgstr "Configuración del contador de páginas"
116
+
117
+ #: admin/class-page-visit-counter-admin.php:279
118
+ msgid "Post Type"
119
+ msgstr "Tipo de mensaje"
120
+
121
+ #: admin/class-page-visit-counter-admin.php:281
122
+ msgid "Add Page/Post Type"
123
+ msgstr "Añadir Tipo Página / Post"
124
+
125
+ #: admin/class-page-visit-counter-admin.php:290
126
+ msgid "(Select post types for which post views will be counted.)"
127
+ msgstr ""
128
+ "( Seleccionar tipos de envíos para los que se contarán Vistas de la "
129
+ "publicación . )"
130
+
131
+ #: admin/class-page-visit-counter-admin.php:290
132
+ msgid ""
133
+ "Note: If you leave the blank then it will count for all the post/page "
134
+ "registered in your theme."
135
+ msgstr ""
136
+ "Nota : Si deja el espacio en blanco a continuación, se contará para todos "
137
+ "los post / página registrada en el tema ."
138
+
139
+ #: admin/class-page-visit-counter-admin.php:294
140
+ msgid "Exclude IPs (Ip Address)"
141
+ msgstr ""
142
+ "Excluir direcciones IP ( IP Address ) Excluir direcciones IP ( dirección IP)"
143
+
144
+ #: admin/class-page-visit-counter-admin.php:296
145
+ msgid "Add IP Address in comma seprated"
146
+ msgstr "Añadir la dirección IP en coma seprated"
147
+
148
+ #: admin/class-page-visit-counter-admin.php:304
149
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
150
+ msgstr ""
151
+ "( Introduzca las direcciones IP para ser excluido de vistas Número de "
152
+ "mensajes )."
153
+
154
+ #: admin/class-page-visit-counter-admin.php:309
155
+ msgid "Exclude Users"
156
+ msgstr "excluir a los usuarios"
157
+
158
+ #: admin/class-page-visit-counter-admin.php:311
159
+ msgid "Select Registerd Users"
160
+ msgstr "Seleccionar usuarios Registerd"
161
+
162
+ #: admin/class-page-visit-counter-admin.php:320
163
+ msgid "(Select the users to be excluded from post views count.)"
164
+ msgstr ""
165
+ "( Seleccione los usuarios que deben excluirse del recuento de entradas "
166
+ "vistas . )"
167
+
168
+ #: admin/class-page-visit-counter-admin.php:324
169
+ msgid "Show front view counter"
170
+ msgstr "Mostrar vista frontal contador"
171
+
172
+ #: admin/class-page-visit-counter-admin.php:331
173
+ msgid "Check the box if you want to display counter view on front end."
174
+ msgstr ""
175
+ "Marque la casilla si desea mostrar vista contador en extremo delantero ."
176
+
177
+ #: admin/class-page-visit-counter-admin.php:334
178
+ msgid "Choose color for the front end view"
179
+ msgstr "Elegir el color para la vista frontal"
180
+
181
+ #: admin/class-page-visit-counter-admin.php:350
182
+ msgid "Save"
183
+ msgstr "Salvar"
184
+
185
+ #: admin/class-page-visit-counter-admin.php:351
186
+ msgid "Settings saved Sucessfully."
187
+ msgstr "La configuración se guardó con éxito ."
188
+
189
+ #: admin/class-page-visit-counter-admin.php:356
190
+ msgid "Short Code"
191
+ msgstr "Código corto"
192
+
193
+ #: admin/class-page-visit-counter-admin.php:357
194
+ msgid ""
195
+ "There are two shortcodes that you can use to manually add page view count to "
196
+ "any content on admin or post/page template created by your theme or plugin "
197
+ "thats create it's own display content in page/post."
198
+ msgstr ""
199
+ "Hay dos códigos cortos que se pueden utilizar para añadir manualmente la "
200
+ "página Contador de visitas a cualquier contenido en la administración o "
201
+ "plantilla de entrada / página creada por su tema o plugin de eso es crear su "
202
+ "propio contenido de la pantalla en la página / post ."
203
+
204
+ #: admin/class-page-visit-counter-admin.php:358
205
+ msgid "Use this shortcode to add admin side content on page/post:"
206
+ msgstr ""
207
+ "Utilizar este código corto para agregar contenido parte de administración en "
208
+ "la página / post :"
209
+
210
+ #: admin/class-page-visit-counter-admin.php:359
211
+ msgid ""
212
+ "Use this shortcode to add page/post template (.php) file of your own "
213
+ "template:"
214
+ msgstr ""
215
+ "Utilizar este código corto para agregar página de la plantilla / post ( ."
216
+ "php ) del archivo de su propia plantilla :"
217
+
218
+ #: admin/class-page-visit-counter-admin.php:375
219
+ msgid "Most Visited Page"
220
+ msgstr "La mayoría Página visitada"
221
+
222
+ #: admin/class-page-visit-counter-admin.php:385
223
+ msgid "Page id"
224
+ msgstr "Page id"
225
+
226
+ #: admin/class-page-visit-counter-admin.php:386
227
+ msgid "Page Name"
228
+ msgstr "Nombre de la página"
229
+
230
+ #: admin/class-page-visit-counter-admin.php:670
231
+ msgid "Total Visits"
232
+ msgstr "Total Visitas"
233
+
234
+ #: admin/class-page-visit-counter-admin.php:696
235
+ msgid "Do you want to enable page visits count for this page?"
236
+ msgstr "¿Quieres permitir que cuentan visitas a la página de esta página?"
237
+
238
+ #: admin/class-page-visit-counter-admin.php:699
239
+ msgid "Yes"
240
+ msgstr "Sí"
241
+
242
+ #: admin/class-page-visit-counter-admin.php:705
243
+ msgid "Total visits:"
244
+ msgstr "Visitas totales:"
245
+
246
+ #: admin/class-page-visit-counter-html-output.php:311
247
+ msgid "Select a page&hellip;"
248
+ msgstr "Seleccione una página y hellip ;"
249
+
250
+ #: page_visit_counter.php:120 page_visit_counter.php:126
251
+ #: public/class-page-visit-counter-public.php:461
252
+ #: public/class-page-visit-counter-public.php:467
253
+ msgid "total visits."
254
+ msgstr "visitas totales."
255
+
256
+ #: page_visit_counter.php:131 page_visit_counter.php:134
257
+ msgid "Please enter the valid post or page id."
258
+ msgstr ""
259
+ "Por favor, introduzca el mensaje o la página de identificación válida ."
languages/page-visit-counter-fr.mo ADDED
Binary file
languages/page-visit-counter-fr.po ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit counter\n"
4
+ "POT-Creation-Date: 2016-03-15 18:41+0530\n"
5
+ "PO-Revision-Date: 2016-03-15 18:55+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: fr\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: admin/class-page-visit-counter-admin.php:113
19
+ msgid "Clear"
20
+ msgstr "Clair"
21
+
22
+ #: admin/class-page-visit-counter-admin.php:113
23
+ msgid "Default"
24
+ msgstr "Défaut"
25
+
26
+ #: admin/class-page-visit-counter-admin.php:113
27
+ msgid "Select Color"
28
+ msgstr "Choisissez la couleur"
29
+
30
+ #: admin/class-page-visit-counter-admin.php:139
31
+ msgid "Page-Visit-Counter"
32
+ msgstr "Page Compteur de visite"
33
+
34
+ #: admin/class-page-visit-counter-admin.php:139
35
+ msgid "PageVisitCounter"
36
+ msgstr "Page Compteur de visite"
37
+
38
+ #: admin/class-page-visit-counter-admin.php:140
39
+ msgid "Counter-Settings"
40
+ msgstr "Contre- Paramètres"
41
+
42
+ #: admin/class-page-visit-counter-admin.php:140
43
+ msgid "Settings"
44
+ msgstr "Paramètres"
45
+
46
+ #: admin/class-page-visit-counter-admin.php:150
47
+ msgid "Page Visit Counter"
48
+ msgstr "Page Compteur de visite"
49
+
50
+ #: admin/class-page-visit-counter-admin.php:175
51
+ msgid "Search by page title"
52
+ msgstr "Recherche par titre de page"
53
+
54
+ #: admin/class-page-visit-counter-admin.php:175
55
+ msgid "Search by page date"
56
+ msgstr "Recherche par page date"
57
+
58
+ #: admin/class-page-visit-counter-admin.php:175
59
+ msgid "Search Page"
60
+ msgstr "page de recherche"
61
+
62
+ #: admin/class-page-visit-counter-admin.php:182
63
+ #: admin/class-page-visit-counter-admin.php:213
64
+ #: admin/class-page-visit-counter-admin.php:483
65
+ #: admin/class-page-visit-counter-admin.php:530
66
+ #: admin/class-page-visit-counter-admin.php:560
67
+ #: admin/class-page-visit-counter-admin.php:577
68
+ #: admin/class-page-visit-counter-admin.php:587
69
+ #: admin/class-page-visit-counter-admin.php:634
70
+ #: admin/class-page-visit-counter-admin.php:700
71
+ msgid "No"
72
+ msgstr "Non"
73
+
74
+ #: admin/class-page-visit-counter-admin.php:183
75
+ #: admin/class-page-visit-counter-admin.php:214
76
+ #: admin/class-page-visit-counter-admin.php:484
77
+ #: admin/class-page-visit-counter-admin.php:531
78
+ #: admin/class-page-visit-counter-admin.php:561
79
+ #: admin/class-page-visit-counter-admin.php:578
80
+ #: admin/class-page-visit-counter-admin.php:588
81
+ #: admin/class-page-visit-counter-admin.php:635
82
+ msgid "Page ID"
83
+ msgstr "ID de la page"
84
+
85
+ #: admin/class-page-visit-counter-admin.php:184
86
+ #: admin/class-page-visit-counter-admin.php:215
87
+ #: admin/class-page-visit-counter-admin.php:485
88
+ #: admin/class-page-visit-counter-admin.php:532
89
+ #: admin/class-page-visit-counter-admin.php:562
90
+ #: admin/class-page-visit-counter-admin.php:579
91
+ #: admin/class-page-visit-counter-admin.php:589
92
+ #: admin/class-page-visit-counter-admin.php:636
93
+ msgid "Page Title"
94
+ msgstr "Titre de la page"
95
+
96
+ #: admin/class-page-visit-counter-admin.php:185
97
+ #: admin/class-page-visit-counter-admin.php:216
98
+ #: admin/class-page-visit-counter-admin.php:387
99
+ #: admin/class-page-visit-counter-admin.php:486
100
+ #: admin/class-page-visit-counter-admin.php:533
101
+ #: admin/class-page-visit-counter-admin.php:563
102
+ #: admin/class-page-visit-counter-admin.php:580
103
+ #: admin/class-page-visit-counter-admin.php:590
104
+ #: admin/class-page-visit-counter-admin.php:637
105
+ msgid "Total Count"
106
+ msgstr "Le compte total"
107
+
108
+ #: admin/class-page-visit-counter-admin.php:186
109
+ #: admin/class-page-visit-counter-admin.php:217
110
+ msgid "Share"
111
+ msgstr "Le compte total"
112
+
113
+ #: admin/class-page-visit-counter-admin.php:271
114
+ msgid "Page Counter Settings"
115
+ msgstr "Paramètres de la page Compteur"
116
+
117
+ #: admin/class-page-visit-counter-admin.php:279
118
+ msgid "Post Type"
119
+ msgstr "type Contribution"
120
+
121
+ #: admin/class-page-visit-counter-admin.php:281
122
+ msgid "Add Page/Post Type"
123
+ msgstr "Add Page/Post Type"
124
+
125
+ #: admin/class-page-visit-counter-admin.php:290
126
+ msgid "(Select post types for which post views will be counted.)"
127
+ msgstr ""
128
+ "( Sélectionnez les types de poste pour lequel des vues de poste seront "
129
+ "comptés . )"
130
+
131
+ #: admin/class-page-visit-counter-admin.php:290
132
+ msgid ""
133
+ "Note: If you leave the blank then it will count for all the post/page "
134
+ "registered in your theme."
135
+ msgstr ""
136
+ "Remarque: Si vous laissez le vide alors il comptera pour tout poste / page "
137
+ "enregistrée dans votre thème."
138
+
139
+ #: admin/class-page-visit-counter-admin.php:294
140
+ msgid "Exclude IPs (Ip Address)"
141
+ msgstr "Exclure IP ( adresse IP)"
142
+
143
+ #: admin/class-page-visit-counter-admin.php:296
144
+ msgid "Add IP Address in comma seprated"
145
+ msgstr "Ajouter une adresse IP en virgule seprated"
146
+
147
+ #: admin/class-page-visit-counter-admin.php:304
148
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
149
+ msgstr "( Entrez les adresses IP à exclure des vues de poste comptent . )"
150
+
151
+ #: admin/class-page-visit-counter-admin.php:309
152
+ msgid "Exclude Users"
153
+ msgstr "Exclure les utilisateurs"
154
+
155
+ #: admin/class-page-visit-counter-admin.php:311
156
+ msgid "Select Registerd Users"
157
+ msgstr "Sélectionnez Utilisateurs Registerd"
158
+
159
+ #: admin/class-page-visit-counter-admin.php:320
160
+ msgid "(Select the users to be excluded from post views count.)"
161
+ msgstr "(Select the users to be excluded from post views count.)"
162
+
163
+ #: admin/class-page-visit-counter-admin.php:324
164
+ msgid "Show front view counter"
165
+ msgstr "Montrer vue de face compteur"
166
+
167
+ #: admin/class-page-visit-counter-admin.php:331
168
+ msgid "Check the box if you want to display counter view on front end."
169
+ msgstr ""
170
+ "Cochez la case si vous souhaitez afficher compteur vue sur l'extrémité avant."
171
+
172
+ #: admin/class-page-visit-counter-admin.php:334
173
+ msgid "Choose color for the front end view"
174
+ msgstr "Choisissez la couleur pour la vue frontale"
175
+
176
+ #: admin/class-page-visit-counter-admin.php:350
177
+ msgid "Save"
178
+ msgstr "sauvegarder"
179
+
180
+ #: admin/class-page-visit-counter-admin.php:351
181
+ msgid "Settings saved Sucessfully."
182
+ msgstr "Paramètres sauvegardés Sucessfully ."
183
+
184
+ #: admin/class-page-visit-counter-admin.php:356
185
+ msgid "Short Code"
186
+ msgstr "Petit code"
187
+
188
+ #: admin/class-page-visit-counter-admin.php:357
189
+ msgid ""
190
+ "There are two shortcodes that you can use to manually add page view count to "
191
+ "any content on admin or post/page template created by your theme or plugin "
192
+ "thats create it's own display content in page/post."
193
+ msgstr ""
194
+ "Il y a deux shortcodes que vous pouvez utiliser pour ajouter manuellement "
195
+ "nombre de pages vues à tout contenu sur admin ou poste / modèle de page créé "
196
+ "par votre thème ou plug-in des thats créer son propre contenu d'affichage "
197
+ "dans la page / poste."
198
+
199
+ #: admin/class-page-visit-counter-admin.php:358
200
+ msgid "Use this shortcode to add admin side content on page/post:"
201
+ msgstr ""
202
+ "Utilisez ce shortcode pour ajouter du contenu côté administrateur à la "
203
+ "page / après :"
204
+
205
+ #: admin/class-page-visit-counter-admin.php:359
206
+ msgid ""
207
+ "Use this shortcode to add page/post template (.php) file of your own "
208
+ "template:"
209
+ msgstr ""
210
+ "Utilisez ce shortcode pour ajouter la page / template de poste ( .php ) de "
211
+ "fichier de votre propre modèle :"
212
+
213
+ #: admin/class-page-visit-counter-admin.php:375
214
+ msgid "Most Visited Page"
215
+ msgstr "La plupart Page visitée"
216
+
217
+ #: admin/class-page-visit-counter-admin.php:385
218
+ msgid "Page id"
219
+ msgstr "page id"
220
+
221
+ #: admin/class-page-visit-counter-admin.php:386
222
+ msgid "Page Name"
223
+ msgstr "Nom de la page"
224
+
225
+ #: admin/class-page-visit-counter-admin.php:670
226
+ msgid "Total Visits"
227
+ msgstr "total des visites"
228
+
229
+ #: admin/class-page-visit-counter-admin.php:696
230
+ msgid "Do you want to enable page visits count for this page?"
231
+ msgstr "Voulez-vous activer les pages visitées comptent pour cette page ?"
232
+
233
+ #: admin/class-page-visit-counter-admin.php:699
234
+ msgid "Yes"
235
+ msgstr "Oui"
236
+
237
+ #: admin/class-page-visit-counter-admin.php:705
238
+ msgid "Total visits:"
239
+ msgstr "Total des visites:"
240
+
241
+ #: admin/class-page-visit-counter-html-output.php:311
242
+ msgid "Select a page&hellip;"
243
+ msgstr "Sélectionnez une page & hellip;"
244
+
245
+ #: page_visit_counter.php:120 page_visit_counter.php:126
246
+ #: public/class-page-visit-counter-public.php:461
247
+ #: public/class-page-visit-counter-public.php:467
248
+ msgid "total visits."
249
+ msgstr "visites totales ."
250
+
251
+ #: page_visit_counter.php:131 page_visit_counter.php:134
252
+ msgid "Please enter the valid post or page id."
253
+ msgstr "S'il vous plaît entrer dans le poste ou la page id valide."
languages/page-visit-counter-he.mo ADDED
Binary file
languages/page-visit-counter-he.po ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit counter\n"
4
+ "POT-Creation-Date: 2016-03-15 18:57+0530\n"
5
+ "PO-Revision-Date: 2016-03-15 19:10+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: he\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: admin/class-page-visit-counter-admin.php:113
19
+ msgid "Clear"
20
+ msgstr "ברור"
21
+
22
+ #: admin/class-page-visit-counter-admin.php:113
23
+ msgid "Default"
24
+ msgstr "בְּרִירַת מֶחדָל"
25
+
26
+ #: admin/class-page-visit-counter-admin.php:113
27
+ msgid "Select Color"
28
+ msgstr "בחר צבע"
29
+
30
+ #: admin/class-page-visit-counter-admin.php:139
31
+ msgid "Page-Visit-Counter"
32
+ msgstr "עמוד בקר מונה"
33
+
34
+ #: admin/class-page-visit-counter-admin.php:139
35
+ msgid "PageVisitCounter"
36
+ msgstr "עמוד בקר מונה"
37
+
38
+ #: admin/class-page-visit-counter-admin.php:140
39
+ msgid "Counter-Settings"
40
+ msgstr "מתפרץ הגדרות"
41
+
42
+ #: admin/class-page-visit-counter-admin.php:140
43
+ msgid "Settings"
44
+ msgstr "הגדרות"
45
+
46
+ #: admin/class-page-visit-counter-admin.php:150
47
+ msgid "Page Visit Counter"
48
+ msgstr "עמוד בקר מונה"
49
+
50
+ #: admin/class-page-visit-counter-admin.php:175
51
+ msgid "Search by page title"
52
+ msgstr "חיפוש לפי כותרת דף"
53
+
54
+ #: admin/class-page-visit-counter-admin.php:175
55
+ msgid "Search by page date"
56
+ msgstr "חיפוש לפי תאריך הדף"
57
+
58
+ #: admin/class-page-visit-counter-admin.php:175
59
+ msgid "Search Page"
60
+ msgstr "עמוד חיפוש"
61
+
62
+ #: admin/class-page-visit-counter-admin.php:182
63
+ #: admin/class-page-visit-counter-admin.php:213
64
+ #: admin/class-page-visit-counter-admin.php:483
65
+ #: admin/class-page-visit-counter-admin.php:530
66
+ #: admin/class-page-visit-counter-admin.php:560
67
+ #: admin/class-page-visit-counter-admin.php:577
68
+ #: admin/class-page-visit-counter-admin.php:587
69
+ #: admin/class-page-visit-counter-admin.php:634
70
+ #: admin/class-page-visit-counter-admin.php:700
71
+ msgid "No"
72
+ msgstr "לא"
73
+
74
+ #: admin/class-page-visit-counter-admin.php:183
75
+ #: admin/class-page-visit-counter-admin.php:214
76
+ #: admin/class-page-visit-counter-admin.php:484
77
+ #: admin/class-page-visit-counter-admin.php:531
78
+ #: admin/class-page-visit-counter-admin.php:561
79
+ #: admin/class-page-visit-counter-admin.php:578
80
+ #: admin/class-page-visit-counter-admin.php:588
81
+ #: admin/class-page-visit-counter-admin.php:635
82
+ msgid "Page ID"
83
+ msgstr "עמוד ID"
84
+
85
+ #: admin/class-page-visit-counter-admin.php:184
86
+ #: admin/class-page-visit-counter-admin.php:215
87
+ #: admin/class-page-visit-counter-admin.php:485
88
+ #: admin/class-page-visit-counter-admin.php:532
89
+ #: admin/class-page-visit-counter-admin.php:562
90
+ #: admin/class-page-visit-counter-admin.php:579
91
+ #: admin/class-page-visit-counter-admin.php:589
92
+ #: admin/class-page-visit-counter-admin.php:636
93
+ msgid "Page Title"
94
+ msgstr "כותרת העמוד"
95
+
96
+ #: admin/class-page-visit-counter-admin.php:185
97
+ #: admin/class-page-visit-counter-admin.php:216
98
+ #: admin/class-page-visit-counter-admin.php:387
99
+ #: admin/class-page-visit-counter-admin.php:486
100
+ #: admin/class-page-visit-counter-admin.php:533
101
+ #: admin/class-page-visit-counter-admin.php:563
102
+ #: admin/class-page-visit-counter-admin.php:580
103
+ #: admin/class-page-visit-counter-admin.php:590
104
+ #: admin/class-page-visit-counter-admin.php:637
105
+ msgid "Total Count"
106
+ msgstr "ספירה כוללת"
107
+
108
+ #: admin/class-page-visit-counter-admin.php:186
109
+ #: admin/class-page-visit-counter-admin.php:217
110
+ msgid "Share"
111
+ msgstr "לַחֲלוֹק"
112
+
113
+ #: admin/class-page-visit-counter-admin.php:271
114
+ msgid "Page Counter Settings"
115
+ msgstr "הגדרות מונות עמוד"
116
+
117
+ #: admin/class-page-visit-counter-admin.php:279
118
+ msgid "Post Type"
119
+ msgstr "סוג ההודעה"
120
+
121
+ #: admin/class-page-visit-counter-admin.php:281
122
+ msgid "Add Page/Post Type"
123
+ msgstr "הוסף דף / פוסט סוג"
124
+
125
+ #: admin/class-page-visit-counter-admin.php:290
126
+ msgid "(Select post types for which post views will be counted.)"
127
+ msgstr "( בחר סוגים פוסט עבורו עמדות פוסט ייספרו . )"
128
+
129
+ #: admin/class-page-visit-counter-admin.php:290
130
+ msgid ""
131
+ "Note: If you leave the blank then it will count for all the post/page "
132
+ "registered in your theme."
133
+ msgstr ""
134
+ "הערה : אם תשאיר את ריקים, אז הוא ייחשב עבור כל הפוסט / הדף הרשום הנושא שלך ."
135
+
136
+ #: admin/class-page-visit-counter-admin.php:294
137
+ msgid "Exclude IPs (Ip Address)"
138
+ msgstr "אל תכלול כתובות IP ( כתובת IP)"
139
+
140
+ #: admin/class-page-visit-counter-admin.php:296
141
+ msgid "Add IP Address in comma seprated"
142
+ msgstr "להוסיף כתובת IP ב פסיק seprated"
143
+
144
+ #: admin/class-page-visit-counter-admin.php:304
145
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
146
+ msgstr "( הזן את כתובות ה- IP שלא ייכלל עמדות פוסט לספור . )"
147
+
148
+ #: admin/class-page-visit-counter-admin.php:309
149
+ msgid "Exclude Users"
150
+ msgstr "אל תכלול משתמשים"
151
+
152
+ #: admin/class-page-visit-counter-admin.php:311
153
+ msgid "Select Registerd Users"
154
+ msgstr "בחירת משתמשים registerd"
155
+
156
+ #: admin/class-page-visit-counter-admin.php:320
157
+ msgid "(Select the users to be excluded from post views count.)"
158
+ msgstr "( בחר את המשתמשים שלא להיכלל ספירת צפיות הודעה . )"
159
+
160
+ #: admin/class-page-visit-counter-admin.php:324
161
+ msgid "Show front view counter"
162
+ msgstr "צג מונה צפיות קדמי"
163
+
164
+ #: admin/class-page-visit-counter-admin.php:331
165
+ msgid "Check the box if you want to display counter view on front end."
166
+ msgstr "סמן את התיבה אם אתה רוצה להציג מונה צפיות על קצה קדמי ."
167
+
168
+ #: admin/class-page-visit-counter-admin.php:334
169
+ msgid "Choose color for the front end view"
170
+ msgstr "בחר צבע עבור התצוגה החזיתית"
171
+
172
+ #: admin/class-page-visit-counter-admin.php:350
173
+ msgid "Save"
174
+ msgstr "להציל"
175
+
176
+ #: admin/class-page-visit-counter-admin.php:351
177
+ msgid "Settings saved Sucessfully."
178
+ msgstr "הגדרות נשמרו בהצלחה ."
179
+
180
+ #: admin/class-page-visit-counter-admin.php:356
181
+ msgid "Short Code"
182
+ msgstr "קוד קצר"
183
+
184
+ #: admin/class-page-visit-counter-admin.php:357
185
+ msgid ""
186
+ "There are two shortcodes that you can use to manually add page view count to "
187
+ "any content on admin or post/page template created by your theme or plugin "
188
+ "thats create it's own display content in page/post."
189
+ msgstr ""
190
+ "ישנם שני מספרים מקוצרים שאתה יכול להשתמש בו כדי להוסיף מספר צפיות דפים באופן "
191
+ "ידני לכל חומר מנהל או פוסט / תבנית דף נוצרה על ידי thats הנושא או התוסף שלך "
192
+ "ליצור תוכן תצוגה זה לבד בדף / פוסט ."
193
+
194
+ #: admin/class-page-visit-counter-admin.php:358
195
+ msgid "Use this shortcode to add admin side content on page/post:"
196
+ msgstr "השתמש וגלישה זה כדי להוסיף תוכן צד Admin ב הדף / פוסט :"
197
+
198
+ #: admin/class-page-visit-counter-admin.php:359
199
+ msgid ""
200
+ "Use this shortcode to add page/post template (.php) file of your own "
201
+ "template:"
202
+ msgstr ""
203
+ "השתמש וגלישה זה כדי להוסיף תבנית דף / פוסט ( .php ) קובץ של תבנית משלך :"
204
+
205
+ #: admin/class-page-visit-counter-admin.php:375
206
+ msgid "Most Visited Page"
207
+ msgstr "רוב בקר בדף"
208
+
209
+ #: admin/class-page-visit-counter-admin.php:385
210
+ msgid "Page id"
211
+ msgstr "עמוד id"
212
+
213
+ #: admin/class-page-visit-counter-admin.php:386
214
+ msgid "Page Name"
215
+ msgstr "שם דף"
216
+
217
+ #: admin/class-page-visit-counter-admin.php:670
218
+ msgid "Total Visits"
219
+ msgstr "סך כל הביקורים"
220
+
221
+ #: admin/class-page-visit-counter-admin.php:696
222
+ msgid "Do you want to enable page visits count for this page?"
223
+ msgstr "האם אתה רוצה לאפשר ביקורי ספירת דפים עבור דף זה ?"
224
+
225
+ #: admin/class-page-visit-counter-admin.php:699
226
+ msgid "Yes"
227
+ msgstr "כן"
228
+
229
+ #: admin/class-page-visit-counter-admin.php:705
230
+ msgid "Total visits:"
231
+ msgstr "סך כל הביקורים :"
232
+
233
+ #: admin/class-page-visit-counter-html-output.php:311
234
+ msgid "Select a page&hellip;"
235
+ msgstr "בחר דף & hellip ;"
236
+
237
+ #: page_visit_counter.php:120 page_visit_counter.php:126
238
+ #: public/class-page-visit-counter-public.php:461
239
+ #: public/class-page-visit-counter-public.php:467
240
+ msgid "total visits."
241
+ msgstr "סך כל הביקורים ."
242
+
243
+ #: page_visit_counter.php:131 page_visit_counter.php:134
244
+ msgid "Please enter the valid post or page id."
245
+ msgstr "נא להזין את קוד הודעה או דף התקף ."
languages/page-visit-counter-hr.mo ADDED
Binary file
languages/page-visit-counter-hr.po ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit counter\n"
4
+ "POT-Creation-Date: 2016-03-15 17:44+0530\n"
5
+ "PO-Revision-Date: 2016-03-15 17:54+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: hr\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: admin/class-page-visit-counter-admin.php:113
20
+ msgid "Clear"
21
+ msgstr "Jasan"
22
+
23
+ #: admin/class-page-visit-counter-admin.php:113
24
+ msgid "Default"
25
+ msgstr "Zadano"
26
+
27
+ #: admin/class-page-visit-counter-admin.php:113
28
+ msgid "Select Color"
29
+ msgstr "Odaberite boju"
30
+
31
+ #: admin/class-page-visit-counter-admin.php:139
32
+ msgid "Page-Visit-Counter"
33
+ msgstr "Page - posjet -counter"
34
+
35
+ #: admin/class-page-visit-counter-admin.php:139
36
+ msgid "PageVisitCounter"
37
+ msgstr "Stranica Posjeta Counter"
38
+
39
+ #: admin/class-page-visit-counter-admin.php:140
40
+ msgid "Counter-Settings"
41
+ msgstr "Counter- postavke"
42
+
43
+ #: admin/class-page-visit-counter-admin.php:140
44
+ msgid "Settings"
45
+ msgstr "Postavke"
46
+
47
+ #: admin/class-page-visit-counter-admin.php:150
48
+ msgid "Page Visit Counter"
49
+ msgstr "Stranica Posjeta Counter"
50
+
51
+ #: admin/class-page-visit-counter-admin.php:175
52
+ msgid "Search by page title"
53
+ msgstr "Pretraga po naslovu"
54
+
55
+ #: admin/class-page-visit-counter-admin.php:175
56
+ msgid "Search by page date"
57
+ msgstr "Traži po datumu stranice"
58
+
59
+ #: admin/class-page-visit-counter-admin.php:175
60
+ msgid "Search Page"
61
+ msgstr "pretraživanje stranica"
62
+
63
+ #: admin/class-page-visit-counter-admin.php:182
64
+ #: admin/class-page-visit-counter-admin.php:213
65
+ #: admin/class-page-visit-counter-admin.php:483
66
+ #: admin/class-page-visit-counter-admin.php:530
67
+ #: admin/class-page-visit-counter-admin.php:560
68
+ #: admin/class-page-visit-counter-admin.php:577
69
+ #: admin/class-page-visit-counter-admin.php:587
70
+ #: admin/class-page-visit-counter-admin.php:634
71
+ #: admin/class-page-visit-counter-admin.php:700
72
+ msgid "No"
73
+ msgstr "Ne"
74
+
75
+ #: admin/class-page-visit-counter-admin.php:183
76
+ #: admin/class-page-visit-counter-admin.php:214
77
+ #: admin/class-page-visit-counter-admin.php:484
78
+ #: admin/class-page-visit-counter-admin.php:531
79
+ #: admin/class-page-visit-counter-admin.php:561
80
+ #: admin/class-page-visit-counter-admin.php:578
81
+ #: admin/class-page-visit-counter-admin.php:588
82
+ #: admin/class-page-visit-counter-admin.php:635
83
+ msgid "Page ID"
84
+ msgstr "ID stranice"
85
+
86
+ #: admin/class-page-visit-counter-admin.php:184
87
+ #: admin/class-page-visit-counter-admin.php:215
88
+ #: admin/class-page-visit-counter-admin.php:485
89
+ #: admin/class-page-visit-counter-admin.php:532
90
+ #: admin/class-page-visit-counter-admin.php:562
91
+ #: admin/class-page-visit-counter-admin.php:579
92
+ #: admin/class-page-visit-counter-admin.php:589
93
+ #: admin/class-page-visit-counter-admin.php:636
94
+ msgid "Page Title"
95
+ msgstr "Naslov stranice"
96
+
97
+ #: admin/class-page-visit-counter-admin.php:185
98
+ #: admin/class-page-visit-counter-admin.php:216
99
+ #: admin/class-page-visit-counter-admin.php:387
100
+ #: admin/class-page-visit-counter-admin.php:486
101
+ #: admin/class-page-visit-counter-admin.php:533
102
+ #: admin/class-page-visit-counter-admin.php:563
103
+ #: admin/class-page-visit-counter-admin.php:580
104
+ #: admin/class-page-visit-counter-admin.php:590
105
+ #: admin/class-page-visit-counter-admin.php:637
106
+ msgid "Total Count"
107
+ msgstr "ukupno Točka"
108
+
109
+ #: admin/class-page-visit-counter-admin.php:186
110
+ #: admin/class-page-visit-counter-admin.php:217
111
+ msgid "Share"
112
+ msgstr "Udio"
113
+
114
+ #: admin/class-page-visit-counter-admin.php:271
115
+ msgid "Page Counter Settings"
116
+ msgstr "Stranica Postavke Counter"
117
+
118
+ #: admin/class-page-visit-counter-admin.php:279
119
+ msgid "Post Type"
120
+ msgstr "Post vrsta"
121
+
122
+ #: admin/class-page-visit-counter-admin.php:281
123
+ msgid "Add Page/Post Type"
124
+ msgstr "Dodaj stranicu / post Type"
125
+
126
+ #: admin/class-page-visit-counter-admin.php:290
127
+ msgid "(Select post types for which post views will be counted.)"
128
+ msgstr "( Odaberite Objavi vrste za koje će se računati prikaza posta )."
129
+
130
+ #: admin/class-page-visit-counter-admin.php:290
131
+ msgid ""
132
+ "Note: If you leave the blank then it will count for all the post/page "
133
+ "registered in your theme."
134
+ msgstr ""
135
+ "Napomena : Ako ostavite prazno onda će se računati za sve post / stranice "
136
+ "registrirane u svojoj temi ."
137
+
138
+ #: admin/class-page-visit-counter-admin.php:294
139
+ msgid "Exclude IPs (Ip Address)"
140
+ msgstr "Isključi IP (IP adresa)"
141
+
142
+ #: admin/class-page-visit-counter-admin.php:296
143
+ msgid "Add IP Address in comma seprated"
144
+ msgstr "Dodaj IP adresu u zarezom seprated"
145
+
146
+ #: admin/class-page-visit-counter-admin.php:304
147
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
148
+ msgstr "( Unesite IP adrese koje treba isključiti iz pregleda post count . )"
149
+
150
+ #: admin/class-page-visit-counter-admin.php:309
151
+ msgid "Exclude Users"
152
+ msgstr "Isključi korisnike"
153
+
154
+ #: admin/class-page-visit-counter-admin.php:311
155
+ msgid "Select Registerd Users"
156
+ msgstr "Odaberite Registerd korisnike"
157
+
158
+ #: admin/class-page-visit-counter-admin.php:320
159
+ msgid "(Select the users to be excluded from post views count.)"
160
+ msgstr "( Odaberite korisnicima biti isključeni iz prikaza posta count )."
161
+
162
+ #: admin/class-page-visit-counter-admin.php:324
163
+ msgid "Show front view counter"
164
+ msgstr "Pokazuju prednji brojača"
165
+
166
+ #: admin/class-page-visit-counter-admin.php:331
167
+ msgid "Check the box if you want to display counter view on front end."
168
+ msgstr ""
169
+ "Provjerite okvir ukoliko želite prikazati brojač pogled na prednjem kraju."
170
+
171
+ #: admin/class-page-visit-counter-admin.php:334
172
+ msgid "Choose color for the front end view"
173
+ msgstr "Odaberite boju za prednje strane krajnjeg"
174
+
175
+ #: admin/class-page-visit-counter-admin.php:350
176
+ msgid "Save"
177
+ msgstr "Uštedjeti"
178
+
179
+ #: admin/class-page-visit-counter-admin.php:351
180
+ msgid "Settings saved Sucessfully."
181
+ msgstr "Postavke spremljene uspješno ."
182
+
183
+ #: admin/class-page-visit-counter-admin.php:356
184
+ msgid "Short Code"
185
+ msgstr "Kratki kod"
186
+
187
+ #: admin/class-page-visit-counter-admin.php:357
188
+ msgid ""
189
+ "There are two shortcodes that you can use to manually add page view count to "
190
+ "any content on admin or post/page template created by your theme or plugin "
191
+ "thats create it's own display content in page/post."
192
+ msgstr ""
193
+ "Postoje dvije kratke kodove koji možete koristiti za ručno dodati stranicu "
194
+ "broj prikaza na bilo koji sadržaj na admin ili post / predložak stranice "
195
+ "stvorio svoje teme ili dodatka thats stvoriti svoj ​​vlastiti sadržaj zaslona "
196
+ "na stranici / post."
197
+
198
+ #: admin/class-page-visit-counter-admin.php:358
199
+ msgid "Use this shortcode to add admin side content on page/post:"
200
+ msgstr ""
201
+ "Koristite ovaj SHORTCODE dodati administratora bočni sadržaj na stranici / "
202
+ "post:"
203
+
204
+ #: admin/class-page-visit-counter-admin.php:359
205
+ msgid ""
206
+ "Use this shortcode to add page/post template (.php) file of your own "
207
+ "template:"
208
+ msgstr ""
209
+ "Koristite ovaj SHORTCODE dodati stranicu / post predložak ( php ) datoteku "
210
+ "svojeg predloška :"
211
+
212
+ #: admin/class-page-visit-counter-admin.php:375
213
+ msgid "Most Visited Page"
214
+ msgstr "Najposjećenije stranice"
215
+
216
+ #: admin/class-page-visit-counter-admin.php:385
217
+ msgid "Page id"
218
+ msgstr "id stranice"
219
+
220
+ #: admin/class-page-visit-counter-admin.php:386
221
+ msgid "Page Name"
222
+ msgstr "Naziv stranice"
223
+
224
+ #: admin/class-page-visit-counter-admin.php:670
225
+ msgid "Total Visits"
226
+ msgstr "Ukupno Posjeta"
227
+
228
+ #: admin/class-page-visit-counter-admin.php:696
229
+ msgid "Do you want to enable page visits count for this page?"
230
+ msgstr "Da li želite omogućiti posjeti stranicama računati za ovu stranicu ?"
231
+
232
+ #: admin/class-page-visit-counter-admin.php:699
233
+ msgid "Yes"
234
+ msgstr "Da"
235
+
236
+ #: admin/class-page-visit-counter-admin.php:705
237
+ msgid "Total visits:"
238
+ msgstr "Ukupno posjeta:"
239
+
240
+ #: admin/class-page-visit-counter-html-output.php:311
241
+ msgid "Select a page&hellip;"
242
+ msgstr "Odaberite stranicu & hellip;"
243
+
244
+ #: page_visit_counter.php:120 page_visit_counter.php:126
245
+ #: public/class-page-visit-counter-public.php:461
246
+ #: public/class-page-visit-counter-public.php:467
247
+ msgid "total visits."
248
+ msgstr "Ukupno posjeta ."
249
+
250
+ #: page_visit_counter.php:131 page_visit_counter.php:134
251
+ msgid "Please enter the valid post or page id."
252
+ msgstr "Unesite važeću post ili stranicu id."
languages/page-visit-counter-id.mo ADDED
Binary file
languages/page-visit-counter-id.po ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit coounter\n"
4
+ "POT-Creation-Date: 2016-03-16 10:54+0530\n"
5
+ "PO-Revision-Date: 2016-03-16 11:02+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: id\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=1; plural=0;\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: admin/class-page-visit-counter-admin.php:113
19
+ msgid "Clear"
20
+ msgstr "Bersih"
21
+
22
+ #: admin/class-page-visit-counter-admin.php:113
23
+ msgid "Default"
24
+ msgstr "kegagalan"
25
+
26
+ #: admin/class-page-visit-counter-admin.php:113
27
+ msgid "Select Color"
28
+ msgstr "pilih Warna"
29
+
30
+ #: admin/class-page-visit-counter-admin.php:139
31
+ msgid "Page-Visit-Counter"
32
+ msgstr "Halaman - Kunjungi - Kontra"
33
+
34
+ #: admin/class-page-visit-counter-admin.php:139
35
+ msgid "PageVisitCounter"
36
+ msgstr "Halaman Kunjungi Kontra"
37
+
38
+ #: admin/class-page-visit-counter-admin.php:140
39
+ msgid "Counter-Settings"
40
+ msgstr "Counter- Pengaturan"
41
+
42
+ #: admin/class-page-visit-counter-admin.php:140
43
+ msgid "Settings"
44
+ msgstr "pengaturan"
45
+
46
+ #: admin/class-page-visit-counter-admin.php:150
47
+ msgid "Page Visit Counter"
48
+ msgstr "Halaman Kunjungi Kontra"
49
+
50
+ #: admin/class-page-visit-counter-admin.php:175
51
+ msgid "Search by page title"
52
+ msgstr "Cari berdasarkan judul halaman"
53
+
54
+ #: admin/class-page-visit-counter-admin.php:175
55
+ msgid "Search by page date"
56
+ msgstr "Cari berdasarkan tanggal page"
57
+
58
+ #: admin/class-page-visit-counter-admin.php:175
59
+ msgid "Search Page"
60
+ msgstr "Halaman Pencarian"
61
+
62
+ #: admin/class-page-visit-counter-admin.php:182
63
+ #: admin/class-page-visit-counter-admin.php:213
64
+ #: admin/class-page-visit-counter-admin.php:483
65
+ #: admin/class-page-visit-counter-admin.php:530
66
+ #: admin/class-page-visit-counter-admin.php:560
67
+ #: admin/class-page-visit-counter-admin.php:577
68
+ #: admin/class-page-visit-counter-admin.php:587
69
+ #: admin/class-page-visit-counter-admin.php:634
70
+ #: admin/class-page-visit-counter-admin.php:700
71
+ msgid "No"
72
+ msgstr "Tidak"
73
+
74
+ #: admin/class-page-visit-counter-admin.php:183
75
+ #: admin/class-page-visit-counter-admin.php:214
76
+ #: admin/class-page-visit-counter-admin.php:484
77
+ #: admin/class-page-visit-counter-admin.php:531
78
+ #: admin/class-page-visit-counter-admin.php:561
79
+ #: admin/class-page-visit-counter-admin.php:578
80
+ #: admin/class-page-visit-counter-admin.php:588
81
+ #: admin/class-page-visit-counter-admin.php:635
82
+ msgid "Page ID"
83
+ msgstr "halaman ID"
84
+
85
+ #: admin/class-page-visit-counter-admin.php:184
86
+ #: admin/class-page-visit-counter-admin.php:215
87
+ #: admin/class-page-visit-counter-admin.php:485
88
+ #: admin/class-page-visit-counter-admin.php:532
89
+ #: admin/class-page-visit-counter-admin.php:562
90
+ #: admin/class-page-visit-counter-admin.php:579
91
+ #: admin/class-page-visit-counter-admin.php:589
92
+ #: admin/class-page-visit-counter-admin.php:636
93
+ msgid "Page Title"
94
+ msgstr "Judul halaman"
95
+
96
+ #: admin/class-page-visit-counter-admin.php:185
97
+ #: admin/class-page-visit-counter-admin.php:216
98
+ #: admin/class-page-visit-counter-admin.php:387
99
+ #: admin/class-page-visit-counter-admin.php:486
100
+ #: admin/class-page-visit-counter-admin.php:533
101
+ #: admin/class-page-visit-counter-admin.php:563
102
+ #: admin/class-page-visit-counter-admin.php:580
103
+ #: admin/class-page-visit-counter-admin.php:590
104
+ #: admin/class-page-visit-counter-admin.php:637
105
+ msgid "Total Count"
106
+ msgstr "total Hitungan"
107
+
108
+ #: admin/class-page-visit-counter-admin.php:186
109
+ #: admin/class-page-visit-counter-admin.php:217
110
+ msgid "Share"
111
+ msgstr "Bagikan"
112
+
113
+ #: admin/class-page-visit-counter-admin.php:271
114
+ msgid "Page Counter Settings"
115
+ msgstr "halaman melawan pengaturan"
116
+
117
+ #: admin/class-page-visit-counter-admin.php:279
118
+ msgid "Post Type"
119
+ msgstr "posting mengetik"
120
+
121
+ #: admin/class-page-visit-counter-admin.php:281
122
+ msgid "Add Page/Post Type"
123
+ msgstr "Tambahkan Halaman / Posting mengetik"
124
+
125
+ #: admin/class-page-visit-counter-admin.php:290
126
+ msgid "(Select post types for which post views will be counted.)"
127
+ msgstr "( Pilih jenis posting yang dilihat posting akan dihitung . )"
128
+
129
+ #: admin/class-page-visit-counter-admin.php:290
130
+ msgid ""
131
+ "Note: If you leave the blank then it will count for all the post/page "
132
+ "registered in your theme."
133
+ msgstr ""
134
+ "Catatan : Jika Anda meninggalkan kosong maka akan menghitung untuk semua "
135
+ "posting / halaman terdaftar dalam tema Anda ."
136
+
137
+ #: admin/class-page-visit-counter-admin.php:294
138
+ msgid "Exclude IPs (Ip Address)"
139
+ msgstr "Kecualikan IP ( Ip Address)"
140
+
141
+ #: admin/class-page-visit-counter-admin.php:296
142
+ msgid "Add IP Address in comma seprated"
143
+ msgstr "Tambahkan IP Address di koma seprated"
144
+
145
+ #: admin/class-page-visit-counter-admin.php:304
146
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
147
+ msgstr ""
148
+ "( Masukkan alamat IP yang akan dikecualikan dari tampilan pos menghitung. )"
149
+
150
+ #: admin/class-page-visit-counter-admin.php:309
151
+ msgid "Exclude Users"
152
+ msgstr "Kecualikan Pengguna"
153
+
154
+ #: admin/class-page-visit-counter-admin.php:311
155
+ msgid "Select Registerd Users"
156
+ msgstr "Pilih Pengguna Registerd"
157
+
158
+ #: admin/class-page-visit-counter-admin.php:320
159
+ msgid "(Select the users to be excluded from post views count.)"
160
+ msgstr "( Pilih pengguna untuk dikecualikan dari jumlah post views . )"
161
+
162
+ #: admin/class-page-visit-counter-admin.php:324
163
+ msgid "Show front view counter"
164
+ msgstr "Tampilkan front view kontra"
165
+
166
+ #: admin/class-page-visit-counter-admin.php:331
167
+ msgid "Check the box if you want to display counter view on front end."
168
+ msgstr ""
169
+ "Centang kotak jika Anda ingin menampilkan kontra lihat di ujung depan ."
170
+
171
+ #: admin/class-page-visit-counter-admin.php:334
172
+ msgid "Choose color for the front end view"
173
+ msgstr "Memilih warna untuk tampilan front end"
174
+
175
+ #: admin/class-page-visit-counter-admin.php:350
176
+ msgid "Save"
177
+ msgstr "Menyimpan"
178
+
179
+ #: admin/class-page-visit-counter-admin.php:351
180
+ msgid "Settings saved Sucessfully."
181
+ msgstr "Pengaturan disimpan Berhasil ."
182
+
183
+ #: admin/class-page-visit-counter-admin.php:356
184
+ msgid "Short Code"
185
+ msgstr "Kode pendek"
186
+
187
+ #: admin/class-page-visit-counter-admin.php:357
188
+ msgid ""
189
+ "There are two shortcodes that you can use to manually add page view count to "
190
+ "any content on admin or post/page template created by your theme or plugin "
191
+ "thats create it's own display content in page/post."
192
+ msgstr ""
193
+ "Ada dua shortcode yang dapat Anda gunakan secara manual menambahkan tampilan "
194
+ "halaman count untuk setiap konten pada admin atau post / halaman template "
195
+ "yang dibuat oleh tema atau plugin yang thats di Anda buat itu menampilkan "
196
+ "konten sendiri di halaman / posting ."
197
+
198
+ #: admin/class-page-visit-counter-admin.php:358
199
+ msgid "Use this shortcode to add admin side content on page/post:"
200
+ msgstr ""
201
+ "Gunakan shortcode ini untuk menambahkan konten sisi admin pada halaman / "
202
+ "post :"
203
+
204
+ #: admin/class-page-visit-counter-admin.php:359
205
+ msgid ""
206
+ "Use this shortcode to add page/post template (.php) file of your own "
207
+ "template:"
208
+ msgstr ""
209
+ "Gunakan shortcode ini untuk menambahkan halaman / post template ( php ) file "
210
+ "template Anda sendiri :"
211
+
212
+ #: admin/class-page-visit-counter-admin.php:375
213
+ msgid "Most Visited Page"
214
+ msgstr "Kebanyakan Dikunjungi"
215
+
216
+ #: admin/class-page-visit-counter-admin.php:385
217
+ msgid "Page id"
218
+ msgstr "halaman id"
219
+
220
+ #: admin/class-page-visit-counter-admin.php:386
221
+ msgid "Page Name"
222
+ msgstr "halaman Nama"
223
+
224
+ #: admin/class-page-visit-counter-admin.php:670
225
+ msgid "Total Visits"
226
+ msgstr "Jumlah Kunjungan"
227
+
228
+ #: admin/class-page-visit-counter-admin.php:696
229
+ msgid "Do you want to enable page visits count for this page?"
230
+ msgstr ""
231
+ "Apakah Anda ingin mengaktifkan kunjungan laman menghitung untuk halaman ini ?"
232
+
233
+ #: admin/class-page-visit-counter-admin.php:699
234
+ msgid "Yes"
235
+ msgstr "iya nih"
236
+
237
+ #: admin/class-page-visit-counter-admin.php:705
238
+ msgid "Total visits:"
239
+ msgstr "Total kunjungan :"
240
+
241
+ #: admin/class-page-visit-counter-html-output.php:311
242
+ msgid "Select a page&hellip;"
243
+ msgstr "Pilih halaman & hellip ;"
244
+
245
+ #: page_visit_counter.php:120 page_visit_counter.php:126
246
+ #: public/class-page-visit-counter-public.php:461
247
+ #: public/class-page-visit-counter-public.php:467
248
+ msgid "total visits."
249
+ msgstr "total kunjungan ."
250
+
251
+ #: page_visit_counter.php:131 page_visit_counter.php:134
252
+ msgid "Please enter the valid post or page id."
253
+ msgstr "Masukkan valid posting atau halaman id ."
languages/page-visit-counter-it.mo ADDED
Binary file
languages/page-visit-counter-it.po ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit counter\n"
4
+ "POT-Creation-Date: 2016-03-15 19:15+0530\n"
5
+ "PO-Revision-Date: 2016-03-15 19:23+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: it\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: admin/class-page-visit-counter-admin.php:113
19
+ msgid "Clear"
20
+ msgstr "Pulire"
21
+
22
+ #: admin/class-page-visit-counter-admin.php:113
23
+ msgid "Default"
24
+ msgstr "Predefinito"
25
+
26
+ #: admin/class-page-visit-counter-admin.php:113
27
+ msgid "Select Color"
28
+ msgstr "Seleziona Colore"
29
+
30
+ #: admin/class-page-visit-counter-admin.php:139
31
+ msgid "Page-Visit-Counter"
32
+ msgstr "Pagina - Visit -Counter"
33
+
34
+ #: admin/class-page-visit-counter-admin.php:139
35
+ msgid "PageVisitCounter"
36
+ msgstr "Visita pagina Contatore"
37
+
38
+ #: admin/class-page-visit-counter-admin.php:140
39
+ msgid "Counter-Settings"
40
+ msgstr "Contro- Impostazioni"
41
+
42
+ #: admin/class-page-visit-counter-admin.php:140
43
+ msgid "Settings"
44
+ msgstr "impostazioni"
45
+
46
+ #: admin/class-page-visit-counter-admin.php:150
47
+ msgid "Page Visit Counter"
48
+ msgstr "Visita pagina Contatore"
49
+
50
+ #: admin/class-page-visit-counter-admin.php:175
51
+ msgid "Search by page title"
52
+ msgstr "Ricerca per titolo pagina"
53
+
54
+ #: admin/class-page-visit-counter-admin.php:175
55
+ msgid "Search by page date"
56
+ msgstr "Ricerca per data pagina"
57
+
58
+ #: admin/class-page-visit-counter-admin.php:175
59
+ msgid "Search Page"
60
+ msgstr "Pagina di ricerca"
61
+
62
+ #: admin/class-page-visit-counter-admin.php:182
63
+ #: admin/class-page-visit-counter-admin.php:213
64
+ #: admin/class-page-visit-counter-admin.php:483
65
+ #: admin/class-page-visit-counter-admin.php:530
66
+ #: admin/class-page-visit-counter-admin.php:560
67
+ #: admin/class-page-visit-counter-admin.php:577
68
+ #: admin/class-page-visit-counter-admin.php:587
69
+ #: admin/class-page-visit-counter-admin.php:634
70
+ #: admin/class-page-visit-counter-admin.php:700
71
+ msgid "No"
72
+ msgstr "NO"
73
+
74
+ #: admin/class-page-visit-counter-admin.php:183
75
+ #: admin/class-page-visit-counter-admin.php:214
76
+ #: admin/class-page-visit-counter-admin.php:484
77
+ #: admin/class-page-visit-counter-admin.php:531
78
+ #: admin/class-page-visit-counter-admin.php:561
79
+ #: admin/class-page-visit-counter-admin.php:578
80
+ #: admin/class-page-visit-counter-admin.php:588
81
+ #: admin/class-page-visit-counter-admin.php:635
82
+ msgid "Page ID"
83
+ msgstr "ID pagina"
84
+
85
+ #: admin/class-page-visit-counter-admin.php:184
86
+ #: admin/class-page-visit-counter-admin.php:215
87
+ #: admin/class-page-visit-counter-admin.php:485
88
+ #: admin/class-page-visit-counter-admin.php:532
89
+ #: admin/class-page-visit-counter-admin.php:562
90
+ #: admin/class-page-visit-counter-admin.php:579
91
+ #: admin/class-page-visit-counter-admin.php:589
92
+ #: admin/class-page-visit-counter-admin.php:636
93
+ msgid "Page Title"
94
+ msgstr "Titolo della pagina"
95
+
96
+ #: admin/class-page-visit-counter-admin.php:185
97
+ #: admin/class-page-visit-counter-admin.php:216
98
+ #: admin/class-page-visit-counter-admin.php:387
99
+ #: admin/class-page-visit-counter-admin.php:486
100
+ #: admin/class-page-visit-counter-admin.php:533
101
+ #: admin/class-page-visit-counter-admin.php:563
102
+ #: admin/class-page-visit-counter-admin.php:580
103
+ #: admin/class-page-visit-counter-admin.php:590
104
+ #: admin/class-page-visit-counter-admin.php:637
105
+ msgid "Total Count"
106
+ msgstr "Conteggio totale"
107
+
108
+ #: admin/class-page-visit-counter-admin.php:186
109
+ #: admin/class-page-visit-counter-admin.php:217
110
+ msgid "Share"
111
+ msgstr "Condividere"
112
+
113
+ #: admin/class-page-visit-counter-admin.php:271
114
+ msgid "Page Counter Settings"
115
+ msgstr "Pagina Impostazioni contatore"
116
+
117
+ #: admin/class-page-visit-counter-admin.php:279
118
+ msgid "Post Type"
119
+ msgstr "Tipo Messaggio"
120
+
121
+ #: admin/class-page-visit-counter-admin.php:281
122
+ msgid "Add Page/Post Type"
123
+ msgstr "Aggiungi tipo di Pagina / Post"
124
+
125
+ #: admin/class-page-visit-counter-admin.php:290
126
+ msgid "(Select post types for which post views will be counted.)"
127
+ msgstr ""
128
+ "( Selezionare i tipi di posto per il quale verranno conteggiate "
129
+ "visualizzazioni di post . )"
130
+
131
+ #: admin/class-page-visit-counter-admin.php:290
132
+ msgid ""
133
+ "Note: If you leave the blank then it will count for all the post/page "
134
+ "registered in your theme."
135
+ msgstr ""
136
+ "Nota : Se si lascia il vuoto allora conterà per tutti i post / pagina "
137
+ "registrata nel vostro tema ."
138
+
139
+ #: admin/class-page-visit-counter-admin.php:294
140
+ msgid "Exclude IPs (Ip Address)"
141
+ msgstr "Escludi IP ( indirizzo IP)"
142
+
143
+ #: admin/class-page-visit-counter-admin.php:296
144
+ msgid "Add IP Address in comma seprated"
145
+ msgstr "Aggiungere l'indirizzo IP in virgola seprated"
146
+
147
+ #: admin/class-page-visit-counter-admin.php:304
148
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
149
+ msgstr ""
150
+ "( Inserire gli indirizzi IP da escludere dalla vista Numero di messaggi . )"
151
+
152
+ #: admin/class-page-visit-counter-admin.php:309
153
+ msgid "Exclude Users"
154
+ msgstr "escludere gli utenti"
155
+
156
+ #: admin/class-page-visit-counter-admin.php:311
157
+ msgid "Select Registerd Users"
158
+ msgstr "Selezionare Utenti Registerd"
159
+
160
+ #: admin/class-page-visit-counter-admin.php:320
161
+ msgid "(Select the users to be excluded from post views count.)"
162
+ msgstr ""
163
+ "( Selezionare gli utenti da escludere dal numero dei tuoi messaggi vista . )"
164
+
165
+ #: admin/class-page-visit-counter-admin.php:324
166
+ msgid "Show front view counter"
167
+ msgstr "Mostra contatore vista frontale"
168
+
169
+ #: admin/class-page-visit-counter-admin.php:331
170
+ msgid "Check the box if you want to display counter view on front end."
171
+ msgstr ""
172
+ "Selezionare la casella se si desidera visualizzare vista contatore sul front-"
173
+ "end."
174
+
175
+ #: admin/class-page-visit-counter-admin.php:334
176
+ msgid "Choose color for the front end view"
177
+ msgstr "Scegliere il colore per la vista frontale"
178
+
179
+ #: admin/class-page-visit-counter-admin.php:350
180
+ msgid "Save"
181
+ msgstr "Salvare"
182
+
183
+ #: admin/class-page-visit-counter-admin.php:351
184
+ msgid "Settings saved Sucessfully."
185
+ msgstr "Impostazioni salvate con successo ."
186
+
187
+ #: admin/class-page-visit-counter-admin.php:356
188
+ msgid "Short Code"
189
+ msgstr "Codice corto"
190
+
191
+ #: admin/class-page-visit-counter-admin.php:357
192
+ msgid ""
193
+ "There are two shortcodes that you can use to manually add page view count to "
194
+ "any content on admin or post/page template created by your theme or plugin "
195
+ "thats create it's own display content in page/post."
196
+ msgstr ""
197
+ "Ci sono due codici brevi che è possibile utilizzare per aggiungere "
198
+ "manualmente la pagina conteggio fine di qualsiasi contenuto di "
199
+ "amministrazione o inviati modello / pagina creata da tuo tema o plugin di "
200
+ "questo è creare un proprio contenuto del display a pagina / post ."
201
+
202
+ #: admin/class-page-visit-counter-admin.php:358
203
+ msgid "Use this shortcode to add admin side content on page/post:"
204
+ msgstr ""
205
+ "Utilizzare questa shortcode per aggiungere contenuti lato admin on page / "
206
+ "post :"
207
+
208
+ #: admin/class-page-visit-counter-admin.php:359
209
+ msgid ""
210
+ "Use this shortcode to add page/post template (.php) file of your own "
211
+ "template:"
212
+ msgstr ""
213
+ "Utilizzare questa shortcode per aggiungere pagina di modello / post ( .php ) "
214
+ "file del proprio modello :"
215
+
216
+ #: admin/class-page-visit-counter-admin.php:375
217
+ msgid "Most Visited Page"
218
+ msgstr "La maggior parte Pagina visitata"
219
+
220
+ #: admin/class-page-visit-counter-admin.php:385
221
+ msgid "Page id"
222
+ msgstr "pagina id"
223
+
224
+ #: admin/class-page-visit-counter-admin.php:386
225
+ msgid "Page Name"
226
+ msgstr "Nome pagina"
227
+
228
+ #: admin/class-page-visit-counter-admin.php:670
229
+ msgid "Total Visits"
230
+ msgstr "Visite totali"
231
+
232
+ #: admin/class-page-visit-counter-admin.php:696
233
+ msgid "Do you want to enable page visits count for this page?"
234
+ msgstr "Vuoi abilitare numero di pagine visite per questa pagina?"
235
+
236
+ #: admin/class-page-visit-counter-admin.php:699
237
+ msgid "Yes"
238
+ msgstr "sì"
239
+
240
+ #: admin/class-page-visit-counter-admin.php:705
241
+ msgid "Total visits:"
242
+ msgstr "Visite totali:"
243
+
244
+ #: admin/class-page-visit-counter-html-output.php:311
245
+ msgid "Select a page&hellip;"
246
+ msgstr "Selezionare una pagina & hellip ;"
247
+
248
+ #: page_visit_counter.php:120 page_visit_counter.php:126
249
+ #: public/class-page-visit-counter-public.php:461
250
+ #: public/class-page-visit-counter-public.php:467
251
+ msgid "total visits."
252
+ msgstr "visite totali ."
253
+
254
+ #: page_visit_counter.php:131 page_visit_counter.php:134
255
+ msgid "Please enter the valid post or page id."
256
+ msgstr ""
257
+ "Si prega di inserire il post o pagina di documento di identità valido ."
languages/page-visit-counter-nl.mo ADDED
Binary file
languages/page-visit-counter-nl.po ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit counter\n"
4
+ "POT-Creation-Date: 2016-03-16 10:45+0530\n"
5
+ "PO-Revision-Date: 2016-03-16 10:53+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: nl\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: admin/class-page-visit-counter-admin.php:113
19
+ msgid "Clear"
20
+ msgstr "Duidelijk"
21
+
22
+ #: admin/class-page-visit-counter-admin.php:113
23
+ msgid "Default"
24
+ msgstr "Standaard"
25
+
26
+ #: admin/class-page-visit-counter-admin.php:113
27
+ msgid "Select Color"
28
+ msgstr "Kies Kleur"
29
+
30
+ #: admin/class-page-visit-counter-admin.php:139
31
+ msgid "Page-Visit-Counter"
32
+ msgstr "Pagina Bezoek Counter"
33
+
34
+ #: admin/class-page-visit-counter-admin.php:139
35
+ msgid "PageVisitCounter"
36
+ msgstr "Pagina Bezoek Counter"
37
+
38
+ #: admin/class-page-visit-counter-admin.php:140
39
+ msgid "Counter-Settings"
40
+ msgstr "Counter- instellingen"
41
+
42
+ #: admin/class-page-visit-counter-admin.php:140
43
+ msgid "Settings"
44
+ msgstr "instellingen"
45
+
46
+ #: admin/class-page-visit-counter-admin.php:150
47
+ msgid "Page Visit Counter"
48
+ msgstr "Pagina Bezoek Counter"
49
+
50
+ #: admin/class-page-visit-counter-admin.php:175
51
+ msgid "Search by page title"
52
+ msgstr "Zoeken op pagina titel"
53
+
54
+ #: admin/class-page-visit-counter-admin.php:175
55
+ msgid "Search by page date"
56
+ msgstr "Zoeken op page date"
57
+
58
+ #: admin/class-page-visit-counter-admin.php:175
59
+ msgid "Search Page"
60
+ msgstr "Zoekpagina"
61
+
62
+ #: admin/class-page-visit-counter-admin.php:182
63
+ #: admin/class-page-visit-counter-admin.php:213
64
+ #: admin/class-page-visit-counter-admin.php:483
65
+ #: admin/class-page-visit-counter-admin.php:530
66
+ #: admin/class-page-visit-counter-admin.php:560
67
+ #: admin/class-page-visit-counter-admin.php:577
68
+ #: admin/class-page-visit-counter-admin.php:587
69
+ #: admin/class-page-visit-counter-admin.php:634
70
+ #: admin/class-page-visit-counter-admin.php:700
71
+ msgid "No"
72
+ msgstr "Nee"
73
+
74
+ #: admin/class-page-visit-counter-admin.php:183
75
+ #: admin/class-page-visit-counter-admin.php:214
76
+ #: admin/class-page-visit-counter-admin.php:484
77
+ #: admin/class-page-visit-counter-admin.php:531
78
+ #: admin/class-page-visit-counter-admin.php:561
79
+ #: admin/class-page-visit-counter-admin.php:578
80
+ #: admin/class-page-visit-counter-admin.php:588
81
+ #: admin/class-page-visit-counter-admin.php:635
82
+ msgid "Page ID"
83
+ msgstr "pagina ID"
84
+
85
+ #: admin/class-page-visit-counter-admin.php:184
86
+ #: admin/class-page-visit-counter-admin.php:215
87
+ #: admin/class-page-visit-counter-admin.php:485
88
+ #: admin/class-page-visit-counter-admin.php:532
89
+ #: admin/class-page-visit-counter-admin.php:562
90
+ #: admin/class-page-visit-counter-admin.php:579
91
+ #: admin/class-page-visit-counter-admin.php:589
92
+ #: admin/class-page-visit-counter-admin.php:636
93
+ msgid "Page Title"
94
+ msgstr "Pagina titel"
95
+
96
+ #: admin/class-page-visit-counter-admin.php:185
97
+ #: admin/class-page-visit-counter-admin.php:216
98
+ #: admin/class-page-visit-counter-admin.php:387
99
+ #: admin/class-page-visit-counter-admin.php:486
100
+ #: admin/class-page-visit-counter-admin.php:533
101
+ #: admin/class-page-visit-counter-admin.php:563
102
+ #: admin/class-page-visit-counter-admin.php:580
103
+ #: admin/class-page-visit-counter-admin.php:590
104
+ #: admin/class-page-visit-counter-admin.php:637
105
+ msgid "Total Count"
106
+ msgstr "Totaal"
107
+
108
+ #: admin/class-page-visit-counter-admin.php:186
109
+ #: admin/class-page-visit-counter-admin.php:217
110
+ msgid "Share"
111
+ msgstr "Delen"
112
+
113
+ #: admin/class-page-visit-counter-admin.php:271
114
+ msgid "Page Counter Settings"
115
+ msgstr "Pagina Counter -instellingen"
116
+
117
+ #: admin/class-page-visit-counter-admin.php:279
118
+ msgid "Post Type"
119
+ msgstr "Bericht Type"
120
+
121
+ #: admin/class-page-visit-counter-admin.php:281
122
+ msgid "Add Page/Post Type"
123
+ msgstr "Pagina toevoegen / Post Type"
124
+
125
+ #: admin/class-page-visit-counter-admin.php:290
126
+ msgid "(Select post types for which post views will be counted.)"
127
+ msgstr "( Selecteer types ambt waarvoor uitzicht post zal worden geteld . )"
128
+
129
+ #: admin/class-page-visit-counter-admin.php:290
130
+ msgid ""
131
+ "Note: If you leave the blank then it will count for all the post/page "
132
+ "registered in your theme."
133
+ msgstr ""
134
+ "Opmerking: Als u het leeg laat dan zal het tellen voor alle post / pagina in "
135
+ "uw thema geregistreerd."
136
+
137
+ #: admin/class-page-visit-counter-admin.php:294
138
+ msgid "Exclude IPs (Ip Address)"
139
+ msgstr "Uitsluiten IP ( IP-adres)"
140
+
141
+ #: admin/class-page-visit-counter-admin.php:296
142
+ msgid "Add IP Address in comma seprated"
143
+ msgstr "Voeg IP-adres in komma seprated"
144
+
145
+ #: admin/class-page-visit-counter-admin.php:304
146
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
147
+ msgstr "(Voer de IP-adressen van standpunten post worden uitgesloten tellen. )"
148
+
149
+ #: admin/class-page-visit-counter-admin.php:309
150
+ msgid "Exclude Users"
151
+ msgstr "uitsluiten Gebruikers"
152
+
153
+ #: admin/class-page-visit-counter-admin.php:311
154
+ msgid "Select Registerd Users"
155
+ msgstr "Kies Ingeschreven Gebruikers"
156
+
157
+ #: admin/class-page-visit-counter-admin.php:320
158
+ msgid "(Select the users to be excluded from post views count.)"
159
+ msgstr ""
160
+ "( Selecteer de gebruikers te worden uitgesloten uit post uitzicht tellen. )"
161
+
162
+ #: admin/class-page-visit-counter-admin.php:324
163
+ msgid "Show front view counter"
164
+ msgstr "Toon vooraanzicht teller"
165
+
166
+ #: admin/class-page-visit-counter-admin.php:331
167
+ msgid "Check the box if you want to display counter view on front end."
168
+ msgstr "Vink het vakje aan als u wilt teller kijk op front-end weer te geven ."
169
+
170
+ #: admin/class-page-visit-counter-admin.php:334
171
+ msgid "Choose color for the front end view"
172
+ msgstr "Kies een kleur voor de front end view"
173
+
174
+ #: admin/class-page-visit-counter-admin.php:350
175
+ msgid "Save"
176
+ msgstr "Save"
177
+
178
+ #: admin/class-page-visit-counter-admin.php:351
179
+ msgid "Settings saved Sucessfully."
180
+ msgstr "Instellingen opgeslagen met succes ."
181
+
182
+ #: admin/class-page-visit-counter-admin.php:356
183
+ msgid "Short Code"
184
+ msgstr "Korte code"
185
+
186
+ #: admin/class-page-visit-counter-admin.php:357
187
+ msgid ""
188
+ "There are two shortcodes that you can use to manually add page view count to "
189
+ "any content on admin or post/page template created by your theme or plugin "
190
+ "thats create it's own display content in page/post."
191
+ msgstr ""
192
+ "Er zijn twee shortcodes die u kunt gebruiken om pagina weergavetelling "
193
+ "handmatig toevoegen aan elke content op admin of post / pagina sjabloon "
194
+ "gemaakt door uw thema of plugin dat is het creëren van een eigen beeldscherm "
195
+ "content pagina / post ."
196
+
197
+ #: admin/class-page-visit-counter-admin.php:358
198
+ msgid "Use this shortcode to add admin side content on page/post:"
199
+ msgstr ""
200
+ "Gebruik deze shortcode om admin zijde inhoud op pagina / post toe te voegen :"
201
+
202
+ #: admin/class-page-visit-counter-admin.php:359
203
+ msgid ""
204
+ "Use this shortcode to add page/post template (.php) file of your own "
205
+ "template:"
206
+ msgstr ""
207
+ "Met deze shortcode naar pagina / post template ( .php ) bestand van uw eigen "
208
+ "sjabloon toe te voegen :"
209
+
210
+ #: admin/class-page-visit-counter-admin.php:375
211
+ msgid "Most Visited Page"
212
+ msgstr "Meest Bezochte pagina"
213
+
214
+ #: admin/class-page-visit-counter-admin.php:385
215
+ msgid "Page id"
216
+ msgstr "Id pagina"
217
+
218
+ #: admin/class-page-visit-counter-admin.php:386
219
+ msgid "Page Name"
220
+ msgstr "pagina naam"
221
+
222
+ #: admin/class-page-visit-counter-admin.php:670
223
+ msgid "Total Visits"
224
+ msgstr "Totaal Bezoeken"
225
+
226
+ #: admin/class-page-visit-counter-admin.php:696
227
+ msgid "Do you want to enable page visits count for this page?"
228
+ msgstr "Heeft u wilt inschakelen pagina bezoekt tellen voor deze pagina ?"
229
+
230
+ #: admin/class-page-visit-counter-admin.php:699
231
+ msgid "Yes"
232
+ msgstr "Ja"
233
+
234
+ #: admin/class-page-visit-counter-admin.php:705
235
+ msgid "Total visits:"
236
+ msgstr "Totaal aantal bezoeken :"
237
+
238
+ #: admin/class-page-visit-counter-html-output.php:311
239
+ msgid "Select a page&hellip;"
240
+ msgstr "Selecteer een pagina & hellip ;"
241
+
242
+ #: page_visit_counter.php:120 page_visit_counter.php:126
243
+ #: public/class-page-visit-counter-public.php:461
244
+ #: public/class-page-visit-counter-public.php:467
245
+ msgid "total visits."
246
+ msgstr "totale aantal bezoeken ."
247
+
248
+ #: page_visit_counter.php:131 page_visit_counter.php:134
249
+ msgid "Please enter the valid post or page id."
250
+ msgstr "Vul de geldige post of pagina id ."
languages/page-visit-counter-pl.mo ADDED
Binary file
languages/page-visit-counter-pl.po ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit counter\n"
4
+ "POT-Creation-Date: 2016-03-15 19:25+0530\n"
5
+ "PO-Revision-Date: 2016-03-15 19:34+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: pl\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
15
+ "|| n%100>=20) ? 1 : 2);\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: admin/class-page-visit-counter-admin.php:113
20
+ msgid "Clear"
21
+ msgstr "Jasny"
22
+
23
+ #: admin/class-page-visit-counter-admin.php:113
24
+ msgid "Default"
25
+ msgstr "Domyślne"
26
+
27
+ #: admin/class-page-visit-counter-admin.php:113
28
+ msgid "Select Color"
29
+ msgstr "Wybierz kolor"
30
+
31
+ #: admin/class-page-visit-counter-admin.php:139
32
+ msgid "Page-Visit-Counter"
33
+ msgstr "Page - wizyta - Counter"
34
+
35
+ #: admin/class-page-visit-counter-admin.php:139
36
+ msgid "PageVisitCounter"
37
+ msgstr "Odwiedź stronę Counter"
38
+
39
+ #: admin/class-page-visit-counter-admin.php:140
40
+ msgid "Counter-Settings"
41
+ msgstr "Counter- Ustawienia"
42
+
43
+ #: admin/class-page-visit-counter-admin.php:140
44
+ msgid "Settings"
45
+ msgstr "Ustawienia"
46
+
47
+ #: admin/class-page-visit-counter-admin.php:150
48
+ msgid "Page Visit Counter"
49
+ msgstr "Odwiedź stronę Counter"
50
+
51
+ #: admin/class-page-visit-counter-admin.php:175
52
+ msgid "Search by page title"
53
+ msgstr "Szukaj po tytule"
54
+
55
+ #: admin/class-page-visit-counter-admin.php:175
56
+ msgid "Search by page date"
57
+ msgstr "Wyszukiwanie wg strona data"
58
+
59
+ #: admin/class-page-visit-counter-admin.php:175
60
+ msgid "Search Page"
61
+ msgstr "Strona wyszukiwania"
62
+
63
+ #: admin/class-page-visit-counter-admin.php:182
64
+ #: admin/class-page-visit-counter-admin.php:213
65
+ #: admin/class-page-visit-counter-admin.php:483
66
+ #: admin/class-page-visit-counter-admin.php:530
67
+ #: admin/class-page-visit-counter-admin.php:560
68
+ #: admin/class-page-visit-counter-admin.php:577
69
+ #: admin/class-page-visit-counter-admin.php:587
70
+ #: admin/class-page-visit-counter-admin.php:634
71
+ #: admin/class-page-visit-counter-admin.php:700
72
+ msgid "No"
73
+ msgstr "Nie"
74
+
75
+ #: admin/class-page-visit-counter-admin.php:183
76
+ #: admin/class-page-visit-counter-admin.php:214
77
+ #: admin/class-page-visit-counter-admin.php:484
78
+ #: admin/class-page-visit-counter-admin.php:531
79
+ #: admin/class-page-visit-counter-admin.php:561
80
+ #: admin/class-page-visit-counter-admin.php:578
81
+ #: admin/class-page-visit-counter-admin.php:588
82
+ #: admin/class-page-visit-counter-admin.php:635
83
+ msgid "Page ID"
84
+ msgstr "Strona ID"
85
+
86
+ #: admin/class-page-visit-counter-admin.php:184
87
+ #: admin/class-page-visit-counter-admin.php:215
88
+ #: admin/class-page-visit-counter-admin.php:485
89
+ #: admin/class-page-visit-counter-admin.php:532
90
+ #: admin/class-page-visit-counter-admin.php:562
91
+ #: admin/class-page-visit-counter-admin.php:579
92
+ #: admin/class-page-visit-counter-admin.php:589
93
+ #: admin/class-page-visit-counter-admin.php:636
94
+ msgid "Page Title"
95
+ msgstr "Tytuł strony"
96
+
97
+ #: admin/class-page-visit-counter-admin.php:185
98
+ #: admin/class-page-visit-counter-admin.php:216
99
+ #: admin/class-page-visit-counter-admin.php:387
100
+ #: admin/class-page-visit-counter-admin.php:486
101
+ #: admin/class-page-visit-counter-admin.php:533
102
+ #: admin/class-page-visit-counter-admin.php:563
103
+ #: admin/class-page-visit-counter-admin.php:580
104
+ #: admin/class-page-visit-counter-admin.php:590
105
+ #: admin/class-page-visit-counter-admin.php:637
106
+ msgid "Total Count"
107
+ msgstr "całkowitej liczby"
108
+
109
+ #: admin/class-page-visit-counter-admin.php:186
110
+ #: admin/class-page-visit-counter-admin.php:217
111
+ msgid "Share"
112
+ msgstr "Dzielić"
113
+
114
+ #: admin/class-page-visit-counter-admin.php:271
115
+ msgid "Page Counter Settings"
116
+ msgstr "Strona Ustawienia licznika"
117
+
118
+ #: admin/class-page-visit-counter-admin.php:279
119
+ msgid "Post Type"
120
+ msgstr "Rodzaj post"
121
+
122
+ #: admin/class-page-visit-counter-admin.php:281
123
+ msgid "Add Page/Post Type"
124
+ msgstr "Dodaj typ strony / post"
125
+
126
+ #: admin/class-page-visit-counter-admin.php:290
127
+ msgid "(Select post types for which post views will be counted.)"
128
+ msgstr "(Wybierz typy stanowiska, na którym będą liczone poglądy pocztowe )."
129
+
130
+ #: admin/class-page-visit-counter-admin.php:290
131
+ msgid ""
132
+ "Note: If you leave the blank then it will count for all the post/page "
133
+ "registered in your theme."
134
+ msgstr ""
135
+ "Uwaga: Jeśli zostawisz puste to będzie liczyć na cały post / strona "
136
+ "zarejestrowana w temacie."
137
+
138
+ #: admin/class-page-visit-counter-admin.php:294
139
+ msgid "Exclude IPs (Ip Address)"
140
+ msgstr "Wykluczenie IP ( IP Address)"
141
+
142
+ #: admin/class-page-visit-counter-admin.php:296
143
+ msgid "Add IP Address in comma seprated"
144
+ msgstr "Dodaj adres IP przecinkiem seprated"
145
+
146
+ #: admin/class-page-visit-counter-admin.php:304
147
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
148
+ msgstr "( Wpisz adresy IP mają być wyłączone z widokiem pocztowych liczyć )."
149
+
150
+ #: admin/class-page-visit-counter-admin.php:309
151
+ msgid "Exclude Users"
152
+ msgstr "wykluczyć użytkowników"
153
+
154
+ #: admin/class-page-visit-counter-admin.php:311
155
+ msgid "Select Registerd Users"
156
+ msgstr "Wybierz przez zarejestrowanych użytkowników"
157
+
158
+ #: admin/class-page-visit-counter-admin.php:320
159
+ msgid "(Select the users to be excluded from post views count.)"
160
+ msgstr "(Wybierz użytkownicy mają być wyłączone z postu liczby odsłon )."
161
+
162
+ #: admin/class-page-visit-counter-admin.php:324
163
+ msgid "Show front view counter"
164
+ msgstr "Pokaż przedni widok licznika"
165
+
166
+ #: admin/class-page-visit-counter-admin.php:331
167
+ msgid "Check the box if you want to display counter view on front end."
168
+ msgstr "Zaznacz pole wyboru , jeśli chcesz ekspozytor widok na przednim końcu."
169
+
170
+ #: admin/class-page-visit-counter-admin.php:334
171
+ msgid "Choose color for the front end view"
172
+ msgstr "Wybierz kolor dla widoku z przodu końcowego"
173
+
174
+ #: admin/class-page-visit-counter-admin.php:350
175
+ msgid "Save"
176
+ msgstr "Zapisać"
177
+
178
+ #: admin/class-page-visit-counter-admin.php:351
179
+ msgid "Settings saved Sucessfully."
180
+ msgstr "Ustawienia zostały zapisane pomyślnie ."
181
+
182
+ #: admin/class-page-visit-counter-admin.php:356
183
+ msgid "Short Code"
184
+ msgstr "Krótki kod"
185
+
186
+ #: admin/class-page-visit-counter-admin.php:357
187
+ msgid ""
188
+ "There are two shortcodes that you can use to manually add page view count to "
189
+ "any content on admin or post/page template created by your theme or plugin "
190
+ "thats create it's own display content in page/post."
191
+ msgstr ""
192
+ "Istnieją dwa skróconych , których można użyć , aby ręcznie dodać stronę "
193
+ "liczbę wyświetleń do dowolnej treści na administratora lub post / strona "
194
+ "szablon utworzony przez tematycznych lub wtyczki ów miała własną zawartość "
195
+ "wyświetlaną na stronie / post ."
196
+
197
+ #: admin/class-page-visit-counter-admin.php:358
198
+ msgid "Use this shortcode to add admin side content on page/post:"
199
+ msgstr "Użyj tej shortcode dodać administratora treści boku na stronie / post:"
200
+
201
+ #: admin/class-page-visit-counter-admin.php:359
202
+ msgid ""
203
+ "Use this shortcode to add page/post template (.php) file of your own "
204
+ "template:"
205
+ msgstr ""
206
+ "Użyj tej shortcode dodać stronę / post szablon ( .php ) plik własnego "
207
+ "szablonu :"
208
+
209
+ #: admin/class-page-visit-counter-admin.php:375
210
+ msgid "Most Visited Page"
211
+ msgstr "Najczęściej odwiedzane strony"
212
+
213
+ #: admin/class-page-visit-counter-admin.php:385
214
+ msgid "Page id"
215
+ msgstr "id Page"
216
+
217
+ #: admin/class-page-visit-counter-admin.php:386
218
+ msgid "Page Name"
219
+ msgstr "Nazwa strony"
220
+
221
+ #: admin/class-page-visit-counter-admin.php:670
222
+ msgid "Total Visits"
223
+ msgstr "Suma odwiedzin"
224
+
225
+ #: admin/class-page-visit-counter-admin.php:696
226
+ msgid "Do you want to enable page visits count for this page?"
227
+ msgstr "Czy chcesz włączyć wizyty strona liczyć na tej stronie?"
228
+
229
+ #: admin/class-page-visit-counter-admin.php:699
230
+ msgid "Yes"
231
+ msgstr "tak"
232
+
233
+ #: admin/class-page-visit-counter-admin.php:705
234
+ msgid "Total visits:"
235
+ msgstr "Ilość wizyt:"
236
+
237
+ #: admin/class-page-visit-counter-html-output.php:311
238
+ msgid "Select a page&hellip;"
239
+ msgstr "Wybierz stronę & hellip ;"
240
+
241
+ #: page_visit_counter.php:120 page_visit_counter.php:126
242
+ #: public/class-page-visit-counter-public.php:461
243
+ #: public/class-page-visit-counter-public.php:467
244
+ msgid "total visits."
245
+ msgstr "Ilość wizyt ."
246
+
247
+ #: page_visit_counter.php:131 page_visit_counter.php:134
248
+ msgid "Please enter the valid post or page id."
249
+ msgstr "Proszę podać poprawną pocztą lub Page Id ."
languages/page-visit-counter-ru.mo ADDED
Binary file
languages/page-visit-counter-ru.po ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: page visit counter\n"
4
+ "POT-Creation-Date: 2016-03-15 19:36+0530\n"
5
+ "PO-Revision-Date: 2016-03-15 19:44+0530\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: multidots\n"
8
+ "Language: ru\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
+ "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: admin/class-page-visit-counter-admin.php:113
20
+ msgid "Clear"
21
+ msgstr "Очистить"
22
+
23
+ #: admin/class-page-visit-counter-admin.php:113
24
+ msgid "Default"
25
+ msgstr "По умолчанию"
26
+
27
+ #: admin/class-page-visit-counter-admin.php:113
28
+ msgid "Select Color"
29
+ msgstr "Выберите цвет"
30
+
31
+ #: admin/class-page-visit-counter-admin.php:139
32
+ msgid "Page-Visit-Counter"
33
+ msgstr "Страница - Визит -Counter"
34
+
35
+ #: admin/class-page-visit-counter-admin.php:139
36
+ msgid "PageVisitCounter"
37
+ msgstr "Посетите страницу Счетчик"
38
+
39
+ #: admin/class-page-visit-counter-admin.php:140
40
+ msgid "Counter-Settings"
41
+ msgstr "Counter- Настройки"
42
+
43
+ #: admin/class-page-visit-counter-admin.php:140
44
+ msgid "Settings"
45
+ msgstr "настройки"
46
+
47
+ #: admin/class-page-visit-counter-admin.php:150
48
+ msgid "Page Visit Counter"
49
+ msgstr "Посетите страницу Счетчик"
50
+
51
+ #: admin/class-page-visit-counter-admin.php:175
52
+ msgid "Search by page title"
53
+ msgstr "Поиск по названию страницы"
54
+
55
+ #: admin/class-page-visit-counter-admin.php:175
56
+ msgid "Search by page date"
57
+ msgstr "Поиск по дате страницы"
58
+
59
+ #: admin/class-page-visit-counter-admin.php:175
60
+ msgid "Search Page"
61
+ msgstr "Страница поиска"
62
+
63
+ #: admin/class-page-visit-counter-admin.php:182
64
+ #: admin/class-page-visit-counter-admin.php:213
65
+ #: admin/class-page-visit-counter-admin.php:483
66
+ #: admin/class-page-visit-counter-admin.php:530
67
+ #: admin/class-page-visit-counter-admin.php:560
68
+ #: admin/class-page-visit-counter-admin.php:577
69
+ #: admin/class-page-visit-counter-admin.php:587
70
+ #: admin/class-page-visit-counter-admin.php:634
71
+ #: admin/class-page-visit-counter-admin.php:700
72
+ msgid "No"
73
+ msgstr "Нет"
74
+
75
+ #: admin/class-page-visit-counter-admin.php:183
76
+ #: admin/class-page-visit-counter-admin.php:214
77
+ #: admin/class-page-visit-counter-admin.php:484
78
+ #: admin/class-page-visit-counter-admin.php:531
79
+ #: admin/class-page-visit-counter-admin.php:561
80
+ #: admin/class-page-visit-counter-admin.php:578
81
+ #: admin/class-page-visit-counter-admin.php:588
82
+ #: admin/class-page-visit-counter-admin.php:635
83
+ msgid "Page ID"
84
+ msgstr "Идентификатор страницы"
85
+
86
+ #: admin/class-page-visit-counter-admin.php:184
87
+ #: admin/class-page-visit-counter-admin.php:215
88
+ #: admin/class-page-visit-counter-admin.php:485
89
+ #: admin/class-page-visit-counter-admin.php:532
90
+ #: admin/class-page-visit-counter-admin.php:562
91
+ #: admin/class-page-visit-counter-admin.php:579
92
+ #: admin/class-page-visit-counter-admin.php:589
93
+ #: admin/class-page-visit-counter-admin.php:636
94
+ msgid "Page Title"
95
+ msgstr "Заголовок страницы"
96
+
97
+ #: admin/class-page-visit-counter-admin.php:185
98
+ #: admin/class-page-visit-counter-admin.php:216
99
+ #: admin/class-page-visit-counter-admin.php:387
100
+ #: admin/class-page-visit-counter-admin.php:486
101
+ #: admin/class-page-visit-counter-admin.php:533
102
+ #: admin/class-page-visit-counter-admin.php:563
103
+ #: admin/class-page-visit-counter-admin.php:580
104
+ #: admin/class-page-visit-counter-admin.php:590
105
+ #: admin/class-page-visit-counter-admin.php:637
106
+ msgid "Total Count"
107
+ msgstr "Общее количество"
108
+
109
+ #: admin/class-page-visit-counter-admin.php:186
110
+ #: admin/class-page-visit-counter-admin.php:217
111
+ msgid "Share"
112
+ msgstr "Поделиться"
113
+
114
+ #: admin/class-page-visit-counter-admin.php:271
115
+ msgid "Page Counter Settings"
116
+ msgstr "Настройки страницы Счетчик"
117
+
118
+ #: admin/class-page-visit-counter-admin.php:279
119
+ msgid "Post Type"
120
+ msgstr "сообщение Тип"
121
+
122
+ #: admin/class-page-visit-counter-admin.php:281
123
+ msgid "Add Page/Post Type"
124
+ msgstr "Добавить страницу / сообщение Тип"
125
+
126
+ #: admin/class-page-visit-counter-admin.php:290
127
+ msgid "(Select post types for which post views will be counted.)"
128
+ msgstr ""
129
+ "( Выберите типы пост , для которых будут учитываться мнения сообщение.)"
130
+
131
+ #: admin/class-page-visit-counter-admin.php:290
132
+ msgid ""
133
+ "Note: If you leave the blank then it will count for all the post/page "
134
+ "registered in your theme."
135
+ msgstr ""
136
+ "Примечание : Если оставить пустым, то он будет считать для всех записи / "
137
+ "страницы , зарегистрированной в вашей теме ."
138
+
139
+ #: admin/class-page-visit-counter-admin.php:294
140
+ msgid "Exclude IPs (Ip Address)"
141
+ msgstr "Исключить IP-адреса (IP адрес )"
142
+
143
+ #: admin/class-page-visit-counter-admin.php:296
144
+ msgid "Add IP Address in comma seprated"
145
+ msgstr "Добавить IP-адрес в seprated запятой"
146
+
147
+ #: admin/class-page-visit-counter-admin.php:304
148
+ msgid "(Enter the IP addresses to be excluded from post views count.)"
149
+ msgstr ""
150
+ "( Введите IP- адреса , которые следует исключить из представлений количеству "
151
+ "сообщений . )"
152
+
153
+ #: admin/class-page-visit-counter-admin.php:309
154
+ msgid "Exclude Users"
155
+ msgstr "Исключение пользователей"
156
+
157
+ #: admin/class-page-visit-counter-admin.php:311
158
+ msgid "Select Registerd Users"
159
+ msgstr "Выберите Registerd пользователей"
160
+
161
+ #: admin/class-page-visit-counter-admin.php:320
162
+ msgid "(Select the users to be excluded from post views count.)"
163
+ msgstr ""
164
+ "( Выберите пользователей, которые будут исключены из почтового подсчета "
165
+ "просмотров . )"
166
+
167
+ #: admin/class-page-visit-counter-admin.php:324
168
+ msgid "Show front view counter"
169
+ msgstr "Показать вид спереди счетчик"
170
+
171
+ #: admin/class-page-visit-counter-admin.php:331
172
+ msgid "Check the box if you want to display counter view on front end."
173
+ msgstr ""
174
+ "Установите флажок , если вы хотите , чтобы отобразить вид счетчика на "
175
+ "переднем конце ."
176
+
177
+ #: admin/class-page-visit-counter-admin.php:334
178
+ msgid "Choose color for the front end view"
179
+ msgstr "Выберите цвет для вид спереди конца"
180
+
181
+ #: admin/class-page-visit-counter-admin.php:350
182
+ msgid "Save"
183
+ msgstr "Сохранить"
184
+
185
+ #: admin/class-page-visit-counter-admin.php:351
186
+ msgid "Settings saved Sucessfully."
187
+ msgstr "Настройки сохраняются Устпешно ."
188
+
189
+ #: admin/class-page-visit-counter-admin.php:356
190
+ msgid "Short Code"
191
+ msgstr "Короткий код"
192
+
193
+ #: admin/class-page-visit-counter-admin.php:357
194
+ msgid ""
195
+ "There are two shortcodes that you can use to manually add page view count to "
196
+ "any content on admin or post/page template created by your theme or plugin "
197
+ "thats create it's own display content in page/post."
198
+ msgstr ""
199
+ "Есть два шорткоды , которые можно использовать , чтобы вручную добавить "
200
+ "страницу количество просмотров на любое содержание на администратора или "
201
+ "почтового шаблона / страницы , созданной вашей темы или плагина Thats его "
202
+ "создания собственного контента дисплея на странице / пост ."
203
+
204
+ #: admin/class-page-visit-counter-admin.php:358
205
+ msgid "Use this shortcode to add admin side content on page/post:"
206
+ msgstr ""
207
+ "Используйте этот шорткод , чтобы добавить администратора содержимого на "
208
+ "стороне на странице / сообщение :"
209
+
210
+ #: admin/class-page-visit-counter-admin.php:359
211
+ msgid ""
212
+ "Use this shortcode to add page/post template (.php) file of your own "
213
+ "template:"
214
+ msgstr ""
215
+ "Используйте эту шорткод , чтобы добавить страницу / пост шаблон ( .php ) "
216
+ "собственный файл шаблона :"
217
+
218
+ #: admin/class-page-visit-counter-admin.php:375
219
+ msgid "Most Visited Page"
220
+ msgstr "Наиболее посещаемые страницы"
221
+
222
+ #: admin/class-page-visit-counter-admin.php:385
223
+ msgid "Page id"
224
+ msgstr "идентификатор страницы"
225
+
226
+ #: admin/class-page-visit-counter-admin.php:386
227
+ msgid "Page Name"
228
+ msgstr "Название страницы"
229
+
230
+ #: admin/class-page-visit-counter-admin.php:670
231
+ msgid "Total Visits"
232
+ msgstr "Всего просмотров"
233
+
234
+ #: admin/class-page-visit-counter-admin.php:696
235
+ msgid "Do you want to enable page visits count for this page?"
236
+ msgstr ""
237
+ "Вы хотите , чтобы позволить подсчет посещений страниц для этой страницы ?"
238
+
239
+ #: admin/class-page-visit-counter-admin.php:699
240
+ msgid "Yes"
241
+ msgstr "да"
242
+
243
+ #: admin/class-page-visit-counter-admin.php:705
244
+ msgid "Total visits:"
245
+ msgstr "Всего посещений:"
246
+
247
+ #: admin/class-page-visit-counter-html-output.php:311
248
+ msgid "Select a page&hellip;"
249
+ msgstr "Выберите страницу & hellip ;"
250
+
251
+ #: page_visit_counter.php:120 page_visit_counter.php:126
252
+ #: public/class-page-visit-counter-public.php:461
253
+ #: public/class-page-visit-counter-public.php:467
254
+ msgid "total visits."
255
+ msgstr "Общее количество посещений ."
256
+
257
+ #: page_visit_counter.php:131 page_visit_counter.php:134
258
+ msgid "Please enter the valid post or page id."
259
+ msgstr ""
260
+ "Пожалуйста, введите действительный почтовый или идентификатор страницы ."
page_visit_counter.php CHANGED
@@ -7,7 +7,7 @@
7
  * Plugin URI: http://www.multidots.com/
8
  * Description: Plugin for show visited page
9
  * Author: Multidots
10
- * Version: 2.0.3
11
  * Author URI: http://www.multidots.com/
12
  */
13
  // If this file is called directly, abort.
@@ -107,23 +107,31 @@ function display_page_total_count($atts) {
107
  $pageCount = $wpdb->get_results("SELECT SUM(page_visit) as total FROM $table_name WHERE `page_id` = $pageID");
108
 
109
  $total = (int) $pageCount[0]->total;
 
 
 
 
 
 
 
 
110
 
111
  if ($fetchSelecetedPostTypes == '' || $fetchSelecetedPostTypes == null) {
112
- $html .= '<p id="page-visit-counter-shortcode-block" class="page-visit-counter-block"><img src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span id="shortcode_'.$pageID.'" style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor_shortcode">'.$total.'</span>total visits.</p>';
113
  } else {
114
  $postTypeSelectedEncodeArr = json_decode($fetchSelecetedPostTypes);
115
  if (in_array($post->post_type,$postTypeSelectedEncodeArr)) {
116
  $innerSettings = get_post_meta($pageID,'get_page_count',true);
117
  if ($innerSettings == '' || $innerSettings == 'yes') {
118
- $html .= '<p id="page-visit-counter-shortcode-block" class="page-visit-counter-block"><img src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span id="shortcode_'.$pageID.'" style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor_shortcode">'.$total.'</span>total visits.</p>';
119
  }
120
  }
121
  }
122
  } else {
123
- $html .= 'Please enter the valid post or page id.';
124
  }
125
  } else {
126
- $html .= 'Please enter the valid post or page id.';
127
  }
128
 
129
  echo $html;
7
  * Plugin URI: http://www.multidots.com/
8
  * Description: Plugin for show visited page
9
  * Author: Multidots
10
+ * Version: 2.0.4
11
  * Author URI: http://www.multidots.com/
12
  */
13
  // If this file is called directly, abort.
107
  $pageCount = $wpdb->get_results("SELECT SUM(page_visit) as total FROM $table_name WHERE `page_id` = $pageID");
108
 
109
  $total = (int) $pageCount[0]->total;
110
+
111
+ $text_color_page_visit = get_option('text_color_page_visit');
112
+
113
+ if (isset($text_color_page_visit) && $text_color_page_visit != null) {
114
+ $text_color_page_visit = 'style="color: '.$text_color_page_visit.';"';
115
+ } else {
116
+ $text_color_page_visit = 'style="color: #000000;"';
117
+ }
118
 
119
  if ($fetchSelecetedPostTypes == '' || $fetchSelecetedPostTypes == null) {
120
+ $html .= '<p id="page-visit-counter-shortcode-block" class="page-visit-counter-block" '.$text_color_page_visit.'><img src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span id="shortcode_'.$pageID.'" style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor_shortcode">'.$total.'</span>'.__('total visits.','page-visit-counter').'</p>';
121
  } else {
122
  $postTypeSelectedEncodeArr = json_decode($fetchSelecetedPostTypes);
123
  if (in_array($post->post_type,$postTypeSelectedEncodeArr)) {
124
  $innerSettings = get_post_meta($pageID,'get_page_count',true);
125
  if ($innerSettings == '' || $innerSettings == 'yes') {
126
+ $html .= '<p id="page-visit-counter-shortcode-block" class="page-visit-counter-block" '.$text_color_page_visit.'><img src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span id="shortcode_'.$pageID.'" style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor_shortcode">'.$total.'</span>'.__('total visits.','page-visit-counter').'</p>';
127
  }
128
  }
129
  }
130
  } else {
131
+ $html .= __('Please enter the valid post or page id.','page-visit-counter');
132
  }
133
  } else {
134
+ $html .= __('Please enter the valid post or page id.','page-visit-counter');
135
  }
136
 
137
  echo $html;
public/class-page-visit-counter-public.php CHANGED
@@ -110,7 +110,7 @@ class page_visit_counter_Public {
110
  }
111
  }
112
 
113
- if ($_SERVER[REQUEST_URI] == '/shop/' && $pageID == 0) {
114
  $page = (int) get_option( 'woocommerce_shop_page_id' );
115
  }
116
 
@@ -167,6 +167,7 @@ class page_visit_counter_Public {
167
  if ($page != 0) {
168
 
169
  $table_name = $wpdb->prefix."page_visit";
 
170
  $last_date = '';
171
  $page_contet = get_post( $page );
172
 
@@ -189,6 +190,86 @@ class page_visit_counter_Public {
189
 
190
  $getPageSetting = get_post_meta($page,'get_page_count',true);
191
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  // old version plugin
193
  if ($fetchSelecetedPostTypes == '') {
194
 
@@ -214,8 +295,10 @@ class page_visit_counter_Public {
214
  $existingtotal = (int) $pageCount[0]->page_visit;
215
  $totalFinal = $existingtotal + 1;
216
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
 
217
  } else {
218
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
 
219
  }
220
  }
221
  } else {
@@ -223,8 +306,10 @@ class page_visit_counter_Public {
223
  $existingtotal = (int) $pageCount[0]->page_visit;
224
  $totalFinal = $existingtotal + 1;
225
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
 
226
  } else {
227
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
 
228
  }
229
  }
230
  }
@@ -241,8 +326,10 @@ class page_visit_counter_Public {
241
  $existingtotal = (int) $pageCount[0]->page_visit;
242
  $totalFinal = $existingtotal + 1;
243
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
 
244
  } else {
245
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
 
246
  }
247
  }
248
  } else {
@@ -250,8 +337,10 @@ class page_visit_counter_Public {
250
  $existingtotal = (int) $pageCount[0]->page_visit;
251
  $totalFinal = $existingtotal + 1;
252
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
 
253
  } else {
254
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
 
255
  }
256
  }
257
  }
@@ -288,8 +377,10 @@ class page_visit_counter_Public {
288
  $existingtotal = (int) $pageCount[0]->page_visit;
289
  $totalFinal = $existingtotal + 1;
290
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
 
291
  } else {
292
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
 
293
  }
294
  }
295
  } else {
@@ -297,8 +388,10 @@ class page_visit_counter_Public {
297
  $existingtotal = (int) $pageCount[0]->page_visit;
298
  $totalFinal = $existingtotal + 1;
299
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
 
300
  } else {
301
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
 
302
  }
303
  }
304
  }
@@ -316,8 +409,10 @@ class page_visit_counter_Public {
316
  $existingtotal = (int) $pageCount[0]->page_visit;
317
  $totalFinal = $existingtotal + 1;
318
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
 
319
  } else {
320
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
 
321
  }
322
  }
323
  } else {
@@ -325,8 +420,10 @@ class page_visit_counter_Public {
325
  $existingtotal = (int) $pageCount[0]->page_visit;
326
  $totalFinal = $existingtotal + 1;
327
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
 
328
  } else {
329
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
 
330
  }
331
  }
332
  }
@@ -404,7 +501,7 @@ class page_visit_counter_Public {
404
  $pageID = url_to_postid( $actual_link );
405
  }
406
 
407
- if ($_SERVER[REQUEST_URI] == '/shop/' && $pageID == 0) {
408
  $pageID = (int) get_option( 'woocommerce_shop_page_id' );
409
  }
410
  // if ($pageID == 0) {
@@ -439,6 +536,14 @@ class page_visit_counter_Public {
439
 
440
  $fetchSelecetedPostTypes = get_option('wfap_post_type');
441
 
 
 
 
 
 
 
 
 
442
  $table_name = $wpdb->prefix."page_visit";
443
 
444
  $pageCount = $wpdb->get_results("SELECT SUM(page_visit) as total FROM $table_name WHERE `page_id` = $pageID");
@@ -450,13 +555,13 @@ class page_visit_counter_Public {
450
  if( $hide_show_option == 1 ){
451
  if(!is_feed() && !is_home()) {
452
  if ($fetchSelecetedPostTypes == '' || $fetchSelecetedPostTypes == null) {
453
- $html .= '<p id="default-loop-page-visit-counter" class="page-visit-counter-block"><img src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor">'.$total.'</span>total visits.</p>';
454
  } else {
455
  $postTypeSelectedEncodeArr = json_decode($fetchSelecetedPostTypes);
456
  if (in_array($post->post_type,$postTypeSelectedEncodeArr)) {
457
  $innerSettings = get_post_meta($pageID,'get_page_count',true);
458
  if ($innerSettings == '' || $innerSettings == 'yes') {
459
- $html .= '<p id="default-loop-page-visit-counter" class="page-visit-counter-block"><img src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor">'.$total.'</span>total visits.</p>';
460
  }
461
  }
462
  }
@@ -472,6 +577,28 @@ class page_visit_counter_Public {
472
 
473
  }
474
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
475
  /**
476
  * BN code added
477
  */
110
  }
111
  }
112
 
113
+ if ($_SERVER['REQUEST_URI'] == '/shop/' && $pageID == 0) {
114
  $page = (int) get_option( 'woocommerce_shop_page_id' );
115
  }
116
 
167
  if ($page != 0) {
168
 
169
  $table_name = $wpdb->prefix."page_visit";
170
+ $table_name_history = $wpdb->prefix . "page_visit_history";
171
  $last_date = '';
172
  $page_contet = get_post( $page );
173
 
190
 
191
  $getPageSetting = get_post_meta($page,'get_page_count',true);
192
 
193
+
194
+ $u_agent = $_SERVER['HTTP_USER_AGENT'];
195
+
196
+ $bname = 'Unknown';
197
+ $platform = 'Unknown';
198
+ $version= "";
199
+
200
+ //First get the platform?
201
+ if (preg_match('/linux/i', $u_agent)) {
202
+ $platform = 'linux';
203
+ }
204
+ elseif (preg_match('/macintosh|mac os x/i', $u_agent)) {
205
+ $platform = 'mac';
206
+ }
207
+ elseif (preg_match('/windows|win32/i', $u_agent)) {
208
+ $platform = 'windows';
209
+ }
210
+
211
+ // Next get the name of the useragent yes seperately and for good reason
212
+ if(preg_match('/MSIE/i',$u_agent) && !preg_match('/Opera/i',$u_agent))
213
+ {
214
+ $bname = 'Internet Explorer';
215
+ $ub = "MSIE";
216
+ }
217
+ elseif(preg_match('/Firefox/i',$u_agent))
218
+ {
219
+ $bname = 'Mozilla Firefox';
220
+ $ub = "Firefox";
221
+ }
222
+ elseif(preg_match('/Chrome/i',$u_agent))
223
+ {
224
+ $bname = 'Google Chrome';
225
+ $ub = "Chrome";
226
+ }
227
+ elseif(preg_match('/Safari/i',$u_agent))
228
+ {
229
+ $bname = 'Apple Safari';
230
+ $ub = "Safari";
231
+ }
232
+ elseif(preg_match('/Opera/i',$u_agent))
233
+ {
234
+ $bname = 'Opera';
235
+ $ub = "Opera";
236
+ }
237
+ elseif(preg_match('/Netscape/i',$u_agent))
238
+ {
239
+ $bname = 'Netscape';
240
+ $ub = "Netscape";
241
+ }
242
+
243
+
244
+ // finally get the correct version number
245
+ $known = array('Version', $ub, 'other');
246
+ $pattern = '#(?<browser>' . join('|', $known) .
247
+ ')[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
248
+ if (!preg_match_all($pattern, $u_agent, $matches)) {
249
+ // we have no matching number just continue
250
+ }
251
+
252
+ // see how many we have
253
+ $i = count($matches['browser']);
254
+ if ($i != 1) {
255
+ //we will have two since we are not using 'other' argument yet
256
+ //see if version is before or after the name
257
+ if (strripos($u_agent,"Version") < strripos($u_agent,$ub)){
258
+ $version= $matches['version'][0];
259
+ }
260
+ else {
261
+ $version= $matches['version'][1];
262
+ }
263
+ }
264
+ else {
265
+ $version= $matches['version'][0];
266
+ }
267
+
268
+ // check if we have a number
269
+ if ($version==null || $version=="") {$version="?";}
270
+
271
+ $http_referer = $_SERVER['HTTP_REFERER'];
272
+
273
  // old version plugin
274
  if ($fetchSelecetedPostTypes == '') {
275
 
295
  $existingtotal = (int) $pageCount[0]->page_visit;
296
  $totalFinal = $existingtotal + 1;
297
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
298
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
299
  } else {
300
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
301
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
302
  }
303
  }
304
  } else {
306
  $existingtotal = (int) $pageCount[0]->page_visit;
307
  $totalFinal = $existingtotal + 1;
308
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
309
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
310
  } else {
311
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
312
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
313
  }
314
  }
315
  }
326
  $existingtotal = (int) $pageCount[0]->page_visit;
327
  $totalFinal = $existingtotal + 1;
328
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
329
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
330
  } else {
331
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
332
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
333
  }
334
  }
335
  } else {
337
  $existingtotal = (int) $pageCount[0]->page_visit;
338
  $totalFinal = $existingtotal + 1;
339
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
340
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
341
  } else {
342
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
343
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
344
  }
345
  }
346
  }
377
  $existingtotal = (int) $pageCount[0]->page_visit;
378
  $totalFinal = $existingtotal + 1;
379
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
380
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
381
  } else {
382
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
383
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
384
  }
385
  }
386
  } else {
388
  $existingtotal = (int) $pageCount[0]->page_visit;
389
  $totalFinal = $existingtotal + 1;
390
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
391
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
392
  } else {
393
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
394
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
395
  }
396
  }
397
  }
409
  $existingtotal = (int) $pageCount[0]->page_visit;
410
  $totalFinal = $existingtotal + 1;
411
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
412
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
413
  } else {
414
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
415
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
416
  }
417
  }
418
  } else {
420
  $existingtotal = (int) $pageCount[0]->page_visit;
421
  $totalFinal = $existingtotal + 1;
422
  $update_Query = $wpdb->query("UPDATE $table_name SET page_visit = $totalFinal WHERE page_id='".$page."' AND ipaddress='$ipaddress' AND date = '$currentdate'");
423
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
424
  } else {
425
  $insert_Query = $wpdb->query("INSERT into $table_name (`page_id`,`page_visit`,`date`,`lastdate`,`ipaddress`) VALUES($page,1,NOW(),NOW(),'$ipaddress')");
426
+ $insert_Query_history = $wpdb->query("INSERT into $table_name_history (`page_id`, `date`, `lastdate`, `ipaddress`, `browser_full_name`, `browser_short_name`, `browser_version`, `os`, `http_referer`) VALUES($page,NOW(),NOW(),'$ipaddress','$bname','$ub','$version','$platform','$http_referer')");
427
  }
428
  }
429
  }
501
  $pageID = url_to_postid( $actual_link );
502
  }
503
 
504
+ if ($_SERVER['REQUEST_URI'] == '/shop/' && $pageID == 0) {
505
  $pageID = (int) get_option( 'woocommerce_shop_page_id' );
506
  }
507
  // if ($pageID == 0) {
536
 
537
  $fetchSelecetedPostTypes = get_option('wfap_post_type');
538
 
539
+ $text_color_page_visit = get_option('text_color_page_visit');
540
+
541
+ if (isset($text_color_page_visit) && $text_color_page_visit != null) {
542
+ $text_color_page_visit = 'style="color: '.$text_color_page_visit.';"';
543
+ } else {
544
+ $text_color_page_visit = 'style="color: #000000;"';
545
+ }
546
+
547
  $table_name = $wpdb->prefix."page_visit";
548
 
549
  $pageCount = $wpdb->get_results("SELECT SUM(page_visit) as total FROM $table_name WHERE `page_id` = $pageID");
555
  if( $hide_show_option == 1 ){
556
  if(!is_feed() && !is_home()) {
557
  if ($fetchSelecetedPostTypes == '' || $fetchSelecetedPostTypes == null) {
558
+ $html .= '<p id="default-loop-page-visit-counter" class="page-visit-counter-block" '.$text_color_page_visit.'><img src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor">'.$total.'</span>'.__('total visits.','page-visit-counter').'</p>';
559
  } else {
560
  $postTypeSelectedEncodeArr = json_decode($fetchSelecetedPostTypes);
561
  if (in_array($post->post_type,$postTypeSelectedEncodeArr)) {
562
  $innerSettings = get_post_meta($pageID,'get_page_count',true);
563
  if ($innerSettings == '' || $innerSettings == 'yes') {
564
+ $html .= '<p id="default-loop-page-visit-counter" class="page-visit-counter-block" '.$text_color_page_visit.'><img src="'.site_url().'/wp-content/plugins/page-visit-counter/images/1456175371_vector_65_14.png" /><span style="margin-left: 5px;margin-right: 5px;" class="page_amount_visitor">'.$total.'</span>'.__('total visits.','page-visit-counter').'</p>';
565
  }
566
  }
567
  }
577
 
578
  }
579
 
580
+ public function add_meta_tags_page_visit() {
581
+ global $wpdb, $wp, $post;
582
+ $page_title = get_the_title();
583
+ $page_id = get_the_ID();
584
+ $site_title = get_bloginfo( 'name' );
585
+
586
+ $table_name = $wpdb->prefix."page_visit";
587
+ $pageCount = $wpdb->get_results("SELECT SUM(page_visit) as total FROM $table_name WHERE `page_id` = $page_id");
588
+ $total = (int) $pageCount[0]->total;
589
+ $page_social_content = $page_title.' | Total Visits '.$total.' | '.$site_title;
590
+ $current_page_url = get_page_link($page_id);
591
+ echo '<meta property="og:locale" content="en_US" />
592
+ <meta property="og:title" content="'.$page_social_content.'" />
593
+ <meta property="og:url" content="'.$current_page_url.'" />
594
+ <meta property="og:site_name" content="'.$site_title.'" />
595
+ <meta name="twitter:card" content="summary_large_image"/>
596
+ <meta name="twitter:title" content="'.$page_social_content.'"/>
597
+ ';
598
+
599
+ }
600
+
601
+
602
  /**
603
  * BN code added
604
  */